Address Contract Verified
Address
0x62F03b52c377FeA3EB71D451a95ad86C818755D1
Balance
0 ETH
Nonce
1
Code Size
8012 bytes
Creator
0xF4F22fEd...03D8 at tx 0x71724d81...e23f3d
Indexed Transactions
0
Contract Bytecode
8012 bytes
0x608060405234801561001057600080fd5b50600436106101425760003560e01c80638da5cb5b116100b8578063a9059cbb1161007c578063a9059cbb1461036b578063b61d43b11461039b578063b753bfe9146103b9578063d2f75fdc146103d7578063dd62ed3e146103f5578063f2fde38b1461042557610142565b80638da5cb5b146102c357806395d89b41146102e15780639f8810cd146102ff578063a457c2d71461031d578063a4ee2be71461034d57610142565b8063313ce5671161010a578063313ce56714610201578063395093511461021f5780633e85713d1461024f57806342966c681461026d57806370a0823114610289578063715018a6146102b957610142565b806306fdde0314610147578063095ea7b3146101655780630c900e901461019557806318160ddd146101b357806323b872dd146101d1575b600080fd5b61014f610441565b60405161015c91906112ef565b60405180910390f35b61017f600480360381019061017a91906113aa565b6104d3565b60405161018c9190611405565b60405180910390f35b61019d6104f1565b6040516101aa919061142f565b60405180910390f35b6101bb610512565b6040516101c8919061142f565b60405180910390f35b6101eb60048036038101906101e6919061144a565b61051c565b6040516101f89190611405565b60405180910390f35b610209610614565b60405161021691906114b9565b60405180910390f35b610239600480360381019061023491906113aa565b61061d565b6040516102469190611405565b60405180910390f35b6102576106c9565b604051610264919061142f565b60405180910390f35b610287600480360381019061028291906114d4565b6106ea565b005b6102a3600480360381019061029e9190611501565b6106fe565b6040516102b0919061142f565b60405180910390f35b6102c1610747565b005b6102cb61075b565b6040516102d8919061153d565b60405180910390f35b6102e9610784565b6040516102f691906112ef565b60405180910390f35b610307610816565b604051610314919061142f565b60405180910390f35b610337600480360381019061033291906113aa565b610837565b6040516103449190611405565b60405180910390f35b610355610922565b604051610362919061142f565b60405180910390f35b610385600480360381019061038091906113aa565b610943565b6040516103929190611405565b60405180910390f35b6103a3610961565b6040516103b0919061142f565b60405180910390f35b6103c1610982565b6040516103ce919061142f565b60405180910390f35b6103df6109a3565b6040516103ec919061142f565b60405180910390f35b61040f600480360381019061040a9190611558565b6109c4565b60405161041c919061142f565b60405180910390f35b61043f600480360381019061043a9190611501565b610a4b565b005b606060048054610450906115c7565b80601f016020809104026020016040519081016040528092919081815260200182805461047c906115c7565b80156104c95780601f1061049e576101008083540402835291602001916104c9565b820191906000526020600020905b8154815290600101906020018083116104ac57829003601f168201915b5050505050905090565b60006104e76104e0610acf565b8484610ad7565b6001905092915050565b6012600a6104ff919061175b565b6406fc23ac0061050f91906117a6565b81565b6000600354905090565b6000610529848484610ca2565b6000600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610574610acf565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156105f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105eb90611872565b60405180910390fd5b61060885610600610acf565b858403610ad7565b60019150509392505050565b60006012905090565b60006106bf61062a610acf565b848460026000610638610acf565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546106ba9190611892565b610ad7565b6001905092915050565b6012600a6106d7919061175b565b640ba43b74006106e791906117a6565b81565b6106fb6106f5610acf565b82610f53565b50565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61074f611114565b6107596000611192565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060058054610793906115c7565b80601f01602080910402602001604051908101604052809291908181526020018280546107bf906115c7565b801561080c5780601f106107e15761010080835404028352916020019161080c565b820191906000526020600020905b8154815290600101906020018083116107ef57829003601f168201915b5050505050905090565b6012600a610824919061175b565b640ba43b740061083491906117a6565b81565b60008060026000610846610acf565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fa9061195a565b60405180910390fd5b61091761090e610acf565b85858403610ad7565b600191505092915050565b6012600a610930919061175b565b6404a817c80061094091906117a6565b81565b6000610957610950610acf565b8484610ca2565b6001905092915050565b6012600a61096f919061175b565b6404a817c80061097f91906117a6565b81565b6012600a610990919061175b565b6404a817c8006109a091906117a6565b81565b6012600a6109b1919061175b565b6402540be4006109c191906117a6565b81565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610a53611114565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ac3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aba906119ec565b60405180910390fd5b610acc81611192565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3e90611a7e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610bb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bae90611b10565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610c95919061142f565b60405180910390a3505050565b60008111610ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdc90611b7c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4c90611c0e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610dc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbc90611ca0565b60405180910390fd5b6000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610e4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4390611d32565b60405180910390fd5b818103600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ee19190611892565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f45919061142f565b60405180910390a350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610fc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fba90611dc4565b60405180910390fd5b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561104a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104190611e56565b60405180910390fd5b818103600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600360008282546110a29190611e76565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611107919061142f565b60405180910390a3505050565b61111c610acf565b73ffffffffffffffffffffffffffffffffffffffff1661113a61075b565b73ffffffffffffffffffffffffffffffffffffffff1614611190576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118790611ef6565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611290578082015181840152602081019050611275565b8381111561129f576000848401525b50505050565b6000601f19601f8301169050919050565b60006112c182611256565b6112cb8185611261565b93506112db818560208601611272565b6112e4816112a5565b840191505092915050565b6000602082019050818103600083015261130981846112b6565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061134182611316565b9050919050565b61135181611336565b811461135c57600080fd5b50565b60008135905061136e81611348565b92915050565b6000819050919050565b61138781611374565b811461139257600080fd5b50565b6000813590506113a48161137e565b92915050565b600080604083850312156113c1576113c0611311565b5b60006113cf8582860161135f565b92505060206113e085828601611395565b9150509250929050565b60008115159050919050565b6113ff816113ea565b82525050565b600060208201905061141a60008301846113f6565b92915050565b61142981611374565b82525050565b60006020820190506114446000830184611420565b92915050565b60008060006060848603121561146357611462611311565b5b60006114718682870161135f565b93505060206114828682870161135f565b925050604061149386828701611395565b9150509250925092565b600060ff82169050919050565b6114b38161149d565b82525050565b60006020820190506114ce60008301846114aa565b92915050565b6000602082840312156114ea576114e9611311565b5b60006114f884828501611395565b91505092915050565b60006020828403121561151757611516611311565b5b60006115258482850161135f565b91505092915050565b61153781611336565b82525050565b6000602082019050611552600083018461152e565b92915050565b6000806040838503121561156f5761156e611311565b5b600061157d8582860161135f565b925050602061158e8582860161135f565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806115df57607f821691505b602082108114156115f3576115f2611598565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b600185111561167f5780860481111561165b5761165a6115f9565b5b600185161561166a5780820291505b808102905061167885611628565b945061163f565b94509492505050565b6000826116985760019050611754565b816116a65760009050611754565b81600181146116bc57600281146116c6576116f5565b6001915050611754565b60ff8411156116d8576116d76115f9565b5b8360020a9150848211156116ef576116ee6115f9565b5b50611754565b5060208310610133831016604e8410600b841016171561172a5782820a905083811115611725576117246115f9565b5b611754565b6117378484846001611635565b9250905081840481111561174e5761174d6115f9565b5b81810290505b9392505050565b600061176682611374565b91506117718361149d565b925061179e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484611688565b905092915050565b60006117b182611374565b91506117bc83611374565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156117f5576117f46115f9565b5b828202905092915050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b600061185c602883611261565b915061186782611800565b604082019050919050565b6000602082019050818103600083015261188b8161184f565b9050919050565b600061189d82611374565b91506118a883611374565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156118dd576118dc6115f9565b5b828201905092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000611944602583611261565b915061194f826118e8565b604082019050919050565b6000602082019050818103600083015261197381611937565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006119d6602683611261565b91506119e18261197a565b604082019050919050565b60006020820190508181036000830152611a05816119c9565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000611a68602483611261565b9150611a7382611a0c565b604082019050919050565b60006020820190508181036000830152611a9781611a5b565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000611afa602283611261565b9150611b0582611a9e565b604082019050919050565b60006020820190508181036000830152611b2981611aed565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74207a65726f0000000000600082015250565b6000611b66601b83611261565b9150611b7182611b30565b602082019050919050565b60006020820190508181036000830152611b9581611b59565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000611bf8602583611261565b9150611c0382611b9c565b604082019050919050565b60006020820190508181036000830152611c2781611beb565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000611c8a602383611261565b9150611c9582611c2e565b604082019050919050565b60006020820190508181036000830152611cb981611c7d565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000611d1c602683611261565b9150611d2782611cc0565b604082019050919050565b60006020820190508181036000830152611d4b81611d0f565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000611dae602183611261565b9150611db982611d52565b604082019050919050565b60006020820190508181036000830152611ddd81611da1565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000611e40602283611261565b9150611e4b82611de4565b604082019050919050565b60006020820190508181036000830152611e6f81611e33565b9050919050565b6000611e8182611374565b9150611e8c83611374565b925082821015611e9f57611e9e6115f9565b5b828203905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611ee0602083611261565b9150611eeb82611eaa565b602082019050919050565b60006020820190508181036000830152611f0f81611ed3565b905091905056fea26469706673582212205ad9c48e38a1fbca32a011632c1df0155670162c9932d3cd07def85f3ad28f1b64736f6c63430008090033
Verified Source Code Full Match
Compiler: v0.8.9+commit.e5eed63a
EVM: london
Optimization: No
Token.sol 423 lines
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
/**
* @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);
}
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), 'Ownable: caller is not the owner');
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), 'Ownable: new owner is the zero address');
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
contract Token is Context, IERC20Metadata, Ownable {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
uint8 private constant _decimals = 18;
uint256 public constant presaleReserve = 30_000_000_000 * (10 ** _decimals);
uint256 public constant stakingReserve = 20_000_000_000 * (10 ** _decimals);
uint256 public constant projectFundsReserve = 50_000_000_000 * (10 ** _decimals);
uint256 public constant liquidityReserve = 20_000_000_000 * (10 ** _decimals);
uint256 public constant marketingReserve = 50_000_000_000 * (10 ** _decimals);
uint256 public constant ecosystemFundsReserve = 20_000_000_000 * (10 ** _decimals);
uint256 public constant exchangesReserve = 10_000_000_000 * (10 ** _decimals);
/**
* @dev Contract constructor.
*/
constructor() {
_name = 'Dogeverse';
_symbol = 'DOGEVERSE';
_mint(0xc423cFb154Da4fdF9065d97174Fe323E4b0C928C, presaleReserve);
_mint(0x56d7dE1d482905A584700cA448f43cD636e419DA, stakingReserve);
_mint(0x409a1F9a9EF405B87DaD52EeAE3b6fF474eE3dFD, projectFundsReserve);
_mint(0x55E88948ebdBca1584136295418130f0D44CB097, liquidityReserve);
_mint(0x5D07fB6DCf91Fbb5CAA42b8b52e0b041F0C1DCB7, marketingReserve);
_mint(0x61dF0aeB4aeeA182Dd8FAA01112670B9f6B57E7b, ecosystemFundsReserve);
_mint(0xbB397Ea596C0f38309Cc701A71F50024AB653055, exchangesReserve);
}
/**
* @dev Returns the name of the token.
* @return The name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token.
* @return The symbol of the token.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used for token display.
* @return The number of decimals.
*/
function decimals() public view virtual override returns (uint8) {
return _decimals;
}
/**
* @dev Returns the total supply of the token.
* @return The total supply.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev Returns the balance of the specified account.
* @param account The address to check the balance for.
* @return The balance of the account.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev Transfers tokens from the caller to a specified recipient.
* @param recipient The address to transfer tokens to.
* @param amount The amount of tokens to transfer.
* @return A boolean value indicating whether the transfer was successful.
*/
function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
/**
* @dev Returns the amount of tokens that the spender is allowed to spend on behalf of the owner.
* @param from The address that approves the spending.
* @param to The address that is allowed to spend.
* @return The remaining allowance for the spender.
*/
function allowance(address from, address to) public view virtual override returns (uint256) {
return _allowances[from][to];
}
/**
* @dev Approves the specified address to spend the specified amount of tokens on behalf of the caller.
* @param to The address to approve the spending for.
* @param amount The amount of tokens to approve.
* @return A boolean value indicating whether the approval was successful.
*/
function approve(address to, uint256 amount) public virtual override returns (bool) {
_approve(_msgSender(), to, amount);
return true;
}
/**
* @dev Transfers tokens from one address to another.
* @param sender The address to transfer tokens from.
* @param recipient The address to transfer tokens to.
* @param amount The amount of tokens to transfer.
* @return A boolean value indicating whether the transfer was successful.
*/
function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(sender, recipient, amount);
uint256 currentAllowance = _allowances[sender][_msgSender()];
require(currentAllowance >= amount, 'ERC20: transfer amount exceeds allowance');
unchecked {
_approve(sender, _msgSender(), currentAllowance - amount);
}
return true;
}
/**
* @dev Increases the allowance of the specified address to spend tokens on behalf of the caller.
* @param to The address to increase the allowance for.
* @param addedValue The amount of tokens to increase the allowance by.
* @return A boolean value indicating whether the increase was successful.
*/
function increaseAllowance(address to, uint256 addedValue) public virtual returns (bool) {
_approve(_msgSender(), to, _allowances[_msgSender()][to] + addedValue);
return true;
}
/**
* @dev Decreases the allowance granted by the owner of the tokens to `to` account.
* @param to The account allowed to spend the tokens.
* @param subtractedValue The amount of tokens to decrease the allowance by.
* @return A boolean value indicating whether the operation succeeded.
*/
function decreaseAllowance(address to, uint256 subtractedValue) public virtual returns (bool) {
uint256 currentAllowance = _allowances[_msgSender()][to];
require(currentAllowance >= subtractedValue, 'ERC20: decreased allowance below zero');
unchecked {
_approve(_msgSender(), to, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Transfers `amount` tokens from `sender` to `recipient`.
* @param sender The account to transfer tokens from.
* @param recipient The account to transfer tokens to.
* @param amount The amount of tokens to transfer.
*/
function _transfer(address sender, address recipient, uint256 amount) internal virtual {
require(amount > 0, 'ERC20: transfer amount zero');
require(sender != address(0), 'ERC20: transfer from the zero address');
require(recipient != address(0), 'ERC20: transfer to the zero address');
uint256 senderBalance = _balances[sender];
require(senderBalance >= amount, 'ERC20: transfer amount exceeds balance');
unchecked {
_balances[sender] = senderBalance - amount;
}
_balances[recipient] += amount;
emit Transfer(sender, recipient, amount);
}
/**
* @dev Creates `amount` tokens and assigns them to `account`.
* @param account The account to assign the newly created tokens to.
* @param amount The amount of tokens to create.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), 'ERC20: mint to the zero address');
_totalSupply += amount;
_balances[account] += amount;
emit Transfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the total supply.
* @param account The account to burn tokens from.
* @param amount The amount of tokens to burn.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), 'ERC20: burn from the zero address');
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, 'ERC20: burn amount exceeds balance');
unchecked {
_balances[account] = accountBalance - amount;
}
_totalSupply -= amount;
emit Transfer(account, address(0), amount);
}
/**
* @dev Destroys `amount` tokens from the caller's account, reducing the total supply.
* @param amount The amount of tokens to burn.
*/
function burn(uint256 amount) external {
_burn(_msgSender(), amount);
}
/**
* @dev Sets `amount` as the allowance of `to` over the caller's tokens.
* @param from The account granting the allowance.
* @param to The account allowed to spend the tokens.
* @param amount The amount of tokens to allow.
*/
function _approve(address from, address to, uint256 amount) internal virtual {
require(from != address(0), 'ERC20: approve from the zero address');
require(to != address(0), 'ERC20: approve to the zero address');
_allowances[from][to] = amount;
emit Approval(from, to, amount);
}
}
Read Contract
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
ecosystemFundsReserve 0xa4ee2be7 → uint256
exchangesReserve 0xd2f75fdc → uint256
liquidityReserve 0xb753bfe9 → uint256
marketingReserve 0x3e85713d → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
presaleReserve 0x0c900e90 → uint256
projectFundsReserve 0x9f8810cd → uint256
stakingReserve 0xb61d43b1 → uint256
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
Write Contract 8 functions
These functions modify contract state and require a wallet transaction to execute.
approve 0x095ea7b3
address to
uint256 amount
returns: bool
burn 0x42966c68
uint256 amount
decreaseAllowance 0xa457c2d7
address to
uint256 subtractedValue
returns: bool
increaseAllowance 0x39509351
address to
uint256 addedValue
returns: bool
renounceOwnership 0x715018a6
No parameters
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
Token Balances (2)
View Transfers →Recent Transactions
No transactions found for this address