ERC-20
Overview
Max Total Supply
1,000,000,000 VY
Holders
304
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000000001024132618 VYValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Vyper_contract
Compiler Version
vyper:0.3.7
Contract Source Code (Vyper language format)
# @version 0.3.7 """ @title Vyper Token @license GNU AGPLv3 """ interface IERC20: def totalSupply() -> uint256: view def decimals() -> uint256: view def symbol() -> String[20]: view def name() -> String[100]: view def getOwner() -> address: view def balanceOf(account: address) -> uint256: view def transfer(recipient: address, amount: uint256) -> bool: nonpayable def allowance(_owner: address, spender: address) -> uint256: view def approve(spender: address, amount: uint256): nonpayable def transferFrom( sender: address, recipient: address, amount: uint256 ) -> bool: nonpayable event Transfer: sender: indexed(address) recipient: indexed(address) value: uint256 event Approval: owner: indexed(address) spender: indexed(address) value: uint256 implements: IERC20 _name: constant(String[100]) = "Vyper" _symbol: constant(String[20]) = "VY" _decimals: constant(uint256) = 18 _balances: (HashMap[address, uint256]) _allowances: (HashMap[address, HashMap[address, uint256]]) InitialSupply: constant(uint256) = 1_000_000_000 * 10**_decimals LaunchTimestamp: uint256 deadWallet: constant(address) = 0x000000000000000000000000000000000000dEaD owner: address @external def __init__(): deployerBalance: uint256 = InitialSupply sender: address = msg.sender self._balances[sender] = deployerBalance self.owner = sender log Transfer(empty(address), sender, deployerBalance) @view @external def getBurnedTokens() -> uint256: return self._balances[deadWallet] @view @external def getCirculatingSupply() -> uint256: return InitialSupply - self._balances[deadWallet] @external def SetupEnableTrading(): sender: address = msg.sender assert sender == self.owner, "Ownable: caller is not the owner" assert self.LaunchTimestamp == 0, "AlreadyLaunched" self.LaunchTimestamp = block.timestamp @view @external def getOwner() -> address: return self.owner @view @external def name() -> String[100]: return _name @view @external def symbol() -> String[20]: return _symbol @view @external def decimals() -> uint256: return _decimals @view @external def totalSupply() -> uint256: return InitialSupply @view @external def balanceOf(account: address) -> uint256: return self._balances[account] @nonpayable @external def transfer( recipient: address, amount: uint256 ) -> bool: self._transfer(msg.sender, recipient, amount) return True @view @external def allowance( _owner: address, spender: address ) -> uint256: return self._allowances[_owner][spender] @nonpayable @external def approve( spender: address, amount: uint256 ): self._approve(msg.sender, spender, amount) @external def transferFrom( sender: address, recipient: address, amount: uint256 ) -> bool: self._transfer(sender, recipient, amount) currentAllowance: uint256 = self._allowances[sender][msg.sender] assert currentAllowance >= amount, "Transfer > allowance" self._approve(sender, msg.sender, currentAllowance - amount) return True @external def increaseAllowance( spender: address, addedValue: uint256 ) -> bool: self._approve(msg.sender, spender, self._allowances[msg.sender][spender] + addedValue) return True @external def decreaseAllowance( spender: address, subtractedValue: uint256 ) -> bool: currentAllowance: uint256 = self._allowances[msg.sender][spender] assert currentAllowance >= subtractedValue, "<0 allowance" self._approve(msg.sender, spender, currentAllowance - subtractedValue) return True @external @payable def __default__(): pass @internal def _transfer( sender: address, recipient: address, amount: uint256 ): assert sender != empty(address), "Transfer from zero" assert recipient != empty(address), "Transfer to zero" assert self.LaunchTimestamp > 0, "trading not yet enabled" self._feelessTransfer(sender, recipient, amount) @internal def _feelessTransfer( sender: address, recipient: address, amount: uint256 ): senderBalance: uint256 = self._balances[sender] assert senderBalance >= amount, "Transfer exceeds balance" self._balances[sender] -= amount self._balances[recipient] += amount log Transfer(sender, recipient, amount) @internal def _approve( owner: address, spender: address, amount: uint256 ) -> bool: assert owner != empty(address), "Approve from zero" assert spender != empty(address), "Approve from zero" self._allowances[owner][spender] = amount log Approval(owner, spender, amount) return True
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"name":"Transfer","inputs":[{"name":"sender","type":"address","indexed":true},{"name":"recipient","type":"address","indexed":true},{"name":"value","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"Approval","inputs":[{"name":"owner","type":"address","indexed":true},{"name":"spender","type":"address","indexed":true},{"name":"value","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"stateMutability":"nonpayable","type":"constructor","inputs":[],"outputs":[]},{"stateMutability":"view","type":"function","name":"getBurnedTokens","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"getCirculatingSupply","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"SetupEnableTrading","inputs":[],"outputs":[]},{"stateMutability":"view","type":"function","name":"getOwner","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"name","inputs":[],"outputs":[{"name":"","type":"string"}]},{"stateMutability":"view","type":"function","name":"symbol","inputs":[],"outputs":[{"name":"","type":"string"}]},{"stateMutability":"view","type":"function","name":"decimals","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"totalSupply","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"balanceOf","inputs":[{"name":"account","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"transfer","inputs":[{"name":"recipient","type":"address"},{"name":"amount","type":"uint256"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"view","type":"function","name":"allowance","inputs":[{"name":"_owner","type":"address"},{"name":"spender","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"approve","inputs":[{"name":"spender","type":"address"},{"name":"amount","type":"uint256"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"transferFrom","inputs":[{"name":"sender","type":"address"},{"name":"recipient","type":"address"},{"name":"amount","type":"uint256"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"nonpayable","type":"function","name":"increaseAllowance","inputs":[{"name":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"nonpayable","type":"function","name":"decreaseAllowance","inputs":[{"name":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"payable","type":"fallback"}]
Contract Creation Code
34610b0b576b033b2e3c9fd0803ce800000060405233606052604051600060605160205260005260406000205560605160035560605160007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160805260206080a3610a9561007561000039610a95610000f36003361161000c576106f6565b60003560e01c63c3f4f54f81186100445760043610610a835734610a8357600061dead60205260005260406000205460405260206040f35b632b112e49811861009a5760043610610a835734610a8357600061dead602052600052604060002054806b033b2e3c9fd0803ce8000000036b033b2e3c9fd0803ce80000008111610a8357905060405260206040f35b637b9e987a811861018a5760043610610a835734610a835733604052600354604051181561011f5760206060527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260805260605060605180608001601f826000031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b6002541561018457600f6060527f416c72656164794c61756e63686564000000000000000000000000000000000060805260605060605180608001601f826000031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b42600255005b63893d20e881186101ae5760043610610a835734610a835760035460405260206040f35b6306fdde03811861023b5760043610610a835734610a835760208060805260056040527f567970657200000000000000000000000000000000000000000000000000000060605260408160800181518082526020830160208301815181525050508051806020830101601f82600003163682375050601f19601f8251602001011690509050810190506080f35b6395d89b4181186102c85760043610610a835734610a835760208060805260026040527f565900000000000000000000000000000000000000000000000000000000000060605260408160800181518082526020830160208301815181525050508051806020830101601f82600003163682375050601f19601f8251602001011690509050810190506080f35b63313ce56781186102eb5760043610610a835734610a8357601260405260206040f35b6318160ddd81186103195760043610610a835734610a83576b033b2e3c9fd0803ce800000060405260206040f35b6370a0823181186103595760243610610a83576004358060a01c610a835760405234610a8357600060405160205260005260406000205460605260206060f35b63a9059cbb81186103a95760443610610a83576004358060a01c610a83576101a05234610a835733610100526101a051610120526024356101405261039c6107f5565b60016101c05260206101c0f35b63dd62ed3e81186104085760443610610a83576004358060a01c610a83576040526024358060a01c610a835760605234610a83576001604051602052600052604060002080606051602052600052604060002090505460805260206080f35b63095ea7b3811861044f5760443610610a83576004358060a01c610a835760e05234610a83573360405260e05160605260243560805261044961010061095d565b61010050005b6323b872dd811861057b5760643610610a83576004358060a01c610a83576101a0526024358060a01c610a83576101c05234610a83576101a051610100526101c05161012052604435610140526104a46107f5565b60016101a0516020526000526040600020803360205260005260406000209050546101e0526044356101e051101561053c576014610200527f5472616e73666572203e20616c6c6f77616e63650000000000000000000000006102205261020050610200518061022001601f826000031636823750506308c379a06101c05260206101e052601f19601f6102005101166044016101dcfd5b6101a051604052336060526101e051604435808203828111610a83579050905060805261056a61020061095d565b610200506001610200526020610200f35b633950935181186105fb5760443610610a83576004358060a01c610a835760e05234610a83573360405260e05160605260013360205260005260406000208060e0516020526000526040600020905054602435808201828110610a8357905090506080526105ea61010061095d565b610100506001610100526020610100f35b63a457c2d781186106f45760443610610a83576004358060a01c610a835760e05234610a835760013360205260005260406000208060e0516020526000526040600020905054610100526024356101005110156106b657600c610120527f3c3020616c6c6f77616e636500000000000000000000000000000000000000006101405261012050610120518061014001601f826000031636823750506308c379a060e052602061010052601f19601f61012051011660440160fcfd5b3360405260e05160605261010051602435808203828111610a8357905090506080526106e361012061095d565b610120506001610120526020610120f35b505b005b600060405160205260005260406000205460a05260805160a051101561077557601860c0527f5472616e7366657220657863656564732062616c616e6365000000000000000060e05260c05060c0518060e001601f826000031636823750506308c379a0608052602060a052601f19601f60c0510116604401609cfd5b600060405160205260005260406000208054608051808203828111610a835790509050815550600060605160205260005260406000208054608051808201828110610a8357905090508155506060516040517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60805160c052602060c0a3565b61010051610863576012610160527f5472616e736665722066726f6d207a65726f00000000000000000000000000006101805261016050610160518061018001601f826000031636823750506308c379a061012052602061014052601f19601f61016051011660440161013cfd5b610120516108d1576010610160527f5472616e7366657220746f207a65726f000000000000000000000000000000006101805261016050610160518061018001601f826000031636823750506308c379a061012052602061014052601f19601f61016051011660440161013cfd5b60025461093e576017610160527f74726164696e67206e6f742079657420656e61626c65640000000000000000006101805261016050610160518061018001601f826000031636823750506308c379a061012052602061014052601f19601f61016051011660440161013cfd5b61010051604052610120516060526101405160805261095b6106f8565b565b6040516109c157601160a0527f417070726f76652066726f6d207a65726f00000000000000000000000000000060c05260a05060a0518060c001601f826000031636823750506308c379a06060526020608052601f19601f60a0510116604401607cfd5b606051610a2557601160a0527f417070726f76652066726f6d207a65726f00000000000000000000000000000060c05260a05060a0518060c001601f826000031636823750506308c379a06060526020608052601f19601f60a0510116604401607cfd5b608051600160405160205260005260406000208060605160205260005260406000209050556060516040517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560805160a052602060a0a36001815250565b600080fda165767970657283000307000b005b600080fd
Deployed Bytecode
0x6003361161000c576106f6565b60003560e01c63c3f4f54f81186100445760043610610a835734610a8357600061dead60205260005260406000205460405260206040f35b632b112e49811861009a5760043610610a835734610a8357600061dead602052600052604060002054806b033b2e3c9fd0803ce8000000036b033b2e3c9fd0803ce80000008111610a8357905060405260206040f35b637b9e987a811861018a5760043610610a835734610a835733604052600354604051181561011f5760206060527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260805260605060605180608001601f826000031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b6002541561018457600f6060527f416c72656164794c61756e63686564000000000000000000000000000000000060805260605060605180608001601f826000031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b42600255005b63893d20e881186101ae5760043610610a835734610a835760035460405260206040f35b6306fdde03811861023b5760043610610a835734610a835760208060805260056040527f567970657200000000000000000000000000000000000000000000000000000060605260408160800181518082526020830160208301815181525050508051806020830101601f82600003163682375050601f19601f8251602001011690509050810190506080f35b6395d89b4181186102c85760043610610a835734610a835760208060805260026040527f565900000000000000000000000000000000000000000000000000000000000060605260408160800181518082526020830160208301815181525050508051806020830101601f82600003163682375050601f19601f8251602001011690509050810190506080f35b63313ce56781186102eb5760043610610a835734610a8357601260405260206040f35b6318160ddd81186103195760043610610a835734610a83576b033b2e3c9fd0803ce800000060405260206040f35b6370a0823181186103595760243610610a83576004358060a01c610a835760405234610a8357600060405160205260005260406000205460605260206060f35b63a9059cbb81186103a95760443610610a83576004358060a01c610a83576101a05234610a835733610100526101a051610120526024356101405261039c6107f5565b60016101c05260206101c0f35b63dd62ed3e81186104085760443610610a83576004358060a01c610a83576040526024358060a01c610a835760605234610a83576001604051602052600052604060002080606051602052600052604060002090505460805260206080f35b63095ea7b3811861044f5760443610610a83576004358060a01c610a835760e05234610a83573360405260e05160605260243560805261044961010061095d565b61010050005b6323b872dd811861057b5760643610610a83576004358060a01c610a83576101a0526024358060a01c610a83576101c05234610a83576101a051610100526101c05161012052604435610140526104a46107f5565b60016101a0516020526000526040600020803360205260005260406000209050546101e0526044356101e051101561053c576014610200527f5472616e73666572203e20616c6c6f77616e63650000000000000000000000006102205261020050610200518061022001601f826000031636823750506308c379a06101c05260206101e052601f19601f6102005101166044016101dcfd5b6101a051604052336060526101e051604435808203828111610a83579050905060805261056a61020061095d565b610200506001610200526020610200f35b633950935181186105fb5760443610610a83576004358060a01c610a835760e05234610a83573360405260e05160605260013360205260005260406000208060e0516020526000526040600020905054602435808201828110610a8357905090506080526105ea61010061095d565b610100506001610100526020610100f35b63a457c2d781186106f45760443610610a83576004358060a01c610a835760e05234610a835760013360205260005260406000208060e0516020526000526040600020905054610100526024356101005110156106b657600c610120527f3c3020616c6c6f77616e636500000000000000000000000000000000000000006101405261012050610120518061014001601f826000031636823750506308c379a060e052602061010052601f19601f61012051011660440160fcfd5b3360405260e05160605261010051602435808203828111610a8357905090506080526106e361012061095d565b610120506001610120526020610120f35b505b005b600060405160205260005260406000205460a05260805160a051101561077557601860c0527f5472616e7366657220657863656564732062616c616e6365000000000000000060e05260c05060c0518060e001601f826000031636823750506308c379a0608052602060a052601f19601f60c0510116604401609cfd5b600060405160205260005260406000208054608051808203828111610a835790509050815550600060605160205260005260406000208054608051808201828110610a8357905090508155506060516040517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60805160c052602060c0a3565b61010051610863576012610160527f5472616e736665722066726f6d207a65726f00000000000000000000000000006101805261016050610160518061018001601f826000031636823750506308c379a061012052602061014052601f19601f61016051011660440161013cfd5b610120516108d1576010610160527f5472616e7366657220746f207a65726f000000000000000000000000000000006101805261016050610160518061018001601f826000031636823750506308c379a061012052602061014052601f19601f61016051011660440161013cfd5b60025461093e576017610160527f74726164696e67206e6f742079657420656e61626c65640000000000000000006101805261016050610160518061018001601f826000031636823750506308c379a061012052602061014052601f19601f61016051011660440161013cfd5b61010051604052610120516060526101405160805261095b6106f8565b565b6040516109c157601160a0527f417070726f76652066726f6d207a65726f00000000000000000000000000000060c05260a05060a0518060c001601f826000031636823750506308c379a06060526020608052601f19601f60a0510116604401607cfd5b606051610a2557601160a0527f417070726f76652066726f6d207a65726f00000000000000000000000000000060c05260a05060a0518060c001601f826000031636823750506308c379a06060526020608052601f19601f60a0510116604401607cfd5b608051600160405160205260005260406000208060605160205260005260406000209050556060516040517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560805160a052602060a0a36001815250565b600080fda165767970657283000307000b
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.