ETH Price: $3,276.45 (+0.93%)
Gas: 6 Gwei

Contract

0xf79b16A0C633E29112605E76539f33b97b127ECA
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw203449032024-07-20 2:57:357 days ago1721444255IN
0xf79b16A0...97b127ECA
0 ETH0.000477554.73448037
Withdraw203372952024-07-19 1:29:238 days ago1721352563IN
0xf79b16A0...97b127ECA
0 ETH0.000944639.36511566
Withdraw203232672024-07-17 2:30:1110 days ago1721183411IN
0xf79b16A0...97b127ECA
0 ETH0.000847848.40558815
Withdraw202845892024-07-11 16:54:2315 days ago1720716863IN
0xf79b16A0...97b127ECA
0 ETH0.001063810.55119109
Withdraw201629752024-06-24 17:16:1132 days ago1719249371IN
0xf79b16A0...97b127ECA
0 ETH0.0020484320.31234545
Withdraw201310902024-06-20 6:15:4737 days ago1718864147IN
0xf79b16A0...97b127ECA
0 ETH0.0012323212.22266308
Withdraw201249582024-06-19 9:41:5938 days ago1718790119IN
0xf79b16A0...97b127ECA
0 ETH0.000642396.36793183
Withdraw201167322024-06-18 6:01:5939 days ago1718690519IN
0xf79b16A0...97b127ECA
0 ETH0.000812468.05734669
Withdraw200374942024-06-07 4:14:4750 days ago1717733687IN
0xf79b16A0...97b127ECA
0 ETH0.000979489.70836704
Withdraw199858752024-05-30 23:16:3557 days ago1717110995IN
0xf79b16A0...97b127ECA
0 ETH0.000982459.7420063
Withdraw199844502024-05-30 18:29:3557 days ago1717093775IN
0xf79b16A0...97b127ECA
0 ETH0.00232923.08711983
Withdraw199449562024-05-25 5:59:3563 days ago1716616775IN
0xf79b16A0...97b127ECA
0 ETH0.000616536.1115931
Withdraw198566072024-05-12 21:25:2375 days ago1715549123IN
0xf79b16A0...97b127ECA
0 ETH0.000637326.32042487
Deposit198085312024-05-06 4:02:1182 days ago1714968131IN
0xf79b16A0...97b127ECA
0 ETH0.000332626.7053507
Withdraw198001032024-05-04 23:44:4783 days ago1714866287IN
0xf79b16A0...97b127ECA
0 ETH0.000659626.53796037
Deposit197913292024-05-03 18:18:4784 days ago1714760327IN
0xf79b16A0...97b127ECA
0 ETH0.000405658.17751291
Deposit197844312024-05-02 19:09:4785 days ago1714676987IN
0xf79b16A0...97b127ECA
0 ETH0.000442188.91612062
Deposit197840562024-05-02 17:53:5985 days ago1714672439IN
0xf79b16A0...97b127ECA
0 ETH0.0007204613.24816444
Withdraw197426572024-04-26 23:00:1191 days ago1714172411IN
0xf79b16A0...97b127ECA
0 ETH0.000791217.84504808
Withdraw197280842024-04-24 22:03:2393 days ago1713996203IN
0xf79b16A0...97b127ECA
0 ETH0.0015915315.78171712
Withdraw195281092024-03-27 21:07:59121 days ago1711573679IN
0xf79b16A0...97b127ECA
0 ETH0.0041056149.0122626
Withdraw195280772024-03-27 21:00:59121 days ago1711573259IN
0xf79b16A0...97b127ECA
0 ETH0.0049147548.71929956
Withdraw195260862024-03-27 13:56:35122 days ago1711547795IN
0xf79b16A0...97b127ECA
0 ETH0.005037649.95893385
Withdraw195213472024-03-26 21:44:35122 days ago1711489475IN
0xf79b16A0...97b127ECA
0 ETH0.0041393841.05104626
Withdraw195211762024-03-26 21:09:59122 days ago1711487399IN
0xf79b16A0...97b127ECA
0 ETH0.0035343942.18708359
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:
MatterTransfer

Compiler Version
v0.5.12+commit.7709ece9

Optimization Enabled:
Yes with 9999 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-11-24
*/

pragma solidity >=0.4.24 <0.7.0;


