Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 17 from a total of 17 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 13452149 | 1134 days ago | IN | 0 ETH | 0.06914292 | ||||
0x69bd1cf4 | 12116009 | 1341 days ago | IN | 0 ETH | 0.00398114 | ||||
0x69bd1cf4 | 12113636 | 1342 days ago | IN | 0 ETH | 0.00235444 | ||||
0x69bd1cf4 | 12111862 | 1342 days ago | IN | 0 ETH | 0.00291308 | ||||
0x69bd1cf4 | 12107774 | 1343 days ago | IN | 0 ETH | 0.00316779 | ||||
0x69bd1cf4 | 12102290 | 1343 days ago | IN | 0 ETH | 0.00464466 | ||||
0x69bd1cf4 | 12098868 | 1344 days ago | IN | 0 ETH | 0.00348457 | ||||
0x69bd1cf4 | 12098724 | 1344 days ago | IN | 0 ETH | 0.00329835 | ||||
0x69bd1cf4 | 12096776 | 1344 days ago | IN | 0 ETH | 0.00455905 | ||||
0x69bd1cf4 | 12096012 | 1344 days ago | IN | 0 ETH | 0.0037671 | ||||
0x69bd1cf4 | 12095508 | 1344 days ago | IN | 0 ETH | 0.00263269 | ||||
0x69bd1cf4 | 12095340 | 1345 days ago | IN | 0 ETH | 0.0027183 | ||||
0x69bd1cf4 | 12095279 | 1345 days ago | IN | 0 ETH | 0.00258988 | ||||
0x69bd1cf4 | 12095089 | 1345 days ago | IN | 0 ETH | 0.00261128 | ||||
0x69bd1cf4 | 12095046 | 1345 days ago | IN | 0 ETH | 0.00280392 | ||||
0x69bd1cf4 | 12094609 | 1345 days ago | IN | 0 ETH | 0.00256848 | ||||
0x69bd1cf4 | 12094298 | 1345 days ago | IN | 0 ETH | 0.00273971 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
ArcheToken
Compiler Version
v0.7.6+commit.7338295f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-10-20 */ // SPDX-License-Identifier: MIT pragma solidity >=0.6.2 <0.8.0; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 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"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // solhint-disable-next-line compiler-version pragma solidity >=0.4.24 <0.8.0; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {UpgradeableProxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Modifier to protect an initializer function from being invoked twice. */ modifier initializer() { require(_initializing || _isConstructor() || !_initialized, "Initializable: contract is already initialized"); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } /// @dev Returns true if and only if the function is running in the constructor function _isConstructor() private view returns (bool) { return !AddressUpgradeable.isContract(address(this)); } } pragma solidity >=0.6.0 <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 GSN 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 ContextUpgradeable is Initializable { function __Context_init() internal initializer { __Context_init_unchained(); } function __Context_init_unchained() internal initializer { } function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } uint256[50] private __gap; } pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20Upgradeable { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } pragma solidity >=0.6.0 <0.8.0; /** * @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 SafeMathUpgradeable { /** * @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) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { 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) { // 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) { 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) { 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) { 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) { require(b <= a, "SafeMath: subtraction overflow"); 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) { 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, reverting 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) { require(b > 0, "SafeMath: division by zero"); 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) { require(b > 0, "SafeMath: modulo by zero"); 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) { 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. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * 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) { 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) { require(b > 0, errorMessage); return a % b; } } pragma solidity >=0.6.0 <0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20Upgradeable { using SafeMathUpgradeable for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ function __ERC20_init(string memory name_, string memory symbol_) internal initializer { __Context_init_unchained(); __ERC20_init_unchained(name_, symbol_); } function __ERC20_init_unchained(string memory name_, string memory symbol_) internal initializer { _name = name_; _symbol = symbol_; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual 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 {_setupDecimals} is * called. * * 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 returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {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) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal virtual { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } uint256[44] private __gap; } pragma solidity ^0.7.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Initializable, ContextUpgradeable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); function __Ownable_init_unchained() internal initializer { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } uint256[49] private __gap; } /** * Yanlong:Submitted for verification at Etherscan.io on 2021-10-20 */ pragma solidity ^0.7.0; contract ArcheToken is ERC20Upgradeable, Ownable { using SafeMathUpgradeable for uint256; function initialize( string memory name_, string memory symbol_, uint256 totalCount_) public initializer { __ERC20_init(name_, symbol_); __Ownable_init_unchained(); _mint(_msgSender(), totalCount_); } /** * @dev Large transfer out * @param from user address * @param amount count */ function burn(address from, uint256 amount) external onlyOwner returns (bool) { _burn(from, amount); return true; } /** * @dev Large transfer * @param to user address * @param amount count */ function mint(address to, uint256 amount) external onlyOwner returns (bool){ _mint(to, amount); return true; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","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":[{"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":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"totalCount_","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b506115c8806100206000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80638da5cb5b11610097578063a9059cbb11610066578063a9059cbb14610332578063b119490e1461035e578063dd62ed3e1461048f578063f2fde38b146104bd57610100565b80638da5cb5b146102ae57806395d89b41146102d25780639dc29fac146102da578063a457c2d71461030657610100565b8063313ce567116100d3578063313ce56714610212578063395093511461023057806340c10f191461025c57806370a082311461028857610100565b806306fdde0314610105578063095ea7b31461018257806318160ddd146101c257806323b872dd146101dc575b600080fd5b61010d6104e3565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561014757818101518382015260200161012f565b50505050905090810190601f1680156101745780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101ae6004803603604081101561019857600080fd5b506001600160a01b038135169060200135610579565b604080519115158252519081900360200190f35b6101ca610596565b60408051918252519081900360200190f35b6101ae600480360360608110156101f257600080fd5b506001600160a01b0381358116916020810135909116906040013561059c565b61021a610623565b6040805160ff9092168252519081900360200190f35b6101ae6004803603604081101561024657600080fd5b506001600160a01b03813516906020013561062c565b6101ae6004803603604081101561027257600080fd5b506001600160a01b03813516906020013561067a565b6101ca6004803603602081101561029e57600080fd5b50356001600160a01b03166106fa565b6102b6610715565b604080516001600160a01b039092168252519081900360200190f35b61010d610724565b6101ae600480360360408110156102f057600080fd5b506001600160a01b038135169060200135610785565b6101ae6004803603604081101561031c57600080fd5b506001600160a01b038135169060200135610805565b6101ae6004803603604081101561034857600080fd5b506001600160a01b03813516906020013561086d565b61048d6004803603606081101561037457600080fd5b81019060208101813564010000000081111561038f57600080fd5b8201836020820111156103a157600080fd5b803590602001918460018302840111640100000000831117156103c357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561041657600080fd5b82018360208201111561042857600080fd5b8035906020019184600183028401116401000000008311171561044a57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250610881915050565b005b6101ca600480360360408110156104a557600080fd5b506001600160a01b0381358116916020013516610949565b61048d600480360360208110156104d357600080fd5b50356001600160a01b0316610974565b60368054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561056f5780601f106105445761010080835404028352916020019161056f565b820191906000526020600020905b81548152906001019060200180831161055257829003601f168201915b5050505050905090565b600061058d610586610a89565b8484610a8d565b50600192915050565b60355490565b60006105a9848484610b79565b610619846105b5610a89565b610614856040518060600160405280602881526020016114dc602891396001600160a01b038a166000908152603460205260408120906105f3610a89565b6001600160a01b031681526020810191909152604001600020549190610cd6565b610a8d565b5060019392505050565b60385460ff1690565b600061058d610639610a89565b84610614856034600061064a610a89565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610d6d565b6000610684610a89565b6001600160a01b0316610695610715565b6001600160a01b0316146106f0576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61058d8383610dce565b6001600160a01b031660009081526033602052604090205490565b6065546001600160a01b031690565b60378054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561056f5780601f106105445761010080835404028352916020019161056f565b600061078f610a89565b6001600160a01b03166107a0610715565b6001600160a01b0316146107fb576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61058d8383610ec0565b600061058d610812610a89565b846106148560405180606001604052806025815260200161156e602591396034600061083c610a89565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610cd6565b600061058d61087a610a89565b8484610b79565b600054610100900460ff168061089a575061089a610fbc565b806108a8575060005460ff16155b6108e35760405162461bcd60e51b815260040180806020018281038252602e8152602001806114ae602e913960400191505060405180910390fd5b600054610100900460ff1615801561090e576000805460ff1961ff0019909116610100171660011790555b6109188484610fcd565b610920611083565b61093161092b610a89565b83610dce565b8015610943576000805461ff00191690555b50505050565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b61097c610a89565b6001600160a01b031661098d610715565b6001600160a01b0316146109e8576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610a2d5760405162461bcd60e51b81526004018080602001828103825260268152602001806114406026913960400191505060405180910390fd5b6065546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3606580546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160a01b038316610ad25760405162461bcd60e51b815260040180806020018281038252602481526020018061154a6024913960400191505060405180910390fd5b6001600160a01b038216610b175760405162461bcd60e51b81526004018080602001828103825260228152602001806114666022913960400191505060405180910390fd5b6001600160a01b03808416600081815260346020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610bbe5760405162461bcd60e51b81526004018080602001828103825260258152602001806115256025913960400191505060405180910390fd5b6001600160a01b038216610c035760405162461bcd60e51b81526004018080602001828103825260238152602001806113fb6023913960400191505060405180910390fd5b610c0e83838361107e565b610c4b81604051806060016040528060268152602001611488602691396001600160a01b0386166000908152603360205260409020549190610cd6565b6001600160a01b038085166000908152603360205260408082209390935590841681522054610c7a9082610d6d565b6001600160a01b0380841660008181526033602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610d655760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d2a578181015183820152602001610d12565b50505050905090810190601f168015610d575780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610dc7576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610e29576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610e356000838361107e565b603554610e429082610d6d565b6035556001600160a01b038216600090815260336020526040902054610e689082610d6d565b6001600160a01b03831660008181526033602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038216610f055760405162461bcd60e51b81526004018080602001828103825260218152602001806115046021913960400191505060405180910390fd5b610f118260008361107e565b610f4e8160405180606001604052806022815260200161141e602291396001600160a01b0385166000908152603360205260409020549190610cd6565b6001600160a01b038316600090815260336020526040902055603554610f74908261117d565b6035556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000610fc7306111da565b15905090565b600054610100900460ff1680610fe65750610fe6610fbc565b80610ff4575060005460ff16155b61102f5760405162461bcd60e51b815260040180806020018281038252602e8152602001806114ae602e913960400191505060405180910390fd5b600054610100900460ff1615801561105a576000805460ff1961ff0019909116610100171660011790555b6110626111e0565b61106c8383611281565b801561107e576000805461ff00191690555b505050565b600054610100900460ff168061109c575061109c610fbc565b806110aa575060005460ff16155b6110e55760405162461bcd60e51b815260040180806020018281038252602e8152602001806114ae602e913960400191505060405180910390fd5b600054610100900460ff16158015611110576000805460ff1961ff0019909116610100171660011790555b600061111a610a89565b606580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350801561117a576000805461ff00191690555b50565b6000828211156111d4576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b3b151590565b600054610100900460ff16806111f957506111f9610fbc565b80611207575060005460ff16155b6112425760405162461bcd60e51b815260040180806020018281038252602e8152602001806114ae602e913960400191505060405180910390fd5b600054610100900460ff1615801561126d576000805460ff1961ff0019909116610100171660011790555b801561117a576000805461ff001916905550565b600054610100900460ff168061129a575061129a610fbc565b806112a8575060005460ff16155b6112e35760405162461bcd60e51b815260040180806020018281038252602e8152602001806114ae602e913960400191505060405180910390fd5b600054610100900460ff1615801561130e576000805460ff1961ff0019909116610100171660011790555b8251611321906036906020860190611359565b508151611335906037906020850190611359565b506038805460ff19166012179055801561107e576000805461ff0019169055505050565b828054600181600116156101000203166002900490600052602060002090601f01602090048101928261138f57600085556113d5565b82601f106113a857805160ff19168380011785556113d5565b828001600101855582156113d5579182015b828111156113d55782518255916020019190600101906113ba565b506113e19291506113e5565b5090565b5b808211156113e157600081556001016113e656fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a656445524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220b176ad501168038d71a1719eec75c7fa3929dfddb14a07ababd504e53106cd9164736f6c63430007060033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101005760003560e01c80638da5cb5b11610097578063a9059cbb11610066578063a9059cbb14610332578063b119490e1461035e578063dd62ed3e1461048f578063f2fde38b146104bd57610100565b80638da5cb5b146102ae57806395d89b41146102d25780639dc29fac146102da578063a457c2d71461030657610100565b8063313ce567116100d3578063313ce56714610212578063395093511461023057806340c10f191461025c57806370a082311461028857610100565b806306fdde0314610105578063095ea7b31461018257806318160ddd146101c257806323b872dd146101dc575b600080fd5b61010d6104e3565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561014757818101518382015260200161012f565b50505050905090810190601f1680156101745780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101ae6004803603604081101561019857600080fd5b506001600160a01b038135169060200135610579565b604080519115158252519081900360200190f35b6101ca610596565b60408051918252519081900360200190f35b6101ae600480360360608110156101f257600080fd5b506001600160a01b0381358116916020810135909116906040013561059c565b61021a610623565b6040805160ff9092168252519081900360200190f35b6101ae6004803603604081101561024657600080fd5b506001600160a01b03813516906020013561062c565b6101ae6004803603604081101561027257600080fd5b506001600160a01b03813516906020013561067a565b6101ca6004803603602081101561029e57600080fd5b50356001600160a01b03166106fa565b6102b6610715565b604080516001600160a01b039092168252519081900360200190f35b61010d610724565b6101ae600480360360408110156102f057600080fd5b506001600160a01b038135169060200135610785565b6101ae6004803603604081101561031c57600080fd5b506001600160a01b038135169060200135610805565b6101ae6004803603604081101561034857600080fd5b506001600160a01b03813516906020013561086d565b61048d6004803603606081101561037457600080fd5b81019060208101813564010000000081111561038f57600080fd5b8201836020820111156103a157600080fd5b803590602001918460018302840111640100000000831117156103c357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561041657600080fd5b82018360208201111561042857600080fd5b8035906020019184600183028401116401000000008311171561044a57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250610881915050565b005b6101ca600480360360408110156104a557600080fd5b506001600160a01b0381358116916020013516610949565b61048d600480360360208110156104d357600080fd5b50356001600160a01b0316610974565b60368054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561056f5780601f106105445761010080835404028352916020019161056f565b820191906000526020600020905b81548152906001019060200180831161055257829003601f168201915b5050505050905090565b600061058d610586610a89565b8484610a8d565b50600192915050565b60355490565b60006105a9848484610b79565b610619846105b5610a89565b610614856040518060600160405280602881526020016114dc602891396001600160a01b038a166000908152603460205260408120906105f3610a89565b6001600160a01b031681526020810191909152604001600020549190610cd6565b610a8d565b5060019392505050565b60385460ff1690565b600061058d610639610a89565b84610614856034600061064a610a89565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610d6d565b6000610684610a89565b6001600160a01b0316610695610715565b6001600160a01b0316146106f0576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61058d8383610dce565b6001600160a01b031660009081526033602052604090205490565b6065546001600160a01b031690565b60378054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561056f5780601f106105445761010080835404028352916020019161056f565b600061078f610a89565b6001600160a01b03166107a0610715565b6001600160a01b0316146107fb576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61058d8383610ec0565b600061058d610812610a89565b846106148560405180606001604052806025815260200161156e602591396034600061083c610a89565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610cd6565b600061058d61087a610a89565b8484610b79565b600054610100900460ff168061089a575061089a610fbc565b806108a8575060005460ff16155b6108e35760405162461bcd60e51b815260040180806020018281038252602e8152602001806114ae602e913960400191505060405180910390fd5b600054610100900460ff1615801561090e576000805460ff1961ff0019909116610100171660011790555b6109188484610fcd565b610920611083565b61093161092b610a89565b83610dce565b8015610943576000805461ff00191690555b50505050565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b61097c610a89565b6001600160a01b031661098d610715565b6001600160a01b0316146109e8576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610a2d5760405162461bcd60e51b81526004018080602001828103825260268152602001806114406026913960400191505060405180910390fd5b6065546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3606580546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160a01b038316610ad25760405162461bcd60e51b815260040180806020018281038252602481526020018061154a6024913960400191505060405180910390fd5b6001600160a01b038216610b175760405162461bcd60e51b81526004018080602001828103825260228152602001806114666022913960400191505060405180910390fd5b6001600160a01b03808416600081815260346020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610bbe5760405162461bcd60e51b81526004018080602001828103825260258152602001806115256025913960400191505060405180910390fd5b6001600160a01b038216610c035760405162461bcd60e51b81526004018080602001828103825260238152602001806113fb6023913960400191505060405180910390fd5b610c0e83838361107e565b610c4b81604051806060016040528060268152602001611488602691396001600160a01b0386166000908152603360205260409020549190610cd6565b6001600160a01b038085166000908152603360205260408082209390935590841681522054610c7a9082610d6d565b6001600160a01b0380841660008181526033602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610d655760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d2a578181015183820152602001610d12565b50505050905090810190601f168015610d575780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610dc7576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610e29576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610e356000838361107e565b603554610e429082610d6d565b6035556001600160a01b038216600090815260336020526040902054610e689082610d6d565b6001600160a01b03831660008181526033602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038216610f055760405162461bcd60e51b81526004018080602001828103825260218152602001806115046021913960400191505060405180910390fd5b610f118260008361107e565b610f4e8160405180606001604052806022815260200161141e602291396001600160a01b0385166000908152603360205260409020549190610cd6565b6001600160a01b038316600090815260336020526040902055603554610f74908261117d565b6035556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000610fc7306111da565b15905090565b600054610100900460ff1680610fe65750610fe6610fbc565b80610ff4575060005460ff16155b61102f5760405162461bcd60e51b815260040180806020018281038252602e8152602001806114ae602e913960400191505060405180910390fd5b600054610100900460ff1615801561105a576000805460ff1961ff0019909116610100171660011790555b6110626111e0565b61106c8383611281565b801561107e576000805461ff00191690555b505050565b600054610100900460ff168061109c575061109c610fbc565b806110aa575060005460ff16155b6110e55760405162461bcd60e51b815260040180806020018281038252602e8152602001806114ae602e913960400191505060405180910390fd5b600054610100900460ff16158015611110576000805460ff1961ff0019909116610100171660011790555b600061111a610a89565b606580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350801561117a576000805461ff00191690555b50565b6000828211156111d4576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b3b151590565b600054610100900460ff16806111f957506111f9610fbc565b80611207575060005460ff16155b6112425760405162461bcd60e51b815260040180806020018281038252602e8152602001806114ae602e913960400191505060405180910390fd5b600054610100900460ff1615801561126d576000805460ff1961ff0019909116610100171660011790555b801561117a576000805461ff001916905550565b600054610100900460ff168061129a575061129a610fbc565b806112a8575060005460ff16155b6112e35760405162461bcd60e51b815260040180806020018281038252602e8152602001806114ae602e913960400191505060405180910390fd5b600054610100900460ff1615801561130e576000805460ff1961ff0019909116610100171660011790555b8251611321906036906020860190611359565b508151611335906037906020850190611359565b506038805460ff19166012179055801561107e576000805461ff0019169055505050565b828054600181600116156101000203166002900490600052602060002090601f01602090048101928261138f57600085556113d5565b82601f106113a857805160ff19168380011785556113d5565b828001600101855582156113d5579182015b828111156113d55782518255916020019190600101906113ba565b506113e19291506113e5565b5090565b5b808211156113e157600081556001016113e656fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a656445524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220b176ad501168038d71a1719eec75c7fa3929dfddb14a07ababd504e53106cd9164736f6c63430007060033
Deployed Bytecode Sourcemap
33570:872:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22804:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24950:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;24950:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;23903:108;;;:::i;:::-;;;;;;;;;;;;;;;;25601:321;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;25601:321:0;;;;;;;;;;;;;;;;;:::i;23747:91::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26331:218;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26331:218:0;;;;;;;;:::i;34306:133::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;34306:133:0;;;;;;;;:::i;24074:127::-;;;;;;;;;;;;;;;;-1:-1:-1;24074:127:0;-1:-1:-1;;;;;24074:127:0;;:::i;32717:87::-;;;:::i;:::-;;;;-1:-1:-1;;;;;32717:87:0;;;;;;;;;;;;;;23014:95;;;:::i;34055:138::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;34055:138:0;;;;;;;;:::i;27052:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;27052:269:0;;;;;;;;:::i;24414:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;24414:175:0;;;;;;;;:::i;33672:264::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33672:264:0;;;;;;;;-1:-1:-1;33672:264:0;;-1:-1:-1;;33672:264:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33672:264:0;;-1:-1:-1;;33672:264:0;;;-1:-1:-1;33672:264:0;;-1:-1:-1;;33672:264:0:i;:::-;;24652:151;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;24652:151:0;;;;;;;;;;:::i;33172:244::-;;;;;;;;;;;;;;;;-1:-1:-1;33172:244:0;-1:-1:-1;;;;;33172:244:0;;:::i;22804:91::-;22882:5;22875:12;;;;;;;;-1:-1:-1;;22875:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22849:13;;22875:12;;22882:5;;22875:12;;22882:5;22875:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22804:91;:::o;24950:169::-;25033:4;25050:39;25059:12;:10;:12::i;:::-;25073:7;25082:6;25050:8;:39::i;:::-;-1:-1:-1;25107:4:0;24950:169;;;;:::o;23903:108::-;23991:12;;23903:108;:::o;25601:321::-;25707:4;25724:36;25734:6;25742:9;25753:6;25724:9;:36::i;:::-;25771:121;25780:6;25788:12;:10;:12::i;:::-;25802:89;25840:6;25802:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25802:19:0;;;;;;:11;:19;;;;;;25822:12;:10;:12::i;:::-;-1:-1:-1;;;;;25802:33:0;;;;;;;;;;;;-1:-1:-1;25802:33:0;;;:89;:37;:89::i;:::-;25771:8;:121::i;:::-;-1:-1:-1;25910:4:0;25601:321;;;;;:::o;23747:91::-;23821:9;;;;23747:91;:::o;26331:218::-;26419:4;26436:83;26445:12;:10;:12::i;:::-;26459:7;26468:50;26507:10;26468:11;:25;26480:12;:10;:12::i;:::-;-1:-1:-1;;;;;26468:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;26468:25:0;;;:34;;;;;;;;;;;:38;:50::i;34306:133::-;34376:4;32948:12;:10;:12::i;:::-;-1:-1:-1;;;;;32937:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;32937:23:0;;32929:68;;;;;-1:-1:-1;;;32929:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34392:17:::1;34398:2;34402:6;34392:5;:17::i;24074:127::-:0;-1:-1:-1;;;;;24175:18:0;24148:7;24175:18;;;:9;:18;;;;;;;24074:127::o;32717:87::-;32790:6;;-1:-1:-1;;;;;32790:6:0;32717:87;:::o;23014:95::-;23094:7;23087:14;;;;;;;;-1:-1:-1;;23087:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23061:13;;23087:14;;23094:7;;23087:14;;23094:7;23087:14;;;;;;;;;;;;;;;;;;;;;;;;34055:138;34127:4;32948:12;:10;:12::i;:::-;-1:-1:-1;;;;;32937:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;32937:23:0;;32929:68;;;;;-1:-1:-1;;;32929:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34144:19:::1;34150:4;34156:6;34144:5;:19::i;27052:269::-:0;27145:4;27162:129;27171:12;:10;:12::i;:::-;27185:7;27194:96;27233:15;27194:96;;;;;;;;;;;;;;;;;:11;:25;27206:12;:10;:12::i;:::-;-1:-1:-1;;;;;27194:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;27194:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;24414:175::-;24500:4;24517:42;24527:12;:10;:12::i;:::-;24541:9;24552:6;24517:9;:42::i;33672:264::-;8486:13;;;;;;;;:33;;;8503:16;:14;:16::i;:::-;8486:50;;;-1:-1:-1;8524:12:0;;;;8523:13;8486:50;8478:109;;;;-1:-1:-1;;;8478:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8600:19;8623:13;;;;;;8622:14;8647:101;;;;8682:13;:20;;-1:-1:-1;;;;8682:20:0;;;;;8717:19;8698:4;8717:19;;;8647:101;33820:28:::1;33833:5;33840:7;33820:12;:28::i;:::-;33859:26;:24;:26::i;:::-;33896:32;33902:12;:10;:12::i;:::-;33916:11;33896:5;:32::i;:::-;8778:14:::0;8774:68;;;8825:5;8809:21;;-1:-1:-1;;8809:21:0;;;8774:68;33672:264;;;;:::o;24652:151::-;-1:-1:-1;;;;;24768:18:0;;;24741:7;24768:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;24652:151::o;33172:244::-;32948:12;:10;:12::i;:::-;-1:-1:-1;;;;;32937:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;32937:23:0;;32929:68;;;;;-1:-1:-1;;;32929:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33261:22:0;::::1;33253:73;;;;-1:-1:-1::0;;;33253:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33363:6;::::0;33342:38:::1;::::0;-1:-1:-1;;;;;33342:38:0;;::::1;::::0;33363:6:::1;::::0;33342:38:::1;::::0;33363:6:::1;::::0;33342:38:::1;33391:6;:17:::0;;-1:-1:-1;;;;;;33391:17:0::1;-1:-1:-1::0;;;;;33391:17:0;;;::::1;::::0;;;::::1;::::0;;33172:244::o;9853:106::-;9941:10;9853:106;:::o;30199:346::-;-1:-1:-1;;;;;30301:19:0;;30293:68;;;;-1:-1:-1;;;30293:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30380:21:0;;30372:68;;;;-1:-1:-1;;;30372:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30453:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;30505:32;;;;;;;;;;;;;;;;;30199:346;;;:::o;27811:539::-;-1:-1:-1;;;;;27917:20:0;;27909:70;;;;-1:-1:-1;;;27909:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27998:23:0;;27990:71;;;;-1:-1:-1;;;27990:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28074:47;28095:6;28103:9;28114:6;28074:20;:47::i;:::-;28154:71;28176:6;28154:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28154:17:0;;;;;;:9;:17;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;28134:17:0;;;;;;;:9;:17;;;;;;:91;;;;28259:20;;;;;;;:32;;28284:6;28259:24;:32::i;:::-;-1:-1:-1;;;;;28236:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;28307:35;;;;;;;28236:20;;28307:35;;;;;;;;;;;;;27811:539;;;:::o;18579:166::-;18665:7;18701:12;18693:6;;;;18685:29;;;;-1:-1:-1;;;18685:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;18732:5:0;;;18579:166::o;15752:179::-;15810:7;15842:5;;;15866:6;;;;15858:46;;;;;-1:-1:-1;;;15858:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15922:1;15752:179;-1:-1:-1;;;15752:179:0:o;28632:378::-;-1:-1:-1;;;;;28716:21:0;;28708:65;;;;;-1:-1:-1;;;28708:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28786:49;28815:1;28819:7;28828:6;28786:20;:49::i;:::-;28863:12;;:24;;28880:6;28863:16;:24::i;:::-;28848:12;:39;-1:-1:-1;;;;;28919:18:0;;;;;;:9;:18;;;;;;:30;;28942:6;28919:22;:30::i;:::-;-1:-1:-1;;;;;28898:18:0;;;;;;:9;:18;;;;;;;;:51;;;;28965:37;;;;;;;28898:18;;;;28965:37;;;;;;;;;;28632:378;;:::o;29343:418::-;-1:-1:-1;;;;;29427:21:0;;29419:67;;;;-1:-1:-1;;;29419:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29499:49;29520:7;29537:1;29541:6;29499:20;:49::i;:::-;29582:68;29605:6;29582:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29582:18:0;;;;;;:9;:18;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;29561:18:0;;;;;;:9;:18;;;;;:89;29676:12;;:24;;29693:6;29676:16;:24::i;:::-;29661:12;:39;29716:37;;;;;;;;29742:1;;-1:-1:-1;;;;;29716:37:0;;;;;;;;;;;;29343:418;;:::o;8942:125::-;8990:4;9015:44;9053:4;9015:29;:44::i;:::-;9014:45;9007:52;;8942:125;:::o;22363:181::-;8486:13;;;;;;;;:33;;;8503:16;:14;:16::i;:::-;8486:50;;;-1:-1:-1;8524:12:0;;;;8523:13;8486:50;8478:109;;;;-1:-1:-1;;;8478:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8600:19;8623:13;;;;;;8622:14;8647:101;;;;8682:13;:20;;-1:-1:-1;;;;8682:20:0;;;;;8717:19;8698:4;8717:19;;;8647:101;22461:26:::1;:24;:26::i;:::-;22498:38;22521:5;22528:7;22498:22;:38::i;:::-;8778:14:::0;8774:68;;;8825:5;8809:21;;-1:-1:-1;;8809:21:0;;;8774:68;22363:181;;;:::o;32440:196::-;8486:13;;;;;;;;:33;;;8503:16;:14;:16::i;:::-;8486:50;;;-1:-1:-1;8524:12:0;;;;8523:13;8486:50;8478:109;;;;-1:-1:-1;;;8478:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8600:19;8623:13;;;;;;8622:14;8647:101;;;;8682:13;:20;;-1:-1:-1;;;;8682:20:0;;;;;8717:19;8698:4;8717:19;;;8647:101;32508:17:::1;32528:12;:10;:12::i;:::-;32551:6;:18:::0;;-1:-1:-1;;;;;;32551:18:0::1;-1:-1:-1::0;;;;;32551:18:0;::::1;::::0;;::::1;::::0;;;32585:43:::1;::::0;32551:18;;-1:-1:-1;32551:18:0;-1:-1:-1;;32585:43:0::1;::::0;-1:-1:-1;;32585:43:0::1;8760:1;8778:14:::0;8774:68;;;8825:5;8809:21;;-1:-1:-1;;8809:21:0;;;8774:68;32440:196;:::o;16214:158::-;16272:7;16305:1;16300;:6;;16292:49;;;;;-1:-1:-1;;;16292:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16359:5:0;;;16214:158::o;762:422::-;1129:20;1168:8;;;762:422::o;9782:65::-;8486:13;;;;;;;;:33;;;8503:16;:14;:16::i;:::-;8486:50;;;-1:-1:-1;8524:12:0;;;;8523:13;8486:50;8478:109;;;;-1:-1:-1;;;8478:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8600:19;8623:13;;;;;;8622:14;8647:101;;;;8682:13;:20;;-1:-1:-1;;;;8682:20:0;;;;;8717:19;8698:4;8717:19;;;8647:101;8778:14;8774:68;;;8825:5;8809:21;;-1:-1:-1;;8809:21:0;;;9782:65;:::o;22552:182::-;8486:13;;;;;;;;:33;;;8503:16;:14;:16::i;:::-;8486:50;;;-1:-1:-1;8524:12:0;;;;8523:13;8486:50;8478:109;;;;-1:-1:-1;;;8478:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8600:19;8623:13;;;;;;8622:14;8647:101;;;;8682:13;:20;;-1:-1:-1;;;;8682:20:0;;;;;8717:19;8698:4;8717:19;;;8647:101;22660:13;;::::1;::::0;:5:::1;::::0;:13:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;22684:17:0;;::::1;::::0;:7:::1;::::0;:17:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;22712:9:0::1;:14:::0;;-1:-1:-1;;22712:14:0::1;22724:2;22712:14;::::0;;8774:68;;;;8825:5;8809:21;;-1:-1:-1;;8809:21:0;;;22552:182;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;
Swarm Source
ipfs://b176ad501168038d71a1719eec75c7fa3929dfddb14a07ababd504e53106cd91
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ 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.