ETH Price: $2,515.13 (+3.28%)

Token

WrappedPoWETH (WPOWETH)
 

Overview

Max Total Supply

602.175213087455839667 WPOWETH

Holders

51

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.000000000000000001 WPOWETH

Value
$0.00
0x720F5F294DB1168771Ce35309B82882fBc412b86
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
WrappedPoWETH

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 10 : WrappedPoWETH.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;

import {TrieProofs} from "./lib/TrieProofs.sol";
import {RLP} from "./lib/RLP.sol";

import {Multicall} from "./Multicall.sol";

import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {ECDSA} from "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

contract WrappedPoWETH is ERC20, Multicall {
    using TrieProofs for bytes;
    using RLP for RLP.RLPItem;
    using RLP for bytes;

    event Withdrawal(uint256 id, uint256 amount, address withdrawMadeBy, address recipient);
    event StateRootRelay(uint256 block, bytes32 root);

    uint8 private constant ACCOUNT_STORAGE_ROOT_INDEX = 2;

    address public immutable relayer;
    address public immutable depositContract;
    uint256 public immutable depositsMapSlotIndex;

    uint256 public withdrawalsCount;
    mapping(uint256 => bytes32) public withdrawals;

    mapping(uint256 => bytes32) public stateRoots;
    mapping(uint256 => bytes32) public depositContractStorageRoots;

    mapping(uint256 => bool) public processedDeposits;

    uint256 private constant ONE = 10**18;
    uint256 public constant mintFeeRate = ONE / 100; // 1/100 = 1%.
    address public constant feeRecipient = 0xF9c89ee442cE6D2c14b9dB97f367E0A72657271f;

    uint256 public feesAccrued;

    constructor(
        address _relayer,
        address _depositContract,
        uint256 _depositsMapSlotIndex
    ) ERC20("WrappedPoWETH", "WPOWETH") {
        relayer = _relayer;
        depositContract = _depositContract;
        depositsMapSlotIndex = _depositsMapSlotIndex;
    }

    function updateDepositContractStorageRoot(uint256 blockNumber, bytes memory accountProof) public {
        bytes32 stateRoot = stateRoots[blockNumber];
        require(stateRoot != bytes32(0), "ERR_STATE_ROOT_NOT_AVAILABLE");

        bytes32 accountProofPath = keccak256(abi.encodePacked(depositContract));
        bytes memory accountRLP = accountProof.verify(stateRoot, accountProofPath); // reverts if proof is invalid
        bytes32 accountStorageRoot = bytes32(accountRLP.toRLPItem().toList()[ACCOUNT_STORAGE_ROOT_INDEX].toUint());

        depositContractStorageRoots[blockNumber] = accountStorageRoot;
    }

    function mint(
        uint256 depositId,
        address recipient,
        uint256 amount,
        uint256 depositBlockNumber,
        bytes memory storageProof
    ) public {
        bytes32 accountStorageRoot = depositContractStorageRoots[depositBlockNumber];
        require(accountStorageRoot != bytes32(0), "ERR_STORAGE_ROOT_NOT_AVAILABLE");

        uint256 slot = uint256(keccak256(abi.encode(depositId, depositsMapSlotIndex)));

        require(!processedDeposits[depositId], "ERR_DEPOSIT_ALREADY_PROCESSED");

        bytes32 proofPath = keccak256(abi.encodePacked(slot));
        uint256 slotValue = storageProof.verify(accountStorageRoot, proofPath).toRLPItem().toUint(); // reverts if proof is invalid

        require(keccak256(abi.encode(amount, recipient)) == bytes32(slotValue), "ERR_INVALID_DATA");

        uint256 feeAmount = (amount * mintFeeRate) / ONE;
        feesAccrued += feeAmount;

        processedDeposits[depositId] = true;
        _mint(recipient, amount - feeAmount);
    }

    function withdraw(uint256 amount, address recipient) public {
        _burn(msg.sender, amount);
        withdrawals[withdrawalsCount] = keccak256(abi.encode(amount, recipient));
        emit Withdrawal(withdrawalsCount++, amount, msg.sender, recipient);
    }

    function withdrawFees() external {
        uint256 tokensToMint = feesAccrued;
        feesAccrued = 0;
        _mint(feeRecipient, tokensToMint);
    }

    function relayStateRoot(
        uint256 blockNumber,
        bytes32 stateRoot,
        bytes calldata signature
    ) public {
        require(relayer == ECDSA.recover(stateRoot, signature));
        stateRoots[blockNumber] = stateRoot;
        emit StateRootRelay(blockNumber, stateRoot);
    }
}

File 2 of 10 : Multicall.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;

abstract contract Multicall {
    function multicall(bytes[] calldata data) external returns (bytes[] memory results) {
        results = new bytes[](data.length);
        for (uint256 i = 0; i < data.length; i++) {
            (bool success, bytes memory result) = address(this).delegatecall(data[i]);

            if (!success) {
                // Next 5 lines from https://ethereum.stackexchange.com/a/83577
                if (result.length < 68) revert();
                assembly {
                    result := add(result, 0x04)
                }
                revert(abi.decode(result, (string)));
            }

            results[i] = result;
        }
    }
}

File 3 of 10 : RLP.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;

