Feature Tip: Add private address tag to any address under My Name Tag !
Token migration announcement. VentiSwap Token token contract has migrated to a new address.
ERC-20
Old Contract
Overview
Max Total Supply
0 VST
Holders
453 (0.00%)
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ERC20
Compiler Version
v0.6.2+commit.bacdbe57
Contract Source Code (Solidity)Audit Report
/** *Submitted for verification at Etherscan.io on 2022-04-23 */ // SPDX-License-Identifier: GPL-3.0 pragma solidity 0.6.2; contract ERC20 { string public constant name = "VentiSwap Token"; string public constant symbol = "VST"; uint8 public constant decimals = 18; uint256 public constant totalSupply_ = 100000000000000000000000000; event Approval(address indexed tokenOwner, address indexed spender, uint tokens); event Transfer(address indexed from, address indexed to, uint tokens); mapping(address => uint256) balances; mapping(address => mapping (address => uint256)) allowed; constructor() public { balances[msg.sender] = 100000000000000000000000000; } function balanceOf(address tokenOwner) external view returns (uint) { return balances[tokenOwner]; } function tokenRemaning(address token) external view returns (uint) { return balances[token]; } function transfer(address receiver, uint numTokens) public returns (bool) { uint OwnerBalance=balances[msg.sender]; require(numTokens <= OwnerBalance ,"Don't have enough Tokens..."); balances[msg.sender] = OwnerBalance-numTokens; balances[receiver]+=numTokens; emit Transfer(msg.sender, receiver, numTokens); return true; } function approve(address delegate, uint numTokens) external returns (bool) { allowed[msg.sender][delegate] = numTokens; Approval(msg.sender, delegate, numTokens); return true; } function allowance(address owner, address delegate) external view returns (uint) { return allowed[owner][delegate]; } function transferFrom(address owner, address buyer, uint numTokens) public returns (bool) { uint OwnerBalance=balances[owner]; uint AlowedOwner=allowed[owner][msg.sender]; require(numTokens <= OwnerBalance,"Don't have enough Tokens..."); require(numTokens <= AlowedOwner); balances[owner] = OwnerBalance-numTokens; allowed[owner][msg.sender] =AlowedOwner-numTokens; balances[buyer] +=numTokens; emit Transfer(owner, buyer, numTokens); return true; } }
Contract Security Audit
- Certik - Mar 18th, 2022 - Security Audit Report
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenOwner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokens","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":"tokens","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"delegate","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegate","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenOwner","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":[{"internalType":"address","name":"token","type":"address"}],"name":"tokenRemaning","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply_","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"buyer","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b503360009081526020819052604090206a52b7d2dcc80cd2e400000090556105788061003d6000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c806370a082311161006657806370a08231146101ce57806395d89b41146101f4578063a9059cbb146101fc578063c458820f146101ce578063dd62ed3e146102285761009e565b806306fdde03146100a3578063095ea7b31461012057806323b872dd14610160578063313ce56714610196578063324536eb146101b4575b600080fd5b6100ab610256565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100e55781810151838201526020016100cd565b50505050905090810190601f1680156101125780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61014c6004803603604081101561013657600080fd5b506001600160a01b038135169060200135610281565b604080519115158252519081900360200190f35b61014c6004803603606081101561017657600080fd5b506001600160a01b038135811691602081013590911690604001356102e7565b61019e6103f9565b6040805160ff9092168252519081900360200190f35b6101bc6103fe565b60408051918252519081900360200190f35b6101bc600480360360208110156101e457600080fd5b50356001600160a01b031661040d565b6100ab610428565b61014c6004803603604081101561021257600080fd5b506001600160a01b038135169060200135610447565b6101bc6004803603604081101561023e57600080fd5b506001600160a01b0381358116916020013516610517565b6040518060400160405280600f81526020016e2b32b73a34a9bbb0b8102a37b5b2b760891b81525081565b3360008181526001602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b6001600160a01b038316600090815260208181526040808320546001835281842033855290925282205481841115610366576040805162461bcd60e51b815260206004820152601b60248201527f446f6e2774206861766520656e6f75676820546f6b656e732e2e2e0000000000604482015290519081900360640190fd5b8084111561037357600080fd5b6001600160a01b0380871660008181526020818152604080832089880390556001825280832033845282528083208987039055938916808352828252918490208054890190558351888152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a350600195945050505050565b601281565b6a52b7d2dcc80cd2e400000081565b6001600160a01b031660009081526020819052604090205490565b604051806040016040528060038152602001621594d560ea1b81525081565b33600090815260208190526040812054808311156104ac576040805162461bcd60e51b815260206004820152601b60248201527f446f6e2774206861766520656e6f75676820546f6b656e732e2e2e0000000000604482015290519081900360640190fd5b3360008181526020818152604080832087860390556001600160a01b03881680845292819020805488019055805187815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b6001600160a01b0391821660009081526001602090815260408083209390941682529190915220549056fea26469706673582212204d6d8c3048aec00650a4d59ecee1debc198a1281f9e472cbd122b7a2f0f7456664736f6c63430006020033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061009e5760003560e01c806370a082311161006657806370a08231146101ce57806395d89b41146101f4578063a9059cbb146101fc578063c458820f146101ce578063dd62ed3e146102285761009e565b806306fdde03146100a3578063095ea7b31461012057806323b872dd14610160578063313ce56714610196578063324536eb146101b4575b600080fd5b6100ab610256565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100e55781810151838201526020016100cd565b50505050905090810190601f1680156101125780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61014c6004803603604081101561013657600080fd5b506001600160a01b038135169060200135610281565b604080519115158252519081900360200190f35b61014c6004803603606081101561017657600080fd5b506001600160a01b038135811691602081013590911690604001356102e7565b61019e6103f9565b6040805160ff9092168252519081900360200190f35b6101bc6103fe565b60408051918252519081900360200190f35b6101bc600480360360208110156101e457600080fd5b50356001600160a01b031661040d565b6100ab610428565b61014c6004803603604081101561021257600080fd5b506001600160a01b038135169060200135610447565b6101bc6004803603604081101561023e57600080fd5b506001600160a01b0381358116916020013516610517565b6040518060400160405280600f81526020016e2b32b73a34a9bbb0b8102a37b5b2b760891b81525081565b3360008181526001602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b6001600160a01b038316600090815260208181526040808320546001835281842033855290925282205481841115610366576040805162461bcd60e51b815260206004820152601b60248201527f446f6e2774206861766520656e6f75676820546f6b656e732e2e2e0000000000604482015290519081900360640190fd5b8084111561037357600080fd5b6001600160a01b0380871660008181526020818152604080832089880390556001825280832033845282528083208987039055938916808352828252918490208054890190558351888152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a350600195945050505050565b601281565b6a52b7d2dcc80cd2e400000081565b6001600160a01b031660009081526020819052604090205490565b604051806040016040528060038152602001621594d560ea1b81525081565b33600090815260208190526040812054808311156104ac576040805162461bcd60e51b815260206004820152601b60248201527f446f6e2774206861766520656e6f75676820546f6b656e732e2e2e0000000000604482015290519081900360640190fd5b3360008181526020818152604080832087860390556001600160a01b03881680845292819020805488019055805187815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b6001600160a01b0391821660009081526001602090815260408083209390941682529190915220549056fea26469706673582212204d6d8c3048aec00650a4d59ecee1debc198a1281f9e472cbd122b7a2f0f7456664736f6c63430006020033
Deployed Bytecode Sourcemap
63:2156:0:-:0;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;63:2156:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87:47;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;87:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1315:209;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1315:209:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;1671:545;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1671:545:0;;;;;;;;;;;;;;;;;:::i;185:35::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;229:66;;;:::i;:::-;;;;;;;;;;;;;;;;685:114;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;685:114:0;-1:-1:-1;;;;;685:114:0;;:::i;141:37::-;;;:::i;916:391::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;916:391:0;;;;;;;;:::i;1532:131::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1532:131:0;;;;;;;;;;:::i;87:47::-;;;;;;;;;;;;;;-1:-1:-1;;;87:47:0;;;;:::o;1315:209::-;1409:10;1384:4;1401:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;1401:29:0;;;;;;;;;;;:41;;;1453;;;;;;;1384:4;;1401:29;;1409:10;;1453:41;;;;;;;;-1:-1:-1;1512:4:0;1315:209;;;;:::o;1671:545::-;-1:-1:-1;;;;;1789:15:0;;1755:4;1789:15;;;;;;;;;;;;1831:7;:14;;;;;1846:10;1831:26;;;;;;;;1878:25;;;;1870:64;;;;;-1:-1:-1;;;1870:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1970:11;1957:9;:24;;1949:33;;;;;;-1:-1:-1;;;;;1999:15:0;;;:8;:15;;;;;;;;;;;2017:22;;;1999:40;;2050:7;:14;;;;;2065:10;2050:26;;;;;;;2078:21;;;2050:49;;2110:15;;;;;;;;;;;;;:27;;;;;;2153:33;;;;;;;2110:15;;2153:33;;;;;;;;;;;-1:-1:-1;2204:4:0;;1671:545;-1:-1:-1;;;;;1671:545:0:o;185:35::-;218:2;185:35;:::o;229:66::-;268:27;229:66;:::o;685:114::-;-1:-1:-1;;;;;771:20:0;747:4;771:20;;;;;;;;;;;;685:114::o;141:37::-;;;;;;;;;;;;;;-1:-1:-1;;;141:37:0;;;;:::o;916:391::-;1027:10;984:4;1018:20;;;;;;;;;;;1057:25;;;;1049:65;;;;;-1:-1:-1;;;1049:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1144:10;1135:8;:20;;;;;;;;;;;1158:22;;;1135:45;;-1:-1:-1;;;;;1191:18:0;;;;;;;;;:29;;;;;;1236:41;;;;;;;1191:18;;1144:10;1236:41;;;;;;;;;;;-1:-1:-1;1295:4:0;;916:391;-1:-1:-1;;;916:391:0:o;1532:131::-;-1:-1:-1;;;;;1631:14:0;;;1607:4;1631:14;;;:7;:14;;;;;;;;:24;;;;;;;;;;;;;1532:131::o
Swarm Source
ipfs://4d6d8c3048aec00650a4d59ecee1debc198a1281f9e472cbd122b7a2f0f74566
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.