Contract 0x8DA386B8e9E3C27411ec5972C5D91399ad0b9D02

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x563970c92086fe3f3ba14f6fb9c84781337d880305363f037f0de12e0b294969Initialize202098322022-08-14 7:37:43230 days 12 hrs agoMycelium: Deployer IN  0x8da386b8e9e3c27411ec5972c5d91399ad0b9d020 ETH0.000066075841 ETH0.094925915
0x268375e672414a2dc771a7424b890abb12b8d95c862062cc3fe55ca7e68065e50x60806040202098282022-08-14 7:37:43230 days 12 hrs agoMycelium: Deployer IN  Create: TokenManager0 ETH0.00166618258 ETH0.094925915
[ Download CSV Export 
Latest 14 internal transactions
Parent Txn Hash Block From To Value
0xcea3e85bcb8e243433385256cacc4f13f8aacc39d4ea82cfa798d1dc89ffc26f552973122023-01-25 6:00:1266 days 14 hrs ago 0x8da386b8e9e3c27411ec5972c5d91399ad0b9d02 0x25d390b53b06ae32dab3bdcb1c0d4fa44d2907d70 ETH
0xcea3e85bcb8e243433385256cacc4f13f8aacc39d4ea82cfa798d1dc89ffc26f552973122023-01-25 6:00:1266 days 14 hrs ago 0x3e2d84477631691cc49b75a41bae7ca8e032e8ac 0x8da386b8e9e3c27411ec5972c5d91399ad0b9d020 ETH
0xcea3e85bcb8e243433385256cacc4f13f8aacc39d4ea82cfa798d1dc89ffc26f552973122023-01-25 6:00:1266 days 14 hrs ago 0x3e2d84477631691cc49b75a41bae7ca8e032e8ac 0x8da386b8e9e3c27411ec5972c5d91399ad0b9d020 ETH
0x678300bc31538e61324ee98e0acf36d58f4f19fda3f0158031d87d4b299527bb526667162023-01-13 0:50:4478 days 19 hrs ago 0x8da386b8e9e3c27411ec5972c5d91399ad0b9d02 0x25d390b53b06ae32dab3bdcb1c0d4fa44d2907d70 ETH
0x678300bc31538e61324ee98e0acf36d58f4f19fda3f0158031d87d4b299527bb526667162023-01-13 0:50:4478 days 19 hrs ago 0x3e2d84477631691cc49b75a41bae7ca8e032e8ac 0x8da386b8e9e3c27411ec5972c5d91399ad0b9d020 ETH
0xa7dc1ad4cbe484d7ce1e4b5895ff2aed70442d0c39e41195be9d6d4b63baa10b526655012023-01-13 0:41:3878 days 19 hrs ago 0x3e2d84477631691cc49b75a41bae7ca8e032e8ac 0x8da386b8e9e3c27411ec5972c5d91399ad0b9d020 ETH
0xa2e01d828c0e9a33033503b5e83af8d371d79cf63521c65b99c9f3b475ab7948253997562022-09-20 5:24:29193 days 14 hrs ago 0x8da386b8e9e3c27411ec5972c5d91399ad0b9d02 0x25d390b53b06ae32dab3bdcb1c0d4fa44d2907d70 ETH
0xa2e01d828c0e9a33033503b5e83af8d371d79cf63521c65b99c9f3b475ab7948253997562022-09-20 5:24:29193 days 14 hrs ago 0x3e2d84477631691cc49b75a41bae7ca8e032e8ac 0x8da386b8e9e3c27411ec5972c5d91399ad0b9d020 ETH
0xceb54521a4b47a4277c5628b1a454f710b64a03bd3cadce7c27ea8a56affcf13253992972022-09-20 5:20:47193 days 14 hrs ago 0x3e2d84477631691cc49b75a41bae7ca8e032e8ac 0x8da386b8e9e3c27411ec5972c5d91399ad0b9d020 ETH
0x22feb276b46fcd7c31bc0f33945e83265f8d3a814edefe21d1adbb49448f28c2253913532022-09-20 4:29:17193 days 15 hrs ago 0x8da386b8e9e3c27411ec5972c5d91399ad0b9d02 0x25d390b53b06ae32dab3bdcb1c0d4fa44d2907d70 ETH
0x22feb276b46fcd7c31bc0f33945e83265f8d3a814edefe21d1adbb49448f28c2253913532022-09-20 4:29:17193 days 15 hrs ago 0x3e2d84477631691cc49b75a41bae7ca8e032e8ac 0x8da386b8e9e3c27411ec5972c5d91399ad0b9d020 ETH
0x0394be966418786bd65497dc6cadc7e690d05d12244b7d44a75056790fd13081253714442022-09-20 1:38:13193 days 18 hrs ago 0x3e2d84477631691cc49b75a41bae7ca8e032e8ac 0x8da386b8e9e3c27411ec5972c5d91399ad0b9d020 ETH
0x1cdd8e8b998c2358882c9621c8ef4f7a73230d5468444f4227543f914e7680d7202685052022-08-14 23:42:35229 days 20 hrs ago 0x3e2d84477631691cc49b75a41bae7ca8e032e8ac 0x8da386b8e9e3c27411ec5972c5d91399ad0b9d020 ETH
0x1cdd8e8b998c2358882c9621c8ef4f7a73230d5468444f4227543f914e7680d7202685052022-08-14 23:42:35229 days 20 hrs ago 0x3e2d84477631691cc49b75a41bae7ca8e032e8ac 0x8da386b8e9e3c27411ec5972c5d91399ad0b9d020 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TokenManager

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 1 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 7 : TokenManager.sol
//SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

import "../libraries/math/SafeMath.sol";
import "../libraries/token/IERC20.sol";
import "../libraries/token/ERC721/IERC721.sol";
import "../libraries/utils/ReentrancyGuard.sol";

import "../peripherals/interfaces/ITimelock.sol";

contract TokenManager is ReentrancyGuard {
    using SafeMath for uint256;

    bool public isInitialized;

    uint256 public actionsNonce;
    uint256 public minAuthorizations;

    address public admin;

    address[] public signers;
    mapping(address => bool) public isSigner;
    mapping(bytes32 => bool) public pendingActions;
    mapping(address => mapping(bytes32 => bool)) public signedActions;

    event SignalApprove(address token, address spender, uint256 amount, bytes32 action, uint256 nonce);
    event SignalApproveNFT(address token, address spender, uint256 tokenId, bytes32 action, uint256 nonce);
    event SignalApproveNFTs(address token, address spender, uint256[] tokenIds, bytes32 action, uint256 nonce);
    event SignalSetAdmin(address target, address admin, bytes32 action, uint256 nonce);
    event SignalSetGov(address timelock, address target, address gov, bytes32 action, uint256 nonce);
    event SignalPendingAction(bytes32 action, uint256 nonce);
    event SignAction(bytes32 action, uint256 nonce);
    event ClearAction(bytes32 action, uint256 nonce);

    constructor(uint256 _minAuthorizations) public {
        admin = msg.sender;
        minAuthorizations = _minAuthorizations;
    }

    modifier onlyAdmin() {
        require(msg.sender == admin, "TokenManager: forbidden");
        _;
    }

    modifier onlySigner() {
        require(isSigner[msg.sender], "TokenManager: forbidden");
        _;
    }

    function initialize(address[] memory _signers) public virtual onlyAdmin {
        require(!isInitialized, "TokenManager: already initialized");
        isInitialized = true;

        signers = _signers;
        for (uint256 i = 0; i < _signers.length; i++) {
            address signer = _signers[i];
            isSigner[signer] = true;
        }
    }

    function signersLength() public view returns (uint256) {
        return signers.length;
    }

    function signalApprove(
        address _token,
        address _spender,
        uint256 _amount
    ) external nonReentrant onlyAdmin {
        actionsNonce++;
        uint256 nonce = actionsNonce;
        bytes32 action = keccak256(abi.encodePacked("approve", _token, _spender, _amount, nonce));
        _setPendingAction(action, nonce);
        emit SignalApprove(_token, _spender, _amount, action, nonce);
    }

    function signApprove(
        address _token,
        address _spender,
        uint256 _amount,
        uint256 _nonce
    ) external nonReentrant onlySigner {
        bytes32 action = keccak256(abi.encodePacked("approve", _token, _spender, _amount, _nonce));
        _validateAction(action);
        require(!signedActions[msg.sender][action], "TokenManager: already signed");
        signedActions[msg.sender][action] = true;
        emit SignAction(action, _nonce);
    }

    function approve(
        address _token,
        address _spender,
        uint256 _amount,
        uint256 _nonce
    ) external nonReentrant onlyAdmin {
        bytes32 action = keccak256(abi.encodePacked("approve", _token, _spender, _amount, _nonce));
        _validateAction(action);
        _validateAuthorization(action);

        IERC20(_token).approve(_spender, _amount);
        _clearAction(action, _nonce);
    }

    function signalApproveNFT(
        address _token,
        address _spender,
        uint256 _tokenId
    ) external nonReentrant onlyAdmin {
        actionsNonce++;
        uint256 nonce = actionsNonce;
        bytes32 action = keccak256(abi.encodePacked("approveNFT", _token, _spender, _tokenId, nonce));
        _setPendingAction(action, nonce);
        emit SignalApproveNFT(_token, _spender, _tokenId, action, nonce);
    }

    function signApproveNFT(
        address _token,
        address _spender,
        uint256 _tokenId,
        uint256 _nonce
    ) external nonReentrant onlySigner {
        bytes32 action = keccak256(abi.encodePacked("approveNFT", _token, _spender, _tokenId, _nonce));
        _validateAction(action);
        require(!signedActions[msg.sender][action], "TokenManager: already signed");
        signedActions[msg.sender][action] = true;
        emit SignAction(action, _nonce);
    }

    function approveNFT(
        address _token,
        address _spender,
        uint256 _tokenId,
        uint256 _nonce
    ) external nonReentrant onlyAdmin {
        bytes32 action = keccak256(abi.encodePacked("approveNFT", _token, _spender, _tokenId, _nonce));
        _validateAction(action);
        _validateAuthorization(action);

        IERC721(_token).approve(_spender, _tokenId);
        _clearAction(action, _nonce);
    }

    function signalApproveNFTs(
        address _token,
        address _spender,
        uint256[] memory _tokenIds
    ) external nonReentrant onlyAdmin {
        actionsNonce++;
        uint256 nonce = actionsNonce;
        bytes32 action = keccak256(abi.encodePacked("approveNFTs", _token, _spender, _tokenIds, nonce));
        _setPendingAction(action, nonce);
        emit SignalApproveNFTs(_token, _spender, _tokenIds, action, nonce);
    }

    function signApproveNFTs(
        address _token,
        address _spender,
        uint256[] memory _tokenIds,
        uint256 _nonce
    ) external nonReentrant onlySigner {
        bytes32 action = keccak256(abi.encodePacked("approveNFTs", _token, _spender, _tokenIds, _nonce));
        _validateAction(action);
        require(!signedActions[msg.sender][action], "TokenManager: already signed");
        signedActions[msg.sender][action] = true;
        emit SignAction(action, _nonce);
    }

    function approveNFTs(
        address _token,
        address _spender,
        uint256[] memory _tokenIds,
        uint256 _nonce
    ) external nonReentrant onlyAdmin {
        bytes32 action = keccak256(abi.encodePacked("approveNFTs", _token, _spender, _tokenIds, _nonce));
        _validateAction(action);
        _validateAuthorization(action);

        for (uint256 i = 0; i < _tokenIds.length; i++) {
            IERC721(_token).approve(_spender, _tokenIds[i]);
        }
        _clearAction(action, _nonce);
    }

    function signalSetAdmin(address _target, address _admin) external nonReentrant onlySigner {
        actionsNonce++;
        uint256 nonce = actionsNonce;
        bytes32 action = keccak256(abi.encodePacked("setAdmin", _target, _admin, nonce));
        _setPendingAction(action, nonce);
        signedActions[msg.sender][action] = true;
        emit SignalSetAdmin(_target, _admin, action, nonce);
    }

    function signSetAdmin(
        address _target,
        address _admin,
        uint256 _nonce
    ) external nonReentrant onlySigner {
        bytes32 action = keccak256(abi.encodePacked("setAdmin", _target, _admin, _nonce));
        _validateAction(action);
        require(!signedActions[msg.sender][action], "TokenManager: already signed");
        signedActions[msg.sender][action] = true;
        emit SignAction(action, _nonce);
    }

    function setAdmin(
        address _target,
        address _admin,
        uint256 _nonce
    ) external nonReentrant onlySigner {
        bytes32 action = keccak256(abi.encodePacked("setAdmin", _target, _admin, _nonce));
        _validateAction(action);
        _validateAuthorization(action);

        ITimelock(_target).setAdmin(_admin);
        _clearAction(action, _nonce);
    }

    function signalSetGov(
        address _timelock,
        address _target,
        address _gov
    ) external nonReentrant onlyAdmin {
        actionsNonce++;
        uint256 nonce = actionsNonce;
        bytes32 action = keccak256(abi.encodePacked("signalSetGov", _timelock, _target, _gov, nonce));
        _setPendingAction(action, nonce);
        signedActions[msg.sender][action] = true;
        emit SignalSetGov(_timelock, _target, _gov, action, nonce);
    }

    function signSetGov(
        address _timelock,
        address _target,
        address _gov,
        uint256 _nonce
    ) external nonReentrant onlySigner {
        bytes32 action = keccak256(abi.encodePacked("signalSetGov", _timelock, _target, _gov, _nonce));
        _validateAction(action);
        require(!signedActions[msg.sender][action], "TokenManager: already signed");
        signedActions[msg.sender][action] = true;
        emit SignAction(action, _nonce);
    }

    function setGov(
        address _timelock,
        address _target,
        address _gov,
        uint256 _nonce
    ) external nonReentrant onlyAdmin {
        bytes32 action = keccak256(abi.encodePacked("signalSetGov", _timelock, _target, _gov, _nonce));
        _validateAction(action);
        _validateAuthorization(action);

        ITimelock(_timelock).signalSetGov(_target, _gov);
        _clearAction(action, _nonce);
    }

    function _setPendingAction(bytes32 _action, uint256 _nonce) private {
        pendingActions[_action] = true;
        emit SignalPendingAction(_action, _nonce);
    }

    function _validateAction(bytes32 _action) private view {
        require(pendingActions[_action], "TokenManager: action not signalled");
    }

    function _validateAuthorization(bytes32 _action) private view {
        uint256 count = 0;
        for (uint256 i = 0; i < signers.length; i++) {
            address signer = signers[i];
            if (signedActions[signer][_action]) {
                count++;
            }
        }

        if (count == 0) {
            revert("TokenManager: action not authorized");
        }
        require(count >= minAuthorizations, "TokenManager: insufficient authorization");
    }

    function _clearAction(bytes32 _action, uint256 _nonce) private {
        require(pendingActions[_action], "TokenManager: invalid _action");
        delete pendingActions[_action];
        emit ClearAction(_action, _nonce);
    }
}

File 2 of 7 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

File 3 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 4 of 7 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

import "../../introspection/IERC165.sol";

/**
 * @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`, 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 be 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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

File 5 of 7 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 6 of 7 : ITimelock.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

interface ITimelock {
    function setAdmin(address _admin) external;

    function enableLeverage(address _vault) external;

    function disableLeverage(address _vault) external;

    function setIsLeverageEnabled(address _vault, bool _isLeverageEnabled) external;

    function signalSetGov(address _target, address _gov) external;

    function managedSetHandler(
        address _target,
        address _handler,
        bool _isActive
    ) external;

    function managedSetMinter(
        address _target,
        address _minter,
        bool _isActive
    ) external;
}

File 7 of 7 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

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

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_minAuthorizations","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"action","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"ClearAction","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"action","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"SignAction","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"action","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"SignalApprove","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"action","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"SignalApproveNFT","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"indexed":false,"internalType":"bytes32","name":"action","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"SignalApproveNFTs","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"action","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"SignalPendingAction","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"address","name":"admin","type":"address"},{"indexed":false,"internalType":"bytes32","name":"action","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"SignalSetAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"timelock","type":"address"},{"indexed":false,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"address","name":"gov","type":"address"},{"indexed":false,"internalType":"bytes32","name":"action","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"SignalSetGov","type":"event"},{"inputs":[],"name":"actionsNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_nonce","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_nonce","type":"uint256"}],"name":"approveNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"uint256","name":"_nonce","type":"uint256"}],"name":"approveNFTs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_signers","type":"address[]"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isInitialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isSigner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minAuthorizations","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"pendingActions","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_target","type":"address"},{"internalType":"address","name":"_admin","type":"address"},{"internalType":"uint256","name":"_nonce","type":"uint256"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_timelock","type":"address"},{"internalType":"address","name":"_target","type":"address"},{"internalType":"address","name":"_gov","type":"address"},{"internalType":"uint256","name":"_nonce","type":"uint256"}],"name":"setGov","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_nonce","type":"uint256"}],"name":"signApprove","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_nonce","type":"uint256"}],"name":"signApproveNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"uint256","name":"_nonce","type":"uint256"}],"name":"signApproveNFTs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_target","type":"address"},{"internalType":"address","name":"_admin","type":"address"},{"internalType":"uint256","name":"_nonce","type":"uint256"}],"name":"signSetAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_timelock","type":"address"},{"internalType":"address","name":"_target","type":"address"},{"internalType":"address","name":"_gov","type":"address"},{"internalType":"uint256","name":"_nonce","type":"uint256"}],"name":"signSetGov","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"signalApprove","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"signalApproveNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"signalApproveNFTs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_target","type":"address"},{"internalType":"address","name":"_admin","type":"address"}],"name":"signalSetAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_timelock","type":"address"},{"internalType":"address","name":"_target","type":"address"},{"internalType":"address","name":"_gov","type":"address"}],"name":"signalSetGov","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"signedActions","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"signers","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"signersLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b5060405161245d38038061245d8339818101604052602081101561003357600080fd5b50516001600055600480546001600160a01b031916331790556003556123ff8061005e6000396000f3fe608060405234801561001057600080fd5b50600436106101335760003560e01c80630b13beca14610138578063181fcd33146101705780632079fb9a1461022a578063287800c914610263578063392e53cd1461027d57806341f684f31461029957806342a1fcee146102a15780634dc5ecb31461035d57806375fd490c146103995780637df73e27146103c757806387c6d4f9146103ed5780639fddaac114610419578063a224cee71461044f578063a4c04bb7146104f0578063a62fb170146104f8578063dce6e18d14610534578063ddf67a9f1461056a578063e2d03cc5146105a6578063e30569e5146105de578063e9075621146105fb578063f00cb94214610637578063f23f9775146106f3578063f466634b1461072f578063f52dc4f714610765578063f851a440146107a1575b600080fd5b61016e6004803603606081101561014e57600080fd5b506001600160a01b038135811691602081013590911690604001356107a9565b005b61016e6004803603606081101561018657600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b8111156101b957600080fd5b8201836020820111156101cb57600080fd5b803590602001918460208302840111600160201b831117156101ec57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610919945050505050565b6102476004803603602081101561024057600080fd5b5035610b0f565b604080516001600160a01b039092168252519081900360200190f35b61026b610b36565b60408051918252519081900360200190f35b610285610b3c565b604080519115158252519081900360200190f35b61026b610b45565b61016e600480360360808110156102b757600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b8111156102ea57600080fd5b8201836020820111156102fc57600080fd5b803590602001918460208302840111600160201b8311171561031d57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295505091359250610b4b915050565b61016e6004803603608081101561037357600080fd5b506001600160a01b03813581169160208101359091169060408101359060600135610d41565b61016e600480360360408110156103af57600080fd5b506001600160a01b0381358116916020013516610ed5565b610285600480360360208110156103dd57600080fd5b50356001600160a01b031661105e565b6102856004803603604081101561040357600080fd5b506001600160a01b038135169060200135611073565b61016e6004803603606081101561042f57600080fd5b506001600160a01b03813581169160208101359091169060400135611093565b61016e6004803603602081101561046557600080fd5b810190602081018135600160201b81111561047f57600080fd5b82018360208201111561049157600080fd5b803590602001918460208302840111600160201b831117156104b257600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611213945050505050565b61026b61131c565b61016e6004803603608081101561050e57600080fd5b506001600160a01b03813581169160208101358216916040820135169060600135611322565b61016e6004803603606081101561054a57600080fd5b506001600160a01b038135811691602081013590911690604001356114f1565b61016e6004803603608081101561058057600080fd5b506001600160a01b0381358116916020810135909116906040810135906060013561165e565b61016e600480360360608110156105bc57600080fd5b506001600160a01b038135811691602081013582169160409091013516611762565b610285600480360360208110156105f457600080fd5b50356118fe565b61016e6004803603608081101561061157600080fd5b506001600160a01b03813581169160208101358216916040820135169060600135611913565b61016e6004803603608081101561064d57600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b81111561068057600080fd5b82018360208201111561069257600080fd5b803590602001918460208302840111600160201b831117156106b357600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295505091359250611aa2915050565b61016e6004803603608081101561070957600080fd5b506001600160a01b03813581169160208101359091169060408101359060600135611be2565b61016e6004803603606081101561074557600080fd5b506001600160a01b03813581169160208101359091169060400135611d42565b61016e6004803603608081101561077b57600080fd5b506001600160a01b03813581169160208101359091169060408101359060600135611f03565b610247612004565b600260005414156107ef576040805162461bcd60e51b815260206004820152601f60248201526000805160206122dc833981519152604482015290519081900360640190fd5b60026000556004546001600160a01b03163314610841576040805162461bcd60e51b81526020600482015260176024820152600080516020612368833981519152604482015290519081900360640190fd5b60028054600101908190556040805169185c1c1c9bdd9953919560b21b6020808301919091526001600160601b0319606088811b8216602a85015287901b16603e83015260528201859052607280830185905283518084039091018152609290920190925280519101206108b58183612013565b604080516001600160a01b03808816825286166020820152808201859052606081018390526080810184905290517fcd9ba83b63715dc15ac193645d6e925bf4b487c94b73d709b8b6dea608efd4cc9181900360a00190a150506001600055505050565b6002600054141561095f576040805162461bcd60e51b815260206004820152601f60248201526000805160206122dc833981519152604482015290519081900360640190fd5b60026000556004546001600160a01b031633146109b1576040805162461bcd60e51b81526020600482015260176024820152600080516020612368833981519152604482015290519081900360640190fd5b60028054600101908190556040516a617070726f76654e46547360a81b60208083019182526001600160601b0319606088811b8216602b86015287901b16603f840152845160009388938893889388936053019180860191028083838b5b83811015610a27578181015183820152602001610a0f565b50505050905001828152602001945050505050604051602081830303815290604052805190602001209050610a5c8183612013565b7ff9d0354d71c261982d98abd09b735f3663b2d7275e2569ad5fd907a4092765f9858585848660405180866001600160a01b03168152602001856001600160a01b0316815260200180602001848152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015610aec578181015183820152602001610ad4565b50505050905001965050505050505060405180910390a150506001600055505050565b60058181548110610b1c57fe5b6000918252602090912001546001600160a01b0316905081565b60035481565b60015460ff1681565b60055490565b60026000541415610b91576040805162461bcd60e51b815260206004820152601f60248201526000805160206122dc833981519152604482015290519081900360640190fd5b60026000556004546001600160a01b03163314610be3576040805162461bcd60e51b81526020600482015260176024820152600080516020612368833981519152604482015290519081900360640190fd5b60008484848460405160200180806a617070726f76654e46547360a81b815250600b01856001600160a01b031660601b8152601401846001600160a01b031660601b8152601401838051906020019060200280838360005b83811015610c53578181015183820152602001610c3b565b50505050905001828152602001945050505050604051602081830303815290604052805190602001209050610c878161206c565b610c90816120bc565b60005b8351811015610d2a57856001600160a01b031663095ea7b386868481518110610cb857fe5b60200260200101516040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610d0657600080fd5b505af1158015610d1a573d6000803e3d6000fd5b505060019092019150610c939050565b50610d35818361219e565b50506001600055505050565b60026000541415610d87576040805162461bcd60e51b815260206004820152601f60248201526000805160206122dc833981519152604482015290519081900360640190fd5b60026000556004546001600160a01b03163314610dd9576040805162461bcd60e51b81526020600482015260176024820152600080516020612368833981519152604482015290519081900360640190fd5b6040805166617070726f766560c81b6020808301919091526001600160601b0319606088811b8216602785015287901b16603b830152604f8201859052606f80830185905283518084039091018152608f9092019092528051910120610e3e8161206c565b610e47816120bc565b846001600160a01b031663095ea7b385856040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610e9e57600080fd5b505af1158015610eb2573d6000803e3d6000fd5b505050506040513d6020811015610ec857600080fd5b50610d359050818361219e565b60026000541415610f1b576040805162461bcd60e51b815260206004820152601f60248201526000805160206122dc833981519152604482015290519081900360640190fd5b600260009081553381526006602052604090205460ff16610f71576040805162461bcd60e51b81526020600482015260176024820152600080516020612368833981519152604482015290519081900360640190fd5b6002805460010190819055604080516739b2ba20b236b4b760c11b6020808301919091526001600160601b0319606087811b8216602885015286901b16603c83015260508083018590528351808403909101815260709092019092528051910120610fdc8183612013565b336000908152600860209081526040808320848452825291829020805460ff1916600117905581516001600160a01b0387811682528616918101919091528082018390526060810184905290517f4fc9433645aa0a3670e9185496bbd752209fed7a9696fb8a954a0db30ef927b09181900360800190a1505060016000555050565b60066020526000908152604090205460ff1681565b600860209081526000928352604080842090915290825290205460ff1681565b600260005414156110d9576040805162461bcd60e51b815260206004820152601f60248201526000805160206122dc833981519152604482015290519081900360640190fd5b600260009081553381526006602052604090205460ff1661112f576040805162461bcd60e51b81526020600482015260176024820152600080516020612368833981519152604482015290519081900360640190fd5b604080516739b2ba20b236b4b760c11b6020808301919091526001600160601b0319606087811b8216602885015286901b16603c8301526050808301859052835180840390910181526070909201909252805191012061118e8161206c565b611197816120bc565b836001600160a01b031663704b6c02846040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b1580156111e657600080fd5b505af11580156111fa573d6000803e3d6000fd5b50505050611208818361219e565b505060016000555050565b6004546001600160a01b03163314611260576040805162461bcd60e51b81526020600482015260176024820152600080516020612368833981519152604482015290519081900360640190fd5b60015460ff16156112a25760405162461bcd60e51b81526004018080602001828103825260218152602001806122fc6021913960400191505060405180910390fd5b6001805460ff19168117905580516112c1906005906020840190612257565b5060005b81518110156113185760008282815181106112dc57fe5b6020908102919091018101516001600160a01b03166000908152600690915260409020805460ff191660019081179091559190910190506112c5565b5050565b60025481565b60026000541415611368576040805162461bcd60e51b815260206004820152601f60248201526000805160206122dc833981519152604482015290519081900360640190fd5b600260009081553381526006602052604090205460ff166113be576040805162461bcd60e51b81526020600482015260176024820152600080516020612368833981519152604482015290519081900360640190fd5b604080516b39b4b3b730b629b2ba23b7bb60a11b6020808301919091526001600160601b0319606088811b8216602c85015287811b82168486015286901b1660548301526068808301859052835180840390910181526088909201909252805191012061142a8161206c565b33600090815260086020908152604080832084845290915290205460ff1615611499576040805162461bcd60e51b815260206004820152601c60248201527b151bdad95b93585b9859d95c8e88185b1c9958591e481cda59db995960221b604482015290519081900360640190fd5b336000908152600860209081526040808320848452825291829020805460ff19166001179055815183815290810184905281516000805160206123aa833981519152929181900390910190a150506001600055505050565b60026000541415611537576040805162461bcd60e51b815260206004820152601f60248201526000805160206122dc833981519152604482015290519081900360640190fd5b60026000556004546001600160a01b03163314611589576040805162461bcd60e51b81526020600482015260176024820152600080516020612368833981519152604482015290519081900360640190fd5b60028054600101908190556040805166617070726f766560c81b6020808301919091526001600160601b0319606088811b8216602785015287901b16603b830152604f8201859052606f80830185905283518084039091018152608f90920190925280519101206115fa8183612013565b604080516001600160a01b03808816825286166020820152808201859052606081018390526080810184905290517fc19251bf5f704ddc3d5babe6f4e5bde0dded20b19f7844716861821ab3163cd79181900360a00190a150506001600055505050565b600260005414156116a4576040805162461bcd60e51b815260206004820152601f60248201526000805160206122dc833981519152604482015290519081900360640190fd5b600260009081553381526006602052604090205460ff166116fa576040805162461bcd60e51b81526020600482015260176024820152600080516020612368833981519152604482015290519081900360640190fd5b6040805169185c1c1c9bdd9953919560b21b6020808301919091526001600160601b0319606088811b8216602a85015287901b16603e830152605282018590526072808301859052835180840390910181526092909201909252805191012061142a8161206c565b600260005414156117a8576040805162461bcd60e51b815260206004820152601f60248201526000805160206122dc833981519152604482015290519081900360640190fd5b60026000556004546001600160a01b031633146117fa576040805162461bcd60e51b81526020600482015260176024820152600080516020612368833981519152604482015290519081900360640190fd5b6002805460010190819055604080516b39b4b3b730b629b2ba23b7bb60a11b6020808301919091526001600160601b0319606088811b8216602c85015287811b82168486015286901b166054830152606880830185905283518084039091018152608890920190925280519101206118728183612013565b336000908152600860209081526040808320848452825291829020805460ff1916600117905581516001600160a01b0388811682528781169282019290925290851681830152606081018390526080810184905290517f634e13057d45400506e3b303913ac59b61e5a8137ea6fed5ed44aa0b8bc3c5689181900360a00190a150506001600055505050565b60076020526000908152604090205460ff1681565b60026000541415611959576040805162461bcd60e51b815260206004820152601f60248201526000805160206122dc833981519152604482015290519081900360640190fd5b60026000556004546001600160a01b031633146119ab576040805162461bcd60e51b81526020600482015260176024820152600080516020612368833981519152604482015290519081900360640190fd5b604080516b39b4b3b730b629b2ba23b7bb60a11b6020808301919091526001600160601b0319606088811b8216602c85015287811b82168486015286901b16605483015260688083018590528351808403909101815260889092019092528051910120611a178161206c565b611a20816120bc565b846001600160a01b031663996a7a1e85856040518363ffffffff1660e01b815260040180836001600160a01b03168152602001826001600160a01b0316815260200192505050600060405180830381600087803b158015611a8057600080fd5b505af1158015611a94573d6000803e3d6000fd5b50505050610d35818361219e565b60026000541415611ae8576040805162461bcd60e51b815260206004820152601f60248201526000805160206122dc833981519152604482015290519081900360640190fd5b600260009081553381526006602052604090205460ff16611b3e576040805162461bcd60e51b81526020600482015260176024820152600080516020612368833981519152604482015290519081900360640190fd5b60008484848460405160200180806a617070726f76654e46547360a81b815250600b01856001600160a01b031660601b8152601401846001600160a01b031660601b8152601401838051906020019060200280838360005b83811015611bae578181015183820152602001611b96565b5050505090500182815260200194505050505060405160208183030381529060405280519060200120905061142a8161206c565b60026000541415611c28576040805162461bcd60e51b815260206004820152601f60248201526000805160206122dc833981519152604482015290519081900360640190fd5b60026000556004546001600160a01b03163314611c7a576040805162461bcd60e51b81526020600482015260176024820152600080516020612368833981519152604482015290519081900360640190fd5b6040805169185c1c1c9bdd9953919560b21b6020808301919091526001600160601b0319606088811b8216602a85015287901b16603e8301526052820185905260728083018590528351808403909101815260929092019092528051910120611ce28161206c565b611ceb816120bc565b846001600160a01b031663095ea7b385856040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015611a8057600080fd5b60026000541415611d88576040805162461bcd60e51b815260206004820152601f60248201526000805160206122dc833981519152604482015290519081900360640190fd5b600260009081553381526006602052604090205460ff16611dde576040805162461bcd60e51b81526020600482015260176024820152600080516020612368833981519152604482015290519081900360640190fd5b604080516739b2ba20b236b4b760c11b6020808301919091526001600160601b0319606087811b8216602885015286901b16603c83015260508083018590528351808403909101815260709092019092528051910120611e3d8161206c565b33600090815260086020908152604080832084845290915290205460ff1615611eac576040805162461bcd60e51b815260206004820152601c60248201527b151bdad95b93585b9859d95c8e88185b1c9958591e481cda59db995960221b604482015290519081900360640190fd5b336000908152600860209081526040808320848452825291829020805460ff19166001179055815183815290810184905281516000805160206123aa833981519152929181900390910190a1505060016000555050565b60026000541415611f49576040805162461bcd60e51b815260206004820152601f60248201526000805160206122dc833981519152604482015290519081900360640190fd5b600260009081553381526006602052604090205460ff16611f9f576040805162461bcd60e51b81526020600482015260176024820152600080516020612368833981519152604482015290519081900360640190fd5b6040805166617070726f766560c81b6020808301919091526001600160601b0319606088811b8216602785015287901b16603b830152604f8201859052606f80830185905283518084039091018152608f909201909252805191012061142a8161206c565b6004546001600160a01b031681565b600082815260076020908152604091829020805460ff19166001179055815184815290810183905281517f64df01c46eb530dc540770a0b88cc32f0b8c2b371a546ae0b13cc8ca6671fff9929181900390910190a15050565b60008181526007602052604090205460ff166120b95760405162461bcd60e51b81526004018080602001828103825260228152602001806123886022913960400191505060405180910390fd5b50565b6000805b600554811015612120576000600582815481106120d957fe5b60009182526020808320909101546001600160a01b031680835260088252604080842088855290925291205490915060ff1615612117576001909201915b506001016120c0565b508061215d5760405162461bcd60e51b81526004018080602001828103825260238152602001806123456023913960400191505060405180910390fd5b6003548110156113185760405162461bcd60e51b815260040180806020018281038252602881526020018061231d6028913960400191505060405180910390fd5b60008281526007602052604090205460ff16612201576040805162461bcd60e51b815260206004820152601d60248201527f546f6b656e4d616e616765723a20696e76616c6964205f616374696f6e000000604482015290519081900360640190fd5b600082815260076020908152604091829020805460ff19169055815184815290810183905281517ff4640d39061e643d9b802cb3725953405344555ad6dbb1cbdb0495f3eccb8e68929181900390910190a15050565b8280548282559060005260206000209081019282156122ac579160200282015b828111156122ac57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190612277565b506122b89291506122bc565b5090565b5b808211156122b85780546001600160a01b03191681556001016122bd56fe5265656e7472616e637947756172643a207265656e7472616e742063616c6c00546f6b656e4d616e616765723a20616c726561647920696e697469616c697a6564546f6b656e4d616e616765723a20696e73756666696369656e7420617574686f72697a6174696f6e546f6b656e4d616e616765723a20616374696f6e206e6f7420617574686f72697a6564546f6b656e4d616e616765723a20666f7262696464656e000000000000000000546f6b656e4d616e616765723a20616374696f6e206e6f74207369676e616c6c6564aae28fe5531fe5dfb8d12409392ec67b50c825dd06233312cb6aeaddd16cbd22a264697066735822122081240a24530782c1cbad97996a80236fba6de548bd1058695aee137ae3d745da64736f6c634300060c00330000000000000000000000000000000000000000000000000000000000000001

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

0000000000000000000000000000000000000000000000000000000000000001

-----Decoded View---------------
Arg [0] : _minAuthorizations (uint256): 1

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000001


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.