Source Code
Overview
ETH Balance
0 ETH
ETH Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Cross-Chain Transactions
Loading...
Loading
Contract Name:
DexToro
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./utils/ERC20.sol";
import "./utils/Owned.sol";
import "./interfaces/ISupplySchedule.sol";
import "./interfaces/IDexToro.sol";
contract DexToro is ERC20, Owned, IDexToro {
/// @notice defines inflationary supply schedule,
/// according to which the DTORO inflationary supply is released
ISupplySchedule public supplySchedule;
modifier onlySupplySchedule() {
require(
msg.sender == address(supplySchedule),
"DexToro: Only SupplySchedule can perform this action"
);
_;
}
constructor(
string memory name,
string memory symbol,
uint256 _initialSupply,
address _owner,
address _initialHolder
) ERC20(name, symbol) Owned(_owner) {
_mint(_initialHolder, _initialSupply);
}
// Mints inflationary supply
function mint(
address account,
uint256 amount
) external override onlySupplySchedule {
_mint(account, amount);
}
function burn(uint256 amount) external override {
_burn(msg.sender, amount);
}
function setSupplySchedule(
address _supplySchedule
) external override onlyOwner {
require(_supplySchedule != address(0), "DexToro: Invalid Address");
supplySchedule = ISupplySchedule(_supplySchedule);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC20.sol";
interface IDexToro is IERC20 {
function mint(address account, uint amount) external;
function burn(uint amount) external;
function setSupplySchedule(address _supplySchedule) external;
}// SPDX-License-Identifier: MIT
pragma solidity >=0.5.0 <0.9.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @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 `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, 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 `sender` to `recipient` 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 sender,
address recipient,
uint256 amount
) external returns (bool);
/**
* @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);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC20.sol";
/**
* @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);
}// SPDX-License-Identifier: MIT
pragma solidity >=0.4.24;
interface ISupplySchedule {
// Views
function mintableSupply() external view returns (uint);
function isMintable() external view returns (bool);
// Mutative functions
function mint() external;
function setTreasuryDiversion(uint _treasuryDiversion) external;
function setTradingRewardsDiversion(uint _tradingRewardsDiversion) external;
function setStakingRewards(address _stakingRewards) external;
function setTradingRewards(address _tradingRewards) external;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @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;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../interfaces/IERC20.sol";
import "../interfaces/IERC20Metadata.sol";
import "../utils/Context.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC20
* applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract ERC20 is Context, IERC20, IERC20Metadata {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* The default value of {decimals} is 18. To select a different value for
* {decimals} you should overload it.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the value {ERC20} uses, unless this function is
* overridden;
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `recipient` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* Requirements:
*
* - `sender` and `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
* - the caller must have allowance for ``sender``'s tokens of at least
* `amount`.
*/
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 Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
uint256 currentAllowance = _allowances[_msgSender()][spender];
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(_msgSender(), spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `amount` of tokens from `sender` to `recipient`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `sender` cannot be the zero address.
* - `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
*/
function _transfer(
address sender,
address recipient,
uint256 amount
) internal virtual {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(sender, recipient, amount);
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);
_afterTokenTransfer(sender, recipient, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
_balances[account] += amount;
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
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);
_afterTokenTransfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(
address owner,
address spender,
uint256 amount
) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract Owned {
address public owner;
address public nominatedOwner;
constructor(address _owner) {
require(_owner != address(0), "Owner address cannot be 0");
owner = _owner;
emit OwnerChanged(address(0), _owner);
}
function nominateNewOwner(address _owner) external onlyOwner {
nominatedOwner = _owner;
emit OwnerNominated(_owner);
}
function acceptOwnership() external {
require(msg.sender == nominatedOwner, "You must be nominated before you can accept ownership");
emit OwnerChanged(owner, nominatedOwner);
owner = nominatedOwner;
nominatedOwner = address(0);
}
modifier onlyOwner {
_onlyOwner();
_;
}
function _onlyOwner() private view {
require(msg.sender == owner, "Only the contract owner may perform this action");
}
event OwnerNominated(address newOwner);
event OwnerChanged(address oldOwner, address newOwner);
}{
"optimizer": {
"enabled": true,
"runs": 1000
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"metadata": {
"useLiteralContent": true
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"_initialSupply","type":"uint256"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_initialHolder","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerNominated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"nominateNewOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"nominatedOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_supplySchedule","type":"address"}],"name":"setSupplySchedule","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supplySchedule","outputs":[{"internalType":"contract ISupplySchedule","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040523480156200001157600080fd5b506040516200156f3803806200156f8339810160408190526200003491620002f0565b818585600362000045838262000417565b50600462000054828262000417565b5050506001600160a01b038116620000b35760405162461bcd60e51b815260206004820152601960248201527f4f776e657220616464726573732063616e6e6f7420626520300000000000000060448201526064015b60405180910390fd5b600580546001600160a01b0319166001600160a01b038316908117909155604080516000815260208101929092527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a15062000119818462000124565b50505050506200050b565b6001600160a01b0382166200017c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620000aa565b8060026000828254620001909190620004e3565b90915550506001600160a01b03821660009081526020819052604081208054839290620001bf908490620004e3565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200023657600080fd5b81516001600160401b03808211156200025357620002536200020e565b604051601f8301601f19908116603f011681019082821181831017156200027e576200027e6200020e565b816040528381526020925086838588010111156200029b57600080fd5b600091505b83821015620002bf5785820183015181830184015290820190620002a0565b600093810190920192909252949350505050565b80516001600160a01b0381168114620002eb57600080fd5b919050565b600080600080600060a086880312156200030957600080fd5b85516001600160401b03808211156200032157600080fd5b6200032f89838a0162000224565b965060208801519150808211156200034657600080fd5b50620003558882890162000224565b945050604086015192506200036d60608701620002d3565b91506200037d60808701620002d3565b90509295509295909350565b600181811c908216806200039e57607f821691505b602082108103620003bf57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200020957600081815260208120601f850160051c81016020861015620003ee5750805b601f850160051c820191505b818110156200040f57828155600101620003fa565b505050505050565b81516001600160401b038111156200043357620004336200020e565b6200044b8162000444845462000389565b84620003c5565b602080601f8311600181146200048357600084156200046a5750858301515b600019600386901b1c1916600185901b1785556200040f565b600085815260208120601f198616915b82811015620004b45788860151825594840194600190910190840162000493565b5085821015620004d35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200050557634e487b7160e01b600052601160045260246000fd5b92915050565b611054806200051b6000396000f3fe608060405234801561001057600080fd5b50600436106101515760003560e01c806342966c68116100cd57806395d89b4111610081578063a9059cbb11610066578063a9059cbb146102b6578063c40dd66f146102c9578063dd62ed3e146102dc57600080fd5b806395d89b411461029b578063a457c2d7146102a357600080fd5b806370a08231116100b257806370a082311461025757806379ba5097146102805780638da5cb5b1461028857600080fd5b806342966c681461021957806353a47bb71461022c57600080fd5b806323b872dd11610124578063332f325611610109578063332f3256146101e057806339509351146101f357806340c10f191461020657600080fd5b806323b872dd146101be578063313ce567146101d157600080fd5b806306fdde0314610156578063095ea7b3146101745780631627540c1461019757806318160ddd146101ac575b600080fd5b61015e610315565b60405161016b9190610e6a565b60405180910390f35b610187610182366004610ed4565b6103a7565b604051901515815260200161016b565b6101aa6101a5366004610efe565b6103be565b005b6002545b60405190815260200161016b565b6101876101cc366004610f20565b610427565b6040516012815260200161016b565b6101aa6101ee366004610efe565b6104eb565b610187610201366004610ed4565b610578565b6101aa610214366004610ed4565b6105b4565b6101aa610227366004610f5c565b610642565b60065461023f906001600160a01b031681565b6040516001600160a01b03909116815260200161016b565b6101b0610265366004610efe565b6001600160a01b031660009081526020819052604090205490565b6101aa61064f565b60055461023f906001600160a01b031681565b61015e61074e565b6101876102b1366004610ed4565b61075d565b6101876102c4366004610ed4565b61080e565b60075461023f906001600160a01b031681565b6101b06102ea366004610f75565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60606003805461032490610fa8565b80601f016020809104026020016040519081016040528092919081815260200182805461035090610fa8565b801561039d5780601f106103725761010080835404028352916020019161039d565b820191906000526020600020905b81548152906001019060200180831161038057829003601f168201915b5050505050905090565b60006103b433848461081b565b5060015b92915050565b6103c6610974565b6006805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0383169081179091556040519081527f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce229060200160405180910390a150565b60006104348484846109f6565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156104d35760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6104e0853385840361081b565b506001949350505050565b6104f3610974565b6001600160a01b0381166105495760405162461bcd60e51b815260206004820152601860248201527f446578546f726f3a20496e76616c69642041646472657373000000000000000060448201526064016104ca565b6007805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103b49185906105af908690610ff8565b61081b565b6007546001600160a01b031633146106345760405162461bcd60e51b815260206004820152603460248201527f446578546f726f3a204f6e6c7920537570706c795363686564756c652063616e60448201527f20706572666f726d207468697320616374696f6e00000000000000000000000060648201526084016104ca565b61063e8282610c0e565b5050565b61064c3382610ced565b50565b6006546001600160a01b031633146106cf5760405162461bcd60e51b815260206004820152603560248201527f596f75206d757374206265206e6f6d696e61746564206265666f726520796f7560448201527f2063616e20616363657074206f776e657273686970000000000000000000000060648201526084016104ca565b600554600654604080516001600160a01b0393841681529290911660208301527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a1600680546005805473ffffffffffffffffffffffffffffffffffffffff199081166001600160a01b03841617909155169055565b60606004805461032490610fa8565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156107f75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104ca565b610804338585840361081b565b5060019392505050565b60006103b43384846109f6565b6001600160a01b0383166108965760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104ca565b6001600160a01b0382166109125760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104ca565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6005546001600160a01b031633146109f45760405162461bcd60e51b815260206004820152602f60248201527f4f6e6c792074686520636f6e7472616374206f776e6572206d6179207065726660448201527f6f726d207468697320616374696f6e000000000000000000000000000000000060648201526084016104ca565b565b6001600160a01b038316610a725760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104ca565b6001600160a01b038216610aee5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104ca565b6001600160a01b03831660009081526020819052604090205481811015610b7d5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104ca565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610bb4908490610ff8565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610c0091815260200190565b60405180910390a350505050565b6001600160a01b038216610c645760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104ca565b8060026000828254610c769190610ff8565b90915550506001600160a01b03821660009081526020819052604081208054839290610ca3908490610ff8565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216610d695760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104ca565b6001600160a01b03821660009081526020819052604090205481811015610df85760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104ca565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610e2790849061100b565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610967565b600060208083528351808285015260005b81811015610e9757858101830151858201604001528201610e7b565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610ecf57600080fd5b919050565b60008060408385031215610ee757600080fd5b610ef083610eb8565b946020939093013593505050565b600060208284031215610f1057600080fd5b610f1982610eb8565b9392505050565b600080600060608486031215610f3557600080fd5b610f3e84610eb8565b9250610f4c60208501610eb8565b9150604084013590509250925092565b600060208284031215610f6e57600080fd5b5035919050565b60008060408385031215610f8857600080fd5b610f9183610eb8565b9150610f9f60208401610eb8565b90509250929050565b600181811c90821680610fbc57607f821691505b602082108103610fdc57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156103b8576103b8610fe2565b818103818111156103b8576103b8610fe256fea26469706673582212203cf41bb715467ad019f89abe3486ff7211db2347b9828a4b1f0276a0667d17de64736f6c6343000813003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000014adf4b7320334b9000000000000000000000000000000db4e4cd74e9bfdf78e4da8d2953bb624fbebe6b3000000000000000000000000db4e4cd74e9bfdf78e4da8d2953bb624fbebe6b30000000000000000000000000000000000000000000000000000000000000007446578546f726f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000544544f524f000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101515760003560e01c806342966c68116100cd57806395d89b4111610081578063a9059cbb11610066578063a9059cbb146102b6578063c40dd66f146102c9578063dd62ed3e146102dc57600080fd5b806395d89b411461029b578063a457c2d7146102a357600080fd5b806370a08231116100b257806370a082311461025757806379ba5097146102805780638da5cb5b1461028857600080fd5b806342966c681461021957806353a47bb71461022c57600080fd5b806323b872dd11610124578063332f325611610109578063332f3256146101e057806339509351146101f357806340c10f191461020657600080fd5b806323b872dd146101be578063313ce567146101d157600080fd5b806306fdde0314610156578063095ea7b3146101745780631627540c1461019757806318160ddd146101ac575b600080fd5b61015e610315565b60405161016b9190610e6a565b60405180910390f35b610187610182366004610ed4565b6103a7565b604051901515815260200161016b565b6101aa6101a5366004610efe565b6103be565b005b6002545b60405190815260200161016b565b6101876101cc366004610f20565b610427565b6040516012815260200161016b565b6101aa6101ee366004610efe565b6104eb565b610187610201366004610ed4565b610578565b6101aa610214366004610ed4565b6105b4565b6101aa610227366004610f5c565b610642565b60065461023f906001600160a01b031681565b6040516001600160a01b03909116815260200161016b565b6101b0610265366004610efe565b6001600160a01b031660009081526020819052604090205490565b6101aa61064f565b60055461023f906001600160a01b031681565b61015e61074e565b6101876102b1366004610ed4565b61075d565b6101876102c4366004610ed4565b61080e565b60075461023f906001600160a01b031681565b6101b06102ea366004610f75565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60606003805461032490610fa8565b80601f016020809104026020016040519081016040528092919081815260200182805461035090610fa8565b801561039d5780601f106103725761010080835404028352916020019161039d565b820191906000526020600020905b81548152906001019060200180831161038057829003601f168201915b5050505050905090565b60006103b433848461081b565b5060015b92915050565b6103c6610974565b6006805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0383169081179091556040519081527f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce229060200160405180910390a150565b60006104348484846109f6565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156104d35760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6104e0853385840361081b565b506001949350505050565b6104f3610974565b6001600160a01b0381166105495760405162461bcd60e51b815260206004820152601860248201527f446578546f726f3a20496e76616c69642041646472657373000000000000000060448201526064016104ca565b6007805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103b49185906105af908690610ff8565b61081b565b6007546001600160a01b031633146106345760405162461bcd60e51b815260206004820152603460248201527f446578546f726f3a204f6e6c7920537570706c795363686564756c652063616e60448201527f20706572666f726d207468697320616374696f6e00000000000000000000000060648201526084016104ca565b61063e8282610c0e565b5050565b61064c3382610ced565b50565b6006546001600160a01b031633146106cf5760405162461bcd60e51b815260206004820152603560248201527f596f75206d757374206265206e6f6d696e61746564206265666f726520796f7560448201527f2063616e20616363657074206f776e657273686970000000000000000000000060648201526084016104ca565b600554600654604080516001600160a01b0393841681529290911660208301527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a1600680546005805473ffffffffffffffffffffffffffffffffffffffff199081166001600160a01b03841617909155169055565b60606004805461032490610fa8565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156107f75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104ca565b610804338585840361081b565b5060019392505050565b60006103b43384846109f6565b6001600160a01b0383166108965760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104ca565b6001600160a01b0382166109125760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104ca565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6005546001600160a01b031633146109f45760405162461bcd60e51b815260206004820152602f60248201527f4f6e6c792074686520636f6e7472616374206f776e6572206d6179207065726660448201527f6f726d207468697320616374696f6e000000000000000000000000000000000060648201526084016104ca565b565b6001600160a01b038316610a725760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104ca565b6001600160a01b038216610aee5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104ca565b6001600160a01b03831660009081526020819052604090205481811015610b7d5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104ca565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610bb4908490610ff8565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610c0091815260200190565b60405180910390a350505050565b6001600160a01b038216610c645760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104ca565b8060026000828254610c769190610ff8565b90915550506001600160a01b03821660009081526020819052604081208054839290610ca3908490610ff8565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216610d695760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104ca565b6001600160a01b03821660009081526020819052604090205481811015610df85760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104ca565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610e2790849061100b565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610967565b600060208083528351808285015260005b81811015610e9757858101830151858201604001528201610e7b565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610ecf57600080fd5b919050565b60008060408385031215610ee757600080fd5b610ef083610eb8565b946020939093013593505050565b600060208284031215610f1057600080fd5b610f1982610eb8565b9392505050565b600080600060608486031215610f3557600080fd5b610f3e84610eb8565b9250610f4c60208501610eb8565b9150604084013590509250925092565b600060208284031215610f6e57600080fd5b5035919050565b60008060408385031215610f8857600080fd5b610f9183610eb8565b9150610f9f60208401610eb8565b90509250929050565b600181811c90821680610fbc57607f821691505b602082108103610fdc57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156103b8576103b8610fe2565b818103818111156103b8576103b8610fe256fea26469706673582212203cf41bb715467ad019f89abe3486ff7211db2347b9828a4b1f0276a0667d17de64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000014adf4b7320334b9000000000000000000000000000000db4e4cd74e9bfdf78e4da8d2953bb624fbebe6b3000000000000000000000000db4e4cd74e9bfdf78e4da8d2953bb624fbebe6b30000000000000000000000000000000000000000000000000000000000000007446578546f726f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000544544f524f000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): DexToro
Arg [1] : symbol (string): DTORO
Arg [2] : _initialSupply (uint256): 25000000000000000000000000
Arg [3] : _owner (address): 0xdB4e4Cd74E9BfDf78E4dA8d2953bb624FBeBe6b3
Arg [4] : _initialHolder (address): 0xdB4e4Cd74E9BfDf78E4dA8d2953bb624FBeBe6b3
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 00000000000000000000000000000000000000000014adf4b7320334b9000000
Arg [3] : 000000000000000000000000db4e4cd74e9bfdf78e4da8d2953bb624fbebe6b3
Arg [4] : 000000000000000000000000db4e4cd74e9bfdf78e4da8d2953bb624fbebe6b3
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [6] : 446578546f726f00000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [8] : 44544f524f000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.