Address Contract Verified
Address
0x96360f96a0Ba8760b3F46f6595b63aA9B7Bf5df9
Balance
0 ETH
Nonce
1
Code Size
7999 bytes
Creator
0x9F2f6070...aB4F at tx 0xad9e0d8b...16d820
Indexed Transactions
0
Contract Bytecode
7999 bytes
0x608060405234801561001057600080fd5b50600436106101425760003560e01c806370a08231116100b857806395d89b411161007c57806395d89b4114610359578063a457c2d714610377578063a9059cbb146103a7578063af2df5e0146103d7578063dd62ed3e146103f5578063f2fde38b1461042557610142565b806370a08231146102c5578063715018a6146102f557806374179b0c146102ff5780637b21436f1461031d5780638da5cb5b1461033b57610142565b806323b872dd1161010a57806323b872dd146101ef578063277582c71461021f578063313ce5671461023d578063395093511461025b57806342966c681461028b57806359297dbf146102a757610142565b806306fdde0314610147578063095ea7b3146101655780630c900e901461019557806310244be4146101b357806318160ddd146101d1575b600080fd5b61014f610441565b60405161015c91906112e2565b60405180910390f35b61017f600480360381019061017a919061139d565b6104d3565b60405161018c91906113f8565b60405180910390f35b61019d6104f1565b6040516101aa9190611422565b60405180910390f35b6101bb610511565b6040516101c89190611422565b60405180910390f35b6101d9610530565b6040516101e69190611422565b60405180910390f35b6102096004803603810190610204919061143d565b61053a565b60405161021691906113f8565b60405180910390f35b610227610632565b6040516102349190611422565b60405180910390f35b610245610651565b60405161025291906114ac565b60405180910390f35b6102756004803603810190610270919061139d565b61065a565b60405161028291906113f8565b60405180910390f35b6102a560048036038101906102a091906114c7565b610706565b005b6102af61071a565b6040516102bc9190611422565b60405180910390f35b6102df60048036038101906102da91906114f4565b610739565b6040516102ec9190611422565b60405180910390f35b6102fd610782565b005b610307610796565b6040516103149190611422565b60405180910390f35b6103256107b5565b6040516103329190611422565b60405180910390f35b6103436107d4565b6040516103509190611530565b60405180910390f35b6103616107fd565b60405161036e91906112e2565b60405180910390f35b610391600480360381019061038c919061139d565b61088f565b60405161039e91906113f8565b60405180910390f35b6103c160048036038101906103bc919061139d565b61097a565b6040516103ce91906113f8565b60405180910390f35b6103df610998565b6040516103ec9190611422565b60405180910390f35b61040f600480360381019061040a919061154b565b6109b7565b60405161041c9190611422565b60405180910390f35b61043f600480360381019061043a91906114f4565b610a3e565b005b606060048054610450906115ba565b80601f016020809104026020016040519081016040528092919081815260200182805461047c906115ba565b80156104c95780601f1061049e576101008083540402835291602001916104c9565b820191906000526020600020905b8154815290600101906020018083116104ac57829003601f168201915b5050505050905090565b60006104e76104e0610ac2565b8484610aca565b6001905092915050565b6012600a6104ff919061174e565b63010b076061050e9190611799565b81565b6012600a61051f919061174e565b623567e061052d9190611799565b81565b6000600354905090565b6000610547848484610c95565b6000600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610592610ac2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610612576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060990611865565b60405180910390fd5b6106268561061e610ac2565b858403610aca565b60019150509392505050565b6012600a610640919061174e565b623d090061064e9190611799565b81565b60006012905090565b60006106fc610667610ac2565b848460026000610675610ac2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546106f79190611885565b610aca565b6001905092915050565b610717610711610ac2565b82610f46565b50565b6012600a610728919061174e565b623d09006107369190611799565b81565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61078a611107565b6107946000611185565b565b6012600a6107a4919061174e565b6253ec606107b29190611799565b81565b6012600a6107c3919061174e565b6253ec606107d19190611799565b81565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606005805461080c906115ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610838906115ba565b80156108855780601f1061085a57610100808354040283529160200191610885565b820191906000526020600020905b81548152906001019060200180831161086857829003601f168201915b5050505050905090565b6000806002600061089e610ac2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561095b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109529061194d565b60405180910390fd5b61096f610966610ac2565b85858403610aca565b600191505092915050565b600061098e610987610ac2565b8484610c95565b6001905092915050565b6012600a6109a6919061174e565b629896806109b49190611799565b81565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610a46611107565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ab6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aad906119df565b60405180910390fd5b610abf81611185565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3190611a71565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610baa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba190611b03565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610c889190611422565b60405180910390a3505050565b60008111610cd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccf90611b6f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3f90611c01565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610db8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610daf90611c93565b60405180910390fd5b6000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610e3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3690611d25565b60405180910390fd5b818103600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ed49190611885565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f389190611422565b60405180910390a350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610fb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fad90611db7565b60405180910390fd5b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561103d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103490611e49565b60405180910390fd5b818103600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600360008282546110959190611e69565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516110fa9190611422565b60405180910390a3505050565b61110f610ac2565b73ffffffffffffffffffffffffffffffffffffffff1661112d6107d4565b73ffffffffffffffffffffffffffffffffffffffff1614611183576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117a90611ee9565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611283578082015181840152602081019050611268565b83811115611292576000848401525b50505050565b6000601f19601f8301169050919050565b60006112b482611249565b6112be8185611254565b93506112ce818560208601611265565b6112d781611298565b840191505092915050565b600060208201905081810360008301526112fc81846112a9565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061133482611309565b9050919050565b61134481611329565b811461134f57600080fd5b50565b6000813590506113618161133b565b92915050565b6000819050919050565b61137a81611367565b811461138557600080fd5b50565b60008135905061139781611371565b92915050565b600080604083850312156113b4576113b3611304565b5b60006113c285828601611352565b92505060206113d385828601611388565b9150509250929050565b60008115159050919050565b6113f2816113dd565b82525050565b600060208201905061140d60008301846113e9565b92915050565b61141c81611367565b82525050565b60006020820190506114376000830184611413565b92915050565b60008060006060848603121561145657611455611304565b5b600061146486828701611352565b935050602061147586828701611352565b925050604061148686828701611388565b9150509250925092565b600060ff82169050919050565b6114a681611490565b82525050565b60006020820190506114c1600083018461149d565b92915050565b6000602082840312156114dd576114dc611304565b5b60006114eb84828501611388565b91505092915050565b60006020828403121561150a57611509611304565b5b600061151884828501611352565b91505092915050565b61152a81611329565b82525050565b60006020820190506115456000830184611521565b92915050565b6000806040838503121561156257611561611304565b5b600061157085828601611352565b925050602061158185828601611352565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806115d257607f821691505b602082108114156115e6576115e561158b565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b60018511156116725780860481111561164e5761164d6115ec565b5b600185161561165d5780820291505b808102905061166b8561161b565b9450611632565b94509492505050565b60008261168b5760019050611747565b816116995760009050611747565b81600181146116af57600281146116b9576116e8565b6001915050611747565b60ff8411156116cb576116ca6115ec565b5b8360020a9150848211156116e2576116e16115ec565b5b50611747565b5060208310610133831016604e8410600b841016171561171d5782820a905083811115611718576117176115ec565b5b611747565b61172a8484846001611628565b92509050818404811115611741576117406115ec565b5b81810290505b9392505050565b600061175982611367565b915061176483611490565b92506117917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848461167b565b905092915050565b60006117a482611367565b91506117af83611367565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156117e8576117e76115ec565b5b828202905092915050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b600061184f602883611254565b915061185a826117f3565b604082019050919050565b6000602082019050818103600083015261187e81611842565b9050919050565b600061189082611367565b915061189b83611367565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156118d0576118cf6115ec565b5b828201905092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000611937602583611254565b9150611942826118db565b604082019050919050565b600060208201905081810360008301526119668161192a565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006119c9602683611254565b91506119d48261196d565b604082019050919050565b600060208201905081810360008301526119f8816119bc565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000611a5b602483611254565b9150611a66826119ff565b604082019050919050565b60006020820190508181036000830152611a8a81611a4e565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000611aed602283611254565b9150611af882611a91565b604082019050919050565b60006020820190508181036000830152611b1c81611ae0565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74207a65726f0000000000600082015250565b6000611b59601b83611254565b9150611b6482611b23565b602082019050919050565b60006020820190508181036000830152611b8881611b4c565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000611beb602583611254565b9150611bf682611b8f565b604082019050919050565b60006020820190508181036000830152611c1a81611bde565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000611c7d602383611254565b9150611c8882611c21565b604082019050919050565b60006020820190508181036000830152611cac81611c70565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000611d0f602683611254565b9150611d1a82611cb3565b604082019050919050565b60006020820190508181036000830152611d3e81611d02565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000611da1602183611254565b9150611dac82611d45565b604082019050919050565b60006020820190508181036000830152611dd081611d94565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000611e33602283611254565b9150611e3e82611dd7565b604082019050919050565b60006020820190508181036000830152611e6281611e26565b9050919050565b6000611e7482611367565b9150611e7f83611367565b925082821015611e9257611e916115ec565b5b828203905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611ed3602083611254565b9150611ede82611e9d565b602082019050919050565b60006020820190508181036000830152611f0281611ec6565b905091905056fea264697066735822122078b87d5841295c2a18e946db04238c25ae522786b41b092daff0089b3172916464736f6c63430008090033
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 = 17_500_000 * (10 ** _decimals);
uint256 public constant contributionIncentivesReserve = 10_000_000 * (10 ** _decimals);
uint256 public constant marketingAndDevelopmentReserve = 4_000_000 * (10 ** _decimals);
uint256 public constant treasuryReserve = 4_000_000 * (10 ** _decimals);
uint256 public constant DEXListingReserve = 5_500_000 * (10 ** _decimals);
uint256 public constant teamAndAdvisorsReserve = 3_500_000 * (10 ** _decimals);
uint256 public constant CEXListingsReserve = 5_500_000 * (10 ** _decimals);
/**
* @dev Contract constructor.
*/
constructor() {
_name = 'StarChain AI';
_symbol = 'STRC';
_mint(0x9F2f607024F7D6eef25941D6b9f671429D51aB4F, presaleReserve);
_mint(0xDd9DbCCDe3a44fc325F7A9432760f4a1D00AE7BE, contributionIncentivesReserve);
_mint(0xAb6940dC7D200E76229eAFA90c6Ed264F35cF964, marketingAndDevelopmentReserve);
_mint(0x10a371fb69865024e9924917c95E26C64529dfa7, treasuryReserve);
_mint(0xdFB84b549f71ad06522F6b1a5e532C546cA517C3, DEXListingReserve);
_mint(0x2070732D22444c5Ed155C28a249Ad46c7e3604eF, teamAndAdvisorsReserve);
_mint(0x504b23B62364f009D2f8d9ae20b3d690817B54Df, CEXListingsReserve);
}
/**
* @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
CEXListingsReserve 0x7b21436f → uint256
DEXListingReserve 0x74179b0c → uint256
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
contributionIncentivesReserve 0xaf2df5e0 → uint256
decimals 0x313ce567 → uint8
marketingAndDevelopmentReserve 0x277582c7 → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
presaleReserve 0x0c900e90 → uint256
symbol 0x95d89b41 → string
teamAndAdvisorsReserve 0x10244be4 → uint256
totalSupply 0x18160ddd → uint256
treasuryReserve 0x59297dbf → 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
Recent Transactions
No transactions found for this address