ETH Price: $2,713.20 (+4.28%)
Gas: 0.11 GWei

Contract

0xcb75a6e3F8D401731ac562FEfe6Aa74f77f7d804

Overview

ETH Balance

Linea Mainnet LogoLinea Mainnet LogoLinea Mainnet Logo0 ETH

ETH Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Initialize9446342023-11-23 4:08:32448 days ago1700712512IN
0xcb75a6e3...f77f7d804
0 ETH0.000386973

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
52348382024-06-07 9:42:49250 days ago1717753369
0xcb75a6e3...f77f7d804
0 ETH
51579022024-06-04 17:31:06253 days ago1717522266
0xcb75a6e3...f77f7d804
0 ETH
50198032024-05-30 21:07:56258 days ago1717103276
0xcb75a6e3...f77f7d804
0 ETH
48412592024-05-24 16:19:39264 days ago1716567579
0xcb75a6e3...f77f7d804
0 ETH
46959972024-05-19 15:15:43269 days ago1716131743
0xcb75a6e3...f77f7d804
0 ETH
44291732024-05-10 8:51:32278 days ago1715331092
0xcb75a6e3...f77f7d804
0 ETH
43971562024-05-09 6:10:35280 days ago1715235035
0xcb75a6e3...f77f7d804
0 ETH
43878362024-05-08 22:24:34280 days ago1715207074
0xcb75a6e3...f77f7d804
0 ETH
43412552024-05-07 7:35:20281 days ago1715067320
0xcb75a6e3...f77f7d804
0 ETH
43300602024-05-06 22:15:34282 days ago1715033734
0xcb75a6e3...f77f7d804
0 ETH
43104002024-05-06 5:52:34283 days ago1714974754
0xcb75a6e3...f77f7d804
0 ETH
42736642024-05-04 23:15:35284 days ago1714864535
0xcb75a6e3...f77f7d804
0 ETH
42434712024-05-03 22:05:32285 days ago1714773932
0xcb75a6e3...f77f7d804
0 ETH
41556782024-04-30 20:55:18288 days ago1714510518
0xcb75a6e3...f77f7d804
0 ETH
41532082024-04-30 18:51:48288 days ago1714503108
0xcb75a6e3...f77f7d804
0 ETH
41343652024-04-30 3:09:39289 days ago1714446579
0xcb75a6e3...f77f7d804
0 ETH
41237362024-04-29 18:18:11289 days ago1714414691
0xcb75a6e3...f77f7d804
0 ETH
40927772024-04-28 16:30:10290 days ago1714321810
0xcb75a6e3...f77f7d804
0 ETH
40796852024-04-28 5:35:34291 days ago1714282534
0xcb75a6e3...f77f7d804
0 ETH
40152602024-04-25 23:54:03293 days ago1714089243
0xcb75a6e3...f77f7d804
0 ETH
40062902024-04-25 16:25:33293 days ago1714062333
0xcb75a6e3...f77f7d804
0 ETH
39999712024-04-25 11:09:34293 days ago1714043374
0xcb75a6e3...f77f7d804
0 ETH
39602462024-04-24 2:02:32295 days ago1713924152
0xcb75a6e3...f77f7d804
0 ETH
39253942024-04-22 20:59:32296 days ago1713819572
0xcb75a6e3...f77f7d804
0 ETH
38820082024-04-21 8:50:06297 days ago1713689406
0xcb75a6e3...f77f7d804
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FiatTokenV2_1_1

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
london EvmVersion
File 1 of 18 : FiatTokenV2_1_1.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.13;

import {FiatTokenV2_1} from "../v2/FiatTokenV2_1.sol";

/**
 * @title FiatToken V2.1.1
 * @notice ERC20 Token backed by fiat reserves
 */

contract FiatTokenV2_1_1 is FiatTokenV2_1 {
    /**
     * @notice Burn function compliant with the IL2StandardERC20 interface
     * @param _from The address to transfer tokens from to burn
     * @param _amount The amount of tokens to burn
     */
    function burn(
        address _from,
        uint256 _amount
    )
        external
        whenNotPaused
        onlyMinters
        notBlacklisted(msg.sender)
        notBlacklisted(_from)
    {
        uint256 balance = balances[_from];
        require(_amount > 0, "FiatToken: burn amount not greater than 0");
        require(balance >= _amount, "FiatToken: burn amount exceeds balance");
        require(
            _amount <= allowed[_from][msg.sender],
            "ERC20: transfer amount exceeds allowance"
        );

        totalSupply_ = totalSupply_ - _amount;
        balances[_from] = balance - _amount;
        emit Burn(_from, _amount);
        emit Transfer(_from, address(0), _amount);
    }
}

File 2 of 18 : FiatTokenV2_1.sol
/**
 * SPDX-License-Identifier: MIT
 *
 * Copyright (c) 2018-2020 CENTRE SECZ
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

pragma solidity ^0.8.13;

import "./FiatTokenV2.sol";

// solhint-disable func-name-mixedcase

/**
 * @title FiatToken V2.1
 * @notice ERC20 Token backed by fiat reserves, version 2.1
 */
contract FiatTokenV2_1 is FiatTokenV2 {
    /**
     * @notice Initialize v2.1
     * @param lostAndFound  The address to which the locked funds are sent
     */
    function initializeV2_1(address lostAndFound) external {
        // solhint-disable-next-line reason-string
        require(_initializedVersion == 1);

        uint256 lockedAmount = balances[address(this)];
        if (lockedAmount > 0) {
            _transfer(address(this), lostAndFound, lockedAmount);
        }
        blacklisted[address(this)] = true;

        _initializedVersion = 2;
    }

    /**
     * @notice Version string for the EIP712 domain separator
     * @return Version string
     */
    function version() external view returns (string memory) {
        return "2";
    }
}

File 3 of 18 : FiatTokenV2.sol
/**
 * SPDX-License-Identifier: MIT
 *
 * Copyright (c) 2018-2020 CENTRE SECZ
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

pragma solidity ^0.8.13;

import "../v1.1/FiatTokenV1_1.sol";
import "./AbstractFiatTokenV2.sol";
import "../util/EIP712.sol";
import "./EIP712Domain.sol";
import "./EIP3009.sol";
import "./EIP2612.sol";

/**
 * @title FiatToken V2
 * @notice ERC20 Token backed by fiat reserves, version 2
 */
