Overview
Max Total Supply
2,268.042061095210738634 rETH
Holders
528 (0.00%)
Market
Price
$3,534.59 @ 1.134118 ETH
Onchain Market Cap
$8,016,598.79
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000011587410696652 rETHValue
$0.04 ( ~1.28345057222187E-05 Eth) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|---|---|---|---|---|
1 | Curve (Ethereum) | 0XEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE-0X9559AAA82D9649C7A7B220E7C461D2E74C9A3593 | $3,414.86 1.0978460 Eth | $61,179.00 19.491 0XEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE | 96.4570% |
2 | Balancer V2 | 0X9559AAA82D9649C7A7B220E7C461D2E74C9A3593-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $3,415.08 1.0720380 Eth | $2,448.12 0.716 0X9559AAA82D9649C7A7B220E7C461D2E74C9A3593 | 3.5430% |
Contract Name:
RETHToken
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-02-02 */ pragma solidity 0.6.12; // SPDX-License-Identifier: GPL-3.0-only library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } 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; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. 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] = toDeleteIndex + 1; // All indexes are 1-based // 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) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // 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(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(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(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(uint256(_at(set._inner, index))); } // 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)); } } library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies in extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } 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()); } } } 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); } contract ERC20 is Context, IERC20 { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, "ERC20: burn amount exceeds allowance"); _approve(account, _msgSender(), decreasedAllowance); _burn(account, amount); } } contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor () internal { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { 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()); } } 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"); } } contract ERC20PresetMinterPauser is Context, AccessControl, ERC20Burnable, ERC20Pausable { bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE"); /** * @dev Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE` and `PAUSER_ROLE` to the * account that deploys the contract. * * See {ERC20-constructor}. */ constructor(string memory name, string memory symbol) public ERC20(name, symbol) { _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); _setupRole(MINTER_ROLE, _msgSender()); _setupRole(PAUSER_ROLE, _msgSender()); } /** * @dev Creates `amount` new tokens for `to`. * * See {ERC20-_mint}. * * Requirements: * * - the caller must have the `MINTER_ROLE`. */ function mint(address to, uint256 amount) public virtual { require(hasRole(MINTER_ROLE, _msgSender()), "ERC20PresetMinterPauser: must have minter role to mint"); _mint(to, amount); } /** * @dev Pauses all token transfers. * * See {ERC20Pausable} and {Pausable-_pause}. * * Requirements: * * - the caller must have the `PAUSER_ROLE`. */ function pause() public virtual { require(hasRole(PAUSER_ROLE, _msgSender()), "ERC20PresetMinterPauser: must have pauser role to pause"); _pause(); } /** * @dev Unpauses all token transfers. * * See {ERC20Pausable} and {Pausable-_unpause}. * * Requirements: * * - the caller must have the `PAUSER_ROLE`. */ function unpause() public virtual { require(hasRole(PAUSER_ROLE, _msgSender()), "ERC20PresetMinterPauser: must have pauser role to unpause"); _unpause(); } function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override(ERC20, ERC20Pausable) { super._beforeTokenTransfer(from, to, amount); } } interface IRETHToken { function getEthValue(uint256 _rethAmount) external view returns (uint256); function getRethValue(uint256 _ethAmount) external view returns (uint256); function getExchangeRate() external view returns (uint256); function getTotalCollateral() external view returns (uint256); function getCollateralRate() external view returns (uint256); function depositRewards() external payable; function depositExcess() external payable; function userMint(uint256 _ethAmount, address _to) external; function userBurn(uint256 _rethAmount) external; } interface IStafiNetworkBalances { function getBalancesBlock() external view returns (uint256); function getTotalETHBalance() external view returns (uint256); function getStakingETHBalance() external view returns (uint256); function getTotalRETHSupply() external view returns (uint256); function getETHStakingRate() external view returns (uint256); function submitBalances(uint256 _block, uint256 _total, uint256 _staking, uint256 _rethSupply) external; } interface IStafiUserDeposit { function getBalance() external view returns (uint256); function getExcessBalance() external view returns (uint256); function deposit() external payable; function recycleDissolvedDeposit() external payable; function recycleWithdrawnDeposit() external payable; function assignDeposits() external; function withdrawExcessBalance(uint256 _amount) external; } interface IStafiStorage { // Getters function getAddress(bytes32 _key) external view returns (address); function getUint(bytes32 _key) external view returns (uint); function getString(bytes32 _key) external view returns (string memory); function getBytes(bytes32 _key) external view returns (bytes memory); function getBool(bytes32 _key) external view returns (bool); function getInt(bytes32 _key) external view returns (int); function getBytes32(bytes32 _key) external view returns (bytes32); // Setters function setAddress(bytes32 _key, address _value) external; function setUint(bytes32 _key, uint _value) external; function setString(bytes32 _key, string calldata _value) external; function setBytes(bytes32 _key, bytes calldata _value) external; function setBool(bytes32 _key, bool _value) external; function setInt(bytes32 _key, int _value) external; function setBytes32(bytes32 _key, bytes32 _value) external; // Deleters function deleteAddress(bytes32 _key) external; function deleteUint(bytes32 _key) external; function deleteString(bytes32 _key) external; function deleteBytes(bytes32 _key) external; function deleteBool(bytes32 _key) external; function deleteInt(bytes32 _key) external; function deleteBytes32(bytes32 _key) external; } abstract contract StafiBase { // Version of the contract uint8 public version; // The main storage contract where primary persistant storage is maintained IStafiStorage stafiStorage = IStafiStorage(0); /** * @dev Throws if called by any sender that doesn't match a network contract */ modifier onlyLatestNetworkContract() { require(getBool(keccak256(abi.encodePacked("contract.exists", msg.sender))), "Invalid or outdated network contract"); _; } /** * @dev Throws if called by any sender that doesn't match one of the supplied contract or is the latest version of that contract */ modifier onlyLatestContract(string memory _contractName, address _contractAddress) { require(_contractAddress == getAddress(keccak256(abi.encodePacked("contract.address", _contractName))), "Invalid or outdated contract"); _; } /** * @dev Throws if called by any sender that isn't a trusted node */ modifier onlyTrustedNode(address _nodeAddress) { require(getBool(keccak256(abi.encodePacked("node.trusted", _nodeAddress))), "Invalid trusted node"); _; } /** * @dev Throws if called by any sender that isn't a registered staking pool */ modifier onlyRegisteredStakingPool(address _stakingPoolAddress) { require(getBool(keccak256(abi.encodePacked("stakingpool.exists", _stakingPoolAddress))), "Invalid staking pool"); _; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(roleHas("owner", msg.sender), "Account is not the owner"); _; } /** * @dev Modifier to scope access to admins */ modifier onlyAdmin() { require(roleHas("admin", msg.sender), "Account is not an admin"); _; } /** * @dev Modifier to scope access to admins */ modifier onlySuperUser() { require(roleHas("owner", msg.sender) || roleHas("admin", msg.sender), "Account is not a super user"); _; } /** * @dev Reverts if the address doesn't have this role */ modifier onlyRole(string memory _role) { require(roleHas(_role, msg.sender), "Account does not match the specified role"); _; } /// @dev Set the main Storage address constructor(address _stafiStorageAddress) public { // Update the contract address stafiStorage = IStafiStorage(_stafiStorageAddress); } /// @dev Get the address of a network contract by name function getContractAddress(string memory _contractName) internal view returns (address) { // Get the current contract address address contractAddress = getAddress(keccak256(abi.encodePacked("contract.address", _contractName))); // Check it require(contractAddress != address(0x0), "Contract not found"); // Return return contractAddress; } /// @dev Get the name of a network contract by address function getContractName(address _contractAddress) internal view returns (string memory) { // Get the contract name string memory contractName = getString(keccak256(abi.encodePacked("contract.name", _contractAddress))); // Check it require(keccak256(abi.encodePacked(contractName)) != keccak256(abi.encodePacked("")), "Contract not found"); // Return return contractName; } /// @dev Storage get methods function getAddress(bytes32 _key) internal view returns (address) { return stafiStorage.getAddress(_key); } function getUint(bytes32 _key) internal view returns (uint256) { return stafiStorage.getUint(_key); } function getString(bytes32 _key) internal view returns (string memory) { return stafiStorage.getString(_key); } function getBytes(bytes32 _key) internal view returns (bytes memory) { return stafiStorage.getBytes(_key); } function getBool(bytes32 _key) internal view returns (bool) { return stafiStorage.getBool(_key); } function getInt(bytes32 _key) internal view returns (int256) { return stafiStorage.getInt(_key); } function getBytes32(bytes32 _key) internal view returns (bytes32) { return stafiStorage.getBytes32(_key); } function getAddressS(string memory _key) internal view returns (address) { return stafiStorage.getAddress(keccak256(abi.encodePacked(_key))); } function getUintS(string memory _key) internal view returns (uint256) { return stafiStorage.getUint(keccak256(abi.encodePacked(_key))); } function getStringS(string memory _key) internal view returns (string memory) { return stafiStorage.getString(keccak256(abi.encodePacked(_key))); } function getBytesS(string memory _key) internal view returns (bytes memory) { return stafiStorage.getBytes(keccak256(abi.encodePacked(_key))); } function getBoolS(string memory _key) internal view returns (bool) { return stafiStorage.getBool(keccak256(abi.encodePacked(_key))); } function getIntS(string memory _key) internal view returns (int256) { return stafiStorage.getInt(keccak256(abi.encodePacked(_key))); } function getBytes32S(string memory _key) internal view returns (bytes32) { return stafiStorage.getBytes32(keccak256(abi.encodePacked(_key))); } /// @dev Storage set methods function setAddress(bytes32 _key, address _value) internal { stafiStorage.setAddress(_key, _value); } function setUint(bytes32 _key, uint256 _value) internal { stafiStorage.setUint(_key, _value); } function setString(bytes32 _key, string memory _value) internal { stafiStorage.setString(_key, _value); } function setBytes(bytes32 _key, bytes memory _value) internal { stafiStorage.setBytes(_key, _value); } function setBool(bytes32 _key, bool _value) internal { stafiStorage.setBool(_key, _value); } function setInt(bytes32 _key, int256 _value) internal { stafiStorage.setInt(_key, _value); } function setBytes32(bytes32 _key, bytes32 _value) internal { stafiStorage.setBytes32(_key, _value); } function setAddressS(string memory _key, address _value) internal { stafiStorage.setAddress(keccak256(abi.encodePacked(_key)), _value); } function setUintS(string memory _key, uint256 _value) internal { stafiStorage.setUint(keccak256(abi.encodePacked(_key)), _value); } function setStringS(string memory _key, string memory _value) internal { stafiStorage.setString(keccak256(abi.encodePacked(_key)), _value); } function setBytesS(string memory _key, bytes memory _value) internal { stafiStorage.setBytes(keccak256(abi.encodePacked(_key)), _value); } function setBoolS(string memory _key, bool _value) internal { stafiStorage.setBool(keccak256(abi.encodePacked(_key)), _value); } function setIntS(string memory _key, int256 _value) internal { stafiStorage.setInt(keccak256(abi.encodePacked(_key)), _value); } function setBytes32S(string memory _key, bytes32 _value) internal { stafiStorage.setBytes32(keccak256(abi.encodePacked(_key)), _value); } /// @dev Storage delete methods function deleteAddress(bytes32 _key) internal { stafiStorage.deleteAddress(_key); } function deleteUint(bytes32 _key) internal { stafiStorage.deleteUint(_key); } function deleteString(bytes32 _key) internal { stafiStorage.deleteString(_key); } function deleteBytes(bytes32 _key) internal { stafiStorage.deleteBytes(_key); } function deleteBool(bytes32 _key) internal { stafiStorage.deleteBool(_key); } function deleteInt(bytes32 _key) internal { stafiStorage.deleteInt(_key); } function deleteBytes32(bytes32 _key) internal { stafiStorage.deleteBytes32(_key); } function deleteAddressS(string memory _key) internal { stafiStorage.deleteAddress(keccak256(abi.encodePacked(_key))); } function deleteUintS(string memory _key) internal { stafiStorage.deleteUint(keccak256(abi.encodePacked(_key))); } function deleteStringS(string memory _key) internal { stafiStorage.deleteString(keccak256(abi.encodePacked(_key))); } function deleteBytesS(string memory _key) internal { stafiStorage.deleteBytes(keccak256(abi.encodePacked(_key))); } function deleteBoolS(string memory _key) internal { stafiStorage.deleteBool(keccak256(abi.encodePacked(_key))); } function deleteIntS(string memory _key) internal { stafiStorage.deleteInt(keccak256(abi.encodePacked(_key))); } function deleteBytes32S(string memory _key) internal { stafiStorage.deleteBytes32(keccak256(abi.encodePacked(_key))); } /** * @dev Check if an address has this role */ function roleHas(string memory _role, address _address) internal view returns (bool) { return getBool(keccak256(abi.encodePacked("access.role", _role, _address))); } } // rETH is backed by ETH (subject to liquidity) at a variable exchange rate contract RETHToken is StafiBase, ERC20PresetMinterPauser, IRETHToken { // Libs using SafeMath for uint256; // Events event EtherDeposited(address indexed from, uint256 amount, uint256 time); event TokensMinted(address indexed to, uint256 amount, uint256 ethAmount, uint256 time); event TokensBurned(address indexed from, uint256 amount, uint256 ethAmount, uint256 time); // Construct constructor(address _stafiStorageAddress) StafiBase(_stafiStorageAddress) ERC20PresetMinterPauser("StaFi", "rETH") public { version = 1; // Migrate from the old contract to the new contract _mint(address(0xB61959B37AADFF714Af150580559858483459b8E), 24132334000000000000); _mint(address(0xa7DeBb68F2684074Ec4354B68E36C34AF363Fd57), 1500000000000000000); _mint(address(0xBABf7e6b5bcE0BD749FD3C527374bEf8919cC7A9), 10000000000000000); } // Calculate the amount of ETH backing an amount of rETH function getEthValue(uint256 _rethAmount) override public view returns (uint256) { // Get network balances IStafiNetworkBalances stafiNetworkBalances = IStafiNetworkBalances(getContractAddress("stafiNetworkBalances")); uint256 totalEthBalance = stafiNetworkBalances.getTotalETHBalance(); uint256 rethSupply = stafiNetworkBalances.getTotalRETHSupply(); // Use 1:1 ratio if no rETH is minted if (rethSupply == 0) { return _rethAmount; } // Calculate and return return _rethAmount.mul(totalEthBalance).div(rethSupply); } // Calculate the amount of rETH backed by an amount of ETH function getRethValue(uint256 _ethAmount) override public view returns (uint256) { // Get network balances IStafiNetworkBalances stafiNetworkBalances = IStafiNetworkBalances(getContractAddress("stafiNetworkBalances")); uint256 totalEthBalance = stafiNetworkBalances.getTotalETHBalance(); uint256 rethSupply = stafiNetworkBalances.getTotalRETHSupply(); // Use 1:1 ratio if no rETH is minted if (rethSupply == 0) { return _ethAmount; } // Check network ETH balance require(totalEthBalance > 0, "Cannot calculate rETH token amount while total network balance is zero"); // Calculate and return return _ethAmount.mul(rethSupply).div(totalEthBalance); } // Get the current ETH : rETH exchange rate // Returns the amount of ETH backing 1 rETH function getExchangeRate() override public view returns (uint256) { return getEthValue(1 ether); } // Get the total amount of collateral available // Includes rETH contract balance & excess deposit pool balance function getTotalCollateral() override public view returns (uint256) { IStafiUserDeposit stafiUserDeposit = IStafiUserDeposit(getContractAddress("stafiUserDeposit")); return stafiUserDeposit.getExcessBalance().add(address(this).balance); } // Get the current ETH collateral rate // Returns the portion of rETH backed by ETH in the contract as a fraction of 1 ether function getCollateralRate() override public view returns (uint256) { uint256 calcBase = 1 ether; uint256 totalEthValue = getEthValue(totalSupply()); if (totalEthValue == 0) { return calcBase; } return calcBase.mul(address(this).balance).div(totalEthValue); } // Deposit ETH rewards // Only accepts calls from the StafiNetworkWithdrawal contract function depositRewards() override external payable onlyLatestContract("stafiNetworkWithdrawal", msg.sender) { // Emit ether deposited event emit EtherDeposited(msg.sender, msg.value, now); } // Deposit excess ETH from deposit pool // Only accepts calls from the StafiUserDeposit contract function depositExcess() override external payable onlyLatestContract("stafiUserDeposit", msg.sender) { // Emit ether deposited event emit EtherDeposited(msg.sender, msg.value, now); } // Mint rETH // Only accepts calls from the StafiUserDeposit contract function userMint(uint256 _ethAmount, address _to) override external onlyLatestContract("stafiUserDeposit", msg.sender) { // Get rETH amount uint256 rethAmount = getRethValue(_ethAmount); // Check rETH amount require(rethAmount > 0, "Invalid token mint amount"); // Update balance & supply _mint(_to, rethAmount); // Emit tokens minted event emit TokensMinted(_to, rethAmount, _ethAmount, now); } // Burn rETH for ETH function userBurn(uint256 _rethAmount) override external { // Check deposit settings require(getBurnEnabled(), "Burn is currently disabled"); // Check rETH amount require(_rethAmount > 0, "Invalid token burn amount"); require(balanceOf(msg.sender) >= _rethAmount, "Insufficient rETH balance"); // Get ETH amount uint256 ethAmount = getEthValue(_rethAmount); // Get & check ETH balance uint256 ethBalance = getTotalCollateral(); require(ethBalance >= ethAmount, "Insufficient ETH balance for exchange"); // Update balance & supply _burn(msg.sender, _rethAmount); // Withdraw ETH from deposit pool if required withdrawDepositCollateral(ethAmount); // Transfer ETH to sender msg.sender.transfer(ethAmount); // Emit tokens burned event emit TokensBurned(msg.sender, _rethAmount, ethAmount, now); } // Withdraw ETH from the deposit pool for collateral if required function withdrawDepositCollateral(uint256 _ethRequired) private { // Check rETH contract balance uint256 ethBalance = address(this).balance; if (ethBalance >= _ethRequired) { return; } // Withdraw IStafiUserDeposit stafiUserDeposit = IStafiUserDeposit(getContractAddress("stafiUserDeposit")); stafiUserDeposit.withdrawExcessBalance(_ethRequired.sub(ethBalance)); } // Burn currently enabled function getBurnEnabled() public view returns (bool) { return getBoolS("settings.reth.burn.enabled"); } function setBurnEnabled(bool _value) public onlySuperUser { setBoolS("settings.reth.burn.enabled", _value); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_stafiStorageAddress","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":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"EtherDeposited","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":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"TokensBurned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"TokensMinted","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":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","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":[],"name":"depositExcess","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"depositRewards","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"getBurnEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCollateralRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rethAmount","type":"uint256"}],"name":"getEthValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getExchangeRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ethAmount","type":"uint256"}],"name":"getRethValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"getTotalCollateral","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":"to","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":"bool","name":"_value","type":"bool"}],"name":"setBurnEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rethAmount","type":"uint256"}],"name":"userBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ethAmount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"userMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405260008060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200005257600080fd5b5060405162004b1c38038062004b1c833981810160405260208110156200007857600080fd5b81019080805190602001909291905050506040518060400160405280600581526020017f53746146690000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f724554480000000000000000000000000000000000000000000000000000000081525081818480600060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050816005908051906020019062000152929190620007b7565b5080600690805190602001906200016b929190620007b7565b506012600760006101000a81548160ff021916908360ff16021790555050506000600760016101000a81548160ff021916908315150217905550620001c96000801b620001bd620002f960201b60201c565b6200030160201b60201c565b6200020a7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6620001fe620002f960201b60201c565b6200030160201b60201c565b6200024b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6200023f620002f960201b60201c565b6200030160201b60201c565b505060016000806101000a81548160ff021916908360ff1602179055506200029773b61959b37aadff714af150580559858483459b8e68014ee745ea1714e0006200031760201b60201c565b620002c573a7debb68f2684074ec4354b68e36c34af363fd576714d1120d7b1600006200031760201b60201c565b620002f273babf7e6b5bce0bd749fd3c527374bef8919cc7a9662386f26fc100006200031760201b60201c565b506200085d565b600033905090565b620003138282620004f760201b60201c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620003bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b620003cf600083836200059b60201b60201c565b620003eb81600454620005b860201b6200266a1790919060201c565b6004819055506200044a81600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054620005b860201b6200266a1790919060201c565b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b6200052681600160008581526020019081526020016000206000016200064160201b620026f21790919060201c565b1562000597576200053c620002f960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b620005b38383836200067960201b620027221760201c565b505050565b60008082840190508381101562000637576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600062000671836000018373ffffffffffffffffffffffffffffffffffffffff1660001b620006fe60201b60201c565b905092915050565b620006918383836200077860201b620027901760201c565b620006a16200077d60201b60201c565b15620006f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018062004af2602a913960400191505060405180910390fd5b505050565b60006200071283836200079460201b60201c565b6200076d57826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905062000772565b600090505b92915050565b505050565b6000600760019054906101000a900460ff16905090565b600080836001016000848152602001908152602001600020541415905092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620007fa57805160ff19168380011785556200082b565b828001600101855582156200082b579182015b828111156200082a5782518255916020019190600101906200080d565b5b5090506200083a91906200083e565b5090565b5b80821115620008595760008160009055506001016200083f565b5090565b614285806200086d6000396000f3fe6080604052600436106102305760003560e01c806379cc67901161012e578063a9059cbb116100ab578063d6eb59101161006f578063d6eb591014610c77578063dd62ed3e14610ca2578063e63ab1e914610d27578063e6aa216c14610d52578063f8e80db314610d7d57610230565b8063a9059cbb14610ad6578063bff3a9f814610b47578063ca15c87314610ba2578063d539139314610bf1578063d547741f14610c1c57610230565b80639010d07c116100f25780639010d07c146108ca57806391d148541461093957806395d89b41146109aa578063a217fddf14610a3a578063a457c2d714610a6557610230565b806379cc6790146107a15780637b2c835f146107fc5780638456cb5914610839578063852185fc146108505780638b32fa231461087b57610230565b806339509351116101bc5780634964091911610180578063496409191461069c57806354fd4d50146106d75780635c975abb146107055780636c985a881461073257806370a082311461073c57610230565b8063395093511461052f5780633f4ba83a146105a057806340c10f19146105b757806342966c68146106125780634346f03e1461064d57610230565b806323b872dd1161020357806323b872dd1461036b578063248a9ca3146103fc5780632f2ff15d1461044b578063313ce567146104a657806336568abe146104d457610230565b806306fdde0314610235578063095ea7b3146102c5578063152111f71461033657806318160ddd14610340575b600080fd5b34801561024157600080fd5b5061024a610daa565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561028a57808201518184015260208101905061026f565b50505050905090810190601f1680156102b75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102d157600080fd5b5061031e600480360360408110156102e857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610e4c565b60405180821515815260200191505060405180910390f35b61033e610e6a565b005b34801561034c57600080fd5b5061035561103d565b6040518082815260200191505060405180910390f35b34801561037757600080fd5b506103e46004803603606081101561038e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611047565b60405180821515815260200191505060405180910390f35b34801561040857600080fd5b506104356004803603602081101561041f57600080fd5b8101908080359060200190929190505050611120565b6040518082815260200191505060405180910390f35b34801561045757600080fd5b506104a46004803603604081101561046e57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611140565b005b3480156104b257600080fd5b506104bb6111ca565b604051808260ff16815260200191505060405180910390f35b3480156104e057600080fd5b5061052d600480360360408110156104f757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111e1565b005b34801561053b57600080fd5b506105886004803603604081101561055257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061127a565b60405180821515815260200191505060405180910390f35b3480156105ac57600080fd5b506105b561132d565b005b3480156105c357600080fd5b50610610600480360360408110156105da57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506113bd565b005b34801561061e57600080fd5b5061064b6004803603602081101561063557600080fd5b8101908080359060200190929190505050611451565b005b34801561065957600080fd5b506106866004803603602081101561067057600080fd5b8101908080359060200190929190505050611465565b6040518082815260200191505060405180910390f35b3480156106a857600080fd5b506106d5600480360360208110156106bf57600080fd5b810190808035906020019092919050505061164f565b005b3480156106e357600080fd5b506106ec6118ec565b604051808260ff16815260200191505060405180910390f35b34801561071157600080fd5b5061071a6118fd565b60405180821515815260200191505060405180910390f35b61073a611914565b005b34801561074857600080fd5b5061078b6004803603602081101561075f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ae7565b6040518082815260200191505060405180910390f35b3480156107ad57600080fd5b506107fa600480360360408110156107c457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611b30565b005b34801561080857600080fd5b506108376004803603602081101561081f57600080fd5b81019080803515159060200190929190505050611b92565b005b34801561084557600080fd5b5061084e611ccb565b005b34801561085c57600080fd5b50610865611d5b565b6040518082815260200191505060405180910390f35b34801561088757600080fd5b506108b46004803603602081101561089e57600080fd5b8101908080359060200190929190505050611dbd565b6040518082815260200191505060405180910390f35b3480156108d657600080fd5b5061090d600480360360408110156108ed57600080fd5b810190808035906020019092919080359060200190929190505050611f4e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561094557600080fd5b506109926004803603604081101561095c57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611f80565b60405180821515815260200191505060405180910390f35b3480156109b657600080fd5b506109bf611fb2565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156109ff5780820151818401526020810190506109e4565b50505050905090810190601f168015610a2c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610a4657600080fd5b50610a4f612054565b6040518082815260200191505060405180910390f35b348015610a7157600080fd5b50610abe60048036036040811015610a8857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061205b565b60405180821515815260200191505060405180910390f35b348015610ae257600080fd5b50610b2f60048036036040811015610af957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612128565b60405180821515815260200191505060405180910390f35b348015610b5357600080fd5b50610ba060048036036040811015610b6a57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612146565b005b348015610bae57600080fd5b50610bdb60048036036020811015610bc557600080fd5b81019080803590602001909291905050506123b1565b6040518082815260200191505060405180910390f35b348015610bfd57600080fd5b50610c066123d8565b6040518082815260200191505060405180910390f35b348015610c2857600080fd5b50610c7560048036036040811015610c3f57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506123fc565b005b348015610c8357600080fd5b50610c8c612486565b6040518082815260200191505060405180910390f35b348015610cae57600080fd5b50610d1160048036036040811015610cc557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612562565b6040518082815260200191505060405180910390f35b348015610d3357600080fd5b50610d3c6125e9565b6040518082815260200191505060405180910390f35b348015610d5e57600080fd5b50610d6761260d565b6040518082815260200191505060405180910390f35b348015610d8957600080fd5b50610d92612625565b60405180821515815260200191505060405180910390f35b606060058054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610e425780601f10610e1757610100808354040283529160200191610e42565b820191906000526020600020905b815481529060010190602001808311610e2557829003601f168201915b5050505050905090565b6000610e60610e59612795565b848461279d565b6001905092915050565b6040518060400160405280601681526020017f73746166694e6574776f726b5769746864726177616c0000000000000000000081525033610f438260405160200180807f636f6e74726163742e616464726573730000000000000000000000000000000081525060100182805190602001908083835b60208310610f035780518252602082019150602081019050602083039250610ee0565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405280519060200120612994565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610fe3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f496e76616c6964206f72206f7574646174656420636f6e74726163740000000081525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167fef51b4c870b8b0100eae2072e91db01222a303072af3728e58c9d4d2da33127f3442604051808381526020018281526020019250505060405180910390a25050565b6000600454905090565b6000611054848484612a4a565b61111584611060612795565b6111108560405180606001604052806028815260200161406960289139600360008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006110c6612795565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612d0f9092919063ffffffff16565b61279d565b600190509392505050565b600060016000838152602001908152602001600020600201549050919050565b6111676001600084815260200190815260200160002060020154611162612795565b611f80565b6111bc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613f46602f913960400191505060405180910390fd5b6111c68282612dcf565b5050565b6000600760009054906101000a900460ff16905090565b6111e9612795565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461126c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806141f7602f913960400191505060405180910390fd5b6112768282612e63565b5050565b6000611323611287612795565b8461131e8560036000611298612795565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461266a90919063ffffffff16565b61279d565b6001905092915050565b61135e7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a611359612795565b611f80565b6113b3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526039815260200180613f976039913960400191505060405180910390fd5b6113bb612ef7565b565b6113ee7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66113e9612795565b611f80565b611443576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806140916036913960400191505060405180910390fd5b61144d8282612fea565b5050565b61146261145c612795565b826131b3565b50565b6000806114a66040518060400160405280601481526020017f73746166694e6574776f726b42616c616e636573000000000000000000000000815250613379565b905060008173ffffffffffffffffffffffffffffffffffffffff1663964d042c6040518163ffffffff1660e01b815260040160206040518083038186803b1580156114f057600080fd5b505afa158015611504573d6000803e3d6000fd5b505050506040513d602081101561151a57600080fd5b8101908080519060200190929190505050905060008273ffffffffffffffffffffffffffffffffffffffff1663c4c8d0ad6040518163ffffffff1660e01b815260040160206040518083038186803b15801561157557600080fd5b505afa158015611589573d6000803e3d6000fd5b505050506040513d602081101561159f57600080fd5b8101908080519060200190929190505050905060008114156115c65784935050505061164a565b6000821161161f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252604681526020018061418c6046913960600191505060405180910390fd5b6116448261163683886134cc90919063ffffffff16565b61355290919063ffffffff16565b93505050505b919050565b611657612625565b6116c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f4275726e2069732063757272656e746c792064697361626c656400000000000081525060200191505060405180910390fd5b6000811161173f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f496e76616c696420746f6b656e206275726e20616d6f756e740000000000000081525060200191505060405180910390fd5b8061174933611ae7565b10156117bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f496e73756666696369656e7420724554482062616c616e63650000000000000081525060200191505060405180910390fd5b60006117c882611dbd565b905060006117d4612486565b90508181101561182f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180613f216025913960400191505060405180910390fd5b61183933846131b3565b6118428261359c565b3373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611888573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff167f19783b34589160c168487dc7f9c51ae0bcefe67a47d6708fba90f6ce0366d3d184844260405180848152602001838152602001828152602001935050505060405180910390a2505050565b60008054906101000a900460ff1681565b6000600760019054906101000a900460ff16905090565b6040518060400160405280601081526020017f7374616669557365724465706f73697400000000000000000000000000000000815250336119ed8260405160200180807f636f6e74726163742e616464726573730000000000000000000000000000000081525060100182805190602001908083835b602083106119ad578051825260208201915060208101905060208303925061198a565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405280519060200120612994565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611a8d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f496e76616c6964206f72206f7574646174656420636f6e74726163740000000081525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167fef51b4c870b8b0100eae2072e91db01222a303072af3728e58c9d4d2da33127f3442604051808381526020018281526020019250505060405180910390a25050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000611b6f826040518060600160405280602481526020016140c760249139611b6086611b5b612795565b612562565b612d0f9092919063ffffffff16565b9050611b8383611b7d612795565b8361279d565b611b8d83836131b3565b505050565b611bd16040518060400160405280600581526020017f6f776e657200000000000000000000000000000000000000000000000000000081525033613673565b80611c175750611c166040518060400160405280600581526020017f61646d696e00000000000000000000000000000000000000000000000000000081525033613673565b5b611c89576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f4163636f756e74206973206e6f7420612073757065722075736572000000000081525060200191505060405180910390fd5b611cc86040518060400160405280601a81526020017f73657474696e67732e726574682e6275726e2e656e61626c656400000000000081525082613740565b50565b611cfc7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a611cf7612795565b611f80565b611d51576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260378152602001806141556037913960400191505060405180910390fd5b611d5961384c565b565b600080670de0b6b3a764000090506000611d7b611d7661103d565b611dbd565b90506000811415611d90578192505050611dba565b611db581611da747856134cc90919063ffffffff16565b61355290919063ffffffff16565b925050505b90565b600080611dfe6040518060400160405280601481526020017f73746166694e6574776f726b42616c616e636573000000000000000000000000815250613379565b905060008173ffffffffffffffffffffffffffffffffffffffff1663964d042c6040518163ffffffff1660e01b815260040160206040518083038186803b158015611e4857600080fd5b505afa158015611e5c573d6000803e3d6000fd5b505050506040513d6020811015611e7257600080fd5b8101908080519060200190929190505050905060008273ffffffffffffffffffffffffffffffffffffffff1663c4c8d0ad6040518163ffffffff1660e01b815260040160206040518083038186803b158015611ecd57600080fd5b505afa158015611ee1573d6000803e3d6000fd5b505050506040513d6020811015611ef757600080fd5b810190808051906020019092919050505090506000811415611f1e57849350505050611f49565b611f4381611f3584886134cc90919063ffffffff16565b61355290919063ffffffff16565b93505050505b919050565b6000611f78826001600086815260200190815260200160002060000161394090919063ffffffff16565b905092915050565b6000611faa826001600086815260200190815260200160002060000161395a90919063ffffffff16565b905092915050565b606060068054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561204a5780601f1061201f5761010080835404028352916020019161204a565b820191906000526020600020905b81548152906001019060200180831161202d57829003601f168201915b5050505050905090565b6000801b81565b600061211e612068612795565b84612119856040518060600160405280602581526020016141d26025913960036000612092612795565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612d0f9092919063ffffffff16565b61279d565b6001905092915050565b600061213c612135612795565b8484612a4a565b6001905092915050565b6040518060400160405280601081526020017f7374616669557365724465706f736974000000000000000000000000000000008152503361221f8260405160200180807f636f6e74726163742e616464726573730000000000000000000000000000000081525060100182805190602001908083835b602083106121df57805182526020820191506020810190506020830392506121bc565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405280519060200120612994565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146122bf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f496e76616c6964206f72206f7574646174656420636f6e74726163740000000081525060200191505060405180910390fd5b60006122ca85611465565b905060008111612342576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f496e76616c696420746f6b656e206d696e7420616d6f756e740000000000000081525060200191505060405180910390fd5b61234c8482612fea565b8373ffffffffffffffffffffffffffffffffffffffff167f6155cfd0fd028b0ca77e8495a60cbe563e8bce8611f0aad6fedbdaafc05d44a282874260405180848152602001838152602001828152602001935050505060405180910390a25050505050565b60006123d16001600084815260200190815260200160002060000161398a565b9050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b612423600160008481526020019081526020016000206002015461241e612795565b611f80565b612478576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806140186030913960400191505060405180910390fd5b6124828282612e63565b5050565b6000806124c76040518060400160405280601081526020017f7374616669557365724465706f73697400000000000000000000000000000000815250613379565b905061255c478273ffffffffffffffffffffffffffffffffffffffff1663888b042f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561251357600080fd5b505afa158015612527573d6000803e3d6000fd5b505050506040513d602081101561253d57600080fd5b810190808051906020019092919050505061266a90919063ffffffff16565b91505090565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6000612620670de0b6b3a7640000611dbd565b905090565b60006126656040518060400160405280601a81526020017f73657474696e67732e726574682e6275726e2e656e61626c656400000000000081525061399f565b905090565b6000808284019050838110156126e8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600061271a836000018373ffffffffffffffffffffffffffffffffffffffff1660001b613ac6565b905092915050565b61272d838383612790565b6127356118fd565b1561278b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614226602a913960400191505060405180910390fd5b505050565b505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612823576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806141316024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128a9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180613fd06022913960400191505060405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166321f8a721836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015612a0857600080fd5b505afa158015612a1c573d6000803e3d6000fd5b505050506040513d6020811015612a3257600080fd5b81019080805190602001909291905050509050919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612ad0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602581526020018061410c6025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180613efe6023913960400191505060405180910390fd5b612b61838383613b36565b612bcd81604051806060016040528060268152602001613ff260269139600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612d0f9092919063ffffffff16565b600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612c6281600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461266a90919063ffffffff16565b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b6000838311158290612dbc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612d81578082015181840152602081019050612d66565b50505050905090810190601f168015612dae5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b612df781600160008581526020019081526020016000206000016126f290919063ffffffff16565b15612e5f57612e04612795565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b612e8b8160016000858152602001908152602001600020600001613b4690919063ffffffff16565b15612ef357612e98612795565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600760019054906101000a900460ff16612f79576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b6000600760016101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612fbd612795565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561308d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b61309960008383613b36565b6130ae8160045461266a90919063ffffffff16565b60048190555061310681600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461266a90919063ffffffff16565b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613239576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806140eb6021913960400191505060405180910390fd5b61324582600083613b36565b6132b181604051806060016040528060228152602001613f7560229139600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612d0f9092919063ffffffff16565b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061330981600454613b7690919063ffffffff16565b600481905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b60008061341e8360405160200180807f636f6e74726163742e616464726573730000000000000000000000000000000081525060100182805190602001908083835b602083106133de57805182526020820191506020810190506020830392506133bb565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405280519060200120612994565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156134c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f436f6e7472616374206e6f7420666f756e64000000000000000000000000000081525060200191505060405180910390fd5b80915050919050565b6000808314156134df576000905061354c565b60008284029050828482816134f057fe5b0414613547576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806140486021913960400191505060405180910390fd5b809150505b92915050565b600061359483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613bc0565b905092915050565b60004790508181106135ae5750613670565b60006135ee6040518060400160405280601081526020017f7374616669557365724465706f73697400000000000000000000000000000000815250613379565b90508073ffffffffffffffffffffffffffffffffffffffff166363a5db9e61361f8486613b7690919063ffffffff16565b6040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561365557600080fd5b505af1158015613669573d6000803e3d6000fd5b5050505050505b50565b6000613738838360405160200180807f6163636573732e726f6c65000000000000000000000000000000000000000000815250600b0183805190602001908083835b602083106136d857805182526020820191506020810190506020830392506136b5565b6001836020036101000a0380198251168184511680821785525050505050509050018273ffffffffffffffffffffffffffffffffffffffff1660601b81526014019250505060405160208183030381529060405280519060200120613c86565b905092915050565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663abfdcced836040516020018082805190602001908083835b602083106137b55780518252602082019150602081019050602083039250613792565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405280519060200120836040518363ffffffff1660e01b815260040180838152602001821515815260200192505050600060405180830381600087803b15801561383057600080fd5b505af1158015613844573d6000803e3d6000fd5b505050505050565b600760019054906101000a900460ff16156138cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6001600760016101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613913612795565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b600061394f8360000183613d3c565b60001c905092915050565b6000613982836000018373ffffffffffffffffffffffffffffffffffffffff1660001b613dbf565b905092915050565b600061399882600001613de2565b9050919050565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637ae1cfca836040516020018082805190602001908083835b60208310613a1557805182526020820191506020810190506020830392506139f2565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015613a8457600080fd5b505afa158015613a98573d6000803e3d6000fd5b505050506040513d6020811015613aae57600080fd5b81019080805190602001909291905050509050919050565b6000613ad28383613dbf565b613b2b578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050613b30565b600090505b92915050565b613b41838383612722565b505050565b6000613b6e836000018373ffffffffffffffffffffffffffffffffffffffff1660001b613df3565b905092915050565b6000613bb883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612d0f565b905092915050565b60008083118290613c6c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613c31578082015181840152602081019050613c16565b50505050905090810190601f168015613c5e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581613c7857fe5b049050809150509392505050565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637ae1cfca836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015613cfa57600080fd5b505afa158015613d0e573d6000803e3d6000fd5b505050506040513d6020811015613d2457600080fd5b81019080805190602001909291905050509050919050565b600081836000018054905011613d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180613edc6022913960400191505060405180910390fd5b826000018281548110613dac57fe5b9060005260206000200154905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b600081600001805490509050919050565b60008083600101600084815260200190815260200160002054905060008114613ecf5760006001820390506000600186600001805490500390506000866000018281548110613e3e57fe5b9060005260206000200154905080876000018481548110613e5b57fe5b9060005260206000200181905550600183018760010160008381526020019081526020016000208190555086600001805480613e9357fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050613ed5565b60009150505b9291505056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f2061646472657373496e73756666696369656e74204554482062616c616e636520666f722065786368616e6765416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e7445524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332305072657365744d696e7465725061757365723a206d75737420686176652070617573657220726f6c6520746f20756e706175736545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b65536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332305072657365744d696e7465725061757365723a206d7573742068617665206d696e74657220726f6c6520746f206d696e7445524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332305072657365744d696e7465725061757365723a206d75737420686176652070617573657220726f6c6520746f20706175736543616e6e6f742063616c63756c617465207245544820746f6b656e20616d6f756e74207768696c6520746f74616c206e6574776f726b2062616c616e6365206973207a65726f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c6645524332305061757361626c653a20746f6b656e207472616e73666572207768696c6520706175736564a2646970667358221220ef503b29faa8e26fc3255577f044aef51342ac1f5d82e90dc9216f79388e83cf64736f6c634300060c003345524332305061757361626c653a20746f6b656e207472616e73666572207768696c65207061757365640000000000000000000000006c2f7b6110a37b3b0fbdd811876be368df02e8b0
Deployed Bytecode
0x6080604052600436106102305760003560e01c806379cc67901161012e578063a9059cbb116100ab578063d6eb59101161006f578063d6eb591014610c77578063dd62ed3e14610ca2578063e63ab1e914610d27578063e6aa216c14610d52578063f8e80db314610d7d57610230565b8063a9059cbb14610ad6578063bff3a9f814610b47578063ca15c87314610ba2578063d539139314610bf1578063d547741f14610c1c57610230565b80639010d07c116100f25780639010d07c146108ca57806391d148541461093957806395d89b41146109aa578063a217fddf14610a3a578063a457c2d714610a6557610230565b806379cc6790146107a15780637b2c835f146107fc5780638456cb5914610839578063852185fc146108505780638b32fa231461087b57610230565b806339509351116101bc5780634964091911610180578063496409191461069c57806354fd4d50146106d75780635c975abb146107055780636c985a881461073257806370a082311461073c57610230565b8063395093511461052f5780633f4ba83a146105a057806340c10f19146105b757806342966c68146106125780634346f03e1461064d57610230565b806323b872dd1161020357806323b872dd1461036b578063248a9ca3146103fc5780632f2ff15d1461044b578063313ce567146104a657806336568abe146104d457610230565b806306fdde0314610235578063095ea7b3146102c5578063152111f71461033657806318160ddd14610340575b600080fd5b34801561024157600080fd5b5061024a610daa565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561028a57808201518184015260208101905061026f565b50505050905090810190601f1680156102b75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102d157600080fd5b5061031e600480360360408110156102e857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610e4c565b60405180821515815260200191505060405180910390f35b61033e610e6a565b005b34801561034c57600080fd5b5061035561103d565b6040518082815260200191505060405180910390f35b34801561037757600080fd5b506103e46004803603606081101561038e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611047565b60405180821515815260200191505060405180910390f35b34801561040857600080fd5b506104356004803603602081101561041f57600080fd5b8101908080359060200190929190505050611120565b6040518082815260200191505060405180910390f35b34801561045757600080fd5b506104a46004803603604081101561046e57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611140565b005b3480156104b257600080fd5b506104bb6111ca565b604051808260ff16815260200191505060405180910390f35b3480156104e057600080fd5b5061052d600480360360408110156104f757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111e1565b005b34801561053b57600080fd5b506105886004803603604081101561055257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061127a565b60405180821515815260200191505060405180910390f35b3480156105ac57600080fd5b506105b561132d565b005b3480156105c357600080fd5b50610610600480360360408110156105da57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506113bd565b005b34801561061e57600080fd5b5061064b6004803603602081101561063557600080fd5b8101908080359060200190929190505050611451565b005b34801561065957600080fd5b506106866004803603602081101561067057600080fd5b8101908080359060200190929190505050611465565b6040518082815260200191505060405180910390f35b3480156106a857600080fd5b506106d5600480360360208110156106bf57600080fd5b810190808035906020019092919050505061164f565b005b3480156106e357600080fd5b506106ec6118ec565b604051808260ff16815260200191505060405180910390f35b34801561071157600080fd5b5061071a6118fd565b60405180821515815260200191505060405180910390f35b61073a611914565b005b34801561074857600080fd5b5061078b6004803603602081101561075f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ae7565b6040518082815260200191505060405180910390f35b3480156107ad57600080fd5b506107fa600480360360408110156107c457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611b30565b005b34801561080857600080fd5b506108376004803603602081101561081f57600080fd5b81019080803515159060200190929190505050611b92565b005b34801561084557600080fd5b5061084e611ccb565b005b34801561085c57600080fd5b50610865611d5b565b6040518082815260200191505060405180910390f35b34801561088757600080fd5b506108b46004803603602081101561089e57600080fd5b8101908080359060200190929190505050611dbd565b6040518082815260200191505060405180910390f35b3480156108d657600080fd5b5061090d600480360360408110156108ed57600080fd5b810190808035906020019092919080359060200190929190505050611f4e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561094557600080fd5b506109926004803603604081101561095c57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611f80565b60405180821515815260200191505060405180910390f35b3480156109b657600080fd5b506109bf611fb2565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156109ff5780820151818401526020810190506109e4565b50505050905090810190601f168015610a2c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610a4657600080fd5b50610a4f612054565b6040518082815260200191505060405180910390f35b348015610a7157600080fd5b50610abe60048036036040811015610a8857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061205b565b60405180821515815260200191505060405180910390f35b348015610ae257600080fd5b50610b2f60048036036040811015610af957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612128565b60405180821515815260200191505060405180910390f35b348015610b5357600080fd5b50610ba060048036036040811015610b6a57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612146565b005b348015610bae57600080fd5b50610bdb60048036036020811015610bc557600080fd5b81019080803590602001909291905050506123b1565b6040518082815260200191505060405180910390f35b348015610bfd57600080fd5b50610c066123d8565b6040518082815260200191505060405180910390f35b348015610c2857600080fd5b50610c7560048036036040811015610c3f57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506123fc565b005b348015610c8357600080fd5b50610c8c612486565b6040518082815260200191505060405180910390f35b348015610cae57600080fd5b50610d1160048036036040811015610cc557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612562565b6040518082815260200191505060405180910390f35b348015610d3357600080fd5b50610d3c6125e9565b6040518082815260200191505060405180910390f35b348015610d5e57600080fd5b50610d6761260d565b6040518082815260200191505060405180910390f35b348015610d8957600080fd5b50610d92612625565b60405180821515815260200191505060405180910390f35b606060058054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610e425780601f10610e1757610100808354040283529160200191610e42565b820191906000526020600020905b815481529060010190602001808311610e2557829003601f168201915b5050505050905090565b6000610e60610e59612795565b848461279d565b6001905092915050565b6040518060400160405280601681526020017f73746166694e6574776f726b5769746864726177616c0000000000000000000081525033610f438260405160200180807f636f6e74726163742e616464726573730000000000000000000000000000000081525060100182805190602001908083835b60208310610f035780518252602082019150602081019050602083039250610ee0565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405280519060200120612994565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610fe3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f496e76616c6964206f72206f7574646174656420636f6e74726163740000000081525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167fef51b4c870b8b0100eae2072e91db01222a303072af3728e58c9d4d2da33127f3442604051808381526020018281526020019250505060405180910390a25050565b6000600454905090565b6000611054848484612a4a565b61111584611060612795565b6111108560405180606001604052806028815260200161406960289139600360008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006110c6612795565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612d0f9092919063ffffffff16565b61279d565b600190509392505050565b600060016000838152602001908152602001600020600201549050919050565b6111676001600084815260200190815260200160002060020154611162612795565b611f80565b6111bc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613f46602f913960400191505060405180910390fd5b6111c68282612dcf565b5050565b6000600760009054906101000a900460ff16905090565b6111e9612795565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461126c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806141f7602f913960400191505060405180910390fd5b6112768282612e63565b5050565b6000611323611287612795565b8461131e8560036000611298612795565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461266a90919063ffffffff16565b61279d565b6001905092915050565b61135e7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a611359612795565b611f80565b6113b3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526039815260200180613f976039913960400191505060405180910390fd5b6113bb612ef7565b565b6113ee7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66113e9612795565b611f80565b611443576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806140916036913960400191505060405180910390fd5b61144d8282612fea565b5050565b61146261145c612795565b826131b3565b50565b6000806114a66040518060400160405280601481526020017f73746166694e6574776f726b42616c616e636573000000000000000000000000815250613379565b905060008173ffffffffffffffffffffffffffffffffffffffff1663964d042c6040518163ffffffff1660e01b815260040160206040518083038186803b1580156114f057600080fd5b505afa158015611504573d6000803e3d6000fd5b505050506040513d602081101561151a57600080fd5b8101908080519060200190929190505050905060008273ffffffffffffffffffffffffffffffffffffffff1663c4c8d0ad6040518163ffffffff1660e01b815260040160206040518083038186803b15801561157557600080fd5b505afa158015611589573d6000803e3d6000fd5b505050506040513d602081101561159f57600080fd5b8101908080519060200190929190505050905060008114156115c65784935050505061164a565b6000821161161f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252604681526020018061418c6046913960600191505060405180910390fd5b6116448261163683886134cc90919063ffffffff16565b61355290919063ffffffff16565b93505050505b919050565b611657612625565b6116c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f4275726e2069732063757272656e746c792064697361626c656400000000000081525060200191505060405180910390fd5b6000811161173f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f496e76616c696420746f6b656e206275726e20616d6f756e740000000000000081525060200191505060405180910390fd5b8061174933611ae7565b10156117bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f496e73756666696369656e7420724554482062616c616e63650000000000000081525060200191505060405180910390fd5b60006117c882611dbd565b905060006117d4612486565b90508181101561182f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180613f216025913960400191505060405180910390fd5b61183933846131b3565b6118428261359c565b3373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611888573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff167f19783b34589160c168487dc7f9c51ae0bcefe67a47d6708fba90f6ce0366d3d184844260405180848152602001838152602001828152602001935050505060405180910390a2505050565b60008054906101000a900460ff1681565b6000600760019054906101000a900460ff16905090565b6040518060400160405280601081526020017f7374616669557365724465706f73697400000000000000000000000000000000815250336119ed8260405160200180807f636f6e74726163742e616464726573730000000000000000000000000000000081525060100182805190602001908083835b602083106119ad578051825260208201915060208101905060208303925061198a565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405280519060200120612994565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611a8d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f496e76616c6964206f72206f7574646174656420636f6e74726163740000000081525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167fef51b4c870b8b0100eae2072e91db01222a303072af3728e58c9d4d2da33127f3442604051808381526020018281526020019250505060405180910390a25050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000611b6f826040518060600160405280602481526020016140c760249139611b6086611b5b612795565b612562565b612d0f9092919063ffffffff16565b9050611b8383611b7d612795565b8361279d565b611b8d83836131b3565b505050565b611bd16040518060400160405280600581526020017f6f776e657200000000000000000000000000000000000000000000000000000081525033613673565b80611c175750611c166040518060400160405280600581526020017f61646d696e00000000000000000000000000000000000000000000000000000081525033613673565b5b611c89576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f4163636f756e74206973206e6f7420612073757065722075736572000000000081525060200191505060405180910390fd5b611cc86040518060400160405280601a81526020017f73657474696e67732e726574682e6275726e2e656e61626c656400000000000081525082613740565b50565b611cfc7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a611cf7612795565b611f80565b611d51576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260378152602001806141556037913960400191505060405180910390fd5b611d5961384c565b565b600080670de0b6b3a764000090506000611d7b611d7661103d565b611dbd565b90506000811415611d90578192505050611dba565b611db581611da747856134cc90919063ffffffff16565b61355290919063ffffffff16565b925050505b90565b600080611dfe6040518060400160405280601481526020017f73746166694e6574776f726b42616c616e636573000000000000000000000000815250613379565b905060008173ffffffffffffffffffffffffffffffffffffffff1663964d042c6040518163ffffffff1660e01b815260040160206040518083038186803b158015611e4857600080fd5b505afa158015611e5c573d6000803e3d6000fd5b505050506040513d6020811015611e7257600080fd5b8101908080519060200190929190505050905060008273ffffffffffffffffffffffffffffffffffffffff1663c4c8d0ad6040518163ffffffff1660e01b815260040160206040518083038186803b158015611ecd57600080fd5b505afa158015611ee1573d6000803e3d6000fd5b505050506040513d6020811015611ef757600080fd5b810190808051906020019092919050505090506000811415611f1e57849350505050611f49565b611f4381611f3584886134cc90919063ffffffff16565b61355290919063ffffffff16565b93505050505b919050565b6000611f78826001600086815260200190815260200160002060000161394090919063ffffffff16565b905092915050565b6000611faa826001600086815260200190815260200160002060000161395a90919063ffffffff16565b905092915050565b606060068054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561204a5780601f1061201f5761010080835404028352916020019161204a565b820191906000526020600020905b81548152906001019060200180831161202d57829003601f168201915b5050505050905090565b6000801b81565b600061211e612068612795565b84612119856040518060600160405280602581526020016141d26025913960036000612092612795565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612d0f9092919063ffffffff16565b61279d565b6001905092915050565b600061213c612135612795565b8484612a4a565b6001905092915050565b6040518060400160405280601081526020017f7374616669557365724465706f736974000000000000000000000000000000008152503361221f8260405160200180807f636f6e74726163742e616464726573730000000000000000000000000000000081525060100182805190602001908083835b602083106121df57805182526020820191506020810190506020830392506121bc565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405280519060200120612994565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146122bf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f496e76616c6964206f72206f7574646174656420636f6e74726163740000000081525060200191505060405180910390fd5b60006122ca85611465565b905060008111612342576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f496e76616c696420746f6b656e206d696e7420616d6f756e740000000000000081525060200191505060405180910390fd5b61234c8482612fea565b8373ffffffffffffffffffffffffffffffffffffffff167f6155cfd0fd028b0ca77e8495a60cbe563e8bce8611f0aad6fedbdaafc05d44a282874260405180848152602001838152602001828152602001935050505060405180910390a25050505050565b60006123d16001600084815260200190815260200160002060000161398a565b9050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b612423600160008481526020019081526020016000206002015461241e612795565b611f80565b612478576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806140186030913960400191505060405180910390fd5b6124828282612e63565b5050565b6000806124c76040518060400160405280601081526020017f7374616669557365724465706f73697400000000000000000000000000000000815250613379565b905061255c478273ffffffffffffffffffffffffffffffffffffffff1663888b042f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561251357600080fd5b505afa158015612527573d6000803e3d6000fd5b505050506040513d602081101561253d57600080fd5b810190808051906020019092919050505061266a90919063ffffffff16565b91505090565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6000612620670de0b6b3a7640000611dbd565b905090565b60006126656040518060400160405280601a81526020017f73657474696e67732e726574682e6275726e2e656e61626c656400000000000081525061399f565b905090565b6000808284019050838110156126e8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600061271a836000018373ffffffffffffffffffffffffffffffffffffffff1660001b613ac6565b905092915050565b61272d838383612790565b6127356118fd565b1561278b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614226602a913960400191505060405180910390fd5b505050565b505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612823576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806141316024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128a9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180613fd06022913960400191505060405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166321f8a721836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015612a0857600080fd5b505afa158015612a1c573d6000803e3d6000fd5b505050506040513d6020811015612a3257600080fd5b81019080805190602001909291905050509050919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612ad0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602581526020018061410c6025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180613efe6023913960400191505060405180910390fd5b612b61838383613b36565b612bcd81604051806060016040528060268152602001613ff260269139600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612d0f9092919063ffffffff16565b600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612c6281600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461266a90919063ffffffff16565b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b6000838311158290612dbc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612d81578082015181840152602081019050612d66565b50505050905090810190601f168015612dae5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b612df781600160008581526020019081526020016000206000016126f290919063ffffffff16565b15612e5f57612e04612795565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b612e8b8160016000858152602001908152602001600020600001613b4690919063ffffffff16565b15612ef357612e98612795565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600760019054906101000a900460ff16612f79576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b6000600760016101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612fbd612795565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561308d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b61309960008383613b36565b6130ae8160045461266a90919063ffffffff16565b60048190555061310681600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461266a90919063ffffffff16565b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613239576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806140eb6021913960400191505060405180910390fd5b61324582600083613b36565b6132b181604051806060016040528060228152602001613f7560229139600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612d0f9092919063ffffffff16565b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061330981600454613b7690919063ffffffff16565b600481905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b60008061341e8360405160200180807f636f6e74726163742e616464726573730000000000000000000000000000000081525060100182805190602001908083835b602083106133de57805182526020820191506020810190506020830392506133bb565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405280519060200120612994565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156134c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f436f6e7472616374206e6f7420666f756e64000000000000000000000000000081525060200191505060405180910390fd5b80915050919050565b6000808314156134df576000905061354c565b60008284029050828482816134f057fe5b0414613547576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806140486021913960400191505060405180910390fd5b809150505b92915050565b600061359483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613bc0565b905092915050565b60004790508181106135ae5750613670565b60006135ee6040518060400160405280601081526020017f7374616669557365724465706f73697400000000000000000000000000000000815250613379565b90508073ffffffffffffffffffffffffffffffffffffffff166363a5db9e61361f8486613b7690919063ffffffff16565b6040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561365557600080fd5b505af1158015613669573d6000803e3d6000fd5b5050505050505b50565b6000613738838360405160200180807f6163636573732e726f6c65000000000000000000000000000000000000000000815250600b0183805190602001908083835b602083106136d857805182526020820191506020810190506020830392506136b5565b6001836020036101000a0380198251168184511680821785525050505050509050018273ffffffffffffffffffffffffffffffffffffffff1660601b81526014019250505060405160208183030381529060405280519060200120613c86565b905092915050565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663abfdcced836040516020018082805190602001908083835b602083106137b55780518252602082019150602081019050602083039250613792565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405280519060200120836040518363ffffffff1660e01b815260040180838152602001821515815260200192505050600060405180830381600087803b15801561383057600080fd5b505af1158015613844573d6000803e3d6000fd5b505050505050565b600760019054906101000a900460ff16156138cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6001600760016101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613913612795565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b600061394f8360000183613d3c565b60001c905092915050565b6000613982836000018373ffffffffffffffffffffffffffffffffffffffff1660001b613dbf565b905092915050565b600061399882600001613de2565b9050919050565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637ae1cfca836040516020018082805190602001908083835b60208310613a1557805182526020820191506020810190506020830392506139f2565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015613a8457600080fd5b505afa158015613a98573d6000803e3d6000fd5b505050506040513d6020811015613aae57600080fd5b81019080805190602001909291905050509050919050565b6000613ad28383613dbf565b613b2b578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050613b30565b600090505b92915050565b613b41838383612722565b505050565b6000613b6e836000018373ffffffffffffffffffffffffffffffffffffffff1660001b613df3565b905092915050565b6000613bb883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612d0f565b905092915050565b60008083118290613c6c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613c31578082015181840152602081019050613c16565b50505050905090810190601f168015613c5e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581613c7857fe5b049050809150509392505050565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637ae1cfca836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015613cfa57600080fd5b505afa158015613d0e573d6000803e3d6000fd5b505050506040513d6020811015613d2457600080fd5b81019080805190602001909291905050509050919050565b600081836000018054905011613d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180613edc6022913960400191505060405180910390fd5b826000018281548110613dac57fe5b9060005260206000200154905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b600081600001805490509050919050565b60008083600101600084815260200190815260200160002054905060008114613ecf5760006001820390506000600186600001805490500390506000866000018281548110613e3e57fe5b9060005260206000200154905080876000018481548110613e5b57fe5b9060005260206000200181905550600183018760010160008381526020019081526020016000208190555086600001805480613e9357fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050613ed5565b60009150505b9291505056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f2061646472657373496e73756666696369656e74204554482062616c616e636520666f722065786368616e6765416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e7445524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332305072657365744d696e7465725061757365723a206d75737420686176652070617573657220726f6c6520746f20756e706175736545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b65536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332305072657365744d696e7465725061757365723a206d7573742068617665206d696e74657220726f6c6520746f206d696e7445524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332305072657365744d696e7465725061757365723a206d75737420686176652070617573657220726f6c6520746f20706175736543616e6e6f742063616c63756c617465207245544820746f6b656e20616d6f756e74207768696c6520746f74616c206e6574776f726b2062616c616e6365206973207a65726f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c6645524332305061757361626c653a20746f6b656e207472616e73666572207768696c6520706175736564a2646970667358221220ef503b29faa8e26fc3255577f044aef51342ac1f5d82e90dc9216f79388e83cf64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000006c2f7b6110a37b3b0fbdd811876be368df02e8b0
-----Decoded View---------------
Arg [0] : _stafiStorageAddress (address): 0x6c2f7b6110a37b3B0fbdd811876be368df02E8B0
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000006c2f7b6110a37b3b0fbdd811876be368df02e8b0
Deployed Bytecode Sourcemap
53799:6440:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28036:83;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30142:169;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;57348:214;;;:::i;:::-;;29111:100;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;30785:321;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;21268:114;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21644:227;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;28963:83;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;22853:209;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;31515:218;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;41558:178;;;;;;;;;;;;;:::i;:::-;;40749:205;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;37016:91;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;55448:743;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;58481:960;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;44903:20;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;38263:78;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;57677:207;;;:::i;:::-;;29274:119;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37426:295;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;60111:123;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;41168:172;;;;;;;;;;;;;:::i;:::-;;56944:300;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;54782:594;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20941:138;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;19902:139;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;28238:87;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18647:49;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;32236:269;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;29606:175;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;57972:475;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;20215:127;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;39984:62;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22116:230;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;56539:262;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29844:151;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;40053:62;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;56297:112;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;59982:117;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;28036:83;28073:13;28106:5;28099:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28036:83;:::o;30142:169::-;30225:4;30242:39;30251:12;:10;:12::i;:::-;30265:7;30274:6;30242:8;:39::i;:::-;30299:4;30292:11;;30142:169;;;;:::o;57348:214::-;45511:249;;;;;;;;;;;;;;;;;57445:10;45633:74;45691:13;45654:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45644:62;;;;;;45633:10;:74::i;:::-;45613:94;;:16;:94;;;45605:135;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57527:10:::1;57512:42;;;57539:9;57550:3;57512:42;;;;;;;;;;;;;;;;;;;;;;;;57348:214:::0;;:::o;29111:100::-;29164:7;29191:12;;29184:19;;29111:100;:::o;30785:321::-;30891:4;30908:36;30918:6;30926:9;30937:6;30908:9;:36::i;:::-;30955:121;30964:6;30972:12;:10;:12::i;:::-;30986:89;31024:6;30986:89;;;;;;;;;;;;;;;;;:11;:19;30998:6;30986:19;;;;;;;;;;;;;;;:33;31006:12;:10;:12::i;:::-;30986:33;;;;;;;;;;;;;;;;:37;;:89;;;;;:::i;:::-;30955:8;:121::i;:::-;31094:4;31087:11;;30785:321;;;;;:::o;21268:114::-;21325:7;21352:6;:12;21359:4;21352:12;;;;;;;;;;;:22;;;21345:29;;21268:114;;;:::o;21644:227::-;21728:45;21736:6;:12;21743:4;21736:12;;;;;;;;;;;:22;;;21760:12;:10;:12::i;:::-;21728:7;:45::i;:::-;21720:105;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21838:25;21849:4;21855:7;21838:10;:25::i;:::-;21644:227;;:::o;28963:83::-;29004:5;29029:9;;;;;;;;;;;29022:16;;28963:83;:::o;22853:209::-;22951:12;:10;:12::i;:::-;22940:23;;:7;:23;;;22932:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23028:26;23040:4;23046:7;23028:11;:26::i;:::-;22853:209;;:::o;31515:218::-;31603:4;31620:83;31629:12;:10;:12::i;:::-;31643:7;31652:50;31691:10;31652:11;:25;31664:12;:10;:12::i;:::-;31652:25;;;;;;;;;;;;;;;:34;31678:7;31652:34;;;;;;;;;;;;;;;;:38;;:50;;;;:::i;:::-;31620:8;:83::i;:::-;31721:4;31714:11;;31515:218;;;;:::o;41558:178::-;41611:34;40091:24;41632:12;:10;:12::i;:::-;41611:7;:34::i;:::-;41603:104;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41718:10;:8;:10::i;:::-;41558:178::o;40749:205::-;40825:34;40022:24;40846:12;:10;:12::i;:::-;40825:7;:34::i;:::-;40817:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40929:17;40935:2;40939:6;40929:5;:17::i;:::-;40749:205;;:::o;37016:91::-;37072:27;37078:12;:10;:12::i;:::-;37092:6;37072:5;:27::i;:::-;37016:91;:::o;55448:743::-;55520:7;55573:42;55640;;;;;;;;;;;;;;;;;;:18;:42::i;:::-;55573:110;;55694:23;55720:20;:39;;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55694:67;;55772:18;55793:20;:39;;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55772:62;;55910:1;55896:10;:15;55892:43;;;55922:10;55915:17;;;;;;;55892:43;56009:1;55991:15;:19;55983:102;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56136:47;56167:15;56136:26;56151:10;56136;:14;;:26;;;;:::i;:::-;:30;;:47;;;;:::i;:::-;56129:54;;;;;55448:743;;;;:::o;58481:960::-;58592:16;:14;:16::i;:::-;58584:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58702:1;58688:11;:15;58680:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58777:11;58752:21;58762:10;58752:9;:21::i;:::-;:36;;58744:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58856:17;58876:24;58888:11;58876;:24::i;:::-;58856:44;;58947:18;58968:20;:18;:20::i;:::-;58947:41;;59021:9;59007:10;:23;;58999:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59119:30;59125:10;59137:11;59119:5;:30::i;:::-;59215:36;59241:9;59215:25;:36::i;:::-;59297:10;:19;;:30;59317:9;59297:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59393:10;59380:53;;;59405:11;59418:9;59429:3;59380:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58481:960;;;:::o;44903:20::-;;;;;;;;;;;;:::o;38263:78::-;38302:4;38326:7;;;;;;;;;;;38319:14;;38263:78;:::o;57677:207::-;45511:249;;;;;;;;;;;;;;;;;57767:10;45633:74;45691:13;45654:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45644:62;;;;;;45633:10;:74::i;:::-;45613:94;;:16;:94;;;45605:135;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57849:10:::1;57834:42;;;57861:9;57872:3;57834:42;;;;;;;;;;;;;;;;;;;;;;;;57677:207:::0;;:::o;29274:119::-;29340:7;29367:9;:18;29377:7;29367:18;;;;;;;;;;;;;;;;29360:25;;29274:119;;;:::o;37426:295::-;37503:26;37532:84;37569:6;37532:84;;;;;;;;;;;;;;;;;:32;37542:7;37551:12;:10;:12::i;:::-;37532:9;:32::i;:::-;:36;;:84;;;;;:::i;:::-;37503:113;;37629:51;37638:7;37647:12;:10;:12::i;:::-;37661:18;37629:8;:51::i;:::-;37691:22;37697:7;37706:6;37691:5;:22::i;:::-;37426:295;;;:::o;60111:123::-;46865:28;;;;;;;;;;;;;;;;;;46882:10;46865:7;:28::i;:::-;:60;;;;46897:28;;;;;;;;;;;;;;;;;;46914:10;46897:7;:28::i;:::-;46865:60;46857:100;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60180:46:::1;;;;;;;;;;;;;;;;;::::0;60219:6:::1;60180:8;:46::i;:::-;60111:123:::0;:::o;41168:172::-;41219:34;40091:24;41240:12;:10;:12::i;:::-;41219:7;:34::i;:::-;41211:102;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41324:8;:6;:8::i;:::-;41168:172::o;56944:300::-;57003:7;57023:16;57042:7;57023:26;;57060:21;57084:26;57096:13;:11;:13::i;:::-;57084:11;:26::i;:::-;57060:50;;57142:1;57125:13;:18;57121:44;;;57154:8;57147:15;;;;;;57121:44;57182:54;57222:13;57182:35;57195:21;57182:8;:12;;:35;;;;:::i;:::-;:39;;:54;;;;:::i;:::-;57175:61;;;;56944:300;;:::o;54782:594::-;54854:7;54907:42;54974;;;;;;;;;;;;;;;;;;:18;:42::i;:::-;54907:110;;55028:23;55054:20;:39;;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55028:67;;55106:18;55127:20;:39;;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55106:62;;55244:1;55230:10;:15;55226:44;;;55256:11;55249:18;;;;;;;55226:44;55320:48;55357:10;55320:32;55336:15;55320:11;:15;;:32;;;;:::i;:::-;:36;;:48;;;;:::i;:::-;55313:55;;;;;54782:594;;;;:::o;20941:138::-;21014:7;21041:30;21065:5;21041:6;:12;21048:4;21041:12;;;;;;;;;;;:20;;:23;;:30;;;;:::i;:::-;21034:37;;20941:138;;;;:::o;19902:139::-;19971:4;19995:38;20025:7;19995:6;:12;20002:4;19995:12;;;;;;;;;;;:20;;:29;;:38;;;;:::i;:::-;19988:45;;19902:139;;;;:::o;28238:87::-;28277:13;28310:7;28303:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28238:87;:::o;18647:49::-;18692:4;18647:49;;;:::o;32236:269::-;32329:4;32346:129;32355:12;:10;:12::i;:::-;32369:7;32378:96;32417:15;32378:96;;;;;;;;;;;;;;;;;:11;:25;32390:12;:10;:12::i;:::-;32378:25;;;;;;;;;;;;;;;:34;32404:7;32378:34;;;;;;;;;;;;;;;;:38;;:96;;;;;:::i;:::-;32346:8;:129::i;:::-;32493:4;32486:11;;32236:269;;;;:::o;29606:175::-;29692:4;29709:42;29719:12;:10;:12::i;:::-;29733:9;29744:6;29709:9;:42::i;:::-;29769:4;29762:11;;29606:175;;;;:::o;57972:475::-;45511:249;;;;;;;;;;;;;;;;;58080:10;45633:74;45691:13;45654:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45644:62;;;;;;45633:10;:74::i;:::-;45613:94;;:16;:94;;;45605:135;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58131:18:::1;58152:24;58165:10;58152:12;:24::i;:::-;58131:45;;58238:1;58225:10;:14;58217:52;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;58318:22;58324:3;58329:10;58318:5;:22::i;:::-;58406:3;58393:46;;;58411:10;58423;58435:3;58393:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45751:1;57972:475:::0;;;;:::o;20215:127::-;20278:7;20305:29;:6;:12;20312:4;20305:12;;;;;;;;;;;:20;;:27;:29::i;:::-;20298:36;;20215:127;;;:::o;39984:62::-;40022:24;39984:62;:::o;22116:230::-;22201:45;22209:6;:12;22216:4;22209:12;;;;;;;;;;;:22;;;22233:12;:10;:12::i;:::-;22201:7;:45::i;:::-;22193:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22312:26;22324:4;22330:7;22312:11;:26::i;:::-;22116:230;;:::o;56539:262::-;56599:7;56619:34;56674:38;;;;;;;;;;;;;;;;;;:18;:38::i;:::-;56619:94;;56731:62;56771:21;56731:16;:33;;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:39;;:62;;;;:::i;:::-;56724:69;;;56539:262;:::o;29844:151::-;29933:7;29960:11;:18;29972:5;29960:18;;;;;;;;;;;;;;;:27;29979:7;29960:27;;;;;;;;;;;;;;;;29953:34;;29844:151;;;;:::o;40053:62::-;40091:24;40053:62;:::o;56297:112::-;56354:7;56381:20;56393:7;56381:11;:20::i;:::-;56374:27;;56297:112;:::o;59982:117::-;60029:4;60053:38;;;;;;;;;;;;;;;;;;:8;:38::i;:::-;60046:45;;59982:117;:::o;334:181::-;392:7;412:9;428:1;424;:5;412:17;;453:1;448;:6;;440:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;506:1;499:8;;;334:181;;;;:::o;9052:143::-;9122:4;9146:41;9151:3;:10;;9179:5;9171:14;;9163:23;;9146:4;:41::i;:::-;9139:48;;9052:143;;;;:::o;39643:238::-;39752:44;39779:4;39785:2;39789:6;39752:26;:44::i;:::-;39818:8;:6;:8::i;:::-;39817:9;39809:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39643:238;;;:::o;36752:92::-;;;;:::o;17998:106::-;18051:15;18086:10;18079:17;;17998:106;:::o;35381:346::-;35500:1;35483:19;;:5;:19;;;;35475:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35581:1;35562:21;;:7;:21;;;;35554:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35665:6;35635:11;:18;35647:5;35635:18;;;;;;;;;;;;;;;:27;35654:7;35635:27;;;;;;;;;;;;;;;:36;;;;35703:7;35687:32;;35696:5;35687:32;;;35712:6;35687:32;;;;;;;;;;;;;;;;;;35381:346;;;:::o;48438:107::-;48495:7;48513:12;;;;;;;;;;;:23;;;48537:4;48513:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48506:36;;48438:107;;;:::o;32995:539::-;33119:1;33101:20;;:6;:20;;;;33093:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33203:1;33182:23;;:9;:23;;;;33174:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33258:47;33279:6;33287:9;33298:6;33258:20;:47::i;:::-;33338:71;33360:6;33338:71;;;;;;;;;;;;;;;;;:9;:17;33348:6;33338:17;;;;;;;;;;;;;;;;:21;;:71;;;;;:::i;:::-;33318:9;:17;33328:6;33318:17;;;;;;;;;;;;;;;:91;;;;33443:32;33468:6;33443:9;:20;33453:9;33443:20;;;;;;;;;;;;;;;;:24;;:32;;;;:::i;:::-;33420:9;:20;33430:9;33420:20;;;;;;;;;;;;;;;:55;;;;33508:9;33491:35;;33500:6;33491:35;;;33519:6;33491:35;;;;;;;;;;;;;;;;;;32995:539;;;:::o;1237:192::-;1323:7;1356:1;1351;:6;;1359:12;1343:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1383:9;1399:1;1395;:5;1383:17;;1420:1;1413:8;;;1237:192;;;;;:::o;24096:188::-;24170:33;24195:7;24170:6;:12;24177:4;24170:12;;;;;;;;;;;:20;;:24;;:33;;;;:::i;:::-;24166:111;;;24252:12;:10;:12::i;:::-;24225:40;;24243:7;24225:40;;24237:4;24225:40;;;;;;;;;;24166:111;24096:188;;:::o;24292:192::-;24367:36;24395:7;24367:6;:12;24374:4;24367:12;;;;;;;;;;;:20;;:27;;:36;;;;:::i;:::-;24363:114;;;24452:12;:10;:12::i;:::-;24425:40;;24443:7;24425:40;;24437:4;24425:40;;;;;;;;;;24363:114;24292:192;;:::o;39312:120::-;38857:7;;;;;;;;;;;38849:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39381:5:::1;39371:7;;:15;;;;;;;;;;;;;;;;;;39402:22;39411:12;:10;:12::i;:::-;39402:22;;;;;;;;;;;;;;;;;;;;39312:120::o:0;33815:378::-;33918:1;33899:21;;:7;:21;;;;33891:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33969:49;33998:1;34002:7;34011:6;33969:20;:49::i;:::-;34046:24;34063:6;34046:12;;:16;;:24;;;;:::i;:::-;34031:12;:39;;;;34102:30;34125:6;34102:9;:18;34112:7;34102:18;;;;;;;;;;;;;;;;:22;;:30;;;;:::i;:::-;34081:9;:18;34091:7;34081:18;;;;;;;;;;;;;;;:51;;;;34169:7;34148:37;;34165:1;34148:37;;;34178:6;34148:37;;;;;;;;;;;;;;;;;;33815:378;;:::o;34525:418::-;34628:1;34609:21;;:7;:21;;;;34601:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34681:49;34702:7;34719:1;34723:6;34681:20;:49::i;:::-;34764:68;34787:6;34764:68;;;;;;;;;;;;;;;;;:9;:18;34774:7;34764:18;;;;;;;;;;;;;;;;:22;;:68;;;;;:::i;:::-;34743:9;:18;34753:7;34743:18;;;;;;;;;;;;;;;:89;;;;34858:24;34875:6;34858:12;;:16;;:24;;;;:::i;:::-;34843:12;:39;;;;34924:1;34898:37;;34907:7;34898:37;;;34928:6;34898:37;;;;;;;;;;;;;;;;;;34525:418;;:::o;47493:399::-;47573:7;47638:23;47664:74;47722:13;47685:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47675:62;;;;;;47664:10;:74::i;:::-;47638:100;;47805:3;47778:31;;:15;:31;;;;47770:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47869:15;47862:22;;;47493:399;;;:::o;1688:471::-;1746:7;1996:1;1991;:6;1987:47;;;2021:1;2014:8;;;;1987:47;2046:9;2062:1;2058;:5;2046:17;;2091:1;2086;2082;:5;;;;;;:10;2074:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2150:1;2143:8;;;1688:471;;;;;:::o;2635:132::-;2693:7;2720:39;2724:1;2727;2720:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;2713:46;;2635:132;;;;:::o;59519:424::-;59635:18;59656:21;59635:42;;59706:12;59692:10;:26;59688:43;;59722:7;;;59688:43;59762:34;59817:38;;;;;;;;;;;;;;;;;;:18;:38::i;:::-;59762:94;;59867:16;:38;;;59906:28;59923:10;59906:12;:16;;:28;;;;:::i;:::-;59867:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59519:424;;;;:::o;53534:179::-;53613:4;53637:68;53687:5;53694:8;53655:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53645:59;;;;;;53637:7;:68::i;:::-;53630:75;;53534:179;;;;:::o;51571:128::-;51633:12;;;;;;;;;;;:20;;;51681:4;51664:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51654:33;;;;;;51689:6;51633:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51571:128;;:::o;39053:118::-;38581:7;;;;;;;;;;;38580:8;38572:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39123:4:::1;39113:7;;:14;;;;;;;;;;;;;;;;;;39143:20;39150:12;:10;:12::i;:::-;39143:20;;;;;;;;;;;;;;;;;;;;39053:118::o:0;10311:149::-;10385:7;10428:22;10432:3;:10;;10444:5;10428:3;:22::i;:::-;10420:31;;10405:47;;10311:149;;;;:::o;9606:158::-;9686:4;9710:46;9720:3;:10;;9748:5;9740:14;;9732:23;;9710:9;:46::i;:::-;9703:53;;9606:158;;;;:::o;9850:117::-;9913:7;9940:19;9948:3;:10;;9940:7;:19::i;:::-;9933:26;;9850:117;;;:::o;49805:134::-;49866:4;49881:12;;;;;;;;;;;:20;;;49929:4;49912:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49902:33;;;;;;49881:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49874:62;;49805:134;;;:::o;5706:414::-;5769:4;5791:21;5801:3;5806:5;5791:9;:21::i;:::-;5786:327;;5829:3;:11;;5846:5;5829:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6012:3;:11;;:18;;;;5990:3;:12;;:19;6003:5;5990:19;;;;;;;;;;;:40;;;;6052:4;6045:11;;;;5786:327;6096:5;6089:12;;5706:414;;;;;:::o;41744:183::-;41875:44;41902:4;41908:2;41912:6;41875:26;:44::i;:::-;41744:183;;;:::o;9371:149::-;9444:4;9468:44;9476:3;:10;;9504:5;9496:14;;9488:23;;9468:7;:44::i;:::-;9461:51;;9371:149;;;;:::o;798:136::-;856:7;883:43;887:1;890;883:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;876:50;;798:136;;;;:::o;3263:278::-;3349:7;3381:1;3377;:5;3384:12;3369:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3408:9;3424:1;3420;:5;;;;;;3408:17;;3532:1;3525:8;;;3263:278;;;;;:::o;48889:98::-;48943:4;48958:12;;;;;;;;;;;:20;;;48979:4;48958:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48951:33;;48889:98;;;:::o;8594:204::-;8661:7;8710:5;8689:3;:11;;:18;;;;:26;8681:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8772:3;:11;;8784:5;8772:18;;;;;;;;;;;;;;;;8765:25;;8594:204;;;;:::o;7926:129::-;7999:4;8046:1;8023:3;:12;;:19;8036:5;8023:19;;;;;;;;;;;;:24;;8016:31;;7926:129;;;;:::o;8141:109::-;8197:7;8224:3;:11;;:18;;;;8217:25;;8141:109;;;:::o;6296:1544::-;6362:4;6480:18;6501:3;:12;;:19;6514:5;6501:19;;;;;;;;;;;;6480:40;;6551:1;6537:10;:15;6533:1300;;6899:21;6936:1;6923:10;:14;6899:38;;6952:17;6993:1;6972:3;:11;;:18;;;;:22;6952:42;;7239:17;7259:3;:11;;7271:9;7259:22;;;;;;;;;;;;;;;;7239:42;;7405:9;7376:3;:11;;7388:13;7376:26;;;;;;;;;;;;;;;:38;;;;7524:1;7508:13;:17;7482:3;:12;;:23;7495:9;7482:23;;;;;;;;;;;:43;;;;7634:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;7729:3;:12;;:19;7742:5;7729:19;;;;;;;;;;;7722:26;;;7772:4;7765:11;;;;;;;;6533:1300;7816:5;7809:12;;;6296:1544;;;;;:::o
Swarm Source
ipfs://ef503b29faa8e26fc3255577f044aef51342ac1f5d82e90dc9216f79388e83cf
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.