library RLP {
    uint8 constant STRING_SHORT_START = 0x80;
    uint8 constant STRING_LONG_START = 0xb8;
    uint8 constant LIST_SHORT_START = 0xc0;
    uint8 constant LIST_LONG_START = 0xf8;

    uint8 constant WORD_SIZE = 32;

    struct RLPItem {
        uint256 len;
        uint256 memPtr;
    }

    /*
     * @param item RLP encoded bytes
     */
    function toRLPItem(bytes memory item) internal pure returns (RLPItem memory) {
        if (item.length == 0) return RLPItem(0, 0);

        uint256 memPtr;
        assembly {
            memPtr := add(item, 0x20)
        }

        return RLPItem(item.length, memPtr);
    }

    /*
     * @param item RLP encoded list in bytes
     */
    function toList(RLPItem memory item) internal pure returns (RLPItem[] memory result) {
        require(isList(item), "Cannot convert to list a non-list RLPItem.");

        uint256 items = numItems(item);
        result = new RLPItem[](items);

        uint256 memPtr = item.memPtr + _payloadOffset(item.memPtr);
        uint256 dataLen;
        for (uint256 i = 0; i < items; i++) {
            dataLen = _itemLength(memPtr);
            result[i] = RLPItem(dataLen, memPtr);
            memPtr = memPtr + dataLen;
        }
    }

    /*
     * Helpers
     */

    // @return indicator whether encoded payload is a list. negate this function call for isData.
    function isList(RLPItem memory item) internal pure returns (bool) {
        uint8 byte0;
        uint256 memPtr = item.memPtr;
        assembly {
            byte0 := byte(0, mload(memPtr))
        }

        if (byte0 < LIST_SHORT_START) return false;
        return true;
    }

    // @return number of payload items inside an encoded list.
    function numItems(RLPItem memory item) internal pure returns (uint256) {
        uint256 count = 0;
        uint256 currPtr = item.memPtr + _payloadOffset(item.memPtr);
        uint256 endPtr = item.memPtr + item.len;
        while (currPtr < endPtr) {
            currPtr = currPtr + _itemLength(currPtr); // skip over an item
            count++;
        }

        return count;
    }

    // @return entire rlp item byte length
    function _itemLength(uint256 memPtr) internal pure returns (uint256 len) {
        uint256 byte0;
        assembly {
            byte0 := byte(0, mload(memPtr))
        }

        if (byte0 < STRING_SHORT_START) return 1;
        else if (byte0 < STRING_LONG_START) return byte0 - STRING_SHORT_START + 1;
        else if (byte0 < LIST_SHORT_START) {
            assembly {
                let byteLen := sub(byte0, 0xb7) // # of bytes the actual length is
                memPtr := add(memPtr, 1) // skip over the first byte

                /* 32 byte word size */
                let dataLen := div(mload(memPtr), exp(256, sub(32, byteLen))) // right shifting to get the len
                len := add(dataLen, add(byteLen, 1))
            }
        } else if (byte0 < LIST_LONG_START) {
            return byte0 - LIST_SHORT_START + 1;
        } else {
            assembly {
                let byteLen := sub(byte0, 0xf7)
                memPtr := add(memPtr, 1)

                let dataLen := div(mload(memPtr), exp(256, sub(32, byteLen))) // right shifting to the correct length
                len := add(dataLen, add(byteLen, 1))
            }
        }
    }

    // @return number of bytes until the data
    function _payloadOffset(uint256 memPtr) internal pure returns (uint256) {
        uint256 byte0;
        assembly {
            byte0 := byte(0, mload(memPtr))
        }

        if (byte0 < STRING_SHORT_START) return 0;
        else if (byte0 < STRING_LONG_START || (byte0 >= LIST_SHORT_START && byte0 < LIST_LONG_START)) return 1;
        else if (byte0 < LIST_SHORT_START)
            // being explicit
            return byte0 - (STRING_LONG_START - 1) + 1;
        else return byte0 - (LIST_LONG_START - 1) + 1;
    }

    /** RLPItem conversions into data types **/

    // @returns raw rlp encoding in bytes
    function toRLPBytes(RLPItem memory item) internal pure returns (bytes memory) {
        bytes memory result = new bytes(item.len);

        uint256 ptr;
        assembly {
            ptr := add(0x20, result)
        }

        copy(item.memPtr, ptr, item.len);
        return result;
    }

    function toBoolean(RLPItem memory item) internal pure returns (bool) {
        require(item.len == 1, "Invalid RLPItem. Booleans are encoded in 1 byte");
        uint256 result;
        uint256 memPtr = item.memPtr;
        assembly {
            result := byte(0, mload(memPtr))
        }

        return result == 0 ? false : true;
    }

    function toAddress(RLPItem memory item) internal pure returns (address) {
        // 1 byte for the length prefix according to RLP spec
        require(item.len <= 21, "Invalid RLPItem. Addresses are encoded in 20 bytes or less");

        return address(uint160(toUint(item)));
    }

    function toUint(RLPItem memory item) internal pure returns (uint256) {
        uint256 offset = _payloadOffset(item.memPtr);
        uint256 len = item.len - offset;
        uint256 memPtr = item.memPtr + offset;

        uint256 result;
        assembly {
            result := div(mload(memPtr), exp(256, sub(32, len))) // shift to the correct location
        }

        return result;
    }

    function toBytes(RLPItem memory item) internal pure returns (bytes memory) {
        uint256 offset = _payloadOffset(item.memPtr);
        uint256 len = item.len - offset; // data length
        bytes memory result = new bytes(len);

        uint256 destPtr;
        assembly {
            destPtr := add(0x20, result)
        }

        copy(item.memPtr + offset, destPtr, len);
        return result;
    }

    /*
     * @param src Pointer to source
     * @param dest Pointer to destination
     * @param len Amount of memory to copy from the source
     */
    function copy(
        uint256 src,
        uint256 dest,
        uint256 len
    ) internal pure {
        // copy as many word sizes as possible
        for (; len >= WORD_SIZE; len -= WORD_SIZE) {
            assembly {
                mstore(dest, mload(src))
            }

            src += WORD_SIZE;
            dest += WORD_SIZE;
        }

        // left over bytes. Mask is used to remove unwanted bytes from the word
        unchecked {
            uint256 mask = 256**(WORD_SIZE - len) - 1;
            assembly {
                let srcpart := and(mload(src), not(mask)) // zero out src
                let destpart := and(mload(dest), mask) // retrieve the bytes
                mstore(dest, or(destpart, srcpart))
            }
        }
    }
}

File 4 of 10 : TrieProofs.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;

import "./RLP.sol";

/*
Forked from: https://github.com/lorenzb/proveth/blob/master/onchain/ProvethVerifier.sol
*/

library TrieProofs {
    using RLP for RLP.RLPItem;
    using RLP for bytes;

    bytes32 internal constant EMPTY_TRIE_ROOT_HASH = 0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421;

    function verify(
        bytes memory proofRLP,
        bytes32 rootHash,
        bytes32 path32
    ) internal pure returns (bytes memory value) {
        // TODO: Optimize by using word-size paths instead of byte arrays
        bytes memory path = new bytes(32);
        assembly {
            mstore(add(path, 0x20), path32)
        } // careful as path may need to be 64
        path = decodeNibbles(path, 0); // lol, so efficient

        RLP.RLPItem[] memory proof = proofRLP.toRLPItem().toList();

        uint8 nodeChildren;
        RLP.RLPItem memory children;

        uint256 pathOffset = 0; // Offset of the proof
        bytes32 nextHash; // Required hash for the next node

        if (proof.length == 0) {
            // Root hash of empty tx trie
            require(rootHash == EMPTY_TRIE_ROOT_HASH, "Bad empty proof");
            return new bytes(0);
        }

        for (uint256 i = 0; i < proof.length; i++) {
            // We use the fact that an rlp encoded list consists of some
            // encoding of its length plus the concatenation of its
            // *rlp-encoded* items.
            bytes memory rlpNode = proof[i].toRLPBytes(); // TODO: optimize by not encoding and decoding?

            if (i == 0) {
                require(rootHash == keccak256(rlpNode), "Bad first proof part");
            } else {
                require(nextHash == keccak256(rlpNode), "Bad hash");
            }

            RLP.RLPItem[] memory node = proof[i].toList();

            // Extension or Leaf node
            if (node.length == 2) {
                /*
                // TODO: wtf is a divergent node
                // proof claims divergent extension or leaf
                if (proofIndexes[i] == 0xff) {
                    require(i >= proof.length - 1); // divergent node must come last in proof
                    require(prefixLength != nodePath.length); // node isn't divergent
                    require(pathOffset == path.length); // didn't consume entire path

                    return new bytes(0);
                }

                require(proofIndexes[i] == 1); // an extension/leaf node only has two fields.
                require(prefixLength == nodePath.length); // node is divergent
                */

                bytes memory nodePath = merklePatriciaCompactDecode(node[0].toBytes());
                pathOffset += sharedPrefixLength(pathOffset, path, nodePath);

                // last proof item
                if (i == proof.length - 1) {
                    require(pathOffset == path.length, "Unexpected end of proof (leaf)");
                    return node[1].toBytes(); // Data is the second item in a leaf node
                } else {
                    // not last proof item
                    children = node[1];
                    if (!children.isList()) {
                        nextHash = getNextHash(children);
                    } else {
                        nextHash = keccak256(children.toRLPBytes());
                    }
                }
            } else {
                // Must be a branch node at this point
                require(node.length == 17, "Invalid node length");

                if (i == proof.length - 1) {
                    // Proof ends in a branch node, exclusion proof in most cases
                    if (pathOffset + 1 == path.length) {
                        return node[16].toBytes();
                    } else {
                        nodeChildren = extractNibble(path32, pathOffset);
                        children = node[nodeChildren];

                        // Ensure that the next path item is empty, end of exclusion proof
                        require(children.toBytes().length == 0, "Invalid exclusion proof");
                        return new bytes(0);
                    }
                } else {
                    require(pathOffset < path.length, "Continuing branch has depleted path");

                    nodeChildren = extractNibble(path32, pathOffset);
                    children = node[nodeChildren];

                    pathOffset += 1; // advance by one

                    // not last level
                    if (!children.isList()) {
                        nextHash = getNextHash(children);
                    } else {
                        nextHash = keccak256(children.toRLPBytes());
                    }
                }
            }
        }

        // no invalid proof should ever reach this point
        assert(false);
    }

    function getNextHash(RLP.RLPItem memory node) internal pure returns (bytes32 nextHash) {
        bytes memory nextHashBytes = node.toBytes();
        require(nextHashBytes.length == 32, "Invalid node");

        assembly {
            nextHash := mload(add(nextHashBytes, 0x20))
        }
    }

    /*
     * Nibble is extracted as the least significant nibble in the returned byte
     */
    function extractNibble(bytes32 path, uint256 position) internal pure returns (uint8 nibble) {
        require(position < 64, "Invalid nibble position");
        bytes1 shifted = position == 0 ? bytes1(path >> 4) : bytes1(path << ((position - 1) * 4));
        return uint8(bytes1(uint8(shifted) & uint8(0xF)));
    }

    function decodeNibbles(bytes memory compact, uint256 skipNibbles) internal pure returns (bytes memory nibbles) {
        require(compact.length > 0, "Empty bytes array");

        uint256 length = compact.length * 2;
        require(skipNibbles <= length, "Skip nibbles amount too large");
        length -= skipNibbles;

        nibbles = new bytes(length);
        uint256 nibblesLength = 0;

        for (uint256 i = skipNibbles; i < skipNibbles + length; i += 1) {
            if (i % 2 == 0) {
                nibbles[nibblesLength] = bytes1((uint8(compact[i / 2]) >> 4) & 0xF);
            } else {
                nibbles[nibblesLength] = bytes1((uint8(compact[i / 2]) >> 0) & 0xF);
            }
            nibblesLength += 1;
        }

        assert(nibblesLength == nibbles.length);
    }

    function merklePatriciaCompactDecode(bytes memory compact) internal pure returns (bytes memory nibbles) {
        require(compact.length > 0, "Empty bytes array");
        uint256 first_nibble = (uint8(compact[0]) >> 4) & 0xF;
        uint256 skipNibbles;
        if (first_nibble == 0) {
            skipNibbles = 2;
        } else if (first_nibble == 1) {
            skipNibbles = 1;
        } else if (first_nibble == 2) {
            skipNibbles = 2;
        } else if (first_nibble == 3) {
            skipNibbles = 1;
        } else {
            // Not supposed to happen!
            revert();
        }
        return decodeNibbles(compact, skipNibbles);
    }

    function sharedPrefixLength(
        uint256 xsOffset,
        bytes memory xs,
        bytes memory ys
    ) internal pure returns (uint256) {
        uint256 i = 0;
        for (i = 0; i + xsOffset < xs.length && i < ys.length; i++) {
            if (xs[i + xsOffset] != ys[i]) {
                return i;
            }
        }
        return i;
    }
}