contract FiatTokenV2 is FiatTokenV1_1, EIP3009, EIP2612 {
    uint8 internal _initializedVersion;

    /**
     * @notice Initialize v2
     * @param newName   New token name
     */
    function initializeV2(string calldata newName) external {
        // solhint-disable-next-line reason-string
        require(initialized && _initializedVersion == 0);
        name = newName;
        DOMAIN_SEPARATOR = EIP712.makeDomainSeparator(newName, "2");
        _initializedVersion = 1;
    }

    /**
     * @notice Increase the allowance by a given increment
     * @param spender   Spender's address
     * @param increment Amount of increase in allowance
     * @return True if successful
     */
    function increaseAllowance(address spender, uint256 increment)
        external
        whenNotPaused
        notBlacklisted(msg.sender)
        notBlacklisted(spender)
        returns (bool)
    {
        _increaseAllowance(msg.sender, spender, increment);
        return true;
    }

    /**
     * @notice Decrease the allowance by a given decrement
     * @param spender   Spender's address
     * @param decrement Amount of decrease in allowance
     * @return True if successful
     */
    function decreaseAllowance(address spender, uint256 decrement)
        external
        whenNotPaused
        notBlacklisted(msg.sender)
        notBlacklisted(spender)
        returns (bool)
    {
        _decreaseAllowance(msg.sender, spender, decrement);
        return true;
    }

    /**
     * @notice Execute a transfer with a signed authorization
     * @param from          Payer's address (Authorizer)
     * @param to            Payee's address
     * @param value         Amount to be transferred
     * @param validAfter    The time after which this is valid (unix time)
     * @param validBefore   The time before which this is valid (unix time)
     * @param nonce         Unique nonce
     * @param v             v of the signature
     * @param r             r of the signature
     * @param s             s of the signature
     */
    function transferWithAuthorization(
        address from,
        address to,
        uint256 value,
        uint256 validAfter,
        uint256 validBefore,
        bytes32 nonce,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external whenNotPaused notBlacklisted(from) notBlacklisted(to) {
        _transferWithAuthorization(
            from,
            to,
            value,
            validAfter,
            validBefore,
            nonce,
            v,
            r,
            s
        );
    }

    /**
     * @notice Receive a transfer with a signed authorization from the payer
     * @dev This has an additional check to ensure that the payee's address
     * matches the caller of this function to prevent front-running attacks.
     * @param from          Payer's address (Authorizer)
     * @param to            Payee's address
     * @param value         Amount to be transferred
     * @param validAfter    The time after which this is valid (unix time)
     * @param validBefore   The time before which this is valid (unix time)
     * @param nonce         Unique nonce
     * @param v             v of the signature
     * @param r             r of the signature
     * @param s             s of the signature
     */
    function receiveWithAuthorization(
        address from,
        address to,
        uint256 value,
        uint256 validAfter,
        uint256 validBefore,
        bytes32 nonce,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external whenNotPaused notBlacklisted(from) notBlacklisted(to) {
        _receiveWithAuthorization(
            from,
            to,
            value,
            validAfter,
            validBefore,
            nonce,
            v,
            r,
            s
        );
    }

    /**
     * @notice Attempt to cancel an authorization
     * @dev Works only if the authorization is not yet used.
     * @param authorizer    Authorizer's address
     * @param nonce         Nonce of the authorization
     * @param v             v of the signature
     * @param r             r of the signature
     * @param s             s of the signature
     */
    function cancelAuthorization(
        address authorizer,
        bytes32 nonce,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external whenNotPaused {
        _cancelAuthorization(authorizer, nonce, v, r, s);
    }

    /**
     * @notice Update allowance with a signed permit
     * @param owner       Token owner's address (Authorizer)
     * @param spender     Spender's address
     * @param value       Amount of allowance
     * @param deadline    Expiration time, seconds since the epoch
     * @param v           v of the signature
     * @param r           r of the signature
     * @param s           s of the signature
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external whenNotPaused notBlacklisted(owner) notBlacklisted(spender) {
        _permit(owner, spender, value, deadline, v, r, s);
    }

    /**
     * @notice Internal function to increase the allowance by a given increment
     * @param owner     Token owner's address
     * @param spender   Spender's address
     * @param increment Amount of increase
     */
    function _increaseAllowance(
        address owner,
        address spender,
        uint256 increment
    ) internal override {
        _approve(owner, spender, allowed[owner][spender] + increment);
    }

    /**
     * @notice Internal function to decrease the allowance by a given decrement
     * @param owner     Token owner's address
     * @param spender   Spender's address
     * @param decrement Amount of decrease
     */
    function _decreaseAllowance(
        address owner,
        address spender,
        uint256 decrement
    ) internal override {
        _approve(
            owner,
            spender,
            allowed[owner][spender] - 
                decrement
        );
    }
}

File 4 of 18 : FiatTokenV1_1.sol
/**
 * SPDX-License-Identifier: MIT
 *
 * Copyright (c) 2018-2020 CENTRE SECZ
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

pragma solidity ^0.8.13;

import "../v1/FiatTokenV1.sol";
import "./Rescuable.sol";

/**
 * @title FiatTokenV1_1
 * @dev ERC20 Token backed by fiat reserves
 */
contract FiatTokenV1_1 is FiatTokenV1, Rescuable {

}

File 5 of 18 : AbstractFiatTokenV2.sol
/**
 * SPDX-License-Identifier: MIT
 *
 * Copyright (c) 2018-2020 CENTRE SECZ
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

pragma solidity ^0.8.13;

import "../v1/AbstractFiatTokenV1.sol";

abstract contract AbstractFiatTokenV2 is AbstractFiatTokenV1 {
    function _increaseAllowance(
        address owner,
        address spender,
        uint256 increment
    ) internal virtual;

    function _decreaseAllowance(
        address owner,
        address spender,
        uint256 decrement
    ) internal virtual;
}

File 6 of 18 : EIP712.sol
/**
 * SPDX-License-Identifier: MIT
 *
 * Copyright (c) 2018-2020 CENTRE SECZ
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

pragma solidity ^0.8.13;

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

/**
 * @title EIP712
 * @notice A library that provides EIP712 helper functions
 */
library EIP712 {
    /**
     * @notice Make EIP712 domain separator
     * @param name      Contract name
     * @param version   Contract version
     * @return Domain separator
     */
    function makeDomainSeparator(string memory name, string memory version)
        internal
        view
        returns (bytes32)
    {
        uint256 chainId;
        assembly {
            chainId := chainid()
        }
        return
            keccak256(
                abi.encode(
                    // keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)")
                    0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f,
                    keccak256(bytes(name)),
                    keccak256(bytes(version)),
                    chainId,
                    address(this)
                )
            );
    }

    /**
     * @notice Recover signer's address from a EIP712 signature
     * @param domainSeparator   Domain separator
     * @param v                 v of the signature
     * @param r                 r of the signature
     * @param s                 s of the signature
     * @param typeHashAndData   Type hash concatenated with data
     * @return Signer's address
     */
    function recover(
        bytes32 domainSeparator,
        uint8 v,
        bytes32 r,
        bytes32 s,
        bytes memory typeHashAndData
    ) internal pure returns (address) {
        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                domainSeparator,
                keccak256(typeHashAndData)
            )
        );
        return ECRecover.recover(digest, v, r, s);
    }
}

File 7 of 18 : EIP712Domain.sol
/**
 * SPDX-License-Identifier: MIT
 *
 * Copyright (c) 2018-2020 CENTRE SECZ
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

pragma solidity ^0.8.13;

/**
 * @title EIP712 Domain
 */
contract EIP712Domain {
    /**
     * @dev EIP712 Domain Separator
     */
    bytes32 public DOMAIN_SEPARATOR;
}

File 8 of 18 : EIP3009.sol
/**
 * SPDX-License-Identifier: MIT
 *
 * Copyright (c) 2018-2020 CENTRE SECZ
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

pragma solidity ^0.8.13;

import "./AbstractFiatTokenV2.sol";
import "./EIP712Domain.sol";
import "../util/EIP712.sol";

/**
 * @title EIP-3009
 * @notice Provide internal implementation for gas-abstracted transfers
 * @dev Contracts that inherit from this must wrap these with publicly
 * accessible functions, optionally adding modifiers where necessary
 */
abstract contract EIP3009 is AbstractFiatTokenV2, EIP712Domain {
    // keccak256("TransferWithAuthorization(address from,address to,uint256 value,uint256 validAfter,uint256 validBefore,bytes32 nonce)")
    bytes32
        public constant TRANSFER_WITH_AUTHORIZATION_TYPEHASH = 0x7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a2267;

    // keccak256("ReceiveWithAuthorization(address from,address to,uint256 value,uint256 validAfter,uint256 validBefore,bytes32 nonce)")
    bytes32
        public constant RECEIVE_WITH_AUTHORIZATION_TYPEHASH = 0xd099cc98ef71107a616c4f0f941f04c322d8e254fe26b3c6668db87aae413de8;

    // keccak256("CancelAuthorization(address authorizer,bytes32 nonce)")
    bytes32
        public constant CANCEL_AUTHORIZATION_TYPEHASH = 0x158b0a9edf7a828aad02f63cd515c68ef2f50ba807396f6d12842833a1597429;

    /**
     * @dev authorizer address => nonce => bool (true if nonce is used)
     */
    mapping(address => mapping(bytes32 => bool)) private _authorizationStates;

    event AuthorizationUsed(address indexed authorizer, bytes32 indexed nonce);
    event AuthorizationCanceled(
        address indexed authorizer,
        bytes32 indexed nonce
    );

    /**
     * @notice Returns the state of an authorization
     * @dev Nonces are randomly generated 32-byte data unique to the
     * authorizer's address
     * @param authorizer    Authorizer's address
     * @param nonce         Nonce of the authorization
     * @return True if the nonce is used
     */
    function authorizationState(address authorizer, bytes32 nonce)
        external
        view
        returns (bool)
    {
        return _authorizationStates[authorizer][nonce];
    }

    /**
     * @notice Execute a transfer with a signed authorization
     * @param from          Payer's address (Authorizer)
     * @param to            Payee's address
     * @param value         Amount to be transferred
     * @param validAfter    The time after which this is valid (unix time)
     * @param validBefore   The time before which this is valid (unix time)
     * @param nonce         Unique nonce
     * @param v             v of the signature
     * @param r             r of the signature
     * @param s             s of the signature
     */
    function _transferWithAuthorization(
        address from,
        address to,
        uint256 value,
        uint256 validAfter,
        uint256 validBefore,
        bytes32 nonce,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        _requireValidAuthorization(from, nonce, validAfter, validBefore);

        bytes memory data = abi.encode(
            TRANSFER_WITH_AUTHORIZATION_TYPEHASH,
            from,
            to,
            value,
            validAfter,
            validBefore,
            nonce
        );
        require(
            EIP712.recover(DOMAIN_SEPARATOR, v, r, s, data) == from,
            "FiatTokenV2: invalid signature"
        );

        _markAuthorizationAsUsed(from, nonce);
        _transfer(from, to, value);
    }

    /**
     * @notice Receive a transfer with a signed authorization from the payer
     * @dev This has an additional check to ensure that the payee's address
     * matches the caller of this function to prevent front-running attacks.
     * @param from          Payer's address (Authorizer)
     * @param to            Payee's address
     * @param value         Amount to be transferred
     * @param validAfter    The time after which this is valid (unix time)
     * @param validBefore   The time before which this is valid (unix time)
     * @param nonce         Unique nonce
     * @param v             v of the signature
     * @param r             r of the signature
     * @param s             s of the signature
     */
    function _receiveWithAuthorization(
        address from,
        address to,
        uint256 value,
        uint256 validAfter,
        uint256 validBefore,
        bytes32 nonce,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        require(to == msg.sender, "FiatTokenV2: caller must be the payee");
        _requireValidAuthorization(from, nonce, validAfter, validBefore);

        bytes memory data = abi.encode(
            RECEIVE_WITH_AUTHORIZATION_TYPEHASH,
            from,
            to,
            value,
            validAfter,
            validBefore,
            nonce
        );
        require(
            EIP712.recover(DOMAIN_SEPARATOR, v, r, s, data) == from,
            "FiatTokenV2: invalid signature"
        );

        _markAuthorizationAsUsed(from, nonce);
        _transfer(from, to, value);
    }

    /**
     * @notice Attempt to cancel an authorization
     * @param authorizer    Authorizer's address
     * @param nonce         Nonce of the authorization
     * @param v             v of the signature
     * @param r             r of the signature
     * @param s             s of the signature
     */
    function _cancelAuthorization(
        address authorizer,
        bytes32 nonce,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        _requireUnusedAuthorization(authorizer, nonce);

        bytes memory data = abi.encode(
            CANCEL_AUTHORIZATION_TYPEHASH,
            authorizer,
            nonce
        );
        require(
            EIP712.recover(DOMAIN_SEPARATOR, v, r, s, data) == authorizer,
            "FiatTokenV2: invalid signature"
        );

        _authorizationStates[authorizer][nonce] = true;
        emit AuthorizationCanceled(authorizer, nonce);
    }

    /**
     * @notice Check that an authorization is unused
     * @param authorizer    Authorizer's address
     * @param nonce         Nonce of the authorization
     */
    function _requireUnusedAuthorization(address authorizer, bytes32 nonce)
        private
        view
    {
        require(
            !_authorizationStates[authorizer][nonce],
            "FiatTokenV2: authorization is used or canceled"
        );
    }

    /**
     * @notice Check that authorization is valid
     * @param authorizer    Authorizer's address
     * @param nonce         Nonce of the authorization
     * @param validAfter    The time after which this is valid (unix time)
     * @param validBefore   The time before which this is valid (unix time)
     */
    function _requireValidAuthorization(
        address authorizer,
        bytes32 nonce,
        uint256 validAfter,
        uint256 validBefore
    ) private view {
        require(
            block.timestamp > validAfter,
            "FiatTokenV2: authorization is not yet valid"
        );
        require(block.timestamp < validBefore, "FiatTokenV2: authorization is expired");
        _requireUnusedAuthorization(authorizer, nonce);
    }

    /**
     * @notice Mark an authorization as used
     * @param authorizer    Authorizer's address
     * @param nonce         Nonce of the authorization
     */
    function _markAuthorizationAsUsed(address authorizer, bytes32 nonce)
        private
    {
        _authorizationStates[authorizer][nonce] = true;
        emit AuthorizationUsed(authorizer, nonce);
    }
}

File 9 of 18 : EIP2612.sol
/**
 * SPDX-License-Identifier: MIT
 *
 * Copyright (c) 2018-2020 CENTRE SECZ
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

pragma solidity ^0.8.13;

import "./AbstractFiatTokenV2.sol";
import "./EIP712Domain.sol";
import "../util/EIP712.sol";

/**
 * @title EIP-2612
 * @notice Provide internal implementation for gas-abstracted approvals
 */
abstract contract EIP2612 is AbstractFiatTokenV2, EIP712Domain {
    // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)")
    bytes32
        public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;

    mapping(address => uint256) private _permitNonces;

    /**
     * @notice Nonces for permit
     * @param owner Token owner's address (Authorizer)
     * @return Next nonce
     */
    function nonces(address owner) external view returns (uint256) {
        return _permitNonces[owner];
    }

    /**
     * @notice Verify a signed approval permit and execute if valid
     * @param owner     Token owner's address (Authorizer)
     * @param spender   Spender's address
     * @param value     Amount of allowance
     * @param deadline  The time at which this expires (unix time)
     * @param v         v of the signature
     * @param r         r of the signature
     * @param s         s of the signature
     */
    function _permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        require(deadline >= block.timestamp, "FiatTokenV2: permit is expired");

        bytes memory data = abi.encode(
            PERMIT_TYPEHASH,
            owner,
            spender,
            value,
            _permitNonces[owner]++,
            deadline
        );
        require(
            EIP712.recover(DOMAIN_SEPARATOR, v, r, s, data) == owner,
            "EIP2612: invalid signature"
        );

        _approve(owner, spender, value);
    }
}

File 10 of 18 : FiatTokenV1.sol
/**
 * SPDX-License-Identifier: MIT
 *
 * Copyright (c) 2018-2020 CENTRE SECZ
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

pragma solidity ^0.8.13;

import "openzeppelin/access/Ownable.sol";
import "./AbstractFiatTokenV1.sol";
import "./Blacklistable.sol";
import "./Pausable.sol";

/**
 * @title FiatToken
 * @dev ERC20 Token backed by fiat reserves
 */
