ERC-20
Artificial Intelligence
Overview
Max Total Supply
50,000,000 VXV
Holders
15,972 ( 0.069%)
Market
Price
$0.35 @ 0.000097 ETH (+12.75%)
Onchain Market Cap
$17,388,400.00
Circulating Supply Market Cap
$13,136,089.00
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
VXV
Compiler Version
v0.4.24+commit.e67f0147
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-10-02 */ pragma solidity ^0.4.24; contract SafeMath { function safeAdd(uint a, uint b) public pure returns (uint c) { c = a + b; require(c >= a); } function safeSub(uint a, uint b) public pure returns (uint c) { require(b <= a); c = a - b; } function safeMul(uint a, uint b) public pure returns (uint c) { c = a * b; require(a == 0 || c / a == b); } function safeDiv(uint a, uint b) public pure returns (uint c) { require(b > 0); c = a / b; } } // ---------------------------------------------------------------------------- // ERC Token Standard #20 Interface // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md // ---------------------------------------------------------------------------- contract ERC20Interface { function totalSupply() public view returns (uint); function balanceOf(address tokenOwner) public view returns (uint balance); function allowance(address tokenOwner, address spender) public view returns (uint remaining); function transfer(address to, uint tokens) public returns (bool success); function approve(address spender, uint tokens) public returns (bool success); function transferFrom(address from, address to, uint tokens) public returns (bool success); event Transfer(address indexed from, address indexed to, uint tokens); event Approval(address indexed tokenOwner, address indexed spender, uint tokens); } // ---------------------------------------------------------------------------- // Contract function to receive approval and execute function in one call // // Borrowed from MiniMeToken // ---------------------------------------------------------------------------- contract ApproveAndCallFallBack { function receiveApproval(address from, uint256 tokens, address token, bytes data) public; } contract Owned { address public owner; // address public newOwner; event OwnershipTransferred(address indexed _from, address indexed _to); constructor() public { owner = msg.sender; } modifier onlyOwner { require(msg.sender == owner); _; } // function transferOwnership(address _newOwner) public onlyOwner { // newOwner = _newOwner; // } // function acceptOwnership() public { // require(msg.sender == newOwner); // emit OwnershipTransferred(owner, newOwner); // owner = newOwner; // newOwner = address(0); // } } contract VXV is ERC20Interface, Owned, SafeMath { string public symbol; string public name; uint8 public decimals; uint public totalSupply; uint public rate; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; constructor() public { symbol = "VXV"; name = "VectorspaceAI"; decimals = 18; totalSupply = 50000000 * 10 ** uint256(decimals); rate = 203; balances[owner] = totalSupply; emit Transfer(address(0), owner, totalSupply); } function changeRate(uint newRate) public onlyOwner { require(newRate > 0); rate = newRate; } function totalSupply() public view returns (uint) { return totalSupply - balances[address(0)]; } function balanceOf(address tokenOwner) public view returns (uint balance) { return balances[tokenOwner]; } modifier validTo(address to) { require(to != address(0)); require(to != address(this)); _; } function transferInternal(address from, address to, uint tokens) internal { balances[from] = safeSub(balances[from], tokens); balances[to] = safeAdd(balances[to], tokens); emit Transfer(from, to, tokens); } function transfer(address to, uint tokens) public validTo(to) returns (bool success) { transferInternal(msg.sender, to, tokens); return true; } // ------------------------------------------------------------------------ // Transfer `tokens` from the `from` account to the `to` account // // The calling account must already have sufficient tokens approve(...)-d // for spending from the `from` account and // - From account must have sufficient balance to transfer // - Spender must have sufficient allowance to transfer // - 0 value transfers are allowed // ------------------------------------------------------------------------ function transferFrom(address from, address to, uint tokens) public validTo(to) returns (bool success) { allowed[from][msg.sender] = safeSub(allowed[from][msg.sender], tokens); transferInternal(from, to, tokens); return true; } // ------------------------------------------------------------------------ // Token owner can approve for `spender` to transferFrom(...) `tokens` // from the token owner's account // // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md // recommends that there are no checks for the approval double-spend attack // as this should be implemented in user interfaces // ------------------------------------------------------------------------ function approve(address spender, uint tokens) public returns (bool success) { allowed[msg.sender][spender] = tokens; emit Approval(msg.sender, spender, tokens); return true; } function allowance(address tokenOwner, address spender) public view returns (uint remaining) { return allowed[tokenOwner][spender]; } // ------------------------------------------------------------------------ // Token owner can approve for `spender` to transferFrom(...) `tokens` // from the token owner's account. The `spender` contract function // `receiveApproval(...)` is then executed // ------------------------------------------------------------------------ function approveAndCall(address spender, uint tokens, bytes data) public returns (bool success) { if (approve(spender, tokens)) { ApproveAndCallFallBack(spender).receiveApproval(msg.sender, tokens, this, data); return true; } } function () public payable { uint tokens; tokens = safeMul(msg.value, rate); balances[owner] = safeSub(balances[owner], tokens); balances[msg.sender] = safeAdd(balances[msg.sender], tokens); emit Transfer(address(0), msg.sender, tokens); owner.transfer(msg.value); } // ------------------------------------------------------------------------ // Owner can transfer out any accidentally sent ERC20 tokens // ------------------------------------------------------------------------ // function transferAnyERC20Token(address tokenAddress, uint tokens) public onlyOwner returns (bool success) { // return ERC20Interface(tokenAddress).transfer(owner, tokens); // } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"tokens","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"tokens","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"tokenOwner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newRate","type":"uint256"}],"name":"changeRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeSub","outputs":[{"name":"c","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"tokens","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeDiv","outputs":[{"name":"c","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"tokens","type":"uint256"},{"name":"data","type":"bytes"}],"name":"approveAndCall","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeMul","outputs":[{"name":"c","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"tokenOwner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeAdd","outputs":[{"name":"c","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"tokens","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"tokenOwner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"tokens","type":"uint256"}],"name":"Approval","type":"event"}]
Contract Creation Code
608060405234801561001057600080fd5b5060008054600160a060020a031916331790556040805180820190915260038082527f5658560000000000000000000000000000000000000000000000000000000000602090920191825261006791600191610130565b5060408051808201909152600d8082527f566563746f72737061636541490000000000000000000000000000000000000060209092019182526100ac91600291610130565b5060038054601260ff19909116179081905560ff16600a0a6302faf08002600481905560cb60055560008054600160a060020a0390811682526006602090815260408084208590558354815195865290519216937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a36101cb565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061017157805160ff191683800117855561019e565b8280016001018555821561019e579182015b8281111561019e578251825591602001919060010190610183565b506101aa9291506101ae565b5090565b6101c891905b808211156101aa57600081556001016101b4565b90565b610a12806101da6000396000f3006080604052600436106100f05763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146101d9578063095ea7b31461026357806318160ddd1461029b57806323b872dd146102c25780632c4e722e146102ec578063313ce5671461030157806370a082311461032c57806374e7493b1461034d5780638da5cb5b1461036757806395d89b4114610398578063a293d1e8146103ad578063a9059cbb146103c8578063b5931f7c146103ec578063cae9ca5114610407578063d05c78da14610470578063dd62ed3e1461048b578063e6cb9013146104b2575b60006100fe346005546104cd565b60008054600160a060020a031681526006602052604090205490915061012490826104f8565b60008054600160a060020a0316815260066020526040808220929092553381522054610150908261050d565b3360008181526006602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a360008054604051600160a060020a03909116913480156108fc02929091818181858888f193505050501580156101d5573d6000803e3d6000fd5b5050005b3480156101e557600080fd5b506101ee61051d565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610228578181015183820152602001610210565b50505050905090810190601f1680156102555780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561026f57600080fd5b50610287600160a060020a03600435166024356105a8565b604080519115158252519081900360200190f35b3480156102a757600080fd5b506102b061060e565b60408051918252519081900360200190f35b3480156102ce57600080fd5b50610287600160a060020a0360043581169060243516604435610640565b3480156102f857600080fd5b506102b06106d6565b34801561030d57600080fd5b506103166106dc565b6040805160ff9092168252519081900360200190f35b34801561033857600080fd5b506102b0600160a060020a03600435166106e5565b34801561035957600080fd5b50610365600435610700565b005b34801561037357600080fd5b5061037c610729565b60408051600160a060020a039092168252519081900360200190f35b3480156103a457600080fd5b506101ee610738565b3480156103b957600080fd5b506102b06004356024356104f8565b3480156103d457600080fd5b50610287600160a060020a0360043516602435610792565b3480156103f857600080fd5b506102b06004356024356107d5565b34801561041357600080fd5b50604080516020600460443581810135601f8101849004840285018401909552848452610287948235600160a060020a03169460248035953695946064949201919081908401838280828437509497506107f69650505050505050565b34801561047c57600080fd5b506102b06004356024356104cd565b34801561049757600080fd5b506102b0600160a060020a036004358116906024351661090d565b3480156104be57600080fd5b506102b060043560243561050d565b8181028215806104e757508183828115156104e457fe5b04145b15156104f257600080fd5b92915050565b60008282111561050757600080fd5b50900390565b818101828110156104f257600080fd5b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156105a05780601f10610575576101008083540402835291602001916105a0565b820191906000526020600020905b81548152906001019060200180831161058357829003601f168201915b505050505081565b336000818152600760209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b6000805260066020527f54cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f8546004540390565b600082600160a060020a038116151561065857600080fd5b600160a060020a03811630141561066e57600080fd5b600160a060020a038516600090815260076020908152604080832033845290915290205461069c90846104f8565b600160a060020a03861660009081526007602090815260408083203384529091529020556106cb858585610938565b506001949350505050565b60055481565b60035460ff1681565b600160a060020a031660009081526006602052604090205490565b600054600160a060020a0316331461071757600080fd5b6000811161072457600080fd5b600555565b600054600160a060020a031681565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105a05780601f10610575576101008083540402835291602001916105a0565b600082600160a060020a03811615156107aa57600080fd5b600160a060020a0381163014156107c057600080fd5b6107cb338585610938565b5060019392505050565b60008082116107e357600080fd5b81838115156107ee57fe5b049392505050565b600061080284846105a8565b15610906576040517f8f4ffcb10000000000000000000000000000000000000000000000000000000081523360048201818152602483018690523060448401819052608060648501908152865160848601528651600160a060020a038a1695638f4ffcb195948a94938a939192909160a490910190602085019080838360005b8381101561089a578181015183820152602001610882565b50505050905090810190601f1680156108c75780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156108e957600080fd5b505af11580156108fd573d6000803e3d6000fd5b50505050600190505b9392505050565b600160a060020a03918216600090815260076020908152604080832093909416825291909152205490565b600160a060020a03831660009081526006602052604090205461095b90826104f8565b600160a060020a03808516600090815260066020526040808220939093559084168152205461098a908261050d565b600160a060020a0380841660008181526006602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35050505600a165627a7a72305820275a644f34b70305ae151279642715ac71953b70d5059331e610d62138976c230029
Deployed Bytecode
0x6080604052600436106100f05763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146101d9578063095ea7b31461026357806318160ddd1461029b57806323b872dd146102c25780632c4e722e146102ec578063313ce5671461030157806370a082311461032c57806374e7493b1461034d5780638da5cb5b1461036757806395d89b4114610398578063a293d1e8146103ad578063a9059cbb146103c8578063b5931f7c146103ec578063cae9ca5114610407578063d05c78da14610470578063dd62ed3e1461048b578063e6cb9013146104b2575b60006100fe346005546104cd565b60008054600160a060020a031681526006602052604090205490915061012490826104f8565b60008054600160a060020a0316815260066020526040808220929092553381522054610150908261050d565b3360008181526006602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a360008054604051600160a060020a03909116913480156108fc02929091818181858888f193505050501580156101d5573d6000803e3d6000fd5b5050005b3480156101e557600080fd5b506101ee61051d565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610228578181015183820152602001610210565b50505050905090810190601f1680156102555780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561026f57600080fd5b50610287600160a060020a03600435166024356105a8565b604080519115158252519081900360200190f35b3480156102a757600080fd5b506102b061060e565b60408051918252519081900360200190f35b3480156102ce57600080fd5b50610287600160a060020a0360043581169060243516604435610640565b3480156102f857600080fd5b506102b06106d6565b34801561030d57600080fd5b506103166106dc565b6040805160ff9092168252519081900360200190f35b34801561033857600080fd5b506102b0600160a060020a03600435166106e5565b34801561035957600080fd5b50610365600435610700565b005b34801561037357600080fd5b5061037c610729565b60408051600160a060020a039092168252519081900360200190f35b3480156103a457600080fd5b506101ee610738565b3480156103b957600080fd5b506102b06004356024356104f8565b3480156103d457600080fd5b50610287600160a060020a0360043516602435610792565b3480156103f857600080fd5b506102b06004356024356107d5565b34801561041357600080fd5b50604080516020600460443581810135601f8101849004840285018401909552848452610287948235600160a060020a03169460248035953695946064949201919081908401838280828437509497506107f69650505050505050565b34801561047c57600080fd5b506102b06004356024356104cd565b34801561049757600080fd5b506102b0600160a060020a036004358116906024351661090d565b3480156104be57600080fd5b506102b060043560243561050d565b8181028215806104e757508183828115156104e457fe5b04145b15156104f257600080fd5b92915050565b60008282111561050757600080fd5b50900390565b818101828110156104f257600080fd5b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156105a05780601f10610575576101008083540402835291602001916105a0565b820191906000526020600020905b81548152906001019060200180831161058357829003601f168201915b505050505081565b336000818152600760209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b6000805260066020527f54cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f8546004540390565b600082600160a060020a038116151561065857600080fd5b600160a060020a03811630141561066e57600080fd5b600160a060020a038516600090815260076020908152604080832033845290915290205461069c90846104f8565b600160a060020a03861660009081526007602090815260408083203384529091529020556106cb858585610938565b506001949350505050565b60055481565b60035460ff1681565b600160a060020a031660009081526006602052604090205490565b600054600160a060020a0316331461071757600080fd5b6000811161072457600080fd5b600555565b600054600160a060020a031681565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105a05780601f10610575576101008083540402835291602001916105a0565b600082600160a060020a03811615156107aa57600080fd5b600160a060020a0381163014156107c057600080fd5b6107cb338585610938565b5060019392505050565b60008082116107e357600080fd5b81838115156107ee57fe5b049392505050565b600061080284846105a8565b15610906576040517f8f4ffcb10000000000000000000000000000000000000000000000000000000081523360048201818152602483018690523060448401819052608060648501908152865160848601528651600160a060020a038a1695638f4ffcb195948a94938a939192909160a490910190602085019080838360005b8381101561089a578181015183820152602001610882565b50505050905090810190601f1680156108c75780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156108e957600080fd5b505af11580156108fd573d6000803e3d6000fd5b50505050600190505b9392505050565b600160a060020a03918216600090815260076020908152604080832093909416825291909152205490565b600160a060020a03831660009081526006602052604090205461095b90826104f8565b600160a060020a03808516600090815260066020526040808220939093559084168152205461098a908261050d565b600160a060020a0380841660008181526006602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35050505600a165627a7a72305820275a644f34b70305ae151279642715ac71953b70d5059331e610d62138976c230029
Swarm Source
bzzr://275a644f34b70305ae151279642715ac71953b70d5059331e610d62138976c23
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.