ERC-20
Overview
Max Total Supply
0.07559515 sbBTC
Holders
25
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 8 Decimals)
Balance
0.00001254 sbBTCValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
LPToken
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: AGPL-3.0 pragma solidity ^0.8.0; import "./BurnableToken.sol"; contract LPToken is BurnableToken { address public old; constructor(uint8 _decimals) { _initialize("Swingby BTC LP Token", "sbBTC", _decimals, 0, true); } function setOld(address _old) public onlyOwner { old = _old; } /// @dev convertTo allows to convert new LPT when user burnd this tokens at the same time. /// note: new LPT has to allow minting permission from this contract. function convertTo(LPToken target, uint256 amount) public { require(address(target) != address(this), "target != this contract"); _burn(_msgSender(), amount); target.mintFrom(_msgSender(), amount); } function mintFrom(address target, uint256 amount) public returns (bool) { require(old != address(this), "target != this contract"); require(msg.sender == old, "caller is not old"); _mint(target, amount); return true; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @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); } }
// SPDX-License-Identifier: MIT // 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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: AGPL-3.0 pragma solidity ^0.8.0; import "./interfaces/IBurnableToken.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; contract BurnableToken is Context, Ownable, IBurnableToken { using SafeMath for uint256; mapping(address => uint256) private balances; mapping(address => mapping(address => uint256)) private allowances; uint256 private tokenTotalSupply; string private tokenName; string private tokenSymbol; uint8 private tokenDecimals; bool private isMintable; /** * @dev sets initials supply and the owner */ function _initialize( string memory _name, string memory _symbol, uint8 _decimals, uint256 _amount, bool _mintable ) internal { tokenName = _name; tokenSymbol = _symbol; tokenDecimals = _decimals; isMintable = _mintable; _mint(owner(), _amount); } /** * @dev Returns if the token is mintable or not */ function mintable() public override view returns (bool) { return isMintable; } /** * @dev Returns the token decimals. */ function decimals() public override view returns (uint8) { return tokenDecimals; } /** * @dev Returns the token symbol. */ function symbol() public override view returns (string memory) { return tokenSymbol; } /** * @dev Returns the token name. */ function name() public override view returns (string memory) { return tokenName; } /** * @dev Returns the bep token owner. (This is a BEP-20 token specific.) */ function getOwner() public override view returns (address) { return owner(); } /** * @dev See {ERC20-totalSupply}. */ function totalSupply() public override view returns (uint256) { return tokenTotalSupply; } /** * @dev See {ERC20-balanceOf}. */ function balanceOf(address account) public override view returns (uint256) { return balances[account]; } /** * @dev See {ERC20-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 override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {ERC20-allowance}. */ function allowance(address owner, address spender) public override view returns (uint256) { return allowances[owner][spender]; } /** * @dev See {ERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {ERC20-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 override returns (bool) { _transfer(sender, recipient, amount); _approve( sender, _msgSender(), allowances[sender][_msgSender()].sub( amount, "ERC20: transfer amount exceeds allowance" ) ); 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 {ERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { _approve( _msgSender(), spender, allowances[_msgSender()][spender].add(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 {ERC20-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 returns (bool) { _approve( _msgSender(), spender, allowances[_msgSender()][spender].sub( subtractedValue, "ERC20: decreased allowance below zero" ) ); return true; } /** * @dev Creates `amount` tokens and assigns them to `msg.sender`, increasing * the total supply. * * Requirements * * - `msg.sender` must be the token owner * - `_mintable` must be true */ function mint(address target, uint256 amount) public override onlyOwner returns (bool) { require(isMintable, "This token is not mintable"); _mint(target, amount); return true; } /** * @dev Burn `amount` tokens and decreasing the total supply. */ function burn(uint256 amount) public override returns (bool) { _burn(_msgSender(), amount); 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 { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); balances[sender] = balances[sender].sub( amount, "ERC20: transfer amount exceeds balance" ); balances[recipient] = balances[recipient].add(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 { require(account != address(0), "ERC20: mint to the zero address"); tokenTotalSupply = tokenTotalSupply.add(amount); balances[account] = balances[account].add(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 { require(account != address(0), "ERC20: burn from the zero address"); balances[account] = balances[account].sub( amount, "ERC20: burn amount exceeds balance" ); tokenTotalSupply = tokenTotalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is 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 { 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 Destroys `amount` tokens from `account`.`amount` is then deducted * from the caller's allowance. * * See {_burn} and {_approve}. */ function _burnFrom(address account, uint256 amount) internal { _burn(account, amount); _approve( account, _msgSender(), allowances[account][_msgSender()].sub( amount, "ERC20: burn amount exceeds allowance" ) ); } }
// SPDX-License-Identifier: AGPL-3.0 pragma solidity ^0.8.0; import "./IERC20.sol"; interface IBurnableToken is IERC20 { function mint(address target, uint256 amount) external returns (bool); function burn(uint256 amount) external returns (bool); function mintable() external returns (bool); }
// SPDX-License-Identifier: AGPL-3.0 pragma solidity ^0.8.0; interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the token decimals. */ function decimals() external view returns (uint8); /** * @dev Returns the token symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the token name. */ function name() external view returns (string memory); /** * @dev Returns the bep token owner. (This is a BEP-20 token specific.) */ function getOwner() external view returns (address); /** * @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 ); }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint8","name":"_decimals","type":"uint8"}],"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":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":"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":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract LPToken","name":"target","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"convertTo","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":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"target","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"old","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_old","type":"address"}],"name":"setOld","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200155f3803806200155f833981016040819052620000349162000263565b6200003f33620000af565b620000a86040518060400160405280601481526020017f5377696e67627920425443204c5020546f6b656e00000000000000000000000081525060405180604001604052806005815260200164736242544360d81b8152508360006001620000ff60201b60201c565b5062000422565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60046200010d868262000334565b5060056200011c858262000334565b50600680548215156101000261ffff1990911660ff861617179055620001556200014e6000546001600160a01b031690565b836200015c565b5050505050565b6001600160a01b038216620001b75760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b600354620001c690826200024c565b6003556001600160a01b038216600090815260016020526040902054620001ee90826200024c565b6001600160a01b0383166000818152600160205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90620002409085815260200190565b60405180910390a35050565b60006200025a828462000400565b90505b92915050565b6000602082840312156200027657600080fd5b815160ff811681146200028857600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620002ba57607f821691505b602082108103620002db57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200032f57600081815260208120601f850160051c810160208610156200030a5750805b601f850160051c820191505b818110156200032b5782815560010162000316565b5050505b505050565b81516001600160401b038111156200035057620003506200028f565b6200036881620003618454620002a5565b84620002e1565b602080601f831160018114620003a05760008415620003875750858301515b600019600386901b1c1916600185901b1785556200032b565b600085815260208120601f198616915b82811015620003d157888601518255948401946001909101908401620003b0565b5085821015620003f05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200025d57634e487b7160e01b600052601160045260246000fd5b61112d80620004326000396000f3fe608060405234801561001057600080fd5b50600436106101825760003560e01c806370a08231116100d85780639bfa51811161008c578063b83f866311610066578063b83f86631461031b578063dd62ed3e14610334578063f2fde38b1461036d57600080fd5b80639bfa5181146102e2578063a457c2d7146102f5578063a9059cbb1461030857600080fd5b8063893d20e8116100bd578063893d20e8146102a45780638da5cb5b146102c957806395d89b41146102da57600080fd5b806370a0823114610273578063715018a61461029c57600080fd5b8063242d81f01161013a57806340c10f191161011457806340c10f191461023d57806342966c68146102505780634bf365df1461026357600080fd5b8063242d81f014610200578063313ce56714610215578063395093511461022a57600080fd5b806318160ddd1161016b57806318160ddd146101c85780631cc74859146101da57806323b872dd146101ed57600080fd5b806306fdde0314610187578063095ea7b3146101a5575b600080fd5b61018f610380565b60405161019c9190610e8b565b60405180910390f35b6101b86101b3366004610eee565b610412565b604051901515815260200161019c565b6003545b60405190815260200161019c565b6101b86101e8366004610eee565b610429565b6101b86101fb366004610f1a565b6104fc565b61021361020e366004610f5b565b610565565b005b60065460405160ff909116815260200161019c565b6101b8610238366004610eee565b6105ad565b6101b861024b366004610eee565b6105e3565b6101b861025e366004610f78565b610644565b600654610100900460ff166101b8565b6101cc610281366004610f5b565b6001600160a01b031660009081526001602052604090205490565b610213610658565b6000546001600160a01b03165b6040516001600160a01b03909116815260200161019c565b6000546001600160a01b03166102b1565b61018f61066c565b6102136102f0366004610eee565b61067b565b6101b8610303366004610eee565b61077b565b6101b8610316366004610eee565b6107ca565b6006546102b1906201000090046001600160a01b031681565b6101cc610342366004610f91565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b61021361037b366004610f5b565b6107d7565b60606004805461038f90610fca565b80601f01602080910402602001604051908101604052809291908181526020018280546103bb90610fca565b80156104085780601f106103dd57610100808354040283529160200191610408565b820191906000526020600020905b8154815290600101906020018083116103eb57829003601f168201915b5050505050905090565b600061041f338484610867565b5060015b92915050565b60065460009030620100009091046001600160a01b0316036104925760405162461bcd60e51b815260206004820152601760248201527f74617267657420213d207468697320636f6e747261637400000000000000000060448201526064015b60405180910390fd5b6006546201000090046001600160a01b031633146104f25760405162461bcd60e51b815260206004820152601160248201527f63616c6c6572206973206e6f74206f6c640000000000000000000000000000006044820152606401610489565b61041f83836109c0565b6000610509848484610aa6565b61055b8433610556856040518060600160405280602881526020016110ab602891396001600160a01b038a1660009081526002602090815260408083203384529091529020549190610c5e565b610867565b5060019392505050565b61056d610c8a565b600680546001600160a01b0390921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b3360008181526002602090815260408083206001600160a01b0387168452909152812054909161041f9185906105569086610ce4565b60006105ed610c8a565b600654610100900460ff166104f25760405162461bcd60e51b815260206004820152601a60248201527f5468697320746f6b656e206973206e6f74206d696e7461626c650000000000006044820152606401610489565b60006106503383610cf7565b506001919050565b610660610c8a565b61066a6000610e17565b565b60606005805461038f90610fca565b306001600160a01b038316036106d35760405162461bcd60e51b815260206004820152601760248201527f74617267657420213d207468697320636f6e74726163740000000000000000006044820152606401610489565b6106dd3382610cf7565b6001600160a01b038216631cc74859336040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015610752573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107769190611004565b505050565b600061041f3384610556856040518060600160405280602581526020016110d3602591393360009081526002602090815260408083206001600160a01b038d1684529091529020549190610c5e565b600061041f338484610aa6565b6107df610c8a565b6001600160a01b03811661085b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610489565b61086481610e17565b50565b6001600160a01b0383166108e25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610489565b6001600160a01b03821661095e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610489565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038216610a165760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610489565b600354610a239082610ce4565b6003556001600160a01b038216600090815260016020526040902054610a499082610ce4565b6001600160a01b0383166000818152600160205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610a9a9085815260200190565b60405180910390a35050565b6001600160a01b038316610b225760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610489565b6001600160a01b038216610b9e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610489565b610bdb81604051806060016040528060268152602001611085602691396001600160a01b0386166000908152600160205260409020549190610c5e565b6001600160a01b038085166000908152600160205260408082209390935590841681522054610c0a9082610ce4565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906109b39085815260200190565b60008184841115610c825760405162461bcd60e51b81526004016104899190610e8b565b505050900390565b6000546001600160a01b0316331461066a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610489565b6000610cf0828461103c565b9392505050565b6001600160a01b038216610d735760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610489565b610db081604051806060016040528060228152602001611063602291396001600160a01b0385166000908152600160205260409020549190610c5e565b6001600160a01b038316600090815260016020526040902055600354610dd69082610e7f565b6003556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610a9a565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610cf0828461104f565b600060208083528351808285015260005b81811015610eb857858101830151858201604001528201610e9c565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461086457600080fd5b60008060408385031215610f0157600080fd5b8235610f0c81610ed9565b946020939093013593505050565b600080600060608486031215610f2f57600080fd5b8335610f3a81610ed9565b92506020840135610f4a81610ed9565b929592945050506040919091013590565b600060208284031215610f6d57600080fd5b8135610cf081610ed9565b600060208284031215610f8a57600080fd5b5035919050565b60008060408385031215610fa457600080fd5b8235610faf81610ed9565b91506020830135610fbf81610ed9565b809150509250929050565b600181811c90821680610fde57607f821691505b602082108103610ffe57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561101657600080fd5b81518015158114610cf057600080fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561042357610423611026565b818103818111156104235761042361102656fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220590808f806e25509a64a574fcd5c68e993b76fb98617be109c2a4fd0e3a4184f64736f6c634300081300330000000000000000000000000000000000000000000000000000000000000008
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101825760003560e01c806370a08231116100d85780639bfa51811161008c578063b83f866311610066578063b83f86631461031b578063dd62ed3e14610334578063f2fde38b1461036d57600080fd5b80639bfa5181146102e2578063a457c2d7146102f5578063a9059cbb1461030857600080fd5b8063893d20e8116100bd578063893d20e8146102a45780638da5cb5b146102c957806395d89b41146102da57600080fd5b806370a0823114610273578063715018a61461029c57600080fd5b8063242d81f01161013a57806340c10f191161011457806340c10f191461023d57806342966c68146102505780634bf365df1461026357600080fd5b8063242d81f014610200578063313ce56714610215578063395093511461022a57600080fd5b806318160ddd1161016b57806318160ddd146101c85780631cc74859146101da57806323b872dd146101ed57600080fd5b806306fdde0314610187578063095ea7b3146101a5575b600080fd5b61018f610380565b60405161019c9190610e8b565b60405180910390f35b6101b86101b3366004610eee565b610412565b604051901515815260200161019c565b6003545b60405190815260200161019c565b6101b86101e8366004610eee565b610429565b6101b86101fb366004610f1a565b6104fc565b61021361020e366004610f5b565b610565565b005b60065460405160ff909116815260200161019c565b6101b8610238366004610eee565b6105ad565b6101b861024b366004610eee565b6105e3565b6101b861025e366004610f78565b610644565b600654610100900460ff166101b8565b6101cc610281366004610f5b565b6001600160a01b031660009081526001602052604090205490565b610213610658565b6000546001600160a01b03165b6040516001600160a01b03909116815260200161019c565b6000546001600160a01b03166102b1565b61018f61066c565b6102136102f0366004610eee565b61067b565b6101b8610303366004610eee565b61077b565b6101b8610316366004610eee565b6107ca565b6006546102b1906201000090046001600160a01b031681565b6101cc610342366004610f91565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b61021361037b366004610f5b565b6107d7565b60606004805461038f90610fca565b80601f01602080910402602001604051908101604052809291908181526020018280546103bb90610fca565b80156104085780601f106103dd57610100808354040283529160200191610408565b820191906000526020600020905b8154815290600101906020018083116103eb57829003601f168201915b5050505050905090565b600061041f338484610867565b5060015b92915050565b60065460009030620100009091046001600160a01b0316036104925760405162461bcd60e51b815260206004820152601760248201527f74617267657420213d207468697320636f6e747261637400000000000000000060448201526064015b60405180910390fd5b6006546201000090046001600160a01b031633146104f25760405162461bcd60e51b815260206004820152601160248201527f63616c6c6572206973206e6f74206f6c640000000000000000000000000000006044820152606401610489565b61041f83836109c0565b6000610509848484610aa6565b61055b8433610556856040518060600160405280602881526020016110ab602891396001600160a01b038a1660009081526002602090815260408083203384529091529020549190610c5e565b610867565b5060019392505050565b61056d610c8a565b600680546001600160a01b0390921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b3360008181526002602090815260408083206001600160a01b0387168452909152812054909161041f9185906105569086610ce4565b60006105ed610c8a565b600654610100900460ff166104f25760405162461bcd60e51b815260206004820152601a60248201527f5468697320746f6b656e206973206e6f74206d696e7461626c650000000000006044820152606401610489565b60006106503383610cf7565b506001919050565b610660610c8a565b61066a6000610e17565b565b60606005805461038f90610fca565b306001600160a01b038316036106d35760405162461bcd60e51b815260206004820152601760248201527f74617267657420213d207468697320636f6e74726163740000000000000000006044820152606401610489565b6106dd3382610cf7565b6001600160a01b038216631cc74859336040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015610752573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107769190611004565b505050565b600061041f3384610556856040518060600160405280602581526020016110d3602591393360009081526002602090815260408083206001600160a01b038d1684529091529020549190610c5e565b600061041f338484610aa6565b6107df610c8a565b6001600160a01b03811661085b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610489565b61086481610e17565b50565b6001600160a01b0383166108e25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610489565b6001600160a01b03821661095e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610489565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038216610a165760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610489565b600354610a239082610ce4565b6003556001600160a01b038216600090815260016020526040902054610a499082610ce4565b6001600160a01b0383166000818152600160205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610a9a9085815260200190565b60405180910390a35050565b6001600160a01b038316610b225760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610489565b6001600160a01b038216610b9e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610489565b610bdb81604051806060016040528060268152602001611085602691396001600160a01b0386166000908152600160205260409020549190610c5e565b6001600160a01b038085166000908152600160205260408082209390935590841681522054610c0a9082610ce4565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906109b39085815260200190565b60008184841115610c825760405162461bcd60e51b81526004016104899190610e8b565b505050900390565b6000546001600160a01b0316331461066a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610489565b6000610cf0828461103c565b9392505050565b6001600160a01b038216610d735760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610489565b610db081604051806060016040528060228152602001611063602291396001600160a01b0385166000908152600160205260409020549190610c5e565b6001600160a01b038316600090815260016020526040902055600354610dd69082610e7f565b6003556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610a9a565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610cf0828461104f565b600060208083528351808285015260005b81811015610eb857858101830151858201604001528201610e9c565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461086457600080fd5b60008060408385031215610f0157600080fd5b8235610f0c81610ed9565b946020939093013593505050565b600080600060608486031215610f2f57600080fd5b8335610f3a81610ed9565b92506020840135610f4a81610ed9565b929592945050506040919091013590565b600060208284031215610f6d57600080fd5b8135610cf081610ed9565b600060208284031215610f8a57600080fd5b5035919050565b60008060408385031215610fa457600080fd5b8235610faf81610ed9565b91506020830135610fbf81610ed9565b809150509250929050565b600181811c90821680610fde57607f821691505b602082108103610ffe57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561101657600080fd5b81518015158114610cf057600080fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561042357610423611026565b818103818111156104235761042361102656fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220590808f806e25509a64a574fcd5c68e993b76fb98617be109c2a4fd0e3a4184f64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000008
-----Decoded View---------------
Arg [0] : _decimals (uint8): 8
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000008
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.