contract FiatTokenV1 is AbstractFiatTokenV1, Ownable, Pausable, Blacklistable {
    string public name;
    string public symbol;
    uint8 public decimals;
    string public currency;
    address public masterMinter;
    bool internal initialized;

    mapping(address => uint256) internal balances;
    mapping(address => mapping(address => uint256)) internal allowed;
    uint256 internal totalSupply_ = 0;
    mapping(address => bool) internal minters;
    mapping(address => uint256) internal minterAllowed;

    event Mint(address indexed minter, address indexed to, uint256 amount);
    event Burn(address indexed burner, uint256 amount);
    event MinterConfigured(address indexed minter, uint256 minterAllowedAmount);
    event MinterRemoved(address indexed oldMinter);
    event MasterMinterChanged(address indexed newMasterMinter);

    function initialize(
        string memory tokenName,
        string memory tokenSymbol,
        string memory tokenCurrency,
        uint8 tokenDecimals,
        address newMasterMinter,
        address newPauser,
        address newBlacklister,
        address newOwner
    ) public {
        require(!initialized, "FiatToken: contract is already initialized");
        require(
            newMasterMinter != address(0),
            "FiatToken: new masterMinter is the zero address"
        );
        require(
            newPauser != address(0),
            "FiatToken: new pauser is the zero address"
        );
        require(
            newBlacklister != address(0),
            "FiatToken: new blacklister is the zero address"
        );
        require(
            newOwner != address(0),
            "FiatToken: new owner is the zero address"
        );

        name = tokenName;
        symbol = tokenSymbol;
        currency = tokenCurrency;
        decimals = tokenDecimals;
        masterMinter = newMasterMinter;
        pauser = newPauser;
        blacklister = newBlacklister;
        _transferOwnership(newOwner);
        initialized = true;
    }

    /**
     * @dev Throws if called by any account other than a minter
     */
    modifier onlyMinters() {
        require(minters[msg.sender], "FiatToken: caller is not a minter");
        _;
    }

    /**
     * @dev Function to mint tokens
     * @param _to The address that will receive the minted tokens.
     * @param _amount The amount of tokens to mint. Must be less than or equal
     * to the minterAllowance of the caller.
     * @return A boolean that indicates if the operation was successful.
     */
    function mint(
        address _to,
        uint256 _amount
    )
        external
        whenNotPaused
        onlyMinters
        notBlacklisted(msg.sender)
        notBlacklisted(_to)
        returns (bool)
    {
        require(_to != address(0), "FiatToken: mint to the zero address");
        require(_amount > 0, "FiatToken: mint amount not greater than 0");

        uint256 mintingAllowedAmount = minterAllowed[msg.sender];
        require(
            _amount <= mintingAllowedAmount,
            "FiatToken: mint amount exceeds minterAllowance"
        );

        totalSupply_ = totalSupply_ + _amount;
        balances[_to] = balances[_to] + _amount;
        minterAllowed[msg.sender] = mintingAllowedAmount - _amount;
        emit Mint(msg.sender, _to, _amount);
        emit Transfer(address(0), _to, _amount);
        return true;
    }

    /**
     * @dev Throws if called by any account other than the masterMinter
     */
    modifier onlyMasterMinter() {
        require(
            msg.sender == masterMinter,
            "FiatToken: caller is not the masterMinter"
        );
        _;
    }

    /**
     * @dev Get minter allowance for an account
     * @param minter The address of the minter
     */
    function minterAllowance(address minter) external view returns (uint256) {
        return minterAllowed[minter];
    }

    /**
     * @dev Checks if account is a minter
     * @param account The address to check
     */
    function isMinter(address account) external view returns (bool) {
        return minters[account];
    }

    /**
     * @notice Amount of remaining tokens spender is allowed to transfer on
     * behalf of the token owner
     * @param owner     Token owner's address
     * @param spender   Spender's address
     * @return Allowance amount
     */
    function allowance(
        address owner,
        address spender
    ) external view override returns (uint256) {
        return allowed[owner][spender];
    }

    /**
     * @dev Get totalSupply of token
     */
    function totalSupply() external view override returns (uint256) {
        return totalSupply_;
    }

    /**
     * @dev Get token balance of an account
     * @param account address The account
     */
    function balanceOf(
        address account
    ) external view override returns (uint256) {
        return balances[account];
    }

    /**
     * @notice Set spender's allowance over the caller's tokens to be a given
     * value.
     * @param spender   Spender's address
     * @param value     Allowance amount
     * @return True if successful
     */
    function approve(
        address spender,
        uint256 value
    )
        external
        override
        whenNotPaused
        notBlacklisted(msg.sender)
        notBlacklisted(spender)
        returns (bool)
    {
        _approve(msg.sender, spender, value);
        return true;
    }

    /**
     * @dev Internal function to set allowance
     * @param owner     Token owner's address
     * @param spender   Spender's address
     * @param value     Allowance amount
     */
    function _approve(
        address owner,
        address spender,
        uint256 value
    ) internal override {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");
        allowed[owner][spender] = value;
        emit Approval(owner, spender, value);
    }

    /**
     * @notice Transfer tokens by spending allowance
     * @param from  Payer's address
     * @param to    Payee's address
     * @param value Transfer amount
     * @return True if successful
     */
    function transferFrom(
        address from,
        address to,
        uint256 value
    )
        external
        override
        whenNotPaused
        notBlacklisted(msg.sender)
        notBlacklisted(from)
        notBlacklisted(to)
        returns (bool)
    {
        require(
            value <= allowed[from][msg.sender],
            "ERC20: transfer amount exceeds allowance"
        );
        _transfer(from, to, value);
        allowed[from][msg.sender] = allowed[from][msg.sender] - value;
        return true;
    }

    /**
     * @notice Transfer tokens from the caller
     * @param to    Payee's address
     * @param value Transfer amount
     * @return True if successful
     */
    function transfer(
        address to,
        uint256 value
    )
        external
        override
        whenNotPaused
        notBlacklisted(msg.sender)
        notBlacklisted(to)
        returns (bool)
    {
        _transfer(msg.sender, to, value);
        return true;
    }

    /**
     * @notice Internal function to process transfers
     * @param from  Payer's address
     * @param to    Payee's address
     * @param value Transfer amount
     */
    function _transfer(
        address from,
        address to,
        uint256 value
    ) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(
            value <= balances[from],
            "ERC20: transfer amount exceeds balance"
        );

        balances[from] = balances[from] - value;
        balances[to] = balances[to] + value;
        emit Transfer(from, to, value);
    }

    /**
     * @dev Function to add/update a new minter
     * @param minter The address of the minter
     * @param minterAllowedAmount The minting amount allowed for the minter
     * @return True if the operation was successful.
     */
    function configureMinter(
        address minter,
        uint256 minterAllowedAmount
    ) external whenNotPaused onlyMasterMinter returns (bool) {
        minters[minter] = true;
        minterAllowed[minter] = minterAllowedAmount;
        emit MinterConfigured(minter, minterAllowedAmount);
        return true;
    }

    /**
     * @dev Function to remove a minter
     * @param minter The address of the minter to remove
     * @return True if the operation was successful.
     */
    function removeMinter(
        address minter
    ) external onlyMasterMinter returns (bool) {
        minters[minter] = false;
        minterAllowed[minter] = 0;
        emit MinterRemoved(minter);
        return true;
    }

    /**
     * @dev allows a minter to burn some of its own tokens
     * Validates that caller is a minter and that sender is not blacklisted
     * amount is less than or equal to the minter's account balance
     * @param _amount uint256 the amount of tokens to be burned
     */
    function burn(
        uint256 _amount
    ) external whenNotPaused onlyMinters notBlacklisted(msg.sender) {
        uint256 balance = balances[msg.sender];
        require(_amount > 0, "FiatToken: burn amount not greater than 0");
        require(balance >= _amount, "FiatToken: burn amount exceeds balance");

        totalSupply_ = totalSupply_ - _amount;
        balances[msg.sender] = balance - _amount;
        emit Burn(msg.sender, _amount);
        emit Transfer(msg.sender, address(0), _amount);
    }

    function updateMasterMinter(address _newMasterMinter) external onlyOwner {
        require(
            _newMasterMinter != address(0),
            "FiatToken: new masterMinter is the zero address"
        );
        masterMinter = _newMasterMinter;
        emit MasterMinterChanged(masterMinter);
    }
}

File 11 of 18 : Rescuable.sol
/**
 * SPDX-License-Identifier: MIT
 *
 * Copyright (c) 2018-2020 CENTRE SECZ
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

pragma solidity ^0.8.13;

import "openzeppelin/access/Ownable.sol";
import "openzeppelin/token/ERC20/IERC20.sol";

contract Rescuable is Ownable {
    address private _rescuer;

    event RescuerChanged(address indexed newRescuer);

    /**
     * @notice Returns current rescuer
     * @return Rescuer's address
     */
    function rescuer() external view returns (address) {
        return _rescuer;
    }

    /**
     * @notice Revert if called by any account other than the rescuer.
     */
    modifier onlyRescuer() {
        require(msg.sender == _rescuer, "Rescuable: caller is not the rescuer");
        _;
    }

    /**
     * @notice Rescue ERC20 tokens locked up in this contract.
     * @param tokenContract ERC20 token contract address
     * @param to        Recipient address
     * @param amount    Amount to withdraw
     */
    function rescueERC20(
        IERC20 tokenContract,
        address to,
        uint256 amount
    ) external onlyRescuer {
        tokenContract.transfer(to, amount);
    }

    /**
     * @notice Assign the rescuer role to a given address.
     * @param newRescuer New rescuer's address
     */
    function updateRescuer(address newRescuer) external onlyOwner {
        require(
            newRescuer != address(0),
            "Rescuable: new rescuer is the zero address"
        );
        _rescuer = newRescuer;
        emit RescuerChanged(newRescuer);
    }
}

File 12 of 18 : AbstractFiatTokenV1.sol
/**
 * SPDX-License-Identifier: MIT
 *
 * Copyright (c) 2018-2020 CENTRE SECZ
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

pragma solidity ^0.8.13;

import "openzeppelin/token/ERC20/IERC20.sol";

abstract contract AbstractFiatTokenV1 is IERC20 {
    function _approve(
        address owner,
        address spender,
        uint256 value
    ) internal virtual;

    function _transfer(
        address from,
        address to,
        uint256 value
    ) internal virtual;
}

File 13 of 18 : ECRecover.sol
/**
 * SPDX-License-Identifier: MIT
 *
 * Copyright (c) 2016-2019 zOS Global Limited
 * Copyright (c) 2018-2020 CENTRE SECZ
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

pragma solidity ^0.8.13;

/**
 * @title ECRecover
 * @notice A library that provides a safe ECDSA recovery function
 */
library ECRecover {
    /**
     * @notice Recover signer's address from a signed message
     * @dev Adapted from: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/65e4ffde586ec89af3b7e9140bdc9235d1254853/contracts/cryptography/ECDSA.sol
     * Modifications: Accept v, r, and s as separate arguments
     * @param digest    Keccak-256 hash digest of the signed message
     * @param v         v of the signature
     * @param r         r of the signature
     * @param s         s of the signature
     * @return Signer address
     */
    function recover(
        bytes32 digest,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        // 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 (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): 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
        ) {
            revert("ECRecover: invalid signature 's' value");
        }

        if (v != 27 && v != 28) {
            revert("ECRecover: invalid signature 'v' value");
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(digest, v, r, s);
        require(signer != address(0), "ECRecover: invalid signature");

        return signer;
    }
}

File 14 of 18 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 15 of 18 : Blacklistable.sol
/**
 * SPDX-License-Identifier: MIT
 *
 * Copyright (c) 2018-2020 CENTRE SECZ
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

pragma solidity ^0.8.13;

import "openzeppelin/access/Ownable.sol";

/**
 * @title Blacklistable Token
 * @dev Allows accounts to be blacklisted by a "blacklister" role
 */
contract Blacklistable is Ownable {
    address public blacklister;
    mapping(address => bool) internal blacklisted;

    event Blacklisted(address indexed _account);
    event UnBlacklisted(address indexed _account);
    event BlacklisterChanged(address indexed newBlacklister);

    /**
     * @dev Throws if called by any account other than the blacklister
     */
    modifier onlyBlacklister() {
        require(
            msg.sender == blacklister,
            "Blacklistable: caller is not the blacklister"
        );
        _;
    }

    /**
     * @dev Throws if argument account is blacklisted
     * @param _account The address to check
     */
    modifier notBlacklisted(address _account) {
        require(
            !blacklisted[_account],
            "Blacklistable: account is blacklisted"
        );
        _;
    }

    /**
     * @dev Checks if account is blacklisted
     * @param _account The address to check
     */
    function isBlacklisted(address _account) external view returns (bool) {
        return blacklisted[_account];
    }

    /**
     * @dev Adds account to blacklist
     * @param _account The address to blacklist
     */
    function blacklist(address _account) external onlyBlacklister {
        blacklisted[_account] = true;
        emit Blacklisted(_account);
    }

    /**
     * @dev Removes account from blacklist
     * @param _account The address to remove from the blacklist
     */
    function unBlacklist(address _account) external onlyBlacklister {
        blacklisted[_account] = false;
        emit UnBlacklisted(_account);
    }

    function updateBlacklister(address _newBlacklister) external onlyOwner {
        require(
            _newBlacklister != address(0),
            "Blacklistable: new blacklister is the zero address"
        );
        blacklister = _newBlacklister;
        emit BlacklisterChanged(blacklister);
    }
}

