ETH Price: $3,319.95 (-0.58%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Update Module191781752024-02-07 18:43:11354 days ago1707331391IN
0x19cF03a6...7EcFF05a8
0 ETH0.0016447746.73847816
Update Module187779612023-12-13 14:52:11410 days ago1702479131IN
0x19cF03a6...7EcFF05a8
0 ETH0.0018240951.83403352
Update Module183993362023-10-21 14:39:35463 days ago1697899175IN
0x19cF03a6...7EcFF05a8
0 ETH0.000337479.58987917
Update Module183992002023-10-21 14:12:23463 days ago1697897543IN
0x19cF03a6...7EcFF05a8
0 ETH0.00030498.66421359
Update Module183991872023-10-21 14:09:47463 days ago1697897387IN
0x19cF03a6...7EcFF05a8
0 ETH0.000303868.63486159
Update Module183991592023-10-21 14:04:11463 days ago1697897051IN
0x19cF03a6...7EcFF05a8
0 ETH0.000262657.4636786
Update Module183990612023-10-21 13:44:35463 days ago1697895875IN
0x19cF03a6...7EcFF05a8
0 ETH0.000283528.05665809
Update Module178441292023-08-04 20:54:47541 days ago1691182487IN
0x19cF03a6...7EcFF05a8
0 ETH0.0016384128.58963638
Update Module178440772023-08-04 20:44:11541 days ago1691181851IN
0x19cF03a6...7EcFF05a8
0 ETH0.0008095322.87067312
Update Module178440732023-08-04 20:43:23541 days ago1691181803IN
0x19cF03a6...7EcFF05a8
0 ETH0.0012924922.64839087
Update Module178279292023-08-02 14:32:35543 days ago1690986755IN
0x19cF03a6...7EcFF05a8
0 ETH0.001415940.00180768
Update Module178279242023-08-02 14:31:35543 days ago1690986695IN
0x19cF03a6...7EcFF05a8
0 ETH0.0025821145.05687958
Update Default M...178279172023-08-02 14:30:11543 days ago1690986611IN
0x19cF03a6...7EcFF05a8
0 ETH0.0029599237.01066368
Update Module176886812023-07-14 2:17:23562 days ago1689301043IN
0x19cF03a6...7EcFF05a8
0 ETH0.0008316123.63150558
Update Default M...175217762023-06-20 15:23:35586 days ago1687274615IN
0x19cF03a6...7EcFF05a8
0 ETH0.0010694524.70434152
Update Module173309712023-05-24 18:57:23613 days ago1684954643IN
0x19cF03a6...7EcFF05a8
0 ETH0.0014553141.35462991
Update Module173309662023-05-24 18:56:11613 days ago1684954571IN
0x19cF03a6...7EcFF05a8
0 ETH0.0023772541.48215998
Update Default M...172715602023-05-16 10:04:47621 days ago1684231487IN
0x19cF03a6...7EcFF05a8
0 ETH0.0020956448.40953641
Update Module171216202023-04-25 6:52:59642 days ago1682405579IN
0x19cF03a6...7EcFF05a8
0 ETH0.0011454932.56201842
Update Module171215552023-04-25 6:39:59642 days ago1682404799IN
0x19cF03a6...7EcFF05a8
0 ETH0.002000834.92045154
Update Module171215272023-04-25 6:34:23642 days ago1682404463IN
0x19cF03a6...7EcFF05a8
0 ETH0.0019577134.16132455
Update Module169904892023-04-06 15:37:11661 days ago1680795431IN
0x19cF03a6...7EcFF05a8
0 ETH0.0019106333.33970948
Update Module169768752023-04-04 17:04:23663 days ago1680627863IN
0x19cF03a6...7EcFF05a8
0 ETH0.0019189233.49782772
Update Default M...168747132023-03-21 8:04:35677 days ago1679385875IN
0x19cF03a6...7EcFF05a8
0 ETH0.000485811.22211165
Update Default M...167460422023-03-03 5:56:23695 days ago1677822983IN
0x19cF03a6...7EcFF05a8
0 ETH0.0008661620.00852239
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GuardMixinManager

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-11-08
*/

// SPDX-License-Identifier: UNLICENSED

pragma solidity 0.8.15;

/**
 * Interface for a Mixin expressing a modular requirement to be used by the
 * `GuardMixinManager`, determining whether a token can be minted, burned, or
 * transferred by a particular operator, from a particular sender (`from` is
 * address 0 iff the token is being minted), to a particular recipient (`to` is
 * address 0 iff the token is being burned).
 */
interface IGuardMixin {
    /**
     * @return True iff the transaction is allowed
     * @param token Address of the token being minted/burned/transferred
     * @param operator Transaction msg.sender
     * @param from Token sender
     * @param to Token recipient
     * @param value amount (ERC20) or tokenId (ERC721)
     */
    function isAllowed(
        address token,
        address operator,
        address from,
        address to,
        uint256 value // amount (ERC20) or tokenId (ERC721)
    ) external view returns (bool);
}

/**
 * Interface for a Guard that governs whether a token can be minted, burned, or
 * transferred by a particular operator, from a particular sender (`from` is
 * address 0 iff the token is being minted), to a particular recipient (`to` is
 * address 0 iff the token is being burned).
 */
interface IGuard {
    /**
     * @return True iff the transaction is allowed
     * @param operator Transaction msg.sender
     * @param from Token sender
     * @param to Token recipient
     * @param value Amount (ERC20) or token ID (ERC721)
     */
    function isAllowed(
        address operator,
        address from,
        address to,
        uint256 value // amount (ERC20) or tokenId (ERC721)
    ) external view returns (bool);
}

/**
 * Interface for `GuardMixinManager`, a Guard aggregating modular transaction
 * requirements ("Mixins").
 */
interface IGuardMixinManager is IGuard {
    event DefaultMixinsUpdated(address indexed token, address[] mixins);
    event ModuleDefaultMixinsUpdated(
        address indexed token,
        address indexed module,
        bool allowed
    );
    event ModuleCustomMixinsUpdated(
        address indexed token,
        address indexed module,
        address[] mixins
    );

    /**
     * @return Address of the Mixin in the `index` position of the list of
     * default Mixins for the token.
     * @param token Address of the token
     * @param index Index in the list of default Mixins
     * @dev The Solidity compiler generates an automatic getter for this
     * `address => address[]` mapping (token address => array of default Mixin
     * addresses) that takes the _index_ of the address array as a second
     * parameter. Use `defaultMixins[token]` to access the whole array of
     * default Mixin addresses.
     */
    function defaultMixins(address token, uint256 index)
        external
        view
        returns (address);

    /**
     * @return True iff the module is allowed for a given token AND subject to
     * default Mixins
     * @param token Address of the token
     * @param module Address of the module
     */
    function modulesDefaultMixins(address token, address module)
        external
        view
        returns (bool);

    /**
     * @return Address of the Mixin in the `index` position of the list of
     * Mixins applied to a particular module given a particular token
     * @param token Address of the token
     * @param module Address of the module
     * @param index Index in the list of Mixins applied to the module
     * @dev The Solidity compiler generates an automatic getter for this
     * `address => address => address[]` mapping (token address => module
     * address => array of Mixin addresses customized for that module) that
     * takes the _index_ of the address array as a third parameter. Use
     * `modulesCustomMixins[token][module]` to access the whole array of Mixin
     * addresses applied to the module.
     */
    function modulesCustomMixins(
        address token,
        address module,
        uint256 index
    ) external view returns (address);

    /**
     * @return An array of the addresses of the Mixins to be applied to
     * transactions of a particular token originating from a particular module.
     * If an empty array is returned, then the module is not allowed to call
     * transactions for that token.
     * @param token Address of the token
     * @param module Address of the module
     */
    function moduleRequirements(address token, address module)
        external
        view
        returns (address[] memory);

    /**
     * Updates whether a module is allowed to call transactions for a given
     * token, subject to the token's default Mixins.
     *
     * Emits a `ModuleDefaultMixinsUpdated` event iff a change was made.
     *
     * Requirements:
     * - The caller must be the token owner.
     * - The GuardMixinManager's settings must be unlocked.
     * @param token Address of the token
     * @param module Address of the module
     * @param allowed True if the module should be allowed to call token
     * transactions subject to the conditions in the token's default Mixins.
     * False if the module should not be allowed, or if the module should
     * instead be subject to the conditions of a custom list of Mixins.
     */
    function updateModule(
        address token,
        address module,
        bool allowed
    ) external;

    /**
     * Updates the list of Mixins expressing the conditions to be applied to any allowed module by default.
     *
     * Emits a `DefaultMixinsUpdated` event.
     *
     * Requirements:
     * - The caller must be the token owner.
     * - The GuardMixinManager's settings must be unlocked.
     * @param token Address of the token
     * @param mixins_ Array of addresses of the Mixins to be applied by
     * default. This replaces the current list of default Mixins (instead of
     * adding to it).
     */
    function updateDefaultMixins(address token, address[] calldata mixins_)
        external;

    /**
     * Updates the list of Mixins to apply to the specific module (instead of
     * the default Mixins).
     *
     * Emits a `ModuleCustomMixinsUpdated` event.
     *
     * Requirements:
     * - The caller must be the token owner.
     * - The GuardMixinManager's settings must be unlocked.
     * @param token Address of the token
     * @param module Address of the module
     * @param mixins_ Array of addresses of the Mixins to be applied to the
     * specific module (instead of the default mixins). This replaces the
     * current list of default Mixins (instead of adding to it). Passing in an
     * empty array will cause the module to use the default Mixins if
     * `modulesDefaultMixins` is true, or will disallow the module if
     * `modulesDefaultMixins` is false.
     */
    function updateModuleMixins(
        address token,
        address module,
        address[] calldata mixins_
    ) external;
}

// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

/**
 * @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;
    }
}

/**
 * @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 anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _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);
    }
}

interface IBatcher {
    function batchOperator() external view returns (address);
}

/**
 * Mixin giving the token (i.e. club/collective) owner the ability to lock
 * certain Guard functions (such as `updateConfig`) via the `canEditSettings`
 * modifier.
 */
abstract contract LockableSettings {
    // The address of the Batcher allowed to edit settings
    address public batcher;
    // token => locked
    mapping(address => bool) public hasLockedSettings;

    event SettingsLocked(address indexed token);

    constructor(address _batcher) {
        batcher = _batcher;
    }

    /**
     * Check whether token settings can be edited
     */
    modifier canEditSettings(address token) {
        _isOwnerOfAndSettingsUnlocked(token);
        _;
    }

    /**
     * Check that the caller is the token owner (or the token owner calling a
     * batch transaction) and settings are unlocked.
     *
     * Requirements:
     * - Settings must be unlocked.
     * - The caller must be the owner or the batcher (operated by the
     * owner).
     * @param token Address of token
     */
    function _isOwnerOfAndSettingsUnlocked(address token) internal view {
        require(
            !hasLockedSettings[token] &&
                (msg.sender == Ownable(token).owner() ||
                    (msg.sender == batcher &&
                        IBatcher(msg.sender).batchOperator() ==
                        Ownable(token).owner())),
            "LockableSettings: cannot edit"
        );
    }

    /**
     * Enable a token to irreversibly lock their settings to further changes.
     * Locking settings does not impact locks of the token's guards or
     * potential configurations of other used guard managers.
     * @param token Address of token
     */
    function lockSettings(address token) public canEditSettings(token) {
        hasLockedSettings[token] = true;
        emit SettingsLocked(token);
    }
}

// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

/**
 * @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);
}

// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol)

// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

interface IOwner {
    function owner() external view returns (address);
}

/**
 * Utility for use by any module or guard that needs to check if an address is
 * the owner of the TokenEnforceable (ERC20Club or ERC721Collective)
 */

abstract contract TokenOwnerChecker {
    /**
     * Only proceed if msg.sender owns TokenEnforceable contract
     * @param token TokenEnforceable whose owner to check
     */
    modifier onlyTokenOwner(address token) {
        _onlyTokenOwner(token);
        _;
    }

    function _onlyTokenOwner(address token) internal view {
        require(
            msg.sender == IOwner(token).owner(),
            "TokenOwnerChecker: Caller not token owner"
        );
    }
}

interface ITokenRecoverable {
    // Events for token recovery (ERC20) and (ERC721)
    event TokenRecoveredERC20(
        address indexed recipient,
        address indexed erc20,
        uint256 amount
    );
    event TokenRecoveredERC721(
        address indexed recipient,
        address indexed erc721,
        uint256 tokenId
    );

    /**
     * Allows the owner of an ERC20Club or ERC721Collective to return
     * any ERC20 tokens erroneously sent to the contract.
     *
     * Emits a `TokenRecoveredERC20` event.
     *
     * Requirements:
     * - The caller must be the (Club or Collective) token contract owner.
     * ERC20 token(s) (directly or via e.g. a module)
     * @param recipient Address that erroneously sent the ERC20 token(s)
     * @param erc20 Erroneously-sent ERC20 token to recover
     * @param amount Amount to recover
     */
    function recoverERC20(
        address recipient,
        address erc20,
        uint256 amount
    ) external;

    /**
     * Allows the owner of an ERC20Club or ERC721Collective to return
     * any ERC721 tokens erroneously sent to the contract.
     *
     * Emits a `TokenRecoveredERC721` event.
     *
     * Requirements:
     * - The caller must be the (Club or Collective) token contract owner.
     * ERC721 token (directly or via e.g. a module)
     * @param recipient Address that erroneously sent the ERC721 token
     * @param erc721 Erroneously-sent ERC721 token to recover
     * @param tokenId The tokenId to recover
     */
    function recoverERC721(
        address recipient,
        address erc721,
        uint256 tokenId
    ) external;
}

abstract contract TokenRecoverable is TokenOwnerChecker, ITokenRecoverable {
    // Using safeTransfer since interacting with other ERC20s
    using SafeERC20 for IERC20;

    address public admin;

    constructor(address _admin) {
        admin = _admin;
    }

    modifier isAdmin() {
        require(msg.sender == admin, "TokenRecoverable: Caller not admin");
        _;
    }

    /**
     * Only allows a syndicate address to access any ERC20 tokens erroneously sent to the contract.
     *
     * Emits a `TokenRecoveredERC20` event.
     *
     * Requirements:
     * - None
     * @param recipient Address that erroneously sent the ERC20 token(s)
     * @param erc20 Erroneously-sent ERC20 token to recover
     * @param amount Amount to recover
     */
    function recoverERC20(
        address recipient,
        address erc20,
        uint256 amount
    ) external isAdmin {
        IERC20(erc20).safeTransfer(recipient, amount);
        emit TokenRecoveredERC20(recipient, erc20, amount);
    }

    /**
     * Only allows a syndicate address to access any ERC721 tokens erroneously sent to the contract.
     *
     * Emits a `TokenRecoveredERC721` event.
     *
     * Requirements:
     * - None
     * @param recipient Address that erroneously sent the ERC721 token
     * @param erc721 Erroneously-sent ERC721 token to recover
     * @param tokenId The tokenId to recover
     */
    function recoverERC721(
        address recipient,
        address erc721,
        uint256 tokenId
    ) external isAdmin {
        IERC721(erc721).transferFrom(address(this), recipient, tokenId);
        emit TokenRecoveredERC721(recipient, erc721, tokenId);
    }
}

/**
 * A Guard that aggregates modular transaction requirements ("Mixins").
 */
contract GuardMixinManager is
    IGuardMixinManager,
    LockableSettings,
    TokenRecoverable
{
    // Token address => addresses of Mixins to apply to all allowed modules
    // subject to default Mixins
    mapping(address => address[]) public defaultMixins;

    // Token address => module address => true if the module is allowed AND
    // subject to default Mixins
    mapping(address => mapping(address => bool)) public modulesDefaultMixins;

    // Token address => module address => addresses of Mixins to apply to the
    // specific module (instead of the default Mixins), or an empty array if
    // the module does not have a custom list of Mixins to apply
    mapping(address => mapping(address => address[]))
        public modulesCustomMixins;

    constructor(address _batcher, address admin)
        LockableSettings(_batcher)
        TokenRecoverable(admin)
    {}

    /**
     * @return An array of the addresses of the Mixins to be applied to
     * transactions of a particular token originating from a particular module.
     * If an empty array is returned, then the module is not allowed to call
     * transactions for that token.
     * @param token Address of the token
     * @param module Address of the module
     */
    function moduleRequirements(address token, address module)
        public
        view
        returns (address[] memory)
    {
        if (modulesCustomMixins[token][module].length > 0) {
            return modulesCustomMixins[token][module];
        } else if (modulesDefaultMixins[token][module]) {
            return defaultMixins[token];
        }

        return new address[](0);
    }

    /**
     * Updates whether a module is allowed to call transactions for a given
     * token, subject to the token's default Mixins.
     *
     * Emits a `ModuleDefaultMixinsUpdated` event iff a change was made.
     *
     * Requirements:
     * - The caller must be the token owner.
     * - The GuardMixinManager's settings must be unlocked.
     * @param token Address of the token
     * @param module Address of the module
     * @param allowed True if the module should be allowed to call token
     * transactions subject to the conditions in the token's default Mixins.
     * False if the module should not be allowed, or if the module should
     * instead be subject to the conditions of a custom list of Mixins.
     */
    function updateModule(
        address token,
        address module,
        bool allowed
    ) external canEditSettings(token) {
        if (modulesDefaultMixins[token][module] != allowed) {
            modulesDefaultMixins[token][module] = allowed;
            emit ModuleDefaultMixinsUpdated(token, module, allowed);
        }
    }

    /**
     * Updates the list of Mixins expressing the conditions to be applied to any allowed module by default.
     *
     * Emits a `DefaultMixinsUpdated` event.
     *
     * Requirements:
     * - The caller must be the token owner.
     * - The GuardMixinManager's settings must be unlocked.
     * @param token Address of the token
     * @param mixins_ Array of addresses of the Mixins to be applied by
     * default. This replaces the current list of default Mixins (instead of
     * adding to it).
     */
    function updateDefaultMixins(address token, address[] calldata mixins_)
        external
        canEditSettings(token)
    {
        defaultMixins[token] = mixins_;
        emit DefaultMixinsUpdated(token, mixins_);
    }

    /**
     * Updates the list of Mixins to apply to the specific module (instead of
     * the default Mixins).
     *
     * Emits a `ModuleCustomMixinsUpdated` event.
     *
     * Requirements:
     * - The caller must be the token owner.
     * - The GuardMixinManager's settings must be unlocked.
     * @param token Address of the token
     * @param module Address of the module
     * @param mixins_ Array of addresses of the Mixins to be applied to the
     * specific module (instead of the default mixins). This replaces the
     * current list of default Mixins (instead of adding to it). Passing in an
     * empty array will cause the module to use the default Mixins if
     * `modulesDefaultMixins` is true, or will disallow the module if
     * `modulesDefaultMixins` is false.
     */
    function updateModuleMixins(
        address token,
        address module,
        address[] calldata mixins_
    ) external canEditSettings(token) {
        modulesCustomMixins[token][module] = mixins_;
        emit ModuleCustomMixinsUpdated(token, module, mixins_);
    }

    /**
     * @return True iff the transaction by a particular operator, from a
     * particular sender (`from` is address 0 iff the token is being minted),
     * to a particular recipient (`to` is address 0 iff the token is being
     * burned) is allowed by ALL applicable Mixins. False otherwise.
     * @param operator Transaction msg.sender
     * @param from Token sender
     * @param to Token recipient
     * @param value Amount (ERC20) or token ID (ERC721)
     */
    function isAllowed(
        address operator,
        address from,
        address to,
        uint256 value
    ) external view override returns (bool) {
        address[] memory mixins_ = moduleRequirements(msg.sender, operator);

        if (mixins_.length != 0) {
            uint256 length = mixins_.length;
            for (uint256 i = 0; i < length; ) {
                if (
                    !IGuardMixin(mixins_[i]).isAllowed(
                        msg.sender,
                        operator,
                        from,
                        to,
                        value
                    )
                ) {
                    return false;
                }
                unchecked {
                    ++i;
                }
            }

            return true;
        }

        return false;
    }

    /** This function is called for all messages sent to this contract (there
     * are no other functions). Sending Ether to this contract will cause an
     * exception, because the fallback function does not have the `payable`
     * modifier.
     * Source: https://docs.soliditylang.org/en/v0.8.9/contracts.html?highlight=fallback#fallback-function
     */
    fallback() external {
        revert("GuardMixinManager: non-existent function");
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_batcher","type":"address"},{"internalType":"address","name":"admin","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address[]","name":"mixins","type":"address[]"}],"name":"DefaultMixinsUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"module","type":"address"},{"indexed":false,"internalType":"address[]","name":"mixins","type":"address[]"}],"name":"ModuleCustomMixinsUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"module","type":"address"},{"indexed":false,"internalType":"bool","name":"allowed","type":"bool"}],"name":"ModuleDefaultMixinsUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"}],"name":"SettingsLocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":true,"internalType":"address","name":"erc20","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokenRecoveredERC20","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":true,"internalType":"address","name":"erc721","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"TokenRecoveredERC721","type":"event"},{"stateMutability":"nonpayable","type":"fallback"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"batcher","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"defaultMixins","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasLockedSettings","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"isAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"lockSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"module","type":"address"}],"name":"moduleRequirements","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"modulesCustomMixins","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"modulesDefaultMixins","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"address","name":"erc20","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"address","name":"erc721","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"recoverERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address[]","name":"mixins_","type":"address[]"}],"name":"updateDefaultMixins","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"module","type":"address"},{"internalType":"bool","name":"allowed","type":"bool"}],"name":"updateModule","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"module","type":"address"},{"internalType":"address[]","name":"mixins_","type":"address[]"}],"name":"updateModuleMixins","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506040516112d53803806112d583398101604081905261002f9161007c565b600080546001600160a01b039384166001600160a01b031991821617909155600280549290931691161790556100af565b80516001600160a01b038116811461007757600080fd5b919050565b6000806040838503121561008f57600080fd5b61009883610060565b91506100a660208401610060565b90509250929050565b611217806100be6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063601ef8801161008c578063bfa9b1c111610066578063bfa9b1c114610260578063e12950a314610280578063e31b8f3b14610293578063f851a440146102a6576100ea565b8063601ef880146102175780639fc3df321461022a578063bf9620b81461023d576100ea565b80632cdf2c35116100c85780632cdf2c35146101a057806332ec2295146101b35780633ca9f8fc146101c6578063513da272146101d9576100ea565b8063025a3a29146101485780630678933e146101785780631171bda91461018b575b60405162461bcd60e51b815260206004820152602860248201527f47756172644d6978696e4d616e616765723a206e6f6e2d6578697374656e7420604482015267333ab731ba34b7b760c11b60648201526084015b60405180910390fd5b60005461015b906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61015b610186366004610dbf565b6102b9565b61019e610199366004610deb565b6102f1565b005b61019e6101ae366004610deb565b610381565b61019e6101c1366004610e78565b610458565b61019e6101d4366004610ecd565b6104cf565b6102076101e7366004610f32565b600460209081526000928352604080842090915290825290205460ff1681565b604051901515815260200161016f565b610207610225366004610f6b565b61055e565b61015b610238366004610deb565b61065a565b61020761024b366004610fbc565b60016020526000908152604090205460ff1681565b61027361026e366004610f32565b61069f565b60405161016f9190610fe0565b61019e61028e366004610fbc565b610804565b61019e6102a136600461103b565b61085e565b60025461015b906001600160a01b031681565b600360205281600052604060002081815481106102d557600080fd5b6000918252602090912001546001600160a01b03169150829050565b6002546001600160a01b0316331461031b5760405162461bcd60e51b815260040161013f90611086565b61032f6001600160a01b038316848361090a565b816001600160a01b0316836001600160a01b03167f8473dac0dd12ed8ebce9f08282e5e9c0748da064d820d3ed4e513ebe71e306e08360405161037491815260200190565b60405180910390a3505050565b6002546001600160a01b031633146103ab5760405162461bcd60e51b815260040161013f90611086565b6040516323b872dd60e01b81523060048201526001600160a01b038481166024830152604482018390528316906323b872dd90606401600060405180830381600087803b1580156103fb57600080fd5b505af115801561040f573d6000803e3d6000fd5b50505050816001600160a01b0316836001600160a01b03167f82f9a833433b7c1a528eb33f949fe31f35aafd7acb1969ea900f8958f6f8bf9e8360405161037491815260200190565b8261046281610961565b6001600160a01b0384166000908152600360205260409020610485908484610d32565b50836001600160a01b03167f9585dabaa198b570fb61f14aadf454ae9d572879c9c14e20f41f4fb61cb86c8a84846040516104c19291906110c8565b60405180910390a250505050565b836104d981610961565b6001600160a01b038086166000908152600560209081526040808320938816835292905220610509908484610d32565b50836001600160a01b0316856001600160a01b03167f3aa57d7a2dd9e51e409096d79e7220d36707db7d69e0818d8d70fbe8599a2e20858560405161054f9291906110c8565b60405180910390a35050505050565b60008061056b338761069f565b9050805160001461064c57805160005b818110156106405782818151811061059557610595611116565b6020908102919091010151604051637edfe54f60e01b81523360048201526001600160a01b038a81166024830152898116604483015288811660648301526084820188905290911690637edfe54f9060a401602060405180830381865afa158015610604573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610628919061112c565b6106385760009350505050610652565b60010161057b565b50600192505050610652565b60009150505b949350505050565b6005602052826000526040600020602052816000526040600020818154811061068257600080fd5b6000918252602090912001546001600160a01b0316925083915050565b6001600160a01b038083166000908152600560209081526040808320938516835292905220546060901561074d576001600160a01b0380841660009081526005602090815260408083209386168352928152908290208054835181840281018401909452808452909183018282801561074157602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610723575b505050505090506107fe565b6001600160a01b0380841660009081526004602090815260408083209386168352929052205460ff16156107ed576001600160a01b03831660009081526003602090815260409182902080548351818402810184019094528084529091830182828015610741576020028201919060005260206000209081546001600160a01b0316815260019091019060200180831161072357505050505090506107fe565b506040805160008152602081019091525b92915050565b8061080e81610961565b6001600160a01b0382166000818152600160208190526040808320805460ff1916909217909155517f2f2f95a8910ee913e1dee0baff71331d6ddcaa8b128be24311630f27e861c4709190a25050565b8261086881610961565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff16151582151514610904576001600160a01b03848116600081815260046020908152604080832094881680845294825291829020805460ff191687151590811790915591519182527fe13ae0354a7bc48392ea676605eed2201ad5698e7782127163f4efdc92021165910160405180910390a35b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261095c908490610b3d565b505050565b6001600160a01b03811660009081526001602052604090205460ff16158015610aee5750806001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e79190611149565b6001600160a01b0316336001600160a01b03161480610aee57506000546001600160a01b031633148015610aee5750806001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a789190611149565b6001600160a01b0316336001600160a01b031663a14f686c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610abf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae39190611149565b6001600160a01b0316145b610b3a5760405162461bcd60e51b815260206004820152601d60248201527f4c6f636b61626c6553657474696e67733a2063616e6e6f742065646974000000604482015260640161013f565b50565b6000610b92826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610c0f9092919063ffffffff16565b80519091501561095c5780806020019051810190610bb0919061112c565b61095c5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161013f565b6060610652848460008585600080866001600160a01b03168587604051610c369190611192565b60006040518083038185875af1925050503d8060008114610c73576040519150601f19603f3d011682016040523d82523d6000602084013e610c78565b606091505b5091509150610c8987838387610c94565b979650505050505050565b60608315610d03578251600003610cfc576001600160a01b0385163b610cfc5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161013f565b5081610652565b6106528383815115610d185781518083602001fd5b8060405162461bcd60e51b815260040161013f91906111ae565b828054828255906000526020600020908101928215610d85579160200282015b82811115610d855781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190610d52565b50610d91929150610d95565b5090565b5b80821115610d915760008155600101610d96565b6001600160a01b0381168114610b3a57600080fd5b60008060408385031215610dd257600080fd5b8235610ddd81610daa565b946020939093013593505050565b600080600060608486031215610e0057600080fd5b8335610e0b81610daa565b92506020840135610e1b81610daa565b929592945050506040919091013590565b60008083601f840112610e3e57600080fd5b50813567ffffffffffffffff811115610e5657600080fd5b6020830191508360208260051b8501011115610e7157600080fd5b9250929050565b600080600060408486031215610e8d57600080fd5b8335610e9881610daa565b9250602084013567ffffffffffffffff811115610eb457600080fd5b610ec086828701610e2c565b9497909650939450505050565b60008060008060608587031215610ee357600080fd5b8435610eee81610daa565b93506020850135610efe81610daa565b9250604085013567ffffffffffffffff811115610f1a57600080fd5b610f2687828801610e2c565b95989497509550505050565b60008060408385031215610f4557600080fd5b8235610f5081610daa565b91506020830135610f6081610daa565b809150509250929050565b60008060008060808587031215610f8157600080fd5b8435610f8c81610daa565b93506020850135610f9c81610daa565b92506040850135610fac81610daa565b9396929550929360600135925050565b600060208284031215610fce57600080fd5b8135610fd981610daa565b9392505050565b6020808252825182820181905260009190848201906040850190845b818110156110215783516001600160a01b031683529284019291840191600101610ffc565b50909695505050505050565b8015158114610b3a57600080fd5b60008060006060848603121561105057600080fd5b833561105b81610daa565b9250602084013561106b81610daa565b9150604084013561107b8161102d565b809150509250925092565b60208082526022908201527f546f6b656e5265636f76657261626c653a2043616c6c6572206e6f742061646d60408201526134b760f11b606082015260800190565b60208082528181018390526000908460408401835b8681101561110b5782356110f081610daa565b6001600160a01b0316825291830191908301906001016110dd565b509695505050505050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561113e57600080fd5b8151610fd98161102d565b60006020828403121561115b57600080fd5b8151610fd981610daa565b60005b83811015611181578181015183820152602001611169565b838111156109045750506000910152565b600082516111a4818460208701611166565b9190910192915050565b60208152600082518060208401526111cd816040850160208701611166565b601f01601f1916919091016040019291505056fea264697066735822122052b5c3451e6da43330ac8582bfb472a642fab0cc1735c22e2908fad0c5a3d74764736f6c634300080f00330000000000000000000000009d01b45d73fb63442509f3ed757e17617481194900000000000000000000000040db79f7f18c468c6552538b488c58b5e72bf4d9

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063601ef8801161008c578063bfa9b1c111610066578063bfa9b1c114610260578063e12950a314610280578063e31b8f3b14610293578063f851a440146102a6576100ea565b8063601ef880146102175780639fc3df321461022a578063bf9620b81461023d576100ea565b80632cdf2c35116100c85780632cdf2c35146101a057806332ec2295146101b35780633ca9f8fc146101c6578063513da272146101d9576100ea565b8063025a3a29146101485780630678933e146101785780631171bda91461018b575b60405162461bcd60e51b815260206004820152602860248201527f47756172644d6978696e4d616e616765723a206e6f6e2d6578697374656e7420604482015267333ab731ba34b7b760c11b60648201526084015b60405180910390fd5b60005461015b906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61015b610186366004610dbf565b6102b9565b61019e610199366004610deb565b6102f1565b005b61019e6101ae366004610deb565b610381565b61019e6101c1366004610e78565b610458565b61019e6101d4366004610ecd565b6104cf565b6102076101e7366004610f32565b600460209081526000928352604080842090915290825290205460ff1681565b604051901515815260200161016f565b610207610225366004610f6b565b61055e565b61015b610238366004610deb565b61065a565b61020761024b366004610fbc565b60016020526000908152604090205460ff1681565b61027361026e366004610f32565b61069f565b60405161016f9190610fe0565b61019e61028e366004610fbc565b610804565b61019e6102a136600461103b565b61085e565b60025461015b906001600160a01b031681565b600360205281600052604060002081815481106102d557600080fd5b6000918252602090912001546001600160a01b03169150829050565b6002546001600160a01b0316331461031b5760405162461bcd60e51b815260040161013f90611086565b61032f6001600160a01b038316848361090a565b816001600160a01b0316836001600160a01b03167f8473dac0dd12ed8ebce9f08282e5e9c0748da064d820d3ed4e513ebe71e306e08360405161037491815260200190565b60405180910390a3505050565b6002546001600160a01b031633146103ab5760405162461bcd60e51b815260040161013f90611086565b6040516323b872dd60e01b81523060048201526001600160a01b038481166024830152604482018390528316906323b872dd90606401600060405180830381600087803b1580156103fb57600080fd5b505af115801561040f573d6000803e3d6000fd5b50505050816001600160a01b0316836001600160a01b03167f82f9a833433b7c1a528eb33f949fe31f35aafd7acb1969ea900f8958f6f8bf9e8360405161037491815260200190565b8261046281610961565b6001600160a01b0384166000908152600360205260409020610485908484610d32565b50836001600160a01b03167f9585dabaa198b570fb61f14aadf454ae9d572879c9c14e20f41f4fb61cb86c8a84846040516104c19291906110c8565b60405180910390a250505050565b836104d981610961565b6001600160a01b038086166000908152600560209081526040808320938816835292905220610509908484610d32565b50836001600160a01b0316856001600160a01b03167f3aa57d7a2dd9e51e409096d79e7220d36707db7d69e0818d8d70fbe8599a2e20858560405161054f9291906110c8565b60405180910390a35050505050565b60008061056b338761069f565b9050805160001461064c57805160005b818110156106405782818151811061059557610595611116565b6020908102919091010151604051637edfe54f60e01b81523360048201526001600160a01b038a81166024830152898116604483015288811660648301526084820188905290911690637edfe54f9060a401602060405180830381865afa158015610604573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610628919061112c565b6106385760009350505050610652565b60010161057b565b50600192505050610652565b60009150505b949350505050565b6005602052826000526040600020602052816000526040600020818154811061068257600080fd5b6000918252602090912001546001600160a01b0316925083915050565b6001600160a01b038083166000908152600560209081526040808320938516835292905220546060901561074d576001600160a01b0380841660009081526005602090815260408083209386168352928152908290208054835181840281018401909452808452909183018282801561074157602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610723575b505050505090506107fe565b6001600160a01b0380841660009081526004602090815260408083209386168352929052205460ff16156107ed576001600160a01b03831660009081526003602090815260409182902080548351818402810184019094528084529091830182828015610741576020028201919060005260206000209081546001600160a01b0316815260019091019060200180831161072357505050505090506107fe565b506040805160008152602081019091525b92915050565b8061080e81610961565b6001600160a01b0382166000818152600160208190526040808320805460ff1916909217909155517f2f2f95a8910ee913e1dee0baff71331d6ddcaa8b128be24311630f27e861c4709190a25050565b8261086881610961565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff16151582151514610904576001600160a01b03848116600081815260046020908152604080832094881680845294825291829020805460ff191687151590811790915591519182527fe13ae0354a7bc48392ea676605eed2201ad5698e7782127163f4efdc92021165910160405180910390a35b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261095c908490610b3d565b505050565b6001600160a01b03811660009081526001602052604090205460ff16158015610aee5750806001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e79190611149565b6001600160a01b0316336001600160a01b03161480610aee57506000546001600160a01b031633148015610aee5750806001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a789190611149565b6001600160a01b0316336001600160a01b031663a14f686c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610abf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae39190611149565b6001600160a01b0316145b610b3a5760405162461bcd60e51b815260206004820152601d60248201527f4c6f636b61626c6553657474696e67733a2063616e6e6f742065646974000000604482015260640161013f565b50565b6000610b92826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610c0f9092919063ffffffff16565b80519091501561095c5780806020019051810190610bb0919061112c565b61095c5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161013f565b6060610652848460008585600080866001600160a01b03168587604051610c369190611192565b60006040518083038185875af1925050503d8060008114610c73576040519150601f19603f3d011682016040523d82523d6000602084013e610c78565b606091505b5091509150610c8987838387610c94565b979650505050505050565b60608315610d03578251600003610cfc576001600160a01b0385163b610cfc5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161013f565b5081610652565b6106528383815115610d185781518083602001fd5b8060405162461bcd60e51b815260040161013f91906111ae565b828054828255906000526020600020908101928215610d85579160200282015b82811115610d855781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190610d52565b50610d91929150610d95565b5090565b5b80821115610d915760008155600101610d96565b6001600160a01b0381168114610b3a57600080fd5b60008060408385031215610dd257600080fd5b8235610ddd81610daa565b946020939093013593505050565b600080600060608486031215610e0057600080fd5b8335610e0b81610daa565b92506020840135610e1b81610daa565b929592945050506040919091013590565b60008083601f840112610e3e57600080fd5b50813567ffffffffffffffff811115610e5657600080fd5b6020830191508360208260051b8501011115610e7157600080fd5b9250929050565b600080600060408486031215610e8d57600080fd5b8335610e9881610daa565b9250602084013567ffffffffffffffff811115610eb457600080fd5b610ec086828701610e2c565b9497909650939450505050565b60008060008060608587031215610ee357600080fd5b8435610eee81610daa565b93506020850135610efe81610daa565b9250604085013567ffffffffffffffff811115610f1a57600080fd5b610f2687828801610e2c565b95989497509550505050565b60008060408385031215610f4557600080fd5b8235610f5081610daa565b91506020830135610f6081610daa565b809150509250929050565b60008060008060808587031215610f8157600080fd5b8435610f8c81610daa565b93506020850135610f9c81610daa565b92506040850135610fac81610daa565b9396929550929360600135925050565b600060208284031215610fce57600080fd5b8135610fd981610daa565b9392505050565b6020808252825182820181905260009190848201906040850190845b818110156110215783516001600160a01b031683529284019291840191600101610ffc565b50909695505050505050565b8015158114610b3a57600080fd5b60008060006060848603121561105057600080fd5b833561105b81610daa565b9250602084013561106b81610daa565b9150604084013561107b8161102d565b809150509250925092565b60208082526022908201527f546f6b656e5265636f76657261626c653a2043616c6c6572206e6f742061646d60408201526134b760f11b606082015260800190565b60208082528181018390526000908460408401835b8681101561110b5782356110f081610daa565b6001600160a01b0316825291830191908301906001016110dd565b509695505050505050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561113e57600080fd5b8151610fd98161102d565b60006020828403121561115b57600080fd5b8151610fd981610daa565b60005b83811015611181578181015183820152602001611169565b838111156109045750506000910152565b600082516111a4818460208701611166565b9190910192915050565b60208152600082518060208401526111cd816040850160208701611166565b601f01601f1916919091016040019291505056fea264697066735822122052b5c3451e6da43330ac8582bfb472a642fab0cc1735c22e2908fad0c5a3d74764736f6c634300080f0033

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

