Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
4,760.1983 SLVM
Holders
49
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:
SilverMint
Compiler Version
v0.8.9+commit.e5eed63a
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.9; interface IOracle { function update() external; function consult(address _token, uint256 _amountIn) external view returns (uint144 amountOut); function twap(address _token, uint256 _amountIn) external view returns (uint144 _amountOut); } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (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) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (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 private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "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 { _transferOwnership(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"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } pragma solidity ^0.8.0; contract Blacklistable is Context, Ownable { mapping(address => bool) private _blacklisted; modifier checkBlacklist(address account) { require(!_blacklisted[account], "Blacklistable: caller is blacklisted"); _; } function isBlacklisted(address account) public view returns (bool) { return _blacklisted[account]; } function addToBlacklist(address[] memory accounts) public onlyOwner { uint256 length = accounts.length; for (uint256 i; i < length; i++) { _blacklisted[accounts[i]] = true; } } function removeFromBlacklist(address[] memory accounts) public onlyOwner { uint256 length = accounts.length; for (uint256 i; i < length; i++) { _blacklisted[accounts[i]] = false; } } } pragma solidity ^0.8.0; contract Operator is Context, Ownable { address private _operator; event OperatorTransferred(address indexed previousOperator, address indexed newOperator); constructor() { _operator = _msgSender(); emit OperatorTransferred(address(0), _operator); } function operator() public view returns (address) { return _operator; } modifier onlyOperator() { require(_operator == msg.sender, "operator: caller is not the operator"); _; } function isOperator() public view returns (bool) { return _msgSender() == _operator; } function transferOperator(address newOperator_) public onlyOwner { _transferOperator(newOperator_); } function _transferOperator(address newOperator_) internal { require(newOperator_ != address(0), "operator: zero address given for new operator"); emit OperatorTransferred(address(0), newOperator_); _operator = newOperator_; } } pragma solidity 0.8.9; contract Controllable is Ownable { mapping (address => bool) controllers; event ControllerAdded(address); event ControllerRemoved(address); modifier onlyController() { require(controllers[_msgSender()] || _msgSender() == owner(), "Only controllers can do that"); _; } /*** ADMIN ***/ /** * enables an address to mint / burn * @param controller the address to enable */ function addController(address controller) external onlyOwner { _addController(controller); } function _addController(address controller) internal { if (!controllers[controller]) { controllers[controller] = true; emit ControllerAdded(controller); } } /** * disables an address from minting / burning * @param controller the address to disbale */ function removeController(address controller) external onlyOwner { _RemoveController(controller); } function _RemoveController(address controller) internal { if (controllers[controller]) { controllers[controller] = false; emit ControllerRemoved(controller); } } } pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount ) external returns (bool); } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts v4.4.1 (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 (uint8); } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v4.7.0) (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 Contracts guidelines: functions revert * instead 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 { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default 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_) { _name = name_; _symbol = symbol_; } /** * @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 (uint8) { return 18; } /** * @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: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, 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}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, 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}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, 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) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, 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) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This 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: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, 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: * * - `account` 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); _afterTokenTransfer(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"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(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 Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - 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 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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } // File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } } pragma solidity 0.8.9; contract SilverMint is ERC20Burnable, Operator, Controllable, Blacklistable { mapping(address => bool) private _isExcludedFromTransferTax; mapping(address => bool) private _isExcludedFromSellTax; address public taxRecipient; uint256 public transferTax; bool public transferTaxEnabled; uint256[] public sellTaxPriceTiers; uint256[] public sellTaxTiers; bool public sellTaxEnabled; address public pair; address public priceOracle; constructor() ERC20("Silver Mint", "SLVM") { _isExcludedFromTransferTax[msg.sender] = true; _isExcludedFromTransferTax[address(this)] = true; taxRecipient = msg.sender; } function mint(address to, uint256 amount) public returns (bool) { require(isOperator() || controllers[msg.sender], "no permission"); _mint(to, amount); return true; } function burn(uint256 amount) public override { _burn(msg.sender, amount); } function burnFrom(address from, uint256 amount) public override { require(isOperator() || controllers[msg.sender], "no permission"); _burn(from, amount); } function setPriceOracle(address _priceOracle) public onlyOwner { require(_priceOracle != address(0)); priceOracle = _priceOracle; } function getPrice() public view returns (uint256 slvmPrice) { try IOracle(priceOracle).consult(address(this), 1e18) returns ( uint144 price ) { return uint256(price); } catch { revert("Silver Mint: failed to consult token price from the oracle"); } } function setPair(address _pair) public onlyOwner { pair = _pair; } function isExcludedFromTransferTax(address account) public view returns (bool) { return _isExcludedFromTransferTax[account]; } function excludeFromTransferTax(address account) public onlyOwner { _isExcludedFromTransferTax[account] = true; } function includeInTransferTax(address account) public onlyOwner { _isExcludedFromTransferTax[account] = false; } function setTransferTax(uint256 _transferTax) public onlyOwner { require(_transferTax <= 10000); transferTax = _transferTax; } function setTransferTaxEnabled(bool _enabled) public onlyOwner { transferTaxEnabled = _enabled; } function isExcludedFromSellTax(address account) public view returns (bool) { return _isExcludedFromSellTax[account]; } function excludeFromSellTax(address account) public onlyOwner { _isExcludedFromSellTax[account] = true; } function includeInSellTax(address account) public onlyOwner { _isExcludedFromSellTax[account] = false; } function setSellTax( uint256[] memory _sellTaxPriceTiers, uint256[] memory _sellTaxTiers ) public onlyOwner { require( _sellTaxPriceTiers.length == _sellTaxTiers.length, "tier length mismatch" ); for (uint256 i; i < _sellTaxPriceTiers.length; i++) { require(_sellTaxTiers[i] < 10000, "setSellTax: tax out of range"); if (i > 0) { require( _sellTaxPriceTiers[i - 1] < _sellTaxPriceTiers[i], "setSellTax: invalid order" ); } } sellTaxPriceTiers = _sellTaxPriceTiers; sellTaxTiers = _sellTaxTiers; } function setSellTaxEnabled(bool _enabled) public onlyOwner { sellTaxEnabled = _enabled; } function setTaxRecipient(address _taxRecipient) public onlyOwner { require(_taxRecipient != address(0), "zero address provided"); taxRecipient = _taxRecipient; } function _transfer( address from, address to, uint256 amount ) internal override { require( !isBlacklisted(from) && !isBlacklisted(to), "sender or recipient is blacklisted" ); if (to == pair) { if (!_isExcludedFromSellTax[from] && sellTaxEnabled) { amount = _takeSellTax(from, amount); } } else { if (!_isExcludedFromTransferTax[from] && transferTaxEnabled) { amount = _takeTransferTax(from, amount); } } super._transfer(from, to, amount); } function _takeTransferTax(address sender, uint256 amount) private returns (uint256) { uint256 taxAmount = (amount * transferTax) / 10000; super._transfer(sender, taxRecipient, taxAmount); return amount - taxAmount; } function _takeSellTax(address sender, uint256 amount) private returns (uint256) { uint256 length = sellTaxPriceTiers.length; uint256 sellTax; uint256 price = getPrice(); if (price < sellTaxPriceTiers[0]) { sellTax = sellTaxTiers[0]; } else if (price >= sellTaxPriceTiers[length - 1]) { sellTax = sellTaxTiers[length - 1]; } else { for (uint256 i = 1; i < length; i++) { if (price < sellTaxPriceTiers[i]) { sellTax = sellTaxTiers[i] + ((sellTaxTiers[i - 1] - sellTaxTiers[i]) * (sellTaxPriceTiers[i] - price)) / (sellTaxPriceTiers[i] - sellTaxPriceTiers[i - 1]); break; } } } uint256 taxAmount = (amount * sellTax) / 10000; super._transfer(sender, taxRecipient, taxAmount); return amount - taxAmount; } function approve(address spender, uint256 amount) public override checkBlacklist(msg.sender) returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } function transferFrom( address from, address to, uint256 amount ) public override checkBlacklist(msg.sender) returns (bool) { address spender = _msgSender(); if (!isOperator() && !controllers[spender]) _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","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":[{"indexed":false,"internalType":"address","name":"","type":"address"}],"name":"ControllerAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"}],"name":"ControllerRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newOperator","type":"address"}],"name":"OperatorTransferred","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":[{"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"},{"inputs":[{"internalType":"address","name":"controller","type":"address"}],"name":"addController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"addToBlacklist","outputs":[],"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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromTransferTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"slvmPrice","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInTransferTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromSellTax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromTransferTax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceOracle","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"controller","type":"address"}],"name":"removeController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"removeFromBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTaxEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"sellTaxPriceTiers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"sellTaxTiers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_pair","type":"address"}],"name":"setPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_priceOracle","type":"address"}],"name":"setPriceOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_sellTaxPriceTiers","type":"uint256[]"},{"internalType":"uint256[]","name":"_sellTaxTiers","type":"uint256[]"}],"name":"setSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSellTaxEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_taxRecipient","type":"address"}],"name":"setTaxRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_transferTax","type":"uint256"}],"name":"setTransferTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setTransferTaxEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOperator_","type":"address"}],"name":"transferOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"transferTaxEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604080518082018252600b81526a14da5b1d995c88135a5b9d60aa1b602080830191825283518085019094526004845263534c564d60e01b908401528151919291620000619160039162000173565b5080516200007790600490602084019062000173565b505050620000946200008e6200011d60201b60201c565b62000121565b600680546001600160a01b031916339081179091556040516000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3336000818152600960205260408082208054600160ff1991821681179092553084529190922080549091169091179055600b80546001600160a01b031916909117905562000256565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001819062000219565b90600052602060002090601f016020900481019282620001a55760008555620001f0565b82601f10620001c057805160ff1916838001178555620001f0565b82800160010185558215620001f0579182015b82811115620001f0578251825591602001919060010190620001d3565b50620001fe92915062000202565b5090565b5b80821115620001fe576000815560010162000203565b600181811c908216806200022e57607f821691505b602082108114156200025057634e487b7160e01b600052602260045260246000fd5b50919050565b61210080620002666000396000f3fe608060405234801561001057600080fd5b50600436106102955760003560e01c806378e3079e1161016757806398d5fdca116100ce578063dd62ed3e11610087578063dd62ed3e146105e7578063e95a1c54146105fa578063eff9944c1461060d578063f2fde38b14610620578063f6a74ed714610633578063fe575a871461064657600080fd5b806398d5fdca1461057b578063a457c2d714610583578063a7fc7a0714610596578063a8aa1b31146105a9578063a9059cbb146105c1578063b58d3815146105d457600080fd5b80638b525903116101205780638b5259031461051c5780638da5cb5b1461052f5780638fde996514610540578063935eb35f1461055357806395d89b411461056657806396f9e9be1461056e57600080fd5b806378e3079e146104ba57806379cc6790146104cd5780637baa96e2146104e05780638124f7ac146104ed5780638187f516146104f657806389daf7991461050957600080fd5b806340c10f191161020b57806356e54387116101c457806356e5438714610426578063570ca7351461043957806370a082311461044a578063715018a6146104735780637332cb561461047b578063737ea06e146104a757600080fd5b806340c10f191461039b57806342966c68146103ae5780634456eda2146103c1578063502470b0146103d457806352e099e314610400578063530e784f1461041357600080fd5b806323b872dd1161025d57806323b872dd146103155780632630c12f1461032857806329605e7714610353578063313ce5671461036657806332fa2df414610375578063395093511461038857600080fd5b806306fdde031461029a578063095ea7b3146102b857806315d2cfac146102db57806318160ddd146102f05780631e66904714610302575b600080fd5b6102a2610672565b6040516102af9190611c3d565b60405180910390f35b6102cb6102c6366004611cae565b610704565b60405190151581526020016102af565b6102ee6102e9366004611cd8565b610757565b005b6002545b6040519081526020016102af565b6102f4610310366004611d01565b610772565b6102cb610323366004611d1a565b610793565b60115461033b906001600160a01b031681565b6040516001600160a01b0390911681526020016102af565b6102ee610361366004611d56565b610823565b604051601281526020016102af565b6102ee610383366004611cd8565b610837565b6102cb610396366004611cae565b610852565b6102cb6103a9366004611cae565b61087e565b6102ee6103bc366004611d01565b6108f8565b6006546001600160a01b031633146102cb565b6102cb6103e2366004611d56565b6001600160a01b03166000908152600a602052604090205460ff1690565b6102f461040e366004611d01565b610902565b6102ee610421366004611d56565b610912565b6102ee610434366004611e47565b61094f565b6006546001600160a01b031661033b565b6102f4610458366004611d56565b6001600160a01b031660009081526020819052604090205490565b6102ee610ae7565b6102cb610489366004611d56565b6001600160a01b031660009081526009602052604090205460ff1690565b600b5461033b906001600160a01b031681565b6102ee6104c8366004611d56565b610afb565b6102ee6104db366004611cae565b610b73565b6010546102cb9060ff1681565b6102f4600c5481565b6102ee610504366004611d56565b610be5565b6102ee610517366004611eab565b610c15565b6102ee61052a366004611d01565b610c86565b6005546001600160a01b031661033b565b6102ee61054e366004611d56565b610ca2565b6102ee610561366004611eab565b610ccb565b6102a2610d3c565b600d546102cb9060ff1681565b6102f4610d4b565b6102cb610591366004611cae565b610e4d565b6102ee6105a4366004611d56565b610ec8565b60105461033b9061010090046001600160a01b031681565b6102cb6105cf366004611cae565b610ed9565b6102ee6105e2366004611d56565b610ee7565b6102f46105f5366004611f38565b610f10565b6102ee610608366004611d56565b610f3b565b6102ee61061b366004611d56565b610f67565b6102ee61062e366004611d56565b610f93565b6102ee610641366004611d56565b611009565b6102cb610654366004611d56565b6001600160a01b031660009081526008602052604090205460ff1690565b60606003805461068190611f6b565b80601f01602080910402602001604051908101604052809291908181526020018280546106ad90611f6b565b80156106fa5780601f106106cf576101008083540402835291602001916106fa565b820191906000526020600020905b8154815290600101906020018083116106dd57829003601f168201915b5050505050905090565b3360008181526008602052604081205490919060ff16156107405760405162461bcd60e51b815260040161073790611fa6565b60405180910390fd5b3361074c81868661101a565b506001949350505050565b61075f61113e565b6010805460ff1916911515919091179055565b600f818154811061078257600080fd5b600091825260209091200154905081565b3360008181526008602052604081205490919060ff16156107c65760405162461bcd60e51b815260040161073790611fa6565b60065433906001600160a01b031681141580156107fc57506001600160a01b03811660009081526007602052604090205460ff16155b1561080c5761080c868286611198565b610817868686611212565b50600195945050505050565b61082b61113e565b61083481611350565b50565b61083f61113e565b600d805460ff1916911515919091179055565b6000336108748185856108658383610f10565b61086f9190612000565b61101a565b5060019392505050565b6006546000906001600160a01b03163314806108a957503360009081526007602052604090205460ff165b6108e55760405162461bcd60e51b815260206004820152600d60248201526c3737903832b936b4b9b9b4b7b760991b6044820152606401610737565b6108ef8383611414565b50600192915050565b61083433826114f3565b600e818154811061078257600080fd5b61091a61113e565b6001600160a01b03811661092d57600080fd5b601180546001600160a01b0319166001600160a01b0392909216919091179055565b61095761113e565b805182511461099f5760405162461bcd60e51b81526020600482015260146024820152730e8d2cae440d8cadccee8d040dad2e6dac2e8c6d60631b6044820152606401610737565b60005b8251811015610aba576127108282815181106109c0576109c0612018565b602002602001015110610a155760405162461bcd60e51b815260206004820152601c60248201527f73657453656c6c5461783a20746178206f7574206f662072616e6765000000006044820152606401610737565b8015610aa857828181518110610a2d57610a2d612018565b602002602001015183600183610a43919061202e565b81518110610a5357610a53612018565b602002602001015110610aa85760405162461bcd60e51b815260206004820152601960248201527f73657453656c6c5461783a20696e76616c6964206f72646572000000000000006044820152606401610737565b80610ab281612045565b9150506109a2565b508151610ace90600e906020850190611bdd565b508051610ae290600f906020840190611bdd565b505050565b610aef61113e565b610af96000611641565b565b610b0361113e565b6001600160a01b038116610b515760405162461bcd60e51b81526020600482015260156024820152741e995c9bc81859191c995cdcc81c1c9bdd9a591959605a1b6044820152606401610737565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b0316331480610b9b57503360009081526007602052604090205460ff165b610bd75760405162461bcd60e51b815260206004820152600d60248201526c3737903832b936b4b9b9b4b7b760991b6044820152606401610737565b610be182826114f3565b5050565b610bed61113e565b601080546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b610c1d61113e565b805160005b81811015610ae257600060086000858481518110610c4257610c42612018565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610c7e81612045565b915050610c22565b610c8e61113e565b612710811115610c9d57600080fd5b600c55565b610caa61113e565b6001600160a01b03166000908152600960205260409020805460ff19169055565b610cd361113e565b805160005b81811015610ae257600160086000858481518110610cf857610cf8612018565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610d3481612045565b915050610cd8565b60606004805461068190611f6b565b601154604051633ddac95360e01b8152306004820152670de0b6b3a764000060248201526000916001600160a01b031690633ddac9539060440160206040518083038186803b158015610d9d57600080fd5b505afa925050508015610dcd575060408051601f3d908101601f19168201909252610dca91810190612060565b60015b610e3f5760405162461bcd60e51b815260206004820152603a60248201527f53696c766572204d696e743a206661696c656420746f20636f6e73756c74207460448201527f6f6b656e2070726963652066726f6d20746865206f7261636c650000000000006064820152608401610737565b6001600160901b0316919050565b60003381610e5b8286610f10565b905083811015610ebb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610737565b61074c828686840361101a565b610ed061113e565b61083481611693565b600033610874818585611212565b610eef61113e565b6001600160a01b03166000908152600a60205260409020805460ff19169055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610f4361113e565b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b610f6f61113e565b6001600160a01b03166000908152600a60205260409020805460ff19166001179055565b610f9b61113e565b6001600160a01b0381166110005760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610737565b61083481611641565b61101161113e565b6108348161170e565b6001600160a01b03831661107c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610737565b6001600160a01b0382166110dd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610737565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610af95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610737565b60006111a48484610f10565b9050600019811461120c57818110156111ff5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610737565b61120c848484840361101a565b50505050565b6001600160a01b03831660009081526008602052604090205460ff1615801561125457506001600160a01b03821660009081526008602052604090205460ff16155b6112ab5760405162461bcd60e51b815260206004820152602260248201527f73656e646572206f7220726563697069656e7420697320626c61636b6c697374604482015261195960f21b6064820152608401610737565b6010546001600160a01b03838116610100909204161415611308576001600160a01b0383166000908152600a602052604090205460ff161580156112f1575060105460ff165b15611303576113008382611780565b90505b611345565b6001600160a01b03831660009081526009602052604090205460ff161580156113335750600d5460ff165b156113455761134283826119c4565b90505b610ae2838383611a0f565b6001600160a01b0381166113bc5760405162461bcd60e51b815260206004820152602d60248201527f6f70657261746f723a207a65726f206164647265737320676976656e20666f7260448201526c103732bb9037b832b930ba37b960991b6064820152608401610737565b6040516001600160a01b038216906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03821661146a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610737565b806002600082825461147c9190612000565b90915550506001600160a01b038216600090815260208190526040812080548392906114a9908490612000565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166115535760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610737565b6001600160a01b038216600090815260208190526040902054818110156115c75760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610737565b6001600160a01b03831660009081526020819052604081208383039055600280548492906115f690849061202e565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03811660009081526007602052604090205460ff16610834576001600160a01b038116600081815260076020908152604091829020805460ff1916600117905590519182527f0a8bb31534c0ed46f380cb867bd5c803a189ced9a764e30b3a4991a9901d747491015b60405180910390a150565b6001600160a01b03811660009081526007602052604090205460ff1615610834576001600160a01b038116600081815260076020908152604091829020805460ff1916905590519182527f33d83959be2573f5453b12eb9d43b3499bc57d96bd2f067ba44803c859e811139101611703565b600e546000908180611790610d4b565b9050600e6000815481106117a6576117a6612018565b90600052602060002001548110156117de57600f6000815481106117cc576117cc612018565b9060005260206000200154915061197b565b600e6117eb60018561202e565b815481106117fb576117fb612018565b9060005260206000200154811061182957600f61181960018561202e565b815481106117cc576117cc612018565b60015b8381101561197957600e818154811061184757611847612018565b906000526020600020015482101561196757600e61186660018361202e565b8154811061187657611876612018565b9060005260206000200154600e828154811061189457611894612018565b90600052602060002001546118a9919061202e565b82600e83815481106118bd576118bd612018565b90600052602060002001546118d2919061202e565b600f83815481106118e5576118e5612018565b9060005260206000200154600f6001856118ff919061202e565b8154811061190f5761190f612018565b9060005260206000200154611924919061202e565b61192e9190612089565b61193891906120a8565b600f828154811061194b5761194b612018565b90600052602060002001546119609190612000565b9250611979565b8061197181612045565b91505061182c565b505b600061271061198a8488612089565b61199491906120a8565b600b549091506119af9088906001600160a01b031683611a0f565b6119b9818761202e565b979650505050505050565b600080612710600c54846119d89190612089565b6119e291906120a8565b600b549091506119fd9085906001600160a01b031683611a0f565b611a07818461202e565b949350505050565b6001600160a01b038316611a735760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610737565b6001600160a01b038216611ad55760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610737565b6001600160a01b03831660009081526020819052604090205481811015611b4d5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610737565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611b84908490612000565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611bd091815260200190565b60405180910390a361120c565b828054828255906000526020600020908101928215611c18579160200282015b82811115611c18578251825591602001919060010190611bfd565b50611c24929150611c28565b5090565b5b80821115611c245760008155600101611c29565b600060208083528351808285015260005b81811015611c6a57858101830151858201604001528201611c4e565b81811115611c7c576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114611ca957600080fd5b919050565b60008060408385031215611cc157600080fd5b611cca83611c92565b946020939093013593505050565b600060208284031215611cea57600080fd5b81358015158114611cfa57600080fd5b9392505050565b600060208284031215611d1357600080fd5b5035919050565b600080600060608486031215611d2f57600080fd5b611d3884611c92565b9250611d4660208501611c92565b9150604084013590509250925092565b600060208284031215611d6857600080fd5b611cfa82611c92565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611db057611db0611d71565b604052919050565b600067ffffffffffffffff821115611dd257611dd2611d71565b5060051b60200190565b600082601f830112611ded57600080fd5b81356020611e02611dfd83611db8565b611d87565b82815260059290921b84018101918181019086841115611e2157600080fd5b8286015b84811015611e3c5780358352918301918301611e25565b509695505050505050565b60008060408385031215611e5a57600080fd5b823567ffffffffffffffff80821115611e7257600080fd5b611e7e86838701611ddc565b93506020850135915080821115611e9457600080fd5b50611ea185828601611ddc565b9150509250929050565b60006020808385031215611ebe57600080fd5b823567ffffffffffffffff811115611ed557600080fd5b8301601f81018513611ee657600080fd5b8035611ef4611dfd82611db8565b81815260059190911b82018301908381019087831115611f1357600080fd5b928401925b828410156119b957611f2984611c92565b82529284019290840190611f18565b60008060408385031215611f4b57600080fd5b611f5483611c92565b9150611f6260208401611c92565b90509250929050565b600181811c90821680611f7f57607f821691505b60208210811415611fa057634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526024908201527f426c61636b6c69737461626c653a2063616c6c657220697320626c61636b6c696040820152631cdd195960e21b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561201357612013611fea565b500190565b634e487b7160e01b600052603260045260246000fd5b60008282101561204057612040611fea565b500390565b600060001982141561205957612059611fea565b5060010190565b60006020828403121561207257600080fd5b81516001600160901b0381168114611cfa57600080fd5b60008160001904831182151516156120a3576120a3611fea565b500290565b6000826120c557634e487b7160e01b600052601260045260246000fd5b50049056fea2646970667358221220d58025757979b580119bced50720d8ba932a77fb969f8a3a8f142710e9642a2d64736f6c63430008090033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102955760003560e01c806378e3079e1161016757806398d5fdca116100ce578063dd62ed3e11610087578063dd62ed3e146105e7578063e95a1c54146105fa578063eff9944c1461060d578063f2fde38b14610620578063f6a74ed714610633578063fe575a871461064657600080fd5b806398d5fdca1461057b578063a457c2d714610583578063a7fc7a0714610596578063a8aa1b31146105a9578063a9059cbb146105c1578063b58d3815146105d457600080fd5b80638b525903116101205780638b5259031461051c5780638da5cb5b1461052f5780638fde996514610540578063935eb35f1461055357806395d89b411461056657806396f9e9be1461056e57600080fd5b806378e3079e146104ba57806379cc6790146104cd5780637baa96e2146104e05780638124f7ac146104ed5780638187f516146104f657806389daf7991461050957600080fd5b806340c10f191161020b57806356e54387116101c457806356e5438714610426578063570ca7351461043957806370a082311461044a578063715018a6146104735780637332cb561461047b578063737ea06e146104a757600080fd5b806340c10f191461039b57806342966c68146103ae5780634456eda2146103c1578063502470b0146103d457806352e099e314610400578063530e784f1461041357600080fd5b806323b872dd1161025d57806323b872dd146103155780632630c12f1461032857806329605e7714610353578063313ce5671461036657806332fa2df414610375578063395093511461038857600080fd5b806306fdde031461029a578063095ea7b3146102b857806315d2cfac146102db57806318160ddd146102f05780631e66904714610302575b600080fd5b6102a2610672565b6040516102af9190611c3d565b60405180910390f35b6102cb6102c6366004611cae565b610704565b60405190151581526020016102af565b6102ee6102e9366004611cd8565b610757565b005b6002545b6040519081526020016102af565b6102f4610310366004611d01565b610772565b6102cb610323366004611d1a565b610793565b60115461033b906001600160a01b031681565b6040516001600160a01b0390911681526020016102af565b6102ee610361366004611d56565b610823565b604051601281526020016102af565b6102ee610383366004611cd8565b610837565b6102cb610396366004611cae565b610852565b6102cb6103a9366004611cae565b61087e565b6102ee6103bc366004611d01565b6108f8565b6006546001600160a01b031633146102cb565b6102cb6103e2366004611d56565b6001600160a01b03166000908152600a602052604090205460ff1690565b6102f461040e366004611d01565b610902565b6102ee610421366004611d56565b610912565b6102ee610434366004611e47565b61094f565b6006546001600160a01b031661033b565b6102f4610458366004611d56565b6001600160a01b031660009081526020819052604090205490565b6102ee610ae7565b6102cb610489366004611d56565b6001600160a01b031660009081526009602052604090205460ff1690565b600b5461033b906001600160a01b031681565b6102ee6104c8366004611d56565b610afb565b6102ee6104db366004611cae565b610b73565b6010546102cb9060ff1681565b6102f4600c5481565b6102ee610504366004611d56565b610be5565b6102ee610517366004611eab565b610c15565b6102ee61052a366004611d01565b610c86565b6005546001600160a01b031661033b565b6102ee61054e366004611d56565b610ca2565b6102ee610561366004611eab565b610ccb565b6102a2610d3c565b600d546102cb9060ff1681565b6102f4610d4b565b6102cb610591366004611cae565b610e4d565b6102ee6105a4366004611d56565b610ec8565b60105461033b9061010090046001600160a01b031681565b6102cb6105cf366004611cae565b610ed9565b6102ee6105e2366004611d56565b610ee7565b6102f46105f5366004611f38565b610f10565b6102ee610608366004611d56565b610f3b565b6102ee61061b366004611d56565b610f67565b6102ee61062e366004611d56565b610f93565b6102ee610641366004611d56565b611009565b6102cb610654366004611d56565b6001600160a01b031660009081526008602052604090205460ff1690565b60606003805461068190611f6b565b80601f01602080910402602001604051908101604052809291908181526020018280546106ad90611f6b565b80156106fa5780601f106106cf576101008083540402835291602001916106fa565b820191906000526020600020905b8154815290600101906020018083116106dd57829003601f168201915b5050505050905090565b3360008181526008602052604081205490919060ff16156107405760405162461bcd60e51b815260040161073790611fa6565b60405180910390fd5b3361074c81868661101a565b506001949350505050565b61075f61113e565b6010805460ff1916911515919091179055565b600f818154811061078257600080fd5b600091825260209091200154905081565b3360008181526008602052604081205490919060ff16156107c65760405162461bcd60e51b815260040161073790611fa6565b60065433906001600160a01b031681141580156107fc57506001600160a01b03811660009081526007602052604090205460ff16155b1561080c5761080c868286611198565b610817868686611212565b50600195945050505050565b61082b61113e565b61083481611350565b50565b61083f61113e565b600d805460ff1916911515919091179055565b6000336108748185856108658383610f10565b61086f9190612000565b61101a565b5060019392505050565b6006546000906001600160a01b03163314806108a957503360009081526007602052604090205460ff165b6108e55760405162461bcd60e51b815260206004820152600d60248201526c3737903832b936b4b9b9b4b7b760991b6044820152606401610737565b6108ef8383611414565b50600192915050565b61083433826114f3565b600e818154811061078257600080fd5b61091a61113e565b6001600160a01b03811661092d57600080fd5b601180546001600160a01b0319166001600160a01b0392909216919091179055565b61095761113e565b805182511461099f5760405162461bcd60e51b81526020600482015260146024820152730e8d2cae440d8cadccee8d040dad2e6dac2e8c6d60631b6044820152606401610737565b60005b8251811015610aba576127108282815181106109c0576109c0612018565b602002602001015110610a155760405162461bcd60e51b815260206004820152601c60248201527f73657453656c6c5461783a20746178206f7574206f662072616e6765000000006044820152606401610737565b8015610aa857828181518110610a2d57610a2d612018565b602002602001015183600183610a43919061202e565b81518110610a5357610a53612018565b602002602001015110610aa85760405162461bcd60e51b815260206004820152601960248201527f73657453656c6c5461783a20696e76616c6964206f72646572000000000000006044820152606401610737565b80610ab281612045565b9150506109a2565b508151610ace90600e906020850190611bdd565b508051610ae290600f906020840190611bdd565b505050565b610aef61113e565b610af96000611641565b565b610b0361113e565b6001600160a01b038116610b515760405162461bcd60e51b81526020600482015260156024820152741e995c9bc81859191c995cdcc81c1c9bdd9a591959605a1b6044820152606401610737565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b0316331480610b9b57503360009081526007602052604090205460ff165b610bd75760405162461bcd60e51b815260206004820152600d60248201526c3737903832b936b4b9b9b4b7b760991b6044820152606401610737565b610be182826114f3565b5050565b610bed61113e565b601080546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b610c1d61113e565b805160005b81811015610ae257600060086000858481518110610c4257610c42612018565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610c7e81612045565b915050610c22565b610c8e61113e565b612710811115610c9d57600080fd5b600c55565b610caa61113e565b6001600160a01b03166000908152600960205260409020805460ff19169055565b610cd361113e565b805160005b81811015610ae257600160086000858481518110610cf857610cf8612018565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610d3481612045565b915050610cd8565b60606004805461068190611f6b565b601154604051633ddac95360e01b8152306004820152670de0b6b3a764000060248201526000916001600160a01b031690633ddac9539060440160206040518083038186803b158015610d9d57600080fd5b505afa925050508015610dcd575060408051601f3d908101601f19168201909252610dca91810190612060565b60015b610e3f5760405162461bcd60e51b815260206004820152603a60248201527f53696c766572204d696e743a206661696c656420746f20636f6e73756c74207460448201527f6f6b656e2070726963652066726f6d20746865206f7261636c650000000000006064820152608401610737565b6001600160901b0316919050565b60003381610e5b8286610f10565b905083811015610ebb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610737565b61074c828686840361101a565b610ed061113e565b61083481611693565b600033610874818585611212565b610eef61113e565b6001600160a01b03166000908152600a60205260409020805460ff19169055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610f4361113e565b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b610f6f61113e565b6001600160a01b03166000908152600a60205260409020805460ff19166001179055565b610f9b61113e565b6001600160a01b0381166110005760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610737565b61083481611641565b61101161113e565b6108348161170e565b6001600160a01b03831661107c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610737565b6001600160a01b0382166110dd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610737565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610af95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610737565b60006111a48484610f10565b9050600019811461120c57818110156111ff5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610737565b61120c848484840361101a565b50505050565b6001600160a01b03831660009081526008602052604090205460ff1615801561125457506001600160a01b03821660009081526008602052604090205460ff16155b6112ab5760405162461bcd60e51b815260206004820152602260248201527f73656e646572206f7220726563697069656e7420697320626c61636b6c697374604482015261195960f21b6064820152608401610737565b6010546001600160a01b03838116610100909204161415611308576001600160a01b0383166000908152600a602052604090205460ff161580156112f1575060105460ff165b15611303576113008382611780565b90505b611345565b6001600160a01b03831660009081526009602052604090205460ff161580156113335750600d5460ff165b156113455761134283826119c4565b90505b610ae2838383611a0f565b6001600160a01b0381166113bc5760405162461bcd60e51b815260206004820152602d60248201527f6f70657261746f723a207a65726f206164647265737320676976656e20666f7260448201526c103732bb9037b832b930ba37b960991b6064820152608401610737565b6040516001600160a01b038216906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03821661146a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610737565b806002600082825461147c9190612000565b90915550506001600160a01b038216600090815260208190526040812080548392906114a9908490612000565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166115535760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610737565b6001600160a01b038216600090815260208190526040902054818110156115c75760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610737565b6001600160a01b03831660009081526020819052604081208383039055600280548492906115f690849061202e565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03811660009081526007602052604090205460ff16610834576001600160a01b038116600081815260076020908152604091829020805460ff1916600117905590519182527f0a8bb31534c0ed46f380cb867bd5c803a189ced9a764e30b3a4991a9901d747491015b60405180910390a150565b6001600160a01b03811660009081526007602052604090205460ff1615610834576001600160a01b038116600081815260076020908152604091829020805460ff1916905590519182527f33d83959be2573f5453b12eb9d43b3499bc57d96bd2f067ba44803c859e811139101611703565b600e546000908180611790610d4b565b9050600e6000815481106117a6576117a6612018565b90600052602060002001548110156117de57600f6000815481106117cc576117cc612018565b9060005260206000200154915061197b565b600e6117eb60018561202e565b815481106117fb576117fb612018565b9060005260206000200154811061182957600f61181960018561202e565b815481106117cc576117cc612018565b60015b8381101561197957600e818154811061184757611847612018565b906000526020600020015482101561196757600e61186660018361202e565b8154811061187657611876612018565b9060005260206000200154600e828154811061189457611894612018565b90600052602060002001546118a9919061202e565b82600e83815481106118bd576118bd612018565b90600052602060002001546118d2919061202e565b600f83815481106118e5576118e5612018565b9060005260206000200154600f6001856118ff919061202e565b8154811061190f5761190f612018565b9060005260206000200154611924919061202e565b61192e9190612089565b61193891906120a8565b600f828154811061194b5761194b612018565b90600052602060002001546119609190612000565b9250611979565b8061197181612045565b91505061182c565b505b600061271061198a8488612089565b61199491906120a8565b600b549091506119af9088906001600160a01b031683611a0f565b6119b9818761202e565b979650505050505050565b600080612710600c54846119d89190612089565b6119e291906120a8565b600b549091506119fd9085906001600160a01b031683611a0f565b611a07818461202e565b949350505050565b6001600160a01b038316611a735760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610737565b6001600160a01b038216611ad55760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610737565b6001600160a01b03831660009081526020819052604090205481811015611b4d5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610737565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611b84908490612000565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611bd091815260200190565b60405180910390a361120c565b828054828255906000526020600020908101928215611c18579160200282015b82811115611c18578251825591602001919060010190611bfd565b50611c24929150611c28565b5090565b5b80821115611c245760008155600101611c29565b600060208083528351808285015260005b81811015611c6a57858101830151858201604001528201611c4e565b81811115611c7c576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114611ca957600080fd5b919050565b60008060408385031215611cc157600080fd5b611cca83611c92565b946020939093013593505050565b600060208284031215611cea57600080fd5b81358015158114611cfa57600080fd5b9392505050565b600060208284031215611d1357600080fd5b5035919050565b600080600060608486031215611d2f57600080fd5b611d3884611c92565b9250611d4660208501611c92565b9150604084013590509250925092565b600060208284031215611d6857600080fd5b611cfa82611c92565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611db057611db0611d71565b604052919050565b600067ffffffffffffffff821115611dd257611dd2611d71565b5060051b60200190565b600082601f830112611ded57600080fd5b81356020611e02611dfd83611db8565b611d87565b82815260059290921b84018101918181019086841115611e2157600080fd5b8286015b84811015611e3c5780358352918301918301611e25565b509695505050505050565b60008060408385031215611e5a57600080fd5b823567ffffffffffffffff80821115611e7257600080fd5b611e7e86838701611ddc565b93506020850135915080821115611e9457600080fd5b50611ea185828601611ddc565b9150509250929050565b60006020808385031215611ebe57600080fd5b823567ffffffffffffffff811115611ed557600080fd5b8301601f81018513611ee657600080fd5b8035611ef4611dfd82611db8565b81815260059190911b82018301908381019087831115611f1357600080fd5b928401925b828410156119b957611f2984611c92565b82529284019290840190611f18565b60008060408385031215611f4b57600080fd5b611f5483611c92565b9150611f6260208401611c92565b90509250929050565b600181811c90821680611f7f57607f821691505b60208210811415611fa057634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526024908201527f426c61636b6c69737461626c653a2063616c6c657220697320626c61636b6c696040820152631cdd195960e21b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561201357612013611fea565b500190565b634e487b7160e01b600052603260045260246000fd5b60008282101561204057612040611fea565b500390565b600060001982141561205957612059611fea565b5060010190565b60006020828403121561207257600080fd5b81516001600160901b0381168114611cfa57600080fd5b60008160001904831182151516156120a3576120a3611fea565b500290565b6000826120c557634e487b7160e01b600052601260045260246000fd5b50049056fea2646970667358221220d58025757979b580119bced50720d8ba932a77fb969f8a3a8f142710e9642a2d64736f6c63430008090033
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.