Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
144,069,989.452161523546568922 API3
Holders
24,212 ( 0.012%)
Market
Price
$1.73 @ 0.000537 ETH (+9.75%)
Onchain Market Cap
$249,241,081.75
Circulating Supply Market Cap
$202,141,536.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,162.844229291394246353 API3Value
$2,011.72 ( ~0.624636679674957 Eth) [0.0008%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Api3Token
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-11-06 */ // File: @openzeppelin/contracts/GSN/Context.sol pragma solidity ^0.6.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 GSN 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 payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity ^0.6.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); } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.6.2; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies in extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol pragma solidity ^0.6.0; /** * @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 guidelines: functions revert instead * of 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 { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view 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 {_setupDecimals} is * called. * * 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 returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view 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); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); 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].add(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) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is 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); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(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 * * - `to` 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 = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(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); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(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 Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @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 to 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 { } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity ^0.6.0; /** * @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. */ 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 () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: contracts/interfaces/IApi3Token.sol pragma solidity 0.6.12; interface IApi3Token is IERC20 { event MinterStatusUpdated( address indexed minterAddress, bool minterStatus ); event BurnerStatusUpdated( address indexed burnerAddress, bool burnerStatus ); function updateMinterStatus( address minterAddress, bool minterStatus ) external; function updateBurnerStatus(bool burnerStatus) external; function mint( address account, uint256 amount ) external; function burn(uint256 amount) external; function getMinterStatus(address minterAddress) external view returns(bool minterStatus); function getBurnerStatus(address burnerAddress) external view returns(bool burnerStatus); } // File: contracts/Api3Token.sol pragma solidity 0.6.12; /// @title API3 token contract /// @notice The API3 token contract is owned by the API3 DAO, which can grant /// minting privileges to addresses. Any account is allowed to burn their /// tokens, but this functionality is put behind a barrier that requires the /// account to make a call to remove. contract Api3Token is ERC20, Ownable, IApi3Token { /// @dev If an address is authorized to mint tokens. /// Token minting authorization is granted by the token contract owner /// (i.e., the API3 DAO). mapping(address => bool) private isMinter; /// @dev If an address is authorized to burn tokens. /// Token burning authorization is granted by the address itself, i.e., /// anyone can declare themselves a token burner. mapping(address => bool) private isBurner; /// @param contractOwner Address that will receive the ownership of the /// token contract /// @param mintingDestination Address that the tokens will be minted to constructor( address contractOwner, address mintingDestination ) public ERC20("API3", "API3") { transferOwnership(contractOwner); // Initial supply is 100 million (100e6) // We are using ether because the token has 18 decimals like ETH _mint(mintingDestination, 100e6 ether); } /// @notice The OpenZeppelin renounceOwnership() implementation is /// overriden to prevent ownership from being renounced accidentally. function renounceOwnership() public override onlyOwner { revert("Ownership cannot be renounced"); } /// @notice Updates if an address is authorized to mint tokens /// @param minterAddress Address whose minter authorization status will be /// updated /// @param minterStatus Updated minter authorization status function updateMinterStatus( address minterAddress, bool minterStatus ) external override onlyOwner { require( isMinter[minterAddress] != minterStatus, "Input will not update state" ); isMinter[minterAddress] = minterStatus; emit MinterStatusUpdated(minterAddress, minterStatus); } /// @notice Updates if the caller is authorized to burn tokens /// @param burnerStatus Updated minter authorization status function updateBurnerStatus(bool burnerStatus) external override { require( isBurner[msg.sender] != burnerStatus, "Input will not update state" ); isBurner[msg.sender] = burnerStatus; emit BurnerStatusUpdated(msg.sender, burnerStatus); } /// @notice Mints tokens /// @param account Address that will receive the minted tokens /// @param amount Amount that will be minted function mint( address account, uint256 amount ) external override { require(isMinter[msg.sender], "Only minters are allowed to mint"); _mint(account, amount); } /// @notice Burns caller's tokens /// @param amount Amount that will be burned function burn(uint256 amount) external override { require(isBurner[msg.sender], "Only burners are allowed to burn"); _burn(msg.sender, amount); } /// @notice Returns if an address is authorized to mint tokens /// @param minterAddress Address whose minter authorization status will be /// returned /// @return minterStatus Minter authorization status function getMinterStatus(address minterAddress) external view override returns(bool minterStatus) { minterStatus = isMinter[minterAddress]; } /// @notice Returns if an address is authorized to burn tokens /// @param burnerAddress Address whose burner authorization status will be /// returned /// @return burnerStatus Burner authorization status function getBurnerStatus(address burnerAddress) external view override returns(bool burnerStatus) { burnerStatus = isBurner[burnerAddress]; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"contractOwner","type":"address"},{"internalType":"address","name":"mintingDestination","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":true,"internalType":"address","name":"burnerAddress","type":"address"},{"indexed":false,"internalType":"bool","name":"burnerStatus","type":"bool"}],"name":"BurnerStatusUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minterAddress","type":"address"},{"indexed":false,"internalType":"bool","name":"minterStatus","type":"bool"}],"name":"MinterStatusUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":[{"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":"burnerAddress","type":"address"}],"name":"getBurnerStatus","outputs":[{"internalType":"bool","name":"burnerStatus","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minterAddress","type":"address"}],"name":"getMinterStatus","outputs":[{"internalType":"bool","name":"minterStatus","type":"bool"}],"stateMutability":"view","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":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"burnerStatus","type":"bool"}],"name":"updateBurnerStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minterAddress","type":"address"},{"internalType":"bool","name":"minterStatus","type":"bool"}],"name":"updateMinterStatus","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200184838038062001848833981810160405260408110156200003757600080fd5b5080516020918201516040805180820182526004808252634150493360e01b8287018181528451808601909552918452958301959095528051939492939092620000859160039190620003af565b5080516200009b906004906020840190620003af565b50506005805460ff19166012179055506000620000b762000126565b60058054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519192509060009060008051602062001828833981519152908290a35062000107826200012a565b6200011e816a52b7d2dcc80cd2e400000062000239565b50506200044b565b3390565b6200013462000126565b60055461010090046001600160a01b039081169116146200019c576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116620001e35760405162461bcd60e51b8152600401808060200182810382526026815260200180620018026026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416906000805160206200182883398151915290600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6001600160a01b03821662000295576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b620002a36000838362000348565b620002bf816002546200034d60201b62000c911790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620002f291839062000c916200034d821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b600082820183811015620003a8576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620003f257805160ff191683800117855562000422565b8280016001018555821562000422579182015b828111156200042257825182559160200191906001019062000405565b506200043092915062000434565b5090565b5b8082111562000430576000815560010162000435565b6113a7806200045b6000396000f3fe608060405234801561001057600080fd5b506004361061016c5760003560e01c80638da5cb5b116100cd578063bbb30c5d11610081578063dd62ed3e11610066578063dd62ed3e14610430578063efc8f3c81461045e578063f2fde38b1461048c5761016c565b8063bbb30c5d146103eb578063d37cd55d146104115761016c565b8063a457c2d7116100b2578063a457c2d71461036d578063a9059cbb14610399578063b168dc5b146103c55761016c565b80638da5cb5b1461034157806395d89b41146103655761016c565b8063395093511161012457806342966c681161010957806342966c68146102f657806370a0823114610313578063715018a6146103395761016c565b8063395093511461029c57806340c10f19146102c85761016c565b806318160ddd1161015557806318160ddd1461022e57806323b872dd14610248578063313ce5671461027e5761016c565b806306fdde0314610171578063095ea7b3146101ee575b600080fd5b6101796104b2565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101b357818101518382015260200161019b565b50505050905090810190601f1680156101e05780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61021a6004803603604081101561020457600080fd5b506001600160a01b038135169060200135610548565b604080519115158252519081900360200190f35b610236610565565b60408051918252519081900360200190f35b61021a6004803603606081101561025e57600080fd5b506001600160a01b0381358116916020810135909116906040013561056b565b6102866105f2565b6040805160ff9092168252519081900360200190f35b61021a600480360360408110156102b257600080fd5b506001600160a01b0381351690602001356105fb565b6102f4600480360360408110156102de57600080fd5b506001600160a01b038135169060200135610649565b005b6102f46004803603602081101561030c57600080fd5b50356106bb565b6102366004803603602081101561032957600080fd5b50356001600160a01b031661072c565b6102f4610747565b610349610803565b604080516001600160a01b039092168252519081900360200190f35b610179610817565b61021a6004803603604081101561038357600080fd5b506001600160a01b038135169060200135610878565b61021a600480360360408110156103af57600080fd5b506001600160a01b0381351690602001356108e0565b61021a600480360360208110156103db57600080fd5b50356001600160a01b03166108f4565b61021a6004803603602081101561040157600080fd5b50356001600160a01b0316610912565b6102f46004803603602081101561042757600080fd5b50351515610930565b6102366004803603604081101561044657600080fd5b506001600160a01b03813581169160200135166109f1565b6102f46004803603604081101561047457600080fd5b506001600160a01b0381351690602001351515610a1c565b6102f4600480360360208110156104a257600080fd5b50356001600160a01b0316610b5f565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561053e5780601f106105135761010080835404028352916020019161053e565b820191906000526020600020905b81548152906001019060200180831161052157829003601f168201915b5050505050905090565b600061055c610555610cf2565b8484610cf6565b50600192915050565b60025490565b6000610578848484610de2565b6105e884610584610cf2565b6105e3856040518060600160405280602881526020016112bb602891396001600160a01b038a166000908152600160205260408120906105c2610cf2565b6001600160a01b031681526020810191909152604001600020549190610f3d565b610cf6565b5060019392505050565b60055460ff1690565b600061055c610608610cf2565b846105e38560016000610619610cf2565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610c91565b3360009081526006602052604090205460ff166106ad576040805162461bcd60e51b815260206004820181905260248201527f4f6e6c79206d696e746572732061726520616c6c6f77656420746f206d696e74604482015290519081900360640190fd5b6106b78282610fd4565b5050565b3360009081526007602052604090205460ff1661071f576040805162461bcd60e51b815260206004820181905260248201527f4f6e6c79206275726e6572732061726520616c6c6f77656420746f206275726e604482015290519081900360640190fd5b61072933826110c4565b50565b6001600160a01b031660009081526020819052604090205490565b61074f610cf2565b60055461010090046001600160a01b039081169116146107b6576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6040805162461bcd60e51b815260206004820152601d60248201527f4f776e6572736869702063616e6e6f742062652072656e6f756e636564000000604482015290519081900360640190fd5b60055461010090046001600160a01b031690565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561053e5780601f106105135761010080835404028352916020019161053e565b600061055c610885610cf2565b846105e38560405180606001604052806025815260200161134d60259139600160006108af610cf2565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610f3d565b600061055c6108ed610cf2565b8484610de2565b6001600160a01b031660009081526007602052604090205460ff1690565b6001600160a01b031660009081526006602052604090205460ff1690565b3360009081526007602052604090205460ff161515811515141561099b576040805162461bcd60e51b815260206004820152601b60248201527f496e7075742077696c6c206e6f74207570646174652073746174650000000000604482015290519081900360640190fd5b33600081815260076020908152604091829020805460ff1916851515908117909155825190815291517f5217d618731e650419668d9b99f95d662e37d7b87d4689cd98e92e1c176cc7059281900390910190a250565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610a24610cf2565b60055461010090046001600160a01b03908116911614610a8b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03821660009081526006602052604090205460ff1615158115151415610aff576040805162461bcd60e51b815260206004820152601b60248201527f496e7075742077696c6c206e6f74207570646174652073746174650000000000604482015290519081900360640190fd5b6001600160a01b038216600081815260066020908152604091829020805460ff1916851515908117909155825190815291517fd7f05487ae3002c125e5927b52b19827dd903ac7cb2e69c4f7f2fdbc17d1145c9281900390910190a25050565b610b67610cf2565b60055461010090046001600160a01b03908116911614610bce576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610c135760405162461bcd60e51b815260040180806020018281038252602681526020018061124d6026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b03909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b600082820183811015610ceb576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b038316610d3b5760405162461bcd60e51b81526004018080602001828103825260248152602001806113296024913960400191505060405180910390fd5b6001600160a01b038216610d805760405162461bcd60e51b81526004018080602001828103825260228152602001806112736022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610e275760405162461bcd60e51b81526004018080602001828103825260258152602001806113046025913960400191505060405180910390fd5b6001600160a01b038216610e6c5760405162461bcd60e51b81526004018080602001828103825260238152602001806112086023913960400191505060405180910390fd5b610e778383836111c0565b610eb481604051806060016040528060268152602001611295602691396001600160a01b0386166000908152602081905260409020549190610f3d565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610ee39082610c91565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610fcc5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610f91578181015183820152602001610f79565b50505050905090810190601f168015610fbe5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b03821661102f576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61103b600083836111c0565b6002546110489082610c91565b6002556001600160a01b03821660009081526020819052604090205461106e9082610c91565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b0382166111095760405162461bcd60e51b81526004018080602001828103825260218152602001806112e36021913960400191505060405180910390fd5b611115826000836111c0565b6111528160405180606001604052806022815260200161122b602291396001600160a01b0385166000908152602081905260409020549190610f3d565b6001600160a01b03831660009081526020819052604090205560025461117890826111c5565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b505050565b6000610ceb83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610f3d56fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220c64ade4ecf97caf9850c521312f559e401a4cc8882a00ac35a148f5e0fbdc4cf64736f6c634300060c00334f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573738be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0000000000000000000000000e7af7c5982e073ac6525a34821fe1b3e8e43209900000000000000000000000024dd2870b2a1986f58b495848606ed93270ec6fb
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061016c5760003560e01c80638da5cb5b116100cd578063bbb30c5d11610081578063dd62ed3e11610066578063dd62ed3e14610430578063efc8f3c81461045e578063f2fde38b1461048c5761016c565b8063bbb30c5d146103eb578063d37cd55d146104115761016c565b8063a457c2d7116100b2578063a457c2d71461036d578063a9059cbb14610399578063b168dc5b146103c55761016c565b80638da5cb5b1461034157806395d89b41146103655761016c565b8063395093511161012457806342966c681161010957806342966c68146102f657806370a0823114610313578063715018a6146103395761016c565b8063395093511461029c57806340c10f19146102c85761016c565b806318160ddd1161015557806318160ddd1461022e57806323b872dd14610248578063313ce5671461027e5761016c565b806306fdde0314610171578063095ea7b3146101ee575b600080fd5b6101796104b2565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101b357818101518382015260200161019b565b50505050905090810190601f1680156101e05780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61021a6004803603604081101561020457600080fd5b506001600160a01b038135169060200135610548565b604080519115158252519081900360200190f35b610236610565565b60408051918252519081900360200190f35b61021a6004803603606081101561025e57600080fd5b506001600160a01b0381358116916020810135909116906040013561056b565b6102866105f2565b6040805160ff9092168252519081900360200190f35b61021a600480360360408110156102b257600080fd5b506001600160a01b0381351690602001356105fb565b6102f4600480360360408110156102de57600080fd5b506001600160a01b038135169060200135610649565b005b6102f46004803603602081101561030c57600080fd5b50356106bb565b6102366004803603602081101561032957600080fd5b50356001600160a01b031661072c565b6102f4610747565b610349610803565b604080516001600160a01b039092168252519081900360200190f35b610179610817565b61021a6004803603604081101561038357600080fd5b506001600160a01b038135169060200135610878565b61021a600480360360408110156103af57600080fd5b506001600160a01b0381351690602001356108e0565b61021a600480360360208110156103db57600080fd5b50356001600160a01b03166108f4565b61021a6004803603602081101561040157600080fd5b50356001600160a01b0316610912565b6102f46004803603602081101561042757600080fd5b50351515610930565b6102366004803603604081101561044657600080fd5b506001600160a01b03813581169160200135166109f1565b6102f46004803603604081101561047457600080fd5b506001600160a01b0381351690602001351515610a1c565b6102f4600480360360208110156104a257600080fd5b50356001600160a01b0316610b5f565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561053e5780601f106105135761010080835404028352916020019161053e565b820191906000526020600020905b81548152906001019060200180831161052157829003601f168201915b5050505050905090565b600061055c610555610cf2565b8484610cf6565b50600192915050565b60025490565b6000610578848484610de2565b6105e884610584610cf2565b6105e3856040518060600160405280602881526020016112bb602891396001600160a01b038a166000908152600160205260408120906105c2610cf2565b6001600160a01b031681526020810191909152604001600020549190610f3d565b610cf6565b5060019392505050565b60055460ff1690565b600061055c610608610cf2565b846105e38560016000610619610cf2565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610c91565b3360009081526006602052604090205460ff166106ad576040805162461bcd60e51b815260206004820181905260248201527f4f6e6c79206d696e746572732061726520616c6c6f77656420746f206d696e74604482015290519081900360640190fd5b6106b78282610fd4565b5050565b3360009081526007602052604090205460ff1661071f576040805162461bcd60e51b815260206004820181905260248201527f4f6e6c79206275726e6572732061726520616c6c6f77656420746f206275726e604482015290519081900360640190fd5b61072933826110c4565b50565b6001600160a01b031660009081526020819052604090205490565b61074f610cf2565b60055461010090046001600160a01b039081169116146107b6576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6040805162461bcd60e51b815260206004820152601d60248201527f4f776e6572736869702063616e6e6f742062652072656e6f756e636564000000604482015290519081900360640190fd5b60055461010090046001600160a01b031690565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561053e5780601f106105135761010080835404028352916020019161053e565b600061055c610885610cf2565b846105e38560405180606001604052806025815260200161134d60259139600160006108af610cf2565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610f3d565b600061055c6108ed610cf2565b8484610de2565b6001600160a01b031660009081526007602052604090205460ff1690565b6001600160a01b031660009081526006602052604090205460ff1690565b3360009081526007602052604090205460ff161515811515141561099b576040805162461bcd60e51b815260206004820152601b60248201527f496e7075742077696c6c206e6f74207570646174652073746174650000000000604482015290519081900360640190fd5b33600081815260076020908152604091829020805460ff1916851515908117909155825190815291517f5217d618731e650419668d9b99f95d662e37d7b87d4689cd98e92e1c176cc7059281900390910190a250565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610a24610cf2565b60055461010090046001600160a01b03908116911614610a8b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03821660009081526006602052604090205460ff1615158115151415610aff576040805162461bcd60e51b815260206004820152601b60248201527f496e7075742077696c6c206e6f74207570646174652073746174650000000000604482015290519081900360640190fd5b6001600160a01b038216600081815260066020908152604091829020805460ff1916851515908117909155825190815291517fd7f05487ae3002c125e5927b52b19827dd903ac7cb2e69c4f7f2fdbc17d1145c9281900390910190a25050565b610b67610cf2565b60055461010090046001600160a01b03908116911614610bce576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610c135760405162461bcd60e51b815260040180806020018281038252602681526020018061124d6026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b03909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b600082820183811015610ceb576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b038316610d3b5760405162461bcd60e51b81526004018080602001828103825260248152602001806113296024913960400191505060405180910390fd5b6001600160a01b038216610d805760405162461bcd60e51b81526004018080602001828103825260228152602001806112736022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610e275760405162461bcd60e51b81526004018080602001828103825260258152602001806113046025913960400191505060405180910390fd5b6001600160a01b038216610e6c5760405162461bcd60e51b81526004018080602001828103825260238152602001806112086023913960400191505060405180910390fd5b610e778383836111c0565b610eb481604051806060016040528060268152602001611295602691396001600160a01b0386166000908152602081905260409020549190610f3d565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610ee39082610c91565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610fcc5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610f91578181015183820152602001610f79565b50505050905090810190601f168015610fbe5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b03821661102f576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61103b600083836111c0565b6002546110489082610c91565b6002556001600160a01b03821660009081526020819052604090205461106e9082610c91565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b0382166111095760405162461bcd60e51b81526004018080602001828103825260218152602001806112e36021913960400191505060405180910390fd5b611115826000836111c0565b6111528160405180606001604052806022815260200161122b602291396001600160a01b0385166000908152602081905260409020549190610f3d565b6001600160a01b03831660009081526020819052604090205560025461117890826111c5565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b505050565b6000610ceb83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610f3d56fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220c64ade4ecf97caf9850c521312f559e401a4cc8882a00ac35a148f5e0fbdc4cf64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000e7af7c5982e073ac6525a34821fe1b3e8e43209900000000000000000000000024dd2870b2a1986f58b495848606ed93270ec6fb
-----Decoded View---------------
Arg [0] : contractOwner (address): 0xe7aF7c5982e073aC6525a34821fe1B3e8E432099
Arg [1] : mintingDestination (address): 0x24dd2870B2A1986F58B495848606Ed93270eC6FB
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000e7af7c5982e073ac6525a34821fe1b3e8e432099
Arg [1] : 00000000000000000000000024dd2870b2a1986f58b495848606ed93270ec6fb
Deployed Bytecode Sourcemap
29819:4037:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17395:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19501:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19501:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;18470:100;;;:::i;:::-;;;;;;;;;;;;;;;;20144:321;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20144:321:0;;;;;;;;;;;;;;;;;:::i;18322:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20874:218;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20874:218:0;;;;;;;;:::i;32475:234::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;32475:234:0;;;;;;;;:::i;:::-;;32806:191;;;;;;;;;;;;;;;;-1:-1:-1;32806:191:0;;:::i;18633:119::-;;;;;;;;;;;;;;;;-1:-1:-1;18633:119:0;-1:-1:-1;;;;;18633:119:0;;:::i;31053:145::-;;;:::i;27302:79::-;;;:::i;:::-;;;;-1:-1:-1;;;;;27302:79:0;;;;;;;;;;;;;;17597:87;;;:::i;21595:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21595:269:0;;;;;;;;:::i;18965:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18965:175:0;;;;;;;;:::i;33657:196::-;;;;;;;;;;;;;;;;-1:-1:-1;33657:196:0;-1:-1:-1;;;;;33657:196:0;;:::i;33229:::-;;;;;;;;;;;;;;;;-1:-1:-1;33229:196:0;-1:-1:-1;;;;;33229:196:0;;:::i;31988:331::-;;;;;;;;;;;;;;;;-1:-1:-1;31988:331:0;;;;:::i;19203:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19203:151:0;;;;;;;;;;:::i;31436:411::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31436:411:0;;;;;;;;;;:::i;28247:244::-;;;;;;;;;;;;;;;;-1:-1:-1;28247:244:0;-1:-1:-1;;;;;28247:244:0;;:::i;17395:83::-;17465:5;17458:12;;;;;;;;-1:-1:-1;;17458:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17432:13;;17458:12;;17465:5;;17458:12;;17465:5;17458:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17395:83;:::o;19501:169::-;19584:4;19601:39;19610:12;:10;:12::i;:::-;19624:7;19633:6;19601:8;:39::i;:::-;-1:-1:-1;19658:4:0;19501:169;;;;:::o;18470:100::-;18550:12;;18470:100;:::o;20144:321::-;20250:4;20267:36;20277:6;20285:9;20296:6;20267:9;:36::i;:::-;20314:121;20323:6;20331:12;:10;:12::i;:::-;20345:89;20383:6;20345:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20345:19:0;;;;;;:11;:19;;;;;;20365:12;:10;:12::i;:::-;-1:-1:-1;;;;;20345:33:0;;;;;;;;;;;;-1:-1:-1;20345:33:0;;;:89;:37;:89::i;:::-;20314:8;:121::i;:::-;-1:-1:-1;20453:4:0;20144:321;;;;;:::o;18322:83::-;18388:9;;;;18322:83;:::o;20874:218::-;20962:4;20979:83;20988:12;:10;:12::i;:::-;21002:7;21011:50;21050:10;21011:11;:25;21023:12;:10;:12::i;:::-;-1:-1:-1;;;;;21011:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;21011:25:0;;;:34;;;;;;;;;;;:38;:50::i;32475:234::-;32620:10;32611:20;;;;:8;:20;;;;;;;;32603:65;;;;;-1:-1:-1;;;32603:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32679:22;32685:7;32694:6;32679:5;:22::i;:::-;32475:234;;:::o;32806:191::-;32905:10;32896:20;;;;:8;:20;;;;;;;;32888:65;;;;;-1:-1:-1;;;32888:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32964:25;32970:10;32982:6;32964:5;:25::i;:::-;32806:191;:::o;18633:119::-;-1:-1:-1;;;;;18726:18:0;18699:7;18726:18;;;;;;;;;;;;18633:119::o;31053:145::-;27524:12;:10;:12::i;:::-;27514:6;;;;;-1:-1:-1;;;;;27514:6:0;;;:22;;;27506:67;;;;;-1:-1:-1;;;27506:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31151:39:::1;::::0;;-1:-1:-1;;;31151:39:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;27302:79:::0;27367:6;;;;;-1:-1:-1;;;;;27367:6:0;;27302:79::o;17597:87::-;17669:7;17662:14;;;;;;;;-1:-1:-1;;17662:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17636:13;;17662:14;;17669:7;;17662:14;;17669:7;17662:14;;;;;;;;;;;;;;;;;;;;;;;;21595:269;21688:4;21705:129;21714:12;:10;:12::i;:::-;21728:7;21737:96;21776:15;21737:96;;;;;;;;;;;;;;;;;:11;:25;21749:12;:10;:12::i;:::-;-1:-1:-1;;;;;21737:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;21737:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;18965:175::-;19051:4;19068:42;19078:12;:10;:12::i;:::-;19092:9;19103:6;19068:9;:42::i;33657:196::-;-1:-1:-1;;;;;33822:23:0;33772:17;33822:23;;;:8;:23;;;;;;;;;33657:196::o;33229:::-;-1:-1:-1;;;;;33394:23:0;33344:17;33394:23;;;:8;:23;;;;;;;;;33229:196::o;31988:331::-;32118:10;32109:20;;;;:8;:20;;;;;;;;:36;;;;;;;32087:117;;;;;-1:-1:-1;;;32087:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;32224:10;32215:20;;;;:8;:20;;;;;;;;;:35;;-1:-1:-1;;32215:35:0;;;;;;;;;;32266:45;;;;;;;;;;;;;;;;;31988:331;:::o;19203:151::-;-1:-1:-1;;;;;19319:18:0;;;19292:7;19319:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;19203:151::o;31436:411::-;27524:12;:10;:12::i;:::-;27514:6;;;;;-1:-1:-1;;;;;27514:6:0;;;:22;;;27506:67;;;;;-1:-1:-1;;;27506:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31628:23:0;::::1;;::::0;;;:8:::1;:23;::::0;;;;;::::1;;:39;;::::0;::::1;;;;31606:120;;;::::0;;-1:-1:-1;;;31606:120:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;31737:23:0;::::1;;::::0;;;:8:::1;:23;::::0;;;;;;;;:38;;-1:-1:-1;;31737:38:0::1;::::0;::::1;;::::0;;::::1;::::0;;;31791:48;;;;;;;::::1;::::0;;;;;;;;::::1;31436:411:::0;;:::o;28247:244::-;27524:12;:10;:12::i;:::-;27514:6;;;;;-1:-1:-1;;;;;27514:6:0;;;:22;;;27506:67;;;;;-1:-1:-1;;;27506:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28336:22:0;::::1;28328:73;;;;-1:-1:-1::0;;;28328:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28438:6;::::0;28417:38:::1;::::0;-1:-1:-1;;;;;28417:38:0;;::::1;::::0;28438:6:::1;::::0;::::1;;::::0;28417:38:::1;::::0;;;::::1;28466:6;:17:::0;;-1:-1:-1;;;;;28466:17:0;;::::1;;;::::0;;;::::1;::::0;;;::::1;::::0;;28247:244::o;4702:181::-;4760:7;4792:5;;;4816:6;;;;4808:46;;;;;-1:-1:-1;;;4808:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4874:1;4702:181;-1:-1:-1;;;4702:181:0:o;624:106::-;712:10;624:106;:::o;24740:346::-;-1:-1:-1;;;;;24842:19:0;;24834:68;;;;-1:-1:-1;;;24834:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24921:21:0;;24913:68;;;;-1:-1:-1;;;24913:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24994:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;25046:32;;;;;;;;;;;;;;;;;24740:346;;;:::o;22354:539::-;-1:-1:-1;;;;;22460:20:0;;22452:70;;;;-1:-1:-1;;;22452:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22541:23:0;;22533:71;;;;-1:-1:-1;;;22533:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22617:47;22638:6;22646:9;22657:6;22617:20;:47::i;:::-;22697:71;22719:6;22697:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22697:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;22677:17:0;;;:9;:17;;;;;;;;;;;:91;;;;22802:20;;;;;;;:32;;22827:6;22802:24;:32::i;:::-;-1:-1:-1;;;;;22779:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;22850:35;;;;;;;22779:20;;22850:35;;;;;;;;;;;;;22354:539;;;:::o;5605:192::-;5691:7;5727:12;5719:6;;;;5711:29;;;;-1:-1:-1;;;5711:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5763:5:0;;;5605:192::o;23174:378::-;-1:-1:-1;;;;;23258:21:0;;23250:65;;;;;-1:-1:-1;;;23250:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23328:49;23357:1;23361:7;23370:6;23328:20;:49::i;:::-;23405:12;;:24;;23422:6;23405:16;:24::i;:::-;23390:12;:39;-1:-1:-1;;;;;23461:18:0;;:9;:18;;;;;;;;;;;:30;;23484:6;23461:22;:30::i;:::-;-1:-1:-1;;;;;23440:18:0;;:9;:18;;;;;;;;;;;:51;;;;23507:37;;;;;;;23440:18;;:9;;23507:37;;;;;;;;;;23174:378;;:::o;23884:418::-;-1:-1:-1;;;;;23968:21:0;;23960:67;;;;-1:-1:-1;;;23960:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24040:49;24061:7;24078:1;24082:6;24040:20;:49::i;:::-;24123:68;24146:6;24123:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24123:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;24102:18:0;;:9;:18;;;;;;;;;;:89;24217:12;;:24;;24234:6;24217:16;:24::i;:::-;24202:12;:39;24257:37;;;;;;;;24283:1;;-1:-1:-1;;;;;24257:37:0;;;;;;;;;;;;23884:418;;:::o;26111:92::-;;;;:::o;5166:136::-;5224:7;5251:43;5255:1;5258;5251:43;;;;;;;;;;;;;;;;;:3;:43::i
Swarm Source
ipfs://c64ade4ecf97caf9850c521312f559e401a4cc8882a00ac35a148f5e0fbdc4cf
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.