ERC-20
Staking
Overview
Max Total Supply
33,000 VRGN
Holders
92 (0.00%)
Total Transfers
-
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:
VirginToken
Compiler Version
v0.6.6+commit.6c089d02
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-10-05 */ /* .g8"""bgd `7MMF' `7MMF' db `7MM"""Yb. .dP' `M MM MM ;MM: MM `Yb. dM' ` MM MM ,V^MM. MM `Mb MM MMmmmmmmMM ,M `MM MM MM MM. MM MM AbmmmqMA MM ,MP `Mb. ,' MM MM A' VML MM ,dP' `"bmmmd' .JMML. .JMML..AMA. .AMMA..JMMmmmdP' `7MM"""YMM `7MMF'`7MN. `7MF' db `7MN. `7MF' .g8"""bgd `7MM"""YMM MM `7 MM MMN. M ;MM: MMN. M .dP' `M MM `7 MM d MM M YMb M ,V^MM. M YMb M dM' ` MM d MM""MM MM M `MN. M ,M `MM M `MN. M MM MMmmMM MM Y MM M `MM.M AbmmmqMA M `MM.M MM. MM Y , MM MM M YMM A' VML M YMM `Mb. ,' MM ,M .JMML. .JMML..JML. YM .AMA. .AMMA..JML. YM `"bmmmd' .JMMmmmmMMM */ // File: @openzeppelin/contracts/GSN/Context.sol pragma solidity ^0.6.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity ^0.6.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.6.2; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies in extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol pragma solidity ^0.6.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } // File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol pragma solidity ^0.6.0; /** * @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"); } } } // File: contracts/VirginToken.sol pragma solidity ^0.6.0; contract VirginToken is ERC20 { using SafeERC20 for IERC20; using SafeMath for uint256; address owner; address private fundVotingAddress; IERC20 private mangas; bool private isSendingFunds; bool private isPreventToggleFund; uint256 private lastBlockSent; modifier _onlyOwner() { require(msg.sender == owner); _; } constructor() public payable ERC20("VIRGIN TOKEN", "VRGN") { owner = msg.sender; uint256 supply = 33000; _mint(msg.sender, supply.mul(10 ** 18)); lastBlockSent = block.number; isPreventToggleFund = true; isSendingFunds = false; } function setManGasAddress(address mangasAddress) public _onlyOwner { mangas = IERC20(mangasAddress); } function setLastBlockSent(uint256 _lastBlockSent) public _onlyOwner { lastBlockSent = _lastBlockSent; } function setFundingAddress(address fundingContract) public _onlyOwner { fundVotingAddress = fundingContract; } function preventToggleFund() public _onlyOwner { isPreventToggleFund = false; } function toggleFundingBool() public _onlyOwner { require(isPreventToggleFund == true, "isPreventToggleFund is not true"); isSendingFunds = !isSendingFunds; } function getFundingPoolAmount() public view returns(uint256) { mangas.balanceOf(owner); } function triggerTransferOnlyOwner(uint256 amount) public _onlyOwner { require((block.number - lastBlockSent) > 21600, "Too early to transfer"); mangas.safeTransfer(fundVotingAddress, amount); } function triggerTransfer(uint256 amount) public { require(isSendingFunds == true, "isSendingFunds is not true"); require((block.number - lastBlockSent) > 21600, "Too early to transfer"); mangas.safeTransfer(fundVotingAddress, amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"payable","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getFundingPoolAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preventToggleFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"fundingContract","type":"address"}],"name":"setFundingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_lastBlockSent","type":"uint256"}],"name":"setLastBlockSent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"mangasAddress","type":"address"}],"name":"setManGasAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleFundingBool","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"amount","type":"uint256"}],"name":"triggerTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"triggerTransferOnlyOwner","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
600c60808181527f56495247494e20544f4b454e000000000000000000000000000000000000000060a0908152610100604052600460c09081527f5652474e0000000000000000000000000000000000000000000000000000000060e05291926200006d9160039162000356565b5080516200008390600490602084019062000356565b505060058054601260ff199091161761010060a860020a03191661010033908102919091179091556180e89150620000e690620000d783670de0b6b3a7640000640100000000620001258102620014211704565b640100000000620001a6810204565b50436008556007805460a060020a60ff021960a860020a60ff0219909116750100000000000000000000000000000000000000000017169055620003fb565b6000826200013657506000620001a0565b828202828482816200014457fe5b04146200019d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018062001a216021913960400191505060405180910390fd5b90505b92915050565b600160a060020a0382166200021c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6200023360008383640100000000620002dc810204565b600254620002509082640100000000620010e5620002e182021704565b600255600160a060020a038216600090815260208190526040902054620002869082640100000000620010e5620002e182021704565b600160a060020a0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b6000828201838110156200019d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200039957805160ff1916838001178555620003c9565b82800160010185558215620003c9579182015b82811115620003c9578251825591602001919060010190620003ac565b50620003d7929150620003db565b5090565b620003f891905b80821115620003d75760008155600101620003e2565b90565b611616806200040b6000396000f3fe608060405234801561001057600080fd5b506004361061016e576000357c010000000000000000000000000000000000000000000000000000000090048063679adc88116100ea578063a9059cbb1161009e578063dd62ed3e11610083578063dd62ed3e14610425578063e656202414610460578063e96c32271461047d5761016e565b8063a9059cbb146103e4578063cb888aca1461041d5761016e565b806370a08231116100cf57806370a082311461037057806395d89b41146103a3578063a457c2d7146103ab5761016e565b8063679adc881461033557806370189c8d146103685761016e565b806318160ddd11610141578063313ce56711610126578063313ce567146102c157806339509351146102df5780635fbbce8a146103185761016e565b806318160ddd1461026457806323b872dd1461027e5761016e565b806306fdde0314610173578063095ea7b3146101f05780630b1464ca1461023d5780630f7cf1141461025c575b600080fd5b61017b6104b0565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101b557818101518382015260200161019d565b50505050905090810190601f1680156101e25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102296004803603604081101561020657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610564565b604080519115158252519081900360200190f35b61025a6004803603602081101561025357600080fd5b5035610582565b005b61025a610652565b61026c610757565b60408051918252519081900360200190f35b6102296004803603606081101561029457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135909116906040013561075d565b6102c9610804565b6040805160ff9092168252519081900360200190f35b610229600480360360408110156102f557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561080d565b61025a6004803603602081101561032e57600080fd5b503561086e565b61025a6004803603602081101561034b57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166108fc565b61026c61096c565b61026c6004803603602081101561038657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610a1c565b61017b610a44565b610229600480360360408110156103c157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610ac3565b610229600480360360408110156103fa57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610b3e565b61025a610b52565b61026c6004803603604081101561043b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516610ba5565b61025a6004803603602081101561047657600080fd5b5035610bdd565b61025a6004803603602081101561049357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610c0b565b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561055a5780601f1061052f5761010080835404028352916020019161055a565b820191906000526020600020905b81548152906001019060200180831161053d57829003601f168201915b5050505050905090565b6000610578610571610c7b565b8484610c7f565b5060015b92915050565b600554610100900473ffffffffffffffffffffffffffffffffffffffff1633146105ab57600080fd5b61546060085443031161061f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f546f6f206561726c7920746f207472616e736665720000000000000000000000604482015290519081900360640190fd5b60065460075461064f9173ffffffffffffffffffffffffffffffffffffffff91821691168363ffffffff610dc616565b50565b600554610100900473ffffffffffffffffffffffffffffffffffffffff16331461067b57600080fd5b6007547501000000000000000000000000000000000000000000900460ff16151560011461070a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f697350726576656e74546f67676c6546756e64206973206e6f74207472756500604482015290519081900360640190fd5b600780547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff8116740100000000000000000000000000000000000000009182900460ff1615909102179055565b60025490565b600061076a848484610e58565b6107fa84610776610c7b565b6107f5856040518060600160405280602881526020016115216028913973ffffffffffffffffffffffffffffffffffffffff8a166000908152600160205260408120906107c1610c7b565b73ffffffffffffffffffffffffffffffffffffffff168152602081019190915260400160002054919063ffffffff61103416565b610c7f565b5060019392505050565b60055460ff1690565b600061057861081a610c7b565b846107f5856001600061082b610c7b565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6110e516565b60075474010000000000000000000000000000000000000000900460ff1615156001146105ab57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f697353656e64696e6746756e6473206973206e6f742074727565000000000000604482015290519081900360640190fd5b600554610100900473ffffffffffffffffffffffffffffffffffffffff16331461092557600080fd5b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600754600554604080517f70a0823100000000000000000000000000000000000000000000000000000000815261010090920473ffffffffffffffffffffffffffffffffffffffff9081166004840152905160009391909116916370a08231916024808301926020929190829003018186803b1580156109eb57600080fd5b505afa1580156109ff573d6000803e3d6000fd5b505050506040513d6020811015610a1557600080fd5b5090919050565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561055a5780601f1061052f5761010080835404028352916020019161055a565b6000610578610ad0610c7b565b846107f5856040518060600160405280602581526020016115bc6025913960016000610afa610c7b565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61103416565b6000610578610b4b610c7b565b8484610e58565b600554610100900473ffffffffffffffffffffffffffffffffffffffff163314610b7b57600080fd5b600780547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b600554610100900473ffffffffffffffffffffffffffffffffffffffff163314610c0657600080fd5b600855565b600554610100900473ffffffffffffffffffffffffffffffffffffffff163314610c3457600080fd5b600780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b3390565b73ffffffffffffffffffffffffffffffffffffffff8316610ceb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061156e6024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610d57576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806114b86022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610e53908490611160565b505050565b73ffffffffffffffffffffffffffffffffffffffff8316610ec4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806115496025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610f30576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806114956023913960400191505060405180910390fd5b610f3b838383610e53565b610f8b816040518060600160405280602681526020016114da6026913973ffffffffffffffffffffffffffffffffffffffff8616600090815260208190526040902054919063ffffffff61103416565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152602081905260408082209390935590841681522054610fcd908263ffffffff6110e516565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156110dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156110a257818101518382015260200161108a565b50505050905090810190601f1680156110cf5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008282018381101561115957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60606111c2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166112389092919063ffffffff16565b805190915015610e53578080602001905160208110156111e157600080fd5b5051610e53576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180611592602a913960400191505060405180910390fd5b6060611247848460008561124f565b949350505050565b606061125a8561141b565b6112c557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061132f57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016112f2565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611391576040519150601f19603f3d011682016040523d82523d6000602084013e611396565b606091505b509150915081156113aa5791506112479050565b8051156113ba5780518082602001fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482018181528651602484015286518793919283926044019190850190808383600083156110a257818101518382015260200161108a565b3b151590565b6000826114305750600061057c565b8282028284828161143d57fe5b0414611159576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806115006021913960400191505060405180910390fdfe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212205e87cca2f824dc74b8cf5ba05d924db4477e1da1fecb86b3a69be2e9ea0dfffd64736f6c63430006060033536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061016e576000357c010000000000000000000000000000000000000000000000000000000090048063679adc88116100ea578063a9059cbb1161009e578063dd62ed3e11610083578063dd62ed3e14610425578063e656202414610460578063e96c32271461047d5761016e565b8063a9059cbb146103e4578063cb888aca1461041d5761016e565b806370a08231116100cf57806370a082311461037057806395d89b41146103a3578063a457c2d7146103ab5761016e565b8063679adc881461033557806370189c8d146103685761016e565b806318160ddd11610141578063313ce56711610126578063313ce567146102c157806339509351146102df5780635fbbce8a146103185761016e565b806318160ddd1461026457806323b872dd1461027e5761016e565b806306fdde0314610173578063095ea7b3146101f05780630b1464ca1461023d5780630f7cf1141461025c575b600080fd5b61017b6104b0565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101b557818101518382015260200161019d565b50505050905090810190601f1680156101e25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102296004803603604081101561020657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610564565b604080519115158252519081900360200190f35b61025a6004803603602081101561025357600080fd5b5035610582565b005b61025a610652565b61026c610757565b60408051918252519081900360200190f35b6102296004803603606081101561029457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135909116906040013561075d565b6102c9610804565b6040805160ff9092168252519081900360200190f35b610229600480360360408110156102f557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561080d565b61025a6004803603602081101561032e57600080fd5b503561086e565b61025a6004803603602081101561034b57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166108fc565b61026c61096c565b61026c6004803603602081101561038657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610a1c565b61017b610a44565b610229600480360360408110156103c157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610ac3565b610229600480360360408110156103fa57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610b3e565b61025a610b52565b61026c6004803603604081101561043b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516610ba5565b61025a6004803603602081101561047657600080fd5b5035610bdd565b61025a6004803603602081101561049357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610c0b565b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561055a5780601f1061052f5761010080835404028352916020019161055a565b820191906000526020600020905b81548152906001019060200180831161053d57829003601f168201915b5050505050905090565b6000610578610571610c7b565b8484610c7f565b5060015b92915050565b600554610100900473ffffffffffffffffffffffffffffffffffffffff1633146105ab57600080fd5b61546060085443031161061f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f546f6f206561726c7920746f207472616e736665720000000000000000000000604482015290519081900360640190fd5b60065460075461064f9173ffffffffffffffffffffffffffffffffffffffff91821691168363ffffffff610dc616565b50565b600554610100900473ffffffffffffffffffffffffffffffffffffffff16331461067b57600080fd5b6007547501000000000000000000000000000000000000000000900460ff16151560011461070a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f697350726576656e74546f67676c6546756e64206973206e6f74207472756500604482015290519081900360640190fd5b600780547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff8116740100000000000000000000000000000000000000009182900460ff1615909102179055565b60025490565b600061076a848484610e58565b6107fa84610776610c7b565b6107f5856040518060600160405280602881526020016115216028913973ffffffffffffffffffffffffffffffffffffffff8a166000908152600160205260408120906107c1610c7b565b73ffffffffffffffffffffffffffffffffffffffff168152602081019190915260400160002054919063ffffffff61103416565b610c7f565b5060019392505050565b60055460ff1690565b600061057861081a610c7b565b846107f5856001600061082b610c7b565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6110e516565b60075474010000000000000000000000000000000000000000900460ff1615156001146105ab57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f697353656e64696e6746756e6473206973206e6f742074727565000000000000604482015290519081900360640190fd5b600554610100900473ffffffffffffffffffffffffffffffffffffffff16331461092557600080fd5b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600754600554604080517f70a0823100000000000000000000000000000000000000000000000000000000815261010090920473ffffffffffffffffffffffffffffffffffffffff9081166004840152905160009391909116916370a08231916024808301926020929190829003018186803b1580156109eb57600080fd5b505afa1580156109ff573d6000803e3d6000fd5b505050506040513d6020811015610a1557600080fd5b5090919050565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561055a5780601f1061052f5761010080835404028352916020019161055a565b6000610578610ad0610c7b565b846107f5856040518060600160405280602581526020016115bc6025913960016000610afa610c7b565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61103416565b6000610578610b4b610c7b565b8484610e58565b600554610100900473ffffffffffffffffffffffffffffffffffffffff163314610b7b57600080fd5b600780547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b600554610100900473ffffffffffffffffffffffffffffffffffffffff163314610c0657600080fd5b600855565b600554610100900473ffffffffffffffffffffffffffffffffffffffff163314610c3457600080fd5b600780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b3390565b73ffffffffffffffffffffffffffffffffffffffff8316610ceb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061156e6024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610d57576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806114b86022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610e53908490611160565b505050565b73ffffffffffffffffffffffffffffffffffffffff8316610ec4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806115496025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610f30576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806114956023913960400191505060405180910390fd5b610f3b838383610e53565b610f8b816040518060600160405280602681526020016114da6026913973ffffffffffffffffffffffffffffffffffffffff8616600090815260208190526040902054919063ffffffff61103416565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152602081905260408082209390935590841681522054610fcd908263ffffffff6110e516565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156110dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156110a257818101518382015260200161108a565b50505050905090810190601f1680156110cf5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008282018381101561115957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60606111c2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166112389092919063ffffffff16565b805190915015610e53578080602001905160208110156111e157600080fd5b5051610e53576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180611592602a913960400191505060405180910390fd5b6060611247848460008561124f565b949350505050565b606061125a8561141b565b6112c557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061132f57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016112f2565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611391576040519150601f19603f3d011682016040523d82523d6000602084013e611396565b606091505b509150915081156113aa5791506112479050565b8051156113ba5780518082602001fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482018181528651602484015286518793919283926044019190850190808383600083156110a257818101518382015260200161108a565b3b151590565b6000826114305750600061057c565b8282028284828161143d57fe5b0414611159576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806115006021913960400191505060405180910390fdfe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212205e87cca2f824dc74b8cf5ba05d924db4477e1da1fecb86b3a69be2e9ea0dfffd64736f6c63430006060033
Deployed Bytecode Sourcemap
31269:1988:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;31269:1988:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;18654:83:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;18654:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20760:169;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;20760:169:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;32758:213;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;32758:213:0;;:::i;:::-;;32460:177;;;:::i;19729:100::-;;;:::i;:::-;;;;;;;;;;;;;;;;21403:321;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;21403:321:0;;;;;;;;;;;;;;;;;;:::i;19581:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22133:218;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;22133:218:0;;;;;;;;;:::i;32984:264::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;32984:264:0;;:::i;32229:122::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;32229:122:0;;;;:::i;32647:101::-;;;:::i;19892:119::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;19892:119:0;;;;:::i;18856:87::-;;;:::i;22854:269::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;22854:269:0;;;;;;;;;:::i;20224:175::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;20224:175:0;;;;;;;;;:::i;32358:92::-;;;:::i;20462:151::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;20462:151:0;;;;;;;;;;;:::i;32103:115::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;32103:115:0;;:::i;31978:114::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;31978:114:0;;;;:::i;18654:83::-;18724:5;18717:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18691:13;;18717:12;;18724:5;;18717:12;;18724:5;18717:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18654:83;:::o;20760:169::-;20843:4;20860:39;20869:12;:10;:12::i;:::-;20883:7;20892:6;20860:8;:39::i;:::-;-1:-1:-1;20917:4:0;20760:169;;;;;:::o;32758:213::-;31641:5;;;;;;;31627:10;:19;31619:28;;12:1:-1;9;2:12;31619:28:0;32877:5:::1;32860:13;;32845:12;:28;32844:38;32836:72;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;32938:17;::::0;32918:6:::1;::::0;:46:::1;::::0;32938:17:::1;32918:6:::0;;::::1;::::0;32938:17:::1;32957:6:::0;32918:46:::1;:19;:46;:::i;:::-;32758:213:::0;:::o;32460:177::-;31641:5;;;;;;;31627:10;:19;31619:28;;12:1:-1;9;2:12;31619:28:0;32525:19:::1;::::0;;;::::1;;;:27;;32548:4;32525:27;32517:71;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;32616:14;::::0;;32598:32;;::::1;32616:14:::0;;;;::::1;;;32615:15;32598:32:::0;;::::1;;::::0;;32460:177::o;19729:100::-;19809:12;;19729:100;:::o;21403:321::-;21509:4;21526:36;21536:6;21544:9;21555:6;21526:9;:36::i;:::-;21573:121;21582:6;21590:12;:10;:12::i;:::-;21604:89;21642:6;21604:89;;;;;;;;;;;;;;;;;:19;;;;;;;:11;:19;;;;;;21624:12;:10;:12::i;:::-;21604:33;;;;;;;;;;;;;-1:-1:-1;21604:33:0;;;:89;;:37;:89;:::i;:::-;21573:8;:121::i;:::-;-1:-1:-1;21712:4:0;21403:321;;;;;:::o;19581:83::-;19647:9;;;;19581:83;:::o;22133:218::-;22221:4;22238:83;22247:12;:10;:12::i;:::-;22261:7;22270:50;22309:10;22270:11;:25;22282:12;:10;:12::i;:::-;22270:25;;;;;;;;;;;;;;;;;;-1:-1:-1;22270:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;32984:264::-;33050:14;;;;;;;:22;;33068:4;33050:22;33042:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32229:122;31641:5;;;;;;;31627:10;:19;31619:28;;12:1:-1;9;2:12;31619:28:0;32309:17:::1;:35:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;32229:122::o;32647:101::-;32718:6;;32735:5;;32718:23;;;;;;:6;32735:5;;;32718:6;32735:5;;;32718:23;;;;;;32699:7;;32718:6;;;;;:16;;:23;;;;;;;;;;;;;;:6;:23;;;2:2:-1;;;;27:1;24;17:12;2:2;32718:23:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32718:23:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;32647:101:0;;;-1:-1:-1;32647:101:0:o;19892:119::-;19985:18;;19958:7;19985:18;;;;;;;;;;;;19892:119::o;18856:87::-;18928:7;18921:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18895:13;;18921:14;;18928:7;;18921:14;;18928:7;18921:14;;;;;;;;;;;;;;;;;;;;;;;;22854:269;22947:4;22964:129;22973:12;:10;:12::i;:::-;22987:7;22996:96;23035:15;22996:96;;;;;;;;;;;;;;;;;:11;:25;23008:12;:10;:12::i;:::-;22996:25;;;;;;;;;;;;;;;;;;-1:-1:-1;22996:25:0;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;20224:175::-;20310:4;20327:42;20337:12;:10;:12::i;:::-;20351:9;20362:6;20327:9;:42::i;32358:92::-;31641:5;;;;;;;31627:10;:19;31619:28;;12:1:-1;9;2:12;31619:28:0;32416:19:::1;:27:::0;;;::::1;::::0;;32358:92::o;20462:151::-;20578:18;;;;20551:7;20578:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;20462:151::o;32103:115::-;31641:5;;;;;;;31627:10;:19;31619:28;;12:1:-1;9;2:12;31619:28:0;32181:13:::1;:30:::0;32103:115::o;31978:114::-;31641:5;;;;;;;31627:10;:19;31619:28;;12:1:-1;9;2:12;31619:28:0;32055:6:::1;:30:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;31978:114::o;1883:106::-;1971:10;1883:106;:::o;25999:346::-;26101:19;;;26093:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26180:21;;;26172:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26253:18;;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;26305:32;;;;;;;;;;;;;;;;;25999:346;;;:::o;28125:177::-;28235:58;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;28235:58:0;;;;;;;;25:18:-1;;61:17;;28235:58:0;182:15:-1;28258:23:0;179:29:-1;160:49;;28208:86:0;;28228:5;;28208:19;:86::i;:::-;28125:177;;;:::o;23613:539::-;23719:20;;;23711:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23800:23;;;23792:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23876:47;23897:6;23905:9;23916:6;23876:20;:47::i;:::-;23956:71;23978:6;23956:71;;;;;;;;;;;;;;;;;:17;;;:9;:17;;;;;;;;;;;;:71;;:21;:71;:::i;:::-;23936:17;;;;:9;:17;;;;;;;;;;;:91;;;;24061:20;;;;;;;:32;;24086:6;24061:32;:24;:32;:::i;:::-;24038:20;;;;:9;:20;;;;;;;;;;;;:55;;;;24109:35;;;;;;;24038:20;;24109:35;;;;;;;;;;;;;23613:539;;;:::o;6864:192::-;6950:7;6986:12;6978:6;;;;6970:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;6970:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;7022:5:0;;;6864:192::o;5961:181::-;6019:7;6051:5;;;6075:6;;;;6067:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6133:1;5961:181;-1:-1:-1;;;5961:181:0:o;30430:761::-;30854:23;30880:69;30908:4;30880:69;;;;;;;;;;;;;;;;;30888:5;30880:27;;;;:69;;;;;:::i;:::-;30964:17;;30854:95;;-1:-1:-1;30964:21:0;30960:224;;31106:10;31095:30;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;31095:30:0;31087:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14103:196;14206:12;14238:53;14261:6;14269:4;14275:1;14278:12;14238:22;:53::i;:::-;14231:60;14103:196;-1:-1:-1;;;;14103:196:0:o;15480:979::-;15610:12;15643:18;15654:6;15643:10;:18::i;:::-;15635:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15769:12;15783:23;15810:6;:11;;15830:8;15841:4;15810:36;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;139:12;;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;15810:36:0;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;15768:78:0;;;;15861:7;15857:595;;;15892:10;-1:-1:-1;15885:17:0;;-1:-1:-1;15885:17:0;15857:595;16006:17;;:21;16002:439;;16269:10;16263:17;16330:15;16317:10;16313:2;16309:19;16302:44;16217:148;16405:20;;;;;;;;;;;;;;;;;;;;16412:12;;16405:20;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;11185:422:0;11552:20;11591:8;;;11185:422::o;7315:471::-;7373:7;7618:6;7614:47;;-1:-1:-1;7648:1:0;7641:8;;7614:47;7685:5;;;7689:1;7685;:5;:1;7709:5;;;;;:10;7701:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://5e87cca2f824dc74b8cf5ba05d924db4477e1da1fecb86b3a69be2e9ea0dfffd
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.