ERC-20
Overview
Max Total Supply
1,000,000,000 PWRD
Holders
82
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.008671216808 PWRDValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PowerToken
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-05-08 */ // SPDX-License-Identifier: MIT pragma solidity =0.8.4; /** * @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); } /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual 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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // 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 (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @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) { return a + b; } /** * @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 a - b; } /** * @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) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting 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 a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting 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) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * 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) { unchecked { require(b > 0, errorMessage); return a % b; } } } contract PowerToken is IERC20, Ownable { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; string private _name; string private _symbol; uint8 private _decimals; uint256 private _totalSupply; constructor( string memory name_, string memory symbol_, uint8 decimals_, uint256 totalSupply_ ) { _name = name_; _symbol = symbol_; _decimals = decimals_; _mint(owner(), totalSupply_); } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual 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 virtual returns (uint8) { return _decimals; } /** * @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); _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 virtual { _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 {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint8","name":"decimals_","type":"uint8"},{"internalType":"uint256","name":"totalSupply_","type":"uint256"}],"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":"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":[],"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":[],"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"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162000ec038038062000ec083398101604081905262000034916200036a565b6200003f33620000a2565b83516200005490600390602087019062000211565b5082516200006a90600490602086019062000211565b506005805460ff191660ff841617905562000098620000916000546001600160a01b031690565b82620000f2565b5050505062000469565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166200014d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b6200016981600654620001fc60201b620004b11790919060201c565b6006556001600160a01b0382166000908152600160209081526040909120546200019e918390620004b1620001fc821b17901c565b6001600160a01b0383166000818152600160205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90620001f09085815260200190565b60405180910390a35050565b60006200020a8284620003f1565b9392505050565b8280546200021f9062000416565b90600052602060002090601f0160209004810192826200024357600085556200028e565b82601f106200025e57805160ff19168380011785556200028e565b828001600101855582156200028e579182015b828111156200028e57825182559160200191906001019062000271565b506200029c929150620002a0565b5090565b5b808211156200029c5760008155600101620002a1565b600082601f830112620002c8578081fd5b81516001600160401b0380821115620002e557620002e562000453565b604051601f8301601f19908116603f0116810190828211818310171562000310576200031062000453565b816040528381526020925086838588010111156200032c578485fd5b8491505b838210156200034f578582018301518183018401529082019062000330565b838211156200036057848385830101525b9695505050505050565b6000806000806080858703121562000380578384fd5b84516001600160401b038082111562000397578586fd5b620003a588838901620002b7565b95506020870151915080821115620003bb578485fd5b50620003ca87828801620002b7565b935050604085015160ff81168114620003e1578283fd5b6060959095015193969295505050565b600082198211156200041157634e487b7160e01b81526011600452602481fd5b500190565b600181811c908216806200042b57607f821691505b602082108114156200044d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b610a4780620004796000396000f3fe608060405234801561001057600080fd5b50600436106100ca5760003560e01c8063715018a61161007c578063715018a6146101865780638da5cb5b1461019057806395d89b41146101ab578063a457c2d7146101b3578063a9059cbb146101c6578063dd62ed3e146101d9578063f2fde38b1461021257600080fd5b806306fdde03146100cf578063095ea7b3146100ed57806318160ddd1461011057806323b872dd14610122578063313ce56714610135578063395093511461014a57806370a082311461015d575b600080fd5b6100d7610225565b6040516100e491906108b7565b60405180910390f35b6101006100fb36600461088e565b6102b7565b60405190151581526020016100e4565b6006545b6040519081526020016100e4565b610100610130366004610853565b6102cd565b60055460405160ff90911681526020016100e4565b61010061015836600461088e565b610336565b61011461016b366004610807565b6001600160a01b031660009081526001602052604090205490565b61018e61036c565b005b6000546040516001600160a01b0390911681526020016100e4565b6100d76103ab565b6101006101c136600461088e565b6103ba565b6101006101d436600461088e565b610409565b6101146101e7366004610821565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b61018e610220366004610807565b610416565b60606003805461023490610963565b80601f016020809104026020016040519081016040528092919081815260200182805461026090610963565b80156102ad5780601f10610282576101008083540402835291602001916102ad565b820191906000526020600020905b81548152906001019060200180831161029057829003601f168201915b5050505050905090565b60006102c43384846104c4565b50600192915050565b60006102da8484846105e9565b61032c8433610327856040518060600160405280602881526020016109c5602891396001600160a01b038a166000908152600260209081526040808320338452909152902054919061076f565b6104c4565b5060019392505050565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916102c491859061032790866104b1565b6000546001600160a01b0316331461039f5760405162461bcd60e51b81526004016103969061090a565b60405180910390fd5b6103a9600061079b565b565b60606004805461023490610963565b60006102c43384610327856040518060600160405280602581526020016109ed602591393360009081526002602090815260408083206001600160a01b038d168452909152902054919061076f565b60006102c43384846105e9565b6000546001600160a01b031633146104405760405162461bcd60e51b81526004016103969061090a565b6001600160a01b0381166104a55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610396565b6104ae8161079b565b50565b60006104bd828461093f565b9392505050565b6001600160a01b0383166105265760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610396565b6001600160a01b0382166105875760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610396565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03831661064d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610396565b6001600160a01b0382166106af5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610396565b6106ec8160405180606001604052806026815260200161099f602691396001600160a01b038616600090815260016020526040902054919061076f565b6001600160a01b03808516600090815260016020526040808220939093559084168152205461071b90826104b1565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906105dc9085815260200190565b600081848411156107935760405162461bcd60e51b815260040161039691906108b7565b505050900390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461080257600080fd5b919050565b600060208284031215610818578081fd5b6104bd826107eb565b60008060408385031215610833578081fd5b61083c836107eb565b915061084a602084016107eb565b90509250929050565b600080600060608486031215610867578081fd5b610870846107eb565b925061087e602085016107eb565b9150604084013590509250925092565b600080604083850312156108a0578182fd5b6108a9836107eb565b946020939093013593505050565b6000602080835283518082850152825b818110156108e3578581018301518582016040015282016108c7565b818111156108f45783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561095e57634e487b7160e01b81526011600452602481fd5b500190565b600181811c9082168061097757607f821691505b6020821081141561099857634e487b7160e01b600052602260045260246000fd5b5091905056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220fc0be4219596e085f9897160749c6ddd3fdcc4585bb9ac85d096a3721d3219d964736f6c63430008040033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000033b2e3c9fd0803ce8000000000000000000000000000000000000000000000000000000000000000000000c506f77657220526577617264000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045057524400000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100ca5760003560e01c8063715018a61161007c578063715018a6146101865780638da5cb5b1461019057806395d89b41146101ab578063a457c2d7146101b3578063a9059cbb146101c6578063dd62ed3e146101d9578063f2fde38b1461021257600080fd5b806306fdde03146100cf578063095ea7b3146100ed57806318160ddd1461011057806323b872dd14610122578063313ce56714610135578063395093511461014a57806370a082311461015d575b600080fd5b6100d7610225565b6040516100e491906108b7565b60405180910390f35b6101006100fb36600461088e565b6102b7565b60405190151581526020016100e4565b6006545b6040519081526020016100e4565b610100610130366004610853565b6102cd565b60055460405160ff90911681526020016100e4565b61010061015836600461088e565b610336565b61011461016b366004610807565b6001600160a01b031660009081526001602052604090205490565b61018e61036c565b005b6000546040516001600160a01b0390911681526020016100e4565b6100d76103ab565b6101006101c136600461088e565b6103ba565b6101006101d436600461088e565b610409565b6101146101e7366004610821565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b61018e610220366004610807565b610416565b60606003805461023490610963565b80601f016020809104026020016040519081016040528092919081815260200182805461026090610963565b80156102ad5780601f10610282576101008083540402835291602001916102ad565b820191906000526020600020905b81548152906001019060200180831161029057829003601f168201915b5050505050905090565b60006102c43384846104c4565b50600192915050565b60006102da8484846105e9565b61032c8433610327856040518060600160405280602881526020016109c5602891396001600160a01b038a166000908152600260209081526040808320338452909152902054919061076f565b6104c4565b5060019392505050565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916102c491859061032790866104b1565b6000546001600160a01b0316331461039f5760405162461bcd60e51b81526004016103969061090a565b60405180910390fd5b6103a9600061079b565b565b60606004805461023490610963565b60006102c43384610327856040518060600160405280602581526020016109ed602591393360009081526002602090815260408083206001600160a01b038d168452909152902054919061076f565b60006102c43384846105e9565b6000546001600160a01b031633146104405760405162461bcd60e51b81526004016103969061090a565b6001600160a01b0381166104a55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610396565b6104ae8161079b565b50565b60006104bd828461093f565b9392505050565b6001600160a01b0383166105265760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610396565b6001600160a01b0382166105875760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610396565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03831661064d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610396565b6001600160a01b0382166106af5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610396565b6106ec8160405180606001604052806026815260200161099f602691396001600160a01b038616600090815260016020526040902054919061076f565b6001600160a01b03808516600090815260016020526040808220939093559084168152205461071b90826104b1565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906105dc9085815260200190565b600081848411156107935760405162461bcd60e51b815260040161039691906108b7565b505050900390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461080257600080fd5b919050565b600060208284031215610818578081fd5b6104bd826107eb565b60008060408385031215610833578081fd5b61083c836107eb565b915061084a602084016107eb565b90509250929050565b600080600060608486031215610867578081fd5b610870846107eb565b925061087e602085016107eb565b9150604084013590509250925092565b600080604083850312156108a0578182fd5b6108a9836107eb565b946020939093013593505050565b6000602080835283518082850152825b818110156108e3578581018301518582016040015282016108c7565b818111156108f45783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561095e57634e487b7160e01b81526011600452602481fd5b500190565b600181811c9082168061097757607f821691505b6020821081141561099857634e487b7160e01b600052602260045260246000fd5b5091905056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220fc0be4219596e085f9897160749c6ddd3fdcc4585bb9ac85d096a3721d3219d964736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000033b2e3c9fd0803ce8000000000000000000000000000000000000000000000000000000000000000000000c506f77657220526577617264000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045057524400000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): Power Reward
Arg [1] : symbol_ (string): PWRD
Arg [2] : decimals_ (uint8): 18
Arg [3] : totalSupply_ (uint256): 1000000000000000000000000000
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [5] : 506f776572205265776172640000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 5057524400000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
12621:10278:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13327:91;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;15614:210;;;;;;:::i;:::-;;:::i;:::-;;;1653:14:1;;1646:22;1628:41;;1616:2;1601:18;15614:210:0;1583:92:1;14426:108:0;14514:12;;14426:108;;;4820:25:1;;;4808:2;4793:18;14426:108:0;4775:76:1;16306:454:0;;;;;;:::i;:::-;;:::i;14270:91::-;14344:9;;14270:91;;14344:9;;;;4998:36:1;;4986:2;4971:18;14270:91:0;4953:87:1;17169:300:0;;;;;;:::i;:::-;;:::i;14597:177::-;;;;;;:::i;:::-;-1:-1:-1;;;;;14748:18:0;14716:7;14748:18;;;:9;:18;;;;;;;14597:177;5124:94;;;:::i;:::-;;4473:87;4519:7;4546:6;4473:87;;-1:-1:-1;;;;;4546:6:0;;;1426:51:1;;1414:2;1399:18;4473:87:0;1381:102:1;13537:95:0;;;:::i;17972:400::-;;;;;;:::i;:::-;;:::i;14987:216::-;;;;;;:::i;:::-;;:::i;15266:201::-;;;;;;:::i;:::-;-1:-1:-1;;;;;15432:18:0;;;15400:7;15432:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;15266:201;5373:192;;;;;;:::i;:::-;;:::i;13327:91::-;13372:13;13405:5;13398:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13327:91;:::o;15614:210::-;15733:4;15755:39;3429:10;15778:7;15787:6;15755:8;:39::i;:::-;-1:-1:-1;15812:4:0;15614:210;;;;:::o;16306:454::-;16446:4;16463:36;16473:6;16481:9;16492:6;16463:9;:36::i;:::-;16510:220;16533:6;3429:10;16581:138;16637:6;16581:138;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16581:19:0;;;;;;:11;:19;;;;;;;;3429:10;16581:33;;;;;;;;;;:37;:138::i;:::-;16510:8;:220::i;:::-;-1:-1:-1;16748:4:0;16306:454;;;;;:::o;17169:300::-;3429:10;17284:4;17378:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;17378:34:0;;;;;;;;;;17284:4;;17306:133;;17356:7;;17378:50;;17417:10;17378:38;:50::i;5124:94::-;4519:7;4546:6;-1:-1:-1;;;;;4546:6:0;3429:10;4693:23;4685:68;;;;-1:-1:-1;;;4685:68:0;;;;;;;:::i;:::-;;;;;;;;;5189:21:::1;5207:1;5189:9;:21::i;:::-;5124:94::o:0;13537:95::-;13584:13;13617:7;13610:14;;;;;:::i;17972:400::-;18092:4;18114:228;3429:10;18164:7;18186:145;18243:15;18186:145;;;;;;;;;;;;;;;;;3429:10;18186:25;;;;:11;:25;;;;;;;;-1:-1:-1;;;;;18186:34:0;;;;;;;;;;;;:38;:145::i;14987:216::-;15109:4;15131:42;3429:10;15155:9;15166:6;15131:9;:42::i;5373:192::-;4519:7;4546:6;-1:-1:-1;;;;;4546:6:0;3429:10;4693:23;4685:68;;;;-1:-1:-1;;;4685:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;5462:22:0;::::1;5454:73;;;::::0;-1:-1:-1;;;5454:73:0;;2894:2:1;5454:73:0::1;::::0;::::1;2876:21:1::0;2933:2;2913:18;;;2906:30;2972:34;2952:18;;;2945:62;-1:-1:-1;;;3023:18:1;;;3016:36;3069:19;;5454:73:0::1;2866:228:1::0;5454:73:0::1;5538:19;5548:8;5538:9;:19::i;:::-;5373:192:::0;:::o;8456:98::-;8514:7;8541:5;8545:1;8541;:5;:::i;:::-;8534:12;8456:98;-1:-1:-1;;;8456:98:0:o;21358:380::-;-1:-1:-1;;;;;21494:19:0;;21486:68;;;;-1:-1:-1;;;21486:68:0;;4471:2:1;21486:68:0;;;4453:21:1;4510:2;4490:18;;;4483:30;4549:34;4529:18;;;4522:62;-1:-1:-1;;;4600:18:1;;;4593:34;4644:19;;21486:68:0;4443:226:1;21486:68:0;-1:-1:-1;;;;;21573:21:0;;21565:68;;;;-1:-1:-1;;;21565:68:0;;3301:2:1;21565:68:0;;;3283:21:1;3340:2;3320:18;;;3313:30;3379:34;3359:18;;;3352:62;-1:-1:-1;;;3430:18:1;;;3423:32;3472:19;;21565:68:0;3273:224:1;21565:68:0;-1:-1:-1;;;;;21646:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;21698:32;;4820:25:1;;;21698:32:0;;4793:18:1;21698:32:0;;;;;;;;21358:380;;;:::o;18862:610::-;-1:-1:-1;;;;;19002:20:0;;18994:70;;;;-1:-1:-1;;;18994:70:0;;4065:2:1;18994:70:0;;;4047:21:1;4104:2;4084:18;;;4077:30;4143:34;4123:18;;;4116:62;-1:-1:-1;;;4194:18:1;;;4187:35;4239:19;;18994:70:0;4037:227:1;18994:70:0;-1:-1:-1;;;;;19083:23:0;;19075:71;;;;-1:-1:-1;;;19075:71:0;;2490:2:1;19075:71:0;;;2472:21:1;2529:2;2509:18;;;2502:30;2568:34;2548:18;;;2541:62;-1:-1:-1;;;2619:18:1;;;2612:33;2662:19;;19075:71:0;2462:225:1;19075:71:0;19239:108;19275:6;19239:108;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19239:17:0;;;;;;:9;:17;;;;;;;:108;:21;:108::i;:::-;-1:-1:-1;;;;;19219:17:0;;;;;;;:9;:17;;;;;;:128;;;;19381:20;;;;;;;:32;;19406:6;19381:24;:32::i;:::-;-1:-1:-1;;;;;19358:20:0;;;;;;;:9;:20;;;;;;;:55;;;;19429:35;;;;;;;;;;19457:6;4820:25:1;;4808:2;4793:18;;4775:76;10735:240:0;10855:7;10916:12;10908:6;;;;10900:29;;;;-1:-1:-1;;;10900:29:0;;;;;;;;:::i;:::-;-1:-1:-1;;;10951:5:0;;;10735:240::o;5573:173::-;5629:16;5648:6;;-1:-1:-1;;;;;5665:17:0;;;-1:-1:-1;;;;;;5665:17:0;;;;;;5698:40;;5648:6;;;;;;;5698:40;;5629:16;5698:40;5573:173;;:::o;14::1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:196::-;251:6;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;393:270::-;461:6;469;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:338::-;745:6;753;761;814:2;802:9;793:7;789:23;785:32;782:2;;;835:6;827;820:22;782:2;863:29;882:9;863:29;:::i;:::-;853:39;;911:38;945:2;934:9;930:18;911:38;:::i;:::-;901:48;;996:2;985:9;981:18;968:32;958:42;;772:234;;;;;:::o;1011:264::-;1079:6;1087;1140:2;1128:9;1119:7;1115:23;1111:32;1108:2;;;1161:6;1153;1146:22;1108:2;1189:29;1208:9;1189:29;:::i;:::-;1179:39;1265:2;1250:18;;;;1237:32;;-1:-1:-1;;;1098:177:1:o;1680:603::-;1792:4;1821:2;1850;1839:9;1832:21;1882:6;1876:13;1925:6;1920:2;1909:9;1905:18;1898:34;1950:4;1963:140;1977:6;1974:1;1971:13;1963:140;;;2072:14;;;2068:23;;2062:30;2038:17;;;2057:2;2034:26;2027:66;1992:10;;1963:140;;;2121:6;2118:1;2115:13;2112:2;;;2191:4;2186:2;2177:6;2166:9;2162:22;2158:31;2151:45;2112:2;-1:-1:-1;2267:2:1;2246:15;-1:-1:-1;;2242:29:1;2227:45;;;;2274:2;2223:54;;1801:482;-1:-1:-1;;;1801:482:1:o;3502:356::-;3704:2;3686:21;;;3723:18;;;3716:30;3782:34;3777:2;3762:18;;3755:62;3849:2;3834:18;;3676:182::o;5045:229::-;5085:3;5116:1;5112:6;5109:1;5106:13;5103:2;;;-1:-1:-1;;;5142:33:1;;5198:4;5195:1;5188:15;5228:4;5149:3;5216:17;5103:2;-1:-1:-1;5259:9:1;;5093:181::o;5279:380::-;5358:1;5354:12;;;;5401;;;5422:2;;5476:4;5468:6;5464:17;5454:27;;5422:2;5529;5521:6;5518:14;5498:18;5495:38;5492:2;;;5575:10;5570:3;5566:20;5563:1;5556:31;5610:4;5607:1;5600:15;5638:4;5635:1;5628:15;5492:2;;5334:325;;;:::o
Swarm Source
ipfs://fc0be4219596e085f9897160749c6ddd3fdcc4585bb9ac85d096a3721d3219d9
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.