Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
DeFi
Overview
Max Total Supply
888,888,888 NIIFI
Holders
3,813 (0.00%)
Market
Price
$0.00 @ 0.000001 ETH (+5.44%)
Onchain Market Cap
$1,670,995.55
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 15 Decimals)
Balance
736.783588073676326 NIIFIValue
$1.39 ( ~0.000522530153812364 Eth) [0.0001%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
GovernanceToken
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// contracts/Box.sol // SPDX-License-Identifier: LGPL-3.0-only pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Capped.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; /** * @dev Extension of {ERC20Capped} that enables update of name and symbol. */ contract GovernanceToken is ERC20Capped, Ownable { string private _name; string private _symbol; event NameSet(string indexed oldName, string indexed newName); event SymbolSet(string indexed oldSymbol, string indexed newSymbol); /** * @dev Sets the value of the `name`, `symbol` and `cap`. The value of the latter is immutable. */ constructor( string memory name_, string memory symbol_, uint256 cap_ ) ERC20(name_, symbol_) ERC20Capped(cap_) { _name = name_; _symbol = symbol_; } /** * @dev See {ERC20-decimals}. */ function decimals() public pure override returns (uint8) { return 15; } /** * @dev See {ERC20-name}. */ function name() public view override returns (string memory) { return _name; } /** * @dev Sets the value of `name` */ function setName(string memory newName) public onlyOwner { emit NameSet(_name, newName); _name = newName; } /** * @dev See {ERC20-symbol}. */ function symbol() public view override returns (string memory) { return _symbol; } /** * @dev Sets the value of `symbol` */ function setSymbol(string memory newSymbol) public onlyOwner { emit SymbolSet(_symbol, newSymbol); _symbol = newSymbol; } /** * @dev See {ERC20-_mint}. */ function mint(address account, uint256 amount) public onlyOwner { super._mint(account, amount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC20.sol"; /** * @dev Extension of {ERC20} that adds a cap to the supply of tokens. */ abstract contract ERC20Capped is ERC20 { uint256 immutable private _cap; /** * @dev Sets the value of the `cap`. This value is immutable, it can only be * set once during construction. */ constructor (uint256 cap_) { require(cap_ > 0, "ERC20Capped: cap is 0"); _cap = cap_; } /** * @dev Returns the cap on the token's total supply. */ function cap() public view virtual returns (uint256) { return _cap; } /** * @dev See {ERC20-_mint}. */ function _mint(address account, uint256 amount) internal virtual override { require(ERC20.totalSupply() + amount <= cap(), "ERC20Capped: cap exceeded"); super._mint(account, amount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @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 () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), 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 { 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; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin 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, IERC20Metadata { mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The defaut value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); _approve(sender, _msgSender(), currentAllowance - amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); _approve(_msgSender(), spender, currentAllowance - subtractedValue); 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); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); _balances[sender] = senderBalance - amount; _balances[recipient] += 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 += amount; _balances[account] += 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); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); _balances[account] = accountBalance - amount; _totalSupply -= 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 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 { } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
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":"uint256","name":"cap_","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":"string","name":"oldName","type":"string"},{"indexed":true,"internalType":"string","name":"newName","type":"string"}],"name":"NameSet","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":"string","name":"oldSymbol","type":"string"},{"indexed":true,"internalType":"string","name":"newSymbol","type":"string"}],"name":"SymbolSet","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":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newName","type":"string"}],"name":"setName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newSymbol","type":"string"}],"name":"setSymbol","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
60a06040523480156200001157600080fd5b50604051620013dc380380620013dc833981016040819052620000349162000291565b80838381600390805190602001906200004f92919062000138565b5080516200006590600490602084019062000138565b50505060008111620000bd5760405162461bcd60e51b815260206004820152601560248201527f45524332304361707065643a2063617020697320300000000000000000000000604482015260640160405180910390fd5b608052600580546001600160a01b0319163390811790915560405181906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35082516200011890600690602086019062000138565b5081516200012e90600790602085019062000138565b5050505062000354565b828054620001469062000301565b90600052602060002090601f0160209004810192826200016a5760008555620001b5565b82601f106200018557805160ff1916838001178555620001b5565b82800160010185558215620001b5579182015b82811115620001b557825182559160200191906001019062000198565b50620001c3929150620001c7565b5090565b5b80821115620001c35760008155600101620001c8565b600082601f830112620001ef578081fd5b81516001600160401b03808211156200020c576200020c6200033e565b604051601f8301601f19908116603f011681019082821181831017156200023757620002376200033e565b8160405283815260209250868385880101111562000253578485fd5b8491505b8382101562000276578582018301518183018401529082019062000257565b838211156200028757848385830101525b9695505050505050565b600080600060608486031215620002a6578283fd5b83516001600160401b0380821115620002bd578485fd5b620002cb87838801620001de565b94506020860151915080821115620002e1578384fd5b50620002f086828701620001de565b925050604084015190509250925092565b600181811c908216806200031657607f821691505b602082108114156200033857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805161106562000377600039600081816101920152610acf01526110656000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c8063715018a6116100a2578063a9059cbb11610071578063a9059cbb14610245578063b84c824614610258578063c47f00271461026b578063dd62ed3e1461027e578063f2fde38b146102b757600080fd5b8063715018a6146102075780638da5cb5b1461020f57806395d89b411461022a578063a457c2d71461023257600080fd5b8063313ce567116100e9578063313ce56714610181578063355274ea1461019057806339509351146101b657806340c10f19146101c957806370a08231146101de57600080fd5b806306fdde031461011b578063095ea7b31461013957806318160ddd1461015c57806323b872dd1461016e575b600080fd5b6101236102ca565b6040516101309190610f01565b60405180910390f35b61014c610147366004610d77565b61035c565b6040519015158152602001610130565b6002545b604051908152602001610130565b61014c61017c366004610d3c565b610372565b604051600f8152602001610130565b7f0000000000000000000000000000000000000000000000000000000000000000610160565b61014c6101c4366004610d77565b610428565b6101dc6101d7366004610d77565b61045f565b005b6101606101ec366004610ce9565b6001600160a01b031660009081526020819052604090205490565b6101dc610497565b6005546040516001600160a01b039091168152602001610130565b61012361050b565b61014c610240366004610d77565b61051a565b61014c610253366004610d77565b6105b5565b6101dc610266366004610da0565b6105c2565b6101dc610279366004610da0565b610654565b61016061028c366004610d0a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101dc6102c5366004610ce9565b6106e6565b6060600680546102d990610fc8565b80601f016020809104026020016040519081016040528092919081815260200182805461030590610fc8565b80156103525780601f1061032757610100808354040283529160200191610352565b820191906000526020600020905b81548152906001019060200180831161033557829003601f168201915b5050505050905090565b60006103693384846107d1565b50600192915050565b600061037f8484846108f5565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156104095760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61041d85336104188685610f81565b6107d1565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610369918590610418908690610f69565b6005546001600160a01b031633146104895760405162461bcd60e51b815260040161040090610f34565b6104938282610acd565b5050565b6005546001600160a01b031633146104c15760405162461bcd60e51b815260040161040090610f34565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6060600780546102d990610fc8565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561059c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610400565b6105ab33856104188685610f81565b5060019392505050565b60006103693384846108f5565b6005546001600160a01b031633146105ec5760405162461bcd60e51b815260040161040090610f34565b806040516105fa9190610e4a565b604051809103902060076040516106119190610e66565b604051908190038120907fc2d62737ded2ee7abbfe468ddaeaf27a953710dfb69dfb43f511adac8050c66490600090a38051610493906007906020840190610c34565b6005546001600160a01b0316331461067e5760405162461bcd60e51b815260040161040090610f34565b8060405161068c9190610e4a565b604051809103902060066040516106a39190610e66565b604051908190038120907f08f5223707b366131adf7d7c8ff02aed1f008d8500e0e5b9c43eea5f16692e5290600090a38051610493906006906020840190610c34565b6005546001600160a01b031633146107105760405162461bcd60e51b815260040161040090610f34565b6001600160a01b0381166107755760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610400565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166108335760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610400565b6001600160a01b0382166108945760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610400565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166109595760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610400565b6001600160a01b0382166109bb5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610400565b6001600160a01b03831660009081526020819052604090205481811015610a335760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610400565b610a3d8282610f81565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290610a73908490610f69565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610abf91815260200190565b60405180910390a350505050565b7f000000000000000000000000000000000000000000000000000000000000000081610af860025490565b610b029190610f69565b1115610b505760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a20636170206578636565646564000000000000006044820152606401610400565b61049382826001600160a01b038216610bab5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610400565b8060026000828254610bbd9190610f69565b90915550506001600160a01b03821660009081526020819052604081208054839290610bea908490610f69565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054610c4090610fc8565b90600052602060002090601f016020900481019282610c625760008555610ca8565b82601f10610c7b57805160ff1916838001178555610ca8565b82800160010185558215610ca8579182015b82811115610ca8578251825591602001919060010190610c8d565b50610cb4929150610cb8565b5090565b5b80821115610cb45760008155600101610cb9565b80356001600160a01b0381168114610ce457600080fd5b919050565b600060208284031215610cfa578081fd5b610d0382610ccd565b9392505050565b60008060408385031215610d1c578081fd5b610d2583610ccd565b9150610d3360208401610ccd565b90509250929050565b600080600060608486031215610d50578081fd5b610d5984610ccd565b9250610d6760208501610ccd565b9150604084013590509250925092565b60008060408385031215610d89578182fd5b610d9283610ccd565b946020939093013593505050565b600060208284031215610db1578081fd5b813567ffffffffffffffff80821115610dc8578283fd5b818401915084601f830112610ddb578283fd5b813581811115610ded57610ded611019565b604051601f8201601f19908116603f01168101908382118183101715610e1557610e15611019565b81604052828152876020848701011115610e2d578586fd5b826020860160208301379182016020019490945295945050505050565b60008251610e5c818460208701610f98565b9190910192915050565b600080835482600182811c915080831680610e8257607f831692505b6020808410821415610ea257634e487b7160e01b87526022600452602487fd5b818015610eb65760018114610ec757610ef3565b60ff19861689528489019650610ef3565b60008a815260209020885b86811015610eeb5781548b820152908501908301610ed2565b505084890196505b509498975050505050505050565b6020815260008251806020840152610f20816040850160208701610f98565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115610f7c57610f7c611003565b500190565b600082821015610f9357610f93611003565b500390565b60005b83811015610fb3578181015183820152602001610f9b565b83811115610fc2576000848401525b50505050565b600181811c90821680610fdc57607f821691505b60208210811415610ffd57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea26469706673582212203c2c543493107638e04930e2cf06adc1c1860cf42e54d0599183665a47f1f44064736f6c63430008040033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000bc3ac35f54d46e6c0000000000000000000000000000000000000000000000000000000000000000000a4e69694669546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054e49494649000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101165760003560e01c8063715018a6116100a2578063a9059cbb11610071578063a9059cbb14610245578063b84c824614610258578063c47f00271461026b578063dd62ed3e1461027e578063f2fde38b146102b757600080fd5b8063715018a6146102075780638da5cb5b1461020f57806395d89b411461022a578063a457c2d71461023257600080fd5b8063313ce567116100e9578063313ce56714610181578063355274ea1461019057806339509351146101b657806340c10f19146101c957806370a08231146101de57600080fd5b806306fdde031461011b578063095ea7b31461013957806318160ddd1461015c57806323b872dd1461016e575b600080fd5b6101236102ca565b6040516101309190610f01565b60405180910390f35b61014c610147366004610d77565b61035c565b6040519015158152602001610130565b6002545b604051908152602001610130565b61014c61017c366004610d3c565b610372565b604051600f8152602001610130565b7f00000000000000000000000000000000000000000000bc3ac35f54d46e6c0000610160565b61014c6101c4366004610d77565b610428565b6101dc6101d7366004610d77565b61045f565b005b6101606101ec366004610ce9565b6001600160a01b031660009081526020819052604090205490565b6101dc610497565b6005546040516001600160a01b039091168152602001610130565b61012361050b565b61014c610240366004610d77565b61051a565b61014c610253366004610d77565b6105b5565b6101dc610266366004610da0565b6105c2565b6101dc610279366004610da0565b610654565b61016061028c366004610d0a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101dc6102c5366004610ce9565b6106e6565b6060600680546102d990610fc8565b80601f016020809104026020016040519081016040528092919081815260200182805461030590610fc8565b80156103525780601f1061032757610100808354040283529160200191610352565b820191906000526020600020905b81548152906001019060200180831161033557829003601f168201915b5050505050905090565b60006103693384846107d1565b50600192915050565b600061037f8484846108f5565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156104095760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61041d85336104188685610f81565b6107d1565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610369918590610418908690610f69565b6005546001600160a01b031633146104895760405162461bcd60e51b815260040161040090610f34565b6104938282610acd565b5050565b6005546001600160a01b031633146104c15760405162461bcd60e51b815260040161040090610f34565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6060600780546102d990610fc8565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561059c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610400565b6105ab33856104188685610f81565b5060019392505050565b60006103693384846108f5565b6005546001600160a01b031633146105ec5760405162461bcd60e51b815260040161040090610f34565b806040516105fa9190610e4a565b604051809103902060076040516106119190610e66565b604051908190038120907fc2d62737ded2ee7abbfe468ddaeaf27a953710dfb69dfb43f511adac8050c66490600090a38051610493906007906020840190610c34565b6005546001600160a01b0316331461067e5760405162461bcd60e51b815260040161040090610f34565b8060405161068c9190610e4a565b604051809103902060066040516106a39190610e66565b604051908190038120907f08f5223707b366131adf7d7c8ff02aed1f008d8500e0e5b9c43eea5f16692e5290600090a38051610493906006906020840190610c34565b6005546001600160a01b031633146107105760405162461bcd60e51b815260040161040090610f34565b6001600160a01b0381166107755760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610400565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166108335760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610400565b6001600160a01b0382166108945760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610400565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166109595760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610400565b6001600160a01b0382166109bb5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610400565b6001600160a01b03831660009081526020819052604090205481811015610a335760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610400565b610a3d8282610f81565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290610a73908490610f69565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610abf91815260200190565b60405180910390a350505050565b7f00000000000000000000000000000000000000000000bc3ac35f54d46e6c000081610af860025490565b610b029190610f69565b1115610b505760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a20636170206578636565646564000000000000006044820152606401610400565b61049382826001600160a01b038216610bab5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610400565b8060026000828254610bbd9190610f69565b90915550506001600160a01b03821660009081526020819052604081208054839290610bea908490610f69565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054610c4090610fc8565b90600052602060002090601f016020900481019282610c625760008555610ca8565b82601f10610c7b57805160ff1916838001178555610ca8565b82800160010185558215610ca8579182015b82811115610ca8578251825591602001919060010190610c8d565b50610cb4929150610cb8565b5090565b5b80821115610cb45760008155600101610cb9565b80356001600160a01b0381168114610ce457600080fd5b919050565b600060208284031215610cfa578081fd5b610d0382610ccd565b9392505050565b60008060408385031215610d1c578081fd5b610d2583610ccd565b9150610d3360208401610ccd565b90509250929050565b600080600060608486031215610d50578081fd5b610d5984610ccd565b9250610d6760208501610ccd565b9150604084013590509250925092565b60008060408385031215610d89578182fd5b610d9283610ccd565b946020939093013593505050565b600060208284031215610db1578081fd5b813567ffffffffffffffff80821115610dc8578283fd5b818401915084601f830112610ddb578283fd5b813581811115610ded57610ded611019565b604051601f8201601f19908116603f01168101908382118183101715610e1557610e15611019565b81604052828152876020848701011115610e2d578586fd5b826020860160208301379182016020019490945295945050505050565b60008251610e5c818460208701610f98565b9190910192915050565b600080835482600182811c915080831680610e8257607f831692505b6020808410821415610ea257634e487b7160e01b87526022600452602487fd5b818015610eb65760018114610ec757610ef3565b60ff19861689528489019650610ef3565b60008a815260209020885b86811015610eeb5781548b820152908501908301610ed2565b505084890196505b509498975050505050505050565b6020815260008251806020840152610f20816040850160208701610f98565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115610f7c57610f7c611003565b500190565b600082821015610f9357610f93611003565b500390565b60005b83811015610fb3578181015183820152602001610f9b565b83811115610fc2576000848401525b50505050565b600181811c90821680610fdc57607f821691505b60208210811415610ffd57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea26469706673582212203c2c543493107638e04930e2cf06adc1c1860cf42e54d0599183665a47f1f44064736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000bc3ac35f54d46e6c0000000000000000000000000000000000000000000000000000000000000000000a4e69694669546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054e49494649000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): NiiFiToken
Arg [1] : symbol_ (string): NIIFI
Arg [2] : cap_ (uint256): 888888888000000000000000
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000bc3ac35f54d46e6c0000
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [4] : 4e69694669546f6b656e00000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 4e49494649000000000000000000000000000000000000000000000000000000
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.