/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN 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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

/**
 * @title Roles
 * @dev Library for managing addresses assigned to a Role.
 */
library Roles {
    struct Role {
        mapping (address => bool) bearer;
    }

    /**
     * @dev Give an account access to this role.
     */
    function add(Role storage role, address account) internal {
        require(!has(role, account), "Roles: account already has role");
        role.bearer[account] = true;
    }

    /**
     * @dev Remove an account's access to this role.
     */
    function remove(Role storage role, address account) internal {
        require(has(role, account), "Roles: account does not have role");
        role.bearer[account] = false;
    }

    /**
     * @dev Check if an account has this role.
     * @return bool
     */
    function has(Role storage role, address account) internal view returns (bool) {
        require(account != address(0), "Roles: account is the zero address");
        return role.bearer[account];
    }
}

contract PauserRole is Context {
    using Roles for Roles.Role;

    event PauserAdded(address indexed account);
    event PauserRemoved(address indexed account);

    Roles.Role private _pausers;

    constructor () internal {
        _addPauser(_msgSender());
    }

    modifier onlyPauser() {
        require(isPauser(_msgSender()), "PauserRole: caller does not have the Pauser role");
        _;
    }

    function isPauser(address account) public view returns (bool) {
        return _pausers.has(account);
    }

    function addPauser(address account) public onlyPauser {
        _addPauser(account);
    }

    function renouncePauser() public {
        _removePauser(_msgSender());
    }

    function _addPauser(address account) internal {
        _pausers.add(account);
        emit PauserAdded(account);
    }

    function _removePauser(address account) internal {
        _pausers.remove(account);
        emit PauserRemoved(account);
    }
}

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
contract Pausable is Context, PauserRole {
    /**
     * @dev Emitted when the pause is triggered by a pauser (`account`).
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by a pauser (`account`).
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state. Assigns the Pauser role
     * to the deployer.
     */
    constructor () internal {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view returns (bool) {
        return _paused;
    }

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

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

    /**
     * @dev Called by a pauser to pause, triggers stopped state.
     */
    function pause() public onlyPauser whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Called by a pauser to unpause, returns to normal state.
     */
    function unpause() public onlyPauser whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

/**
 * @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].
 *
 * _Since v2.5.0:_ this module is now much more gas efficient, given net gas
 * metering changes introduced in the Istanbul hardfork.
 */
contract ReentrancyGuard {
    bool private _notEntered;

    constructor () internal {
        // Storing an initial 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 percetange 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.
        _notEntered = true;
    }

    /**
     * @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(_notEntered, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _notEntered = false;

        _;

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

/**
 * @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.
     *
     * _Available since v2.4.0._
     */
    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.
     *
     * _Available since v2.4.0._
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        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.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
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);
}

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Converts an `address` into `address payable`. Note that this is
     * simply a type cast: the actual underlying value is not changed.
     *
     * _Available since v2.4.0._
     */
    function toPayable(address account) internal pure returns (address payable) {
        return address(uint160(account));
    }

    /**
     * @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].
     *
     * _Available since v2.4.0._
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-call-value
        (bool success, ) = recipient.call.value(amount)("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }
}

/**
 * @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 ERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    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));
    }

    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'
        // solhint-disable-next-line max-line-length
        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).add(value);
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @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.

        // A Solidity high level call has three parts:
        //  1. The target address is checked to verify it contains contract code
        //  2. The call itself is made, and success asserted
        //  3. The return value is decoded, which in turn checks the size of the returned data.
        // solhint-disable-next-line max-line-length
        require(address(token).isContract(), "SafeERC20: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "SafeERC20: low-level call failed");

        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
	/**
	 * @dev Returns the address that signed a hashed message (`hash`) with
	 * `signature`. This address can then be used for verification purposes.
	 *
	 * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
	 * this function rejects them by requiring the `s` value to be in the lower
	 * half order, and the `v` value to be either 27 or 28.
	 *
	 * NOTE: This call _does not revert_ if the signature is invalid, or
	 * if the signer is otherwise unable to be retrieved. In those scenarios,
	 * the zero address is returned.
	 *
	 * IMPORTANT: `hash` _must_ be the result of a hash operation for the
	 * verification to be secure: it is possible to craft signatures that
	 * recover to arbitrary addresses for non-hashed data. A safe way to ensure
	 * this is by receiving a hash of the original message (which may otherwise
	 * be too long), and then calling {toEthSignedMessageHash} on it.
	 */
	function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
		// Check the signature length
		if (signature.length != 65) {
			return (address(0));
		}

		// Divide the signature in r, s and v variables
		bytes32 r;
		bytes32 s;
		uint8 v;

		// ecrecover takes the signature parameters, and the only way to get them
		// currently is to use assembly.
		// solhint-disable-next-line no-inline-assembly
		assembly {
			r := mload(add(signature, 0x20))
			s := mload(add(signature, 0x40))
			v := byte(0, mload(add(signature, 0x60)))
		}

		// EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
		// unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
		// the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most
		// signatures from current libraries generate a unique signature with an s-value in the lower half order.
		//
		// If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
		// with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
		// vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
		// these malleable signatures as well.
		if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
			return address(0);
		}

		v = v + 27;
		if (v != 27 && v != 28) {
			return address(0);
		}

		// If the signature is valid (and not malleable), return the signer address
		return ecrecover(hash, v, r, s);
	}

	/**
	 * @dev Returns an Ethereum Signed Message, created from a `hash`. This
	 * replicates the behavior of the
	 * https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_sign[`eth_sign`]
	 * JSON-RPC method.
	 *
	 * See {recover}.
	 */
	function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
		// 32 is the length in bytes of hash,
		// enforced by the type signature above
		return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
	}
}