0000000000000000000000009d01b45d73fb63442509f3ed757e17617481194900000000000000000000000040db79f7f18c468c6552538b488c58b5e72bf4d9

-----Decoded View---------------
Arg [0] : _batcher (address): 0x9D01b45D73fb63442509F3Ed757e176174811949
Arg [1] : admin (address): 0x40dB79f7f18C468c6552538b488c58B5E72bf4D9

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000009d01b45d73fb63442509f3ed757e176174811949
Arg [1] : 00000000000000000000000040db79f7f18c468c6552538b488c58b5e72bf4d9


Deployed Bytecode Sourcemap

41191:6518:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47648:50;;-1:-1:-1;;;47648:50:0;;216:2:1;47648:50:0;;;198:21:1;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:1;;;338:38;393:19;;47648:50:0;;;;;;;;10947:22;;;;;-1:-1:-1;;;;;10947:22:0;;;;;;-1:-1:-1;;;;;587:32:1;;;569:51;;557:2;542:18;10947:22:0;;;;;;;;41410:50;;;;;;:::i;:::-;;:::i;40173:248::-;;;;;;:::i;:::-;;:::i;:::-;;40829:272;;;;;;:::i;:::-;;:::i;44533:228::-;;;;;;:::i;:::-;;:::i;45592:281::-;;;;;;:::i;:::-;;:::i;41580:72::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3773:14:1;;3766:22;3748:41;;3736:2;3721:18;41580:72:0;3608:187:1;46369:871:0;;;;;;:::i;:::-;;:::i;41884:85::-;;;;;;:::i;:::-;;:::i;11000:49::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;42480:404;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;12404:154::-;;;;;;:::i;:::-;;:::i;43646:345::-;;;;;;:::i;:::-;;:::i;39559:20::-;;;;;-1:-1:-1;;;;;39559:20:0;;;41410:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;41410:50:0;;-1:-1:-1;41410:50:0;;-1:-1:-1;41410:50:0:o;40173:248::-;39709:5;;-1:-1:-1;;;;;39709:5:0;39695:10;:19;39687:66;;;;-1:-1:-1;;;39687:66:0;;;;;;;:::i;:::-;40307:45:::1;-1:-1:-1::0;;;;;40307:26:0;::::1;40334:9:::0;40345:6;40307:26:::1;:45::i;:::-;40399:5;-1:-1:-1::0;;;;;40368:45:0::1;40388:9;-1:-1:-1::0;;;;;40368:45:0::1;;40406:6;40368:45;;;;6518:25:1::0;;6506:2;6491:18;;6372:177;40368:45:0::1;;;;;;;;40173:248:::0;;;:::o;40829:272::-;39709:5;;-1:-1:-1;;;;;39709:5:0;39695:10;:19;39687:66;;;;-1:-1:-1;;;39687:66:0;;;;;;;:::i;:::-;40966:63:::1;::::0;-1:-1:-1;;;40966:63:0;;41003:4:::1;40966:63;::::0;::::1;6794:34:1::0;-1:-1:-1;;;;;6864:15:1;;;6844:18;;;6837:43;6896:18;;;6889:34;;;40966:28:0;::::1;::::0;::::1;::::0;6729:18:1;;40966:63:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;41077:6;-1:-1:-1::0;;;;;41045:48:0::1;41066:9;-1:-1:-1::0;;;;;41045:48:0::1;;41085:7;41045:48;;;;6518:25:1::0;;6506:2;6491:18;;6372:177;44533:228:0;44648:5;11305:36;11335:5;11305:29;:36::i;:::-;-1:-1:-1;;;;;44671:20:0;::::1;;::::0;;;:13:::1;:20;::::0;;;;:30:::1;::::0;44694:7;;44671:30:::1;:::i;:::-;;44738:5;-1:-1:-1::0;;;;;44717:36:0::1;;44745:7;;44717:36;;;;;;;:::i;:::-;;;;;;;;44533:228:::0;;;;:::o;45592:281::-;45738:5;11305:36;11335:5;11305:29;:36::i;:::-;-1:-1:-1;;;;;45756:26:0;;::::1;;::::0;;;:19:::1;:26;::::0;;;;;;;:34;;::::1;::::0;;;;;;:44:::1;::::0;45793:7;;45756:44:::1;:::i;:::-;;45849:6;-1:-1:-1::0;;;;;45816:49:0::1;45842:5;-1:-1:-1::0;;;;;45816:49:0::1;;45857:7;;45816:49;;;;;;;:::i;:::-;;;;;;;;45592:281:::0;;;;;:::o;46369:871::-;46522:4;46539:24;46566:40;46585:10;46597:8;46566:18;:40::i;:::-;46539:67;;46623:7;:14;46641:1;46623:19;46619:589;;46676:14;;46659;46705:464;46729:6;46725:1;:10;46705:464;;;46797:7;46805:1;46797:10;;;;;;;;:::i;:::-;;;;;;;;;;;46785:220;;-1:-1:-1;;;46785:220:0;;46845:10;46785:220;;;8073:34:1;-1:-1:-1;;;;;8143:15:1;;;8123:18;;;8116:43;8195:15;;;8175:18;;;8168:43;8247:15;;;8227:18;;;8220:43;8279:19;;;8272:35;;;46785:33:0;;;;;;8007:19:1;;46785:220:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;46758:322;;47055:5;47048:12;;;;;;;46758:322;47131:3;;46705:464;;;;47192:4;47185:11;;;;;;46619:589;47227:5;47220:12;;;46369:871;;;;;;;:::o;41884:85::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;41884:85:0;;-1:-1:-1;41884:85:0;;-1:-1:-1;;41884:85:0:o;42480:404::-;-1:-1:-1;;;;;42625:26:0;;;42669:1;42625:26;;;:19;:26;;;;;;;;:34;;;;;;;;;:41;42587:16;;42625:45;42621:220;;-1:-1:-1;;;;;42694:26:0;;;;;;;:19;:26;;;;;;;;:34;;;;;;;;;;;;42687:41;;;;;;;;;;;;;;;;;42694:34;;42687:41;;42694:34;42687:41;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;42687:41:0;;;;;;;;;;;;;;;;;;;;;;;;;42621:220;-1:-1:-1;;;;;42750:27:0;;;;;;;:20;:27;;;;;;;;:35;;;;;;;;;;;;42746:95;;;-1:-1:-1;;;;;42809:20:0;;;;;;:13;:20;;;;;;;;;42802:27;;;;;;;;;;;;;;;;;42809:20;;42802:27;;42809:20;42802:27;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;42802:27:0;;;;;;;;;;;;;;;;;;;;;;;;42746:95;-1:-1:-1;42860:16:0;;;42874:1;42860:16;;;;;;;;42480:404;;;;;:::o;12404:154::-;12464:5;11305:36;11335:5;11305:29;:36::i;:::-;-1:-1:-1;;;;;12482:24:0;::::1;;::::0;;;12509:4:::1;12482:24;::::0;;;;;;;:31;;-1:-1:-1;;12482:31:0::1;::::0;;::::1;::::0;;;12529:21;::::1;::::0;12482:24;12529:21:::1;12404:154:::0;;:::o;43646:345::-;43772:5;11305:36;11335:5;11305:29;:36::i;:::-;-1:-1:-1;;;;;43794:27:0;;::::1;;::::0;;;:20:::1;:27;::::0;;;;;;;:35;;::::1;::::0;;;;;;;::::1;;:46;;::::0;::::1;;;43790:194;;-1:-1:-1::0;;;;;43857:27:0;;::::1;;::::0;;;:20:::1;:27;::::0;;;;;;;:35;;::::1;::::0;;;;;;;;;;:45;;-1:-1:-1;;43857:45:0::1;::::0;::::1;;::::0;;::::1;::::0;;;43922:50;;3748:41:1;;;43922:50:0::1;::::0;3721:18:1;43922:50:0::1;;;;;;;43790:194;43646:345:::0;;;;:::o;33168:211::-;33312:58;;;-1:-1:-1;;;;;8892:32:1;;33312:58:0;;;8874:51:1;8941:18;;;;8934:34;;;33312:58:0;;;;;;;;;;8847:18:1;;;;33312:58:0;;;;;;;;-1:-1:-1;;;;;33312:58:0;-1:-1:-1;;;33312:58:0;;;33285:86;;33305:5;;33285:19;:86::i;:::-;33168:211;;;:::o;11712:414::-;-1:-1:-1;;;;;11814:24:0;;;;;;:17;:24;;;;;;;;11813:25;:248;;;;;11882:5;-1:-1:-1;;;;;11874:20:0;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;11860:36:0;:10;-1:-1:-1;;;;;11860:36:0;;:200;;;-1:-1:-1;11936:7:0;;-1:-1:-1;;;;;11936:7:0;11922:10;:21;:137;;;;;12045:5;-1:-1:-1;;;;;12037:20:0;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;11972:87:0;11981:10;-1:-1:-1;;;;;11972:34:0;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;11972:87:0;;11922:137;11791:327;;;;-1:-1:-1;;;11791:327:0;;9437:2:1;11791:327:0;;;9419:21:1;9476:2;9456:18;;;9449:30;9515:31;9495:18;;;9488:59;9564:18;;11791:327:0;9235:353:1;11791:327:0;11712:414;:::o;36235:716::-;36659:23;36685:69;36713:4;36685:69;;;;;;;;;;;;;;;;;36693:5;-1:-1:-1;;;;;36685:27:0;;;:69;;;;;:::i;:::-;36769:17;;36659:95;;-1:-1:-1;36769:21:0;36765:179;;36866:10;36855:30;;;;;;;;;;;;:::i;:::-;36847:85;;;;-1:-1:-1;;;36847:85:0;;9795:2:1;36847:85:0;;;9777:21:1;9834:2;9814:18;;;9807:30;9873:34;9853:18;;;9846:62;-1:-1:-1;;;9924:18:1;;;9917:40;9974:19;;36847:85:0;9593:406:1;27204:229:0;27341:12;27373:52;27395:6;27403:4;27409:1;27412:12;27341;28612;28626:23;28653:6;-1:-1:-1;;;;;28653:11:0;28672:5;28679:4;28653:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28611:73;;;;28702:69;28729:6;28737:7;28746:10;28758:12;28702:26;:69::i;:::-;28695:76;28324:455;-1:-1:-1;;;;;;;28324:455:0:o;30897:644::-;31082:12;31111:7;31107:427;;;31139:10;:17;31160:1;31139:22;31135:290;;-1:-1:-1;;;;;24742:19:0;;;31349:60;;;;-1:-1:-1;;;31349:60:0;;11155:2:1;31349:60:0;;;11137:21:1;11194:2;11174:18;;;11167:30;11233:31;11213:18;;;11206:59;11282:18;;31349:60:0;10953:353:1;31349:60:0;-1:-1:-1;31446:10:0;31439:17;;31107:427;31489:33;31497:10;31509:12;32244:17;;:21;32240:388;;32476:10;32470:17;32533:15;32520:10;32516:2;32512:19;32505:44;32240:388;32603:12;32596:20;;-1:-1:-1;;;32596:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;631:131:1;-1:-1:-1;;;;;706:31:1;;696:42;;686:70;;752:1;749;742:12;767:315;835:6;843;896:2;884:9;875:7;871:23;867:32;864:52;;;912:1;909;902:12;864:52;951:9;938:23;970:31;995:5;970:31;:::i;:::-;1020:5;1072:2;1057:18;;;;1044:32;;-1:-1:-1;;;767:315:1:o;1087:456::-;1164:6;1172;1180;1233:2;1221:9;1212:7;1208:23;1204:32;1201:52;;;1249:1;1246;1239:12;1201:52;1288:9;1275:23;1307:31;1332:5;1307:31;:::i;:::-;1357:5;-1:-1:-1;1414:2:1;1399:18;;1386:32;1427:33;1386:32;1427:33;:::i;:::-;1087:456;;1479:7;;-1:-1:-1;;;1533:2:1;1518:18;;;;1505:32;;1087:456::o;1548:367::-;1611:8;1621:6;1675:3;1668:4;1660:6;1656:17;1652:27;1642:55;;1693:1;1690;1683:12;1642:55;-1:-1:-1;1716:20:1;;1759:18;1748:30;;1745:50;;;1791:1;1788;1781:12;1745:50;1828:4;1820:6;1816:17;1804:29;;1888:3;1881:4;1871:6;1868:1;1864:14;1856:6;1852:27;1848:38;1845:47;1842:67;;;1905:1;1902;1895:12;1842:67;1548:367;;;;;:::o;1920:572::-;2015:6;2023;2031;2084:2;2072:9;2063:7;2059:23;2055:32;2052:52;;;2100:1;2097;2090:12;2052:52;2139:9;2126:23;2158:31;2183:5;2158:31;:::i;:::-;2208:5;-1:-1:-1;2264:2:1;2249:18;;2236:32;2291:18;2280:30;;2277:50;;;2323:1;2320;2313:12;2277:50;2362:70;2424:7;2415:6;2404:9;2400:22;2362:70;:::i;:::-;1920:572;;2451:8;;-1:-1:-1;2336:96:1;;-1:-1:-1;;;;1920:572:1:o;2497:713::-;2601:6;2609;2617;2625;2678:2;2666:9;2657:7;2653:23;2649:32;2646:52;;;2694:1;2691;2684:12;2646:52;2733:9;2720:23;2752:31;2777:5;2752:31;:::i;:::-;2802:5;-1:-1:-1;2859:2:1;2844:18;;2831:32;2872:33;2831:32;2872:33;:::i;:::-;2924:7;-1:-1:-1;2982:2:1;2967:18;;2954:32;3009:18;2998:30;;2995:50;;;3041:1;3038;3031:12;2995:50;3080:70;3142:7;3133:6;3122:9;3118:22;3080:70;:::i;:::-;2497:713;;;;-1:-1:-1;3169:8:1;-1:-1:-1;;;;2497:713:1:o;3215:388::-;3283:6;3291;3344:2;3332:9;3323:7;3319:23;3315:32;3312:52;;;3360:1;3357;3350:12;3312:52;3399:9;3386:23;3418:31;3443:5;3418:31;:::i;:::-;3468:5;-1:-1:-1;3525:2:1;3510:18;;3497:32;3538:33;3497:32;3538:33;:::i;:::-;3590:7;3580:17;;;3215:388;;;;;:::o;3800:598::-;3886:6;3894;3902;3910;3963:3;3951:9;3942:7;3938:23;3934:33;3931:53;;;3980:1;3977;3970:12;3931:53;4019:9;4006:23;4038:31;4063:5;4038:31;:::i;:::-;4088:5;-1:-1:-1;4145:2:1;4130:18;;4117:32;4158:33;4117:32;4158:33;:::i;:::-;4210:7;-1:-1:-1;4269:2:1;4254:18;;4241:32;4282:33;4241:32;4282:33;:::i;:::-;3800:598;;;;-1:-1:-1;4334:7:1;;4388:2;4373:18;4360:32;;-1:-1:-1;;3800:598:1:o;4403:247::-;4462:6;4515:2;4503:9;4494:7;4490:23;4486:32;4483:52;;;4531:1;4528;4521:12;4483:52;4570:9;4557:23;4589:31;4614:5;4589:31;:::i;:::-;4639:5;4403:247;-1:-1:-1;;;4403:247:1:o;4655:658::-;4826:2;4878:21;;;4948:13;;4851:18;;;4970:22;;;4797:4;;4826:2;5049:15;;;;5023:2;5008:18;;;4797:4;5092:195;5106:6;5103:1;5100:13;5092:195;;;5171:13;;-1:-1:-1;;;;;5167:39:1;5155:52;;5262:15;;;;5227:12;;;;5203:1;5121:9;5092:195;;;-1:-1:-1;5304:3:1;;4655:658;-1:-1:-1;;;;;;4655:658:1:o;5318:118::-;5404:5;5397:13;5390:21;5383:5;5380:32;5370:60;;5426:1;5423;5416:12;5441:523;5515:6;5523;5531;5584:2;5572:9;5563:7;5559:23;5555:32;5552:52;;;5600:1;5597;5590:12;5552:52;5639:9;5626:23;5658:31;5683:5;5658:31;:::i;:::-;5708:5;-1:-1:-1;5765:2:1;5750:18;;5737:32;5778:33;5737:32;5778:33;:::i;:::-;5830:7;-1:-1:-1;5889:2:1;5874:18;;5861:32;5902:30;5861:32;5902:30;:::i;:::-;5951:7;5941:17;;;5441:523;;;;;:::o;5969:398::-;6171:2;6153:21;;;6210:2;6190:18;;;6183:30;6249:34;6244:2;6229:18;;6222:62;-1:-1:-1;;;6315:2:1;6300:18;;6293:32;6357:3;6342:19;;5969:398::o;6934:705::-;7115:2;7167:21;;;7140:18;;;7223:22;;;7086:4;;7302:6;7276:2;7261:18;;7086:4;7336:277;7350:6;7347:1;7344:13;7336:277;;;7425:6;7412:20;7445:31;7470:5;7445:31;:::i;:::-;-1:-1:-1;;;;;7501:31:1;7489:44;;7588:15;;;;7553:12;;;;7529:1;7365:9;7336:277;;;-1:-1:-1;7630:3:1;6934:705;-1:-1:-1;;;;;;6934:705:1:o;7644:127::-;7705:10;7700:3;7696:20;7693:1;7686:31;7736:4;7733:1;7726:15;7760:4;7757:1;7750:15;8318:245;8385:6;8438:2;8426:9;8417:7;8413:23;8409:32;8406:52;;;8454:1;8451;8444:12;8406:52;8486:9;8480:16;8505:28;8527:5;8505:28;:::i;8979:251::-;9049:6;9102:2;9090:9;9081:7;9077:23;9073:32;9070:52;;;9118:1;9115;9108:12;9070:52;9150:9;9144:16;9169:31;9194:5;9169:31;:::i;10411:258::-;10483:1;10493:113;10507:6;10504:1;10501:13;10493:113;;;10583:11;;;10577:18;10564:11;;;10557:39;10529:2;10522:10;10493:113;;;10624:6;10621:1;10618:13;10615:48;;;-1:-1:-1;;10659:1:1;10641:16;;10634:27;10411:258::o;10674:274::-;10803:3;10841:6;10835:13;10857:53;10903:6;10898:3;10891:4;10883:6;10879:17;10857:53;:::i;:::-;10926:16;;;;;10674:274;-1:-1:-1;;10674:274:1:o;11311:383::-;11460:2;11449:9;11442:21;11423:4;11492:6;11486:13;11535:6;11530:2;11519:9;11515:18;11508:34;11551:66;11610:6;11605:2;11594:9;11590:18;11585:2;11577:6;11573:15;11551:66;:::i;:::-;11678:2;11657:15;-1:-1:-1;;11653:29:1;11638:45;;;;11685:2;11634:54;;11311:383;-1:-1:-1;;11311:383:1:o

Swarm Source

ipfs://52b5c3451e6da43330ac8582bfb472a642fab0cc1735c22e2908fad0c5a3d747

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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
Loading...
Loading
[ 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.