File 16 of 18 : Pausable.sol
/**
 * SPDX-License-Identifier: MIT
 *
 * Copyright (c) 2016 Smart Contract Solutions, Inc.
 * Copyright (c) 2018-2020 CENTRE SECZ0
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

pragma solidity ^0.8.13;

import "openzeppelin/access/Ownable.sol";

/**
 * @notice Base contract which allows children to implement an emergency stop
 * mechanism
 * @dev Forked from https://github.com/OpenZeppelin/openzeppelin-contracts/blob/feb665136c0dae9912e08397c1a21c4af3651ef3/contracts/lifecycle/Pausable.sol
 * Modifications:
 * 1. Added pauser role, switched pause/unpause to be onlyPauser (6/14/2018)
 * 2. Removed whenNotPause/whenPaused from pause/unpause (6/14/2018)
 * 3. Removed whenPaused (6/14/2018)
 * 4. Switches ownable library to use ZeppelinOS (7/12/18)
 * 5. Remove constructor (7/13/18)
 * 6. Reformat, conform to Solidity 0.6 syntax and add error messages (5/13/20)
 * 7. Make public functions external (5/27/20)
 */
contract Pausable is Ownable {
    event Pause();
    event Unpause();
    event PauserChanged(address indexed newAddress);

    address public pauser;
    bool public paused = false;

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     */
    modifier whenNotPaused() {
        require(!paused, "Pausable: paused");
        _;
    }

    /**
     * @dev throws if called by any account other than the pauser
     */
    modifier onlyPauser() {
        require(msg.sender == pauser, "Pausable: caller is not the pauser");
        _;
    }

    /**
     * @dev called by the owner to pause, triggers stopped state
     */
    function pause() external onlyPauser {
        paused = true;
        emit Pause();
    }

    /**
     * @dev called by the owner to unpause, returns to normal state
     */
    function unpause() external onlyPauser {
        paused = false;
        emit Unpause();
    }

    /**
     * @dev update the pauser role
     */
    function updatePauser(address _newPauser) external onlyOwner {
        require(
            _newPauser != address(0),
            "Pausable: new pauser is the zero address"
        );
        pauser = _newPauser;
        emit PauserChanged(pauser);
    }
}

File 17 of 18 : 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 18 of 18 : 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;
    }
}