contract MatterTransfer is Pausable, ReentrancyGuard {
	using ECDSA for bytes32;
	using SafeMath for uint256;
	using SafeERC20 for IERC20;

	IERC20 public mtrToken;
	uint256 private _totalSupply;
	uint256 private _totalWithdrawn;
	address public withdrawSigner;
	address public denMultiSig;

	mapping(uint256 => bool) usedNonces;

	event Deposit(address indexed user, uint256 amount);
	event Withdrawn(address indexed user, uint256 nonce, uint256 amount);

	constructor(address _withdrawSigner, address _mtrToken) public {
		mtrToken = IERC20(_mtrToken);
		withdrawSigner = _withdrawSigner;
		denMultiSig = msg.sender;
	}

	modifier onlyDenMultiSig {
		require(msg.sender == denMultiSig, "not owner");
		_;
	}

	function totalWithdrawn() public view returns (uint256) {
		return _totalWithdrawn;
	}

	function totalSupply() public view returns (uint256) {
		return _totalSupply;
	}

	function withdraw(
		uint256 amount,
		uint256 timestamp,
		uint256 nonce,
		bytes memory sig
	) public nonReentrant whenNotPaused() {
		require(!usedNonces[nonce], "duplicate transaction found, start new request from Den");
		require(now < timestamp, "withdraw period expired");
		require(totalSupply() >= amount, "withdraw request exceeds balance, notify den");
		usedNonces[nonce] = true;

		// this recreates the message that was signed on the client
		bytes32 message = keccak256(abi.encodePacked(msg.sender, amount, timestamp, nonce, address(this)))
			.toEthSignedMessageHash();
		require(message.recover(sig) == withdrawSigner, "request not signed by den");

		_totalSupply = _totalSupply.sub(amount);
		_totalWithdrawn = _totalWithdrawn.add(amount);
		mtrToken.safeTransfer(msg.sender, amount);

		emit Withdrawn(msg.sender, nonce, amount);
	}

	function setWithdrawSigner(address account) public onlyDenMultiSig {
		withdrawSigner = account;
	}

	function deposit(uint256 amount) public whenNotPaused() {
		_totalSupply = _totalSupply.add(amount);
		mtrToken.safeTransferFrom(msg.sender, address(this), amount);

		emit Deposit(msg.sender, amount);
	}

	function kill() public onlyDenMultiSig {
		pause();
		uint256 amount = totalSupply();

		_totalSupply = _totalSupply.sub(amount);
		_totalWithdrawn = _totalWithdrawn.add(amount);
		mtrToken.safeTransfer(denMultiSig, amount);

		emit Withdrawn(denMultiSig, 0, amount);
	}

	function changeMultiSig(address _denMultiSig) external onlyDenMultiSig {
		denMultiSig = _denMultiSig;
	}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_withdrawSigner","type":"address"},{"internalType":"address","name":"_mtrToken","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"PauserAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"PauserRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"nonce","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addPauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_denMultiSig","type":"address"}],"name":"changeMultiSig","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"denMultiSig","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isPauser","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"kill","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"mtrToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renouncePauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"setWithdrawSigner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalWithdrawn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"sig","type":"bytes"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"withdrawSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b50604051620018dd380380620018dd833981810160405260408110156200003757600080fd5b50805160209091015162000066620000576001600160e01b03620000bf16565b6001600160e01b03620000c316565b600180546001600160a01b03928316620100000262010000600160b01b031961ffff19909216610100179190911617905560048054929091166001600160a01b031992831617905560058054909116331790556200023f565b3390565b620000de8160006200011560201b6200146d1790919060201c565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b6200012a82826001600160e01b03620001bc16565b156200019757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b60006001600160a01b0382166200021f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180620018bb6022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b61166c806200024f6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80635c975abb116100975780638456cb59116100665780638456cb5914610262578063b6b55f251461026a578063b6d6000914610287578063fe55892d1461028f57610100565b80635c975abb146101ec5780636ef8d66d146101f45780637ccbfe7c146101fc57806382dc1ec41461022f57610100565b806341c0e1b5116100d357806341c0e1b51461018d57806346fbf68e146101955780634b319713146101dc5780634f8c3b36146101e457610100565b806316b2b3ee1461010557806318160ddd146101365780632902a0ca146101505780633f4ba83a14610185575b600080fd5b61010d610348565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61013e61036a565b60408051918252519081900360200190f35b6101836004803603602081101561016657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610370565b005b610183610423565b610183610522565b6101c8600480360360208110156101ab57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661065a565b604080519115158252519081900360200190f35b61013e610672565b61010d610678565b6101c8610694565b61018361069d565b6101836004803603602081101561021257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166106af565b6101836004803603602081101561024557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610762565b6101836107b4565b6101836004803603602081101561028057600080fd5b5035610887565b61010d610959565b610183600480360360808110156102a557600080fd5b813591602081013591604082013591908101906080810160608201356401000000008111156102d357600080fd5b8201836020820111156102e557600080fd5b8035906020019184600183028401116401000000008311171561030757600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610975945050505050565b60015462010000900473ffffffffffffffffffffffffffffffffffffffff1681565b60025490565b60055473ffffffffffffffffffffffffffffffffffffffff1633146103dc576040805162461bcd60e51b815260206004820152600960248201527f6e6f74206f776e65720000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600580547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b61043361042e610cf4565b61065a565b61046e5760405162461bcd60e51b81526004018080602001828103825260308152602001806115386030913960400191505060405180910390fd5b60015460ff166104c5576040805162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015290519081900360640190fd5b6001805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6104f8610cf4565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190a1565b60055473ffffffffffffffffffffffffffffffffffffffff16331461058e576040805162461bcd60e51b815260206004820152600960248201527f6e6f74206f776e65720000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6105966107b4565b60006105a061036a565b6002549091506105b6908263ffffffff610cf816565b6002556003546105cc908263ffffffff610d4116565b6003556005546001546105ff9173ffffffffffffffffffffffffffffffffffffffff620100009092048216911683610d9b565b600554604080516000815260208101849052815173ffffffffffffffffffffffffffffffffffffffff909316927f92ccf450a286a957af52509bc1c9939d1a6a481783e142e41e2499f0bb66ebc6929181900390910190a250565b600061066c818363ffffffff610e2d16565b92915050565b60035490565b60045473ffffffffffffffffffffffffffffffffffffffff1681565b60015460ff1690565b6106ad6106a8610cf4565b610eae565b565b60055473ffffffffffffffffffffffffffffffffffffffff16331461071b576040805162461bcd60e51b815260206004820152600960248201527f6e6f74206f776e65720000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b61076d61042e610cf4565b6107a85760405162461bcd60e51b81526004018080602001828103825260308152602001806115386030913960400191505060405180910390fd5b6107b181610f03565b50565b6107bf61042e610cf4565b6107fa5760405162461bcd60e51b81526004018080602001828103825260308152602001806115386030913960400191505060405180910390fd5b60015460ff1615610852576040805162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b6001805460ff1916811790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586104f8610cf4565b60015460ff16156108df576040805162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b6002546108f2908263ffffffff610d4116565b6002556001546109209062010000900473ffffffffffffffffffffffffffffffffffffffff16333084610f58565b60408051828152905133917fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c919081900360200190a250565b60055473ffffffffffffffffffffffffffffffffffffffff1681565b600154610100900460ff166109d1576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff811690915560ff1615610a50576040805162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b60008281526006602052604090205460ff1615610a9e5760405162461bcd60e51b81526004018080602001828103825260378152602001806115686037913960400191505060405180910390fd5b824210610af2576040805162461bcd60e51b815260206004820152601760248201527f776974686472617720706572696f642065787069726564000000000000000000604482015290519081900360640190fd5b83610afb61036a565b1015610b385760405162461bcd60e51b815260040180806020018281038252602c8152602001806115c0602c913960400191505060405180910390fd5b6000828152600660209081526040808320805460ff19166001179055805133606090811b8285015260348201899052605482018890526074820187905230901b60948201528151608881830301815260a89091019091528051910120610b9d90610ff3565b60045490915073ffffffffffffffffffffffffffffffffffffffff16610bc9828463ffffffff61104416565b73ffffffffffffffffffffffffffffffffffffffff1614610c31576040805162461bcd60e51b815260206004820152601960248201527f72657175657374206e6f74207369676e65642062792064656e00000000000000604482015290519081900360640190fd5b600254610c44908663ffffffff610cf816565b600255600354610c5a908663ffffffff610d4116565b600355600154610c879062010000900473ffffffffffffffffffffffffffffffffffffffff163387610d9b565b6040805184815260208101879052815133927f92ccf450a286a957af52509bc1c9939d1a6a481783e142e41e2499f0bb66ebc6928290030190a25050600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100179055505050565b3390565b6000610d3a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611172565b9392505050565b600082820183811015610d3a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610e28908490611209565b505050565b600073ffffffffffffffffffffffffffffffffffffffff8216610e815760405162461bcd60e51b81526004018080602001828103825260228152602001806115ec6022913960400191505060405180910390fd5b5073ffffffffffffffffffffffffffffffffffffffff166000908152602091909152604090205460ff1690565b610ebf60008263ffffffff6113f916565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b610f1460008263ffffffff61146d16565b60405173ffffffffffffffffffffffffffffffffffffffff8216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052610fed908590611209565b50505050565b604080517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602080830191909152603c8083019490945282518083039094018452605c909101909152815191012090565b600081516041146110575750600061066c565b60208201516040830151606084015160001a7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a082111561109d576000935050505061066c565b601b9081019060ff8216148015906110b957508060ff16601c14155b156110ca576000935050505061066c565b6040805160008152602080820180845289905260ff8416828401526060820186905260808201859052915160019260a08084019391927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081019281900390910190855afa15801561113f573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b600081848411156112015760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156111c65781810151838201526020016111ae565b50505050905090810190601f1680156111f35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6112288273ffffffffffffffffffffffffffffffffffffffff166114fb565b611279576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b602083106112e257805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016112a5565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611344576040519150601f19603f3d011682016040523d82523d6000602084013e611349565b606091505b5091509150816113a0576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115610fed578080602001905160208110156113bc57600080fd5b5051610fed5760405162461bcd60e51b815260040180806020018281038252602a81526020018061160e602a913960400191505060405180910390fd5b6114038282610e2d565b61143e5760405162461bcd60e51b815260040180806020018281038252602181526020018061159f6021913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff16600090815260209190915260409020805460ff19169055565b6114778282610e2d565b156114c9576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff16600090815260209190915260409020805460ff19166001179055565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061152f57508115155b94935050505056fe506175736572526f6c653a2063616c6c657220646f6573206e6f742068617665207468652050617573657220726f6c656475706c6963617465207472616e73616374696f6e20666f756e642c207374617274206e657720726571756573742066726f6d2044656e526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c657769746864726177207265717565737420657863656564732062616c616e63652c206e6f746966792064656e526f6c65733a206163636f756e7420697320746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820561f6fd93791ccc04fa135c86af3caa731cac8d938c3fa06bf82f1c47896c34864736f6c634300050c0032526f6c65733a206163636f756e7420697320746865207a65726f2061646472657373000000000000000000000000e346699cf27e7fd6d9faca1f878319a39bd40940000000000000000000000000aa6c7d24d03769370e1c31f7c4edf3ebe10b7cf7

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101005760003560e01c80635c975abb116100975780638456cb59116100665780638456cb5914610262578063b6b55f251461026a578063b6d6000914610287578063fe55892d1461028f57610100565b80635c975abb146101ec5780636ef8d66d146101f45780637ccbfe7c146101fc57806382dc1ec41461022f57610100565b806341c0e1b5116100d357806341c0e1b51461018d57806346fbf68e146101955780634b319713146101dc5780634f8c3b36146101e457610100565b806316b2b3ee1461010557806318160ddd146101365780632902a0ca146101505780633f4ba83a14610185575b600080fd5b61010d610348565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61013e61036a565b60408051918252519081900360200190f35b6101836004803603602081101561016657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610370565b005b610183610423565b610183610522565b6101c8600480360360208110156101ab57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661065a565b604080519115158252519081900360200190f35b61013e610672565b61010d610678565b6101c8610694565b61018361069d565b6101836004803603602081101561021257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166106af565b6101836004803603602081101561024557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610762565b6101836107b4565b6101836004803603602081101561028057600080fd5b5035610887565b61010d610959565b610183600480360360808110156102a557600080fd5b813591602081013591604082013591908101906080810160608201356401000000008111156102d357600080fd5b8201836020820111156102e557600080fd5b8035906020019184600183028401116401000000008311171561030757600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610975945050505050565b60015462010000900473ffffffffffffffffffffffffffffffffffffffff1681565b60025490565b60055473ffffffffffffffffffffffffffffffffffffffff1633146103dc576040805162461bcd60e51b815260206004820152600960248201527f6e6f74206f776e65720000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600580547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b61043361042e610cf4565b61065a565b61046e5760405162461bcd60e51b81526004018080602001828103825260308152602001806115386030913960400191505060405180910390fd5b60015460ff166104c5576040805162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015290519081900360640190fd5b6001805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6104f8610cf4565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190a1565b60055473ffffffffffffffffffffffffffffffffffffffff16331461058e576040805162461bcd60e51b815260206004820152600960248201527f6e6f74206f776e65720000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6105966107b4565b60006105a061036a565b6002549091506105b6908263ffffffff610cf816565b6002556003546105cc908263ffffffff610d4116565b6003556005546001546105ff9173ffffffffffffffffffffffffffffffffffffffff620100009092048216911683610d9b565b600554604080516000815260208101849052815173ffffffffffffffffffffffffffffffffffffffff909316927f92ccf450a286a957af52509bc1c9939d1a6a481783e142e41e2499f0bb66ebc6929181900390910190a250565b600061066c818363ffffffff610e2d16565b92915050565b60035490565b60045473ffffffffffffffffffffffffffffffffffffffff1681565b60015460ff1690565b6106ad6106a8610cf4565b610eae565b565b60055473ffffffffffffffffffffffffffffffffffffffff16331461071b576040805162461bcd60e51b815260206004820152600960248201527f6e6f74206f776e65720000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b61076d61042e610cf4565b6107a85760405162461bcd60e51b81526004018080602001828103825260308152602001806115386030913960400191505060405180910390fd5b6107b181610f03565b50565b6107bf61042e610cf4565b6107fa5760405162461bcd60e51b81526004018080602001828103825260308152602001806115386030913960400191505060405180910390fd5b60015460ff1615610852576040805162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b6001805460ff1916811790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586104f8610cf4565b60015460ff16156108df576040805162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b6002546108f2908263ffffffff610d4116565b6002556001546109209062010000900473ffffffffffffffffffffffffffffffffffffffff16333084610f58565b60408051828152905133917fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c919081900360200190a250565b60055473ffffffffffffffffffffffffffffffffffffffff1681565b600154610100900460ff166109d1576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff811690915560ff1615610a50576040805162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b60008281526006602052604090205460ff1615610a9e5760405162461bcd60e51b81526004018080602001828103825260378152602001806115686037913960400191505060405180910390fd5b824210610af2576040805162461bcd60e51b815260206004820152601760248201527f776974686472617720706572696f642065787069726564000000000000000000604482015290519081900360640190fd5b83610afb61036a565b1015610b385760405162461bcd60e51b815260040180806020018281038252602c8152602001806115c0602c913960400191505060405180910390fd5b6000828152600660209081526040808320805460ff19166001179055805133606090811b8285015260348201899052605482018890526074820187905230901b60948201528151608881830301815260a89091019091528051910120610b9d90610ff3565b60045490915073ffffffffffffffffffffffffffffffffffffffff16610bc9828463ffffffff61104416565b73ffffffffffffffffffffffffffffffffffffffff1614610c31576040805162461bcd60e51b815260206004820152601960248201527f72657175657374206e6f74207369676e65642062792064656e00000000000000604482015290519081900360640190fd5b600254610c44908663ffffffff610cf816565b600255600354610c5a908663ffffffff610d4116565b600355600154610c879062010000900473ffffffffffffffffffffffffffffffffffffffff163387610d9b565b6040805184815260208101879052815133927f92ccf450a286a957af52509bc1c9939d1a6a481783e142e41e2499f0bb66ebc6928290030190a25050600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100179055505050565b3390565b6000610d3a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611172565b9392505050565b600082820183811015610d3a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610e28908490611209565b505050565b600073ffffffffffffffffffffffffffffffffffffffff8216610e815760405162461bcd60e51b81526004018080602001828103825260228152602001806115ec6022913960400191505060405180910390fd5b5073ffffffffffffffffffffffffffffffffffffffff166000908152602091909152604090205460ff1690565b610ebf60008263ffffffff6113f916565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b610f1460008263ffffffff61146d16565b60405173ffffffffffffffffffffffffffffffffffffffff8216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052610fed908590611209565b50505050565b604080517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602080830191909152603c8083019490945282518083039094018452605c909101909152815191012090565b600081516041146110575750600061066c565b60208201516040830151606084015160001a7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a082111561109d576000935050505061066c565b601b9081019060ff8216148015906110b957508060ff16601c14155b156110ca576000935050505061066c565b6040805160008152602080820180845289905260ff8416828401526060820186905260808201859052915160019260a08084019391927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081019281900390910190855afa15801561113f573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b600081848411156112015760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156111c65781810151838201526020016111ae565b50505050905090810190601f1680156111f35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6112288273ffffffffffffffffffffffffffffffffffffffff166114fb565b611279576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b602083106112e257805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016112a5565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611344576040519150601f19603f3d011682016040523d82523d6000602084013e611349565b606091505b5091509150816113a0576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115610fed578080602001905160208110156113bc57600080fd5b5051610fed5760405162461bcd60e51b815260040180806020018281038252602a81526020018061160e602a913960400191505060405180910390fd5b6114038282610e2d565b61143e5760405162461bcd60e51b815260040180806020018281038252602181526020018061159f6021913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff16600090815260209190915260409020805460ff19169055565b6114778282610e2d565b156114c9576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff16600090815260209190915260409020805460ff19166001179055565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061152f57508115155b94935050505056fe506175736572526f6c653a2063616c6c657220646f6573206e6f742068617665207468652050617573657220726f6c656475706c6963617465207472616e73616374696f6e20666f756e642c207374617274206e657720726571756573742066726f6d2044656e526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c657769746864726177207265717565737420657863656564732062616c616e63652c206e6f746966792064656e526f6c65733a206163636f756e7420697320746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820561f6fd93791ccc04fa135c86af3caa731cac8d938c3fa06bf82f1c47896c34864736f6c634300050c0032

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

000000000000000000000000e346699cf27e7fd6d9faca1f878319a39bd40940000000000000000000000000aa6c7d24d03769370e1c31f7c4edf3ebe10b7cf7

-----Decoded View---------------
Arg [0] : _withdrawSigner (address): 0xe346699CF27e7fD6d9faCA1f878319A39Bd40940
Arg [1] : _mtrToken (address): 0xaa6c7D24d03769370e1c31f7c4edF3eBe10b7cF7

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000e346699cf27e7fd6d9faca1f878319a39bd40940
Arg [1] : 000000000000000000000000aa6c7d24d03769370e1c31f7c4edf3ebe10b7cf7


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.