Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
- Contract name:
- SommieRichard
- Optimization enabled
- true
- Compiler version
- v0.8.17+commit.8df45f5f
- Optimization runs
- 200
- EVM Version
- default
- Verified at
- 2024-05-26T12:43:59.686914Z
Constructor Arguments
0x00000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000011938300000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000010c9be31156a797b14ecd8045aac07a013c46d2000000000000000000000000010c9be31156a797b14ecd8045aac07a013c46d2000000000000000000000000051e46fddf884518d96ebea18023f7b2d0a82582a000000000000000000000000000000000000000000000000000000000000000d536f6d6d696552696368617264000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005494e553737000000000000000000000000000000000000000000000000000000
Arg [0] (string) : SommieRichard
Arg [1] (string) : INU77
Arg [2] (uint256) : 18
Arg [3] (uint256) : 18430000
Arg [4] (uint256) : 4
Arg [5] (uint256) : 1
Arg [6] (address) : 0x10c9be31156a797b14ecd8045aac07a013c46d20
Arg [7] (address) : 0x10c9be31156a797b14ecd8045aac07a013c46d20
Arg [8] (address) : 0x51e46fddf884518d96ebea18023f7b2d0a82582a
Contract source code
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.0;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, "SafeMath: subtraction overflow");
}
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
// 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 0;
}
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, "SafeMath: division by zero");
}
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b > 0, errorMessage);
uint256 c = a / b;
// assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return mod(a, b, "SafeMath: modulo by zero");
}
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b != 0, errorMessage);
return a % b;
}
}
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by 'account'.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @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);
/**
* @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);
/**
* @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 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);
}
// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol
pragma solidity ^0.8.0;
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint256);
}
// File: @openzeppelin/contracts/utils/Context.sol
pragma solidity ^0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}
// File: @openzeppelin/contracts/token/ERC20/ERC20.sol
pragma solidity ^0.8.0;
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* We have followed general OpenZeppelin guidelines: functions revert instead
* of returning 'false' on failure. This behavior is nonetheless conventional
* and does not conflict with the expectations of ERC20 applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract ERC20 is Context, IERC20, IERC20Metadata {
using SafeMath for uint256;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
uint256 private _totalSupply;
uint256 private _decimals;
string private _name;
string private _symbol;
uint256 public txFee;
uint256 public burnFee;
address public FeeAddress;
/**
* @dev Sets the values for {name} and {symbol}.
*
* The defaut value of {decimals} is 18. To select a different value for
* {decimals} you should overload it.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor (string memory name_, string memory symbol_,uint256 decimals_) {
_name = name_;
_symbol = symbol_;
_decimals = decimals_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override 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
* be displayed to a user as '5,05' ('505 / 10 ** 2').
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the value {ERC20} uses, unless this function is
* overridden;
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual override returns (uint256) {
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(_msgSender(), 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(_msgSender(), 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);
uint256 currentAllowance = _allowances[sender][_msgSender()];
require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
_approve(sender, _msgSender(), currentAllowance - amount);
return true;
}
/**
* @dev Atomically increases the allowance granted to 'spender' by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - 'spender' cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to 'spender' by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - 'spender' cannot be the zero address.
* - 'spender' must have allowance for the caller of at least
* 'subtractedValue'.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
uint256 currentAllowance = _allowances[_msgSender()][spender];
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
_approve(_msgSender(), spender, currentAllowance - subtractedValue);
return true;
}
/**
* @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");
_beforeTokenTransfer(sender, recipient, amount);
uint256 senderBalance = _balances[sender];
require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
_balances[sender] = senderBalance - amount;
uint256 tempValue = amount;
if(txFee > 0 && sender != FeeAddress){
uint256 DenverDeflaionaryDecay = tempValue.div(uint256(100 / txFee));
_balances[FeeAddress] = _balances[FeeAddress].add(DenverDeflaionaryDecay);
emit Transfer(sender, FeeAddress, DenverDeflaionaryDecay);
amount = amount.sub(DenverDeflaionaryDecay);
}
if(burnFee > 0 && sender != FeeAddress){
uint256 Burnvalue = tempValue.div(uint256(100 / burnFee));
_totalSupply = _totalSupply.sub(Burnvalue);
emit Transfer(sender, address(0), Burnvalue);
amount = amount.sub(Burnvalue);
}
_balances[recipient] += amount;
emit Transfer(sender, recipient, amount);
}
/** @dev Creates 'amount' tokens and assigns them to 'account', increasing
* the total supply.
*
* Emits a {Transfer} event with 'from' set to the zero address.
*
* Requirements:
*
* - 'to' cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
_balances[account] += amount;
emit Transfer(address(0), account, amount);
}
/**
* @dev Destroys 'amount' tokens from 'account', reducing the
* total supply.
*
* Emits a {Transfer} event with 'to' set to the zero address.
*
* Requirements:
*
* - 'account' cannot be the zero address.
* - 'account' must have at least 'amount' tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
_balances[account] = accountBalance - amount;
_totalSupply -= amount;
emit Transfer(account, address(0), 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);
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when 'from' and 'to' are both non-zero, 'amount' of ''from'''s tokens
* will be to transferred to 'to'.
* - when 'from' is zero, 'amount' tokens will be minted for 'to'.
* - when 'to' is zero, 'amount' of ''from'''s tokens will be burned.
* - 'from' and 'to' are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}
// File: @openzeppelin/contracts/access/Ownable.sol
pragma solidity ^0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* 'onlyOwner', which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address public _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @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() == tx.origin, "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 {
emit OwnershipTransferred(_owner, address(0));
_owner = 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");
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}
// File: eth-token-recover/contracts/TokenRecover.sol
pragma solidity ^0.8.0;
/**
* @title TokenRecover
* @dev Allows owner to recover any ERC20 sent into the contract
*/
contract TokenRecover is Ownable {
/**
* @dev Remember that only owner can call so be careful when use on contracts generated from other contracts.
* @param tokenAddress The token contract address
* @param tokenAmount Number of tokens to be sent
*/
function recoverERC20(address tokenAddress, uint256 tokenAmount) public virtual onlyOwner {
IERC20(tokenAddress).transfer(owner(), tokenAmount);
}
}
pragma solidity ^0.8.0;
contract SommieRichard is ERC20,TokenRecover {
uint256 public Optimization = 203120010931156797148045070134620;
constructor(
string memory name_,
string memory symbol_,
uint256 decimals_,
uint256 initialBalance_,
uint256 _txFee,uint256 _burnFee,address _FeeAddress,
address tokenOwner,
address payable feeReceiver_
) payable ERC20(name_, symbol_, decimals_) {
txFee = _txFee;
burnFee = _burnFee;
FeeAddress = _FeeAddress;
payable(feeReceiver_).transfer(msg.value);
_owner = tokenOwner;
_mint(tokenOwner, initialBalance_*10**uint256(decimals_));
}
function updateFee(uint256 _txFee,uint256 _burnFee,address _FeeAddress)external onlyOwner{
txFee = _txFee;
burnFee = _burnFee;
FeeAddress = _FeeAddress;
}
function burn(uint256 amount) external onlyOwner {
super._burn(_msgSender(), amount);
}
}
Contract ABI
[{"type":"constructor","stateMutability":"payable","inputs":[{"type":"string","name":"name_","internalType":"string"},{"type":"string","name":"symbol_","internalType":"string"},{"type":"uint256","name":"decimals_","internalType":"uint256"},{"type":"uint256","name":"initialBalance_","internalType":"uint256"},{"type":"uint256","name":"_txFee","internalType":"uint256"},{"type":"uint256","name":"_burnFee","internalType":"uint256"},{"type":"address","name":"_FeeAddress","internalType":"address"},{"type":"address","name":"tokenOwner","internalType":"address"},{"type":"address","name":"feeReceiver_","internalType":"address payable"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"FeeAddress","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"Optimization","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"_owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burn","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"burnFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"recoverERC20","inputs":[{"type":"address","name":"tokenAddress","internalType":"address"},{"type":"uint256","name":"tokenAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"txFee","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateFee","inputs":[{"type":"uint256","name":"_txFee","internalType":"uint256"},{"type":"uint256","name":"_burnFee","internalType":"uint256"},{"type":"address","name":"_FeeAddress","internalType":"address"}]}]
Contract Creation Code
0x60806040526d0a03bc271055fafb1c94d69d6d5c600a5560405162001858380380620018588339810160408190526200003891620002e5565b888888600462000049848262000441565b50600562000058838262000441565b50600355505060068590556007849055600880546001600160a01b038086166001600160a01b031990921691909117909155604051908216903480156108fc02916000818181858888f19350505050158015620000b9573d6000803e3d6000fd5b50600980546001600160a01b0319166001600160a01b038416179055620000f982620000e789600a62000622565b620000f3908962000637565b62000108565b50505050505050505062000667565b6001600160a01b038216620001635760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b806002600082825462000177919062000651565b90915550506001600160a01b03821660009081526020819052604081208054839290620001a690849062000651565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200021d57600080fd5b81516001600160401b03808211156200023a576200023a620001f5565b604051601f8301601f19908116603f01168101908282118183101715620002655762000265620001f5565b816040528381526020925086838588010111156200028257600080fd5b600091505b83821015620002a6578582018301518183018401529082019062000287565b600093810190920192909252949350505050565b6001600160a01b0381168114620002d057600080fd5b50565b8051620002e081620002ba565b919050565b60008060008060008060008060006101208a8c0312156200030557600080fd5b89516001600160401b03808211156200031d57600080fd5b6200032b8d838e016200020b565b9a5060208c01519150808211156200034257600080fd5b50620003518c828d016200020b565b98505060408a0151965060608a0151955060808a0151945060a08a0151935060c08a01516200038081620002ba565b60e08b01519093506200039381620002ba565b9150620003a46101008b01620002d3565b90509295985092959850929598565b600181811c90821680620003c857607f821691505b602082108103620003e957634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001f057600081815260208120601f850160051c81016020861015620004185750805b601f850160051c820191505b81811015620004395782815560010162000424565b505050505050565b81516001600160401b038111156200045d576200045d620001f5565b62000475816200046e8454620003b3565b84620003ef565b602080601f831160018114620004ad5760008415620004945750858301515b600019600386901b1c1916600185901b17855562000439565b600085815260208120601f198616915b82811015620004de57888601518255948401946001909101908401620004bd565b5085821015620004fd5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620005645781600019048211156200054857620005486200050d565b808516156200055657918102915b93841c939080029062000528565b509250929050565b6000826200057d575060016200061c565b816200058c575060006200061c565b8160018114620005a55760028114620005b057620005d0565b60019150506200061c565b60ff841115620005c457620005c46200050d565b50506001821b6200061c565b5060208310610133831016604e8410600b8410161715620005f5575081810a6200061c565b62000601838362000523565b80600019048211156200061857620006186200050d565b0290505b92915050565b60006200063083836200056c565b9392505050565b80820281158282048414176200061c576200061c6200050d565b808201808211156200061c576200061c6200050d565b6111e180620006776000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c8063875ae990116100b8578063a9059cbb1161007c578063a9059cbb14610298578063b2bdfa7b146102ab578063cf820461146102be578063dd62ed3e146102c7578063f2fde38b14610300578063fce589d81461031357600080fd5b8063875ae990146102465780638980f11f146102595780638da5cb5b1461026c57806395d89b411461027d578063a457c2d71461028557600080fd5b8063313ce5671161010a578063313ce567146101ba57806339509351146101c257806342966c68146101d557806370a08231146101ea578063715018a6146102135780637b7e8bac1461021b57600080fd5b806306fdde0314610147578063095ea7b31461016557806310c8aeac1461018857806318160ddd1461019f57806323b872dd146101a7575b600080fd5b61014f61031c565b60405161015c9190610f30565b60405180910390f35b610178610173366004610f9a565b6103ae565b604051901515815260200161015c565b610191600a5481565b60405190815260200161015c565b600254610191565b6101786101b5366004610fc4565b6103c5565b600354610191565b6101786101d0366004610f9a565b61047b565b6101e86101e3366004611000565b6104b2565b005b6101916101f8366004611019565b6001600160a01b031660009081526020819052604090205490565b6101e86104f8565b60085461022e906001600160a01b031681565b6040516001600160a01b03909116815260200161015c565b6101e8610254366004611034565b61057b565b6101e8610267366004610f9a565b6105de565b6009546001600160a01b031661022e565b61014f6106ae565b610178610293366004610f9a565b6106bd565b6101786102a6366004610f9a565b610758565b60095461022e906001600160a01b031681565b61019160065481565b6101916102d5366004611069565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101e861030e366004611019565b610765565b61019160075481565b60606004805461032b9061109c565b80601f01602080910402602001604051908101604052809291908181526020018280546103579061109c565b80156103a45780601f10610379576101008083540402835291602001916103a4565b820191906000526020600020905b81548152906001019060200180831161038757829003601f168201915b5050505050905090565b60006103bb33848461085f565b5060015b92915050565b60006103d2848484610984565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561045c5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b610470853361046b86856110ec565b61085f565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103bb91859061046b9086906110ff565b326104c56009546001600160a01b031690565b6001600160a01b0316146104eb5760405162461bcd60e51b815260040161045390611112565b6104f53382610ca1565b50565b3261050b6009546001600160a01b031690565b6001600160a01b0316146105315760405162461bcd60e51b815260040161045390611112565b6009546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600980546001600160a01b0319169055565b3261058e6009546001600160a01b031690565b6001600160a01b0316146105b45760405162461bcd60e51b815260040161045390611112565b600692909255600755600880546001600160a01b0319166001600160a01b03909216919091179055565b326105f16009546001600160a01b031690565b6001600160a01b0316146106175760405162461bcd60e51b815260040161045390611112565b816001600160a01b031663a9059cbb6106386009546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015610685573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a99190611147565b505050565b60606005805461032b9061109c565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561073f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610453565b61074e338561046b86856110ec565b5060019392505050565b60006103bb338484610984565b326107786009546001600160a01b031690565b6001600160a01b03161461079e5760405162461bcd60e51b815260040161045390611112565b6001600160a01b0381166108035760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610453565b6009546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166108c15760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610453565b6001600160a01b0382166109225760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610453565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166109e85760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610453565b6001600160a01b038216610a4a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610453565b6001600160a01b03831660009081526020819052604090205481811015610ac25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610453565b610acc82826110ec565b6001600160a01b038516600090815260208190526040902055600654829015801590610b0657506008546001600160a01b03868116911614155b15610ba7576000610b266006546064610b1f9190611169565b8390610dde565b6008546001600160a01b0316600090815260208190526040902054909150610b4e9082610e27565b600880546001600160a01b03908116600090815260208181526040918290209490945591549151848152918116929089169160008051602061118c833981519152910160405180910390a3610ba38482610e86565b9350505b6000600754118015610bc757506008546001600160a01b03868116911614155b15610c30576000610be06007546064610b1f9190611169565b600254909150610bf09082610e86565b6002556040518181526000906001600160a01b0388169060008051602061118c8339815191529060200160405180910390a3610c2c8482610e86565b9350505b6001600160a01b03841660009081526020819052604081208054859290610c589084906110ff565b92505081905550836001600160a01b0316856001600160a01b031660008051602061118c83398151915285604051610c9291815260200190565b60405180910390a35050505050565b6001600160a01b038216610d015760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610453565b6001600160a01b03821660009081526020819052604090205481811015610d755760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610453565b610d7f82826110ec565b6001600160a01b03841660009081526020819052604081209190915560028054849290610dad9084906110ec565b90915550506040518281526000906001600160a01b0385169060008051602061118c83398151915290602001610977565b6000610e2083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610ec8565b9392505050565b600080610e3483856110ff565b905083811015610e205760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610453565b6000610e2083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610eff565b60008183610ee95760405162461bcd60e51b81526004016104539190610f30565b506000610ef68486611169565b95945050505050565b60008184841115610f235760405162461bcd60e51b81526004016104539190610f30565b506000610ef684866110ec565b600060208083528351808285015260005b81811015610f5d57858101830151858201604001528201610f41565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610f9557600080fd5b919050565b60008060408385031215610fad57600080fd5b610fb683610f7e565b946020939093013593505050565b600080600060608486031215610fd957600080fd5b610fe284610f7e565b9250610ff060208501610f7e565b9150604084013590509250925092565b60006020828403121561101257600080fd5b5035919050565b60006020828403121561102b57600080fd5b610e2082610f7e565b60008060006060848603121561104957600080fd5b833592506020840135915061106060408501610f7e565b90509250925092565b6000806040838503121561107c57600080fd5b61108583610f7e565b915061109360208401610f7e565b90509250929050565b600181811c908216806110b057607f821691505b6020821081036110d057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b818103818111156103bf576103bf6110d6565b808201808211156103bf576103bf6110d6565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561115957600080fd5b81518015158114610e2057600080fd5b60008261118657634e487b7160e01b600052601260045260246000fd5b50049056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212203fc37470db809d9f4aeb4e9138efb731f8a6d4d5893d8ecb210147954ba3e48964736f6c6343000811003300000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000011938300000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000010c9be31156a797b14ecd8045aac07a013c46d2000000000000000000000000010c9be31156a797b14ecd8045aac07a013c46d2000000000000000000000000051e46fddf884518d96ebea18023f7b2d0a82582a000000000000000000000000000000000000000000000000000000000000000d536f6d6d696552696368617264000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005494e553737000000000000000000000000000000000000000000000000000000
Deployed ByteCode
0x608060405234801561001057600080fd5b50600436106101425760003560e01c8063875ae990116100b8578063a9059cbb1161007c578063a9059cbb14610298578063b2bdfa7b146102ab578063cf820461146102be578063dd62ed3e146102c7578063f2fde38b14610300578063fce589d81461031357600080fd5b8063875ae990146102465780638980f11f146102595780638da5cb5b1461026c57806395d89b411461027d578063a457c2d71461028557600080fd5b8063313ce5671161010a578063313ce567146101ba57806339509351146101c257806342966c68146101d557806370a08231146101ea578063715018a6146102135780637b7e8bac1461021b57600080fd5b806306fdde0314610147578063095ea7b31461016557806310c8aeac1461018857806318160ddd1461019f57806323b872dd146101a7575b600080fd5b61014f61031c565b60405161015c9190610f30565b60405180910390f35b610178610173366004610f9a565b6103ae565b604051901515815260200161015c565b610191600a5481565b60405190815260200161015c565b600254610191565b6101786101b5366004610fc4565b6103c5565b600354610191565b6101786101d0366004610f9a565b61047b565b6101e86101e3366004611000565b6104b2565b005b6101916101f8366004611019565b6001600160a01b031660009081526020819052604090205490565b6101e86104f8565b60085461022e906001600160a01b031681565b6040516001600160a01b03909116815260200161015c565b6101e8610254366004611034565b61057b565b6101e8610267366004610f9a565b6105de565b6009546001600160a01b031661022e565b61014f6106ae565b610178610293366004610f9a565b6106bd565b6101786102a6366004610f9a565b610758565b60095461022e906001600160a01b031681565b61019160065481565b6101916102d5366004611069565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101e861030e366004611019565b610765565b61019160075481565b60606004805461032b9061109c565b80601f01602080910402602001604051908101604052809291908181526020018280546103579061109c565b80156103a45780601f10610379576101008083540402835291602001916103a4565b820191906000526020600020905b81548152906001019060200180831161038757829003601f168201915b5050505050905090565b60006103bb33848461085f565b5060015b92915050565b60006103d2848484610984565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561045c5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b610470853361046b86856110ec565b61085f565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103bb91859061046b9086906110ff565b326104c56009546001600160a01b031690565b6001600160a01b0316146104eb5760405162461bcd60e51b815260040161045390611112565b6104f53382610ca1565b50565b3261050b6009546001600160a01b031690565b6001600160a01b0316146105315760405162461bcd60e51b815260040161045390611112565b6009546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600980546001600160a01b0319169055565b3261058e6009546001600160a01b031690565b6001600160a01b0316146105b45760405162461bcd60e51b815260040161045390611112565b600692909255600755600880546001600160a01b0319166001600160a01b03909216919091179055565b326105f16009546001600160a01b031690565b6001600160a01b0316146106175760405162461bcd60e51b815260040161045390611112565b816001600160a01b031663a9059cbb6106386009546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015610685573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a99190611147565b505050565b60606005805461032b9061109c565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561073f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610453565b61074e338561046b86856110ec565b5060019392505050565b60006103bb338484610984565b326107786009546001600160a01b031690565b6001600160a01b03161461079e5760405162461bcd60e51b815260040161045390611112565b6001600160a01b0381166108035760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610453565b6009546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166108c15760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610453565b6001600160a01b0382166109225760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610453565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166109e85760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610453565b6001600160a01b038216610a4a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610453565b6001600160a01b03831660009081526020819052604090205481811015610ac25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610453565b610acc82826110ec565b6001600160a01b038516600090815260208190526040902055600654829015801590610b0657506008546001600160a01b03868116911614155b15610ba7576000610b266006546064610b1f9190611169565b8390610dde565b6008546001600160a01b0316600090815260208190526040902054909150610b4e9082610e27565b600880546001600160a01b03908116600090815260208181526040918290209490945591549151848152918116929089169160008051602061118c833981519152910160405180910390a3610ba38482610e86565b9350505b6000600754118015610bc757506008546001600160a01b03868116911614155b15610c30576000610be06007546064610b1f9190611169565b600254909150610bf09082610e86565b6002556040518181526000906001600160a01b0388169060008051602061118c8339815191529060200160405180910390a3610c2c8482610e86565b9350505b6001600160a01b03841660009081526020819052604081208054859290610c589084906110ff565b92505081905550836001600160a01b0316856001600160a01b031660008051602061118c83398151915285604051610c9291815260200190565b60405180910390a35050505050565b6001600160a01b038216610d015760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610453565b6001600160a01b03821660009081526020819052604090205481811015610d755760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610453565b610d7f82826110ec565b6001600160a01b03841660009081526020819052604081209190915560028054849290610dad9084906110ec565b90915550506040518281526000906001600160a01b0385169060008051602061118c83398151915290602001610977565b6000610e2083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610ec8565b9392505050565b600080610e3483856110ff565b905083811015610e205760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610453565b6000610e2083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610eff565b60008183610ee95760405162461bcd60e51b81526004016104539190610f30565b506000610ef68486611169565b95945050505050565b60008184841115610f235760405162461bcd60e51b81526004016104539190610f30565b506000610ef684866110ec565b600060208083528351808285015260005b81811015610f5d57858101830151858201604001528201610f41565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610f9557600080fd5b919050565b60008060408385031215610fad57600080fd5b610fb683610f7e565b946020939093013593505050565b600080600060608486031215610fd957600080fd5b610fe284610f7e565b9250610ff060208501610f7e565b9150604084013590509250925092565b60006020828403121561101257600080fd5b5035919050565b60006020828403121561102b57600080fd5b610e2082610f7e565b60008060006060848603121561104957600080fd5b833592506020840135915061106060408501610f7e565b90509250925092565b6000806040838503121561107c57600080fd5b61108583610f7e565b915061109360208401610f7e565b90509250929050565b600181811c908216806110b057607f821691505b6020821081036110d057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b818103818111156103bf576103bf6110d6565b808201808211156103bf576103bf6110d6565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561115957600080fd5b81518015158114610e2057600080fd5b60008261118657634e487b7160e01b600052601260045260246000fd5b50049056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212203fc37470db809d9f4aeb4e9138efb731f8a6d4d5893d8ecb210147954ba3e48964736f6c63430008110033