Request form
Cookbook may introduce a token in the future. Share and contribute to be eligible for future airdrops.
close icon
relevant tag icon
VITAI Token
copy icon
ERC20
Token

VITAI Token

VITAI.sol offers a decentralized platform for secure and transparent identity verification, enabling individuals and businesses to easily and efficiently verify identities without compromising privacy. (autogenerated description)

*Visit desktop site to download or deploy

Last Publish

3/17/2023
Any contract you deploy is yours.
Fully owned and controlled by your wallet.
Documentation
Source Code
name() :
This function returns the value of the private variable "_name" as a string. It works by using the "pure" keyword to indicate that it doesn't modify the contract's state. (autogenerated documentation)
symbol() :
This function returns the symbol of the token as a string. It works by simply returning the value of the private variable _symbol. (autogenerated documentation)
decimals() :
This function returns the number of decimal places used for the token, as a uint8 value. It does not modify any state variables. (autogenerated documentation)
totalSupply() :
This function returns the total supply of tokens in the contract, which is a constant value set during deployment. (autogenerated documentation)
balanceOf(address) :
This function returns the balance of a specific account by accessing the _balances mapping. (autogenerated documentation)
transfer(address,uint256) :
This function transfers a specified amount of tokens from the sender to a recipient address. It calls the internal _transfer function. (autogenerated documentation)
allowance(address,address) :
This function returns the amount of tokens that the spender is allowed to spend on behalf of the owner. It works by accessing the allowance mapping. (autogenerated documentation)
approve(address,uint256) :
This function approves a spender to spend a certain amount of tokens on behalf of the caller. It works by calling the internal _approve function. (autogenerated documentation)
transferFrom(address,address,uint256) :
This function transfers tokens from sender to recipient, while ensuring that the transfer amount is within the approved allowance limit. (autogenerated documentation)
_approve(address,address,uint256) :
This function approves a spender to spend a certain amount of tokens on behalf of an owner, updating the allowance mapping and emitting an event. (autogenerated documentation)
_transfer(address,address,uint256) :
This function transfers tokens from one address to another, with a tax applied if certain conditions are met. It also enables swapping tokens for ETH if conditions are met. (autogenerated documentation)
min(uint256,uint256) :
This function returns the minimum value between two uint256 inputs by using a ternary operator. (autogenerated documentation)
swapTokensForEth(uint256) :
This function swaps a specified amount of tokens for ETH using Uniswap V2 Router, with fee-on-transfer tokens support. (autogenerated documentation)
removeLimits() :
This function removes transaction and wallet size limits and disables transfer delay, set by the owner of the contract. (autogenerated documentation)
sendETHToFee(uint256) :
This function sends a specified amount of ETH to a designated tax wallet. It works by using the transfer function to move the funds. (autogenerated documentation)
addBots() :
This function adds multiple addresses to a mapping of bots, allowing them to access restricted functions. (autogenerated documentation)
delBots() :
This function removes addresses from the bot list by setting their value to false. Only the contract owner can call it. (autogenerated documentation)
isBot(address) :
This function checks if an address is a bot by returning a boolean value based on a mapping of bot addresses. (autogenerated documentation)
openTrading() :
This function opens trading by creating a Uniswap pair, adding liquidity, and enabling swapping. Only the contract owner can call it. (autogenerated documentation)
reduceFee(uint256) :
This function allows the tax wallet to reduce the fee for both buying and selling tokens, as long as the new fee is not higher than the current fee. (autogenerated documentation)
manualSwap() :
This function swaps tokens for ETH and sends the ETH to the fee wallet, triggered by the tax wallet. (autogenerated documentation)
_msgSender() :
This function returns the address of the message sender and is implemented as an internal view virtual function. (autogenerated documentation)
add(uint256,uint256) :
This function adds two uint256 numbers and checks for overflow, returning the result. (autogenerated documentation)
sub(uint256,uint256) :
This function subtracts two uint256 values and throws an error message if the result is negative. (autogenerated documentation)
sub(uint256,uint256,string) :
This function subtracts b from a and returns the result. It also checks if b is less than or equal to a, throwing an error message if not. (autogenerated documentation)
mul(uint256,uint256) :
This function multiplies two unsigned integers and checks for overflow, returning the result. (autogenerated documentation)
div(uint256,uint256) :
This function performs safe division of two uint256 numbers and throws an error message if division by zero occurs. (autogenerated documentation)
div(uint256,uint256,string) :
This function divides two uint256 numbers and throws an error message if the second number is zero. (autogenerated documentation)
owner() :
This function returns the address of the contract owner and is read-only (view). (autogenerated documentation)
renounceOwnership() :
This function allows the current owner to renounce ownership of the contract by setting the owner address to 0. (autogenerated documentation)
createPair(address,address) :
This function creates a new Uniswap V2 pair for two specified tokens. (autogenerated documentation)
swapExactTokensForETHSupportingFeeOnTransferTokens(address) :
This function swaps tokens for ETH, supporting fee on transfer tokens, using a specified path and adds liquidity to the pool. (autogenerated documentation)
factory() :
This contract defines the VITAI token and its ownership, implementing the IERC20 interface. (autogenerated documentation)
WETH() :
This contract defines a token called VITAI and implements the ERC20 standard. It is owned by a single address and can be transferred between addresses. (autogenerated documentation)
addLiquidityETH(address,address) :
This function adds liquidity to a token-ETH pair by exchanging a specified amount of token and ETH, and returns the resulting liquidity. (autogenerated documentation)

Get Cookin'
share iconShare

copy iconNo-Code Deploy
copy iconDownload Source
copy iconnpx cookbookdev i VITAI
copy icon

Bytecode

Download

Verification

Download

Last Publish

3/17/2023

Solidity Compiler

v0.8.17+commit.8df45f5f

Version

1.0.0

Cookbook is free.
Any contract you deploy is yours.
Your contract is owned and controlled by you.