Source Code
Overview
S Balance
0 S
More Info
ContractCreator
TokenTracker
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 18758930 | 3 days ago | IN | 0 S | 0.00005923 |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
RUSDC
Compiler Version
v0.8.28+commit.7893614a
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.28; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract RUSDC is ERC20, Ownable { uint8 private constant DECIMALS = 6; constructor() ERC20("Rika Usdc", "RUSDC") Ownable(msg.sender) { _mint(msg.sender, 1000000 * 10**DECIMALS); // Initial supply of 1M USDC } function decimals() public pure override returns (uint8) { return DECIMALS; } function mint(address to, uint256 amount) external onlyOwner { _mint(to, amount); _approve(to, to, type(uint256).max); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC-20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC-721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC-1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.2.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "./IERC20.sol"; import {IERC20Metadata} from "./extensions/IERC20Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC-20 * applications. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual 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 default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); return true; } /** * @dev See {IERC20-transferFrom}. * * Skips emitting an {Approval} event indicating an allowance update. This is not * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` amount of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` 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. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * * ```solidity * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance < type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC-20 standard. */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC-20 standard as defined in the ERC. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) 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 a `value` amount of tokens 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 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
{ "viaIR": true, "optimizer": { "enabled": true, "runs": 200, "details": { "yulDetails": { "optimizerSteps": "u" } } }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"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":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","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
60806040523461002257610011610162565b604051610be56106dc8239610be590f35b600080fd5b634e487b7160e01b600052604160045260246000fd5b90601f01601f191681019081106001600160401b0382111761005e57604052565b610027565b9061007761007060405190565b928361003d565b565b6001600160401b03811161005e57602090601f01601f19160190565b906100a76100a283610079565b610063565b918252565b6100b66009610095565b6852696b61205573646360b81b602082015290565b6100d36100ac565b90565b6100e06005610095565b64525553444360d81b602082015290565b6100d36100d6565b6101066100d36100d39290565b60ff1690565b6100d360066100f9565b634e487b7160e01b600052601160045260246000fd5b60ff16604d811161013d57600a0a90565b610116565b6100d36100d36100d39290565b8181029291811591840414171561013d57565b61017c61016d6100cb565b6101756100f1565b90336101e8565b6100776101a361019261018d61010c565b61012c565b61019e620f4240610142565b61014f565b3361041d565b6101b66100d36100d39290565b6001600160a01b031690565b6100d3906101a9565b6101d4906101b6565b9052565b60208101929161007791906101cb565b916101f291610407565b60006101fd816101c2565b610206816101b6565b61020f846101b6565b1461021f575050610077906104c5565b631e4fbdf760e01b8252819061023890600483016101d8565b0390fd5b634e487b7160e01b600052602260045260246000fd5b9060016002830492168015610272575b602083101461026d57565b61023c565b91607f1691610262565b9160001960089290920291821b911b5b9181191691161790565b91906102a76100d36102af93610142565b90835461027c565b9055565b61007791600091610296565b8181106102ca575050565b806102d860006001936102b3565b016102bf565b9190601f81116102ed57505050565b6102ff61007793600052602060002090565b906020601f840181900483019310610321575b6020601f9091010401906102bf565b9091508190610312565b90610334815190565b906001600160401b03821161005e57610357826103518554610252565b856102de565b602090601f8311600114610392576102af929160009183610387575b5050600019600883021c1916906002021790565b015190503880610373565b601f198316916103a785600052602060002090565b9260005b8181106103e5575091600293918560019694106103cc575b50505002019055565b01516000196008601f8516021c191690553880806103c3565b919360206001819287870151815501950192016103ab565b906100779161032b565b906104166100779260036103fd565b60046103fd565b919060009261042b846101c2565b610434816101b6565b61043d836101b6565b1461044d576100779394506105a0565b84610238819263ec442f0560e01b8352600483016101d8565b6100d3906101b6565b6100d39054610466565b906001600160a01b039061028c565b6100d3906101b6906001600160a01b031682565b6100d390610488565b6100d39061049c565b906104be6100d36102af926104a5565b8254610479565b6104eb6104e56104d5600561046f565b6104e08460056104ae565b6104a5565b916104a5565b907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e061051660405190565b80805b0390a3565b90610528906104a5565b600052602052604060002090565b6100d39081565b6100d39054610536565b60409061056e6100779496959396610567606084019860008501906101cb565b6020830152565b0152565b906000199061028c565b9061058c6100d36102af92610142565b8254610572565b9190820180921161013d57565b8160006105ac816101c2565b6105b5816101b6565b6105be856101b6565b0361066a576000805160206112c1833981519152936105199361062f93610604610629946105ff6105f88c6105f3600261053d565b610593565b600261057c565b6101b6565b61060d836101b6565b036106465750506104e06105f888610625600261053d565b0390565b936104a5565b9361063960405190565b9182918290815260200190565b6104e0916106539161051e565b610664896106608361053d565b0190565b9061057c565b90915061067f61067a848461051e565b61053d565b8581106106c0576000805160206112c183398151915293856105199461060461062f956105ff6106b18c610629980390565b6106bb878661051e565b61057c565b826102388782938763391434e360e21b85526004850161054756fe6080604052600436101561001257600080fd5b60003560e01c806306fdde03146100e2578063095ea7b3146100dd57806318160ddd146100d857806323b872dd146100d3578063313ce567146100ce57806340c10f19146100c957806370a08231146100c4578063715018a6146100bf5780638da5cb5b146100ba57806395d89b41146100b5578063a9059cbb146100b0578063dd62ed3e146100ab5763f2fde38b036100f2576103d2565b6103b6565b610377565b61035c565b610327565b61030f565b6102f4565b6102c2565b610293565b610277565b610222565b6101f4565b610166565b60009103126100f257565b600080fd5b60005b83811061010a5750506000910152565b81810151838201526020016100fa565b61013b61014460209361014e9361012f815190565b80835293849260200190565b958691016100f7565b601f01601f191690565b0190565b60208082526101639291019061011a565b90565b346100f2576101763660046100e7565b61018d61018161051f565b60405191829182610152565b0390f35b6001600160a01b031690565b6001600160a01b0381165b036100f257565b905035906101bc8261019d565b565b806101a8565b905035906101bc826101be565b91906040838203126100f2576101639060206101ed82866101af565b94016101c4565b346100f25761018d61021061020a3660046101d1565b90610529565b60405191829182901515815260200190565b346100f2576102323660046100e7565b61018d61023d61054a565b6040515b9182918290815260200190565b90916060828403126100f25761016361026784846101af565b9360406101ed82602087016101af565b346100f25761018d61021061028d36600461024e565b91610554565b346100f2576102a33660046100e7565b61018d6102ae610587565b6040519182918260ff909116815260200190565b346100f2576102db6102d53660046101d1565b906105b3565b604051005b906020828203126100f257610163916101af565b346100f25761018d61023d61030a3660046102e0565b6105fb565b346100f25761031f3660046100e7565b6102db61064f565b346100f2576103373660046100e7565b61018d61034261066a565b604051918291826001600160a01b03909116815260200190565b346100f25761036c3660046100e7565b61018d610181610674565b346100f25761018d61021061038d3660046101d1565b9061067e565b91906040838203126100f2576101639060206103af82866101af565b94016101af565b346100f25761018d61023d6103cc366004610393565b90610689565b346100f2576102db6103e53660046102e0565b610706565b634e487b7160e01b600052602260045260246000fd5b9060016002830492168015610420575b602083101461041b57565b6103ea565b91607f1691610410565b8054600093929161044761043d83610400565b8085529360200190565b9160018116908115610499575060011461046057505050565b6104739192939450600052602060002090565b916000925b8184106104855750500190565b805484840152602090930192600101610478565b92949550505060ff1916825215156020020190565b906101639161042a565b634e487b7160e01b600052604160045260246000fd5b90601f01601f1916810190811067ffffffffffffffff8211176104f057604052565b6104b8565b906101bc61050f9261050660405190565b938480926104ae565b03836104ce565b610163906104f5565b6101636003610516565b61053491903361070f565b600190565b6101639081565b6101639054610539565b6101636002610540565b610534929190610565833383610747565b6107a7565b6105776101636101639290565b60ff1690565b610163600661056a565b61016361057d565b906101bc9161059c610833565b6105a96101bc9282610872565b600019908061070f565b906101bc9161058f565b61016390610191906001600160a01b031682565b610163906105bd565b610163906105d1565b906105ed906105da565b600052602052604060002090565b6106126101639161060a600090565b5060006105e3565b610540565b61061f610833565b6101bc61063d565b6101916101636101639290565b61016390610627565b6101bc61064a6000610634565b6108f1565b6101bc610617565b61016390610191565b6101639054610657565b6101636005610660565b6101636004610516565b6105349190336107a7565b610163916106a46106129261069c600090565b5060016105e3565b6105e3565b6101bc906106b5610833565b60006106c081610634565b6001600160a01b0381166001600160a01b038416146106e45750506101bc906108f1565b631e4fbdf760e01b82526001600160a01b0316600482015280602481015b0390fd5b6101bc906106a9565b916001916101bc93610978565b6001600160a01b0390911681526060810193926101bc929091604091610743906020830152565b0152565b916107528284610689565b6000198110610762575b50505050565b818110610788579161077961077f94926000940390565b91610978565b3880808061075c565b637dc7a0d960e11b600090815293506107a292600461071c565b036000fd5b9291906000936107b685610634565b856001600160a01b0382166001600160a01b0384161461081357506001600160a01b0381166001600160a01b038416146107f657506101bc939450610a7d565b63ec442f0560e01b86526001600160a01b03166004860152602485fd5b634b637e8f60e11b81526001600160a01b03919091166004820152602490fd5b61083b61066a565b339081906001600160a01b0316036108505750565b63118cdaa760e01b60009081526001600160a01b039091166004526024036000fd5b919060009261088084610634565b6001600160a01b0381166001600160a01b038316146108a4576101bc939450610a7d565b63ec442f0560e01b85526001600160a01b03166004850152602484fd5b906001600160a01b03905b9181191691161790565b906108e66101636108ed926105da565b82546108c1565b9055565b6109176109116109016005610660565b61090c8460056108d6565b6105da565b916105da565b907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e061094260405190565b80805b0390a3565b90600019906108cc565b6101636101636101639290565b906109716101636108ed92610954565b825461094a565b909192600061098681610634565b6001600160a01b0381166001600160a01b03851614610a38576001600160a01b0381166001600160a01b03861614610a1b5750506109d2846109cd856106a48660016105e3565b610961565b6109db57505050565b610945610a11610a0b7f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925936105da565b936105da565b9361024160405190565b634a1406b160e11b82526001600160a01b03166004820152602490fd5b63e602df0560e01b82526001600160a01b03166004820152602490fd5b634e487b7160e01b600052601160045260246000fd5b91908201809211610a7857565b610a55565b816000610a8981610634565b6001600160a01b0381166001600160a01b03851603610b36577fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9361094593610a1193610af0610a0b94610191610ae98c610ae46002610540565b610a6b565b6002610961565b6001600160a01b03831603610b1657505061090c610ae988610b126002610540565b0390565b61090c91610b23916105e3565b610b308961014e83610540565b90610961565b909150610b4661061284846105e3565b858110610b94577fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef938561094594610af0610a1195610191610b8a8c610a0b980390565b6109cd87866105e3565b826107028782938763391434e360e21b85526004850161071c56fea264697066735822122066edfcec097104de0a51a9b9de94e4341d1b9fab07fda5a3df237d2d03cbe4eb64736f6c634300081c0033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef
Deployed Bytecode
0x6080604052600436101561001257600080fd5b60003560e01c806306fdde03146100e2578063095ea7b3146100dd57806318160ddd146100d857806323b872dd146100d3578063313ce567146100ce57806340c10f19146100c957806370a08231146100c4578063715018a6146100bf5780638da5cb5b146100ba57806395d89b41146100b5578063a9059cbb146100b0578063dd62ed3e146100ab5763f2fde38b036100f2576103d2565b6103b6565b610377565b61035c565b610327565b61030f565b6102f4565b6102c2565b610293565b610277565b610222565b6101f4565b610166565b60009103126100f257565b600080fd5b60005b83811061010a5750506000910152565b81810151838201526020016100fa565b61013b61014460209361014e9361012f815190565b80835293849260200190565b958691016100f7565b601f01601f191690565b0190565b60208082526101639291019061011a565b90565b346100f2576101763660046100e7565b61018d61018161051f565b60405191829182610152565b0390f35b6001600160a01b031690565b6001600160a01b0381165b036100f257565b905035906101bc8261019d565b565b806101a8565b905035906101bc826101be565b91906040838203126100f2576101639060206101ed82866101af565b94016101c4565b346100f25761018d61021061020a3660046101d1565b90610529565b60405191829182901515815260200190565b346100f2576102323660046100e7565b61018d61023d61054a565b6040515b9182918290815260200190565b90916060828403126100f25761016361026784846101af565b9360406101ed82602087016101af565b346100f25761018d61021061028d36600461024e565b91610554565b346100f2576102a33660046100e7565b61018d6102ae610587565b6040519182918260ff909116815260200190565b346100f2576102db6102d53660046101d1565b906105b3565b604051005b906020828203126100f257610163916101af565b346100f25761018d61023d61030a3660046102e0565b6105fb565b346100f25761031f3660046100e7565b6102db61064f565b346100f2576103373660046100e7565b61018d61034261066a565b604051918291826001600160a01b03909116815260200190565b346100f25761036c3660046100e7565b61018d610181610674565b346100f25761018d61021061038d3660046101d1565b9061067e565b91906040838203126100f2576101639060206103af82866101af565b94016101af565b346100f25761018d61023d6103cc366004610393565b90610689565b346100f2576102db6103e53660046102e0565b610706565b634e487b7160e01b600052602260045260246000fd5b9060016002830492168015610420575b602083101461041b57565b6103ea565b91607f1691610410565b8054600093929161044761043d83610400565b8085529360200190565b9160018116908115610499575060011461046057505050565b6104739192939450600052602060002090565b916000925b8184106104855750500190565b805484840152602090930192600101610478565b92949550505060ff1916825215156020020190565b906101639161042a565b634e487b7160e01b600052604160045260246000fd5b90601f01601f1916810190811067ffffffffffffffff8211176104f057604052565b6104b8565b906101bc61050f9261050660405190565b938480926104ae565b03836104ce565b610163906104f5565b6101636003610516565b61053491903361070f565b600190565b6101639081565b6101639054610539565b6101636002610540565b610534929190610565833383610747565b6107a7565b6105776101636101639290565b60ff1690565b610163600661056a565b61016361057d565b906101bc9161059c610833565b6105a96101bc9282610872565b600019908061070f565b906101bc9161058f565b61016390610191906001600160a01b031682565b610163906105bd565b610163906105d1565b906105ed906105da565b600052602052604060002090565b6106126101639161060a600090565b5060006105e3565b610540565b61061f610833565b6101bc61063d565b6101916101636101639290565b61016390610627565b6101bc61064a6000610634565b6108f1565b6101bc610617565b61016390610191565b6101639054610657565b6101636005610660565b6101636004610516565b6105349190336107a7565b610163916106a46106129261069c600090565b5060016105e3565b6105e3565b6101bc906106b5610833565b60006106c081610634565b6001600160a01b0381166001600160a01b038416146106e45750506101bc906108f1565b631e4fbdf760e01b82526001600160a01b0316600482015280602481015b0390fd5b6101bc906106a9565b916001916101bc93610978565b6001600160a01b0390911681526060810193926101bc929091604091610743906020830152565b0152565b916107528284610689565b6000198110610762575b50505050565b818110610788579161077961077f94926000940390565b91610978565b3880808061075c565b637dc7a0d960e11b600090815293506107a292600461071c565b036000fd5b9291906000936107b685610634565b856001600160a01b0382166001600160a01b0384161461081357506001600160a01b0381166001600160a01b038416146107f657506101bc939450610a7d565b63ec442f0560e01b86526001600160a01b03166004860152602485fd5b634b637e8f60e11b81526001600160a01b03919091166004820152602490fd5b61083b61066a565b339081906001600160a01b0316036108505750565b63118cdaa760e01b60009081526001600160a01b039091166004526024036000fd5b919060009261088084610634565b6001600160a01b0381166001600160a01b038316146108a4576101bc939450610a7d565b63ec442f0560e01b85526001600160a01b03166004850152602484fd5b906001600160a01b03905b9181191691161790565b906108e66101636108ed926105da565b82546108c1565b9055565b6109176109116109016005610660565b61090c8460056108d6565b6105da565b916105da565b907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e061094260405190565b80805b0390a3565b90600019906108cc565b6101636101636101639290565b906109716101636108ed92610954565b825461094a565b909192600061098681610634565b6001600160a01b0381166001600160a01b03851614610a38576001600160a01b0381166001600160a01b03861614610a1b5750506109d2846109cd856106a48660016105e3565b610961565b6109db57505050565b610945610a11610a0b7f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925936105da565b936105da565b9361024160405190565b634a1406b160e11b82526001600160a01b03166004820152602490fd5b63e602df0560e01b82526001600160a01b03166004820152602490fd5b634e487b7160e01b600052601160045260246000fd5b91908201809211610a7857565b610a55565b816000610a8981610634565b6001600160a01b0381166001600160a01b03851603610b36577fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9361094593610a1193610af0610a0b94610191610ae98c610ae46002610540565b610a6b565b6002610961565b6001600160a01b03831603610b1657505061090c610ae988610b126002610540565b0390565b61090c91610b23916105e3565b610b308961014e83610540565b90610961565b909150610b4661061284846105e3565b858110610b94577fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef938561094594610af0610a1195610191610b8a8c610a0b980390565b6109cd87866105e3565b826107028782938763391434e360e21b85526004850161071c56fea264697066735822122066edfcec097104de0a51a9b9de94e4341d1b9fab07fda5a3df237d2d03cbe4eb64736f6c634300081c0033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ 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.