ERC-20
NFT
Overview
Max Total Supply
285,033,089.99899999 RBLS
Holders
3,981 (0.00%)
Market
Price
$0.0195 @ 0.027380 POL (+33.37%)
Onchain Market Cap
$5,571,744.18
Circulating Supply Market Cap
$5,573,221.00
Other Info
Token Contract (WITH 8 Decimals)
Balance
71 RBLSValue
$1.39 ( ~1.9470 POL) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
RBLS
Compiler Version
v0.8.9+commit.e5eed63a
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.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // OpenZeppelin Contracts v4.3.2 (token/ERC20/IERC20.sol) /** * @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); } // OpenZeppelin Contracts v4.3.2 (token/ERC20/extensions/IERC20Metadata.sol) /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // OpenZeppelin Contracts v4.4.0 (token/ERC20/ERC20.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 Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(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: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be 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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } // OpenZeppelin Contracts v4.4.0 (security/Pausable.sol) /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // OpenZeppelin Contracts v4.4.0 (utils/structs/EnumerableSet.sol) /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { return _values(set._inner); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; assembly { result := store } return result; } } /** * @dev Contract module that allows children to implement role-based access * control mechanisms. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context { using EnumerableSet for EnumerableSet.AddressSet; using Address for address; struct RoleData { EnumerableSet.AddressSet members; bytes32 adminRole; } mapping (bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view returns (bool) { return _roles[role].members.contains(account); } /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) public view returns (uint256) { return _roles[role].members.length(); } /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) public view returns (address) { return _roles[role].members.at(index); } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual { require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant"); _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual { require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke"); _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { emit RoleAdminChanged(role, _roles[role].adminRole, adminRole); _roles[role].adminRole = adminRole; } function _grantRole(bytes32 role, address account) private { if (_roles[role].members.add(account)) { emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (_roles[role].members.remove(account)) { emit RoleRevoked(role, account, _msgSender()); } } } contract AccessControlMixin is AccessControl { string private _revertMsg; function _setupContractId(string memory contractId) internal { _revertMsg = string(abi.encodePacked(contractId, ": INSUFFICIENT_PERMISSIONS")); } modifier only(bytes32 role) { require( hasRole(role, _msgSender()), _revertMsg ); _; } } // OpenZeppelin Contracts v4.4.0 (token/ERC20/extensions/ERC20Pausable.sol) /** * @dev ERC20 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. */ abstract contract ERC20Pausable is ERC20, Pausable { /** * @dev See {ERC20-_beforeTokenTransfer}. * * Requirements: * * - the contract must not be paused. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual override { super._beforeTokenTransfer(from, to, amount); require(!paused(), "ERC20Pausable: token transfer while paused"); } } /** * @title ERC1363Receiver interface * @dev Interface for any contract that wants to support `transferAndCall` or `transferFromAndCall` * from ERC1363 token contracts. */ interface IERC1363Receiver { /** * @notice Handle the receipt of ERC1363 tokens * @dev Any ERC1363 smart contract calls this function on the recipient * after a `transfer` or a `transferFrom`. This function MAY throw to revert and reject the * transfer. Return of other than the magic value MUST result in the * transaction being reverted. * Note: the token contract address is always the message sender. * @param operator address The address which called `transferAndCall` or `transferFromAndCall` function * @param from address The address which are token transferred from * @param value uint256 The amount of tokens transferred * @param data bytes Additional data with no specified format * @return `bytes4(keccak256("onTransferReceived(address,address,uint256,bytes)"))` * unless throwing */ function onTransferReceived(address operator, address from, uint256 value, bytes memory data) external returns (bytes4); } /** * @title Rebel Bots Token (RBLS) token * * @dev Token Summary: * - Symbol: RBLS * - Name: Rebel Bots Token * - Decimals: 8 * - Maximum final token supply: 300,000,000 RBLS */ contract RBLS is AccessControlMixin, ERC20Pausable { using SafeMath for uint256; using Address for address; /** * @dev address that will have tokens required for private round */ address private _privateClaimsHolderAddress; bytes32 private constant DEPOSITOR_ROLE = keccak256("DEPOSITOR_ROLE"); uint256 private _maxTotalSupply = 300_000_000e8; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(address childChainManager) ERC20("Rebel Bots Token", "RBLS") { _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); _setupRole(DEPOSITOR_ROLE, childChainManager); } /** * @dev overrides _mint(address account, uint256 amount) with the additional check of the toral max supply */ function _mint(address account, uint256 amount) internal override virtual { require(totalSupply().add(amount) <= _maxTotalSupply, "Tokens number to mint exceeds max total supply of the tokens"); super._mint(account, amount); } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 8; } /** * @dev sets address that will have tokens required for private round */ function setPrivateClaimsHolderAddress(address privateClaimsHolderAddress) public only(DEFAULT_ADMIN_ROLE) { // verify initial holder address non-zero (is set) require(privateClaimsHolderAddress != address(0), "privateClaimsHolderAddress not set"); _privateClaimsHolderAddress = privateClaimsHolderAddress; } /** * @dev transfers to the msg.sender all the tokens that allowed to be spent for _privateClaimsHolderAddress */ function claimPrivateTokens() public { uint256 allowance = super.allowance(_privateClaimsHolderAddress, _msgSender()); require(allowance > 0, "Zero coins to claim"); transferFrom(_privateClaimsHolderAddress, _msgSender(), allowance); } /** * @dev Atomically increases the allowances granted to `spender` by the caller. */ function increaseAllowances(address[] memory addresses, uint256[] memory amounts) external returns (bool) { require(amounts.length == addresses.length, "The arrays should be wth the same length"); uint256 totalSum = 0; for(uint i = 0; i < amounts.length; i++) { totalSum = totalSum + amounts[i]; } require(balanceOf(_msgSender()) > totalSum, "Insufficient balance"); for (uint i = 0; i < amounts.length; i++) { increaseAllowance(addresses[i], amounts[i]); } return true; } /** * @dev Transfer tokens to a specified address and then execute a callback on recipient. * @param recipient The address to transfer to * @param amount The amount to be transferred * @param data Additional data with no specified format * @return A boolean that indicates if the operation was successful. */ function transferAndCall( address recipient, uint256 amount, bytes memory data ) public virtual returns (bool) { transfer(recipient, amount); require(_checkAndCallTransfer(_msgSender(), recipient, amount, data), "ERC1363: _checkAndCallTransfer reverts"); return true; } /** * @dev Transfer tokens from one address to another and then execute a callback on recipient. * @param sender The address which you want to send tokens from * @param recipient The address which you want to transfer to * @param amount The amount of tokens to be transferred * @param data Additional data with no specified format * @return A boolean that indicates if the operation was successful. */ function transferFromAndCall( address sender, address recipient, uint256 amount, bytes memory data ) public virtual returns (bool) { transferFrom(sender, recipient, amount); require(_checkAndCallTransfer(sender, recipient, amount, data), "ERC1363: _checkAndCallTransfer reverts"); return true; } /** * @dev Internal function to invoke `onTransferReceived` on a target address * The call is not executed if the target address is not a contract * @param sender address Representing the previous owner of the given token value * @param recipient address Target address that will receive the tokens * @param amount uint256 The amount mount of tokens to be transferred * @param data bytes Optional data to send along with the call * @return whether the call correctly returned the expected magic value */ function _checkAndCallTransfer( address sender, address recipient, uint256 amount, bytes memory data ) internal virtual returns (bool) { if (!recipient.isContract()) { return false; } bytes4 retval = IERC1363Receiver(recipient).onTransferReceived(_msgSender(), sender, amount, data); return (retval == IERC1363Receiver(recipient).onTransferReceived.selector); } /** * @notice called when token is deposited on root chain * @dev Should be callable only by ChildChainManager * Should handle deposit by minting the required amount for user * Make sure minting is done only by this function * @param user user address for whom deposit is being done * @param depositData abi encoded amount */ function deposit(address user, bytes calldata depositData) external only(DEPOSITOR_ROLE) { uint256 amount = abi.decode(depositData, (uint256)); _mint(user, amount); } /** * @notice called when user wants to withdraw tokens back to root chain * @dev Should burn user's tokens. This transaction will be verified when exiting on root chain * @param amount amount of tokens to withdraw */ function withdraw(uint256 amount) external { _burn(_msgSender(), amount); } /** * @notice Example function to handle minting tokens on matic chain * @dev Minting can be done as per requirement, * This implementation allows only admin to mint tokens but it can be changed as per requirement * @param user user for whom tokens are being minted * @param amount amount of token to mint */ function mint(address user, uint256 amount) public only(DEFAULT_ADMIN_ROLE) { _mint(user, amount); } /** * @dev Pauses token transfers, minting and burning. */ function pause() public only(DEFAULT_ADMIN_ROLE) { _pause(); } /** * @dev Unpauses token transfers, minting and burning. */ function unpause() public only(DEFAULT_ADMIN_ROLE) { _unpause(); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"childChainManager","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":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":[],"name":"claimPrivateTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bytes","name":"depositData","type":"bytes"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"increaseAllowances","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"privateClaimsHolderAddress","type":"address"}],"name":"setPrivateClaimsHolderAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"transferAndCall","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":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"transferFromAndCall","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052666a94d74f4300006008553480156200001c57600080fd5b5060405162003f1538038062003f1583398181016040528101906200004291906200040a565b6040518060400160405280601081526020017f526562656c20426f747320546f6b656e000000000000000000000000000000008152506040518060400160405280600481526020017f52424c53000000000000000000000000000000000000000000000000000000008152508160059080519060200190620000c6929190620002f0565b508060069080519060200190620000df929190620002f0565b5050506000600760006101000a81548160ff021916908315150217905550620001216000801b620001156200015a60201b60201c565b6200016260201b60201c565b620001537f8f4f2da22e8ac8f11e15f9fc141cddbb5deea8800186560abb6e68c5496619a9826200016260201b60201c565b50620004a1565b600033905090565b6200017482826200017860201b60201c565b5050565b620001a6816000808581526020019081526020016000206000016200021b60201b620012cc1790919060201c565b156200021757620001bc6200015a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006200024b836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6200025360201b60201c565b905092915050565b6000620002678383620002cd60201b60201c565b620002c2578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050620002c7565b600090505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b828054620002fe906200046b565b90600052602060002090601f0160209004810192826200032257600085556200036e565b82601f106200033d57805160ff19168380011785556200036e565b828001600101855582156200036e579182015b828111156200036d57825182559160200191906001019062000350565b5b5090506200037d919062000381565b5090565b5b808211156200039c57600081600090555060010162000382565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003d282620003a5565b9050919050565b620003e481620003c5565b8114620003f057600080fd5b50565b6000815190506200040481620003d9565b92915050565b600060208284031215620004235762000422620003a0565b5b60006200043384828501620003f3565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200048457607f821691505b602082108114156200049b576200049a6200043c565b5b50919050565b613a6480620004b16000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80635c975abb11610104578063a457c2d7116100a2578063cf2c52cb11610071578063cf2c52cb146105a3578063d547741f146105bf578063dd62ed3e146105db578063e1ac40961461060b576101da565b8063a457c2d7146104e3578063a9059cbb14610513578063c1d34b8914610543578063ca15c87314610573576101da565b80639010d07c116100de5780639010d07c1461044757806391d148541461047757806395d89b41146104a7578063a217fddf146104c5576101da565b80635c975abb146103ef57806370a082311461040d5780638456cb591461043d576101da565b80632e1a7d4d1161017c578063395093511161014b57806339509351146103695780633f4ba83a146103995780634000aea0146103a357806340c10f19146103d3576101da565b80632e1a7d4d146102f75780632f2ff15d14610313578063313ce5671461032f57806336568abe1461034d576101da565b80631f0cf6f1116101b85780631f0cf6f11461024b57806323b872dd1461027b578063248a9ca3146102ab5780632ac4645a146102db576101da565b806306fdde03146101df578063095ea7b3146101fd57806318160ddd1461022d575b600080fd5b6101e7610615565b6040516101f49190612218565b60405180910390f35b610217600480360381019061021291906122e2565b6106a7565b604051610224919061233d565b60405180910390f35b6102356106c5565b6040516102429190612367565b60405180910390f35b6102656004803603810190610260919061258d565b6106cf565b604051610272919061233d565b60405180910390f35b61029560048036038101906102909190612605565b610819565b6040516102a2919061233d565b60405180910390f35b6102c560048036038101906102c0919061268e565b610911565b6040516102d291906126ca565b60405180910390f35b6102f560048036038101906102f091906126e5565b610930565b005b610311600480360381019061030c9190612712565b610a3e565b005b61032d6004803603810190610328919061273f565b610a52565b005b610337610ac5565b604051610344919061279b565b60405180910390f35b6103676004803603810190610362919061273f565b610ace565b005b610383600480360381019061037e91906122e2565b610b51565b604051610390919061233d565b60405180910390f35b6103a1610bfd565b005b6103bd60048036038101906103b8919061286b565b610c61565b6040516103ca919061233d565b60405180910390f35b6103ed60048036038101906103e891906122e2565b610ccb565b005b6103f7610d33565b604051610404919061233d565b60405180910390f35b610427600480360381019061042291906126e5565b610d4a565b6040516104349190612367565b60405180910390f35b610445610d93565b005b610461600480360381019061045c91906128da565b610df7565b60405161046e9190612929565b60405180910390f35b610491600480360381019061048c919061273f565b610e28565b60405161049e919061233d565b60405180910390f35b6104af610e59565b6040516104bc9190612218565b60405180910390f35b6104cd610eeb565b6040516104da91906126ca565b60405180910390f35b6104fd60048036038101906104f891906122e2565b610ef2565b60405161050a919061233d565b60405180910390f35b61052d600480360381019061052891906122e2565b610fdd565b60405161053a919061233d565b60405180910390f35b61055d60048036038101906105589190612944565b610ffb565b60405161056a919061233d565b60405180910390f35b61058d6004803603810190610588919061268e565b611060565b60405161059a9190612367565b60405180910390f35b6105bd60048036038101906105b89190612a22565b611086565b005b6105d960048036038101906105d4919061273f565b611120565b005b6105f560048036038101906105f09190612a82565b611193565b6040516106029190612367565b60405180910390f35b61061361121a565b005b60606005805461062490612af1565b80601f016020809104026020016040519081016040528092919081815260200182805461065090612af1565b801561069d5780601f106106725761010080835404028352916020019161069d565b820191906000526020600020905b81548152906001019060200180831161068057829003601f168201915b5050505050905090565b60006106bb6106b46112fc565b8484611304565b6001905092915050565b6000600454905090565b60008251825114610715576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070c90612b95565b60405180910390fd5b6000805b835181101561075d5783818151811061073557610734612bb5565b5b6020026020010151826107489190612c13565b9150808061075590612c69565b915050610719565b508061076f61076a6112fc565b610d4a565b116107af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a690612cfe565b60405180910390fd5b60005b835181101561080d576107f98582815181106107d1576107d0612bb5565b5b60200260200101518583815181106107ec576107eb612bb5565b5b6020026020010151610b51565b50808061080590612c69565b9150506107b2565b50600191505092915050565b60006108268484846114cf565b6000600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006108716112fc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156108f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e890612d90565b60405180910390fd5b610905856108fd6112fc565b858403611304565b60019150509392505050565b6000806000838152602001908152602001600020600201549050919050565b6000801b610945816109406112fc565b610e28565b600190610988576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097f9190612e45565b60405180910390fd5b50600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156109f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f090612ed9565b60405180910390fd5b81600760016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b610a4f610a496112fc565b82611753565b50565b610a7860008084815260200190815260200160002060020154610a736112fc565b610e28565b610ab7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aae90612f6b565b60405180910390fd5b610ac1828261192c565b5050565b60006008905090565b610ad66112fc565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3a90612ffd565b60405180910390fd5b610b4d82826119bf565b5050565b6000610bf3610b5e6112fc565b848460036000610b6c6112fc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610bee9190612c13565b611304565b6001905092915050565b6000801b610c1281610c0d6112fc565b610e28565b600190610c55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4c9190612e45565b60405180910390fd5b50610c5e611a52565b50565b6000610c6d8484610fdd565b50610c81610c796112fc565b858585611af4565b610cc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb79061308f565b60405180910390fd5b600190509392505050565b6000801b610ce081610cdb6112fc565b610e28565b600190610d23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1a9190612e45565b60405180910390fd5b50610d2e8383611c12565b505050565b6000600760009054906101000a900460ff16905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000801b610da881610da36112fc565b610e28565b600190610deb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de29190612e45565b60405180910390fd5b50610df4611c7e565b50565b6000610e2082600080868152602001908152602001600020600001611d2190919063ffffffff16565b905092915050565b6000610e5182600080868152602001908152602001600020600001611d3b90919063ffffffff16565b905092915050565b606060068054610e6890612af1565b80601f0160208091040260200160405190810160405280929190818152602001828054610e9490612af1565b8015610ee15780601f10610eb657610100808354040283529160200191610ee1565b820191906000526020600020905b815481529060010190602001808311610ec457829003601f168201915b5050505050905090565b6000801b81565b60008060036000610f016112fc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610fbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb590613121565b60405180910390fd5b610fd2610fc96112fc565b85858403611304565b600191505092915050565b6000610ff1610fea6112fc565b84846114cf565b6001905092915050565b6000611008858585610819565b5061101585858585611af4565b611054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104b9061308f565b60405180910390fd5b60019050949350505050565b600061107f600080848152602001908152602001600020600001611d6b565b9050919050565b7f8f4f2da22e8ac8f11e15f9fc141cddbb5deea8800186560abb6e68c5496619a96110b8816110b36112fc565b610e28565b6001906110fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f29190612e45565b60405180910390fd5b506000838381019061110d9190612712565b90506111198582611c12565b5050505050565b611146600080848152602001908152602001600020600201546111416112fc565b610e28565b611185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117c906131b3565b60405180910390fd5b61118f82826119bf565b5050565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600061124f600760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661124a6112fc565b611193565b905060008111611294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128b9061321f565b60405180910390fd5b6112c8600760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff166112c26112fc565b83610819565b5050565b60006112f4836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611d80565b905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136b906132b1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113db90613343565b60405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516114c29190612367565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561153f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611536906133d5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a690613467565b60405180910390fd5b6115ba838383611df0565b6000600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611641576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611638906134f9565b60405180910390fd5b818103600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116d69190612c13565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161173a9190612367565b60405180910390a361174d848484611e48565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ba9061358b565b60405180910390fd5b6117cf82600083611df0565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611856576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184d9061361d565b60405180910390fd5b818103600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600460008282546118ae919061363d565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516119139190612367565b60405180910390a361192783600084611e48565b505050565b611953816000808581526020019081526020016000206000016112cc90919063ffffffff16565b156119bb576119606112fc565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6119e681600080858152602001908152602001600020600001611e4d90919063ffffffff16565b15611a4e576119f36112fc565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b611a5a610d33565b611a99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a90906136bd565b60405180910390fd5b6000600760006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611add6112fc565b604051611aea9190612929565b60405180910390a1565b6000611b158473ffffffffffffffffffffffffffffffffffffffff16611e7d565b611b225760009050611c0a565b60008473ffffffffffffffffffffffffffffffffffffffff166388a7ca5c611b486112fc565b8887876040518563ffffffff1660e01b8152600401611b6a9493929190613732565b602060405180830381600087803b158015611b8457600080fd5b505af1158015611b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bbc91906137d6565b90506388a7ca5c60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150505b949350505050565b600854611c2f82611c216106c5565b611e9090919063ffffffff16565b1115611c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6790613875565b60405180910390fd5b611c7a8282611ea6565b5050565b611c86610d33565b15611cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbd906138e1565b60405180910390fd5b6001600760006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611d0a6112fc565b604051611d179190612929565b60405180910390a1565b6000611d308360000183612007565b60001c905092915050565b6000611d63836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612032565b905092915050565b6000611d7982600001612055565b9050919050565b6000611d8c8383612032565b611de5578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050611dea565b600090505b92915050565b611dfb838383612066565b611e03610d33565b15611e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3a90613973565b60405180910390fd5b505050565b505050565b6000611e75836000018373ffffffffffffffffffffffffffffffffffffffff1660001b61206b565b905092915050565b600080823b905060008111915050919050565b60008183611e9e9190612c13565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0d906139df565b60405180910390fd5b611f2260008383611df0565b8060046000828254611f349190612c13565b9250508190555080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f8a9190612c13565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611fef9190612367565b60405180910390a361200360008383611e48565b5050565b600082600001828154811061201f5761201e612bb5565b5b9060005260206000200154905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b600081600001805490509050919050565b505050565b6000808360010160008481526020019081526020016000205490506000811461217357600060018261209d919061363d565b90506000600186600001805490506120b5919061363d565b90508181146121245760008660000182815481106120d6576120d5612bb5565b5b90600052602060002001549050808760000184815481106120fa576120f9612bb5565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b85600001805480612138576121376139ff565b5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050612179565b60009150505b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156121b957808201518184015260208101905061219e565b838111156121c8576000848401525b50505050565b6000601f19601f8301169050919050565b60006121ea8261217f565b6121f4818561218a565b935061220481856020860161219b565b61220d816121ce565b840191505092915050565b6000602082019050818103600083015261223281846121df565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006122798261224e565b9050919050565b6122898161226e565b811461229457600080fd5b50565b6000813590506122a681612280565b92915050565b6000819050919050565b6122bf816122ac565b81146122ca57600080fd5b50565b6000813590506122dc816122b6565b92915050565b600080604083850312156122f9576122f8612244565b5b600061230785828601612297565b9250506020612318858286016122cd565b9150509250929050565b60008115159050919050565b61233781612322565b82525050565b6000602082019050612352600083018461232e565b92915050565b612361816122ac565b82525050565b600060208201905061237c6000830184612358565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6123bf826121ce565b810181811067ffffffffffffffff821117156123de576123dd612387565b5b80604052505050565b60006123f161223a565b90506123fd82826123b6565b919050565b600067ffffffffffffffff82111561241d5761241c612387565b5b602082029050602081019050919050565b600080fd5b600061244661244184612402565b6123e7565b905080838252602082019050602084028301858111156124695761246861242e565b5b835b81811015612492578061247e8882612297565b84526020840193505060208101905061246b565b5050509392505050565b600082601f8301126124b1576124b0612382565b5b81356124c1848260208601612433565b91505092915050565b600067ffffffffffffffff8211156124e5576124e4612387565b5b602082029050602081019050919050565b6000612509612504846124ca565b6123e7565b9050808382526020820190506020840283018581111561252c5761252b61242e565b5b835b81811015612555578061254188826122cd565b84526020840193505060208101905061252e565b5050509392505050565b600082601f83011261257457612573612382565b5b81356125848482602086016124f6565b91505092915050565b600080604083850312156125a4576125a3612244565b5b600083013567ffffffffffffffff8111156125c2576125c1612249565b5b6125ce8582860161249c565b925050602083013567ffffffffffffffff8111156125ef576125ee612249565b5b6125fb8582860161255f565b9150509250929050565b60008060006060848603121561261e5761261d612244565b5b600061262c86828701612297565b935050602061263d86828701612297565b925050604061264e868287016122cd565b9150509250925092565b6000819050919050565b61266b81612658565b811461267657600080fd5b50565b60008135905061268881612662565b92915050565b6000602082840312156126a4576126a3612244565b5b60006126b284828501612679565b91505092915050565b6126c481612658565b82525050565b60006020820190506126df60008301846126bb565b92915050565b6000602082840312156126fb576126fa612244565b5b600061270984828501612297565b91505092915050565b60006020828403121561272857612727612244565b5b6000612736848285016122cd565b91505092915050565b6000806040838503121561275657612755612244565b5b600061276485828601612679565b925050602061277585828601612297565b9150509250929050565b600060ff82169050919050565b6127958161277f565b82525050565b60006020820190506127b0600083018461278c565b92915050565b600080fd5b600067ffffffffffffffff8211156127d6576127d5612387565b5b6127df826121ce565b9050602081019050919050565b82818337600083830152505050565b600061280e612809846127bb565b6123e7565b90508281526020810184848401111561282a576128296127b6565b5b6128358482856127ec565b509392505050565b600082601f83011261285257612851612382565b5b81356128628482602086016127fb565b91505092915050565b60008060006060848603121561288457612883612244565b5b600061289286828701612297565b93505060206128a3868287016122cd565b925050604084013567ffffffffffffffff8111156128c4576128c3612249565b5b6128d08682870161283d565b9150509250925092565b600080604083850312156128f1576128f0612244565b5b60006128ff85828601612679565b9250506020612910858286016122cd565b9150509250929050565b6129238161226e565b82525050565b600060208201905061293e600083018461291a565b92915050565b6000806000806080858703121561295e5761295d612244565b5b600061296c87828801612297565b945050602061297d87828801612297565b935050604061298e878288016122cd565b925050606085013567ffffffffffffffff8111156129af576129ae612249565b5b6129bb8782880161283d565b91505092959194509250565b600080fd5b60008083601f8401126129e2576129e1612382565b5b8235905067ffffffffffffffff8111156129ff576129fe6129c7565b5b602083019150836001820283011115612a1b57612a1a61242e565b5b9250929050565b600080600060408486031215612a3b57612a3a612244565b5b6000612a4986828701612297565b935050602084013567ffffffffffffffff811115612a6a57612a69612249565b5b612a76868287016129cc565b92509250509250925092565b60008060408385031215612a9957612a98612244565b5b6000612aa785828601612297565b9250506020612ab885828601612297565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612b0957607f821691505b60208210811415612b1d57612b1c612ac2565b5b50919050565b7f546865206172726179732073686f756c6420626520777468207468652073616d60008201527f65206c656e677468000000000000000000000000000000000000000000000000602082015250565b6000612b7f60288361218a565b9150612b8a82612b23565b604082019050919050565b60006020820190508181036000830152612bae81612b72565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612c1e826122ac565b9150612c29836122ac565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612c5e57612c5d612be4565b5b828201905092915050565b6000612c74826122ac565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612ca757612ca6612be4565b5b600182019050919050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b6000612ce860148361218a565b9150612cf382612cb2565b602082019050919050565b60006020820190508181036000830152612d1781612cdb565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b6000612d7a60288361218a565b9150612d8582612d1e565b604082019050919050565b60006020820190508181036000830152612da981612d6d565b9050919050565b60008190508160005260206000209050919050565b60008154612dd281612af1565b612ddc818661218a565b94506001821660008114612df75760018114612e0957612e3c565b60ff1983168652602086019350612e3c565b612e1285612db0565b60005b83811015612e3457815481890152600182019150602081019050612e15565b808801955050505b50505092915050565b60006020820190508181036000830152612e5f8184612dc5565b905092915050565b7f70726976617465436c61696d73486f6c64657241646472657373206e6f74207360008201527f6574000000000000000000000000000000000000000000000000000000000000602082015250565b6000612ec360228361218a565b9150612ece82612e67565b604082019050919050565b60006020820190508181036000830152612ef281612eb6565b9050919050565b7f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60008201527f2061646d696e20746f206772616e740000000000000000000000000000000000602082015250565b6000612f55602f8361218a565b9150612f6082612ef9565b604082019050919050565b60006020820190508181036000830152612f8481612f48565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000612fe7602f8361218a565b9150612ff282612f8b565b604082019050919050565b6000602082019050818103600083015261301681612fda565b9050919050565b7f455243313336333a205f636865636b416e6443616c6c5472616e73666572207260008201527f6576657274730000000000000000000000000000000000000000000000000000602082015250565b600061307960268361218a565b91506130848261301d565b604082019050919050565b600060208201905081810360008301526130a88161306c565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b600061310b60258361218a565b9150613116826130af565b604082019050919050565b6000602082019050818103600083015261313a816130fe565b9050919050565b7f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60008201527f2061646d696e20746f207265766f6b6500000000000000000000000000000000602082015250565b600061319d60308361218a565b91506131a882613141565b604082019050919050565b600060208201905081810360008301526131cc81613190565b9050919050565b7f5a65726f20636f696e7320746f20636c61696d00000000000000000000000000600082015250565b600061320960138361218a565b9150613214826131d3565b602082019050919050565b60006020820190508181036000830152613238816131fc565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061329b60248361218a565b91506132a68261323f565b604082019050919050565b600060208201905081810360008301526132ca8161328e565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061332d60228361218a565b9150613338826132d1565b604082019050919050565b6000602082019050818103600083015261335c81613320565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006133bf60258361218a565b91506133ca82613363565b604082019050919050565b600060208201905081810360008301526133ee816133b2565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061345160238361218a565b915061345c826133f5565b604082019050919050565b6000602082019050818103600083015261348081613444565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006134e360268361218a565b91506134ee82613487565b604082019050919050565b60006020820190508181036000830152613512816134d6565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061357560218361218a565b915061358082613519565b604082019050919050565b600060208201905081810360008301526135a481613568565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b600061360760228361218a565b9150613612826135ab565b604082019050919050565b60006020820190508181036000830152613636816135fa565b9050919050565b6000613648826122ac565b9150613653836122ac565b92508282101561366657613665612be4565b5b828203905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006136a760148361218a565b91506136b282613671565b602082019050919050565b600060208201905081810360008301526136d68161369a565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613704826136dd565b61370e81856136e8565b935061371e81856020860161219b565b613727816121ce565b840191505092915050565b6000608082019050613747600083018761291a565b613754602083018661291a565b6137616040830185612358565b818103606083015261377381846136f9565b905095945050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6137b38161377e565b81146137be57600080fd5b50565b6000815190506137d0816137aa565b92915050565b6000602082840312156137ec576137eb612244565b5b60006137fa848285016137c1565b91505092915050565b7f546f6b656e73206e756d62657220746f206d696e742065786365656473206d6160008201527f7820746f74616c20737570706c79206f662074686520746f6b656e7300000000602082015250565b600061385f603c8361218a565b915061386a82613803565b604082019050919050565b6000602082019050818103600083015261388e81613852565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006138cb60108361218a565b91506138d682613895565b602082019050919050565b600060208201905081810360008301526138fa816138be565b9050919050565b7f45524332305061757361626c653a20746f6b656e207472616e7366657220776860008201527f696c652070617573656400000000000000000000000000000000000000000000602082015250565b600061395d602a8361218a565b915061396882613901565b604082019050919050565b6000602082019050818103600083015261398c81613950565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b60006139c9601f8361218a565b91506139d482613993565b602082019050919050565b600060208201905081810360008301526139f8816139bc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212200e969160d44f5696192503418f526badeaf83b0138ebe661d4525be52e3edfb464736f6c63430008090033000000000000000000000000a6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101da5760003560e01c80635c975abb11610104578063a457c2d7116100a2578063cf2c52cb11610071578063cf2c52cb146105a3578063d547741f146105bf578063dd62ed3e146105db578063e1ac40961461060b576101da565b8063a457c2d7146104e3578063a9059cbb14610513578063c1d34b8914610543578063ca15c87314610573576101da565b80639010d07c116100de5780639010d07c1461044757806391d148541461047757806395d89b41146104a7578063a217fddf146104c5576101da565b80635c975abb146103ef57806370a082311461040d5780638456cb591461043d576101da565b80632e1a7d4d1161017c578063395093511161014b57806339509351146103695780633f4ba83a146103995780634000aea0146103a357806340c10f19146103d3576101da565b80632e1a7d4d146102f75780632f2ff15d14610313578063313ce5671461032f57806336568abe1461034d576101da565b80631f0cf6f1116101b85780631f0cf6f11461024b57806323b872dd1461027b578063248a9ca3146102ab5780632ac4645a146102db576101da565b806306fdde03146101df578063095ea7b3146101fd57806318160ddd1461022d575b600080fd5b6101e7610615565b6040516101f49190612218565b60405180910390f35b610217600480360381019061021291906122e2565b6106a7565b604051610224919061233d565b60405180910390f35b6102356106c5565b6040516102429190612367565b60405180910390f35b6102656004803603810190610260919061258d565b6106cf565b604051610272919061233d565b60405180910390f35b61029560048036038101906102909190612605565b610819565b6040516102a2919061233d565b60405180910390f35b6102c560048036038101906102c0919061268e565b610911565b6040516102d291906126ca565b60405180910390f35b6102f560048036038101906102f091906126e5565b610930565b005b610311600480360381019061030c9190612712565b610a3e565b005b61032d6004803603810190610328919061273f565b610a52565b005b610337610ac5565b604051610344919061279b565b60405180910390f35b6103676004803603810190610362919061273f565b610ace565b005b610383600480360381019061037e91906122e2565b610b51565b604051610390919061233d565b60405180910390f35b6103a1610bfd565b005b6103bd60048036038101906103b8919061286b565b610c61565b6040516103ca919061233d565b60405180910390f35b6103ed60048036038101906103e891906122e2565b610ccb565b005b6103f7610d33565b604051610404919061233d565b60405180910390f35b610427600480360381019061042291906126e5565b610d4a565b6040516104349190612367565b60405180910390f35b610445610d93565b005b610461600480360381019061045c91906128da565b610df7565b60405161046e9190612929565b60405180910390f35b610491600480360381019061048c919061273f565b610e28565b60405161049e919061233d565b60405180910390f35b6104af610e59565b6040516104bc9190612218565b60405180910390f35b6104cd610eeb565b6040516104da91906126ca565b60405180910390f35b6104fd60048036038101906104f891906122e2565b610ef2565b60405161050a919061233d565b60405180910390f35b61052d600480360381019061052891906122e2565b610fdd565b60405161053a919061233d565b60405180910390f35b61055d60048036038101906105589190612944565b610ffb565b60405161056a919061233d565b60405180910390f35b61058d6004803603810190610588919061268e565b611060565b60405161059a9190612367565b60405180910390f35b6105bd60048036038101906105b89190612a22565b611086565b005b6105d960048036038101906105d4919061273f565b611120565b005b6105f560048036038101906105f09190612a82565b611193565b6040516106029190612367565b60405180910390f35b61061361121a565b005b60606005805461062490612af1565b80601f016020809104026020016040519081016040528092919081815260200182805461065090612af1565b801561069d5780601f106106725761010080835404028352916020019161069d565b820191906000526020600020905b81548152906001019060200180831161068057829003601f168201915b5050505050905090565b60006106bb6106b46112fc565b8484611304565b6001905092915050565b6000600454905090565b60008251825114610715576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070c90612b95565b60405180910390fd5b6000805b835181101561075d5783818151811061073557610734612bb5565b5b6020026020010151826107489190612c13565b9150808061075590612c69565b915050610719565b508061076f61076a6112fc565b610d4a565b116107af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a690612cfe565b60405180910390fd5b60005b835181101561080d576107f98582815181106107d1576107d0612bb5565b5b60200260200101518583815181106107ec576107eb612bb5565b5b6020026020010151610b51565b50808061080590612c69565b9150506107b2565b50600191505092915050565b60006108268484846114cf565b6000600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006108716112fc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156108f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e890612d90565b60405180910390fd5b610905856108fd6112fc565b858403611304565b60019150509392505050565b6000806000838152602001908152602001600020600201549050919050565b6000801b610945816109406112fc565b610e28565b600190610988576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097f9190612e45565b60405180910390fd5b50600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156109f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f090612ed9565b60405180910390fd5b81600760016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b610a4f610a496112fc565b82611753565b50565b610a7860008084815260200190815260200160002060020154610a736112fc565b610e28565b610ab7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aae90612f6b565b60405180910390fd5b610ac1828261192c565b5050565b60006008905090565b610ad66112fc565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3a90612ffd565b60405180910390fd5b610b4d82826119bf565b5050565b6000610bf3610b5e6112fc565b848460036000610b6c6112fc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610bee9190612c13565b611304565b6001905092915050565b6000801b610c1281610c0d6112fc565b610e28565b600190610c55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4c9190612e45565b60405180910390fd5b50610c5e611a52565b50565b6000610c6d8484610fdd565b50610c81610c796112fc565b858585611af4565b610cc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb79061308f565b60405180910390fd5b600190509392505050565b6000801b610ce081610cdb6112fc565b610e28565b600190610d23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1a9190612e45565b60405180910390fd5b50610d2e8383611c12565b505050565b6000600760009054906101000a900460ff16905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000801b610da881610da36112fc565b610e28565b600190610deb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de29190612e45565b60405180910390fd5b50610df4611c7e565b50565b6000610e2082600080868152602001908152602001600020600001611d2190919063ffffffff16565b905092915050565b6000610e5182600080868152602001908152602001600020600001611d3b90919063ffffffff16565b905092915050565b606060068054610e6890612af1565b80601f0160208091040260200160405190810160405280929190818152602001828054610e9490612af1565b8015610ee15780601f10610eb657610100808354040283529160200191610ee1565b820191906000526020600020905b815481529060010190602001808311610ec457829003601f168201915b5050505050905090565b6000801b81565b60008060036000610f016112fc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610fbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb590613121565b60405180910390fd5b610fd2610fc96112fc565b85858403611304565b600191505092915050565b6000610ff1610fea6112fc565b84846114cf565b6001905092915050565b6000611008858585610819565b5061101585858585611af4565b611054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104b9061308f565b60405180910390fd5b60019050949350505050565b600061107f600080848152602001908152602001600020600001611d6b565b9050919050565b7f8f4f2da22e8ac8f11e15f9fc141cddbb5deea8800186560abb6e68c5496619a96110b8816110b36112fc565b610e28565b6001906110fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f29190612e45565b60405180910390fd5b506000838381019061110d9190612712565b90506111198582611c12565b5050505050565b611146600080848152602001908152602001600020600201546111416112fc565b610e28565b611185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117c906131b3565b60405180910390fd5b61118f82826119bf565b5050565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600061124f600760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661124a6112fc565b611193565b905060008111611294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128b9061321f565b60405180910390fd5b6112c8600760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff166112c26112fc565b83610819565b5050565b60006112f4836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611d80565b905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136b906132b1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113db90613343565b60405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516114c29190612367565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561153f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611536906133d5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a690613467565b60405180910390fd5b6115ba838383611df0565b6000600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611641576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611638906134f9565b60405180910390fd5b818103600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116d69190612c13565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161173a9190612367565b60405180910390a361174d848484611e48565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ba9061358b565b60405180910390fd5b6117cf82600083611df0565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611856576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184d9061361d565b60405180910390fd5b818103600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600460008282546118ae919061363d565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516119139190612367565b60405180910390a361192783600084611e48565b505050565b611953816000808581526020019081526020016000206000016112cc90919063ffffffff16565b156119bb576119606112fc565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6119e681600080858152602001908152602001600020600001611e4d90919063ffffffff16565b15611a4e576119f36112fc565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b611a5a610d33565b611a99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a90906136bd565b60405180910390fd5b6000600760006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611add6112fc565b604051611aea9190612929565b60405180910390a1565b6000611b158473ffffffffffffffffffffffffffffffffffffffff16611e7d565b611b225760009050611c0a565b60008473ffffffffffffffffffffffffffffffffffffffff166388a7ca5c611b486112fc565b8887876040518563ffffffff1660e01b8152600401611b6a9493929190613732565b602060405180830381600087803b158015611b8457600080fd5b505af1158015611b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bbc91906137d6565b90506388a7ca5c60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150505b949350505050565b600854611c2f82611c216106c5565b611e9090919063ffffffff16565b1115611c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6790613875565b60405180910390fd5b611c7a8282611ea6565b5050565b611c86610d33565b15611cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbd906138e1565b60405180910390fd5b6001600760006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611d0a6112fc565b604051611d179190612929565b60405180910390a1565b6000611d308360000183612007565b60001c905092915050565b6000611d63836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612032565b905092915050565b6000611d7982600001612055565b9050919050565b6000611d8c8383612032565b611de5578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050611dea565b600090505b92915050565b611dfb838383612066565b611e03610d33565b15611e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3a90613973565b60405180910390fd5b505050565b505050565b6000611e75836000018373ffffffffffffffffffffffffffffffffffffffff1660001b61206b565b905092915050565b600080823b905060008111915050919050565b60008183611e9e9190612c13565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0d906139df565b60405180910390fd5b611f2260008383611df0565b8060046000828254611f349190612c13565b9250508190555080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f8a9190612c13565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611fef9190612367565b60405180910390a361200360008383611e48565b5050565b600082600001828154811061201f5761201e612bb5565b5b9060005260206000200154905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b600081600001805490509050919050565b505050565b6000808360010160008481526020019081526020016000205490506000811461217357600060018261209d919061363d565b90506000600186600001805490506120b5919061363d565b90508181146121245760008660000182815481106120d6576120d5612bb5565b5b90600052602060002001549050808760000184815481106120fa576120f9612bb5565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b85600001805480612138576121376139ff565b5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050612179565b60009150505b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156121b957808201518184015260208101905061219e565b838111156121c8576000848401525b50505050565b6000601f19601f8301169050919050565b60006121ea8261217f565b6121f4818561218a565b935061220481856020860161219b565b61220d816121ce565b840191505092915050565b6000602082019050818103600083015261223281846121df565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006122798261224e565b9050919050565b6122898161226e565b811461229457600080fd5b50565b6000813590506122a681612280565b92915050565b6000819050919050565b6122bf816122ac565b81146122ca57600080fd5b50565b6000813590506122dc816122b6565b92915050565b600080604083850312156122f9576122f8612244565b5b600061230785828601612297565b9250506020612318858286016122cd565b9150509250929050565b60008115159050919050565b61233781612322565b82525050565b6000602082019050612352600083018461232e565b92915050565b612361816122ac565b82525050565b600060208201905061237c6000830184612358565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6123bf826121ce565b810181811067ffffffffffffffff821117156123de576123dd612387565b5b80604052505050565b60006123f161223a565b90506123fd82826123b6565b919050565b600067ffffffffffffffff82111561241d5761241c612387565b5b602082029050602081019050919050565b600080fd5b600061244661244184612402565b6123e7565b905080838252602082019050602084028301858111156124695761246861242e565b5b835b81811015612492578061247e8882612297565b84526020840193505060208101905061246b565b5050509392505050565b600082601f8301126124b1576124b0612382565b5b81356124c1848260208601612433565b91505092915050565b600067ffffffffffffffff8211156124e5576124e4612387565b5b602082029050602081019050919050565b6000612509612504846124ca565b6123e7565b9050808382526020820190506020840283018581111561252c5761252b61242e565b5b835b81811015612555578061254188826122cd565b84526020840193505060208101905061252e565b5050509392505050565b600082601f83011261257457612573612382565b5b81356125848482602086016124f6565b91505092915050565b600080604083850312156125a4576125a3612244565b5b600083013567ffffffffffffffff8111156125c2576125c1612249565b5b6125ce8582860161249c565b925050602083013567ffffffffffffffff8111156125ef576125ee612249565b5b6125fb8582860161255f565b9150509250929050565b60008060006060848603121561261e5761261d612244565b5b600061262c86828701612297565b935050602061263d86828701612297565b925050604061264e868287016122cd565b9150509250925092565b6000819050919050565b61266b81612658565b811461267657600080fd5b50565b60008135905061268881612662565b92915050565b6000602082840312156126a4576126a3612244565b5b60006126b284828501612679565b91505092915050565b6126c481612658565b82525050565b60006020820190506126df60008301846126bb565b92915050565b6000602082840312156126fb576126fa612244565b5b600061270984828501612297565b91505092915050565b60006020828403121561272857612727612244565b5b6000612736848285016122cd565b91505092915050565b6000806040838503121561275657612755612244565b5b600061276485828601612679565b925050602061277585828601612297565b9150509250929050565b600060ff82169050919050565b6127958161277f565b82525050565b60006020820190506127b0600083018461278c565b92915050565b600080fd5b600067ffffffffffffffff8211156127d6576127d5612387565b5b6127df826121ce565b9050602081019050919050565b82818337600083830152505050565b600061280e612809846127bb565b6123e7565b90508281526020810184848401111561282a576128296127b6565b5b6128358482856127ec565b509392505050565b600082601f83011261285257612851612382565b5b81356128628482602086016127fb565b91505092915050565b60008060006060848603121561288457612883612244565b5b600061289286828701612297565b93505060206128a3868287016122cd565b925050604084013567ffffffffffffffff8111156128c4576128c3612249565b5b6128d08682870161283d565b9150509250925092565b600080604083850312156128f1576128f0612244565b5b60006128ff85828601612679565b9250506020612910858286016122cd565b9150509250929050565b6129238161226e565b82525050565b600060208201905061293e600083018461291a565b92915050565b6000806000806080858703121561295e5761295d612244565b5b600061296c87828801612297565b945050602061297d87828801612297565b935050604061298e878288016122cd565b925050606085013567ffffffffffffffff8111156129af576129ae612249565b5b6129bb8782880161283d565b91505092959194509250565b600080fd5b60008083601f8401126129e2576129e1612382565b5b8235905067ffffffffffffffff8111156129ff576129fe6129c7565b5b602083019150836001820283011115612a1b57612a1a61242e565b5b9250929050565b600080600060408486031215612a3b57612a3a612244565b5b6000612a4986828701612297565b935050602084013567ffffffffffffffff811115612a6a57612a69612249565b5b612a76868287016129cc565b92509250509250925092565b60008060408385031215612a9957612a98612244565b5b6000612aa785828601612297565b9250506020612ab885828601612297565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612b0957607f821691505b60208210811415612b1d57612b1c612ac2565b5b50919050565b7f546865206172726179732073686f756c6420626520777468207468652073616d60008201527f65206c656e677468000000000000000000000000000000000000000000000000602082015250565b6000612b7f60288361218a565b9150612b8a82612b23565b604082019050919050565b60006020820190508181036000830152612bae81612b72565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612c1e826122ac565b9150612c29836122ac565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612c5e57612c5d612be4565b5b828201905092915050565b6000612c74826122ac565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612ca757612ca6612be4565b5b600182019050919050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b6000612ce860148361218a565b9150612cf382612cb2565b602082019050919050565b60006020820190508181036000830152612d1781612cdb565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b6000612d7a60288361218a565b9150612d8582612d1e565b604082019050919050565b60006020820190508181036000830152612da981612d6d565b9050919050565b60008190508160005260206000209050919050565b60008154612dd281612af1565b612ddc818661218a565b94506001821660008114612df75760018114612e0957612e3c565b60ff1983168652602086019350612e3c565b612e1285612db0565b60005b83811015612e3457815481890152600182019150602081019050612e15565b808801955050505b50505092915050565b60006020820190508181036000830152612e5f8184612dc5565b905092915050565b7f70726976617465436c61696d73486f6c64657241646472657373206e6f74207360008201527f6574000000000000000000000000000000000000000000000000000000000000602082015250565b6000612ec360228361218a565b9150612ece82612e67565b604082019050919050565b60006020820190508181036000830152612ef281612eb6565b9050919050565b7f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60008201527f2061646d696e20746f206772616e740000000000000000000000000000000000602082015250565b6000612f55602f8361218a565b9150612f6082612ef9565b604082019050919050565b60006020820190508181036000830152612f8481612f48565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000612fe7602f8361218a565b9150612ff282612f8b565b604082019050919050565b6000602082019050818103600083015261301681612fda565b9050919050565b7f455243313336333a205f636865636b416e6443616c6c5472616e73666572207260008201527f6576657274730000000000000000000000000000000000000000000000000000602082015250565b600061307960268361218a565b91506130848261301d565b604082019050919050565b600060208201905081810360008301526130a88161306c565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b600061310b60258361218a565b9150613116826130af565b604082019050919050565b6000602082019050818103600083015261313a816130fe565b9050919050565b7f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60008201527f2061646d696e20746f207265766f6b6500000000000000000000000000000000602082015250565b600061319d60308361218a565b91506131a882613141565b604082019050919050565b600060208201905081810360008301526131cc81613190565b9050919050565b7f5a65726f20636f696e7320746f20636c61696d00000000000000000000000000600082015250565b600061320960138361218a565b9150613214826131d3565b602082019050919050565b60006020820190508181036000830152613238816131fc565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061329b60248361218a565b91506132a68261323f565b604082019050919050565b600060208201905081810360008301526132ca8161328e565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061332d60228361218a565b9150613338826132d1565b604082019050919050565b6000602082019050818103600083015261335c81613320565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006133bf60258361218a565b91506133ca82613363565b604082019050919050565b600060208201905081810360008301526133ee816133b2565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061345160238361218a565b915061345c826133f5565b604082019050919050565b6000602082019050818103600083015261348081613444565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006134e360268361218a565b91506134ee82613487565b604082019050919050565b60006020820190508181036000830152613512816134d6565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061357560218361218a565b915061358082613519565b604082019050919050565b600060208201905081810360008301526135a481613568565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b600061360760228361218a565b9150613612826135ab565b604082019050919050565b60006020820190508181036000830152613636816135fa565b9050919050565b6000613648826122ac565b9150613653836122ac565b92508282101561366657613665612be4565b5b828203905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006136a760148361218a565b91506136b282613671565b602082019050919050565b600060208201905081810360008301526136d68161369a565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613704826136dd565b61370e81856136e8565b935061371e81856020860161219b565b613727816121ce565b840191505092915050565b6000608082019050613747600083018761291a565b613754602083018661291a565b6137616040830185612358565b818103606083015261377381846136f9565b905095945050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6137b38161377e565b81146137be57600080fd5b50565b6000815190506137d0816137aa565b92915050565b6000602082840312156137ec576137eb612244565b5b60006137fa848285016137c1565b91505092915050565b7f546f6b656e73206e756d62657220746f206d696e742065786365656473206d6160008201527f7820746f74616c20737570706c79206f662074686520746f6b656e7300000000602082015250565b600061385f603c8361218a565b915061386a82613803565b604082019050919050565b6000602082019050818103600083015261388e81613852565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006138cb60108361218a565b91506138d682613895565b602082019050919050565b600060208201905081810360008301526138fa816138be565b9050919050565b7f45524332305061757361626c653a20746f6b656e207472616e7366657220776860008201527f696c652070617573656400000000000000000000000000000000000000000000602082015250565b600061395d602a8361218a565b915061396882613901565b604082019050919050565b6000602082019050818103600083015261398c81613950565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b60006139c9601f8361218a565b91506139d482613993565b602082019050919050565b600060208201905081810360008301526139f8816139bc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212200e969160d44f5696192503418f526badeaf83b0138ebe661d4525be52e3edfb464736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa
-----Decoded View---------------
Arg [0] : childChainManager (address): 0xA6FA4fB5f76172d178d61B04b0ecd319C5d1C0aa
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa
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.