File 5 of 10 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, 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}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, 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}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 6 of 10 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 7 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 8 of 10 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 9 of 10 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 10 of 10 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 1000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_relayer","type":"address"},{"internalType":"address","name":"_depositContract","type":"address"},{"internalType":"uint256","name":"_depositsMapSlotIndex","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"block","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"StateRootRelay","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":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"withdrawMadeBy","type":"address"},{"indexed":false,"internalType":"address","name":"recipient","type":"address"}],"name":"Withdrawal","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"depositContractStorageRoots","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"depositsMapSlotIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feesAccrued","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"depositId","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"depositBlockNumber","type":"uint256"},{"internalType":"bytes","name":"storageProof","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintFeeRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"processedDeposits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"blockNumber","type":"uint256"},{"internalType":"bytes32","name":"stateRoot","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"relayStateRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"relayer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stateRoots","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"blockNumber","type":"uint256"},{"internalType":"bytes","name":"accountProof","type":"bytes"}],"name":"updateDepositContractStorageRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"withdrawals","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawalsCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60e06040523480156200001157600080fd5b5060405162002eef38038062002eef833981016040819052620000349162000180565b604080518082018252600d81526c0aee4c2e0e0cac8a0deae8aa89609b1b6020808301918252835180850190945260078452660aea09eae8aa8960cb1b9084015281519192916200008891600391620000bd565b5080516200009e906004906020840190620000bd565b5050506001600160a01b03928316608052911660a05260c052620001fe565b828054620000cb90620001c1565b90600052602060002090601f016020900481019282620000ef57600085556200013a565b82601f106200010a57805160ff19168380011785556200013a565b828001600101855582156200013a579182015b828111156200013a5782518255916020019190600101906200011d565b50620001489291506200014c565b5090565b5b808211156200014857600081556001016200014d565b80516001600160a01b03811681146200017b57600080fd5b919050565b6000806000606084860312156200019657600080fd5b620001a18462000163565b9250620001b16020850162000163565b9150604084015190509250925092565b600181811c90821680620001d657607f821691505b60208210811415620001f857634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c051612cac62000243600039600081816102b6015261090101526000818161045901526107ea01526000818161033901526106f30152612cac6000f3fe608060405234801561001057600080fd5b50600436106101c35760003560e01c806370a08231116100f9578063a9059cbb11610097578063b6eeba3111610071578063b6eeba31146103f8578063dd62ed3e1461041b578063e94ad65b14610454578063f4cac30d1461047b57600080fd5b8063a9059cbb146103a5578063a9579d3e146103b8578063ac9650d8146103d857600080fd5b806394db0595116100d357806394db05951461036e57806395d89b4114610377578063a0c9a4111461037f578063a457c2d71461039257600080fd5b806370a082311461030b5780638406c0791461033457806388ae93b11461035b57600080fd5b8063313ce56711610166578063476343ee11610140578063476343ee146102a957806354f69a41146102b15780635cc07076146102d85780636ca9502f146102f857600080fd5b8063313ce567146102545780633950935114610263578063469048401461027657600080fd5b806318160ddd116101a257806318160ddd1461021e57806318819a311461023057806323b872dd146102385780632e7fbd671461024b57600080fd5b8062f714ce146101c857806306fdde03146101dd578063095ea7b3146101fb575b600080fd5b6101db6101d6366004612628565b61049b565b005b6101e5610559565b6040516101f291906126ac565b60405180910390f35b61020e6102093660046126bf565b6105eb565b60405190151581526020016101f2565b6002545b6040519081526020016101f2565b610222610603565b61020e6102463660046126e9565b610619565b61022260055481565b604051601281526020016101f2565b61020e6102713660046126bf565b61063f565b61029173f9c89ee442ce6d2c14b9db97f367e0a72657271f81565b6040516001600160a01b0390911681526020016101f2565b6101db61067e565b6102227f000000000000000000000000000000000000000000000000000000000000000081565b6102226102e6366004612725565b60066020526000908152604090205481565b6101db61030636600461273e565b6106a8565b6102226103193660046127be565b6001600160a01b031660009081526020819052604090205490565b6102917f000000000000000000000000000000000000000000000000000000000000000081565b6101db61036936600461289e565b610776565b610222600a5481565b6101e5610891565b6101db61038d3660046128e5565b6108a0565b61020e6103a03660046126bf565b610b07565b61020e6103b33660046126bf565b610bbc565b6102226103c6366004612725565b60086020526000908152604090205481565b6103eb6103e6366004612950565b610bca565b6040516101f291906129c5565b61020e610406366004612725565b60096020526000908152604090205460ff1681565b610222610429366004612a27565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102917f000000000000000000000000000000000000000000000000000000000000000081565b610222610489366004612725565b60076020526000908152604090205481565b6104a53383610d22565b81816040516020016104ca9291909182526001600160a01b0316602082015260400190565b60408051601f19818403018152918152815160209283012060058054600090815260069094529183205580547f725ba50016fa93058bbf9dbb34f8be093e7312a13657b7e400a6967ff7c64e4b9290919061052483612a67565b90915550604080519182526020820185905233908201526001600160a01b038316606082015260800160405180910390a15050565b60606003805461056890612a82565b80601f016020809104026020016040519081016040528092919081815260200182805461059490612a82565b80156105e15780601f106105b6576101008083540402835291602001916105e1565b820191906000526020600020905b8154815290600101906020018083116105c457829003601f168201915b5050505050905090565b6000336105f9818585610ea8565b5060019392505050565b6106166064670de0b6b3a7640000612acd565b81565b600033610627858285610ff8565b61063285858561108a565b60019150505b9392505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906105f99082908690610679908790612ae1565b610ea8565b600a805460009091556106a573f9c89ee442ce6d2c14b9db97f367e0a72657271f826112a1565b50565b6106e88383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061138092505050565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161461072557600080fd5b60008481526007602090815260409182902085905581518681529081018590527f8accbec70b416af86dbd78a60c37d8ec93924b548788e961d8fa1ae888d3b118910160405180910390a150505050565b600082815260076020526040902054806107d75760405162461bcd60e51b815260206004820152601c60248201527f4552525f53544154455f524f4f545f4e4f545f415641494c41424c450000000060448201526064015b60405180910390fd5b6040516bffffffffffffffffffffffff197f000000000000000000000000000000000000000000000000000000000000000060601b16602082015260009060340160408051601f1981840301815291905280516020909101209050600061083f8484846113a4565b905060006108776108576108528461192b565b61197c565b8051600290811061086a5761086a612af9565b6020026020010151611af7565b600096875260086020526040909620959095555050505050565b60606004805461056890612a82565b600082815260086020526040902054806108fc5760405162461bcd60e51b815260206004820152601e60248201527f4552525f53544f524147455f524f4f545f4e4f545f415641494c41424c45000060448201526064016107ce565b6000867f000000000000000000000000000000000000000000000000000000000000000060405160200161093a929190918252602082015260400190565b60408051601f19818403018152918152815160209283012060008a8152600990935291205490915060ff16156109b25760405162461bcd60e51b815260206004820152601d60248201527f4552525f4445504f5349545f414c52454144595f50524f43455353454400000060448201526064016107ce565b6000816040516020016109c791815260200190565b60408051601f198184030181529190528051602090910120905060006109fe6109f96109f48787866113a4565b61192b565b611af7565b90508060001b8789604051602001610a299291909182526001600160a01b0316602082015260400190565b6040516020818303038152906040528051906020012014610a8c5760405162461bcd60e51b815260206004820152601060248201527f4552525f494e56414c49445f444154410000000000000000000000000000000060448201526064016107ce565b6000670de0b6b3a7640000610aa2606482612acd565b610aac908a612b0f565b610ab69190612acd565b905080600a6000828254610aca9190612ae1565b909155505060008a8152600960205260409020805460ff19166001179055610afb89610af6838b612b2e565b6112a1565b50505050505050505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610ba45760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016107ce565b610bb18286868403610ea8565b506001949350505050565b6000336105f981858561108a565b60608167ffffffffffffffff811115610be557610be56127d9565b604051908082528060200260200182016040528015610c1857816020015b6060815260200190600190039081610c035790505b50905060005b82811015610d1b5760008030868685818110610c3c57610c3c612af9565b9050602002810190610c4e9190612b45565b604051610c5c929190612b8c565b600060405180830381855af49150503d8060008114610c97576040519150601f19603f3d011682016040523d82523d6000602084013e610c9c565b606091505b509150915081610ce857604481511015610cb557600080fd5b60048101905080806020019051810190610ccf9190612b9c565b60405162461bcd60e51b81526004016107ce91906126ac565b80848481518110610cfb57610cfb612af9565b602002602001018190525050508080610d1390612a67565b915050610c1e565b5092915050565b6001600160a01b038216610d9e5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016107ce565b6001600160a01b03821660009081526020819052604090205481811015610e2d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016107ce565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610e5c908490612b2e565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020015b60405180910390a3505050565b6001600160a01b038316610f235760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016107ce565b6001600160a01b038216610f9f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016107ce565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259101610e9b565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461108457818110156110775760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107ce565b6110848484848403610ea8565b50505050565b6001600160a01b0383166111065760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016107ce565b6001600160a01b0382166111825760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016107ce565b6001600160a01b038316600090815260208190526040902054818110156112115760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016107ce565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611248908490612ae1565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161129491815260200190565b60405180910390a3611084565b6001600160a01b0382166112f75760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016107ce565b80600260008282546113099190612ae1565b90915550506001600160a01b03821660009081526020819052604081208054839290611336908490612ae1565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600080600061138f8585611b45565b9150915061139c81611b8b565b509392505050565b604080516020808252818301909252606091600091906020820181803683370190505090508260208201526113da816000611d46565b905060006113ea6108528761192b565b9050600061140b604051806040016040528060008152602001600081525090565b6000808451600014156114a4577f56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b42189146114875760405162461bcd60e51b815260206004820152600f60248201527f42616420656d7074792070726f6f66000000000000000000000000000000000060448201526064016107ce565b505060408051600081526020810190915294506106389350505050565b60005b85518110156119155760006114d48783815181106114c7576114c7612af9565b6020026020010151611f9f565b90508161153557805160208201208b146115305760405162461bcd60e51b815260206004820152601460248201527f4261642066697273742070726f6f66207061727400000000000000000000000060448201526064016107ce565b61158a565b80516020820120831461158a5760405162461bcd60e51b815260206004820152600860248201527f426164206861736800000000000000000000000000000000000000000000000060448201526064016107ce565b60006115ae8884815181106115a1576115a1612af9565b602002602001015161197c565b90508051600214156116df5760006115e76115e2836000815181106115d5576115d5612af9565b6020026020010151612008565b6120a2565b90506115f4868b8361216c565b6115fe9087612ae1565b95506001895161160e9190612b2e565b84141561168c57895186146116655760405162461bcd60e51b815260206004820152601e60248201527f556e657870656374656420656e64206f662070726f6f6620286c65616629000060448201526064016107ce565b61167b826001815181106115d5576115d5612af9565b9a5050505050505050505050610638565b8160018151811061169f5761169f612af9565b602002602001015196506116b287612227565b6116c6576116bf87612248565b94506116d9565b6116cf87611f9f565b8051906020012094505b50611900565b80516011146117305760405162461bcd60e51b815260206004820152601360248201527f496e76616c6964206e6f6465206c656e6774680000000000000000000000000060448201526064016107ce565b6001885161173e9190612b2e565b831415611820578851611752866001612ae1565b141561177e5761176e816010815181106115d5576115d5612af9565b9950505050505050505050610638565b6117888b866122b1565b9650808760ff168151811061179f5761179f612af9565b602002602001015195506117b286612008565b51156118005760405162461bcd60e51b815260206004820152601760248201527f496e76616c6964206578636c7573696f6e2070726f6f6600000000000000000060448201526064016107ce565b505060408051600081526020810190915297506106389650505050505050565b885185106118965760405162461bcd60e51b815260206004820152602360248201527f436f6e74696e75696e67206272616e636820686173206465706c65746564207060448201527f617468000000000000000000000000000000000000000000000000000000000060648201526084016107ce565b6118a08b866122b1565b9650808760ff16815181106118b7576118b7612af9565b602002602001015195506001856118ce9190612ae1565b94506118d986612227565b6118ed576118e686612248565b9350611900565b6118f686611f9f565b8051906020012093505b5050808061190d90612a67565b9150506114a7565b5061191e612c13565b5050505050509392505050565b6040805180820190915260008082526020820152815161195e575050604080518082019091526000808252602082015290565b50604080518082019091528151815260209182019181019190915290565b606061198782612227565b6119f95760405162461bcd60e51b815260206004820152602a60248201527f43616e6e6f7420636f6e7665727420746f206c6973742061206e6f6e2d6c697360448201527f7420524c504974656d2e0000000000000000000000000000000000000000000060648201526084016107ce565b6000611a048361233e565b90508067ffffffffffffffff811115611a1f57611a1f6127d9565b604051908082528060200260200182016040528015611a6457816020015b6040805180820190915260008082526020820152815260200190600190039081611a3d5790505b5091506000611a7684602001516123b6565b8460200151611a859190612ae1565b90506000805b83811015611aee57611a9c83612437565b9150604051806040016040528083815260200184815250858281518110611ac557611ac5612af9565b6020908102919091010152611ada8284612ae1565b925080611ae681612a67565b915050611a8b565b50505050919050565b600080611b0783602001516123b6565b90506000818460000151611b1b9190612b2e565b90506000828560200151611b2f9190612ae1565b516020929092036101000a909104949350505050565b600080825160411415611b7c5760208301516040840151606085015160001a611b70878285856124c6565b94509450505050611b84565b506000905060025b9250929050565b6000816004811115611b9f57611b9f612c29565b1415611ba85750565b6001816004811115611bbc57611bbc612c29565b1415611c0a5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016107ce565b6002816004811115611c1e57611c1e612c29565b1415611c6c5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016107ce565b6003816004811115611c8057611c80612c29565b1415611cd95760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016107ce565b6004816004811115611ced57611ced612c29565b14156106a55760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016107ce565b60606000835111611d995760405162461bcd60e51b815260206004820152601160248201527f456d70747920627974657320617272617900000000000000000000000000000060448201526064016107ce565b600083516002611da99190612b0f565b905080831115611dfb5760405162461bcd60e51b815260206004820152601d60248201527f536b6970206e6962626c657320616d6f756e7420746f6f206c6172676500000060448201526064016107ce565b611e058382612b2e565b90508067ffffffffffffffff811115611e2057611e206127d9565b6040519080825280601f01601f191660200182016040528015611e4a576020820181803683370190505b5091506000835b611e5b8386612ae1565b811015611f8657611e6d600282612c3f565b611eee57600486611e7f600284612acd565b81518110611e8f57611e8f612af9565b602001015160f81c60f81b60f81c60ff16901c600f1660f81b848381518110611eba57611eba612af9565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611f67565b600086611efc600284612acd565b81518110611f0c57611f0c612af9565b602001015160f81c60f81b60f81c60ff16901c600f1660f81b848381518110611f3757611f37612af9565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b611f72600183612ae1565b9150611f7f600182612ae1565b9050611e51565b5082518114611f9757611f97612c13565b505092915050565b60606000826000015167ffffffffffffffff811115611fc057611fc06127d9565b6040519080825280601f01601f191660200182016040528015611fea576020820181803683370190505b5090506000816020019050610d1b84602001518286600001516125b3565b6060600061201983602001516123b6565b9050600081846000015161202d9190612b2e565b905060008167ffffffffffffffff81111561204a5761204a6127d9565b6040519080825280601f01601f191660200182016040528015612074576020820181803683370190505b50905060008160200190506120998487602001516120929190612ae1565b82856125b3565b50949350505050565b606060008251116120f55760405162461bcd60e51b815260206004820152601160248201527f456d70747920627974657320617272617900000000000000000000000000000060448201526064016107ce565b600060048360008151811061210c5761210c612af9565b60209101015160f81c901c600f16905060008161212b5750600261215a565b816001141561213c5750600161215a565b816002141561214d5750600261215a565b81600314156101c3575060015b6121648482611d46565b949350505050565b6000805b835161217c8683612ae1565b1080156121895750825181105b15612164578281815181106121a0576121a0612af9565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016846121d28784612ae1565b815181106121e2576121e2612af9565b01602001517fff000000000000000000000000000000000000000000000000000000000000001614612215579050610638565b8061221f81612a67565b915050612170565b6020810151805160009190821a9060c08210156105f9575060009392505050565b60008061225483612008565b905080516020146122a75760405162461bcd60e51b815260206004820152600c60248201527f496e76616c6964206e6f6465000000000000000000000000000000000000000060448201526064016107ce565b6020015192915050565b6000604082106123035760405162461bcd60e51b815260206004820152601760248201527f496e76616c6964206e6962626c6520706f736974696f6e00000000000000000060448201526064016107ce565b6000821561232957612316600184612b2e565b612321906004612b0f565b84901b61232f565b600484901c5b60f81c600f1691505092915050565b60008060009050600061235484602001516123b6565b84602001516123639190612ae1565b905060008460000151856020015161237b9190612ae1565b90505b808210156123ad5761238f82612437565b6123999083612ae1565b9150826123a581612a67565b93505061237e565b50909392505050565b8051600090811a60808110156123cf5750600092915050565b60b88110806123ea575060c081108015906123ea575060f881105b156123f85750600192915050565b60c08110156124255761240d600160b8612c53565b61241a9060ff1682612b2e565b610638906001612ae1565b61240d600160f8612c53565b50919050565b8051600090811a60808110156124505750600192915050565b60b88110156124645761241a608082612b2e565b60c08110156124915760b78103600184019350806020036101000a84510460018201810193505050612431565b60f88110156124a55761241a60c082612b2e565b60019290920151602083900360f7016101000a900490910160f51901919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156124fd57506000905060036125aa565b8460ff16601b1415801561251557508460ff16601c14155b1561252657506000905060046125aa565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561257a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166125a3576000600192509250506125aa565b9150600090505b94509492505050565b602081106125eb57825182526125ca602084612ae1565b92506125d7602083612ae1565b91506125e4602082612b2e565b90506125b3565b915181516020939093036101000a6000190180199091169216919091179052565b80356001600160a01b038116811461262357600080fd5b919050565b6000806040838503121561263b57600080fd5b8235915061264b6020840161260c565b90509250929050565b60005b8381101561266f578181015183820152602001612657565b838111156110845750506000910152565b60008151808452612698816020860160208601612654565b601f01601f19169290920160200192915050565b6020815260006106386020830184612680565b600080604083850312156126d257600080fd5b6126db8361260c565b946020939093013593505050565b6000806000606084860312156126fe57600080fd5b6127078461260c565b92506127156020850161260c565b9150604084013590509250925092565b60006020828403121561273757600080fd5b5035919050565b6000806000806060858703121561275457600080fd5b8435935060208501359250604085013567ffffffffffffffff8082111561277a57600080fd5b818701915087601f83011261278e57600080fd5b81358181111561279d57600080fd5b8860208285010111156127af57600080fd5b95989497505060200194505050565b6000602082840312156127d057600080fd5b6106388261260c565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612818576128186127d9565b604052919050565b600067ffffffffffffffff82111561283a5761283a6127d9565b50601f01601f191660200190565b600082601f83011261285957600080fd5b813561286c61286782612820565b6127ef565b81815284602083860101111561288157600080fd5b816020850160208301376000918101602001919091529392505050565b600080604083850312156128b157600080fd5b82359150602083013567ffffffffffffffff8111156128cf57600080fd5b6128db85828601612848565b9150509250929050565b600080600080600060a086880312156128fd57600080fd5b8535945061290d6020870161260c565b93506040860135925060608601359150608086013567ffffffffffffffff81111561293757600080fd5b61294388828901612848565b9150509295509295909350565b6000806020838503121561296357600080fd5b823567ffffffffffffffff8082111561297b57600080fd5b818501915085601f83011261298f57600080fd5b81358181111561299e57600080fd5b8660208260051b85010111156129b357600080fd5b60209290920196919550909350505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015612a1a57603f19888603018452612a08858351612680565b945092850192908501906001016129ec565b5092979650505050505050565b60008060408385031215612a3a57600080fd5b612a438361260c565b915061264b6020840161260c565b634e487b7160e01b600052601160045260246000fd5b6000600019821415612a7b57612a7b612a51565b5060010190565b600181811c90821680612a9657607f821691505b6020821081141561243157634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601260045260246000fd5b600082612adc57612adc612ab7565b500490565b60008219821115612af457612af4612a51565b500190565b634e487b7160e01b600052603260045260246000fd5b6000816000190483118215151615612b2957612b29612a51565b500290565b600082821015612b4057612b40612a51565b500390565b6000808335601e19843603018112612b5c57600080fd5b83018035915067ffffffffffffffff821115612b7757600080fd5b602001915036819003821315611b8457600080fd5b8183823760009101908152919050565b600060208284031215612bae57600080fd5b815167ffffffffffffffff811115612bc557600080fd5b8201601f81018413612bd657600080fd5b8051612be461286782612820565b818152856020838501011115612bf957600080fd5b612c0a826020830160208601612654565b95945050505050565b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b600082612c4e57612c4e612ab7565b500690565b600060ff821660ff841680821015612c6d57612c6d612a51565b9003939250505056fea2646970667358221220b85afb471280ce29c35e483cd07ad51f47638abce900d1369abcd196e1f2da7264736f6c634300080900330000000000000000000000003c35c56a1899b521cb1258747f750105e0de5aa6000000000000000000000000325a87aabeaa1097011f4838d9152ba44e7f282b0000000000000000000000000000000000000000000000000000000000000003

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c35760003560e01c806370a08231116100f9578063a9059cbb11610097578063b6eeba3111610071578063b6eeba31146103f8578063dd62ed3e1461041b578063e94ad65b14610454578063f4cac30d1461047b57600080fd5b8063a9059cbb146103a5578063a9579d3e146103b8578063ac9650d8146103d857600080fd5b806394db0595116100d357806394db05951461036e57806395d89b4114610377578063a0c9a4111461037f578063a457c2d71461039257600080fd5b806370a082311461030b5780638406c0791461033457806388ae93b11461035b57600080fd5b8063313ce56711610166578063476343ee11610140578063476343ee146102a957806354f69a41146102b15780635cc07076146102d85780636ca9502f146102f857600080fd5b8063313ce567146102545780633950935114610263578063469048401461027657600080fd5b806318160ddd116101a257806318160ddd1461021e57806318819a311461023057806323b872dd146102385780632e7fbd671461024b57600080fd5b8062f714ce146101c857806306fdde03146101dd578063095ea7b3146101fb575b600080fd5b6101db6101d6366004612628565b61049b565b005b6101e5610559565b6040516101f291906126ac565b60405180910390f35b61020e6102093660046126bf565b6105eb565b60405190151581526020016101f2565b6002545b6040519081526020016101f2565b610222610603565b61020e6102463660046126e9565b610619565b61022260055481565b604051601281526020016101f2565b61020e6102713660046126bf565b61063f565b61029173f9c89ee442ce6d2c14b9db97f367e0a72657271f81565b6040516001600160a01b0390911681526020016101f2565b6101db61067e565b6102227f000000000000000000000000000000000000000000000000000000000000000381565b6102226102e6366004612725565b60066020526000908152604090205481565b6101db61030636600461273e565b6106a8565b6102226103193660046127be565b6001600160a01b031660009081526020819052604090205490565b6102917f0000000000000000000000003c35c56a1899b521cb1258747f750105e0de5aa681565b6101db61036936600461289e565b610776565b610222600a5481565b6101e5610891565b6101db61038d3660046128e5565b6108a0565b61020e6103a03660046126bf565b610b07565b61020e6103b33660046126bf565b610bbc565b6102226103c6366004612725565b60086020526000908152604090205481565b6103eb6103e6366004612950565b610bca565b6040516101f291906129c5565b61020e610406366004612725565b60096020526000908152604090205460ff1681565b610222610429366004612a27565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102917f000000000000000000000000325a87aabeaa1097011f4838d9152ba44e7f282b81565b610222610489366004612725565b60076020526000908152604090205481565b6104a53383610d22565b81816040516020016104ca9291909182526001600160a01b0316602082015260400190565b60408051601f19818403018152918152815160209283012060058054600090815260069094529183205580547f725ba50016fa93058bbf9dbb34f8be093e7312a13657b7e400a6967ff7c64e4b9290919061052483612a67565b90915550604080519182526020820185905233908201526001600160a01b038316606082015260800160405180910390a15050565b60606003805461056890612a82565b80601f016020809104026020016040519081016040528092919081815260200182805461059490612a82565b80156105e15780601f106105b6576101008083540402835291602001916105e1565b820191906000526020600020905b8154815290600101906020018083116105c457829003601f168201915b5050505050905090565b6000336105f9818585610ea8565b5060019392505050565b6106166064670de0b6b3a7640000612acd565b81565b600033610627858285610ff8565b61063285858561108a565b60019150505b9392505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906105f99082908690610679908790612ae1565b610ea8565b600a805460009091556106a573f9c89ee442ce6d2c14b9db97f367e0a72657271f826112a1565b50565b6106e88383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061138092505050565b6001600160a01b03167f0000000000000000000000003c35c56a1899b521cb1258747f750105e0de5aa66001600160a01b03161461072557600080fd5b60008481526007602090815260409182902085905581518681529081018590527f8accbec70b416af86dbd78a60c37d8ec93924b548788e961d8fa1ae888d3b118910160405180910390a150505050565b600082815260076020526040902054806107d75760405162461bcd60e51b815260206004820152601c60248201527f4552525f53544154455f524f4f545f4e4f545f415641494c41424c450000000060448201526064015b60405180910390fd5b6040516bffffffffffffffffffffffff197f000000000000000000000000325a87aabeaa1097011f4838d9152ba44e7f282b60601b16602082015260009060340160408051601f1981840301815291905280516020909101209050600061083f8484846113a4565b905060006108776108576108528461192b565b61197c565b8051600290811061086a5761086a612af9565b6020026020010151611af7565b600096875260086020526040909620959095555050505050565b60606004805461056890612a82565b600082815260086020526040902054806108fc5760405162461bcd60e51b815260206004820152601e60248201527f4552525f53544f524147455f524f4f545f4e4f545f415641494c41424c45000060448201526064016107ce565b6000867f000000000000000000000000000000000000000000000000000000000000000360405160200161093a929190918252602082015260400190565b60408051601f19818403018152918152815160209283012060008a8152600990935291205490915060ff16156109b25760405162461bcd60e51b815260206004820152601d60248201527f4552525f4445504f5349545f414c52454144595f50524f43455353454400000060448201526064016107ce565b6000816040516020016109c791815260200190565b60408051601f198184030181529190528051602090910120905060006109fe6109f96109f48787866113a4565b61192b565b611af7565b90508060001b8789604051602001610a299291909182526001600160a01b0316602082015260400190565b6040516020818303038152906040528051906020012014610a8c5760405162461bcd60e51b815260206004820152601060248201527f4552525f494e56414c49445f444154410000000000000000000000000000000060448201526064016107ce565b6000670de0b6b3a7640000610aa2606482612acd565b610aac908a612b0f565b610ab69190612acd565b905080600a6000828254610aca9190612ae1565b909155505060008a8152600960205260409020805460ff19166001179055610afb89610af6838b612b2e565b6112a1565b50505050505050505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610ba45760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016107ce565b610bb18286868403610ea8565b506001949350505050565b6000336105f981858561108a565b60608167ffffffffffffffff811115610be557610be56127d9565b604051908082528060200260200182016040528015610c1857816020015b6060815260200190600190039081610c035790505b50905060005b82811015610d1b5760008030868685818110610c3c57610c3c612af9565b9050602002810190610c4e9190612b45565b604051610c5c929190612b8c565b600060405180830381855af49150503d8060008114610c97576040519150601f19603f3d011682016040523d82523d6000602084013e610c9c565b606091505b509150915081610ce857604481511015610cb557600080fd5b60048101905080806020019051810190610ccf9190612b9c565b60405162461bcd60e51b81526004016107ce91906126ac565b80848481518110610cfb57610cfb612af9565b602002602001018190525050508080610d1390612a67565b915050610c1e565b5092915050565b6001600160a01b038216610d9e5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016107ce565b6001600160a01b03821660009081526020819052604090205481811015610e2d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016107ce565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610e5c908490612b2e565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020015b60405180910390a3505050565b6001600160a01b038316610f235760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016107ce565b6001600160a01b038216610f9f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016107ce565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259101610e9b565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461108457818110156110775760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107ce565b6110848484848403610ea8565b50505050565b6001600160a01b0383166111065760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016107ce565b6001600160a01b0382166111825760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016107ce565b6001600160a01b038316600090815260208190526040902054818110156112115760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016107ce565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611248908490612ae1565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161129491815260200190565b60405180910390a3611084565b6001600160a01b0382166112f75760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016107ce565b80600260008282546113099190612ae1565b90915550506001600160a01b03821660009081526020819052604081208054839290611336908490612ae1565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600080600061138f8585611b45565b9150915061139c81611b8b565b509392505050565b604080516020808252818301909252606091600091906020820181803683370190505090508260208201526113da816000611d46565b905060006113ea6108528761192b565b9050600061140b604051806040016040528060008152602001600081525090565b6000808451600014156114a4577f56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b42189146114875760405162461bcd60e51b815260206004820152600f60248201527f42616420656d7074792070726f6f66000000000000000000000000000000000060448201526064016107ce565b505060408051600081526020810190915294506106389350505050565b60005b85518110156119155760006114d48783815181106114c7576114c7612af9565b6020026020010151611f9f565b90508161153557805160208201208b146115305760405162461bcd60e51b815260206004820152601460248201527f4261642066697273742070726f6f66207061727400000000000000000000000060448201526064016107ce565b61158a565b80516020820120831461158a5760405162461bcd60e51b815260206004820152600860248201527f426164206861736800000000000000000000000000000000000000000000000060448201526064016107ce565b60006115ae8884815181106115a1576115a1612af9565b602002602001015161197c565b90508051600214156116df5760006115e76115e2836000815181106115d5576115d5612af9565b6020026020010151612008565b6120a2565b90506115f4868b8361216c565b6115fe9087612ae1565b95506001895161160e9190612b2e565b84141561168c57895186146116655760405162461bcd60e51b815260206004820152601e60248201527f556e657870656374656420656e64206f662070726f6f6620286c65616629000060448201526064016107ce565b61167b826001815181106115d5576115d5612af9565b9a5050505050505050505050610638565b8160018151811061169f5761169f612af9565b602002602001015196506116b287612227565b6116c6576116bf87612248565b94506116d9565b6116cf87611f9f565b8051906020012094505b50611900565b80516011146117305760405162461bcd60e51b815260206004820152601360248201527f496e76616c6964206e6f6465206c656e6774680000000000000000000000000060448201526064016107ce565b6001885161173e9190612b2e565b831415611820578851611752866001612ae1565b141561177e5761176e816010815181106115d5576115d5612af9565b9950505050505050505050610638565b6117888b866122b1565b9650808760ff168151811061179f5761179f612af9565b602002602001015195506117b286612008565b51156118005760405162461bcd60e51b815260206004820152601760248201527f496e76616c6964206578636c7573696f6e2070726f6f6600000000000000000060448201526064016107ce565b505060408051600081526020810190915297506106389650505050505050565b885185106118965760405162461bcd60e51b815260206004820152602360248201527f436f6e74696e75696e67206272616e636820686173206465706c65746564207060448201527f617468000000000000000000000000000000000000000000000000000000000060648201526084016107ce565b6118a08b866122b1565b9650808760ff16815181106118b7576118b7612af9565b602002602001015195506001856118ce9190612ae1565b94506118d986612227565b6118ed576118e686612248565b9350611900565b6118f686611f9f565b8051906020012093505b5050808061190d90612a67565b9150506114a7565b5061191e612c13565b5050505050509392505050565b6040805180820190915260008082526020820152815161195e575050604080518082019091526000808252602082015290565b50604080518082019091528151815260209182019181019190915290565b606061198782612227565b6119f95760405162461bcd60e51b815260206004820152602a60248201527f43616e6e6f7420636f6e7665727420746f206c6973742061206e6f6e2d6c697360448201527f7420524c504974656d2e0000000000000000000000000000000000000000000060648201526084016107ce565b6000611a048361233e565b90508067ffffffffffffffff811115611a1f57611a1f6127d9565b604051908082528060200260200182016040528015611a6457816020015b6040805180820190915260008082526020820152815260200190600190039081611a3d5790505b5091506000611a7684602001516123b6565b8460200151611a859190612ae1565b90506000805b83811015611aee57611a9c83612437565b9150604051806040016040528083815260200184815250858281518110611ac557611ac5612af9565b6020908102919091010152611ada8284612ae1565b925080611ae681612a67565b915050611a8b565b50505050919050565b600080611b0783602001516123b6565b90506000818460000151611b1b9190612b2e565b90506000828560200151611b2f9190612ae1565b516020929092036101000a909104949350505050565b600080825160411415611b7c5760208301516040840151606085015160001a611b70878285856124c6565b94509450505050611b84565b506000905060025b9250929050565b6000816004811115611b9f57611b9f612c29565b1415611ba85750565b6001816004811115611bbc57611bbc612c29565b1415611c0a5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016107ce565b6002816004811115611c1e57611c1e612c29565b1415611c6c5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016107ce565b6003816004811115611c8057611c80612c29565b1415611cd95760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016107ce565b6004816004811115611ced57611ced612c29565b14156106a55760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016107ce565b60606000835111611d995760405162461bcd60e51b815260206004820152601160248201527f456d70747920627974657320617272617900000000000000000000000000000060448201526064016107ce565b600083516002611da99190612b0f565b905080831115611dfb5760405162461bcd60e51b815260206004820152601d60248201527f536b6970206e6962626c657320616d6f756e7420746f6f206c6172676500000060448201526064016107ce565b611e058382612b2e565b90508067ffffffffffffffff811115611e2057611e206127d9565b6040519080825280601f01601f191660200182016040528015611e4a576020820181803683370190505b5091506000835b611e5b8386612ae1565b811015611f8657611e6d600282612c3f565b611eee57600486611e7f600284612acd565b81518110611e8f57611e8f612af9565b602001015160f81c60f81b60f81c60ff16901c600f1660f81b848381518110611eba57611eba612af9565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611f67565b600086611efc600284612acd565b81518110611f0c57611f0c612af9565b602001015160f81c60f81b60f81c60ff16901c600f1660f81b848381518110611f3757611f37612af9565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b611f72600183612ae1565b9150611f7f600182612ae1565b9050611e51565b5082518114611f9757611f97612c13565b505092915050565b60606000826000015167ffffffffffffffff811115611fc057611fc06127d9565b6040519080825280601f01601f191660200182016040528015611fea576020820181803683370190505b5090506000816020019050610d1b84602001518286600001516125b3565b6060600061201983602001516123b6565b9050600081846000015161202d9190612b2e565b905060008167ffffffffffffffff81111561204a5761204a6127d9565b6040519080825280601f01601f191660200182016040528015612074576020820181803683370190505b50905060008160200190506120998487602001516120929190612ae1565b82856125b3565b50949350505050565b606060008251116120f55760405162461bcd60e51b815260206004820152601160248201527f456d70747920627974657320617272617900000000000000000000000000000060448201526064016107ce565b600060048360008151811061210c5761210c612af9565b60209101015160f81c901c600f16905060008161212b5750600261215a565b816001141561213c5750600161215a565b816002141561214d5750600261215a565b81600314156101c3575060015b6121648482611d46565b949350505050565b6000805b835161217c8683612ae1565b1080156121895750825181105b15612164578281815181106121a0576121a0612af9565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016846121d28784612ae1565b815181106121e2576121e2612af9565b01602001517fff000000000000000000000000000000000000000000000000000000000000001614612215579050610638565b8061221f81612a67565b915050612170565b6020810151805160009190821a9060c08210156105f9575060009392505050565b60008061225483612008565b905080516020146122a75760405162461bcd60e51b815260206004820152600c60248201527f496e76616c6964206e6f6465000000000000000000000000000000000000000060448201526064016107ce565b6020015192915050565b6000604082106123035760405162461bcd60e51b815260206004820152601760248201527f496e76616c6964206e6962626c6520706f736974696f6e00000000000000000060448201526064016107ce565b6000821561232957612316600184612b2e565b612321906004612b0f565b84901b61232f565b600484901c5b60f81c600f1691505092915050565b60008060009050600061235484602001516123b6565b84602001516123639190612ae1565b905060008460000151856020015161237b9190612ae1565b90505b808210156123ad5761238f82612437565b6123999083612ae1565b9150826123a581612a67565b93505061237e565b50909392505050565b8051600090811a60808110156123cf5750600092915050565b60b88110806123ea575060c081108015906123ea575060f881105b156123f85750600192915050565b60c08110156124255761240d600160b8612c53565b61241a9060ff1682612b2e565b610638906001612ae1565b61240d600160f8612c53565b50919050565b8051600090811a60808110156124505750600192915050565b60b88110156124645761241a608082612b2e565b60c08110156124915760b78103600184019350806020036101000a84510460018201810193505050612431565b60f88110156124a55761241a60c082612b2e565b60019290920151602083900360f7016101000a900490910160f51901919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156124fd57506000905060036125aa565b8460ff16601b1415801561251557508460ff16601c14155b1561252657506000905060046125aa565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561257a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166125a3576000600192509250506125aa565b9150600090505b94509492505050565b602081106125eb57825182526125ca602084612ae1565b92506125d7602083612ae1565b91506125e4602082612b2e565b90506125b3565b915181516020939093036101000a6000190180199091169216919091179052565b80356001600160a01b038116811461262357600080fd5b919050565b6000806040838503121561263b57600080fd5b8235915061264b6020840161260c565b90509250929050565b60005b8381101561266f578181015183820152602001612657565b838111156110845750506000910152565b60008151808452612698816020860160208601612654565b601f01601f19169290920160200192915050565b6020815260006106386020830184612680565b600080604083850312156126d257600080fd5b6126db8361260c565b946020939093013593505050565b6000806000606084860312156126fe57600080fd5b6127078461260c565b92506127156020850161260c565b9150604084013590509250925092565b60006020828403121561273757600080fd5b5035919050565b6000806000806060858703121561275457600080fd5b8435935060208501359250604085013567ffffffffffffffff8082111561277a57600080fd5b818701915087601f83011261278e57600080fd5b81358181111561279d57600080fd5b8860208285010111156127af57600080fd5b95989497505060200194505050565b6000602082840312156127d057600080fd5b6106388261260c565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612818576128186127d9565b604052919050565b600067ffffffffffffffff82111561283a5761283a6127d9565b50601f01601f191660200190565b600082601f83011261285957600080fd5b813561286c61286782612820565b6127ef565b81815284602083860101111561288157600080fd5b816020850160208301376000918101602001919091529392505050565b600080604083850312156128b157600080fd5b82359150602083013567ffffffffffffffff8111156128cf57600080fd5b6128db85828601612848565b9150509250929050565b600080600080600060a086880312156128fd57600080fd5b8535945061290d6020870161260c565b93506040860135925060608601359150608086013567ffffffffffffffff81111561293757600080fd5b61294388828901612848565b9150509295509295909350565b6000806020838503121561296357600080fd5b823567ffffffffffffffff8082111561297b57600080fd5b818501915085601f83011261298f57600080fd5b81358181111561299e57600080fd5b8660208260051b85010111156129b357600080fd5b60209290920196919550909350505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015612a1a57603f19888603018452612a08858351612680565b945092850192908501906001016129ec565b5092979650505050505050565b60008060408385031215612a3a57600080fd5b612a438361260c565b915061264b6020840161260c565b634e487b7160e01b600052601160045260246000fd5b6000600019821415612a7b57612a7b612a51565b5060010190565b600181811c90821680612a9657607f821691505b6020821081141561243157634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601260045260246000fd5b600082612adc57612adc612ab7565b500490565b60008219821115612af457612af4612a51565b500190565b634e487b7160e01b600052603260045260246000fd5b6000816000190483118215151615612b2957612b29612a51565b500290565b600082821015612b4057612b40612a51565b500390565b6000808335601e19843603018112612b5c57600080fd5b83018035915067ffffffffffffffff821115612b7757600080fd5b602001915036819003821315611b8457600080fd5b8183823760009101908152919050565b600060208284031215612bae57600080fd5b815167ffffffffffffffff811115612bc557600080fd5b8201601f81018413612bd657600080fd5b8051612be461286782612820565b818152856020838501011115612bf957600080fd5b612c0a826020830160208601612654565b95945050505050565b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b600082612c4e57612c4e612ab7565b500690565b600060ff821660ff841680821015612c6d57612c6d612a51565b9003939250505056fea2646970667358221220b85afb471280ce29c35e483cd07ad51f47638abce900d1369abcd196e1f2da7264736f6c63430008090033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000003c35c56a1899b521cb1258747f750105e0de5aa6000000000000000000000000325a87aabeaa1097011f4838d9152ba44e7f282b0000000000000000000000000000000000000000000000000000000000000003

-----Decoded View---------------
Arg [0] : _relayer (address): 0x3C35c56A1899B521cb1258747F750105E0De5aA6
Arg [1] : _depositContract (address): 0x325a87aabeAa1097011f4838D9152BA44E7F282B
Arg [2] : _depositsMapSlotIndex (uint256): 3

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000003c35c56a1899b521cb1258747f750105e0de5aa6
Arg [1] : 000000000000000000000000325a87aabeaa1097011f4838d9152ba44e7f282b
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000003


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.