ERC-20
Overview
Max Total Supply
18,138,225.84120579122287234 rUMB2
Holders
380
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,209.214636360912661101 rUMB2Value
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
rUMB2
Compiler Version
v0.7.5+commit.eb77ed08
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity 0.7.5; import "./interfaces/rUMBV2.sol"; import "./interfaces/Blacklisted.sol"; import "./interfaces/OnDemandTokenBridgable.sol"; contract rUMB2 is Blacklisted, rUMBV2, OnDemandTokenBridgable { constructor ( address _owner, uint256 _maxAllowedTotalSupply, uint32 _swapStartsOn, uint32 _dailyCup, string memory _name, string memory _symbol, address _umb ) rUMBV2(_owner, _maxAllowedTotalSupply, _swapStartsOn, _dailyCup, _name, _symbol, _umb) {} function mint(address _holder, uint256 _amount) external override(MintableToken, OnDemandToken) onlyOwnerOrMinter() assertMaxSupply(_amount) { require(_amount != 0, "zero amount"); _mint(_holder, _amount); } function _beforeTokenTransfer(address from, address to, uint256 amount) internal override(Blacklisted, OnDemandTokenBridgable, ERC20) { Blacklisted._beforeTokenTransfer(from, to, amount); OnDemandTokenBridgable._beforeTokenTransfer(from, to, amount); } }
//SPDX-License-Identifier: MIT pragma solidity 0.7.5; // Inheritance import "./SwappableTokenV2.sol"; import "./MintableToken.sol"; /// @title Umbrella Rewards contract /// @author umb.network /// @notice This is reward UMB token (rUMB) /// @dev Rewards tokens are used for farming and other rewards distributions. abstract contract rUMBV2 is MintableToken, SwappableTokenV2 { // ========== STATE VARIABLES ========== // // ========== CONSTRUCTOR ========== // constructor ( address _owner, uint256 _maxAllowedTotalSupply, uint32 _swapStartsOn, uint32 _dailyCup, string memory _name, string memory _symbol, address _umb ) Owned(_owner) ERC20(_name, _symbol) MintableToken(_maxAllowedTotalSupply) SwappableTokenV2(_umb, _swapStartsOn, _dailyCup) {} }
//SPDX-License-Identifier: MIT pragma solidity 0.7.5; import "@openzeppelin/contracts/access/Ownable.sol"; abstract contract Blacklisted is Ownable { mapping (address => bool) public blacklist; event BlacklistedWallet(address wallet, bool status); function setupBlacklist(address[] calldata _addresses, bool[] calldata _statuses) external onlyOwner { uint256 n = _addresses.length; for (uint256 i; i < n; i++) { blacklist[_addresses[i]] = _statuses[i]; emit BlacklistedWallet(_addresses[i], _statuses[i]); } } function _beforeTokenTransfer(address _from, address _to, uint256) internal virtual { if (blacklist[_to] || blacklist[_from]) { revert("address blacklisted"); } } }
//SPDX-License-Identifier: MIT pragma solidity 0.7.5; import "./OnDemandToken.sol"; abstract contract OnDemandTokenBridgable is OnDemandToken { mapping (address => bool) public bridges; event SetupBridge(address bridge, bool active); function setupBridge(address _bridge, bool _active) external onlyOwner() { bridges[_bridge] = _active; emit SetupBridge(_bridge, _active); } function _beforeTokenTransfer(address _from, address _to, uint256 _amount) internal virtual override { if (_from != address(0) && _to != address(0) && bridges[msg.sender]) { uint256 balance = balanceOf(msg.sender); if (balance < _amount) { uint256 amountToMint = _amount - balance; _assertMaxSupply(amountToMint); _mint(msg.sender, amountToMint); } } } }
//SPDX-License-Identifier: MIT pragma solidity 0.7.5; // Inheritance import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "../interfaces/Owned.sol"; import "../interfaces/ISwapReceiver.sol"; /// @title Umbrella Rewards contract V2 /// @author umb.network /// @notice This contract serves Swap functionality for rewards tokens /// @dev It allows to swap itself for other token (main UMB token). abstract contract SwappableTokenV2 is Owned, ERC20 { struct SwapData { // number of tokens swapped so far (no decimals) uint32 swappedSoFar; // used limit since last swap (no decimals) uint32 usedLimit; // daily cup (no decimals) uint32 dailyCup; uint32 dailyCupTimestamp; uint32 swapEnabledAt; } uint256 public constant ONE = 1e18; uint256 public immutable swapStartsOn; ISwapReceiver public immutable umb; SwapData public swapData; event LogStartEarlySwapNow(uint time); event LogSwap(address indexed swappedTo, uint amount); event LogDailyCup(uint newCup); constructor(address _umb, uint32 _swapStartsOn, uint32 _dailyCup) { require(_dailyCup != 0, "invalid dailyCup"); require(_swapStartsOn > block.timestamp, "invalid swapStartsOn"); require(ERC20(_umb).decimals() == 18, "invalid UMB token"); swapStartsOn = _swapStartsOn; umb = ISwapReceiver(_umb); swapData.dailyCup = _dailyCup; } function swapForUMB() external { SwapData memory data = swapData; (uint256 limit, bool fullLimit) = _currentLimit(data); require(limit != 0, "swapping period not started OR limit"); uint256 amountToSwap = balanceOf(msg.sender); require(amountToSwap != 0, "you dont have tokens to swap"); uint32 amountWoDecimals = uint32(amountToSwap / ONE); require(amountWoDecimals <= limit, "daily CUP limit"); swapData.usedLimit = uint32(fullLimit ? amountWoDecimals : data.usedLimit + amountWoDecimals); swapData.swappedSoFar += amountWoDecimals; if (fullLimit) swapData.dailyCupTimestamp = uint32(block.timestamp); _burn(msg.sender, amountToSwap); umb.swapMint(msg.sender, amountToSwap); emit LogSwap(msg.sender, amountToSwap); } function startEarlySwap() external onlyOwner { require(block.timestamp < swapStartsOn, "swap is already allowed"); require(swapData.swapEnabledAt == 0, "swap was already enabled"); swapData.swapEnabledAt = uint32(block.timestamp); emit LogStartEarlySwapNow(block.timestamp); } /// @param _cup daily cup limit (no decimals), eg. if cup=5 means it is 5 * 10^18 tokens function setDailyCup(uint32 _cup) external onlyOwner { swapData.dailyCup = _cup; emit LogDailyCup(_cup); } function isSwapStarted() external view returns (bool) { // will it save gas if I do 2x if?? return block.timestamp >= swapStartsOn || swapData.swapEnabledAt != 0; } function canSwapTokens(address _address) external view returns (bool) { uint256 balance = balanceOf(_address); if (balance == 0) return false; (uint256 limit,) = _currentLimit(swapData); return balance / ONE <= limit; } function currentLimit() external view returns (uint256 limit) { (limit,) = _currentLimit(swapData); limit *= ONE; } function _currentLimit(SwapData memory data) internal view returns (uint256 limit, bool fullLimit) { if (block.timestamp < swapStartsOn && data.swapEnabledAt == 0) return (0, false); fullLimit = block.timestamp - data.dailyCupTimestamp >= 24 hours; limit = fullLimit ? data.dailyCup : data.dailyCup - data.usedLimit; } }
//SPDX-License-Identifier: MIT pragma solidity 0.7.5; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "../interfaces/Owned.sol"; import "../interfaces/IBurnableToken.sol"; /// @author umb.network abstract contract MintableToken is Owned, ERC20, IBurnableToken { uint256 public immutable maxAllowedTotalSupply; uint256 public everMinted; modifier assertMaxSupply(uint256 _amountToMint) { _assertMaxSupply(_amountToMint); _; } // ========== CONSTRUCTOR ========== // constructor (uint256 _maxAllowedTotalSupply) { require(_maxAllowedTotalSupply != 0, "_maxAllowedTotalSupply is empty"); maxAllowedTotalSupply = _maxAllowedTotalSupply; } // ========== MUTATIVE FUNCTIONS ========== // function burn(uint256 _amount) override external { _burn(msg.sender, _amount); } // ========== RESTRICTED FUNCTIONS ========== // function mint(address _holder, uint256 _amount) virtual external onlyOwner() assertMaxSupply(_amount) { require(_amount != 0, "zero amount"); _mint(_holder, _amount); } function _assertMaxSupply(uint256 _amountToMint) internal { uint256 everMintedTotal = everMinted + _amountToMint; everMinted = everMintedTotal; require(everMintedTotal <= maxAllowedTotalSupply, "total supply limit exceeded"); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../../utils/Context.sol"; import "./IERC20.sol"; import "../../math/SafeMath.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { 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 virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal virtual { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } }
//SPDX-License-Identifier: MIT pragma solidity 0.7.5; import "@openzeppelin/contracts/access/Ownable.sol"; abstract contract Owned is Ownable { constructor(address _owner) { transferOwnership(_owner); } }
//SPDX-License-Identifier: MIT pragma solidity 0.7.5; interface ISwapReceiver { function swapMint(address _holder, uint256 _amount) external; }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with 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; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity >=0.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, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { 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) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { 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, reverting 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) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * 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); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
//SPDX-License-Identifier: MIT pragma solidity 0.7.5; interface IBurnableToken { function burn(uint256 _amount) external; }
//SPDX-License-Identifier: MIT pragma solidity 0.7.5; import "./MintableToken.sol"; abstract contract OnDemandToken is MintableToken { bool constant public ON_DEMAND_TOKEN = true; mapping (address => bool) public minters; event SetupMinter(address minter, bool active); modifier onlyOwnerOrMinter() { address msgSender = _msgSender(); require(owner() == msgSender || minters[msgSender], "access denied"); _; } function setupMinter(address _minter, bool _active) external onlyOwner() { minters[_minter] = _active; emit SetupMinter(_minter, _active); } function setupMinters(address[] calldata _minters, bool[] calldata _actives) external onlyOwner() { for (uint256 i; i < _minters.length; i++) { minters[_minters[i]] = _actives[i]; emit SetupMinter(_minters[i], _actives[i]); } } function mint(address _holder, uint256 _amount) external virtual override onlyOwnerOrMinter() assertMaxSupply(_amount) { require(_amount != 0, "zero amount"); _mint(_holder, _amount); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_maxAllowedTotalSupply","type":"uint256"},{"internalType":"uint32","name":"_swapStartsOn","type":"uint32"},{"internalType":"uint32","name":"_dailyCup","type":"uint32"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_umb","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"wallet","type":"address"},{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"BlacklistedWallet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newCup","type":"uint256"}],"name":"LogDailyCup","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"LogStartEarlySwapNow","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"swappedTo","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LogSwap","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":"bridge","type":"address"},{"indexed":false,"internalType":"bool","name":"active","type":"bool"}],"name":"SetupBridge","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"bool","name":"active","type":"bool"}],"name":"SetupMinter","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":[],"name":"ONE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ON_DEMAND_TOKEN","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"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":"","type":"address"}],"name":"blacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"bridges","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"canSwapTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentLimit","outputs":[{"internalType":"uint256","name":"limit","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":"everMinted","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":"isSwapStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAllowedTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_holder","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_cup","type":"uint32"}],"name":"setDailyCup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"bool[]","name":"_statuses","type":"bool[]"}],"name":"setupBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_bridge","type":"address"},{"internalType":"bool","name":"_active","type":"bool"}],"name":"setupBridge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"},{"internalType":"bool","name":"_active","type":"bool"}],"name":"setupMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_minters","type":"address[]"},{"internalType":"bool[]","name":"_actives","type":"bool[]"}],"name":"setupMinters","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startEarlySwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapData","outputs":[{"internalType":"uint32","name":"swappedSoFar","type":"uint32"},{"internalType":"uint32","name":"usedLimit","type":"uint32"},{"internalType":"uint32","name":"dailyCup","type":"uint32"},{"internalType":"uint32","name":"dailyCupTimestamp","type":"uint32"},{"internalType":"uint32","name":"swapEnabledAt","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapForUMB","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapStartsOn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"umb","outputs":[{"internalType":"contract ISwapReceiver","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60e06040523480156200001157600080fd5b506040516200411538038062004115833981810160405260e08110156200003757600080fd5b8101908080519060200190929190805190602001909291908051906020019092919080519060200190929190805160405193929190846401000000008211156200008057600080fd5b838201915060208201858111156200009757600080fd5b8251866001820283011164010000000082111715620000b557600080fd5b8083526020830192505050908051906020019080838360005b83811015620000eb578082015181840152602081019050620000ce565b50505050905090810190601f168015620001195780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200013d57600080fd5b838201915060208201858111156200015457600080fd5b82518660018202830111640100000000821117156200017257600080fd5b8083526020830192505050908051906020019080838360005b83811015620001a85780820151818401526020810190506200018b565b50505050905090810190601f168015620001d65780820380516001836020036101000a031916815260200191505b5060405260200180519060200190929190505050868686868686868085858886868c60006200020a6200060260201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350620002b9816200060a60201b60201c565b508160059080519060200190620002d292919062000838565b508060069080519060200190620002eb92919062000838565b506012600760006101000a81548160ff021916908360ff1602179055505050600081141562000382576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5f6d6178416c6c6f776564546f74616c537570706c7920697320656d7074790081525060200191505060405180910390fd5b80608081815250505060008163ffffffff16141562000409576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f696e76616c6964206461696c794375700000000000000000000000000000000081525060200191505060405180910390fd5b428263ffffffff161162000485576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f696e76616c696420737761705374617274734f6e00000000000000000000000081525060200191505060405180910390fd5b60128373ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015620004ce57600080fd5b505afa158015620004e3573d6000803e3d6000fd5b505050506040513d6020811015620004fa57600080fd5b810190808051906020019092919050505060ff161462000582576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f696e76616c696420554d4220746f6b656e00000000000000000000000000000081525060200191505060405180910390fd5b8163ffffffff1660a081815250508273ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1660601b8152505080600960000160086101000a81548163ffffffff021916908363ffffffff1602179055505050505050505050505050505050505050620008ee565b600033905090565b6200061a6200060260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620006406200080f60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620006ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000752576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180620040ef6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620008705760008555620008bc565b82601f106200088b57805160ff1916838001178555620008bc565b82800160010185558215620008bc579182015b82811115620008bb5782518255916020019190600101906200089e565b5b509050620008cb9190620008cf565b5090565b5b80821115620008ea576000816000905550600101620008d0565b5090565b60805160a05160c05160601c6137b862000937600039806114325280611f895250806116bb5280611b8152806122b2528061326e525080610ebe5280612e4252506137b86000f3fe608060405234801561001057600080fd5b506004361061021c5760003560e01c80638da5cb5b11610125578063d4092dea116100ad578063ec3c8a551161007c578063ec3c8a5514610b12578063f26184ba14610b6a578063f2fde38b14610b9e578063f46eccc414610be2578063f9f92be414610c3c5761021c565b8063d4092dea1461098e578063dc1bc51d14610a5c578063dd62ed3e14610a7c578063eabd0ce114610af45761021c565b8063a457c2d7116100f4578063a457c2d714610844578063a9059cbb146108a8578063b0eb5c2f1461090c578063c2ee3a0814610916578063ced67f0c146109345761021c565b80638da5cb5b1461071f5780639583dead1461075357806395d89b41146107a357806395f9df85146108265761021c565b80633e5a240c116101a85780634de5931e116101775780634de5931e1461062557806370a0823114610659578063715018a6146106b157806376ff50e3146106bb5780638318c444146106c55761021c565b80633e5a240c146104bd57806340c10f191461058b57806342966c68146105d957806347aebe83146106075761021c565b806313e4172c116101ef57806313e4172c1461037857806318160ddd1461039657806323b872dd146103b4578063313ce5671461043857806339509351146104595761021c565b80630579697e1461022157806306fdde0314610241578063090f78dc146102c4578063095ea7b314610314575b600080fd5b610229610c96565b60405180821515815260200191505060405180910390f35b610249610c9b565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561028957808201518184015260208101905061026e565b50505050905090810190601f1680156102b65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610312600480360360408110156102da57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050610d3d565b005b6103606004803603604081101561032a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610e9e565b60405180821515815260200191505060405180910390f35b610380610ebc565b6040518082815260200191505060405180910390f35b61039e610ee0565b6040518082815260200191505060405180910390f35b610420600480360360608110156103ca57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610eea565b60405180821515815260200191505060405180910390f35b610440610fc3565b604051808260ff16815260200191505060405180910390f35b6104a56004803603604081101561046f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610fda565b60405180821515815260200191505060405180910390f35b610589600480360360408110156104d357600080fd5b81019080803590602001906401000000008111156104f057600080fd5b82018360208201111561050257600080fd5b8035906020019184602083028401116401000000008311171561052457600080fd5b90919293919293908035906020019064010000000081111561054557600080fd5b82018360208201111561055757600080fd5b8035906020019184602083028401116401000000008311171561057957600080fd5b909192939192939050505061108d565b005b6105d7600480360360408110156105a157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611284565b005b610605600480360360208110156105ef57600080fd5b810190808035906020019092919050505061141d565b005b61060f61142a565b6040518082815260200191505060405180910390f35b61062d611430565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61069b6004803603602081101561066f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611454565b6040518082815260200191505060405180910390f35b6106b961149d565b005b6106c361160a565b005b610707600480360360208110156106db57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061183b565b60405180821515815260200191505060405180910390f35b610727611953565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107a16004803603604081101561076957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080351515906020019092919050505061197c565b005b6107ab611add565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156107eb5780820151818401526020810190506107d0565b50505050905090810190601f1680156108185780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61082e611b7f565b6040518082815260200191505060405180910390f35b6108906004803603604081101561085a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611ba3565b60405180821515815260200191505060405180910390f35b6108f4600480360360408110156108be57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611c70565b60405180821515815260200191505060405180910390f35b610914611c8e565b005b61091e612085565b6040518082815260200191505060405180910390f35b6109766004803603602081101561094a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612091565b60405180821515815260200191505060405180910390f35b610a5a600480360360408110156109a457600080fd5b81019080803590602001906401000000008111156109c157600080fd5b8201836020820111156109d357600080fd5b803590602001918460208302840111640100000000831117156109f557600080fd5b909192939192939080359060200190640100000000811115610a1657600080fd5b820183602082011115610a2857600080fd5b80359060200191846020830284011164010000000083111715610a4a57600080fd5b90919293919293905050506120b1565b005b610a646122ae565b60405180821515815260200191505060405180910390f35b610ade60048036036040811015610a9257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612300565b6040518082815260200191505060405180910390f35b610afc612387565b6040518082815260200191505060405180910390f35b610b1a612471565b604051808663ffffffff1681526020018563ffffffff1681526020018463ffffffff1681526020018363ffffffff1681526020018263ffffffff1681526020019550505050505060405180910390f35b610b9c60048036036020811015610b8057600080fd5b81019080803563ffffffff1690602001909291905050506124e5565b005b610be060048036036020811015610bb457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506125f8565b005b610c2460048036036020811015610bf857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506127ea565b60405180821515815260200191505060405180910390f35b610c7e60048036036020811015610c5257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061280a565b60405180821515815260200191505060405180910390f35b600181565b606060058054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d335780601f10610d0857610100808354040283529160200191610d33565b820191906000526020600020905b815481529060010190602001808311610d1657829003601f168201915b5050505050905090565b610d4561282a565b73ffffffffffffffffffffffffffffffffffffffff16610d63611953565b73ffffffffffffffffffffffffffffffffffffffff1614610dec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fd668acdd67f71a94ecdf08e34b51c5a8e5adda5a57d8388c58ea93e7c015046e8282604051808373ffffffffffffffffffffffffffffffffffffffff16815260200182151581526020019250505060405180910390a15050565b6000610eb2610eab61282a565b8484612832565b6001905092915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600454905090565b6000610ef7848484612a29565b610fb884610f0361282a565b610fb3856040518060600160405280602881526020016136cc60289139600360008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610f6961282a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612cee9092919063ffffffff16565b612832565b600190509392505050565b6000600760009054906101000a900460ff16905090565b6000611083610fe761282a565b8461107e8560036000610ff861282a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612da890919063ffffffff16565b612832565b6001905092915050565b61109561282a565b73ffffffffffffffffffffffffffffffffffffffff166110b3611953565b73ffffffffffffffffffffffffffffffffffffffff161461113c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60005b8484905081101561127d5782828281811061115657fe5b905060200201351515600a600087878581811061116f57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fd668acdd67f71a94ecdf08e34b51c5a8e5adda5a57d8388c58ea93e7c015046e85858381811061120a57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1684848481811061123357fe5b905060200201351515604051808373ffffffffffffffffffffffffffffffffffffffff16815260200182151581526020019250505060405180910390a1808060010191505061113f565b5050505050565b600061128e61282a565b90508073ffffffffffffffffffffffffffffffffffffffff166112af611953565b73ffffffffffffffffffffffffffffffffffffffff16148061131a5750600a60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b61138c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f6163636573732064656e6965640000000000000000000000000000000000000081525060200191505060405180910390fd5b8161139681612e30565b600083141561140d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f7a65726f20616d6f756e7400000000000000000000000000000000000000000081525060200191505060405180910390fd5b6114178484612eda565b50505050565b61142733826130a3565b50565b60085481565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114a561282a565b73ffffffffffffffffffffffffffffffffffffffff166114c3611953565b73ffffffffffffffffffffffffffffffffffffffff161461154c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b61161261282a565b73ffffffffffffffffffffffffffffffffffffffff16611630611953565b73ffffffffffffffffffffffffffffffffffffffff16146116b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000421061174e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f7377617020697320616c726561647920616c6c6f77656400000000000000000081525060200191505060405180910390fd5b6000600960000160109054906101000a900463ffffffff1663ffffffff16146117df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f737761702077617320616c726561647920656e61626c6564000000000000000081525060200191505060405180910390fd5b42600960000160106101000a81548163ffffffff021916908363ffffffff1602179055507e2972a20a7d1a7f8292d051e14168b0b7dddcb0e1e493e45dd8fd3791a2a815426040518082815260200191505060405180910390a1565b60008061184783611454565b9050600081141561185c57600091505061194e565b600061193160096040518060a00160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160089054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200160008201600c9054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160109054906101000a900463ffffffff1663ffffffff1663ffffffff1681525050613269565b50905080670de0b6b3a7640000838161194657fe5b041115925050505b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61198461282a565b73ffffffffffffffffffffffffffffffffffffffff166119a2611953565b73ffffffffffffffffffffffffffffffffffffffff1614611a2b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f3739ae48541368a8019e903b7fd61ef36e4b465ebf7282b13d0d15c0022902848282604051808373ffffffffffffffffffffffffffffffffffffffff16815260200182151581526020019250505060405180910390a15050565b606060068054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611b755780601f10611b4a57610100808354040283529160200191611b75565b820191906000526020600020905b815481529060010190602001808311611b5857829003601f168201915b5050505050905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000611c66611bb061282a565b84611c618560405180606001604052806025815260200161375e6025913960036000611bda61282a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612cee9092919063ffffffff16565b612832565b6001905092915050565b6000611c84611c7d61282a565b8484612a29565b6001905092915050565b611c966135a7565b60096040518060a00160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160089054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200160008201600c9054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160109054906101000a900463ffffffff1663ffffffff1663ffffffff16815250509050600080611d6f83613269565b915091506000821415611dcd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061363a6024913960400191505060405180910390fd5b6000611dd833611454565b90506000811415611e51576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f796f7520646f6e74206861766520746f6b656e7320746f20737761700000000081525060200191505060405180910390fd5b6000670de0b6b3a76400008281611e6457fe5b049050838163ffffffff161115611ee3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f6461696c7920435550206c696d6974000000000000000000000000000000000081525060200191505060405180910390fd5b82611ef45780856020015101611ef6565b805b600960000160046101000a81548163ffffffff021916908363ffffffff16021790555080600960000160008282829054906101000a900463ffffffff160192506101000a81548163ffffffff021916908363ffffffff1602179055508215611f7d57426009600001600c6101000a81548163ffffffff021916908363ffffffff1602179055505b611f8733836130a3565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a4d7096233846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561201857600080fd5b505af115801561202c573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff167f4fbc02dad9bd3098e9e4f226d6b4d628c079355f397ac31e1795da06b5e375ca836040518082815260200191505060405180910390a25050505050565b670de0b6b3a764000081565b600b6020528060005260406000206000915054906101000a900460ff1681565b6120b961282a565b73ffffffffffffffffffffffffffffffffffffffff166120d7611953565b73ffffffffffffffffffffffffffffffffffffffff1614612160576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600084849050905060005b818110156122a65783838281811061217f57fe5b9050602002013515156001600088888581811061219857fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f9fed91ce8e4de903af9bb3cbadbf6804c6dd39cc680f602a88b563a89b78db0686868381811061223357fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1685858481811061225c57fe5b905060200201351515604051808373ffffffffffffffffffffffffffffffffffffffff16815260200182151581526020019250505060405180910390a1808060010191505061216b565b505050505050565b60007f0000000000000000000000000000000000000000000000000000000000000000421015806122fb57506000600960000160109054906101000a900463ffffffff1663ffffffff1614155b905090565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600061245c60096040518060a00160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160089054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200160008201600c9054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160109054906101000a900463ffffffff1663ffffffff1663ffffffff1681525050613269565b5080915050670de0b6b3a76400008102905090565b60098060000160009054906101000a900463ffffffff16908060000160049054906101000a900463ffffffff16908060000160089054906101000a900463ffffffff169080600001600c9054906101000a900463ffffffff16908060000160109054906101000a900463ffffffff16905085565b6124ed61282a565b73ffffffffffffffffffffffffffffffffffffffff1661250b611953565b73ffffffffffffffffffffffffffffffffffffffff1614612594576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600960000160086101000a81548163ffffffff021916908363ffffffff1602179055507ffc1f653df0b8e8100bd9426dfe5a280bf05ec3eda857c19d96b63bc3262dcb8581604051808263ffffffff16815260200191505060405180910390a150565b61260061282a565b73ffffffffffffffffffffffffffffffffffffffff1661261e611953565b73ffffffffffffffffffffffffffffffffffffffff16146126a7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561272d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061365e6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a6020528060005260406000206000915054906101000a900460ff1681565b60016020528060005260406000206000915054906101000a900460ff1681565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128b8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061373a6024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561293e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806136846022913960400191505060405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612aaf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806137156025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b35576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806135f56023913960400191505060405180910390fd5b612b408383836132f4565b612bac816040518060600160405280602681526020016136a660269139600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612cee9092919063ffffffff16565b600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612c4181600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612da890919063ffffffff16565b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b6000838311158290612d9b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612d60578082015181840152602081019050612d45565b50505050905090810190601f168015612d8d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5082840390509392505050565b600080828401905083811015612e26576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600081600854019050806008819055507f0000000000000000000000000000000000000000000000000000000000000000811115612ed6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f746f74616c20737570706c79206c696d6974206578636565646564000000000081525060200191505060405180910390fd5b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f7d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b612f89600083836132f4565b612f9e81600454612da890919063ffffffff16565b600481905550612ff681600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612da890919063ffffffff16565b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613129576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806136f46021913960400191505060405180910390fd5b613135826000836132f4565b6131a18160405180606001604052806022815260200161361860229139600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612cee9092919063ffffffff16565b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506131f98160045461330f90919063ffffffff16565b600481905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b6000807f0000000000000000000000000000000000000000000000000000000000000000421080156132a557506000836080015163ffffffff16145b156132b657600080915091506132ef565b62015180836060015163ffffffff16420310159050806132e05782602001518360400151036132e6565b82604001515b63ffffffff1691505b915091565b6132ff838383613392565b61330a8383836134ab565b505050565b600082821115613387576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806134335750600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b156134a6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f6164647265737320626c61636b6c69737465640000000000000000000000000081525060200191505060405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156135155750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561356a5750600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b156135a257600061357a33611454565b9050818110156135a0576000818303905061359481612e30565b61359e3382612eda565b505b505b505050565b6040518060a00160405280600063ffffffff168152602001600063ffffffff168152602001600063ffffffff168152602001600063ffffffff168152602001600063ffffffff168152509056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63657377617070696e6720706572696f64206e6f742073746172746564204f52206c696d69744f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d991e99e757cbe8f9fa0467d96a03385db4ca0f7c570867bee3962c1cfe19f5764736f6c634300070500334f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373000000000000000000000000a6e4ffa19b213abea258ae72e8e1a209b9e543e7000000000000000000000000000000000000000000a56fa5b99019a5c800000000000000000000000000000000000000000000000000000000000000641092f80000000000000000000000000000000000000000000000000000000000039dc800000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000006fc13eace26590b80cccab1ba5d51890577d83b20000000000000000000000000000000000000000000000000000000000000012556d6272656c6c61205265776172642023320000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000572554d4232000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061021c5760003560e01c80638da5cb5b11610125578063d4092dea116100ad578063ec3c8a551161007c578063ec3c8a5514610b12578063f26184ba14610b6a578063f2fde38b14610b9e578063f46eccc414610be2578063f9f92be414610c3c5761021c565b8063d4092dea1461098e578063dc1bc51d14610a5c578063dd62ed3e14610a7c578063eabd0ce114610af45761021c565b8063a457c2d7116100f4578063a457c2d714610844578063a9059cbb146108a8578063b0eb5c2f1461090c578063c2ee3a0814610916578063ced67f0c146109345761021c565b80638da5cb5b1461071f5780639583dead1461075357806395d89b41146107a357806395f9df85146108265761021c565b80633e5a240c116101a85780634de5931e116101775780634de5931e1461062557806370a0823114610659578063715018a6146106b157806376ff50e3146106bb5780638318c444146106c55761021c565b80633e5a240c146104bd57806340c10f191461058b57806342966c68146105d957806347aebe83146106075761021c565b806313e4172c116101ef57806313e4172c1461037857806318160ddd1461039657806323b872dd146103b4578063313ce5671461043857806339509351146104595761021c565b80630579697e1461022157806306fdde0314610241578063090f78dc146102c4578063095ea7b314610314575b600080fd5b610229610c96565b60405180821515815260200191505060405180910390f35b610249610c9b565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561028957808201518184015260208101905061026e565b50505050905090810190601f1680156102b65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610312600480360360408110156102da57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050610d3d565b005b6103606004803603604081101561032a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610e9e565b60405180821515815260200191505060405180910390f35b610380610ebc565b6040518082815260200191505060405180910390f35b61039e610ee0565b6040518082815260200191505060405180910390f35b610420600480360360608110156103ca57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610eea565b60405180821515815260200191505060405180910390f35b610440610fc3565b604051808260ff16815260200191505060405180910390f35b6104a56004803603604081101561046f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610fda565b60405180821515815260200191505060405180910390f35b610589600480360360408110156104d357600080fd5b81019080803590602001906401000000008111156104f057600080fd5b82018360208201111561050257600080fd5b8035906020019184602083028401116401000000008311171561052457600080fd5b90919293919293908035906020019064010000000081111561054557600080fd5b82018360208201111561055757600080fd5b8035906020019184602083028401116401000000008311171561057957600080fd5b909192939192939050505061108d565b005b6105d7600480360360408110156105a157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611284565b005b610605600480360360208110156105ef57600080fd5b810190808035906020019092919050505061141d565b005b61060f61142a565b6040518082815260200191505060405180910390f35b61062d611430565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61069b6004803603602081101561066f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611454565b6040518082815260200191505060405180910390f35b6106b961149d565b005b6106c361160a565b005b610707600480360360208110156106db57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061183b565b60405180821515815260200191505060405180910390f35b610727611953565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107a16004803603604081101561076957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080351515906020019092919050505061197c565b005b6107ab611add565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156107eb5780820151818401526020810190506107d0565b50505050905090810190601f1680156108185780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61082e611b7f565b6040518082815260200191505060405180910390f35b6108906004803603604081101561085a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611ba3565b60405180821515815260200191505060405180910390f35b6108f4600480360360408110156108be57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611c70565b60405180821515815260200191505060405180910390f35b610914611c8e565b005b61091e612085565b6040518082815260200191505060405180910390f35b6109766004803603602081101561094a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612091565b60405180821515815260200191505060405180910390f35b610a5a600480360360408110156109a457600080fd5b81019080803590602001906401000000008111156109c157600080fd5b8201836020820111156109d357600080fd5b803590602001918460208302840111640100000000831117156109f557600080fd5b909192939192939080359060200190640100000000811115610a1657600080fd5b820183602082011115610a2857600080fd5b80359060200191846020830284011164010000000083111715610a4a57600080fd5b90919293919293905050506120b1565b005b610a646122ae565b60405180821515815260200191505060405180910390f35b610ade60048036036040811015610a9257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612300565b6040518082815260200191505060405180910390f35b610afc612387565b6040518082815260200191505060405180910390f35b610b1a612471565b604051808663ffffffff1681526020018563ffffffff1681526020018463ffffffff1681526020018363ffffffff1681526020018263ffffffff1681526020019550505050505060405180910390f35b610b9c60048036036020811015610b8057600080fd5b81019080803563ffffffff1690602001909291905050506124e5565b005b610be060048036036020811015610bb457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506125f8565b005b610c2460048036036020811015610bf857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506127ea565b60405180821515815260200191505060405180910390f35b610c7e60048036036020811015610c5257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061280a565b60405180821515815260200191505060405180910390f35b600181565b606060058054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d335780601f10610d0857610100808354040283529160200191610d33565b820191906000526020600020905b815481529060010190602001808311610d1657829003601f168201915b5050505050905090565b610d4561282a565b73ffffffffffffffffffffffffffffffffffffffff16610d63611953565b73ffffffffffffffffffffffffffffffffffffffff1614610dec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fd668acdd67f71a94ecdf08e34b51c5a8e5adda5a57d8388c58ea93e7c015046e8282604051808373ffffffffffffffffffffffffffffffffffffffff16815260200182151581526020019250505060405180910390a15050565b6000610eb2610eab61282a565b8484612832565b6001905092915050565b7f000000000000000000000000000000000000000000a56fa5b99019a5c800000081565b6000600454905090565b6000610ef7848484612a29565b610fb884610f0361282a565b610fb3856040518060600160405280602881526020016136cc60289139600360008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610f6961282a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612cee9092919063ffffffff16565b612832565b600190509392505050565b6000600760009054906101000a900460ff16905090565b6000611083610fe761282a565b8461107e8560036000610ff861282a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612da890919063ffffffff16565b612832565b6001905092915050565b61109561282a565b73ffffffffffffffffffffffffffffffffffffffff166110b3611953565b73ffffffffffffffffffffffffffffffffffffffff161461113c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60005b8484905081101561127d5782828281811061115657fe5b905060200201351515600a600087878581811061116f57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fd668acdd67f71a94ecdf08e34b51c5a8e5adda5a57d8388c58ea93e7c015046e85858381811061120a57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1684848481811061123357fe5b905060200201351515604051808373ffffffffffffffffffffffffffffffffffffffff16815260200182151581526020019250505060405180910390a1808060010191505061113f565b5050505050565b600061128e61282a565b90508073ffffffffffffffffffffffffffffffffffffffff166112af611953565b73ffffffffffffffffffffffffffffffffffffffff16148061131a5750600a60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b61138c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f6163636573732064656e6965640000000000000000000000000000000000000081525060200191505060405180910390fd5b8161139681612e30565b600083141561140d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f7a65726f20616d6f756e7400000000000000000000000000000000000000000081525060200191505060405180910390fd5b6114178484612eda565b50505050565b61142733826130a3565b50565b60085481565b7f0000000000000000000000006fc13eace26590b80cccab1ba5d51890577d83b281565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114a561282a565b73ffffffffffffffffffffffffffffffffffffffff166114c3611953565b73ffffffffffffffffffffffffffffffffffffffff161461154c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b61161261282a565b73ffffffffffffffffffffffffffffffffffffffff16611630611953565b73ffffffffffffffffffffffffffffffffffffffff16146116b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b7f00000000000000000000000000000000000000000000000000000000641092f8421061174e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f7377617020697320616c726561647920616c6c6f77656400000000000000000081525060200191505060405180910390fd5b6000600960000160109054906101000a900463ffffffff1663ffffffff16146117df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f737761702077617320616c726561647920656e61626c6564000000000000000081525060200191505060405180910390fd5b42600960000160106101000a81548163ffffffff021916908363ffffffff1602179055507e2972a20a7d1a7f8292d051e14168b0b7dddcb0e1e493e45dd8fd3791a2a815426040518082815260200191505060405180910390a1565b60008061184783611454565b9050600081141561185c57600091505061194e565b600061193160096040518060a00160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160089054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200160008201600c9054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160109054906101000a900463ffffffff1663ffffffff1663ffffffff1681525050613269565b50905080670de0b6b3a7640000838161194657fe5b041115925050505b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61198461282a565b73ffffffffffffffffffffffffffffffffffffffff166119a2611953565b73ffffffffffffffffffffffffffffffffffffffff1614611a2b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f3739ae48541368a8019e903b7fd61ef36e4b465ebf7282b13d0d15c0022902848282604051808373ffffffffffffffffffffffffffffffffffffffff16815260200182151581526020019250505060405180910390a15050565b606060068054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611b755780601f10611b4a57610100808354040283529160200191611b75565b820191906000526020600020905b815481529060010190602001808311611b5857829003601f168201915b5050505050905090565b7f00000000000000000000000000000000000000000000000000000000641092f881565b6000611c66611bb061282a565b84611c618560405180606001604052806025815260200161375e6025913960036000611bda61282a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612cee9092919063ffffffff16565b612832565b6001905092915050565b6000611c84611c7d61282a565b8484612a29565b6001905092915050565b611c966135a7565b60096040518060a00160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160089054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200160008201600c9054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160109054906101000a900463ffffffff1663ffffffff1663ffffffff16815250509050600080611d6f83613269565b915091506000821415611dcd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061363a6024913960400191505060405180910390fd5b6000611dd833611454565b90506000811415611e51576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f796f7520646f6e74206861766520746f6b656e7320746f20737761700000000081525060200191505060405180910390fd5b6000670de0b6b3a76400008281611e6457fe5b049050838163ffffffff161115611ee3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f6461696c7920435550206c696d6974000000000000000000000000000000000081525060200191505060405180910390fd5b82611ef45780856020015101611ef6565b805b600960000160046101000a81548163ffffffff021916908363ffffffff16021790555080600960000160008282829054906101000a900463ffffffff160192506101000a81548163ffffffff021916908363ffffffff1602179055508215611f7d57426009600001600c6101000a81548163ffffffff021916908363ffffffff1602179055505b611f8733836130a3565b7f0000000000000000000000006fc13eace26590b80cccab1ba5d51890577d83b273ffffffffffffffffffffffffffffffffffffffff1663a4d7096233846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561201857600080fd5b505af115801561202c573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff167f4fbc02dad9bd3098e9e4f226d6b4d628c079355f397ac31e1795da06b5e375ca836040518082815260200191505060405180910390a25050505050565b670de0b6b3a764000081565b600b6020528060005260406000206000915054906101000a900460ff1681565b6120b961282a565b73ffffffffffffffffffffffffffffffffffffffff166120d7611953565b73ffffffffffffffffffffffffffffffffffffffff1614612160576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600084849050905060005b818110156122a65783838281811061217f57fe5b9050602002013515156001600088888581811061219857fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f9fed91ce8e4de903af9bb3cbadbf6804c6dd39cc680f602a88b563a89b78db0686868381811061223357fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1685858481811061225c57fe5b905060200201351515604051808373ffffffffffffffffffffffffffffffffffffffff16815260200182151581526020019250505060405180910390a1808060010191505061216b565b505050505050565b60007f00000000000000000000000000000000000000000000000000000000641092f8421015806122fb57506000600960000160109054906101000a900463ffffffff1663ffffffff1614155b905090565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600061245c60096040518060a00160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160089054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200160008201600c9054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160109054906101000a900463ffffffff1663ffffffff1663ffffffff1681525050613269565b5080915050670de0b6b3a76400008102905090565b60098060000160009054906101000a900463ffffffff16908060000160049054906101000a900463ffffffff16908060000160089054906101000a900463ffffffff169080600001600c9054906101000a900463ffffffff16908060000160109054906101000a900463ffffffff16905085565b6124ed61282a565b73ffffffffffffffffffffffffffffffffffffffff1661250b611953565b73ffffffffffffffffffffffffffffffffffffffff1614612594576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600960000160086101000a81548163ffffffff021916908363ffffffff1602179055507ffc1f653df0b8e8100bd9426dfe5a280bf05ec3eda857c19d96b63bc3262dcb8581604051808263ffffffff16815260200191505060405180910390a150565b61260061282a565b73ffffffffffffffffffffffffffffffffffffffff1661261e611953565b73ffffffffffffffffffffffffffffffffffffffff16146126a7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561272d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061365e6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a6020528060005260406000206000915054906101000a900460ff1681565b60016020528060005260406000206000915054906101000a900460ff1681565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128b8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061373a6024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561293e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806136846022913960400191505060405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612aaf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806137156025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b35576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806135f56023913960400191505060405180910390fd5b612b408383836132f4565b612bac816040518060600160405280602681526020016136a660269139600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612cee9092919063ffffffff16565b600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612c4181600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612da890919063ffffffff16565b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b6000838311158290612d9b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612d60578082015181840152602081019050612d45565b50505050905090810190601f168015612d8d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5082840390509392505050565b600080828401905083811015612e26576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600081600854019050806008819055507f000000000000000000000000000000000000000000a56fa5b99019a5c8000000811115612ed6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f746f74616c20737570706c79206c696d6974206578636565646564000000000081525060200191505060405180910390fd5b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f7d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b612f89600083836132f4565b612f9e81600454612da890919063ffffffff16565b600481905550612ff681600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612da890919063ffffffff16565b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613129576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806136f46021913960400191505060405180910390fd5b613135826000836132f4565b6131a18160405180606001604052806022815260200161361860229139600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612cee9092919063ffffffff16565b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506131f98160045461330f90919063ffffffff16565b600481905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b6000807f00000000000000000000000000000000000000000000000000000000641092f8421080156132a557506000836080015163ffffffff16145b156132b657600080915091506132ef565b62015180836060015163ffffffff16420310159050806132e05782602001518360400151036132e6565b82604001515b63ffffffff1691505b915091565b6132ff838383613392565b61330a8383836134ab565b505050565b600082821115613387576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806134335750600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b156134a6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f6164647265737320626c61636b6c69737465640000000000000000000000000081525060200191505060405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156135155750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561356a5750600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b156135a257600061357a33611454565b9050818110156135a0576000818303905061359481612e30565b61359e3382612eda565b505b505b505050565b6040518060a00160405280600063ffffffff168152602001600063ffffffff168152602001600063ffffffff168152602001600063ffffffff168152602001600063ffffffff168152509056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63657377617070696e6720706572696f64206e6f742073746172746564204f52206c696d69744f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d991e99e757cbe8f9fa0467d96a03385db4ca0f7c570867bee3962c1cfe19f5764736f6c63430007050033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a6e4ffa19b213abea258ae72e8e1a209b9e543e7000000000000000000000000000000000000000000a56fa5b99019a5c800000000000000000000000000000000000000000000000000000000000000641092f80000000000000000000000000000000000000000000000000000000000039dc800000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000006fc13eace26590b80cccab1ba5d51890577d83b20000000000000000000000000000000000000000000000000000000000000012556d6272656c6c61205265776172642023320000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000572554d4232000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _owner (address): 0xA6e4fFa19B213AbeA258ae72e8e1a209B9E543e7
Arg [1] : _maxAllowedTotalSupply (uint256): 200000000000000000000000000
Arg [2] : _swapStartsOn (uint32): 1678807800
Arg [3] : _dailyCup (uint32): 237000
Arg [4] : _name (string): Umbrella Reward #2
Arg [5] : _symbol (string): rUMB2
Arg [6] : _umb (address): 0x6fC13EACE26590B80cCCAB1ba5d51890577D83B2
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 000000000000000000000000a6e4ffa19b213abea258ae72e8e1a209b9e543e7
Arg [1] : 000000000000000000000000000000000000000000a56fa5b99019a5c8000000
Arg [2] : 00000000000000000000000000000000000000000000000000000000641092f8
Arg [3] : 0000000000000000000000000000000000000000000000000000000000039dc8
Arg [4] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [6] : 0000000000000000000000006fc13eace26590b80cccab1ba5d51890577d83b2
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [8] : 556d6272656c6c61205265776172642023320000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [10] : 72554d4232000000000000000000000000000000000000000000000000000000
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.