Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,000,000,000 KATANA
Holders
143
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000000000016122519 KATANAValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Ronin
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; contract Ronin is ERC20, Ownable { using SafeMath for uint256; using Address for address; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; mapping(address => bool) private _isExcludedFromRyou; uint256 public launchBlock; uint256 public constant MAX_SUPPLY = 1000 * 10**6 * 10**18; uint256 public constant OHAKA_SHARE = MAX_SUPPLY / 2; uint256 public constant LIQUIDITY_SHARE = (MAX_SUPPLY / 1000) * 225; uint256 public maxWallet = MAX_SUPPLY / 100; // 1% (10000000) uint256 public maxTransfer = MAX_SUPPLY / 200; // 0.5% (5000000) uint256 public maxRestrictionBlocks = 7200; uint256 public ohakaRyou = 100; uint256 public ohakaRyouDenominator = 10000; uint256 public ohakaRyouDivider = 3; uint256 public ohakaRyouAmount = 0; address public marketing = 0x0000000000000000000000000000000000004321; address public staking = 0x0000000000000000000000000000000000005432; address public dev = 0x0000000000000000000000000000000000006543; bool public launched = false; bool private inDistribution = false; bool private inLaunch = false; event SetMarketingWallet(address addr, address sender); event SetStakingWallet(address addr, address sender); event SetDevWallet(address addr, address sender); event ExtendMaxRestrictionBlocks(uint256 blocks, address sender); event IncludeInRyou(address addr); event ExcludeFromRyou(address addr); event MarketingSync(); event StakingSync(); event DevSync(); constructor( string memory name_, string memory symbol_, address router_ ) ERC20(name_, symbol_) { // mint tokens and store on contract _mint(address(this), MAX_SUPPLY); // get uniswap router to create a pair IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(router_); // create a uniswap pair for this new token uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); // set the rest of the contract variables uniswapV2Router = _uniswapV2Router; // exclude owner and this contract from any ryou _isExcludedFromRyou[owner()] = true; _isExcludedFromRyou[address(this)] = true; _isExcludedFromRyou[marketing] = true; _isExcludedFromRyou[staking] = true; _isExcludedFromRyou[dev] = true; } receive() external payable {} fallback() external payable {} function launch(address[] memory drops, uint256[] memory amounts) external payable { require(!launched, "Token already launched"); // balances uint256 _balance = address(this).balance; inLaunch = true; airdropBatch(drops, amounts); addLiquidity(LIQUIDITY_SHARE, _balance); // if leftovers move to marketing uint256 _balanceOf = balanceOf(address(this)); if (_balanceOf > OHAKA_SHARE) { _balanceOf = _balanceOf.sub(OHAKA_SHARE); _transfer(address(this), marketing, _balanceOf); } launchBlock = block.number; launched = true; inLaunch = false; } function airdropBatch(address[] memory drops, uint256[] memory amounts) public onlyOwner { require(!launched, "Token already launched"); if ( drops.length > 0 && amounts.length > 0 && drops.length == amounts.length ) { for (uint256 i = 0; i < drops.length; i++) { airdrop(drops[i], amounts[i]); } } } function airdrop(address drop, uint256 amount) public onlyOwner { require(!launched, "Token already launched"); require(drop != address(0), "Token already launched"); require( balanceOf(address(this)) - amount >= LIQUIDITY_SHARE + OHAKA_SHARE, "Token limit for airdrop reached" ); _transfer(address(this), drop, amount); } function _beforeTokenTransfer( address from, address to, uint256 amount ) internal override { if (inLaunch) return; if (_msgSender() != owner()) { require(launched, "not launched yet"); } // --- restrictions --- if (hasRestrictions()) { // max amount require(amount <= maxTransfer, "max transfer amount reached"); // max wallet if ( to != owner() && to != address(0) && to != address(this) && to != address(uniswapV2Router) && to != address(uniswapV2Router.factory()) && to != address(uniswapV2Pair) && from != owner() ) { uint256 walletAmount = balanceOf(to); require( walletAmount + amount <= maxWallet, "max wallet size reached" ); } } // --- ryou distribution --- uint256 ryouSupply = balanceOf(address(this)); // if there is any supply left on the contract, we can distribute ryou if (ryouSupply > 0 && !inDistribution) { inDistribution = true; // collect ryou from buy and sells if (to == uniswapV2Pair || from == uniswapV2Pair) { ohakaRyouAmount = ohakaRyouAmount.add( amount.mul(ohakaRyou).div(ohakaRyouDenominator) ); } // if collected ohakaRyouAmount reaches more than available ryou supply if (ohakaRyouAmount > ryouSupply) { ohakaRyouAmount = ryouSupply; } if ( ohakaRyouAmount > 0 && !_isExcludedFromRyou[from] && !_isExcludedFromRyou[to] && from != uniswapV2Pair // NOT on buys ) { uint256 ryouAmount = ohakaRyouAmount; ohakaRyouAmount = 0; // collect all eth on token contract swapTokensForEth(ryouAmount, address(this)); uint256 distAmount = address(this).balance; uint256 ryouLeftovers = distAmount.mod(ohakaRyouDivider); uint256 ryouPartial = distAmount.sub(ryouLeftovers).div( ohakaRyouDivider ); if (staking.isContract()) { (bool successTransfer, ) = staking.call{ value: ryouPartial, gas: 100000 }(abi.encodeWithSignature("")); if (successTransfer) { (bool successSync, bytes memory data) = staking.call( abi.encodeWithSignature("sync()") ); if ( successSync && (data.length == 0 || abi.decode(data, (bool))) ) { emit StakingSync(); } } } else payable(address(staking)).transfer(ryouPartial); if (marketing.isContract()) { (bool successTransfer, ) = marketing.call{ value: ryouPartial, gas: 100000 }(abi.encodeWithSignature("")); if (successTransfer) { (bool successSync, bytes memory data) = marketing.call( abi.encodeWithSignature("sync()") ); if ( successSync && (data.length == 0 || abi.decode(data, (bool))) ) { emit MarketingSync(); } } } else payable(address(marketing)).transfer(ryouPartial); if (dev.isContract()) { (bool successTransfer, ) = dev.call{ value: ryouPartial, gas: 100000 }(abi.encodeWithSignature("")); if (successTransfer) { (bool successSync, bytes memory data) = dev.call( abi.encodeWithSignature("sync()") ); if ( successSync && (data.length == 0 || abi.decode(data, (bool))) ) { emit DevSync(); } } } else payable(address(dev)).transfer( ryouPartial.add(ryouLeftovers) ); } inDistribution = false; } } function swapTokensForEth(uint256 tokenAmount, address to) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, to, block.timestamp ); } function addLiquidity(uint256 _amount, uint256 _eth) private { _approve(address(this), address(uniswapV2Router), _amount); uniswapV2Router.addLiquidityETH{value: _eth}( address(this), _amount, 0, 0, address(this), block.timestamp ); } function setDev(address addr) external onlyOwner { require(addr != address(0) && addr != dev, "wrong address"); includeInRyou(dev); dev = addr; excludeFromRyou(dev); emit SetDevWallet(addr, _msgSender()); } function setStaking(address addr) external onlyOwner { require(addr != address(0) && addr != staking, "wrong address"); includeInRyou(staking); staking = addr; excludeFromRyou(staking); emit SetStakingWallet(addr, _msgSender()); } function setMarketing(address addr) external onlyOwner { require(addr != address(0) && addr != marketing, "wrong address"); includeInRyou(marketing); marketing = addr; excludeFromRyou(marketing); emit SetMarketingWallet(addr, _msgSender()); } function extendMaxRestrictionBlocks(uint256 blocks) external onlyOwner { require(blocks > 0, "more blocks"); require( launchBlock + maxRestrictionBlocks > block.number, "no more extension possible" ); maxRestrictionBlocks += blocks; emit ExtendMaxRestrictionBlocks(blocks, _msgSender()); } function excludeFromRyou(address addr) public onlyOwner { _isExcludedFromRyou[addr] = true; emit ExcludeFromRyou(addr); } function includeInRyou(address addr) public onlyOwner { _isExcludedFromRyou[addr] = false; emit IncludeInRyou(addr); } function isExcludedFromRyou(address addr) public view returns (bool) { return _isExcludedFromRyou[addr]; } function hasRestrictions() public view returns (bool) { return launchBlock + maxRestrictionBlocks > block.number; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// 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 (last updated v4.7.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @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 {} }
// 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; } } }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
// 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) (token/ERC20/IERC20.sol) 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @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); }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"router_","type":"address"}],"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":[],"name":"DevSync","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"addr","type":"address"}],"name":"ExcludeFromRyou","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"blocks","type":"uint256"},{"indexed":false,"internalType":"address","name":"sender","type":"address"}],"name":"ExtendMaxRestrictionBlocks","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"addr","type":"address"}],"name":"IncludeInRyou","type":"event"},{"anonymous":false,"inputs":[],"name":"MarketingSync","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":false,"internalType":"address","name":"addr","type":"address"},{"indexed":false,"internalType":"address","name":"sender","type":"address"}],"name":"SetDevWallet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"addr","type":"address"},{"indexed":false,"internalType":"address","name":"sender","type":"address"}],"name":"SetMarketingWallet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"addr","type":"address"},{"indexed":false,"internalType":"address","name":"sender","type":"address"}],"name":"SetStakingWallet","type":"event"},{"anonymous":false,"inputs":[],"name":"StakingSync","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"LIQUIDITY_SHARE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OHAKA_SHARE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"drop","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"drops","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airdropBatch","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":[],"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":"dev","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"excludeFromRyou","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"blocks","type":"uint256"}],"name":"extendMaxRestrictionBlocks","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"hasRestrictions","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"includeInRyou","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":"addr","type":"address"}],"name":"isExcludedFromRyou","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"drops","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"launch","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"launchBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launched","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketing","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxRestrictionBlocks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransfer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ohakaRyou","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ohakaRyouAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ohakaRyouDenominator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ohakaRyouDivider","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"addr","type":"address"}],"name":"setDev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"setMarketing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"setStaking","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"staking","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526200001d60646b033b2e3c9fd0803ce8000000620012ba565b600a556200003960c86b033b2e3c9fd0803ce8000000620012ba565b600b55611c20600c556064600d55612710600e556003600f556000601055601180546001600160a01b03199081166143211790915560128054909116615432179055601380546001600160b81b0319166165431790553480156200009c57600080fd5b5060405162003bca38038062003bca833981016040819052620000bf91620013c4565b825183908390620000d8906003906020850190620011e8565b508051620000ee906004906020840190620011e8565b5050506200010b620001056200034360201b60201c565b62000347565b62000123306b033b2e3c9fd0803ce800000062000399565b6000819050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000167573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200018d919062001440565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001db573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000201919062001440565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200024f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000275919062001440565b600780546001600160a01b03199081166001600160a01b039384161790915560068054909116918316919091179055600160086000620002bd6005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff19968716179055308152600890935281832080548516600190811790915560115482168452828420805486168217905560125482168452828420805486168217905560135490911683529120805490921617905550620015d392505050565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620003f55760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b620004036000838362000490565b80600260008282546200041791906200145e565b90915550506001600160a01b03821660009081526020819052604081208054839290620004469084906200145e565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b601354600160b01b900460ff1615620004a857505050565b6005546001600160a01b031633146200050957601354600160a01b900460ff16620005095760405162461bcd60e51b815260206004820152601060248201526f1b9bdd081b185d5b98da1959081e595d60821b6044820152606401620003ec565b6200051362000edf565b156200071357600b548111156200056d5760405162461bcd60e51b815260206004820152601b60248201527f6d6178207472616e7366657220616d6f756e74207265616368656400000000006044820152606401620003ec565b6005546001600160a01b038381169116148015906200059457506001600160a01b03821615155b8015620005aa57506001600160a01b0382163014155b8015620005c557506006546001600160a01b03838116911614155b80156200065d5750600660009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000621573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000647919062001440565b6001600160a01b0316826001600160a01b031614155b80156200067857506007546001600160a01b03838116911614155b80156200069357506005546001600160a01b03848116911614155b1562000713576001600160a01b038216600090815260208190526040902054600a54620006c183836200145e565b1115620007115760405162461bcd60e51b815260206004820152601760248201527f6d61782077616c6c65742073697a6520726561636865640000000000000000006044820152606401620003ec565b505b3060009081526020819052604090205480158015906200073d5750601354600160a81b900460ff16155b1562000ed9576013805460ff60a81b1916600160a81b1790556007546001600160a01b03848116911614806200078057506007546001600160a01b038581169116145b15620007dc57620007d8620007c1600e54620007ad600d548662000efa60201b6200107a1790919060201c565b62000f0f60201b6200108d1790919060201c565b60105462000f1d60201b620010991790919060201c565b6010555b806010541115620007ed5760108190555b60006010541180156200081957506001600160a01b03841660009081526008602052604090205460ff16155b80156200083f57506001600160a01b03831660009081526008602052604090205460ff16155b80156200085a57506007546001600160a01b03858116911614155b1562000ecb5760108054600090915562000875813062000f2b565b6000479050600062000898600f54836200109560201b620010a51790919060201c565b90506000620008bd600f54620007ad8486620010a360201b620010b11790919060201c565b601254909150620008e3906001600160a01b0316620010b1602090811b620010bd17901c565b1562000a7e5760125460408051600481526024810182526020810180516001600160e01b031663c5d2460160e01b17905290516000926001600160a01b031691620186a0918591620009359162001479565b600060405180830381858888f193505050503d806000811462000975576040519150601f19603f3d011682016040523d82523d6000602084013e6200097a565b606091505b50509050801562000a775760125460408051600481526024810182526020810180516001600160e01b031660016209351760e01b0319179052905160009283926001600160a01b0390911691620009d2919062001479565b6000604051808303816000865af19150503d806000811462000a11576040519150601f19603f3d011682016040523d82523d6000602084013e62000a16565b606091505b509150915081801562000a4457508051158062000a4457508080602001905181019062000a44919062001497565b1562000a74576040517fac991cf2ec1e5c572446a409cdd390901cd4a0edb6a68131f77b5549ff78a1e790600090a15b50505b5062000abb565b6012546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801562000ab9573d6000803e3d6000fd5b505b60115462000ade906001600160a01b0316620010b1602090811b620010bd17901c565b1562000c795760115460408051600481526024810182526020810180516001600160e01b031663c5d2460160e01b17905290516000926001600160a01b031691620186a091859162000b309162001479565b600060405180830381858888f193505050503d806000811462000b70576040519150601f19603f3d011682016040523d82523d6000602084013e62000b75565b606091505b50509050801562000c725760115460408051600481526024810182526020810180516001600160e01b031660016209351760e01b0319179052905160009283926001600160a01b039091169162000bcd919062001479565b6000604051808303816000865af19150503d806000811462000c0c576040519150601f19603f3d011682016040523d82523d6000602084013e62000c11565b606091505b509150915081801562000c3f57508051158062000c3f57508080602001905181019062000c3f919062001497565b1562000c6f576040517f4f31b5e6203f10b9ced6e0c7223aca9fbfb2b4540d135c984bca1979ae7fb64190600090a15b50505b5062000cb6565b6011546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801562000cb4573d6000803e3d6000fd5b505b60135462000cd9906001600160a01b0316620010b1602090811b620010bd17901c565b1562000e745760135460408051600481526024810182526020810180516001600160e01b031663c5d2460160e01b17905290516000926001600160a01b031691620186a091859162000d2b9162001479565b600060405180830381858888f193505050503d806000811462000d6b576040519150601f19603f3d011682016040523d82523d6000602084013e62000d70565b606091505b50509050801562000e6d5760135460408051600481526024810182526020810180516001600160e01b031660016209351760e01b0319179052905160009283926001600160a01b039091169162000dc8919062001479565b6000604051808303816000865af19150503d806000811462000e07576040519150601f19603f3d011682016040523d82523d6000602084013e62000e0c565b606091505b509150915081801562000e3a57508051158062000e3a57508080602001905181019062000e3a919062001497565b1562000e6a576040517fa126b0f8d9ecd95ff6f216e12d8bf5ebb953b544ff0ac4efc96482b08e4f21af90600090a15b50505b5062000ec6565b6013546001600160a01b03166108fc62000e9b838562000f1d602090811b6200109917901c565b6040518115909202916000818181858888f1935050505015801562000ec4573d6000803e3d6000fd5b505b505050505b6013805460ff60a81b191690555b50505050565b600043600c5460095462000ef491906200145e565b11905090565b600062000f088284620014bb565b9392505050565b600062000f088284620012ba565b600062000f0882846200145e565b604080516002808252606082018352600092602083019080368337019050509050308160008151811062000f635762000f63620014dd565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801562000fbd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000fe3919062001440565b8160018151811062000ff95762000ff9620014dd565b6001600160a01b039283166020918202929092010152600654620010219130911685620010c0565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906200105c908690600090869088904290600401620014f3565b600060405180830381600087803b1580156200107757600080fd5b505af11580156200108c573d6000803e3d6000fd5b50505050505050565b600062000f08828462001566565b600062000f0882846200157d565b6001600160a01b03163b151590565b6001600160a01b038316620011245760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401620003ec565b6001600160a01b038216620011875760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620003ec565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b828054620011f69062001597565b90600052602060002090601f0160209004810192826200121a576000855562001265565b82601f106200123557805160ff191683800117855562001265565b8280016001018555821562001265579182015b828111156200126557825182559160200191906001019062001248565b506200127392915062001277565b5090565b5b8082111562001273576000815560010162001278565b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082620012cc57620012cc6200128e565b500490565b634e487b7160e01b600052604160045260246000fd5b60005b8381101562001304578181015183820152602001620012ea565b8381111562000ed95750506000910152565b600082601f8301126200132857600080fd5b81516001600160401b0380821115620013455762001345620012d1565b604051601f8301601f19908116603f01168101908282118183101715620013705762001370620012d1565b816040528381528660208588010111156200138a57600080fd5b6200139d846020830160208901620012e7565b9695505050505050565b80516001600160a01b0381168114620013bf57600080fd5b919050565b600080600060608486031215620013da57600080fd5b83516001600160401b0380821115620013f257600080fd5b620014008783880162001316565b945060208601519150808211156200141757600080fd5b50620014268682870162001316565b9250506200143760408501620013a7565b90509250925092565b6000602082840312156200145357600080fd5b62000f0882620013a7565b60008219821115620014745762001474620012a4565b500190565b600082516200148d818460208701620012e7565b9190910192915050565b600060208284031215620014aa57600080fd5b8151801515811462000f0857600080fd5b6000816000190483118215151615620014d857620014d8620012a4565b500290565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015620015455784516001600160a01b0316835293830193918301916001016200151e565b50506001600160a01b03969096166060850152505050608001529392505050565b6000826200157857620015786200128e565b500690565b600082821015620015925762001592620012a4565b500390565b600181811c90821680620015ac57607f821691505b602082108103620015cd57634e487b7160e01b600052602260045260246000fd5b50919050565b6125e780620015e36000396000f3fe60806040526004361061023d5760003560e01c80638ba4cc3c1161012d578063a9059cbb116100b0578063d53b678811610077578063d53b678814610692578063dd62ed3e146106a8578063ed233ee9146106c8578063eea64bd8146106de578063f2fde38b14610717578063f8b45b051461073757005b8063a9059cbb14610606578063a9970dbb14610626578063ac20ae6114610646578063d00efb2f1461065c578063d477f05f1461067257005b806395d89b41116100f457806395d89b411461057c57806396eb373c14610591578063a15b3438146105a6578063a457c2d7146105c6578063a5472ecf146105e657005b80638ba4cc3c146104e85780638da5cb5b146105085780638ff390991461052657806391cca3db1461054657806393a0bcd81461056657005b806349bd5a5e116101c0578063715018a611610187578063715018a6146104495780638091f3bf1461045e578063837917581461047f5780638a9c2d65146104925780638b0414d5146104b25780638b97271d146104d257005b806349bd5a5e146103a85780634aed78f9146103c85780634cf088d9146103de5780635cad33d6146103fe57806370a082311461041357005b80632d3e474a116102045780632d3e474a14610318578063313ce5671461033857806332cb6b0c14610354578063395093511461037357806343270d561461039357005b806306fdde0314610246578063095ea7b3146102715780631694505e146102a157806318160ddd146102d957806323b872dd146102f857005b3661024457005b005b34801561025257600080fd5b5061025b61074d565b6040516102689190612099565b60405180910390f35b34801561027d57600080fd5b5061029161028c3660046120e1565b6107df565b6040519015158152602001610268565b3480156102ad57600080fd5b506006546102c1906001600160a01b031681565b6040516001600160a01b039091168152602001610268565b3480156102e557600080fd5b506002545b604051908152602001610268565b34801561030457600080fd5b5061029161031336600461210d565b6107f7565b34801561032457600080fd5b506011546102c1906001600160a01b031681565b34801561034457600080fd5b5060405160128152602001610268565b34801561036057600080fd5b506102ea676765c793fa10079d601b1b81565b34801561037f57600080fd5b5061029161038e3660046120e1565b61081b565b34801561039f57600080fd5b506102ea61083d565b3480156103b457600080fd5b506007546102c1906001600160a01b031681565b3480156103d457600080fd5b506102ea600e5481565b3480156103ea57600080fd5b506012546102c1906001600160a01b031681565b34801561040a57600080fd5b50610291610862565b34801561041f57600080fd5b506102ea61042e36600461214e565b6001600160a01b031660009081526020819052604090205490565b34801561045557600080fd5b5061024461087b565b34801561046a57600080fd5b5060135461029190600160a01b900460ff1681565b61024461048d366004612241565b61088f565b34801561049e57600080fd5b506102446104ad366004612241565b610992565b3480156104be57600080fd5b506102446104cd36600461214e565b610a48565b3480156104de57600080fd5b506102ea600c5481565b3480156104f457600080fd5b506102446105033660046120e1565b610b19565b34801561051457600080fd5b506005546001600160a01b03166102c1565b34801561053257600080fd5b5061024461054136600461214e565b610c27565b34801561055257600080fd5b506013546102c1906001600160a01b031681565b34801561057257600080fd5b506102ea600f5481565b34801561058857600080fd5b5061025b610cd5565b34801561059d57600080fd5b506102ea610ce4565b3480156105b257600080fd5b506102446105c136600461214e565b610cfa565b3480156105d257600080fd5b506102916105e13660046120e1565b610d56565b3480156105f257600080fd5b5061024461060136600461214e565b610dd1565b34801561061257600080fd5b506102916106213660046120e1565b610e2a565b34801561063257600080fd5b50610244610641366004612303565b610e38565b34801561065257600080fd5b506102ea60105481565b34801561066857600080fd5b506102ea60095481565b34801561067e57600080fd5b5061024461068d36600461214e565b610f28565b34801561069e57600080fd5b506102ea600d5481565b3480156106b457600080fd5b506102ea6106c336600461231c565b610fd6565b3480156106d457600080fd5b506102ea600b5481565b3480156106ea57600080fd5b506102916106f936600461214e565b6001600160a01b031660009081526008602052604090205460ff1690565b34801561072357600080fd5b5061024461073236600461214e565b611001565b34801561074357600080fd5b506102ea600a5481565b60606003805461075c90612355565b80601f016020809104026020016040519081016040528092919081815260200182805461078890612355565b80156107d55780601f106107aa576101008083540402835291602001916107d5565b820191906000526020600020905b8154815290600101906020018083116107b857829003601f168201915b5050505050905090565b6000336107ed8185856110cc565b5060019392505050565b6000336108058582856111f0565b61081085858561126a565b506001949350505050565b6000336107ed81858561082e8383610fd6565b61083891906123a5565b6110cc565b6108546103e8676765c793fa10079d601b1b6123d3565b61085f9060e16123e7565b81565b600043600c5460095461087591906123a5565b11905090565b610883611449565b61088d60006114a3565b565b601354600160a01b900460ff16156108c25760405162461bcd60e51b81526004016108b990612406565b60405180910390fd5b6013805460ff60b01b1916600160b01b179055476108e08383610992565b61090b6108fa6103e8676765c793fa10079d601b1b6123d3565b6109059060e16123e7565b826114f5565b306000908152602081905260409020546109316002676765c793fa10079d601b1b6123d3565b811115610973576109586109516002676765c793fa10079d601b1b6123d3565b82906110b1565b6011549091506109739030906001600160a01b03168361126a565b50504360095550506013805462ff00ff60a01b1916600160a01b179055565b61099a611449565b601354600160a01b900460ff16156109c45760405162461bcd60e51b81526004016108b990612406565b600082511180156109d6575060008151115b80156109e3575080518251145b15610a445760005b8251811015610a4257610a30838281518110610a0957610a09612436565b6020026020010151838381518110610a2357610a23612436565b6020026020010151610b19565b80610a3a8161244c565b9150506109eb565b505b5050565b610a50611449565b6001600160a01b03811615801590610a7657506011546001600160a01b03828116911614155b610a925760405162461bcd60e51b81526004016108b990612465565b601154610aa7906001600160a01b0316610dd1565b601180546001600160a01b0319166001600160a01b038316908117909155610ace90610cfa565b7f83e9b0264f846c733d721fc222bd1b60d47f257c00f2c8ee812d03d29fa87a6481335b604080516001600160a01b039384168152929091166020830152015b60405180910390a150565b610b21611449565b601354600160a01b900460ff1615610b4b5760405162461bcd60e51b81526004016108b990612406565b6001600160a01b038216610b715760405162461bcd60e51b81526004016108b990612406565b610b876002676765c793fa10079d601b1b6123d3565b610b9e6103e8676765c793fa10079d601b1b6123d3565b610ba99060e16123e7565b610bb391906123a5565b30600090815260208190526040902054610bce90839061248c565b1015610c1c5760405162461bcd60e51b815260206004820152601f60248201527f546f6b656e206c696d697420666f722061697264726f7020726561636865640060448201526064016108b9565b610a4430838361126a565b610c2f611449565b6001600160a01b03811615801590610c5557506012546001600160a01b03828116911614155b610c715760405162461bcd60e51b81526004016108b990612465565b601254610c86906001600160a01b0316610dd1565b601280546001600160a01b0319166001600160a01b038316908117909155610cad90610cfa565b7f2feb7ee5715256f0c3a77dc5d24719880e8c488fc4f570d795bdabedbf1eb3d08133610af2565b60606004805461075c90612355565b61085f6002676765c793fa10079d601b1b6123d3565b610d02611449565b6001600160a01b038116600081815260086020908152604091829020805460ff1916600117905590519182527f3a88a8631b39498630ab64824a7984a4a37339c175468804bfeb1c554a9238ea9101610b0e565b60003381610d648286610fd6565b905083811015610dc45760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108b9565b61081082868684036110cc565b610dd9611449565b6001600160a01b038116600081815260086020908152604091829020805460ff1916905590519182527f5c593dd959b6de925bf41b5d411a85bd3c5bd4b439887e44c84110ab539edb729101610b0e565b6000336107ed81858561126a565b610e40611449565b60008111610e7e5760405162461bcd60e51b815260206004820152600b60248201526a6d6f726520626c6f636b7360a81b60448201526064016108b9565b43600c54600954610e8f91906123a5565b11610edc5760405162461bcd60e51b815260206004820152601a60248201527f6e6f206d6f726520657874656e73696f6e20706f737369626c6500000000000060448201526064016108b9565b80600c6000828254610eee91906123a5565b9091555050604080518281523360208201527f1bfce73eb334f74021f423f02620d1b61c00d2989c3cdaf768119ff2f75d47049101610b0e565b610f30611449565b6001600160a01b03811615801590610f5657506013546001600160a01b03828116911614155b610f725760405162461bcd60e51b81526004016108b990612465565b601354610f87906001600160a01b0316610dd1565b601380546001600160a01b0319166001600160a01b038316908117909155610fae90610cfa565b7f349f0b2d89c787de55eaddcc6245dd8a0b45533b3bb4bf2248a9998387e8811f8133610af2565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b611009611449565b6001600160a01b03811661106e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108b9565b611077816114a3565b50565b600061108682846123e7565b9392505050565b600061108682846123d3565b600061108682846123a5565b600061108682846124a3565b6000611086828461248c565b6001600160a01b03163b151590565b6001600160a01b03831661112e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108b9565b6001600160a01b03821661118f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108b9565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006111fc8484610fd6565b9050600019811461126457818110156112575760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108b9565b61126484848484036110cc565b50505050565b6001600160a01b0383166112ce5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108b9565b6001600160a01b0382166113305760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108b9565b61133b8383836115a6565b6001600160a01b038316600090815260208190526040902054818110156113b35760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108b9565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906113ea9084906123a5565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161143691815260200190565b60405180910390a3611264848484610a42565b6005546001600160a01b0316331461088d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108b9565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60065461150d9030906001600160a01b0316846110cc565b60065460405163f305d71960e01b8152306004820181905260248201859052600060448301819052606483015260848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af115801561157a573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061159f91906124b7565b5050505050565b601354600160b01b900460ff16156115bd57505050565b6005546001600160a01b0316331461161b57601354600160a01b900460ff1661161b5760405162461bcd60e51b815260206004820152601060248201526f1b9bdd081b185d5b98da1959081e595d60821b60448201526064016108b9565b611623610862565b1561181257600b5481111561167a5760405162461bcd60e51b815260206004820152601b60248201527f6d6178207472616e7366657220616d6f756e742072656163686564000000000060448201526064016108b9565b6005546001600160a01b038381169116148015906116a057506001600160a01b03821615155b80156116b557506001600160a01b0382163014155b80156116cf57506006546001600160a01b03838116911614155b80156117635750600660009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611729573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174d91906124e5565b6001600160a01b0316826001600160a01b031614155b801561177d57506007546001600160a01b03838116911614155b801561179757506005546001600160a01b03848116911614155b15611812576001600160a01b038216600090815260208190526040902054600a546117c283836123a5565b11156118105760405162461bcd60e51b815260206004820152601760248201527f6d61782077616c6c65742073697a65207265616368656400000000000000000060448201526064016108b9565b505b30600090815260208190526040902054801580159061183b5750601354600160a81b900460ff16155b15611264576013805460ff60a81b1916600160a81b1790556007546001600160a01b038481169116148061187c57506007546001600160a01b038581169116145b156118b2576118ae6118a5600e5461189f600d548661107a90919063ffffffff16565b9061108d565b60105490611099565b6010555b8060105411156118c25760108190555b60006010541180156118ed57506001600160a01b03841660009081526008602052604090205460ff16155b801561191257506001600160a01b03831660009081526008602052604090205460ff16155b801561192c57506007546001600160a01b03858116911614155b15611eff576010805460009091556119448130611f12565b600f5447906000906119579083906110a5565b90506000611974600f5461189f84866110b190919063ffffffff16565b6012549091506001600160a01b03163b15611b0f5760125460408051600481526024810182526020810180516001600160e01b031663c5d2460160e01b17905290516000926001600160a01b031691620186a09185916119d391612502565b600060405180830381858888f193505050503d8060008114611a11576040519150601f19603f3d011682016040523d82523d6000602084013e611a16565b606091505b505090508015611b095760125460408051600481526024810182526020810180516001600160e01b031660016209351760e01b0319179052905160009283926001600160a01b0390911691611a6b9190612502565b6000604051808303816000865af19150503d8060008114611aa8576040519150601f19603f3d011682016040523d82523d6000602084013e611aad565b606091505b5091509150818015611ad7575080511580611ad7575080806020019051810190611ad7919061251e565b15611b06576040517fac991cf2ec1e5c572446a409cdd390901cd4a0edb6a68131f77b5549ff78a1e790600090a15b50505b50611b4b565b6012546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611b49573d6000803e3d6000fd5b505b6011546001600160a01b03163b15611ce35760115460408051600481526024810182526020810180516001600160e01b031663c5d2460160e01b17905290516000926001600160a01b031691620186a0918591611ba791612502565b600060405180830381858888f193505050503d8060008114611be5576040519150601f19603f3d011682016040523d82523d6000602084013e611bea565b606091505b505090508015611cdd5760115460408051600481526024810182526020810180516001600160e01b031660016209351760e01b0319179052905160009283926001600160a01b0390911691611c3f9190612502565b6000604051808303816000865af19150503d8060008114611c7c576040519150601f19603f3d011682016040523d82523d6000602084013e611c81565b606091505b5091509150818015611cab575080511580611cab575080806020019051810190611cab919061251e565b15611cda576040517f4f31b5e6203f10b9ced6e0c7223aca9fbfb2b4540d135c984bca1979ae7fb64190600090a15b50505b50611d1f565b6011546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611d1d573d6000803e3d6000fd5b505b6013546001600160a01b03163b15611eb75760135460408051600481526024810182526020810180516001600160e01b031663c5d2460160e01b17905290516000926001600160a01b031691620186a0918591611d7b91612502565b600060405180830381858888f193505050503d8060008114611db9576040519150601f19603f3d011682016040523d82523d6000602084013e611dbe565b606091505b505090508015611eb15760135460408051600481526024810182526020810180516001600160e01b031660016209351760e01b0319179052905160009283926001600160a01b0390911691611e139190612502565b6000604051808303816000865af19150503d8060008114611e50576040519150601f19603f3d011682016040523d82523d6000602084013e611e55565b606091505b5091509150818015611e7f575080511580611e7f575080806020019051810190611e7f919061251e565b15611eae576040517fa126b0f8d9ecd95ff6f216e12d8bf5ebb953b544ff0ac4efc96482b08e4f21af90600090a15b50505b50611efa565b6013546001600160a01b03166108fc611ed08385611099565b6040518115909202916000818181858888f19350505050158015611ef8573d6000803e3d6000fd5b505b505050505b6013805460ff60a81b1916905550505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611f4757611f47612436565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611fa0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fc491906124e5565b81600181518110611fd757611fd7612436565b6001600160a01b039283166020918202929092010152600654611ffd91309116856110cc565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790612036908690600090869088904290600401612540565b600060405180830381600087803b15801561205057600080fd5b505af1158015612064573d6000803e3d6000fd5b50505050505050565b60005b83811015612088578181015183820152602001612070565b838111156112645750506000910152565b60208152600082518060208401526120b881604085016020870161206d565b601f01601f19169190910160400192915050565b6001600160a01b038116811461107757600080fd5b600080604083850312156120f457600080fd5b82356120ff816120cc565b946020939093013593505050565b60008060006060848603121561212257600080fd5b833561212d816120cc565b9250602084013561213d816120cc565b929592945050506040919091013590565b60006020828403121561216057600080fd5b8135611086816120cc565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156121aa576121aa61216b565b604052919050565b600067ffffffffffffffff8211156121cc576121cc61216b565b5060051b60200190565b600082601f8301126121e757600080fd5b813560206121fc6121f7836121b2565b612181565b82815260059290921b8401810191818101908684111561221b57600080fd5b8286015b84811015612236578035835291830191830161221f565b509695505050505050565b6000806040838503121561225457600080fd5b823567ffffffffffffffff8082111561226c57600080fd5b818501915085601f83011261228057600080fd5b813560206122906121f7836121b2565b82815260059290921b840181019181810190898411156122af57600080fd5b948201945b838610156122d65785356122c7816120cc565b825294820194908201906122b4565b965050860135925050808211156122ec57600080fd5b506122f9858286016121d6565b9150509250929050565b60006020828403121561231557600080fd5b5035919050565b6000806040838503121561232f57600080fd5b823561233a816120cc565b9150602083013561234a816120cc565b809150509250929050565b600181811c9082168061236957607f821691505b60208210810361238957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156123b8576123b861238f565b500190565b634e487b7160e01b600052601260045260246000fd5b6000826123e2576123e26123bd565b500490565b60008160001904831182151516156124015761240161238f565b500290565b602080825260169082015275151bdad95b88185b1c9958591e481b185d5b98da195960521b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60006001820161245e5761245e61238f565b5060010190565b6020808252600d908201526c77726f6e67206164647265737360981b604082015260600190565b60008282101561249e5761249e61238f565b500390565b6000826124b2576124b26123bd565b500690565b6000806000606084860312156124cc57600080fd5b8351925060208401519150604084015190509250925092565b6000602082840312156124f757600080fd5b8151611086816120cc565b6000825161251481846020870161206d565b9190910192915050565b60006020828403121561253057600080fd5b8151801515811461108657600080fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156125905784516001600160a01b03168352938301939183019160010161256b565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212205cdfc2ed76b6d2281d4665ec1249a708acb18b6553f5c25bedb70efc848fc32b64736f6c634300080d0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000000000000000000000000000000000000000000e526f6e696e204e6f204f68616b6100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064b4154414e410000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061023d5760003560e01c80638ba4cc3c1161012d578063a9059cbb116100b0578063d53b678811610077578063d53b678814610692578063dd62ed3e146106a8578063ed233ee9146106c8578063eea64bd8146106de578063f2fde38b14610717578063f8b45b051461073757005b8063a9059cbb14610606578063a9970dbb14610626578063ac20ae6114610646578063d00efb2f1461065c578063d477f05f1461067257005b806395d89b41116100f457806395d89b411461057c57806396eb373c14610591578063a15b3438146105a6578063a457c2d7146105c6578063a5472ecf146105e657005b80638ba4cc3c146104e85780638da5cb5b146105085780638ff390991461052657806391cca3db1461054657806393a0bcd81461056657005b806349bd5a5e116101c0578063715018a611610187578063715018a6146104495780638091f3bf1461045e578063837917581461047f5780638a9c2d65146104925780638b0414d5146104b25780638b97271d146104d257005b806349bd5a5e146103a85780634aed78f9146103c85780634cf088d9146103de5780635cad33d6146103fe57806370a082311461041357005b80632d3e474a116102045780632d3e474a14610318578063313ce5671461033857806332cb6b0c14610354578063395093511461037357806343270d561461039357005b806306fdde0314610246578063095ea7b3146102715780631694505e146102a157806318160ddd146102d957806323b872dd146102f857005b3661024457005b005b34801561025257600080fd5b5061025b61074d565b6040516102689190612099565b60405180910390f35b34801561027d57600080fd5b5061029161028c3660046120e1565b6107df565b6040519015158152602001610268565b3480156102ad57600080fd5b506006546102c1906001600160a01b031681565b6040516001600160a01b039091168152602001610268565b3480156102e557600080fd5b506002545b604051908152602001610268565b34801561030457600080fd5b5061029161031336600461210d565b6107f7565b34801561032457600080fd5b506011546102c1906001600160a01b031681565b34801561034457600080fd5b5060405160128152602001610268565b34801561036057600080fd5b506102ea676765c793fa10079d601b1b81565b34801561037f57600080fd5b5061029161038e3660046120e1565b61081b565b34801561039f57600080fd5b506102ea61083d565b3480156103b457600080fd5b506007546102c1906001600160a01b031681565b3480156103d457600080fd5b506102ea600e5481565b3480156103ea57600080fd5b506012546102c1906001600160a01b031681565b34801561040a57600080fd5b50610291610862565b34801561041f57600080fd5b506102ea61042e36600461214e565b6001600160a01b031660009081526020819052604090205490565b34801561045557600080fd5b5061024461087b565b34801561046a57600080fd5b5060135461029190600160a01b900460ff1681565b61024461048d366004612241565b61088f565b34801561049e57600080fd5b506102446104ad366004612241565b610992565b3480156104be57600080fd5b506102446104cd36600461214e565b610a48565b3480156104de57600080fd5b506102ea600c5481565b3480156104f457600080fd5b506102446105033660046120e1565b610b19565b34801561051457600080fd5b506005546001600160a01b03166102c1565b34801561053257600080fd5b5061024461054136600461214e565b610c27565b34801561055257600080fd5b506013546102c1906001600160a01b031681565b34801561057257600080fd5b506102ea600f5481565b34801561058857600080fd5b5061025b610cd5565b34801561059d57600080fd5b506102ea610ce4565b3480156105b257600080fd5b506102446105c136600461214e565b610cfa565b3480156105d257600080fd5b506102916105e13660046120e1565b610d56565b3480156105f257600080fd5b5061024461060136600461214e565b610dd1565b34801561061257600080fd5b506102916106213660046120e1565b610e2a565b34801561063257600080fd5b50610244610641366004612303565b610e38565b34801561065257600080fd5b506102ea60105481565b34801561066857600080fd5b506102ea60095481565b34801561067e57600080fd5b5061024461068d36600461214e565b610f28565b34801561069e57600080fd5b506102ea600d5481565b3480156106b457600080fd5b506102ea6106c336600461231c565b610fd6565b3480156106d457600080fd5b506102ea600b5481565b3480156106ea57600080fd5b506102916106f936600461214e565b6001600160a01b031660009081526008602052604090205460ff1690565b34801561072357600080fd5b5061024461073236600461214e565b611001565b34801561074357600080fd5b506102ea600a5481565b60606003805461075c90612355565b80601f016020809104026020016040519081016040528092919081815260200182805461078890612355565b80156107d55780601f106107aa576101008083540402835291602001916107d5565b820191906000526020600020905b8154815290600101906020018083116107b857829003601f168201915b5050505050905090565b6000336107ed8185856110cc565b5060019392505050565b6000336108058582856111f0565b61081085858561126a565b506001949350505050565b6000336107ed81858561082e8383610fd6565b61083891906123a5565b6110cc565b6108546103e8676765c793fa10079d601b1b6123d3565b61085f9060e16123e7565b81565b600043600c5460095461087591906123a5565b11905090565b610883611449565b61088d60006114a3565b565b601354600160a01b900460ff16156108c25760405162461bcd60e51b81526004016108b990612406565b60405180910390fd5b6013805460ff60b01b1916600160b01b179055476108e08383610992565b61090b6108fa6103e8676765c793fa10079d601b1b6123d3565b6109059060e16123e7565b826114f5565b306000908152602081905260409020546109316002676765c793fa10079d601b1b6123d3565b811115610973576109586109516002676765c793fa10079d601b1b6123d3565b82906110b1565b6011549091506109739030906001600160a01b03168361126a565b50504360095550506013805462ff00ff60a01b1916600160a01b179055565b61099a611449565b601354600160a01b900460ff16156109c45760405162461bcd60e51b81526004016108b990612406565b600082511180156109d6575060008151115b80156109e3575080518251145b15610a445760005b8251811015610a4257610a30838281518110610a0957610a09612436565b6020026020010151838381518110610a2357610a23612436565b6020026020010151610b19565b80610a3a8161244c565b9150506109eb565b505b5050565b610a50611449565b6001600160a01b03811615801590610a7657506011546001600160a01b03828116911614155b610a925760405162461bcd60e51b81526004016108b990612465565b601154610aa7906001600160a01b0316610dd1565b601180546001600160a01b0319166001600160a01b038316908117909155610ace90610cfa565b7f83e9b0264f846c733d721fc222bd1b60d47f257c00f2c8ee812d03d29fa87a6481335b604080516001600160a01b039384168152929091166020830152015b60405180910390a150565b610b21611449565b601354600160a01b900460ff1615610b4b5760405162461bcd60e51b81526004016108b990612406565b6001600160a01b038216610b715760405162461bcd60e51b81526004016108b990612406565b610b876002676765c793fa10079d601b1b6123d3565b610b9e6103e8676765c793fa10079d601b1b6123d3565b610ba99060e16123e7565b610bb391906123a5565b30600090815260208190526040902054610bce90839061248c565b1015610c1c5760405162461bcd60e51b815260206004820152601f60248201527f546f6b656e206c696d697420666f722061697264726f7020726561636865640060448201526064016108b9565b610a4430838361126a565b610c2f611449565b6001600160a01b03811615801590610c5557506012546001600160a01b03828116911614155b610c715760405162461bcd60e51b81526004016108b990612465565b601254610c86906001600160a01b0316610dd1565b601280546001600160a01b0319166001600160a01b038316908117909155610cad90610cfa565b7f2feb7ee5715256f0c3a77dc5d24719880e8c488fc4f570d795bdabedbf1eb3d08133610af2565b60606004805461075c90612355565b61085f6002676765c793fa10079d601b1b6123d3565b610d02611449565b6001600160a01b038116600081815260086020908152604091829020805460ff1916600117905590519182527f3a88a8631b39498630ab64824a7984a4a37339c175468804bfeb1c554a9238ea9101610b0e565b60003381610d648286610fd6565b905083811015610dc45760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108b9565b61081082868684036110cc565b610dd9611449565b6001600160a01b038116600081815260086020908152604091829020805460ff1916905590519182527f5c593dd959b6de925bf41b5d411a85bd3c5bd4b439887e44c84110ab539edb729101610b0e565b6000336107ed81858561126a565b610e40611449565b60008111610e7e5760405162461bcd60e51b815260206004820152600b60248201526a6d6f726520626c6f636b7360a81b60448201526064016108b9565b43600c54600954610e8f91906123a5565b11610edc5760405162461bcd60e51b815260206004820152601a60248201527f6e6f206d6f726520657874656e73696f6e20706f737369626c6500000000000060448201526064016108b9565b80600c6000828254610eee91906123a5565b9091555050604080518281523360208201527f1bfce73eb334f74021f423f02620d1b61c00d2989c3cdaf768119ff2f75d47049101610b0e565b610f30611449565b6001600160a01b03811615801590610f5657506013546001600160a01b03828116911614155b610f725760405162461bcd60e51b81526004016108b990612465565b601354610f87906001600160a01b0316610dd1565b601380546001600160a01b0319166001600160a01b038316908117909155610fae90610cfa565b7f349f0b2d89c787de55eaddcc6245dd8a0b45533b3bb4bf2248a9998387e8811f8133610af2565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b611009611449565b6001600160a01b03811661106e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108b9565b611077816114a3565b50565b600061108682846123e7565b9392505050565b600061108682846123d3565b600061108682846123a5565b600061108682846124a3565b6000611086828461248c565b6001600160a01b03163b151590565b6001600160a01b03831661112e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108b9565b6001600160a01b03821661118f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108b9565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006111fc8484610fd6565b9050600019811461126457818110156112575760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108b9565b61126484848484036110cc565b50505050565b6001600160a01b0383166112ce5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108b9565b6001600160a01b0382166113305760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108b9565b61133b8383836115a6565b6001600160a01b038316600090815260208190526040902054818110156113b35760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108b9565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906113ea9084906123a5565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161143691815260200190565b60405180910390a3611264848484610a42565b6005546001600160a01b0316331461088d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108b9565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60065461150d9030906001600160a01b0316846110cc565b60065460405163f305d71960e01b8152306004820181905260248201859052600060448301819052606483015260848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af115801561157a573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061159f91906124b7565b5050505050565b601354600160b01b900460ff16156115bd57505050565b6005546001600160a01b0316331461161b57601354600160a01b900460ff1661161b5760405162461bcd60e51b815260206004820152601060248201526f1b9bdd081b185d5b98da1959081e595d60821b60448201526064016108b9565b611623610862565b1561181257600b5481111561167a5760405162461bcd60e51b815260206004820152601b60248201527f6d6178207472616e7366657220616d6f756e742072656163686564000000000060448201526064016108b9565b6005546001600160a01b038381169116148015906116a057506001600160a01b03821615155b80156116b557506001600160a01b0382163014155b80156116cf57506006546001600160a01b03838116911614155b80156117635750600660009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611729573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174d91906124e5565b6001600160a01b0316826001600160a01b031614155b801561177d57506007546001600160a01b03838116911614155b801561179757506005546001600160a01b03848116911614155b15611812576001600160a01b038216600090815260208190526040902054600a546117c283836123a5565b11156118105760405162461bcd60e51b815260206004820152601760248201527f6d61782077616c6c65742073697a65207265616368656400000000000000000060448201526064016108b9565b505b30600090815260208190526040902054801580159061183b5750601354600160a81b900460ff16155b15611264576013805460ff60a81b1916600160a81b1790556007546001600160a01b038481169116148061187c57506007546001600160a01b038581169116145b156118b2576118ae6118a5600e5461189f600d548661107a90919063ffffffff16565b9061108d565b60105490611099565b6010555b8060105411156118c25760108190555b60006010541180156118ed57506001600160a01b03841660009081526008602052604090205460ff16155b801561191257506001600160a01b03831660009081526008602052604090205460ff16155b801561192c57506007546001600160a01b03858116911614155b15611eff576010805460009091556119448130611f12565b600f5447906000906119579083906110a5565b90506000611974600f5461189f84866110b190919063ffffffff16565b6012549091506001600160a01b03163b15611b0f5760125460408051600481526024810182526020810180516001600160e01b031663c5d2460160e01b17905290516000926001600160a01b031691620186a09185916119d391612502565b600060405180830381858888f193505050503d8060008114611a11576040519150601f19603f3d011682016040523d82523d6000602084013e611a16565b606091505b505090508015611b095760125460408051600481526024810182526020810180516001600160e01b031660016209351760e01b0319179052905160009283926001600160a01b0390911691611a6b9190612502565b6000604051808303816000865af19150503d8060008114611aa8576040519150601f19603f3d011682016040523d82523d6000602084013e611aad565b606091505b5091509150818015611ad7575080511580611ad7575080806020019051810190611ad7919061251e565b15611b06576040517fac991cf2ec1e5c572446a409cdd390901cd4a0edb6a68131f77b5549ff78a1e790600090a15b50505b50611b4b565b6012546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611b49573d6000803e3d6000fd5b505b6011546001600160a01b03163b15611ce35760115460408051600481526024810182526020810180516001600160e01b031663c5d2460160e01b17905290516000926001600160a01b031691620186a0918591611ba791612502565b600060405180830381858888f193505050503d8060008114611be5576040519150601f19603f3d011682016040523d82523d6000602084013e611bea565b606091505b505090508015611cdd5760115460408051600481526024810182526020810180516001600160e01b031660016209351760e01b0319179052905160009283926001600160a01b0390911691611c3f9190612502565b6000604051808303816000865af19150503d8060008114611c7c576040519150601f19603f3d011682016040523d82523d6000602084013e611c81565b606091505b5091509150818015611cab575080511580611cab575080806020019051810190611cab919061251e565b15611cda576040517f4f31b5e6203f10b9ced6e0c7223aca9fbfb2b4540d135c984bca1979ae7fb64190600090a15b50505b50611d1f565b6011546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611d1d573d6000803e3d6000fd5b505b6013546001600160a01b03163b15611eb75760135460408051600481526024810182526020810180516001600160e01b031663c5d2460160e01b17905290516000926001600160a01b031691620186a0918591611d7b91612502565b600060405180830381858888f193505050503d8060008114611db9576040519150601f19603f3d011682016040523d82523d6000602084013e611dbe565b606091505b505090508015611eb15760135460408051600481526024810182526020810180516001600160e01b031660016209351760e01b0319179052905160009283926001600160a01b0390911691611e139190612502565b6000604051808303816000865af19150503d8060008114611e50576040519150601f19603f3d011682016040523d82523d6000602084013e611e55565b606091505b5091509150818015611e7f575080511580611e7f575080806020019051810190611e7f919061251e565b15611eae576040517fa126b0f8d9ecd95ff6f216e12d8bf5ebb953b544ff0ac4efc96482b08e4f21af90600090a15b50505b50611efa565b6013546001600160a01b03166108fc611ed08385611099565b6040518115909202916000818181858888f19350505050158015611ef8573d6000803e3d6000fd5b505b505050505b6013805460ff60a81b1916905550505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611f4757611f47612436565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611fa0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fc491906124e5565b81600181518110611fd757611fd7612436565b6001600160a01b039283166020918202929092010152600654611ffd91309116856110cc565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790612036908690600090869088904290600401612540565b600060405180830381600087803b15801561205057600080fd5b505af1158015612064573d6000803e3d6000fd5b50505050505050565b60005b83811015612088578181015183820152602001612070565b838111156112645750506000910152565b60208152600082518060208401526120b881604085016020870161206d565b601f01601f19169190910160400192915050565b6001600160a01b038116811461107757600080fd5b600080604083850312156120f457600080fd5b82356120ff816120cc565b946020939093013593505050565b60008060006060848603121561212257600080fd5b833561212d816120cc565b9250602084013561213d816120cc565b929592945050506040919091013590565b60006020828403121561216057600080fd5b8135611086816120cc565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156121aa576121aa61216b565b604052919050565b600067ffffffffffffffff8211156121cc576121cc61216b565b5060051b60200190565b600082601f8301126121e757600080fd5b813560206121fc6121f7836121b2565b612181565b82815260059290921b8401810191818101908684111561221b57600080fd5b8286015b84811015612236578035835291830191830161221f565b509695505050505050565b6000806040838503121561225457600080fd5b823567ffffffffffffffff8082111561226c57600080fd5b818501915085601f83011261228057600080fd5b813560206122906121f7836121b2565b82815260059290921b840181019181810190898411156122af57600080fd5b948201945b838610156122d65785356122c7816120cc565b825294820194908201906122b4565b965050860135925050808211156122ec57600080fd5b506122f9858286016121d6565b9150509250929050565b60006020828403121561231557600080fd5b5035919050565b6000806040838503121561232f57600080fd5b823561233a816120cc565b9150602083013561234a816120cc565b809150509250929050565b600181811c9082168061236957607f821691505b60208210810361238957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156123b8576123b861238f565b500190565b634e487b7160e01b600052601260045260246000fd5b6000826123e2576123e26123bd565b500490565b60008160001904831182151516156124015761240161238f565b500290565b602080825260169082015275151bdad95b88185b1c9958591e481b185d5b98da195960521b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60006001820161245e5761245e61238f565b5060010190565b6020808252600d908201526c77726f6e67206164647265737360981b604082015260600190565b60008282101561249e5761249e61238f565b500390565b6000826124b2576124b26123bd565b500690565b6000806000606084860312156124cc57600080fd5b8351925060208401519150604084015190509250925092565b6000602082840312156124f757600080fd5b8151611086816120cc565b6000825161251481846020870161206d565b9190910192915050565b60006020828403121561253057600080fd5b8151801515811461108657600080fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156125905784516001600160a01b03168352938301939183019160010161256b565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212205cdfc2ed76b6d2281d4665ec1249a708acb18b6553f5c25bedb70efc848fc32b64736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000000000000000000000000000000000000000000e526f6e696e204e6f204f68616b6100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064b4154414e410000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): Ronin No Ohaka
Arg [1] : symbol_ (string): KATANA
Arg [2] : router_ (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [4] : 526f6e696e204e6f204f68616b61000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [6] : 4b4154414e410000000000000000000000000000000000000000000000000000
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.