Overview
Max Total Supply
2,000,000,000 RVP
Holders
8,351 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Token
Compiler Version
v0.7.6+commit.7338295f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-08-11 */ // This contract was copied from https://github.com/OpenZeppelin/openzeppelin-contracts/ // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.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; } } // This contract was copied from https://github.com/OpenZeppelin/openzeppelin-contracts/ /** * @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); } // This contract was copied from https://github.com/OpenZeppelin/openzeppelin-contracts/ /* * @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; } } // Copyright (c) 2019-2020 revolutionpopuli.com // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see <https://www.gnu.org/licenses/>. // This contract was copied from https://github.com/OpenZeppelin/openzeppelin-contracts/ /** * @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 () 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; } } // Copyright (c) 2019-2020 revolutionpopuli.com // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see <https://www.gnu.org/licenses/>. // This contract was copied from https://github.com/OpenZeppelin/openzeppelin-contracts/ /** * @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; 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 { } } // Copyright (c) 2019-2020 revolutionpopuli.com // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see <https://www.gnu.org/licenses/>. // This contract was copied from https://github.com/OpenZeppelin/openzeppelin-contracts/ /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor () internal { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() virtual { require(!_paused, "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(_paused, "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } contract PausableWithException is Pausable, Ownable { mapping(address => bool) public exceptions; modifier whenNotPaused() override { require(!paused() || hasException(_msgSender()), "Pausable: paused (and no exception)"); _; } modifier whenNotPausedWithoutException() { require(!paused(), "Pausable: paused"); _; } function hasException(address _account) public view returns (bool) { return exceptions[_account]; } function setPausableException(address _account, bool _status) external whenNotPaused onlyOwner { exceptions[_account] = _status; } } contract Token is ERC20, PausableWithException { constructor(string memory name, string memory symbol) ERC20(name, symbol) {} function pause() public onlyOwner { super._pause(); } function unpause() public onlyOwner { super._unpause(); } function transfer(address recipient, uint256 amount) public override whenNotPaused returns (bool) { return super.transfer(recipient, amount); } function transferFrom(address sender, address recipient, uint256 amount) public override whenNotPausedWithoutException returns (bool) { return super.transferFrom(sender, recipient, amount); } function mint(address account, uint amount) public onlyOwner whenNotPaused { _mint(account, amount); } function burn(address account, uint amount) public onlyOwner { _burn(account, amount); } } // This contract was copied from https://github.com/OpenZeppelin/openzeppelin-contracts/ // This contract was copied from https://github.com/OpenZeppelin/openzeppelin-contracts/ /** * @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 on 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"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.3._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.3._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { 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); } } } } /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // Copyright (c) 2019-2020 revolutionpopuli.com // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see <https://www.gnu.org/licenses/>. // Copyright (c) 2019-2020 revolutionpopuli.com // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see <https://www.gnu.org/licenses/>. contract TokenEscrow is Ownable { using SafeMath for uint256; using SafeERC20 for Token; struct Share { uint256 proportion; uint256 periods; uint256 periodLength; } uint256 public unlockStart; uint256 public totalShare; mapping(address => Share) public shares; mapping(address => uint256) public unlocked; Token public token; constructor(Token _token) { token = _token; } function setUnlockStart(uint256 _unlockStart) external virtual onlyOwner { require(unlockStart == 0, "unlockStart should be == 0"); require(_unlockStart >= block.timestamp, "_unlockStart should be >= block.timestamp"); unlockStart = _unlockStart; } function addShare(address _beneficiary, uint256 _proportion, uint256 _periods, uint256 _periodLength) external onlyOwner { shares[_beneficiary] = Share(shares[_beneficiary].proportion.add(_proportion),_periods,_periodLength); totalShare = totalShare.add(_proportion); } // If the time of freezing expired will return the funds to the owner. function unlockFor(address _beneficiary) public { require(unlockStart > 0, "unlockStart should be > 0"); require( block.timestamp >= (unlockStart.add(shares[_beneficiary].periodLength)), "block.timestamp should be >= (unlockStart.add(shares[_beneficiary].periodLength))" ); uint256 share = shares[_beneficiary].proportion; uint256 periodsSinceUnlockStart = ((block.timestamp).sub(unlockStart)).div(shares[_beneficiary].periodLength); if (periodsSinceUnlockStart < shares[_beneficiary].periods) { share = share.mul(periodsSinceUnlockStart).div(shares[_beneficiary].periods); } share = share.sub(unlocked[_beneficiary]); if (share > 0) { unlocked[_beneficiary] = unlocked[_beneficiary].add(share); uint256 unlockedToken = token.balanceOf(address(this)).mul(share).div(totalShare); totalShare = totalShare.sub(share); token.safeTransfer(_beneficiary,unlockedToken); } } } contract Creator { Token public token = new Token('RevolutionPopuli ERC20 Token', 'RVP'); TokenEscrow public tokenEscrow; constructor() { token.transferOwnership(msg.sender); } function createTokenEscrow() external returns (TokenEscrow) { tokenEscrow = new TokenEscrow(token); tokenEscrow.transferOwnership(msg.sender); return tokenEscrow; } } contract TokenSale is Ownable { using SafeMath for uint256; using SafeERC20 for Token; uint constant public MIN_ETH = 0.1 ether; // !!! for real ICO change to 1 ether uint constant public WINDOW_DURATION = 23 hours; // !!! for real ICO change to 23 hours uint constant public MARKETING_SHARE = 200000000 ether; uint constant public TEAM_MEMBER_1_SHARE = 50000000 ether; uint constant public TEAM_MEMBER_2_SHARE = 50000000 ether; uint constant public TEAM_MEMBER_3_SHARE = 50000000 ether; uint constant public TEAM_MEMBER_4_SHARE = 50000000 ether; uint constant public REVPOP_FOUNDATION_SHARE = 200000000 ether; uint constant public REVPOP_FOUNDATION_PERIOD_LENGTH = 365 days; // !!! for real ICO change to 365 days uint constant public REVPOP_FOUNDATION_PERIODS = 10; // 10 years (!!! for real ICO it would be 10 years) uint constant public REVPOP_COMPANY_SHARE = 200000000 ether; uint constant public REVPOP_COMPANY_PERIOD_LENGTH = 365 days; // !!! for real ICO change to 365 days uint constant public REVPOP_COMPANY_PERIODS = 10; // 10 years (!!! for real ICO it would be 10 years) address[9] public wallets = [ // RevPop.org foundation 0x26be1e82026BB50742bBF765c8b1665bCB763c4c, // RevPop company 0x4A2d3b4475dA7E634154F1868e689705bDCEEF4c, // Marketing 0x73d3F88BF15EB48e94E6583968041cC850d61D62, // Team member 1 0x1F3eFCe792f9744d919eee34d23e054631351eBc, // Team member 2 0xEB7bb38D821219aE20d3Df7A80A161563CDe5f1b, // Team member 3 0x9F3868cF5FEdb90Df9D9974A131dE6B56B3aA7Ca, // Team member 4 0xE7320724CA4C20aEb193472D3082593f6c58A3C5, // Unsold tokens taker 0xCde8311aa7AAbECDEf84179D93a04005C8C549c0, // Beneficiarry 0x8B104136F8c1FC63fBA34cb46c42c7af5532f80e ]; Token public token; // The Token token itself TokenEscrow public tokenEscrow; uint public totalSupply; // Total Token amount created uint public firstWindowStartTime; // Time of window 1 opening uint public createPerFirstWindow; // Tokens sold in window 1 uint public otherWindowsStartTime; // Time of other windows opening uint public numberOfOtherWindows; // Number of other windows uint public createPerOtherWindow; // Tokens sold in each window after window 1 uint public totalBoughtTokens; uint public totalRaisedETH; uint public totalBulkPurchasedTokens; uint public collectedUnsoldTokensBeforeWindow = 0; bool public initialized = false; bool public tokensPerPeriodAreSet = false; bool public distributedShares = false; bool public began = false; bool public tokenSalePaused = false; mapping(uint => uint) public dailyTotals; mapping(uint => mapping(address => uint)) public userBuys; mapping(uint => mapping(address => bool)) public claimed; event LogBuy (uint window, address user, uint amount); event LogClaim (uint window, address user, uint amount); event LogCollect (uint amount); event LogCollectUnsold (uint amount); constructor(Creator creator) { token = creator.token(); require(token.totalSupply() == 0, "Total supply of Token should be 0"); tokenEscrow = creator.createTokenEscrow(); require(tokenEscrow.owner() == address(this), "Invalid owner of the TokenEscrow"); require(tokenEscrow.unlockStart() == 0, "TokenEscrow.unlockStart should be 0"); } function renounceOwnership() public override onlyOwner { require(address(this).balance == 0, "address(this).balance should be == 0"); super.renounceOwnership(); } function initialize( uint _totalSupply, uint _firstWindowStartTime, uint _otherWindowsStartTime, uint _numberOfOtherWindows ) public onlyOwner { require(token.owner() == address(this), "Invalid owner of the Token"); token.setPausableException(address(tokenEscrow), true); token.setPausableException(address(this), true); token.setPausableException(wallets[2], true); token.setPausableException(wallets[7], true); require(initialized == false, "initialized should be == false"); require(_totalSupply > 0, "_totalSupply should be > 0"); require(_firstWindowStartTime < _otherWindowsStartTime, "_firstWindowStartTime should be < _otherWindowsStartTime"); require(_numberOfOtherWindows > 0, "_numberOfOtherWindows should be > 0"); require(_totalSupply > totalReservedTokens(), "_totalSupply should be more than totalReservedTokens()"); numberOfOtherWindows = _numberOfOtherWindows; totalSupply = _totalSupply; firstWindowStartTime = _firstWindowStartTime; otherWindowsStartTime = _otherWindowsStartTime; initialized = true; token.mint(address(this), totalSupply); } function addBulkPurchasers(address[] memory _purchasers, uint[] memory _tokens) public onlyOwner { require(initialized == true, "initialized should be == true"); require(tokensPerPeriodAreSet == false, "tokensPerPeriodAreSet should be == false"); uint count = _purchasers.length; require(count > 0, "count should be > 0"); require(count == _tokens.length, "count should be == _tokens.length"); for (uint i = 0; i < count; i++) { require(_tokens[i] > 0, "_tokens[i] should be > 0"); token.safeTransfer(_purchasers[i], _tokens[i]); totalBulkPurchasedTokens = totalBulkPurchasedTokens.add(_tokens[i]); } require( token.balanceOf(address(this)) > totalReservedTokens(), "token.balanceOf(address(this)) should be > totalReservedTokens() after bulk purchases" ); } function setTokensPerPeriods(uint _firstPeriodTokens, uint _otherPeriodTokens) public onlyOwner { require(initialized == true, "initialized should be == true"); require(began == false, "began should be == false"); tokensPerPeriodAreSet = true; uint totalTokens = _firstPeriodTokens.add(_otherPeriodTokens.mul(numberOfOtherWindows)); require( totalSupply.sub(totalReservedTokens()).sub(totalBulkPurchasedTokens) == totalTokens, "totalSupply.sub(totalReservedTokens()).sub(totalBulkPurchasedTokens) should be == totalTokens" ); createPerFirstWindow = _firstPeriodTokens; createPerOtherWindow = _otherPeriodTokens; } function distributeShares() public onlyOwner { require(tokensPerPeriodAreSet == true, "tokensPerPeriodAreSet should be == true"); require(distributedShares == false, "distributedShares should be == false"); distributedShares = true; token.safeTransfer(address(tokenEscrow), REVPOP_COMPANY_SHARE.add(REVPOP_FOUNDATION_SHARE)); token.safeTransfer(wallets[2], MARKETING_SHARE); token.safeTransfer(wallets[3], TEAM_MEMBER_1_SHARE); token.safeTransfer(wallets[4], TEAM_MEMBER_2_SHARE); token.safeTransfer(wallets[5], TEAM_MEMBER_3_SHARE); token.safeTransfer(wallets[6], TEAM_MEMBER_4_SHARE); tokenEscrow.addShare(wallets[0], 50, REVPOP_FOUNDATION_PERIODS, REVPOP_FOUNDATION_PERIOD_LENGTH); tokenEscrow.addShare(wallets[1], 50, REVPOP_COMPANY_PERIODS, REVPOP_COMPANY_PERIOD_LENGTH); tokenEscrow.setUnlockStart(time()); // We pause all transfers and minting. // We allow to use transfer() function ONLY for tokenEscrow contract, // because it is an escrow and it should allow to transfer tokens to a certain party. pauseTokenTransfer(); } function totalReservedTokens() internal pure returns (uint) { return MARKETING_SHARE .add(TEAM_MEMBER_1_SHARE) .add(TEAM_MEMBER_2_SHARE) .add(TEAM_MEMBER_3_SHARE) .add(TEAM_MEMBER_4_SHARE) .add(REVPOP_COMPANY_SHARE) .add(REVPOP_FOUNDATION_SHARE); } function begin() public onlyOwner { require(distributedShares == true, "distributedShares should be == true"); require(began == false, "began should be == false"); began = true; } function pauseTokenTransfer() public onlyOwner { token.pause(); } function unpauseTokenTransfer() public onlyOwner { token.unpause(); } function pauseTokenSale() public onlyOwner { tokenSalePaused = true; } function unpauseTokenSale() public onlyOwner { tokenSalePaused = false; } function burnTokens(address account, uint amount) public onlyOwner { token.burn(account, amount); } function removePausableException(address _address) public onlyOwner { token.setPausableException(_address, false); } function time() internal view returns (uint) { return block.timestamp; } function today() public view returns (uint) { return windowFor(time()); } function windowDuration() public virtual pure returns (uint) { return WINDOW_DURATION; } // Each window is windowDuration() (23 hours) long so that end-of-window rotates // around the clock for all timezones. function windowFor(uint timestamp) public view returns (uint) { return timestamp < otherWindowsStartTime ? 0 : timestamp.sub(otherWindowsStartTime).div(windowDuration()).add(1); } function createOnWindow(uint window) public view returns (uint) { return window == 0 ? createPerFirstWindow : createPerOtherWindow; } // This method provides the buyer some protections regarding which // day the buy order is submitted and the maximum price prior to // applying this payment that will be allowed. function buyWithLimit(uint window, uint limit) public payable { require(began == true, "began should be == true"); require(tokenSalePaused == false, "tokenSalePaused should be == false"); require(time() >= firstWindowStartTime, "time() should be >= firstWindowStartTime"); require(today() <= numberOfOtherWindows, "today() should be <= numberOfOtherWindows"); require(msg.value >= MIN_ETH, "msg.value should be >= MIN_ETH"); require(window >= today(), "window should be >= today()"); require(window <= numberOfOtherWindows, "window should be <= numberOfOtherWindows"); if (limit != 0) { require(dailyTotals[window] <= limit, "dailyTotals[window] should be <= limit"); } userBuys[window][msg.sender] = userBuys[window][msg.sender].add(msg.value); dailyTotals[window] = dailyTotals[window].add(msg.value); totalRaisedETH = totalRaisedETH.add(msg.value); emit LogBuy(window, msg.sender, msg.value); } function buy() public payable { buyWithLimit(today(), 0); } fallback() external payable { buy(); } receive() external payable { buy(); } function claim(uint window) public { require(began == true, "began should be == true"); require(today() > window, "today() should be > window"); if (claimed[window][msg.sender] || dailyTotals[window] == 0 || userBuys[window][msg.sender] == 0) { return; } // 100 ether below is 100% * 10^18 uint256 userEthShare = userBuys[window][msg.sender].mul(100 ether).div(dailyTotals[window]); uint256 reward = (createOnWindow(window)).mul(userEthShare).div(100 ether); totalBoughtTokens = totalBoughtTokens.add(reward); claimed[window][msg.sender] = true; token.safeTransfer(msg.sender, reward); emit LogClaim(window, msg.sender, reward); } function claimAll() public { require(began == true, "began should be == true"); for (uint i = 0; i < today(); i++) { claim(i); } } // Crowdsale owners can collect ETH number of times function collect() public { require(began == true, "began should be == true"); require(today() > 0, "today() should be > 0"); // Prevent recycling during window 0 uint balance = address(this).balance; payable(wallets[8]).transfer(address(this).balance); emit LogCollect(balance); } function collectUnsoldTokens(uint window) public { require(began == true, "began should be == true"); require(today() > 0, "today() should be > 0"); require(window <= today(), "window should be <= today()"); require(window > collectedUnsoldTokensBeforeWindow, "window should be > collectedUnsoldTokensBeforeWindow"); uint unsoldTokens = 0; for (uint i = collectedUnsoldTokensBeforeWindow; i < window; i++) { uint dailyTotal = dailyTotals[i]; if (dailyTotal == 0) { unsoldTokens = unsoldTokens.add(i == 0 ? createPerFirstWindow : createPerOtherWindow); } } collectedUnsoldTokensBeforeWindow = window; if (unsoldTokens > 0) { token.safeTransfer(wallets[7], unsoldTokens); } emit LogCollectUnsold(unsoldTokens); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","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":"address","name":"account","type":"address"},{"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":"","type":"address"}],"name":"exceptions","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"hasException","outputs":[{"internalType":"bool","name":"","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"setPausableException","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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200189138038062001891833981810160405260408110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b50604052505082518391508290620001b890600390602085019062000255565b508051620001ce90600490602084019062000255565b50506005805461ff001960ff19909116601217169055506000620001f162000251565b6005805462010000600160b01b031916620100006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350505062000301565b3390565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826200028d5760008555620002d8565b82601f10620002a857805160ff1916838001178555620002d8565b82800160010185558215620002d8579182015b82811115620002d8578251825591602001919060010190620002bb565b50620002e6929150620002ea565b5090565b5b80821115620002e65760008155600101620002eb565b61158080620003116000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c806370a08231116100b85780639dc29fac1161007c5780639dc29fac1461038a578063a457c2d7146103b6578063a9059cbb146103e2578063dd62ed3e1461040e578063ed319e761461043c578063f2fde38b1461046a57610142565b806370a0823114610328578063715018a61461034e5780638456cb59146103565780638da5cb5b1461035e57806395d89b411461038257610142565b806323b872dd1161010a57806323b872dd1461026a578063313ce567146102a057806339509351146102be5780633f4ba83a146102ea57806340c10f19146102f45780635c975abb1461032057610142565b806306fdde0314610147578063095ea7b3146101c45780630bfdc2391461020457806318160ddd1461022a5780631df6bb2014610244575b600080fd5b61014f610490565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610189578181015183820152602001610171565b50505050905090810190601f1680156101b65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101f0600480360360408110156101da57600080fd5b506001600160a01b038135169060200135610526565b604080519115158252519081900360200190f35b6101f06004803603602081101561021a57600080fd5b50356001600160a01b0316610543565b610232610561565b60408051918252519081900360200190f35b6101f06004803603602081101561025a57600080fd5b50356001600160a01b0316610567565b6101f06004803603606081101561028057600080fd5b506001600160a01b0381358116916020810135909116906040013561057c565b6102a86105de565b6040805160ff9092168252519081900360200190f35b6101f0600480360360408110156102d457600080fd5b506001600160a01b0381351690602001356105e7565b6102f261063a565b005b6102f26004803603604081101561030a57600080fd5b506001600160a01b0381351690602001356106a2565b6101f0610768565b6102326004803603602081101561033e57600080fd5b50356001600160a01b0316610776565b6102f2610791565b6102f2610841565b6103666108a7565b604080516001600160a01b039092168252519081900360200190f35b61014f6108bc565b6102f2600480360360408110156103a057600080fd5b506001600160a01b03813516906020013561091d565b6101f0600480360360408110156103cc57600080fd5b506001600160a01b038135169060200135610985565b6101f0600480360360408110156103f857600080fd5b506001600160a01b0381351690602001356109ed565b6102326004803603604081101561042457600080fd5b506001600160a01b0381358116916020013516610a55565b6102f26004803603604081101561045257600080fd5b506001600160a01b0381351690602001351515610a80565b6102f26004803603602081101561048057600080fd5b50356001600160a01b0316610b5e565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561051c5780601f106104f15761010080835404028352916020019161051c565b820191906000526020600020905b8154815290600101906020018083116104ff57829003601f168201915b5050505050905090565b600061053a610533610c6b565b8484610c6f565b50600192915050565b6001600160a01b031660009081526006602052604090205460ff1690565b60025490565b60066020526000908152604090205460ff1681565b6000610586610768565b156105cb576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6105d6848484610d5b565b949350505050565b60055460ff1690565b600061053a6105f4610c6b565b846106358560016000610605610c6b565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610ddd565b610c6f565b610642610c6b565b6005546201000090046001600160a01b03908116911614610698576040805162461bcd60e51b8152602060048201819052602482015260008051602061149c833981519152604482015290519081900360640190fd5b6106a0610e37565b565b6106aa610c6b565b6005546201000090046001600160a01b03908116911614610700576040805162461bcd60e51b8152602060048201819052602482015260008051602061149c833981519152604482015290519081900360640190fd5b610708610768565b158061071f575061071f61071a610c6b565b610543565b61075a5760405162461bcd60e51b81526004018080602001828103825260238152602001806114516023913960400191505060405180910390fd5b6107648282610edb565b5050565b600554610100900460ff1690565b6001600160a01b031660009081526020819052604090205490565b610799610c6b565b6005546201000090046001600160a01b039081169116146107ef576040805162461bcd60e51b8152602060048201819052602482015260008051602061149c833981519152604482015290519081900360640190fd5b6005546040516000916201000090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36005805462010000600160b01b0319169055565b610849610c6b565b6005546201000090046001600160a01b0390811691161461089f576040805162461bcd60e51b8152602060048201819052602482015260008051602061149c833981519152604482015290519081900360640190fd5b6106a0610fcb565b6005546201000090046001600160a01b031690565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561051c5780601f106104f15761010080835404028352916020019161051c565b610925610c6b565b6005546201000090046001600160a01b0390811691161461097b576040805162461bcd60e51b8152602060048201819052602482015260008051602061149c833981519152604482015290519081900360640190fd5b6107648282611058565b600061053a610992610c6b565b846106358560405180606001604052806025815260200161152660259139600160006109bc610c6b565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611154565b60006109f7610768565b1580610a095750610a0961071a610c6b565b610a445760405162461bcd60e51b81526004018080602001828103825260238152602001806114516023913960400191505060405180910390fd5b610a4e83836111eb565b9392505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610a88610768565b1580610a9a5750610a9a61071a610c6b565b610ad55760405162461bcd60e51b81526004018080602001828103825260238152602001806114516023913960400191505060405180910390fd5b610add610c6b565b6005546201000090046001600160a01b03908116911614610b33576040805162461bcd60e51b8152602060048201819052602482015260008051602061149c833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b610b66610c6b565b6005546201000090046001600160a01b03908116911614610bbc576040805162461bcd60e51b8152602060048201819052602482015260008051602061149c833981519152604482015290519081900360640190fd5b6001600160a01b038116610c015760405162461bcd60e51b81526004018080602001828103825260268152602001806113e36026913960400191505060405180910390fd5b6005546040516001600160a01b038084169262010000900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b3390565b6001600160a01b038316610cb45760405162461bcd60e51b81526004018080602001828103825260248152602001806115026024913960400191505060405180910390fd5b6001600160a01b038216610cf95760405162461bcd60e51b81526004018080602001828103825260228152602001806114096022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000610d688484846111fb565b610dd384610d74610c6b565b61063585604051806060016040528060288152602001611474602891396001600160a01b038a16600090815260016020526040812090610db2610c6b565b6001600160a01b031681526020810191909152604001600020549190611154565b5060019392505050565b600082820183811015610a4e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600554610100900460ff16610e8a576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6005805461ff00191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610ebe610c6b565b604080516001600160a01b039092168252519081900360200190a1565b6001600160a01b038216610f36576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610f4260008383611356565b600254610f4f9082610ddd565b6002556001600160a01b038216600090815260208190526040902054610f759082610ddd565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b610fd3610768565b1580610fe55750610fe561071a610c6b565b6110205760405162461bcd60e51b81526004018080602001828103825260238152602001806114516023913960400191505060405180910390fd5b6005805461ff0019166101001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610ebe610c6b565b6001600160a01b03821661109d5760405162461bcd60e51b81526004018080602001828103825260218152602001806114bc6021913960400191505060405180910390fd5b6110a982600083611356565b6110e6816040518060600160405280602281526020016113c1602291396001600160a01b0385166000908152602081905260409020549190611154565b6001600160a01b03831660009081526020819052604090205560025461110c908261135b565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600081848411156111e35760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156111a8578181015183820152602001611190565b50505050905090810190601f1680156111d55780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600061053a6111f8610c6b565b84845b6001600160a01b0383166112405760405162461bcd60e51b81526004018080602001828103825260258152602001806114dd6025913960400191505060405180910390fd5b6001600160a01b0382166112855760405162461bcd60e51b815260040180806020018281038252602381526020018061139e6023913960400191505060405180910390fd5b611290838383611356565b6112cd8160405180606001604052806026815260200161142b602691396001600160a01b0386166000908152602081905260409020549190611154565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546112fc9082610ddd565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b505050565b6000610a4e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061115456fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63655061757361626c653a207061757365642028616e64206e6f20657863657074696f6e2945524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212205f9274a0abcabb80b1dacac94c61cae32799e79de2be672342ee89606bfa262764736f6c6343000706003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001c5265766f6c7574696f6e506f70756c6920455243323020546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000035256500000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101425760003560e01c806370a08231116100b85780639dc29fac1161007c5780639dc29fac1461038a578063a457c2d7146103b6578063a9059cbb146103e2578063dd62ed3e1461040e578063ed319e761461043c578063f2fde38b1461046a57610142565b806370a0823114610328578063715018a61461034e5780638456cb59146103565780638da5cb5b1461035e57806395d89b411461038257610142565b806323b872dd1161010a57806323b872dd1461026a578063313ce567146102a057806339509351146102be5780633f4ba83a146102ea57806340c10f19146102f45780635c975abb1461032057610142565b806306fdde0314610147578063095ea7b3146101c45780630bfdc2391461020457806318160ddd1461022a5780631df6bb2014610244575b600080fd5b61014f610490565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610189578181015183820152602001610171565b50505050905090810190601f1680156101b65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101f0600480360360408110156101da57600080fd5b506001600160a01b038135169060200135610526565b604080519115158252519081900360200190f35b6101f06004803603602081101561021a57600080fd5b50356001600160a01b0316610543565b610232610561565b60408051918252519081900360200190f35b6101f06004803603602081101561025a57600080fd5b50356001600160a01b0316610567565b6101f06004803603606081101561028057600080fd5b506001600160a01b0381358116916020810135909116906040013561057c565b6102a86105de565b6040805160ff9092168252519081900360200190f35b6101f0600480360360408110156102d457600080fd5b506001600160a01b0381351690602001356105e7565b6102f261063a565b005b6102f26004803603604081101561030a57600080fd5b506001600160a01b0381351690602001356106a2565b6101f0610768565b6102326004803603602081101561033e57600080fd5b50356001600160a01b0316610776565b6102f2610791565b6102f2610841565b6103666108a7565b604080516001600160a01b039092168252519081900360200190f35b61014f6108bc565b6102f2600480360360408110156103a057600080fd5b506001600160a01b03813516906020013561091d565b6101f0600480360360408110156103cc57600080fd5b506001600160a01b038135169060200135610985565b6101f0600480360360408110156103f857600080fd5b506001600160a01b0381351690602001356109ed565b6102326004803603604081101561042457600080fd5b506001600160a01b0381358116916020013516610a55565b6102f26004803603604081101561045257600080fd5b506001600160a01b0381351690602001351515610a80565b6102f26004803603602081101561048057600080fd5b50356001600160a01b0316610b5e565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561051c5780601f106104f15761010080835404028352916020019161051c565b820191906000526020600020905b8154815290600101906020018083116104ff57829003601f168201915b5050505050905090565b600061053a610533610c6b565b8484610c6f565b50600192915050565b6001600160a01b031660009081526006602052604090205460ff1690565b60025490565b60066020526000908152604090205460ff1681565b6000610586610768565b156105cb576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6105d6848484610d5b565b949350505050565b60055460ff1690565b600061053a6105f4610c6b565b846106358560016000610605610c6b565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610ddd565b610c6f565b610642610c6b565b6005546201000090046001600160a01b03908116911614610698576040805162461bcd60e51b8152602060048201819052602482015260008051602061149c833981519152604482015290519081900360640190fd5b6106a0610e37565b565b6106aa610c6b565b6005546201000090046001600160a01b03908116911614610700576040805162461bcd60e51b8152602060048201819052602482015260008051602061149c833981519152604482015290519081900360640190fd5b610708610768565b158061071f575061071f61071a610c6b565b610543565b61075a5760405162461bcd60e51b81526004018080602001828103825260238152602001806114516023913960400191505060405180910390fd5b6107648282610edb565b5050565b600554610100900460ff1690565b6001600160a01b031660009081526020819052604090205490565b610799610c6b565b6005546201000090046001600160a01b039081169116146107ef576040805162461bcd60e51b8152602060048201819052602482015260008051602061149c833981519152604482015290519081900360640190fd5b6005546040516000916201000090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36005805462010000600160b01b0319169055565b610849610c6b565b6005546201000090046001600160a01b0390811691161461089f576040805162461bcd60e51b8152602060048201819052602482015260008051602061149c833981519152604482015290519081900360640190fd5b6106a0610fcb565b6005546201000090046001600160a01b031690565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561051c5780601f106104f15761010080835404028352916020019161051c565b610925610c6b565b6005546201000090046001600160a01b0390811691161461097b576040805162461bcd60e51b8152602060048201819052602482015260008051602061149c833981519152604482015290519081900360640190fd5b6107648282611058565b600061053a610992610c6b565b846106358560405180606001604052806025815260200161152660259139600160006109bc610c6b565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611154565b60006109f7610768565b1580610a095750610a0961071a610c6b565b610a445760405162461bcd60e51b81526004018080602001828103825260238152602001806114516023913960400191505060405180910390fd5b610a4e83836111eb565b9392505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610a88610768565b1580610a9a5750610a9a61071a610c6b565b610ad55760405162461bcd60e51b81526004018080602001828103825260238152602001806114516023913960400191505060405180910390fd5b610add610c6b565b6005546201000090046001600160a01b03908116911614610b33576040805162461bcd60e51b8152602060048201819052602482015260008051602061149c833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b610b66610c6b565b6005546201000090046001600160a01b03908116911614610bbc576040805162461bcd60e51b8152602060048201819052602482015260008051602061149c833981519152604482015290519081900360640190fd5b6001600160a01b038116610c015760405162461bcd60e51b81526004018080602001828103825260268152602001806113e36026913960400191505060405180910390fd5b6005546040516001600160a01b038084169262010000900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b3390565b6001600160a01b038316610cb45760405162461bcd60e51b81526004018080602001828103825260248152602001806115026024913960400191505060405180910390fd5b6001600160a01b038216610cf95760405162461bcd60e51b81526004018080602001828103825260228152602001806114096022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000610d688484846111fb565b610dd384610d74610c6b565b61063585604051806060016040528060288152602001611474602891396001600160a01b038a16600090815260016020526040812090610db2610c6b565b6001600160a01b031681526020810191909152604001600020549190611154565b5060019392505050565b600082820183811015610a4e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600554610100900460ff16610e8a576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6005805461ff00191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610ebe610c6b565b604080516001600160a01b039092168252519081900360200190a1565b6001600160a01b038216610f36576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610f4260008383611356565b600254610f4f9082610ddd565b6002556001600160a01b038216600090815260208190526040902054610f759082610ddd565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b610fd3610768565b1580610fe55750610fe561071a610c6b565b6110205760405162461bcd60e51b81526004018080602001828103825260238152602001806114516023913960400191505060405180910390fd5b6005805461ff0019166101001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610ebe610c6b565b6001600160a01b03821661109d5760405162461bcd60e51b81526004018080602001828103825260218152602001806114bc6021913960400191505060405180910390fd5b6110a982600083611356565b6110e6816040518060600160405280602281526020016113c1602291396001600160a01b0385166000908152602081905260409020549190611154565b6001600160a01b03831660009081526020819052604090205560025461110c908261135b565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600081848411156111e35760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156111a8578181015183820152602001611190565b50505050905090810190601f1680156111d55780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600061053a6111f8610c6b565b84845b6001600160a01b0383166112405760405162461bcd60e51b81526004018080602001828103825260258152602001806114dd6025913960400191505060405180910390fd5b6001600160a01b0382166112855760405162461bcd60e51b815260040180806020018281038252602381526020018061139e6023913960400191505060405180910390fd5b611290838383611356565b6112cd8160405180606001604052806026815260200161142b602691396001600160a01b0386166000908152602081905260409020549190611154565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546112fc9082610ddd565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b505050565b6000610a4e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061115456fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63655061757361626c653a207061757365642028616e64206e6f20657863657074696f6e2945524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212205f9274a0abcabb80b1dacac94c61cae32799e79de2be672342ee89606bfa262764736f6c63430007060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001c5265766f6c7574696f6e506f70756c6920455243323020546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000035256500000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): RevolutionPopuli ERC20 Token
Arg [1] : symbol (string): RVP
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000001c
Arg [3] : 5265766f6c7574696f6e506f70756c6920455243323020546f6b656e00000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [5] : 5256500000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
27051:880:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14863:81;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16906:166;;;;;;;;;;;;;;;;-1:-1:-1;16906:166:0;;-1:-1:-1;;;;;16906:166:0;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;26782:111;;;;;;;;;;;;;;;;-1:-1:-1;26782:111:0;-1:-1:-1;;;;;26782:111:0;;:::i;15909:98::-;;;:::i;:::-;;;;;;;;;;;;;;;;26458:42;;;;;;;;;;;;;;;;-1:-1:-1;26458:42:0;-1:-1:-1;;;;;26458:42:0;;:::i;27497:203::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;27497:203:0;;;;;;;;;;;;;;;;;:::i;15767:81::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;18253:215;;;;;;;;;;;;;;;;-1:-1:-1;18253:215:0;;-1:-1:-1;;;;;18253:215:0;;;;;;:::i;27259:69::-;;;:::i;:::-;;27707:114;;;;;;;;;;;;;;;;-1:-1:-1;27707:114:0;;-1:-1:-1;;;;;27707:114:0;;;;;;:::i;25258:76::-;;;:::i;16066:117::-;;;;;;;;;;;;;;;;-1:-1:-1;16066:117:0;-1:-1:-1;;;;;16066:117:0;;:::i;11478:145::-;;;:::i;27187:65::-;;;:::i;10853:77::-;;;:::i;:::-;;;;-1:-1:-1;;;;;10853:77:0;;;;;;;;;;;;;;15058:85;;;:::i;27828:100::-;;;;;;;;;;;;;;;;-1:-1:-1;27828:100:0;;-1:-1:-1;;;;;27828:100:0;;;;;;:::i;18956:266::-;;;;;;;;;;;;;;;;-1:-1:-1;18956:266:0;;-1:-1:-1;;;;;18956:266:0;;;;;;:::i;27335:155::-;;;;;;;;;;;;;;;;-1:-1:-1;27335:155:0;;-1:-1:-1;;;;;27335:155:0;;;;;;:::i;16618:149::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16618:149:0;;;;;;;;;;:::i;26900:142::-;;;;;;;;;;;;;;;;-1:-1:-1;26900:142:0;;-1:-1:-1;;;;;26900:142:0;;;;;;;;:::i;11773:240::-;;;;;;;;;;;;;;;;-1:-1:-1;11773:240:0;-1:-1:-1;;;;;11773:240:0;;:::i;14863:81::-;14932:5;14925:12;;;;;;;;;;;;;-1:-1:-1;;14925:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;14900:13;;14925:12;;14932:5;;14925:12;;;14932:5;14925:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14863:81;:::o;16906:166::-;16989:4;17005:39;17014:12;:10;:12::i;:::-;17028:7;17037:6;17005:8;:39::i;:::-;-1:-1:-1;17061:4:0;16906:166;;;;:::o;26782:111::-;-1:-1:-1;;;;;26866:20:0;26843:4;26866:20;;;:10;:20;;;;;;;;;26782:111::o;15909:98::-;15988:12;;15909:98;:::o;26458:42::-;;;;;;;;;;;;;;;:::o;27497:203::-;27625:4;26726:8;:6;:8::i;:::-;26725:9;26717:38;;;;;-1:-1:-1;;;26717:38:0;;;;;;;;;;;;-1:-1:-1;;;26717:38:0;;;;;;;;;;;;;;;27648:45:::1;27667:6;27675:9;27686:6;27648:18;:45::i;:::-;27641:52:::0;27497:203;-1:-1:-1;;;;27497:203:0:o;15767:81::-;15832:9;;;;15767:81;:::o;18253:215::-;18341:4;18357:83;18366:12;:10;:12::i;:::-;18380:7;18389:50;18428:10;18389:11;:25;18401:12;:10;:12::i;:::-;-1:-1:-1;;;;;18389:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;18389:25:0;;;:34;;;;;;;;;;;:38;:50::i;:::-;18357:8;:83::i;27259:69::-;11068:12;:10;:12::i;:::-;11058:6;;;;;-1:-1:-1;;;;;11058:6:0;;;:22;;;11050:67;;;;;-1:-1:-1;;;11050:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;11050:67:0;;;;;;;;;;;;;;;27305:16:::1;:14;:16::i;:::-;27259:69::o:0;27707:114::-;11068:12;:10;:12::i;:::-;11058:6;;;;;-1:-1:-1;;;;;11058:6:0;;;:22;;;11050:67;;;;;-1:-1:-1;;;11050:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;11050:67:0;;;;;;;;;;;;;;;26561:8:::1;:6;:8::i;:::-;26560:9;:39;;;;26573:26;26586:12;:10;:12::i;:::-;26573;:26::i;:::-;26552:87;;;;-1:-1:-1::0;;;26552:87:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27792:22:::2;27798:7;27807:6;27792:5;:22::i;:::-;27707:114:::0;;:::o;25258:76::-;25320:7;;;;;;;;25258:76::o;16066:117::-;-1:-1:-1;;;;;16158:18:0;16132:7;16158:18;;;;;;;;;;;;16066:117::o;11478:145::-;11068:12;:10;:12::i;:::-;11058:6;;;;;-1:-1:-1;;;;;11058:6:0;;;:22;;;11050:67;;;;;-1:-1:-1;;;11050:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;11050:67:0;;;;;;;;;;;;;;;11568:6:::1;::::0;11547:40:::1;::::0;11584:1:::1;::::0;11568:6;;::::1;-1:-1:-1::0;;;;;11568:6:0::1;::::0;11547:40:::1;::::0;11584:1;;11547:40:::1;11597:6;:19:::0;;-1:-1:-1;;;;;;11597:19:0::1;::::0;;11478:145::o;27187:65::-;11068:12;:10;:12::i;:::-;11058:6;;;;;-1:-1:-1;;;;;11058:6:0;;;:22;;;11050:67;;;;;-1:-1:-1;;;11050:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;11050:67:0;;;;;;;;;;;;;;;27231:14:::1;:12;:14::i;10853:77::-:0;10917:6;;;;;-1:-1:-1;;;;;10917:6:0;;10853:77::o;15058:85::-;15129:7;15122:14;;;;;;;;;;;;;-1:-1:-1;;15122:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;15097:13;;15122:14;;15129:7;;15122:14;;;15129:7;15122:14;;;;;;;;;;;;;;;;;;;;;;;;27828:100;11068:12;:10;:12::i;:::-;11058:6;;;;;-1:-1:-1;;;;;11058:6:0;;;:22;;;11050:67;;;;;-1:-1:-1;;;11050:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;11050:67:0;;;;;;;;;;;;;;;27899:22:::1;27905:7;27914:6;27899:5;:22::i;18956:266::-:0;19049:4;19065:129;19074:12;:10;:12::i;:::-;19088:7;19097:96;19136:15;19097:96;;;;;;;;;;;;;;;;;:11;:25;19109:12;:10;:12::i;:::-;-1:-1:-1;;;;;19097:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;19097:25:0;;;:34;;;;;;;;;;;;:38;:96::i;27335:155::-;27427:4;26561:8;:6;:8::i;:::-;26560:9;:39;;;;26573:26;26586:12;:10;:12::i;26573:26::-;26552:87;;;;-1:-1:-1;;;26552:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27450:33:::1;27465:9;27476:6;27450:14;:33::i;:::-;27443:40:::0;27335:155;-1:-1:-1;;;27335:155:0:o;16618:149::-;-1:-1:-1;;;;;16733:18:0;;;16707:7;16733:18;;;-1:-1:-1;16733:18:0;;;;;;;;:27;;;;;;;;;;;;;16618:149::o;26900:142::-;26561:8;:6;:8::i;:::-;26560:9;:39;;;;26573:26;26586:12;:10;:12::i;26573:26::-;26552:87;;;;-1:-1:-1;;;26552:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11068:12:::1;:10;:12::i;:::-;11058:6;::::0;;;::::1;-1:-1:-1::0;;;;;11058:6:0;;::::1;:22:::0;::::1;;11050:67;;;::::0;;-1:-1:-1;;;11050:67:0;;::::1;;::::0;::::1;::::0;;;;;;;-1:-1:-1;;;;;;;;;;;11050:67:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;27005:20:0;;;::::2;;::::0;;;:10:::2;:20;::::0;;;;:30;;-1:-1:-1;;27005:30:0::2;::::0;::::2;;::::0;;;::::2;::::0;;26900:142::o;11773:240::-;11068:12;:10;:12::i;:::-;11058:6;;;;;-1:-1:-1;;;;;11058:6:0;;;:22;;;11050:67;;;;;-1:-1:-1;;;11050:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;11050:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;11861:22:0;::::1;11853:73;;;;-1:-1:-1::0;;;11853:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11962:6;::::0;11941:38:::1;::::0;-1:-1:-1;;;;;11941:38:0;;::::1;::::0;11962:6;;::::1;;::::0;11941:38:::1;::::0;;;::::1;11989:6;:17:::0;;-1:-1:-1;;;;;11989:17:0;;;::::1;::::0;::::1;-1:-1:-1::0;;;;;;11989:17:0;;::::1;::::0;;;::::1;::::0;;11773:240::o;8695:104::-;8782:10;8695:104;:::o;22030:341::-;-1:-1:-1;;;;;22131:19:0;;22123:68;;;;-1:-1:-1;;;22123:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22209:21:0;;22201:68;;;;-1:-1:-1;;;22201:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22281:18:0;;;;;;;-1:-1:-1;22281:18:0;;;;;;;;:27;;;;;;;;;;;;;:36;;;22332:32;;;;;;;;;;;;;;;;;22030:341;;;:::o;17540:317::-;17646:4;17662:36;17672:6;17680:9;17691:6;17662:9;:36::i;:::-;17708:121;17717:6;17725:12;:10;:12::i;:::-;17739:89;17777:6;17739:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17739:19:0;;;;;;-1:-1:-1;17739:19:0;;;;;;17759:12;:10;:12::i;:::-;-1:-1:-1;;;;;17739:33:0;;;;;;;;;;;;-1:-1:-1;17739:33:0;;;;:37;:89::i;17708:121::-;-1:-1:-1;17846:4:0;17540:317;;;;;:::o;977:177::-;1035:7;1066:5;;;1089:6;;;;1081:46;;;;;-1:-1:-1;;;1081:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;26272:117;25838:7;;;;;;;25830:40;;;;;-1:-1:-1;;;25830:40:0;;;;;;;;;;;;-1:-1:-1;;;25830:40:0;;;;;;;;;;;;;;;26330:7:::1;:15:::0;;-1:-1:-1;;26330:15:0::1;::::0;;26360:22:::1;26369:12;:10;:12::i;:::-;26360:22;::::0;;-1:-1:-1;;;;;26360:22:0;;::::1;::::0;;;;;;;::::1;::::0;;::::1;26272:117::o:0;20501:372::-;-1:-1:-1;;;;;20584:21:0;;20576:65;;;;;-1:-1:-1;;;20576:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;20653:49;20682:1;20686:7;20695:6;20653:20;:49::i;:::-;20729:12;;:24;;20746:6;20729:16;:24::i;:::-;20714:12;:39;-1:-1:-1;;;;;20784:18:0;;:9;:18;;;;;;;;;;;:30;;20807:6;20784:22;:30::i;:::-;-1:-1:-1;;;;;20763:18:0;;:9;:18;;;;;;;;;;;:51;;;;20829:37;;;;;;;20763:18;;:9;;20829:37;;;;;;;;;;20501:372;;:::o;26024:115::-;26561:8;:6;:8::i;:::-;26560:9;:39;;;;26573:26;26586:12;:10;:12::i;26573:26::-;26552:87;;;;-1:-1:-1;;;26552:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26083:7:::1;:14:::0;;-1:-1:-1;;26083:14:0::1;;;::::0;;26112:20:::1;26119:12;:10;:12::i;21194:412::-:0;-1:-1:-1;;;;;21277:21:0;;21269:67;;;;-1:-1:-1;;;21269:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21348:49;21369:7;21386:1;21390:6;21348:20;:49::i;:::-;21430:68;21453:6;21430:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21430:18:0;;:9;:18;;;;;;;;;;;;;:22;:68::i;:::-;-1:-1:-1;;;;;21409:18:0;;:9;:18;;;;;;;;;;:89;21523:12;;:24;;21540:6;21523:16;:24::i;:::-;21508:12;:39;21562:37;;;;;;;;21588:1;;-1:-1:-1;;;;;21562:37:0;;;;;;;;;;;;21194:412;;:::o;1852:188::-;1938:7;1973:12;1965:6;;;;1957:29;;;;-1:-1:-1;;;1957:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2008:5:0;;;1852:188::o;16387:172::-;16473:4;16489:42;16499:12;:10;:12::i;:::-;16513:9;16524:6;19697:532;-1:-1:-1;;;;;19802:20:0;;19794:70;;;;-1:-1:-1;;;19794:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19882:23:0;;19874:71;;;;-1:-1:-1;;;19874:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19957:47;19978:6;19986:9;19997:6;19957:20;:47::i;:::-;20036:71;20058:6;20036:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20036:17:0;;:9;:17;;;;;;;;;;;;;:21;:71::i;:::-;-1:-1:-1;;;;;20016:17:0;;;:9;:17;;;;;;;;;;;:91;;;;20140:20;;;;;;;:32;;20165:6;20140:24;:32::i;:::-;-1:-1:-1;;;;;20117:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;20187:35;;;;;;;20117:20;;20187:35;;;;;;;;;;;;;19697:532;;;:::o;23371:92::-;;;;:::o;1426:134::-;1484:7;1510:43;1514:1;1517;1510:43;;;;;;;;;;;;;;;;;:3;:43::i
Swarm Source
ipfs://5f9274a0abcabb80b1dacac94c61cae32799e79de2be672342ee89606bfa2627
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.