Settings
{
  "remappings": [
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
    "openzeppelin/=lib/openzeppelin-contracts/contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"authorizer","type":"address"},{"indexed":true,"internalType":"bytes32","name":"nonce","type":"bytes32"}],"name":"AuthorizationCanceled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"authorizer","type":"address"},{"indexed":true,"internalType":"bytes32","name":"nonce","type":"bytes32"}],"name":"AuthorizationUsed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_account","type":"address"}],"name":"Blacklisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newBlacklister","type":"address"}],"name":"BlacklisterChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"burner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newMasterMinter","type":"address"}],"name":"MasterMinterChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minter","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"minterAllowedAmount","type":"uint256"}],"name":"MinterConfigured","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldMinter","type":"address"}],"name":"MinterRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"PauserChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newRescuer","type":"address"}],"name":"RescuerChanged","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":true,"internalType":"address","name":"_account","type":"address"}],"name":"UnBlacklisted","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"inputs":[],"name":"CANCEL_AUTHORIZATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RECEIVE_WITH_AUTHORIZATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TRANSFER_WITH_AUTHORIZATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"authorizer","type":"address"},{"internalType":"bytes32","name":"nonce","type":"bytes32"}],"name":"authorizationState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"blacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"blacklister","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"authorizer","type":"address"},{"internalType":"bytes32","name":"nonce","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"cancelAuthorization","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"},{"internalType":"uint256","name":"minterAllowedAmount","type":"uint256"}],"name":"configureMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currency","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"decrement","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"increment","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"tokenName","type":"string"},{"internalType":"string","name":"tokenSymbol","type":"string"},{"internalType":"string","name":"tokenCurrency","type":"string"},{"internalType":"uint8","name":"tokenDecimals","type":"uint8"},{"internalType":"address","name":"newMasterMinter","type":"address"},{"internalType":"address","name":"newPauser","type":"address"},{"internalType":"address","name":"newBlacklister","type":"address"},{"internalType":"address","name":"newOwner","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newName","type":"string"}],"name":"initializeV2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"lostAndFound","type":"address"}],"name":"initializeV2_1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"masterMinter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"minterAllowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauser","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"validAfter","type":"uint256"},{"internalType":"uint256","name":"validBefore","type":"uint256"},{"internalType":"bytes32","name":"nonce","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"receiveWithAuthorization","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"removeMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"tokenContract","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rescuer","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"value","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":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"validAfter","type":"uint256"},{"internalType":"uint256","name":"validBefore","type":"uint256"},{"internalType":"bytes32","name":"nonce","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"transferWithAuthorization","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"unBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newBlacklister","type":"address"}],"name":"updateBlacklister","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newMasterMinter","type":"address"}],"name":"updateMasterMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newPauser","type":"address"}],"name":"updatePauser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRescuer","type":"address"}],"name":"updateRescuer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040526001805460ff60a01b191690556000600b553480156200002357600080fd5b506200002f3362000035565b62000085565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6136f980620000956000396000f3fe608060405234801561001057600080fd5b506004361061030c5760003560e01c80637f2eecc31161019d578063b2118a8d116100e9578063e3ee160e116100a2578063ef55bec61161007c578063ef55bec61461079e578063f2fde38b146107b1578063f9f92be4146107c4578063fe575a87146107d757600080fd5b8063e3ee160e1461074a578063e5a6b10f1461075d578063e94a01021461076557600080fd5b8063b2118a8d1461069e578063bd102430146106b1578063d505accf146106c4578063d608ea64146106d7578063d9169487146106ea578063dd62ed3e1461071157600080fd5b80639fd0506d11610156578063a9059cbb11610130578063a9059cbb14610639578063aa20e1e41461064c578063aa271e1a1461065f578063ad38bf221461068b57600080fd5b80639fd0506d146105ec578063a0cc6a68146105ff578063a457c2d71461062657600080fd5b80637f2eecc3146105685780638456cb591461058f5780638a6db9c3146105975780638da5cb5b146105c057806395d89b41146105d15780639dc29fac146105d957600080fd5b806338a631831161025c57806354fd4d50116102155780635c975abb116101ef5780635c975abb146104fa57806370a082311461050e578063715018a6146105375780637ecebe001461053f57600080fd5b806354fd4d50146104b7578063554bab3c146104d45780635a049a70146104e757600080fd5b806338a631831461045257806339509351146104635780633f4ba83a1461047657806340c10f191461047e57806342966c68146104915780634e44d956146104a457600080fd5b80632fc81e09116102c9578063313ce567116102a3578063313ce567146103ec5780633357162b1461040b57806335d99f351461041e5780633644e5151461044957600080fd5b80632fc81e091461039f5780633092afd5146103b257806330adf81f146103c557600080fd5b806306fdde0314610311578063095ea7b31461032f57806318160ddd146103525780631a8952661461036457806323b872dd146103795780632ab600451461038c575b600080fd5b610319610803565b6040516103269190612c98565b60405180910390f35b61034261033d366004612d0d565b610891565b6040519015158152602001610326565b600b545b604051908152602001610326565b610377610372366004612d39565b610948565b005b610342610387366004612d5d565b6109bb565b61037761039a366004612d39565b610b3d565b6103776103ad366004612d39565b610bf8565b6103426103c0366004612d39565b610c58565b6103567f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b6006546103f99060ff1681565b60405160ff9091168152602001610326565b610377610419366004612e52565b610ce1565b600854610431906001600160a01b031681565b6040516001600160a01b039091168152602001610326565b610356600f5481565b600e546001600160a01b0316610431565b610342610471366004612d0d565b610f4a565b610377610fed565b61034261048c366004612d0d565b61104f565b61037761049f366004612f2e565b611335565b6103426104b2366004612d0d565b6114a0565b6040805180820190915260018152601960f91b6020820152610319565b6103776104e2366004612d39565b611561565b6103776104f5366004612f47565b61161a565b60015461034290600160a01b900460ff1681565b61035661051c366004612d39565b6001600160a01b031660009081526009602052604090205490565b610377611658565b61035661054d366004612d39565b6001600160a01b031660009081526011602052604090205490565b6103567fd099cc98ef71107a616c4f0f941f04c322d8e254fe26b3c6668db87aae413de881565b61037761166c565b6103566105a5366004612d39565b6001600160a01b03166000908152600d602052604090205490565b6000546001600160a01b0316610431565b6103196116d4565b6103776105e7366004612d0d565b6116e1565b600154610431906001600160a01b031681565b6103567f7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a226781565b610342610634366004612d0d565b6118e6565b610342610647366004612d0d565b611989565b61037761065a366004612d39565b611a2c565b61034261066d366004612d39565b6001600160a01b03166000908152600c602052604090205460ff1690565b610377610699366004612d39565b611aa4565b6103776106ac366004612d5d565b611b67565b600254610431906001600160a01b031681565b6103776106d2366004612f97565b611c46565b6103776106e5366004613005565b611d00565b6103567f158b0a9edf7a828aad02f63cd515c68ef2f50ba807396f6d12842833a159742981565b61035661071f366004613077565b6001600160a01b039182166000908152600a6020908152604080832093909416825291909152205490565b6103776107583660046130b0565b611d9f565b610319611e5d565b610342610773366004612d0d565b6001600160a01b03919091166000908152601060209081526040808320938352929052205460ff1690565b6103776107ac3660046130b0565b611e6a565b6103776107bf366004612d39565b611f1b565b6103776107d2366004612d39565b611f94565b6103426107e5366004612d39565b6001600160a01b031660009081526003602052604090205460ff1690565b6004805461081090613132565b80601f016020809104026020016040519081016040528092919081815260200182805461083c90613132565b80156108895780601f1061085e57610100808354040283529160200191610889565b820191906000526020600020905b81548152906001019060200180831161086c57829003601f168201915b505050505081565b600154600090600160a01b900460ff16156108c75760405162461bcd60e51b81526004016108be9061316c565b60405180910390fd5b3360008181526003602052604090205460ff16156108f75760405162461bcd60e51b81526004016108be90613196565b6001600160a01b038416600090815260036020526040902054849060ff16156109325760405162461bcd60e51b81526004016108be90613196565b61093d33868661200a565b506001949350505050565b6002546001600160a01b031633146109725760405162461bcd60e51b81526004016108be906131db565b6001600160a01b038116600081815260036020526040808220805460ff19169055517f117e3210bb9aa7d9baff172026820255c6f6c30ba8999d1c2fd88e2848137c4e9190a250565b600154600090600160a01b900460ff16156109e85760405162461bcd60e51b81526004016108be9061316c565b3360008181526003602052604090205460ff1615610a185760405162461bcd60e51b81526004016108be90613196565b6001600160a01b038516600090815260036020526040902054859060ff1615610a535760405162461bcd60e51b81526004016108be90613196565b6001600160a01b038516600090815260036020526040902054859060ff1615610a8e5760405162461bcd60e51b81526004016108be90613196565b6001600160a01b0387166000908152600a60209081526040808320338452909152902054851115610ad15760405162461bcd60e51b81526004016108be90613227565b610adc878787612126565b6001600160a01b0387166000908152600a60209081526040808320338452909152902054610b0b908690613285565b6001600160a01b0388166000908152600a60209081526040808320338452909152902055600193505050509392505050565b610b456122f9565b6001600160a01b038116610bae5760405162461bcd60e51b815260206004820152602a60248201527f526573637561626c653a206e6577207265736375657220697320746865207a65604482015269726f206164647265737360b01b60648201526084016108be565b600e80546001600160a01b0319166001600160a01b0383169081179091556040517fe475e580d85111348e40d8ca33cfdd74c30fe1655c2d8537a13abc10065ffa5a90600090a250565b60125460ff16600114610c0a57600080fd5b306000908152600960205260409020548015610c2b57610c2b308383612126565b5050306000908152600360205260409020805460ff19908116600117909155601280549091166002179055565b6008546000906001600160a01b03163314610c855760405162461bcd60e51b81526004016108be9061329c565b6001600160a01b0382166000818152600c60209081526040808320805460ff19169055600d909152808220829055517fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb666929190a25060015b919050565b600854600160a01b900460ff1615610d4e5760405162461bcd60e51b815260206004820152602a60248201527f46696174546f6b656e3a20636f6e747261637420697320616c726561647920696044820152691b9a5d1a585b1a5e995960b21b60648201526084016108be565b6001600160a01b038416610d745760405162461bcd60e51b81526004016108be906132e5565b6001600160a01b038316610ddc5760405162461bcd60e51b815260206004820152602960248201527f46696174546f6b656e3a206e65772070617573657220697320746865207a65726044820152686f206164647265737360b81b60648201526084016108be565b6001600160a01b038216610e495760405162461bcd60e51b815260206004820152602e60248201527f46696174546f6b656e3a206e657720626c61636b6c697374657220697320746860448201526d65207a65726f206164647265737360901b60648201526084016108be565b6001600160a01b038116610eb05760405162461bcd60e51b815260206004820152602860248201527f46696174546f6b656e3a206e6577206f776e657220697320746865207a65726f604482015267206164647265737360c01b60648201526084016108be565b6004610ebc8982613382565b506005610ec98882613382565b506007610ed68782613382565b506006805460ff191660ff8716179055600880546001600160a01b03199081166001600160a01b038781169190911790925560018054821686841617905560028054909116918416919091179055610f2d81612353565b50506008805460ff60a01b1916600160a01b179055505050505050565b600154600090600160a01b900460ff1615610f775760405162461bcd60e51b81526004016108be9061316c565b3360008181526003602052604090205460ff1615610fa75760405162461bcd60e51b81526004016108be90613196565b6001600160a01b038416600090815260036020526040902054849060ff1615610fe25760405162461bcd60e51b81526004016108be90613196565b61093d3386866123a3565b6001546001600160a01b031633146110175760405162461bcd60e51b81526004016108be90613442565b6001805460ff60a01b191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b600154600090600160a01b900460ff161561107c5760405162461bcd60e51b81526004016108be9061316c565b336000908152600c602052604090205460ff166110ab5760405162461bcd60e51b81526004016108be90613484565b3360008181526003602052604090205460ff16156110db5760405162461bcd60e51b81526004016108be90613196565b6001600160a01b038416600090815260036020526040902054849060ff16156111165760405162461bcd60e51b81526004016108be90613196565b6001600160a01b0385166111785760405162461bcd60e51b815260206004820152602360248201527f46696174546f6b656e3a206d696e7420746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108be565b600084116111da5760405162461bcd60e51b815260206004820152602960248201527f46696174546f6b656e3a206d696e7420616d6f756e74206e6f7420677265617460448201526806572207468616e20360bc1b60648201526084016108be565b336000908152600d6020526040902054808511156112515760405162461bcd60e51b815260206004820152602e60248201527f46696174546f6b656e3a206d696e7420616d6f756e742065786365656473206d60448201526d696e746572416c6c6f77616e636560901b60648201526084016108be565b84600b5461125f91906134c5565b600b556001600160a01b0386166000908152600960205260409020546112869086906134c5565b6001600160a01b0387166000908152600960205260409020556112a98582613285565b336000818152600d602090815260409182902093909355518781526001600160a01b038916927fab8530f87dc9b59234c4623bf917212bb2536d647574c8e7e5da92c2ede0c9f8910160405180910390a36040518581526001600160a01b038716906000906000805160206136a48339815191529060200160405180910390a350600195945050505050565b600154600160a01b900460ff161561135f5760405162461bcd60e51b81526004016108be9061316c565b336000908152600c602052604090205460ff1661138e5760405162461bcd60e51b81526004016108be90613484565b3360008181526003602052604090205460ff16156113be5760405162461bcd60e51b81526004016108be90613196565b33600090815260096020526040902054826113eb5760405162461bcd60e51b81526004016108be906134dd565b8281101561140b5760405162461bcd60e51b81526004016108be90613526565b82600b546114199190613285565b600b556114268382613285565b33600081815260096020526040908190209290925590517fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59061146c9086815260200190565b60405180910390a260405183815260009033906000805160206136a4833981519152906020015b60405180910390a3505050565b600154600090600160a01b900460ff16156114cd5760405162461bcd60e51b81526004016108be9061316c565b6008546001600160a01b031633146114f75760405162461bcd60e51b81526004016108be9061329c565b6001600160a01b0383166000818152600c60209081526040808320805460ff19166001179055600d82529182902085905590518481527f46980fca912ef9bcdbd36877427b6b90e860769f604e89c0e67720cece530d20910160405180910390a250600192915050565b6115696122f9565b6001600160a01b0381166115d05760405162461bcd60e51b815260206004820152602860248201527f5061757361626c653a206e65772070617573657220697320746865207a65726f604482015267206164647265737360c01b60648201526084016108be565b600180546001600160a01b0319166001600160a01b0383169081179091556040517fb80482a293ca2e013eda8683c9bd7fc8347cfdaeea5ede58cba46df502c2a60490600090a250565b600154600160a01b900460ff16156116445760405162461bcd60e51b81526004016108be9061316c565b61165185858585856123e6565b5050505050565b6116606122f9565b61166a6000612353565b565b6001546001600160a01b031633146116965760405162461bcd60e51b81526004016108be90613442565b6001805460ff60a01b1916600160a01b1790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b6005805461081090613132565b600154600160a01b900460ff161561170b5760405162461bcd60e51b81526004016108be9061316c565b336000908152600c602052604090205460ff1661173a5760405162461bcd60e51b81526004016108be90613484565b3360008181526003602052604090205460ff161561176a5760405162461bcd60e51b81526004016108be90613196565b6001600160a01b038316600090815260036020526040902054839060ff16156117a55760405162461bcd60e51b81526004016108be90613196565b6001600160a01b038416600090815260096020526040902054836117db5760405162461bcd60e51b81526004016108be906134dd565b838110156117fb5760405162461bcd60e51b81526004016108be90613526565b6001600160a01b0385166000908152600a6020908152604080832033845290915290205484111561183e5760405162461bcd60e51b81526004016108be90613227565b83600b5461184c9190613285565b600b556118598482613285565b6001600160a01b038616600081815260096020526040908190209290925590517fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5906118a89087815260200190565b60405180910390a26040518481526000906001600160a01b038716906000805160206136a48339815191529060200160405180910390a35050505050565b600154600090600160a01b900460ff16156119135760405162461bcd60e51b81526004016108be9061316c565b3360008181526003602052604090205460ff16156119435760405162461bcd60e51b81526004016108be90613196565b6001600160a01b038416600090815260036020526040902054849060ff161561197e5760405162461bcd60e51b81526004016108be90613196565b61093d338686612516565b600154600090600160a01b900460ff16156119b65760405162461bcd60e51b81526004016108be9061316c565b3360008181526003602052604090205460ff16156119e65760405162461bcd60e51b81526004016108be90613196565b6001600160a01b038416600090815260036020526040902054849060ff1615611a215760405162461bcd60e51b81526004016108be90613196565b61093d338686612126565b611a346122f9565b6001600160a01b038116611a5a5760405162461bcd60e51b81526004016108be906132e5565b600880546001600160a01b0319166001600160a01b0383169081179091556040517fdb66dfa9c6b8f5226fe9aac7e51897ae8ee94ac31dc70bb6c9900b2574b707e690600090a250565b611aac6122f9565b6001600160a01b038116611b1d5760405162461bcd60e51b815260206004820152603260248201527f426c61636b6c69737461626c653a206e657720626c61636b6c697374657220696044820152717320746865207a65726f206164647265737360701b60648201526084016108be565b600280546001600160a01b0319166001600160a01b0383169081179091556040517fc67398012c111ce95ecb7429b933096c977380ee6c421175a71a4a4c6c88c06e90600090a250565b600e546001600160a01b03163314611bcd5760405162461bcd60e51b8152602060048201526024808201527f526573637561626c653a2063616c6c6572206973206e6f74207468652072657360448201526331bab2b960e11b60648201526084016108be565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb906044016020604051808303816000875af1158015611c1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c40919061356c565b50505050565b600154600160a01b900460ff1615611c705760405162461bcd60e51b81526004016108be9061316c565b6001600160a01b038716600090815260036020526040902054879060ff1615611cab5760405162461bcd60e51b81526004016108be90613196565b6001600160a01b038716600090815260036020526040902054879060ff1615611ce65760405162461bcd60e51b81526004016108be90613196565b611cf58989898989898961254f565b505050505050505050565b600854600160a01b900460ff168015611d1c575060125460ff16155b611d2557600080fd5b6004611d3282848361358e565b50611d8b82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040805180820190915260018152601960f91b602082015291506126bd9050565b600f5550506012805460ff19166001179055565b600154600160a01b900460ff1615611dc95760405162461bcd60e51b81526004016108be9061316c565b6001600160a01b038916600090815260036020526040902054899060ff1615611e045760405162461bcd60e51b81526004016108be90613196565b6001600160a01b038916600090815260036020526040902054899060ff1615611e3f5760405162461bcd60e51b81526004016108be90613196565b611e508b8b8b8b8b8b8b8b8b61272f565b5050505050505050505050565b6007805461081090613132565b600154600160a01b900460ff1615611e945760405162461bcd60e51b81526004016108be9061316c565b6001600160a01b038916600090815260036020526040902054899060ff1615611ecf5760405162461bcd60e51b81526004016108be90613196565b6001600160a01b038916600090815260036020526040902054899060ff1615611f0a5760405162461bcd60e51b81526004016108be90613196565b611e508b8b8b8b8b8b8b8b8b61281c565b611f236122f9565b6001600160a01b038116611f885760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108be565b611f9181612353565b50565b6002546001600160a01b03163314611fbe5760405162461bcd60e51b81526004016108be906131db565b6001600160a01b038116600081815260036020526040808220805460ff19166001179055517fffa4e6181777692565cf28528fc88fd1516ea86b56da075235fa575af6a4b8559190a250565b6001600160a01b03831661206c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108be565b6001600160a01b0382166120cd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108be565b6001600160a01b038381166000818152600a602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259101611493565b6001600160a01b03831661218a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108be565b6001600160a01b0382166121ec5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108be565b6001600160a01b0383166000908152600960205260409020548111156122635760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108be565b6001600160a01b038316600090815260096020526040902054612287908290613285565b6001600160a01b0380851660009081526009602052604080822093909355908416815220546122b79082906134c5565b6001600160a01b0380841660008181526009602052604090819020939093559151908516906000805160206136a4833981519152906114939085815260200190565b6000546001600160a01b0316331461166a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108be565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038084166000908152600a60209081526040808320938616835292905220546123e190849084906123dc9085906134c5565b61200a565b505050565b6123f085856128ce565b604080517f158b0a9edf7a828aad02f63cd515c68ef2f50ba807396f6d12842833a159742960208201526001600160a01b03871691810191909152606081018590526000906080016040516020818303038152906040529050856001600160a01b0316612462600f548686868661295d565b6001600160a01b0316146124b85760405162461bcd60e51b815260206004820152601e60248201527f46696174546f6b656e56323a20696e76616c6964207369676e6174757265000060448201526064016108be565b6001600160a01b0386166000818152601060209081526040808320898452909152808220805460ff19166001179055518792917f1cdd46ff242716cdaa72d159d339a485b3438398348d68f09d7c8c0a59353d8191a3505050505050565b6001600160a01b038084166000908152600a60209081526040808320938616835292905220546123e190849084906123dc908590613285565b4284101561259f5760405162461bcd60e51b815260206004820152601e60248201527f46696174546f6b656e56323a207065726d69742069732065787069726564000060448201526064016108be565b6001600160a01b038716600090815260116020526040812080547f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918a918a918a9190866125ec8361364e565b909155506040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040529050876001600160a01b0316612652600f548686868661295d565b6001600160a01b0316146126a85760405162461bcd60e51b815260206004820152601a60248201527f454950323631323a20696e76616c6964207369676e617475726500000000000060448201526064016108be565b6126b388888861200a565b5050505050505050565b8151602092830120815191830191909120604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818601528082019390935260608301919091524660808301523060a0808401919091528151808403909101815260c09092019052805191012090565b61273b898588886129bf565b60405160009061277b907f7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a2267908c908c908c908c908c908c90602001613667565b6040516020818303038152906040529050896001600160a01b03166127a5600f548686868661295d565b6001600160a01b0316146127fb5760405162461bcd60e51b815260206004820152601e60248201527f46696174546f6b656e56323a20696e76616c6964207369676e6174757265000060448201526064016108be565b6128058a86612a89565b6128108a8a8a612126565b50505050505050505050565b6001600160a01b03881633146128825760405162461bcd60e51b815260206004820152602560248201527f46696174546f6b656e56323a2063616c6c6572206d7573742062652074686520604482015264706179656560d81b60648201526084016108be565b61288e898588886129bf565b60405160009061277b907fd099cc98ef71107a616c4f0f941f04c322d8e254fe26b3c6668db87aae413de8908c908c908c908c908c908c90602001613667565b6001600160a01b038216600090815260106020908152604080832084845290915290205460ff16156129595760405162461bcd60e51b815260206004820152602e60248201527f46696174546f6b656e56323a20617574686f72697a6174696f6e20697320757360448201526d1959081bdc8818d85b98d95b195960921b60648201526084016108be565b5050565b60008086838051906020012060405160200161299092919061190160f01b81526002810192909252602282015260420190565b6040516020818303038152906040528051906020012090506129b481878787612ae3565b979650505050505050565b814211612a225760405162461bcd60e51b815260206004820152602b60248201527f46696174546f6b656e56323a20617574686f72697a6174696f6e206973206e6f60448201526a1d081e595d081d985b1a5960aa1b60648201526084016108be565b804210612a7f5760405162461bcd60e51b815260206004820152602560248201527f46696174546f6b656e56323a20617574686f72697a6174696f6e2069732065786044820152641c1a5c995960da1b60648201526084016108be565b611c4084846128ce565b6001600160a01b0382166000818152601060209081526040808320858452909152808220805460ff19166001179055518392917f98de503528ee59b575ef0c0a2576a82497bfc029a5685b209e9ec333479b10a591a35050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115612b645760405162461bcd60e51b815260206004820152602660248201527f45435265636f7665723a20696e76616c6964207369676e6174757265202773276044820152652076616c756560d01b60648201526084016108be565b8360ff16601b14158015612b7c57508360ff16601c14155b15612bd85760405162461bcd60e51b815260206004820152602660248201527f45435265636f7665723a20696e76616c6964207369676e6174757265202776276044820152652076616c756560d01b60648201526084016108be565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015612c2c573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612c8f5760405162461bcd60e51b815260206004820152601c60248201527f45435265636f7665723a20696e76616c6964207369676e61747572650000000060448201526064016108be565b95945050505050565b600060208083528351808285015260005b81811015612cc557858101830151858201604001528201612ca9565b81811115612cd7576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114611f9157600080fd5b8035610cdc81612ced565b60008060408385031215612d2057600080fd5b8235612d2b81612ced565b946020939093013593505050565b600060208284031215612d4b57600080fd5b8135612d5681612ced565b9392505050565b600080600060608486031215612d7257600080fd5b8335612d7d81612ced565b92506020840135612d8d81612ced565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b600082601f830112612dc557600080fd5b813567ffffffffffffffff80821115612de057612de0612d9e565b604051601f8301601f19908116603f01168101908282118183101715612e0857612e08612d9e565b81604052838152866020858801011115612e2157600080fd5b836020870160208301376000602085830101528094505050505092915050565b803560ff81168114610cdc57600080fd5b600080600080600080600080610100898b031215612e6f57600080fd5b883567ffffffffffffffff80821115612e8757600080fd5b612e938c838d01612db4565b995060208b0135915080821115612ea957600080fd5b612eb58c838d01612db4565b985060408b0135915080821115612ecb57600080fd5b50612ed88b828c01612db4565b965050612ee760608a01612e41565b9450612ef560808a01612d02565b9350612f0360a08a01612d02565b9250612f1160c08a01612d02565b9150612f1f60e08a01612d02565b90509295985092959890939650565b600060208284031215612f4057600080fd5b5035919050565b600080600080600060a08688031215612f5f57600080fd5b8535612f6a81612ced565b945060208601359350612f7f60408701612e41565b94979396509394606081013594506080013592915050565b600080600080600080600060e0888a031215612fb257600080fd5b8735612fbd81612ced565b96506020880135612fcd81612ced565b95506040880135945060608801359350612fe960808901612e41565b925060a0880135915060c0880135905092959891949750929550565b6000806020838503121561301857600080fd5b823567ffffffffffffffff8082111561303057600080fd5b818501915085601f83011261304457600080fd5b81358181111561305357600080fd5b86602082850101111561306557600080fd5b60209290920196919550909350505050565b6000806040838503121561308a57600080fd5b823561309581612ced565b915060208301356130a581612ced565b809150509250929050565b60008060008060008060008060006101208a8c0312156130cf57600080fd5b89356130da81612ced565b985060208a01356130ea81612ced565b975060408a0135965060608a0135955060808a0135945060a08a0135935061311460c08b01612e41565b925060e08a013591506101008a013590509295985092959850929598565b600181811c9082168061314657607f821691505b60208210810361316657634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526025908201527f426c61636b6c69737461626c653a206163636f756e7420697320626c61636b6c6040820152641a5cdd195960da1b606082015260800190565b6020808252602c908201527f426c61636b6c69737461626c653a2063616c6c6572206973206e6f742074686560408201526b10313630b1b5b634b9ba32b960a11b606082015260800190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000828210156132975761329761326f565b500390565b60208082526029908201527f46696174546f6b656e3a2063616c6c6572206973206e6f7420746865206d61736040820152683a32b926b4b73a32b960b91b606082015260800190565b6020808252602f908201527f46696174546f6b656e3a206e6577206d61737465724d696e746572206973207460408201526e6865207a65726f206164647265737360881b606082015260800190565b601f8211156123e157600081815260208120601f850160051c8101602086101561335b5750805b601f850160051c820191505b8181101561337a57828155600101613367565b505050505050565b815167ffffffffffffffff81111561339c5761339c612d9e565b6133b0816133aa8454613132565b84613334565b602080601f8311600181146133e557600084156133cd5750858301515b600019600386901b1c1916600185901b17855561337a565b600085815260208120601f198616915b82811015613414578886015182559484019460019091019084016133f5565b50858210156134325787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526022908201527f5061757361626c653a2063616c6c6572206973206e6f7420746865207061757360408201526132b960f11b606082015260800190565b60208082526021908201527f46696174546f6b656e3a2063616c6c6572206973206e6f742061206d696e74656040820152603960f91b606082015260800190565b600082198211156134d8576134d861326f565b500190565b60208082526029908201527f46696174546f6b656e3a206275726e20616d6f756e74206e6f7420677265617460408201526806572207468616e20360bc1b606082015260800190565b60208082526026908201527f46696174546f6b656e3a206275726e20616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60006020828403121561357e57600080fd5b81518015158114612d5657600080fd5b67ffffffffffffffff8311156135a6576135a6612d9e565b6135ba836135b48354613132565b83613334565b6000601f8411600181146135ee57600085156135d65750838201355b600019600387901b1c1916600186901b178355611651565b600083815260209020601f19861690835b8281101561361f57868501358255602094850194600190920191016135ff565b508682101561363c5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000600182016136605761366061326f565b5060010190565b9687526001600160a01b0395861660208801529390941660408601526060850191909152608084015260a083019190915260c082015260e0019056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220e9d251f416ede602ca6f6e63d41f8503cd8e9c0fc0a7387c3fe784d7dbf4f44764736f6c634300080f0033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061030c5760003560e01c80637f2eecc31161019d578063b2118a8d116100e9578063e3ee160e116100a2578063ef55bec61161007c578063ef55bec61461079e578063f2fde38b146107b1578063f9f92be4146107c4578063fe575a87146107d757600080fd5b8063e3ee160e1461074a578063e5a6b10f1461075d578063e94a01021461076557600080fd5b8063b2118a8d1461069e578063bd102430146106b1578063d505accf146106c4578063d608ea64146106d7578063d9169487146106ea578063dd62ed3e1461071157600080fd5b80639fd0506d11610156578063a9059cbb11610130578063a9059cbb14610639578063aa20e1e41461064c578063aa271e1a1461065f578063ad38bf221461068b57600080fd5b80639fd0506d146105ec578063a0cc6a68146105ff578063a457c2d71461062657600080fd5b80637f2eecc3146105685780638456cb591461058f5780638a6db9c3146105975780638da5cb5b146105c057806395d89b41146105d15780639dc29fac146105d957600080fd5b806338a631831161025c57806354fd4d50116102155780635c975abb116101ef5780635c975abb146104fa57806370a082311461050e578063715018a6146105375780637ecebe001461053f57600080fd5b806354fd4d50146104b7578063554bab3c146104d45780635a049a70146104e757600080fd5b806338a631831461045257806339509351146104635780633f4ba83a1461047657806340c10f191461047e57806342966c68146104915780634e44d956146104a457600080fd5b80632fc81e09116102c9578063313ce567116102a3578063313ce567146103ec5780633357162b1461040b57806335d99f351461041e5780633644e5151461044957600080fd5b80632fc81e091461039f5780633092afd5146103b257806330adf81f146103c557600080fd5b806306fdde0314610311578063095ea7b31461032f57806318160ddd146103525780631a8952661461036457806323b872dd146103795780632ab600451461038c575b600080fd5b610319610803565b6040516103269190612c98565b60405180910390f35b61034261033d366004612d0d565b610891565b6040519015158152602001610326565b600b545b604051908152602001610326565b610377610372366004612d39565b610948565b005b610342610387366004612d5d565b6109bb565b61037761039a366004612d39565b610b3d565b6103776103ad366004612d39565b610bf8565b6103426103c0366004612d39565b610c58565b6103567f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b6006546103f99060ff1681565b60405160ff9091168152602001610326565b610377610419366004612e52565b610ce1565b600854610431906001600160a01b031681565b6040516001600160a01b039091168152602001610326565b610356600f5481565b600e546001600160a01b0316610431565b610342610471366004612d0d565b610f4a565b610377610fed565b61034261048c366004612d0d565b61104f565b61037761049f366004612f2e565b611335565b6103426104b2366004612d0d565b6114a0565b6040805180820190915260018152601960f91b6020820152610319565b6103776104e2366004612d39565b611561565b6103776104f5366004612f47565b61161a565b60015461034290600160a01b900460ff1681565b61035661051c366004612d39565b6001600160a01b031660009081526009602052604090205490565b610377611658565b61035661054d366004612d39565b6001600160a01b031660009081526011602052604090205490565b6103567fd099cc98ef71107a616c4f0f941f04c322d8e254fe26b3c6668db87aae413de881565b61037761166c565b6103566105a5366004612d39565b6001600160a01b03166000908152600d602052604090205490565b6000546001600160a01b0316610431565b6103196116d4565b6103776105e7366004612d0d565b6116e1565b600154610431906001600160a01b031681565b6103567f7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a226781565b610342610634366004612d0d565b6118e6565b610342610647366004612d0d565b611989565b61037761065a366004612d39565b611a2c565b61034261066d366004612d39565b6001600160a01b03166000908152600c602052604090205460ff1690565b610377610699366004612d39565b611aa4565b6103776106ac366004612d5d565b611b67565b600254610431906001600160a01b031681565b6103776106d2366004612f97565b611c46565b6103776106e5366004613005565b611d00565b6103567f158b0a9edf7a828aad02f63cd515c68ef2f50ba807396f6d12842833a159742981565b61035661071f366004613077565b6001600160a01b039182166000908152600a6020908152604080832093909416825291909152205490565b6103776107583660046130b0565b611d9f565b610319611e5d565b610342610773366004612d0d565b6001600160a01b03919091166000908152601060209081526040808320938352929052205460ff1690565b6103776107ac3660046130b0565b611e6a565b6103776107bf366004612d39565b611f1b565b6103776107d2366004612d39565b611f94565b6103426107e5366004612d39565b6001600160a01b031660009081526003602052604090205460ff1690565b6004805461081090613132565b80601f016020809104026020016040519081016040528092919081815260200182805461083c90613132565b80156108895780601f1061085e57610100808354040283529160200191610889565b820191906000526020600020905b81548152906001019060200180831161086c57829003601f168201915b505050505081565b600154600090600160a01b900460ff16156108c75760405162461bcd60e51b81526004016108be9061316c565b60405180910390fd5b3360008181526003602052604090205460ff16156108f75760405162461bcd60e51b81526004016108be90613196565b6001600160a01b038416600090815260036020526040902054849060ff16156109325760405162461bcd60e51b81526004016108be90613196565b61093d33868661200a565b506001949350505050565b6002546001600160a01b031633146109725760405162461bcd60e51b81526004016108be906131db565b6001600160a01b038116600081815260036020526040808220805460ff19169055517f117e3210bb9aa7d9baff172026820255c6f6c30ba8999d1c2fd88e2848137c4e9190a250565b600154600090600160a01b900460ff16156109e85760405162461bcd60e51b81526004016108be9061316c565b3360008181526003602052604090205460ff1615610a185760405162461bcd60e51b81526004016108be90613196565b6001600160a01b038516600090815260036020526040902054859060ff1615610a535760405162461bcd60e51b81526004016108be90613196565b6001600160a01b038516600090815260036020526040902054859060ff1615610a8e5760405162461bcd60e51b81526004016108be90613196565b6001600160a01b0387166000908152600a60209081526040808320338452909152902054851115610ad15760405162461bcd60e51b81526004016108be90613227565b610adc878787612126565b6001600160a01b0387166000908152600a60209081526040808320338452909152902054610b0b908690613285565b6001600160a01b0388166000908152600a60209081526040808320338452909152902055600193505050509392505050565b610b456122f9565b6001600160a01b038116610bae5760405162461bcd60e51b815260206004820152602a60248201527f526573637561626c653a206e6577207265736375657220697320746865207a65604482015269726f206164647265737360b01b60648201526084016108be565b600e80546001600160a01b0319166001600160a01b0383169081179091556040517fe475e580d85111348e40d8ca33cfdd74c30fe1655c2d8537a13abc10065ffa5a90600090a250565b60125460ff16600114610c0a57600080fd5b306000908152600960205260409020548015610c2b57610c2b308383612126565b5050306000908152600360205260409020805460ff19908116600117909155601280549091166002179055565b6008546000906001600160a01b03163314610c855760405162461bcd60e51b81526004016108be9061329c565b6001600160a01b0382166000818152600c60209081526040808320805460ff19169055600d909152808220829055517fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb666929190a25060015b919050565b600854600160a01b900460ff1615610d4e5760405162461bcd60e51b815260206004820152602a60248201527f46696174546f6b656e3a20636f6e747261637420697320616c726561647920696044820152691b9a5d1a585b1a5e995960b21b60648201526084016108be565b6001600160a01b038416610d745760405162461bcd60e51b81526004016108be906132e5565b6001600160a01b038316610ddc5760405162461bcd60e51b815260206004820152602960248201527f46696174546f6b656e3a206e65772070617573657220697320746865207a65726044820152686f206164647265737360b81b60648201526084016108be565b6001600160a01b038216610e495760405162461bcd60e51b815260206004820152602e60248201527f46696174546f6b656e3a206e657720626c61636b6c697374657220697320746860448201526d65207a65726f206164647265737360901b60648201526084016108be565b6001600160a01b038116610eb05760405162461bcd60e51b815260206004820152602860248201527f46696174546f6b656e3a206e6577206f776e657220697320746865207a65726f604482015267206164647265737360c01b60648201526084016108be565b6004610ebc8982613382565b506005610ec98882613382565b506007610ed68782613382565b506006805460ff191660ff8716179055600880546001600160a01b03199081166001600160a01b038781169190911790925560018054821686841617905560028054909116918416919091179055610f2d81612353565b50506008805460ff60a01b1916600160a01b179055505050505050565b600154600090600160a01b900460ff1615610f775760405162461bcd60e51b81526004016108be9061316c565b3360008181526003602052604090205460ff1615610fa75760405162461bcd60e51b81526004016108be90613196565b6001600160a01b038416600090815260036020526040902054849060ff1615610fe25760405162461bcd60e51b81526004016108be90613196565b61093d3386866123a3565b6001546001600160a01b031633146110175760405162461bcd60e51b81526004016108be90613442565b6001805460ff60a01b191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b600154600090600160a01b900460ff161561107c5760405162461bcd60e51b81526004016108be9061316c565b336000908152600c602052604090205460ff166110ab5760405162461bcd60e51b81526004016108be90613484565b3360008181526003602052604090205460ff16156110db5760405162461bcd60e51b81526004016108be90613196565b6001600160a01b038416600090815260036020526040902054849060ff16156111165760405162461bcd60e51b81526004016108be90613196565b6001600160a01b0385166111785760405162461bcd60e51b815260206004820152602360248201527f46696174546f6b656e3a206d696e7420746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108be565b600084116111da5760405162461bcd60e51b815260206004820152602960248201527f46696174546f6b656e3a206d696e7420616d6f756e74206e6f7420677265617460448201526806572207468616e20360bc1b60648201526084016108be565b336000908152600d6020526040902054808511156112515760405162461bcd60e51b815260206004820152602e60248201527f46696174546f6b656e3a206d696e7420616d6f756e742065786365656473206d60448201526d696e746572416c6c6f77616e636560901b60648201526084016108be565b84600b5461125f91906134c5565b600b556001600160a01b0386166000908152600960205260409020546112869086906134c5565b6001600160a01b0387166000908152600960205260409020556112a98582613285565b336000818152600d602090815260409182902093909355518781526001600160a01b038916927fab8530f87dc9b59234c4623bf917212bb2536d647574c8e7e5da92c2ede0c9f8910160405180910390a36040518581526001600160a01b038716906000906000805160206136a48339815191529060200160405180910390a350600195945050505050565b600154600160a01b900460ff161561135f5760405162461bcd60e51b81526004016108be9061316c565b336000908152600c602052604090205460ff1661138e5760405162461bcd60e51b81526004016108be90613484565b3360008181526003602052604090205460ff16156113be5760405162461bcd60e51b81526004016108be90613196565b33600090815260096020526040902054826113eb5760405162461bcd60e51b81526004016108be906134dd565b8281101561140b5760405162461bcd60e51b81526004016108be90613526565b82600b546114199190613285565b600b556114268382613285565b33600081815260096020526040908190209290925590517fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59061146c9086815260200190565b60405180910390a260405183815260009033906000805160206136a4833981519152906020015b60405180910390a3505050565b600154600090600160a01b900460ff16156114cd5760405162461bcd60e51b81526004016108be9061316c565b6008546001600160a01b031633146114f75760405162461bcd60e51b81526004016108be9061329c565b6001600160a01b0383166000818152600c60209081526040808320805460ff19166001179055600d82529182902085905590518481527f46980fca912ef9bcdbd36877427b6b90e860769f604e89c0e67720cece530d20910160405180910390a250600192915050565b6115696122f9565b6001600160a01b0381166115d05760405162461bcd60e51b815260206004820152602860248201527f5061757361626c653a206e65772070617573657220697320746865207a65726f604482015267206164647265737360c01b60648201526084016108be565b600180546001600160a01b0319166001600160a01b0383169081179091556040517fb80482a293ca2e013eda8683c9bd7fc8347cfdaeea5ede58cba46df502c2a60490600090a250565b600154600160a01b900460ff16156116445760405162461bcd60e51b81526004016108be9061316c565b61165185858585856123e6565b5050505050565b6116606122f9565b61166a6000612353565b565b6001546001600160a01b031633146116965760405162461bcd60e51b81526004016108be90613442565b6001805460ff60a01b1916600160a01b1790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b6005805461081090613132565b600154600160a01b900460ff161561170b5760405162461bcd60e51b81526004016108be9061316c565b336000908152600c602052604090205460ff1661173a5760405162461bcd60e51b81526004016108be90613484565b3360008181526003602052604090205460ff161561176a5760405162461bcd60e51b81526004016108be90613196565b6001600160a01b038316600090815260036020526040902054839060ff16156117a55760405162461bcd60e51b81526004016108be90613196565b6001600160a01b038416600090815260096020526040902054836117db5760405162461bcd60e51b81526004016108be906134dd565b838110156117fb5760405162461bcd60e51b81526004016108be90613526565b6001600160a01b0385166000908152600a6020908152604080832033845290915290205484111561183e5760405162461bcd60e51b81526004016108be90613227565b83600b5461184c9190613285565b600b556118598482613285565b6001600160a01b038616600081815260096020526040908190209290925590517fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5906118a89087815260200190565b60405180910390a26040518481526000906001600160a01b038716906000805160206136a48339815191529060200160405180910390a35050505050565b600154600090600160a01b900460ff16156119135760405162461bcd60e51b81526004016108be9061316c565b3360008181526003602052604090205460ff16156119435760405162461bcd60e51b81526004016108be90613196565b6001600160a01b038416600090815260036020526040902054849060ff161561197e5760405162461bcd60e51b81526004016108be90613196565b61093d338686612516565b600154600090600160a01b900460ff16156119b65760405162461bcd60e51b81526004016108be9061316c565b3360008181526003602052604090205460ff16156119e65760405162461bcd60e51b81526004016108be90613196565b6001600160a01b038416600090815260036020526040902054849060ff1615611a215760405162461bcd60e51b81526004016108be90613196565b61093d338686612126565b611a346122f9565b6001600160a01b038116611a5a5760405162461bcd60e51b81526004016108be906132e5565b600880546001600160a01b0319166001600160a01b0383169081179091556040517fdb66dfa9c6b8f5226fe9aac7e51897ae8ee94ac31dc70bb6c9900b2574b707e690600090a250565b611aac6122f9565b6001600160a01b038116611b1d5760405162461bcd60e51b815260206004820152603260248201527f426c61636b6c69737461626c653a206e657720626c61636b6c697374657220696044820152717320746865207a65726f206164647265737360701b60648201526084016108be565b600280546001600160a01b0319166001600160a01b0383169081179091556040517fc67398012c111ce95ecb7429b933096c977380ee6c421175a71a4a4c6c88c06e90600090a250565b600e546001600160a01b03163314611bcd5760405162461bcd60e51b8152602060048201526024808201527f526573637561626c653a2063616c6c6572206973206e6f74207468652072657360448201526331bab2b960e11b60648201526084016108be565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb906044016020604051808303816000875af1158015611c1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c40919061356c565b50505050565b600154600160a01b900460ff1615611c705760405162461bcd60e51b81526004016108be9061316c565b6001600160a01b038716600090815260036020526040902054879060ff1615611cab5760405162461bcd60e51b81526004016108be90613196565b6001600160a01b038716600090815260036020526040902054879060ff1615611ce65760405162461bcd60e51b81526004016108be90613196565b611cf58989898989898961254f565b505050505050505050565b600854600160a01b900460ff168015611d1c575060125460ff16155b611d2557600080fd5b6004611d3282848361358e565b50611d8b82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040805180820190915260018152601960f91b602082015291506126bd9050565b600f5550506012805460ff19166001179055565b600154600160a01b900460ff1615611dc95760405162461bcd60e51b81526004016108be9061316c565b6001600160a01b038916600090815260036020526040902054899060ff1615611e045760405162461bcd60e51b81526004016108be90613196565b6001600160a01b038916600090815260036020526040902054899060ff1615611e3f5760405162461bcd60e51b81526004016108be90613196565b611e508b8b8b8b8b8b8b8b8b61272f565b5050505050505050505050565b6007805461081090613132565b600154600160a01b900460ff1615611e945760405162461bcd60e51b81526004016108be9061316c565b6001600160a01b038916600090815260036020526040902054899060ff1615611ecf5760405162461bcd60e51b81526004016108be90613196565b6001600160a01b038916600090815260036020526040902054899060ff1615611f0a5760405162461bcd60e51b81526004016108be90613196565b611e508b8b8b8b8b8b8b8b8b61281c565b611f236122f9565b6001600160a01b038116611f885760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108be565b611f9181612353565b50565b6002546001600160a01b03163314611fbe5760405162461bcd60e51b81526004016108be906131db565b6001600160a01b038116600081815260036020526040808220805460ff19166001179055517fffa4e6181777692565cf28528fc88fd1516ea86b56da075235fa575af6a4b8559190a250565b6001600160a01b03831661206c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108be565b6001600160a01b0382166120cd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108be565b6001600160a01b038381166000818152600a602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259101611493565b6001600160a01b03831661218a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108be565b6001600160a01b0382166121ec5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108be565b6001600160a01b0383166000908152600960205260409020548111156122635760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108be565b6001600160a01b038316600090815260096020526040902054612287908290613285565b6001600160a01b0380851660009081526009602052604080822093909355908416815220546122b79082906134c5565b6001600160a01b0380841660008181526009602052604090819020939093559151908516906000805160206136a4833981519152906114939085815260200190565b6000546001600160a01b0316331461166a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108be565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038084166000908152600a60209081526040808320938616835292905220546123e190849084906123dc9085906134c5565b61200a565b505050565b6123f085856128ce565b604080517f158b0a9edf7a828aad02f63cd515c68ef2f50ba807396f6d12842833a159742960208201526001600160a01b03871691810191909152606081018590526000906080016040516020818303038152906040529050856001600160a01b0316612462600f548686868661295d565b6001600160a01b0316146124b85760405162461bcd60e51b815260206004820152601e60248201527f46696174546f6b656e56323a20696e76616c6964207369676e6174757265000060448201526064016108be565b6001600160a01b0386166000818152601060209081526040808320898452909152808220805460ff19166001179055518792917f1cdd46ff242716cdaa72d159d339a485b3438398348d68f09d7c8c0a59353d8191a3505050505050565b6001600160a01b038084166000908152600a60209081526040808320938616835292905220546123e190849084906123dc908590613285565b4284101561259f5760405162461bcd60e51b815260206004820152601e60248201527f46696174546f6b656e56323a207065726d69742069732065787069726564000060448201526064016108be565b6001600160a01b038716600090815260116020526040812080547f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918a918a918a9190866125ec8361364e565b909155506040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040529050876001600160a01b0316612652600f548686868661295d565b6001600160a01b0316146126a85760405162461bcd60e51b815260206004820152601a60248201527f454950323631323a20696e76616c6964207369676e617475726500000000000060448201526064016108be565b6126b388888861200a565b5050505050505050565b8151602092830120815191830191909120604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818601528082019390935260608301919091524660808301523060a0808401919091528151808403909101815260c09092019052805191012090565b61273b898588886129bf565b60405160009061277b907f7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a2267908c908c908c908c908c908c90602001613667565b6040516020818303038152906040529050896001600160a01b03166127a5600f548686868661295d565b6001600160a01b0316146127fb5760405162461bcd60e51b815260206004820152601e60248201527f46696174546f6b656e56323a20696e76616c6964207369676e6174757265000060448201526064016108be565b6128058a86612a89565b6128108a8a8a612126565b50505050505050505050565b6001600160a01b03881633146128825760405162461bcd60e51b815260206004820152602560248201527f46696174546f6b656e56323a2063616c6c6572206d7573742062652074686520604482015264706179656560d81b60648201526084016108be565b61288e898588886129bf565b60405160009061277b907fd099cc98ef71107a616c4f0f941f04c322d8e254fe26b3c6668db87aae413de8908c908c908c908c908c908c90602001613667565b6001600160a01b038216600090815260106020908152604080832084845290915290205460ff16156129595760405162461bcd60e51b815260206004820152602e60248201527f46696174546f6b656e56323a20617574686f72697a6174696f6e20697320757360448201526d1959081bdc8818d85b98d95b195960921b60648201526084016108be565b5050565b60008086838051906020012060405160200161299092919061190160f01b81526002810192909252602282015260420190565b6040516020818303038152906040528051906020012090506129b481878787612ae3565b979650505050505050565b814211612a225760405162461bcd60e51b815260206004820152602b60248201527f46696174546f6b656e56323a20617574686f72697a6174696f6e206973206e6f60448201526a1d081e595d081d985b1a5960aa1b60648201526084016108be565b804210612a7f5760405162461bcd60e51b815260206004820152602560248201527f46696174546f6b656e56323a20617574686f72697a6174696f6e2069732065786044820152641c1a5c995960da1b60648201526084016108be565b611c4084846128ce565b6001600160a01b0382166000818152601060209081526040808320858452909152808220805460ff19166001179055518392917f98de503528ee59b575ef0c0a2576a82497bfc029a5685b209e9ec333479b10a591a35050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115612b645760405162461bcd60e51b815260206004820152602660248201527f45435265636f7665723a20696e76616c6964207369676e6174757265202773276044820152652076616c756560d01b60648201526084016108be565b8360ff16601b14158015612b7c57508360ff16601c14155b15612bd85760405162461bcd60e51b815260206004820152602660248201527f45435265636f7665723a20696e76616c6964207369676e6174757265202776276044820152652076616c756560d01b60648201526084016108be565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015612c2c573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612c8f5760405162461bcd60e51b815260206004820152601c60248201527f45435265636f7665723a20696e76616c6964207369676e61747572650000000060448201526064016108be565b95945050505050565b600060208083528351808285015260005b81811015612cc557858101830151858201604001528201612ca9565b81811115612cd7576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114611f9157600080fd5b8035610cdc81612ced565b60008060408385031215612d2057600080fd5b8235612d2b81612ced565b946020939093013593505050565b600060208284031215612d4b57600080fd5b8135612d5681612ced565b9392505050565b600080600060608486031215612d7257600080fd5b8335612d7d81612ced565b92506020840135612d8d81612ced565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b600082601f830112612dc557600080fd5b813567ffffffffffffffff80821115612de057612de0612d9e565b604051601f8301601f19908116603f01168101908282118183101715612e0857612e08612d9e565b81604052838152866020858801011115612e2157600080fd5b836020870160208301376000602085830101528094505050505092915050565b803560ff81168114610cdc57600080fd5b600080600080600080600080610100898b031215612e6f57600080fd5b883567ffffffffffffffff80821115612e8757600080fd5b612e938c838d01612db4565b995060208b0135915080821115612ea957600080fd5b612eb58c838d01612db4565b985060408b0135915080821115612ecb57600080fd5b50612ed88b828c01612db4565b965050612ee760608a01612e41565b9450612ef560808a01612d02565b9350612f0360a08a01612d02565b9250612f1160c08a01612d02565b9150612f1f60e08a01612d02565b90509295985092959890939650565b600060208284031215612f4057600080fd5b5035919050565b600080600080600060a08688031215612f5f57600080fd5b8535612f6a81612ced565b945060208601359350612f7f60408701612e41565b94979396509394606081013594506080013592915050565b600080600080600080600060e0888a031215612fb257600080fd5b8735612fbd81612ced565b96506020880135612fcd81612ced565b95506040880135945060608801359350612fe960808901612e41565b925060a0880135915060c0880135905092959891949750929550565b6000806020838503121561301857600080fd5b823567ffffffffffffffff8082111561303057600080fd5b818501915085601f83011261304457600080fd5b81358181111561305357600080fd5b86602082850101111561306557600080fd5b60209290920196919550909350505050565b6000806040838503121561308a57600080fd5b823561309581612ced565b915060208301356130a581612ced565b809150509250929050565b60008060008060008060008060006101208a8c0312156130cf57600080fd5b89356130da81612ced565b985060208a01356130ea81612ced565b975060408a0135965060608a0135955060808a0135945060a08a0135935061311460c08b01612e41565b925060e08a013591506101008a013590509295985092959850929598565b600181811c9082168061314657607f821691505b60208210810361316657634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526025908201527f426c61636b6c69737461626c653a206163636f756e7420697320626c61636b6c6040820152641a5cdd195960da1b606082015260800190565b6020808252602c908201527f426c61636b6c69737461626c653a2063616c6c6572206973206e6f742074686560408201526b10313630b1b5b634b9ba32b960a11b606082015260800190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000828210156132975761329761326f565b500390565b60208082526029908201527f46696174546f6b656e3a2063616c6c6572206973206e6f7420746865206d61736040820152683a32b926b4b73a32b960b91b606082015260800190565b6020808252602f908201527f46696174546f6b656e3a206e6577206d61737465724d696e746572206973207460408201526e6865207a65726f206164647265737360881b606082015260800190565b601f8211156123e157600081815260208120601f850160051c8101602086101561335b5750805b601f850160051c820191505b8181101561337a57828155600101613367565b505050505050565b815167ffffffffffffffff81111561339c5761339c612d9e565b6133b0816133aa8454613132565b84613334565b602080601f8311600181146133e557600084156133cd5750858301515b600019600386901b1c1916600185901b17855561337a565b600085815260208120601f198616915b82811015613414578886015182559484019460019091019084016133f5565b50858210156134325787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526022908201527f5061757361626c653a2063616c6c6572206973206e6f7420746865207061757360408201526132b960f11b606082015260800190565b60208082526021908201527f46696174546f6b656e3a2063616c6c6572206973206e6f742061206d696e74656040820152603960f91b606082015260800190565b600082198211156134d8576134d861326f565b500190565b60208082526029908201527f46696174546f6b656e3a206275726e20616d6f756e74206e6f7420677265617460408201526806572207468616e20360bc1b606082015260800190565b60208082526026908201527f46696174546f6b656e3a206275726e20616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60006020828403121561357e57600080fd5b81518015158114612d5657600080fd5b67ffffffffffffffff8311156135a6576135a6612d9e565b6135ba836135b48354613132565b83613334565b6000601f8411600181146135ee57600085156135d65750838201355b600019600387901b1c1916600186901b178355611651565b600083815260209020601f19861690835b8281101561361f57868501358255602094850194600190920191016135ff565b508682101561363c5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000600182016136605761366061326f565b5060010190565b9687526001600160a01b0395861660208801529390941660408601526060850191909152608084015260a083019190915260c082015260e0019056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220e9d251f416ede602ca6f6e63d41f8503cd8e9c0fc0a7387c3fe784d7dbf4f44764736f6c634300080f0033

Block Transaction Gas Used Reward
view all blocks sequenced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.