Sponsored
Latest 25 from a total of 2,556 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 93239216 | 7 days ago | IN | 0 FTM | 0.00168061 | ||||
Approve | 93215079 | 7 days ago | IN | 0 FTM | 0.00097604 | ||||
Transfer | 93214686 | 7 days ago | IN | 0 FTM | 0.00065843 | ||||
Approve | 93206128 | 7 days ago | IN | 0 FTM | 0.00102568 | ||||
Approve | 92962941 | 10 days ago | IN | 0 FTM | 0.0005823 | ||||
Approve | 92958719 | 10 days ago | IN | 0 FTM | 0.00056641 | ||||
Approve | 92953002 | 10 days ago | IN | 0 FTM | 0.00068081 | ||||
Approve | 89864048 | 44 days ago | IN | 0 FTM | 0.00012822 | ||||
Approve | 89620632 | 47 days ago | IN | 0 FTM | 0.00020515 | ||||
Approve | 88694768 | 56 days ago | IN | 0 FTM | 0.00051598 | ||||
Approve | 85200857 | 89 days ago | IN | 0 FTM | 0.00036186 | ||||
Approve | 85200385 | 89 days ago | IN | 0 FTM | 0.00036163 | ||||
Approve | 85127622 | 90 days ago | IN | 0 FTM | 0.00102486 | ||||
Approve | 84640807 | 95 days ago | IN | 0 FTM | 0.00086928 | ||||
Transfer | 84121793 | 100 days ago | IN | 0 FTM | 0.00023856 | ||||
Approve | 82886284 | 116 days ago | IN | 0 FTM | 0.00095369 | ||||
Approve | 82837691 | 117 days ago | IN | 0 FTM | 0.00247936 | ||||
Approve | 82488556 | 122 days ago | IN | 0 FTM | 0.00062346 | ||||
Approve | 82226952 | 126 days ago | IN | 0 FTM | 0.00069366 | ||||
Approve | 81415895 | 139 days ago | IN | 0 FTM | 0.00085286 | ||||
Approve | 80749875 | 150 days ago | IN | 0 FTM | 0.01046827 | ||||
Approve | 80708858 | 151 days ago | IN | 0 FTM | 0.00089692 | ||||
Approve | 80636964 | 153 days ago | IN | 0 FTM | 0.00023079 | ||||
Approve | 80636017 | 153 days ago | IN | 0 FTM | 0.00025644 | ||||
Approve | 80460421 | 156 days ago | IN | 0 FTM | 0.00361209 |
Latest 1 internal transaction
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
24554796 | 1033 days ago | Contract Creation | 0 FTM |
Loading...
Loading
Contract Name:
LIQRToken
Compiler Version
v0.6.11+commit.5ef660b1
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.6.11; import "SafeMath.sol"; import "IERC20.sol"; import "IERC2612.sol"; contract LIQRToken is IERC20, IERC2612 { using SafeMath for uint256; // --- ERC20 Data --- string constant internal _NAME = "LIQR"; string constant internal _SYMBOL = "LIQR"; string constant internal _VERSION = "1"; uint8 constant internal _DECIMALS = 18; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint private _totalSupply; // --- EIP 2612 Data --- // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); bytes32 private constant _PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9; // keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"); bytes32 private constant _TYPE_HASH = 0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f; // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _CACHED_DOMAIN_SEPARATOR; uint256 private immutable _CACHED_CHAIN_ID; bytes32 private immutable _HASHED_NAME; bytes32 private immutable _HASHED_VERSION; mapping (address => uint256) private _nonces; address public anyswapRouter; address public pendingAnyswapRouter; uint256 public pendingRouterDelay; // the max total supply for LQTY across all chains uint256 public maxTotalSupply; event LogChangeVault(address indexed oldVault, address indexed newVault, uint indexed effectiveTime); // --- Functions --- constructor ( address _anyswapRouter, uint256 _supply, uint256 _maxTotalSupply ) public { anyswapRouter = _anyswapRouter; maxTotalSupply = _maxTotalSupply; bytes32 hashedName = keccak256(bytes(_NAME)); bytes32 hashedVersion = keccak256(bytes(_VERSION)); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; _CACHED_CHAIN_ID = _chainID(); _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(_TYPE_HASH, hashedName, hashedVersion); _mint(msg.sender, _supply); } // --- External functions --- function totalSupply() external view override returns (uint256) { return _totalSupply; } function balanceOf(address account) external view override returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) external override returns (bool) { _transfer(msg.sender, recipient, amount); return true; } function allowance(address owner, address spender) external view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) external override returns (bool) { _approve(msg.sender, spender, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) external override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, msg.sender, _allowances[sender][msg.sender].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } function increaseAllowance(address spender, uint256 addedValue) external override returns (bool) { _approve(msg.sender, spender, _allowances[msg.sender][spender].add(addedValue)); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) external override returns (bool) { _approve(msg.sender, spender, _allowances[msg.sender][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } // --- EIP 2612 functionality --- function domainSeparator() public view override returns (bytes32) { if (_chainID() == _CACHED_CHAIN_ID) { return _CACHED_DOMAIN_SEPARATOR; } else { return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION); } } function permit ( address owner, address spender, uint amount, uint deadline, uint8 v, bytes32 r, bytes32 s ) external override { require(deadline >= now, 'expired deadline'); bytes32 digest = keccak256(abi.encodePacked('\x19\x01', domainSeparator(), keccak256(abi.encode( _PERMIT_TYPEHASH, owner, spender, amount, _nonces[owner]++, deadline)))); address recoveredAddress = ecrecover(digest, v, r, s); require(recoveredAddress == owner, 'invalid signature'); _approve(owner, spender, amount); } function nonces(address owner) external view override returns (uint256) { // FOR EIP 2612 return _nonces[owner]; } // --- Internal operations --- function _chainID() private pure returns (uint256 chainID) { assembly { chainID := chainid() } } function _buildDomainSeparator(bytes32 typeHash, bytes32 name, bytes32 version) private view returns (bytes32) { return keccak256(abi.encode(typeHash, name, version, _chainID(), address(this))); } function _transfer(address sender, address recipient, uint256 amount) internal { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); require(recipient != address(this), "ERC20: transfer to the token address"); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); if (recipient == address(0xdead)) { // transferring to 0x00..DEAD burns tokens _totalSupply = _totalSupply.sub(amount); } else { _balances[recipient] = _balances[recipient].add(amount); } emit Transfer(sender, recipient, amount); } function _mint(address account, uint256 amount) internal { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); require(_totalSupply <= maxTotalSupply, "Exceeds max total supply"); emit Transfer(address(0), account, amount); } function _approve(address owner, address spender, uint256 amount) internal { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function _getRouter() internal returns (address) { if (pendingRouterDelay != 0 && pendingRouterDelay < block.timestamp) { anyswapRouter = pendingAnyswapRouter; pendingRouterDelay = 0; } return anyswapRouter; } // --- Optional functions --- function name() external view override returns (string memory) { return _NAME; } function symbol() external view override returns (string memory) { return _SYMBOL; } function decimals() external view override returns (uint8) { return _DECIMALS; } function version() external view override returns (string memory) { return _VERSION; } function permitTypeHash() external view override returns (bytes32) { return _PERMIT_TYPEHASH; } function mint(address account, uint256 amount) external returns (bool) { require(msg.sender == _getRouter()); _mint(account, amount); return true; } function burn(address account, uint256 amount) external returns (bool) { require(msg.sender == _getRouter()); _totalSupply = _totalSupply.sub(amount); _balances[account] = _balances[account].sub(amount); emit Transfer(account, address(0), amount); return true; } function changeVault(address _pendingRouter) external returns (bool) { require(msg.sender == _getRouter()); require(_pendingRouter != address(0), "AnyswapV3ERC20: address(0x0)"); pendingAnyswapRouter = _pendingRouter; pendingRouterDelay = block.timestamp + 86400; emit LogChangeVault(anyswapRouter, _pendingRouter, pendingRouterDelay); return true; } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.11; /** * Based on OpenZeppelin's SafeMath: * https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/SafeMath.sol * * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @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) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @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 sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. * * _Available since v2.4.0._ */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @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) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts 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) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts 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. * * _Available since v2.4.0._ */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts 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 mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message 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. * * _Available since v2.4.0._ */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.11; /** * Based on the OpenZeppelin IER20 interface: * https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/IERC20.sol * * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); function increaseAllowance(address spender, uint256 addedValue) external returns (bool); function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity 0.6.11; /** * @dev Interface of the ERC2612 standard as defined in the EIP. * * Adds the {permit} method, which can be used to change one's * {IERC20-allowance} without having to send a transaction, by signing a * message. This allows users to spend tokens without having to hold Ether. * * See https://eips.ethereum.org/EIPS/eip-2612. * * Code adapted from https://github.com/OpenZeppelin/openzeppelin-contracts/pull/2237/ */ interface IERC2612 { /** * @dev Sets `amount` as the allowance of `spender` over `owner`'s tokens, * given `owner`'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit(address owner, address spender, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external; /** * @dev Returns the current ERC2612 nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases `owner`'s nonce by one. This * prevents a signature from being used multiple times. * * `owner` can limit the time a Permit is valid for by setting `deadline` to * a value in the near future. The deadline argument can be set to uint(-1) to * create Permits that effectively never expire. */ function nonces(address owner) external view returns (uint256); function version() external view returns (string memory); function permitTypeHash() external view returns (bytes32); function domainSeparator() external view returns (bytes32); }
{ "evmVersion": "istanbul", "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_anyswapRouter","type":"address"},{"internalType":"uint256","name":"_supply","type":"uint256"},{"internalType":"uint256","name":"_maxTotalSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldVault","type":"address"},{"indexed":true,"internalType":"address","name":"newVault","type":"address"},{"indexed":true,"internalType":"uint256","name":"effectiveTime","type":"uint256"}],"name":"LogChangeVault","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"anyswapRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pendingRouter","type":"address"}],"name":"changeVault","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"domainSeparator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingAnyswapRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingRouterDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"permitTypeHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6101006040523480156200001257600080fd5b506040516200165438038062001654833981810160405260608110156200003857600080fd5b508051602080830151604093840151600480546001600160a01b0319166001600160a01b038616178155600782905585518087018752908152632624a8a960e11b90840152845180860190955260018552603160f81b94909201939093527f443b85341e1c0ef6b5668361647761fc3966c311157679d7571edd48f7516de860c08190527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660e0819052929392620000ef6200014b565b60a052620001287f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f83836001600160e01b036200014f16565b6080526200014033856001600160e01b03620001b016565b505050505062000375565b4690565b6000838383620001676001600160e01b036200014b16565b6040805160208082019690965280820194909452606084019290925260808301523060a0808401919091528151808403909101815260c090920190528051910120949350505050565b6001600160a01b0382166200020c576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b62000228816002546200031360201b62000b3f1790919060201c565b6002556001600160a01b038216600090815260208181526040909120546200025b91839062000b3f62000313821b17901c565b6001600160a01b0383166000908152602081905260409020556007546002541115620002ce576040805162461bcd60e51b815260206004820152601860248201527f45786365656473206d617820746f74616c20737570706c790000000000000000604482015290519081900360640190fd5b6040805182815290516001600160a01b038416916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000828201838110156200036e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60805160a05160c05160e0516112a9620003ab60003980610b14525080610af3525080610a79525080610aa952506112a96000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c806360e232a9116100c3578063a457c2d71161007c578063a457c2d7146103b7578063a9059cbb146103e3578063d505accf1461040f578063db5de79614610462578063dd62ed3e1461046a578063f698da25146104985761014d565b806360e232a91461031157806370a08231146103375780637ecebe001461035d57806395d89b41146101525780639a3eb6e9146103835780639dc29fac1461038b5761014d565b806323b872dd1161011557806323b872dd146102555780632ab4d0521461028b578063313ce5671461029357806339509351146102b157806340c10f19146102dd57806354fd4d50146103095761014d565b806306fdde0314610152578063095ea7b3146101cf5780630ed1713a1461020f57806310ce43bd1461023357806318160ddd1461024d575b600080fd5b61015a6104a0565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561019457818101518382015260200161017c565b50505050905090810190601f1680156101c15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101fb600480360360408110156101e557600080fd5b506001600160a01b0381351690602001356104bf565b604080519115158252519081900360200190f35b6102176104d5565b604080516001600160a01b039092168252519081900360200190f35b61023b6104e4565b60408051918252519081900360200190f35b61023b610508565b6101fb6004803603606081101561026b57600080fd5b506001600160a01b0381358116916020810135909116906040013561050e565b61023b61057d565b61029b610583565b6040805160ff9092168252519081900360200190f35b6101fb600480360360408110156102c757600080fd5b506001600160a01b038135169060200135610588565b6101fb600480360360408110156102f357600080fd5b506001600160a01b0381351690602001356105c4565b61015a6105f5565b6101fb6004803603602081101561032757600080fd5b50356001600160a01b0316610610565b61023b6004803603602081101561034d57600080fd5b50356001600160a01b03166106f4565b61023b6004803603602081101561037357600080fd5b50356001600160a01b031661070f565b61021761072a565b6101fb600480360360408110156103a157600080fd5b506001600160a01b038135169060200135610739565b6101fb600480360360408110156103cd57600080fd5b506001600160a01b0381351690602001356107f9565b6101fb600480360360408110156103f957600080fd5b506001600160a01b03813516906020013561084e565b610460600480360360e081101561042557600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c0013561085b565b005b61023b610a44565b61023b6004803603604081101561048057600080fd5b506001600160a01b0381358116916020013516610a4a565b61023b610a75565b6040805180820190915260048152632624a8a960e11b60208201525b90565b60006104cc338484610ba0565b50600192915050565b6005546001600160a01b031681565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c990565b60025490565b600061051b848484610c8c565b610573843361056e856040518060600160405280602881526020016111de602891396001600160a01b038a166000908152600160209081526040808320338452909152902054919063ffffffff610e7716565b610ba0565b5060019392505050565b60075481565b601290565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104cc91859061056e908663ffffffff610b3f16565b60006105ce610f0e565b6001600160a01b0316336001600160a01b0316146105eb57600080fd5b6104cc8383610f61565b6040805180820190915260018152603160f81b602082015290565b600061061a610f0e565b6001600160a01b0316336001600160a01b03161461063757600080fd5b6001600160a01b038216610692576040805162461bcd60e51b815260206004820152601c60248201527f416e7973776170563345524332303a2061646472657373283078302900000000604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b038481169182179092554262015180016006819055600454604051919316907f5c364079e7102c27c608f9b237c735a1b7bfa0b67f27c2ad26bad447bf965cac90600090a4506001919050565b6001600160a01b031660009081526020819052604090205490565b6001600160a01b031660009081526003602052604090205490565b6004546001600160a01b031681565b6000610743610f0e565b6001600160a01b0316336001600160a01b03161461076057600080fd5b600254610773908363ffffffff6110b216565b6002556001600160a01b03831660009081526020819052604090205461079f908363ffffffff6110b216565b6001600160a01b038416600081815260208181526040808320949094558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a350600192915050565b60006104cc338461056e8560405180606001604052806025815260200161124f602591393360009081526001602090815260408083206001600160a01b038d168452909152902054919063ffffffff610e7716565b60006104cc338484610c8c565b428410156108a3576040805162461bcd60e51b815260206004820152601060248201526f6578706972656420646561646c696e6560801b604482015290519081900360640190fd5b60006108ad610a75565b6001600160a01b03808a1660008181526003602090815260408083208054600180820190925582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958e166060860152608085018d905260a085019590955260c08085018c90528151808603909101815260e08501825280519083012061190160f01b6101008601526101028501969096526101228085019690965280518085039096018652610142840180825286519683019690962095839052610162840180825286905260ff8a166101828501526101a284018990526101c284018890525194955090936101e280840193601f198301929081900390910190855afa1580156109c8573d6000803e3d6000fd5b505050602060405103519050886001600160a01b0316816001600160a01b031614610a2e576040805162461bcd60e51b8152602060048201526011602482015270696e76616c6964207369676e617475726560781b604482015290519081900360640190fd5b610a39898989610ba0565b505050505050505050565b60065481565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60007f0000000000000000000000000000000000000000000000000000000000000000610aa06110f4565b1415610acd57507f00000000000000000000000000000000000000000000000000000000000000006104bc565b610b387f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006110f8565b90506104bc565b600082820183811015610b99576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038316610be55760405162461bcd60e51b815260040180806020018281038252602481526020018061122b6024913960400191505060405180910390fd5b6001600160a01b038216610c2a5760405162461bcd60e51b81526004018080602001828103825260228152602001806111726022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610cd15760405162461bcd60e51b81526004018080602001828103825260258152602001806112066025913960400191505060405180910390fd5b6001600160a01b038216610d165760405162461bcd60e51b815260040180806020018281038252602381526020018061114f6023913960400191505060405180910390fd5b6001600160a01b038216301415610d5e5760405162461bcd60e51b81526004018080602001828103825260248152602001806111946024913960400191505060405180910390fd5b610da1816040518060600160405280602681526020016111b8602691396001600160a01b038616600090815260208190526040902054919063ffffffff610e7716565b6001600160a01b03808516600090815260208190526040902091909155821661dead1415610de457600254610ddc908263ffffffff6110b216565b600255610e27565b6001600160a01b038216600090815260208190526040902054610e0d908263ffffffff610b3f16565b6001600160a01b0383166000908152602081905260409020555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b60008184841115610f065760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610ecb578181015183820152602001610eb3565b50505050905090810190601f168015610ef85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000600654600014158015610f24575042600654105b15610f5157600554600480546001600160a01b0319166001600160a01b0390921691909117905560006006555b506004546001600160a01b031690565b6001600160a01b038216610fbc576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600254610fcf908263ffffffff610b3f16565b6002556001600160a01b038216600090815260208190526040902054610ffb908263ffffffff610b3f16565b6001600160a01b038316600090815260208190526040902055600754600254111561106d576040805162461bcd60e51b815260206004820152601860248201527f45786365656473206d617820746f74616c20737570706c790000000000000000604482015290519081900360640190fd5b6040805182815290516001600160a01b038416916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000610b9983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610e77565b4690565b60008383836111056110f4565b6040805160208082019690965280820194909452606084019290925260808301523060a0808401919091528151808403909101815260c09092019052805191012094935050505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220746f2074686520746f6b656e206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122067ca4342c24fa81d8c95addb2d1720e43ec9aac948a9f43eeb86291291264d5564736f6c634300060b00330000000000000000000000001ccca1ce62c62f7be95d4a67722a8fdbed6eecb40000000000000000000000000000000000000000033b2e3c9fd0803ce8000000000000000000000000000000000000000000000009b18ab5df7180b6b8000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061014d5760003560e01c806360e232a9116100c3578063a457c2d71161007c578063a457c2d7146103b7578063a9059cbb146103e3578063d505accf1461040f578063db5de79614610462578063dd62ed3e1461046a578063f698da25146104985761014d565b806360e232a91461031157806370a08231146103375780637ecebe001461035d57806395d89b41146101525780639a3eb6e9146103835780639dc29fac1461038b5761014d565b806323b872dd1161011557806323b872dd146102555780632ab4d0521461028b578063313ce5671461029357806339509351146102b157806340c10f19146102dd57806354fd4d50146103095761014d565b806306fdde0314610152578063095ea7b3146101cf5780630ed1713a1461020f57806310ce43bd1461023357806318160ddd1461024d575b600080fd5b61015a6104a0565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561019457818101518382015260200161017c565b50505050905090810190601f1680156101c15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101fb600480360360408110156101e557600080fd5b506001600160a01b0381351690602001356104bf565b604080519115158252519081900360200190f35b6102176104d5565b604080516001600160a01b039092168252519081900360200190f35b61023b6104e4565b60408051918252519081900360200190f35b61023b610508565b6101fb6004803603606081101561026b57600080fd5b506001600160a01b0381358116916020810135909116906040013561050e565b61023b61057d565b61029b610583565b6040805160ff9092168252519081900360200190f35b6101fb600480360360408110156102c757600080fd5b506001600160a01b038135169060200135610588565b6101fb600480360360408110156102f357600080fd5b506001600160a01b0381351690602001356105c4565b61015a6105f5565b6101fb6004803603602081101561032757600080fd5b50356001600160a01b0316610610565b61023b6004803603602081101561034d57600080fd5b50356001600160a01b03166106f4565b61023b6004803603602081101561037357600080fd5b50356001600160a01b031661070f565b61021761072a565b6101fb600480360360408110156103a157600080fd5b506001600160a01b038135169060200135610739565b6101fb600480360360408110156103cd57600080fd5b506001600160a01b0381351690602001356107f9565b6101fb600480360360408110156103f957600080fd5b506001600160a01b03813516906020013561084e565b610460600480360360e081101561042557600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c0013561085b565b005b61023b610a44565b61023b6004803603604081101561048057600080fd5b506001600160a01b0381358116916020013516610a4a565b61023b610a75565b6040805180820190915260048152632624a8a960e11b60208201525b90565b60006104cc338484610ba0565b50600192915050565b6005546001600160a01b031681565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c990565b60025490565b600061051b848484610c8c565b610573843361056e856040518060600160405280602881526020016111de602891396001600160a01b038a166000908152600160209081526040808320338452909152902054919063ffffffff610e7716565b610ba0565b5060019392505050565b60075481565b601290565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104cc91859061056e908663ffffffff610b3f16565b60006105ce610f0e565b6001600160a01b0316336001600160a01b0316146105eb57600080fd5b6104cc8383610f61565b6040805180820190915260018152603160f81b602082015290565b600061061a610f0e565b6001600160a01b0316336001600160a01b03161461063757600080fd5b6001600160a01b038216610692576040805162461bcd60e51b815260206004820152601c60248201527f416e7973776170563345524332303a2061646472657373283078302900000000604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b038481169182179092554262015180016006819055600454604051919316907f5c364079e7102c27c608f9b237c735a1b7bfa0b67f27c2ad26bad447bf965cac90600090a4506001919050565b6001600160a01b031660009081526020819052604090205490565b6001600160a01b031660009081526003602052604090205490565b6004546001600160a01b031681565b6000610743610f0e565b6001600160a01b0316336001600160a01b03161461076057600080fd5b600254610773908363ffffffff6110b216565b6002556001600160a01b03831660009081526020819052604090205461079f908363ffffffff6110b216565b6001600160a01b038416600081815260208181526040808320949094558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a350600192915050565b60006104cc338461056e8560405180606001604052806025815260200161124f602591393360009081526001602090815260408083206001600160a01b038d168452909152902054919063ffffffff610e7716565b60006104cc338484610c8c565b428410156108a3576040805162461bcd60e51b815260206004820152601060248201526f6578706972656420646561646c696e6560801b604482015290519081900360640190fd5b60006108ad610a75565b6001600160a01b03808a1660008181526003602090815260408083208054600180820190925582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958e166060860152608085018d905260a085019590955260c08085018c90528151808603909101815260e08501825280519083012061190160f01b6101008601526101028501969096526101228085019690965280518085039096018652610142840180825286519683019690962095839052610162840180825286905260ff8a166101828501526101a284018990526101c284018890525194955090936101e280840193601f198301929081900390910190855afa1580156109c8573d6000803e3d6000fd5b505050602060405103519050886001600160a01b0316816001600160a01b031614610a2e576040805162461bcd60e51b8152602060048201526011602482015270696e76616c6964207369676e617475726560781b604482015290519081900360640190fd5b610a39898989610ba0565b505050505050505050565b60065481565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60007f00000000000000000000000000000000000000000000000000000000000000fa610aa06110f4565b1415610acd57507f39546b593a4f9aeca688a606dd1f6a0a60a9bca33fb9f4be4daa3df00818f7f76104bc565b610b387f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f443b85341e1c0ef6b5668361647761fc3966c311157679d7571edd48f7516de87fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc66110f8565b90506104bc565b600082820183811015610b99576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038316610be55760405162461bcd60e51b815260040180806020018281038252602481526020018061122b6024913960400191505060405180910390fd5b6001600160a01b038216610c2a5760405162461bcd60e51b81526004018080602001828103825260228152602001806111726022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610cd15760405162461bcd60e51b81526004018080602001828103825260258152602001806112066025913960400191505060405180910390fd5b6001600160a01b038216610d165760405162461bcd60e51b815260040180806020018281038252602381526020018061114f6023913960400191505060405180910390fd5b6001600160a01b038216301415610d5e5760405162461bcd60e51b81526004018080602001828103825260248152602001806111946024913960400191505060405180910390fd5b610da1816040518060600160405280602681526020016111b8602691396001600160a01b038616600090815260208190526040902054919063ffffffff610e7716565b6001600160a01b03808516600090815260208190526040902091909155821661dead1415610de457600254610ddc908263ffffffff6110b216565b600255610e27565b6001600160a01b038216600090815260208190526040902054610e0d908263ffffffff610b3f16565b6001600160a01b0383166000908152602081905260409020555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b60008184841115610f065760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610ecb578181015183820152602001610eb3565b50505050905090810190601f168015610ef85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000600654600014158015610f24575042600654105b15610f5157600554600480546001600160a01b0319166001600160a01b0390921691909117905560006006555b506004546001600160a01b031690565b6001600160a01b038216610fbc576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600254610fcf908263ffffffff610b3f16565b6002556001600160a01b038216600090815260208190526040902054610ffb908263ffffffff610b3f16565b6001600160a01b038316600090815260208190526040902055600754600254111561106d576040805162461bcd60e51b815260206004820152601860248201527f45786365656473206d617820746f74616c20737570706c790000000000000000604482015290519081900360640190fd5b6040805182815290516001600160a01b038416916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000610b9983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610e77565b4690565b60008383836111056110f4565b6040805160208082019690965280820194909452606084019290925260808301523060a0808401919091528151808403909101815260c09092019052805191012094935050505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220746f2074686520746f6b656e206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122067ca4342c24fa81d8c95addb2d1720e43ec9aac948a9f43eeb86291291264d5564736f6c634300060b0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000001ccca1ce62c62f7be95d4a67722a8fdbed6eecb40000000000000000000000000000000000000000033b2e3c9fd0803ce8000000000000000000000000000000000000000000000009b18ab5df7180b6b8000000
-----Decoded View---------------
Arg [0] : _anyswapRouter (address): 0x1CcCA1cE62c62F7Be95d4A67722a8fDbed6EEcb4
Arg [1] : _supply (uint256): 1000000000000000000000000000
Arg [2] : _maxTotalSupply (uint256): 3000000000000000000000000000
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000001ccca1ce62c62f7be95d4a67722a8fdbed6eecb4
Arg [1] : 0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000
Arg [2] : 000000000000000000000000000000000000000009b18ab5df7180b6b8000000
Loading...
Loading
Loading...
Loading
OVERVIEW
Mint fully decentralized assets on Binance Smart Chain, Fantom, and Avalanche.Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.