ERC-20
DeFi
Overview
Max Total Supply
863,694,152.90352164044150919 VCX
Holders
1,434 (0.00%)
Market
Price
$0.04 @ 0.000015 ETH (-0.50%)
Onchain Market Cap
$34,772,155.80
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
180 VCXValue
$7.25 ( ~0.00271528034144342 Eth) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
VCX
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 1000000 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity >=0.8.0; import {IERC20} from "openzeppelin-contracts/contracts/interfaces/IERC20.sol"; import {ERC20} from "solmate/tokens/ERC20.sol"; import {Owned} from "solmate/auth/Owned.sol"; contract VCX is ERC20, Owned { IERC20 internal constant POP = IERC20(0xD0Cd466b34A24fcB2f87676278AF2005Ca8A78c4); uint public endOfMigrationTs; uint256 maxSupply = 1e27; // @dev cant mint more than 1b VCX (100m POP * 10) event Migrated(address indexed user, uint popAmount, uint vcxAmount); event UpdatedEndOfMigrationTs(uint oldTs, uint newTs); constructor( address admin, string memory _name, string memory _symbol ) ERC20(_name, _symbol, 18) Owned(admin) { endOfMigrationTs = block.timestamp + 77 days; } // @param amount the amount of POP you want to migrate function migrate(address to, uint amount) external { if (block.timestamp > endOfMigrationTs) revert("CLOSED"); uint256 toMint = amount * 10; if (totalSupply + toMint > maxSupply) revert("MAX_SUPPLY"); bool success = POP.transferFrom(msg.sender, address(this), amount); if (!success) revert("NOT TRANSFERED"); _mint(to, toMint); emit Migrated(msg.sender, amount, amount * 10); } function setEndOfMigrationTs(uint ts) external onlyOwner { uint old = endOfMigrationTs; endOfMigrationTs = ts; emit UpdatedEndOfMigrationTs(old, ts); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol) pragma solidity ^0.8.0; import "../token/ERC20/IERC20.sol";
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Modern and gas efficient ERC20 + EIP-2612 implementation. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol) /// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol) /// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it. abstract contract ERC20 { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 amount); event Approval(address indexed owner, address indexed spender, uint256 amount); /*////////////////////////////////////////////////////////////// METADATA STORAGE //////////////////////////////////////////////////////////////*/ string public name; string public symbol; uint8 public immutable decimals; /*////////////////////////////////////////////////////////////// ERC20 STORAGE //////////////////////////////////////////////////////////////*/ uint256 public totalSupply; mapping(address => uint256) public balanceOf; mapping(address => mapping(address => uint256)) public allowance; /*////////////////////////////////////////////////////////////// EIP-2612 STORAGE //////////////////////////////////////////////////////////////*/ uint256 internal immutable INITIAL_CHAIN_ID; bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR; mapping(address => uint256) public nonces; /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor( string memory _name, string memory _symbol, uint8 _decimals ) { name = _name; symbol = _symbol; decimals = _decimals; INITIAL_CHAIN_ID = block.chainid; INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator(); } /*////////////////////////////////////////////////////////////// ERC20 LOGIC //////////////////////////////////////////////////////////////*/ function approve(address spender, uint256 amount) public virtual returns (bool) { allowance[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } function transfer(address to, uint256 amount) public virtual returns (bool) { balanceOf[msg.sender] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(msg.sender, to, amount); return true; } function transferFrom( address from, address to, uint256 amount ) public virtual returns (bool) { uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals. if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount; balanceOf[from] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(from, to, amount); return true; } /*////////////////////////////////////////////////////////////// EIP-2612 LOGIC //////////////////////////////////////////////////////////////*/ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual { require(deadline >= block.timestamp, "PERMIT_DEADLINE_EXPIRED"); // Unchecked because the only math done is incrementing // the owner's nonce which cannot realistically overflow. unchecked { address recoveredAddress = ecrecover( keccak256( abi.encodePacked( "\x19\x01", DOMAIN_SEPARATOR(), keccak256( abi.encode( keccak256( "Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)" ), owner, spender, value, nonces[owner]++, deadline ) ) ) ), v, r, s ); require(recoveredAddress != address(0) && recoveredAddress == owner, "INVALID_SIGNER"); allowance[recoveredAddress][spender] = value; } emit Approval(owner, spender, value); } function DOMAIN_SEPARATOR() public view virtual returns (bytes32) { return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator(); } function computeDomainSeparator() internal view virtual returns (bytes32) { return keccak256( abi.encode( keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"), keccak256(bytes(name)), keccak256("1"), block.chainid, address(this) ) ); } /*////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint(address to, uint256 amount) internal virtual { totalSupply += amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(address(0), to, amount); } function _burn(address from, uint256 amount) internal virtual { balanceOf[from] -= amount; // Cannot underflow because a user's balance // will never be larger than the total supply. unchecked { totalSupply -= amount; } emit Transfer(from, address(0), amount); } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Simple single owner authorization mixin. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/auth/Owned.sol) abstract contract Owned { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event OwnershipTransferred(address indexed user, address indexed newOwner); /*////////////////////////////////////////////////////////////// OWNERSHIP STORAGE //////////////////////////////////////////////////////////////*/ address public owner; modifier onlyOwner() virtual { require(msg.sender == owner, "UNAUTHORIZED"); _; } /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(address _owner) { owner = _owner; emit OwnershipTransferred(address(0), _owner); } /*////////////////////////////////////////////////////////////// OWNERSHIP LOGIC //////////////////////////////////////////////////////////////*/ function transferOwnership(address newOwner) public virtual onlyOwner { owner = newOwner; emit OwnershipTransferred(msg.sender, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
{ "remappings": [ "solmate/=lib/solmate/src/", "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/", "openzeppelin-contracts-upgradeable/=lib/popcorn/lib/openzeppelin-contracts-upgradeable/contracts/", "create3-factory/=lib/create3-factory/", "ds-test/=lib/forge-std/lib/ds-test/src/", "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "openzeppelin/=lib/popcorn/lib/openzeppelin-contracts-upgradeable/contracts/", "popcorn/=lib/popcorn/" ], "optimizer": { "enabled": true, "runs": 1000000 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "paris", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"admin","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"popAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"vcxAmount","type":"uint256"}],"name":"Migrated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","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":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldTs","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTs","type":"uint256"}],"name":"UpdatedEndOfMigrationTs","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","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":"","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":"endOfMigrationTs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"ts","type":"uint256"}],"name":"setEndOfMigrationTs","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":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e06040526b033b2e3c9fd0803ce80000006008553480156200002157600080fd5b50604051620017353803806200173583398101604081905262000044916200024b565b8282826012600062000057848262000364565b50600162000066838262000364565b5060ff81166080524660a0526200007c620000ea565b60c0525050600680546001600160a01b0319166001600160a01b0384169081179091556040519091506000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620000dd426265838062000430565b60075550620004d6915050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60006040516200011e919062000458565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001ae57600080fd5b81516001600160401b0380821115620001cb57620001cb62000186565b604051601f8301601f19908116603f01168101908282118183101715620001f657620001f662000186565b816040528381526020925086838588010111156200021357600080fd5b600091505b8382101562000237578582018301518183018401529082019062000218565b600093810190920192909252949350505050565b6000806000606084860312156200026157600080fd5b83516001600160a01b03811681146200027957600080fd5b60208501519093506001600160401b03808211156200029757600080fd5b620002a5878388016200019c565b93506040860151915080821115620002bc57600080fd5b50620002cb868287016200019c565b9150509250925092565b600181811c90821680620002ea57607f821691505b6020821081036200030b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200035f57600081815260208120601f850160051c810160208610156200033a5750805b601f850160051c820191505b818110156200035b5782815560010162000346565b5050505b505050565b81516001600160401b0381111562000380576200038062000186565b6200039881620003918454620002d5565b8462000311565b602080601f831160018114620003d05760008415620003b75750858301515b600019600386901b1c1916600185901b1785556200035b565b600085815260208120601f198616915b828110156200040157888601518255948401946001909101908401620003e0565b5085821015620004205787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200045257634e487b7160e01b600052601160045260246000fd5b92915050565b60008083546200046881620002d5565b600182811680156200048357600181146200049957620004ca565b60ff1984168752821515830287019450620004ca565b8760005260208060002060005b85811015620004c15781548a820152908401908201620004a6565b50505082870194505b50929695505050505050565b60805160a05160c05161122f6200050660003960006105730152600061053e01526000610190015261122f6000f3fe608060405234801561001057600080fd5b506004361061011b5760003560e01c80638da5cb5b116100b2578063a9059cbb11610081578063d505accf11610066578063d505accf1461029d578063dd62ed3e146102b0578063f2fde38b146102db57600080fd5b8063a9059cbb14610277578063ad68ebf71461028a57600080fd5b80638da5cb5b1461020c57806395d89b411461025157806396682cb714610259578063a4bdf8a11461026e57600080fd5b8063313ce567116100ee578063313ce5671461018b5780633644e515146101c457806370a08231146101cc5780637ecebe00146101ec57600080fd5b806306fdde0314610120578063095ea7b31461013e57806318160ddd1461016157806323b872dd14610178575b600080fd5b6101286102ee565b6040516101359190610e66565b60405180910390f35b61015161014c366004610efb565b61037c565b6040519015158152602001610135565b61016a60025481565b604051908152602001610135565b610151610186366004610f25565b6103f6565b6101b27f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610135565b61016a61053a565b61016a6101da366004610f61565b60036020526000908152604090205481565b61016a6101fa366004610f61565b60056020526000908152604090205481565b60065461022c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610135565b610128610595565b61026c610267366004610f83565b6105a2565b005b61016a60075481565b610151610285366004610efb565b61066d565b61026c610298366004610efb565b6106f2565b61026c6102ab366004610f9c565b610943565b61016a6102be36600461100f565b600460209081526000928352604080842090915290825290205481565b61026c6102e9366004610f61565b610c62565b600080546102fb90611042565b80601f016020809104026020016040519081016040528092919081815260200182805461032790611042565b80156103745780601f1061034957610100808354040283529160200191610374565b820191906000526020600020905b81548152906001019060200180831161035757829003601f168201915b505050505081565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103e49086815260200190565b60405180910390a35060015b92915050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526004602090815260408083203384529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461048a5761045883826110c4565b73ffffffffffffffffffffffffffffffffffffffff861660009081526004602090815260408083203384529091529020555b73ffffffffffffffffffffffffffffffffffffffff8516600090815260036020526040812080548592906104bf9084906110c4565b909155505073ffffffffffffffffffffffffffffffffffffffff808516600081815260036020526040908190208054870190555190918716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906105279087815260200190565b60405180910390a3506001949350505050565b60007f000000000000000000000000000000000000000000000000000000000000000046146105705761056b610d54565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b600180546102fb90611042565b60065473ffffffffffffffffffffffffffffffffffffffff163314610628576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f554e415554484f52495a4544000000000000000000000000000000000000000060448201526064015b60405180910390fd5b600780549082905560408051828152602081018490527fbc2b6dd3d7fb10ffce6ffdac78433a4f7dab0229bd55bfca8ae937dc344e86d1910160405180910390a15050565b3360009081526003602052604081208054839190839061068e9084906110c4565b909155505073ffffffffffffffffffffffffffffffffffffffff8316600081815260036020526040908190208054850190555133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906103e49086815260200190565b60075442111561075e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f434c4f5345440000000000000000000000000000000000000000000000000000604482015260640161061f565b600061076b82600a6110d7565b90506008548160025461077e91906110ee565b11156107e6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4d41585f535550504c5900000000000000000000000000000000000000000000604482015260640161061f565b6040517f23b872dd0000000000000000000000000000000000000000000000000000000081523360048201523060248201526044810183905260009073d0cd466b34a24fcb2f87676278af2005ca8a78c4906323b872dd906064016020604051808303816000875af1158015610860573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108849190611101565b9050806108ed576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e4f54205452414e534645524544000000000000000000000000000000000000604482015260640161061f565b6108f78483610dee565b337fd083678824038160bef3975359ab29f19c3f0e9bcf9d7ead540a492d4d678b638461092581600a6110d7565b6040805192835260208301919091520160405180910390a250505050565b428410156109ad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f5045524d49545f444541444c494e455f45585049524544000000000000000000604482015260640161061f565b600060016109b961053a565b73ffffffffffffffffffffffffffffffffffffffff8a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e0830190915280519201919091207f190100000000000000000000000000000000000000000000000000000000000061010083015261010282019290925261012281019190915261014201604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa158015610b0b573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811615801590610b8657508773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b610bec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f494e56414c49445f5349474e4552000000000000000000000000000000000000604482015260640161061f565b73ffffffffffffffffffffffffffffffffffffffff90811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b60065473ffffffffffffffffffffffffffffffffffffffff163314610ce3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f554e415554484f52495a45440000000000000000000000000000000000000000604482015260640161061f565b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff831690811790915560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a350565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051610d869190611123565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b8060026000828254610e0091906110ee565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000818152600360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600060208083528351808285015260005b81811015610e9357858101830151858201604001528201610e77565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610ef657600080fd5b919050565b60008060408385031215610f0e57600080fd5b610f1783610ed2565b946020939093013593505050565b600080600060608486031215610f3a57600080fd5b610f4384610ed2565b9250610f5160208501610ed2565b9150604084013590509250925092565b600060208284031215610f7357600080fd5b610f7c82610ed2565b9392505050565b600060208284031215610f9557600080fd5b5035919050565b600080600080600080600060e0888a031215610fb757600080fd5b610fc088610ed2565b9650610fce60208901610ed2565b95506040880135945060608801359350608088013560ff81168114610ff257600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561102257600080fd5b61102b83610ed2565b915061103960208401610ed2565b90509250929050565b600181811c9082168061105657607f821691505b60208210810361108f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b818103818111156103f0576103f0611095565b80820281158282048414176103f0576103f0611095565b808201808211156103f0576103f0611095565b60006020828403121561111357600080fd5b81518015158114610f7c57600080fd5b600080835481600182811c91508083168061113f57607f831692505b60208084108203611177577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b81801561118b57600181146111be576111eb565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528415158502890196506111eb565b60008a81526020902060005b868110156111e35781548b8201529085019083016111ca565b505084890196505b50949897505050505050505056fea26469706673582212205098dcdb1351514776da60fe57ad73fbfa3b002d1028e21cd390c553c395f3bb64736f6c634300081300330000000000000000000000002c3b135cd7dc6c673b358bef214843dab3464278000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000a5661756c7443726166740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035643580000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061011b5760003560e01c80638da5cb5b116100b2578063a9059cbb11610081578063d505accf11610066578063d505accf1461029d578063dd62ed3e146102b0578063f2fde38b146102db57600080fd5b8063a9059cbb14610277578063ad68ebf71461028a57600080fd5b80638da5cb5b1461020c57806395d89b411461025157806396682cb714610259578063a4bdf8a11461026e57600080fd5b8063313ce567116100ee578063313ce5671461018b5780633644e515146101c457806370a08231146101cc5780637ecebe00146101ec57600080fd5b806306fdde0314610120578063095ea7b31461013e57806318160ddd1461016157806323b872dd14610178575b600080fd5b6101286102ee565b6040516101359190610e66565b60405180910390f35b61015161014c366004610efb565b61037c565b6040519015158152602001610135565b61016a60025481565b604051908152602001610135565b610151610186366004610f25565b6103f6565b6101b27f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff9091168152602001610135565b61016a61053a565b61016a6101da366004610f61565b60036020526000908152604090205481565b61016a6101fa366004610f61565b60056020526000908152604090205481565b60065461022c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610135565b610128610595565b61026c610267366004610f83565b6105a2565b005b61016a60075481565b610151610285366004610efb565b61066d565b61026c610298366004610efb565b6106f2565b61026c6102ab366004610f9c565b610943565b61016a6102be36600461100f565b600460209081526000928352604080842090915290825290205481565b61026c6102e9366004610f61565b610c62565b600080546102fb90611042565b80601f016020809104026020016040519081016040528092919081815260200182805461032790611042565b80156103745780601f1061034957610100808354040283529160200191610374565b820191906000526020600020905b81548152906001019060200180831161035757829003601f168201915b505050505081565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103e49086815260200190565b60405180910390a35060015b92915050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526004602090815260408083203384529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461048a5761045883826110c4565b73ffffffffffffffffffffffffffffffffffffffff861660009081526004602090815260408083203384529091529020555b73ffffffffffffffffffffffffffffffffffffffff8516600090815260036020526040812080548592906104bf9084906110c4565b909155505073ffffffffffffffffffffffffffffffffffffffff808516600081815260036020526040908190208054870190555190918716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906105279087815260200190565b60405180910390a3506001949350505050565b60007f000000000000000000000000000000000000000000000000000000000000000146146105705761056b610d54565b905090565b507f9a4093e2b1e613239df94eb1c7aa69e7d72105b81e51da29b39a502b922c3d4490565b600180546102fb90611042565b60065473ffffffffffffffffffffffffffffffffffffffff163314610628576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f554e415554484f52495a4544000000000000000000000000000000000000000060448201526064015b60405180910390fd5b600780549082905560408051828152602081018490527fbc2b6dd3d7fb10ffce6ffdac78433a4f7dab0229bd55bfca8ae937dc344e86d1910160405180910390a15050565b3360009081526003602052604081208054839190839061068e9084906110c4565b909155505073ffffffffffffffffffffffffffffffffffffffff8316600081815260036020526040908190208054850190555133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906103e49086815260200190565b60075442111561075e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f434c4f5345440000000000000000000000000000000000000000000000000000604482015260640161061f565b600061076b82600a6110d7565b90506008548160025461077e91906110ee565b11156107e6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4d41585f535550504c5900000000000000000000000000000000000000000000604482015260640161061f565b6040517f23b872dd0000000000000000000000000000000000000000000000000000000081523360048201523060248201526044810183905260009073d0cd466b34a24fcb2f87676278af2005ca8a78c4906323b872dd906064016020604051808303816000875af1158015610860573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108849190611101565b9050806108ed576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e4f54205452414e534645524544000000000000000000000000000000000000604482015260640161061f565b6108f78483610dee565b337fd083678824038160bef3975359ab29f19c3f0e9bcf9d7ead540a492d4d678b638461092581600a6110d7565b6040805192835260208301919091520160405180910390a250505050565b428410156109ad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f5045524d49545f444541444c494e455f45585049524544000000000000000000604482015260640161061f565b600060016109b961053a565b73ffffffffffffffffffffffffffffffffffffffff8a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e0830190915280519201919091207f190100000000000000000000000000000000000000000000000000000000000061010083015261010282019290925261012281019190915261014201604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa158015610b0b573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811615801590610b8657508773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b610bec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f494e56414c49445f5349474e4552000000000000000000000000000000000000604482015260640161061f565b73ffffffffffffffffffffffffffffffffffffffff90811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b60065473ffffffffffffffffffffffffffffffffffffffff163314610ce3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f554e415554484f52495a45440000000000000000000000000000000000000000604482015260640161061f565b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff831690811790915560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a350565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051610d869190611123565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b8060026000828254610e0091906110ee565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000818152600360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600060208083528351808285015260005b81811015610e9357858101830151858201604001528201610e77565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610ef657600080fd5b919050565b60008060408385031215610f0e57600080fd5b610f1783610ed2565b946020939093013593505050565b600080600060608486031215610f3a57600080fd5b610f4384610ed2565b9250610f5160208501610ed2565b9150604084013590509250925092565b600060208284031215610f7357600080fd5b610f7c82610ed2565b9392505050565b600060208284031215610f9557600080fd5b5035919050565b600080600080600080600060e0888a031215610fb757600080fd5b610fc088610ed2565b9650610fce60208901610ed2565b95506040880135945060608801359350608088013560ff81168114610ff257600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561102257600080fd5b61102b83610ed2565b915061103960208401610ed2565b90509250929050565b600181811c9082168061105657607f821691505b60208210810361108f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b818103818111156103f0576103f0611095565b80820281158282048414176103f0576103f0611095565b808201808211156103f0576103f0611095565b60006020828403121561111357600080fd5b81518015158114610f7c57600080fd5b600080835481600182811c91508083168061113f57607f831692505b60208084108203611177577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b81801561118b57600181146111be576111eb565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528415158502890196506111eb565b60008a81526020902060005b868110156111e35781548b8201529085019083016111ca565b505084890196505b50949897505050505050505056fea26469706673582212205098dcdb1351514776da60fe57ad73fbfa3b002d1028e21cd390c553c395f3bb64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000002c3b135cd7dc6c673b358bef214843dab3464278000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000a5661756c7443726166740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035643580000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : admin (address): 0x2C3B135cd7dc6C673b358BEF214843DAb3464278
Arg [1] : _name (string): VaultCraft
Arg [2] : _symbol (string): VCX
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000002c3b135cd7dc6c673b358bef214843dab3464278
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [4] : 5661756c74437261667400000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 5643580000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.