FRAX Price: $1.04 (+7.60%)

Contract

0x5bdB1733A7660c4D64e95d7064e5334c5Fbc3f99

Overview

FRAX Balance | FXTL Balance

0 FRAX | 587 FXTL

FRAX Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Deposit306197932026-01-10 13:04:5714 days ago1768050297IN
0x5bdB1733...c5Fbc3f99
0 FRAX0.000002880.00010025
Deposit268322832025-10-14 20:54:37101 days ago1760475277IN
0x5bdB1733...c5Fbc3f99
0 FRAX0.000019610.00010028
Deposit262910682025-10-02 8:14:07114 days ago1759392847IN
0x5bdB1733...c5Fbc3f99
0 FRAX0.000023320.00000027
Deposit246971012025-08-26 10:41:53151 days ago1756204913IN
0x5bdB1733...c5Fbc3f99
0 FRAX0.000027030.001
Deposit243463712025-08-18 7:50:53159 days ago1755503453IN
0x5bdB1733...c5Fbc3f99
0 FRAX0.000024950.00010025
Deposit242353252025-08-15 18:09:21162 days ago1755281361IN
0x5bdB1733...c5Fbc3f99
0 FRAX0.000052850.001
Deposit229932142025-07-18 0:05:39190 days ago1752797139IN
0x5bdB1733...c5Fbc3f99
0 FRAX0.000241650.00110025
Deposit210743442025-06-03 14:03:19235 days ago1748959399IN
0x5bdB1733...c5Fbc3f99
0 FRAX0.000063590.00010025
Deposit193083452025-04-23 16:56:41276 days ago1745427401IN
0x5bdB1733...c5Fbc3f99
0 FRAX0.00000030.00010025
Deposit175728202025-03-14 12:45:51316 days ago1741956351IN
0x5bdB1733...c5Fbc3f99
0 FRAX0.000000140.00010052
Deposit173926352025-03-10 8:39:41320 days ago1741595981IN
0x5bdB1733...c5Fbc3f99
0 FRAX0.000000150.0001006
Deposit168124302025-02-24 22:19:31333 days ago1740435571IN
0x5bdB1733...c5Fbc3f99
0 FRAX0.00000060.00010025
Deposit165022802025-02-17 18:01:11341 days ago1739815271IN
0x5bdB1733...c5Fbc3f99
0 FRAX0.00000050.00010025
Deposit154287832025-01-23 21:37:57365 days ago1737668277IN
0x5bdB1733...c5Fbc3f99
0 FRAX0.000002440.00110025
Deposit152422332025-01-19 13:59:37370 days ago1737295177IN
0x5bdB1733...c5Fbc3f99
0 FRAX0.000003770.00097025
Deposit140433282024-12-22 19:56:07398 days ago1734897367IN
0x5bdB1733...c5Fbc3f99
0 FRAX0.000000610.00010025
Deposit122569942024-11-11 11:31:39439 days ago1731324699IN
0x5bdB1733...c5Fbc3f99
0 FRAX0.000002750.00110025
Deposit118241322024-11-01 11:02:55449 days ago1730458975IN
0x5bdB1733...c5Fbc3f99
0 FRAX0.000000880.00010025
Deposit113174422024-10-20 17:33:15461 days ago1729445595IN
0x5bdB1733...c5Fbc3f99
0 FRAX0.000002450.00110025
Deposit106138712024-10-04 10:40:53477 days ago1728038453IN
0x5bdB1733...c5Fbc3f99
0 FRAX0.00000060.00010025
Deposit105568792024-10-03 3:01:09478 days ago1727924469IN
0x5bdB1733...c5Fbc3f99
0 FRAX0.000000690.00010025
Deposit104546622024-09-30 18:13:55481 days ago1727720035IN
0x5bdB1733...c5Fbc3f99
0 FRAX0.000002160.00010025
Deposit104359482024-09-30 7:50:07481 days ago1727682607IN
0x5bdB1733...c5Fbc3f99
0 FRAX0.000001810.00110025
Deposit104236532024-09-30 1:00:17481 days ago1727658017IN
0x5bdB1733...c5Fbc3f99
0 FRAX0.000000830.00010025
Deposit104012942024-09-29 12:34:59482 days ago1727613299IN
0x5bdB1733...c5Fbc3f99
0 FRAX0.000001940.0012
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:

Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FraxtalFxsDepositor

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
london EvmVersion
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;

import "../interfaces/IStaker.sol";
import "../interfaces/ITokenMinter.sol";
import "../interfaces/IVoterProxy.sol";
import "../interfaces/IFraxtalVoteEscrow.sol";
import "../interfaces/IERC4626.sol";
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';

/*
FxsDepositor for Fraxtal
Deposit Fxs, lock as veFxs, and mint cvxFxs
*/

contract FraxtalFxsDepositor{
    using SafeERC20 for IERC20;

    uint256 private constant MAXTIME = 4 * 365 * 86400;
    uint256 private constant WEEK = 7 * 86400;

    address public immutable staker;
    address public immutable minter;
    address public immutable fxs;
    uint256 public unlockTime;

    event Deposited(address indexed _address, uint256 _amount);
    event TimeIncreased(uint256 _end);

    constructor(address _staker, address _minter, address _fxs){
        staker = _staker;
        minter = _minter;
        fxs = _fxs;
    }

    function _currentBooster() internal view returns(address){
        return IVoterProxy(staker).operator();
    }

    //lock
    function _lockFxs() internal {
        uint256 fxsBalance = IERC20(fxs).balanceOf(address(this));
        if(fxsBalance > 0){
            IERC20(fxs).safeTransfer(staker, fxsBalance);
        }
        
        //increase ammount
        uint256 fxsBalanceStaker = IERC20(fxs).balanceOf(staker);
        if(fxsBalanceStaker == 0){
            return;
        }
        
        //increase amount
        IFraxtalVoteEscrow(_currentBooster()).increaseAmount(fxsBalanceStaker,0);
        
        //increase time
        increaseLockTime();
    }

    function increaseLockTime() public{
        uint256 unlockAt = block.timestamp + MAXTIME;
        uint256 unlockInWeeks = (unlockAt/WEEK)*WEEK;

        //increase time too if over 1 week buffer
        if( unlockInWeeks - unlockTime >= 1){
            IFraxtalVoteEscrow(_currentBooster()).increaseUnlockTime(uint128(unlockAt),0);
            unlockTime = unlockInWeeks;
            emit TimeIncreased(unlockAt);
        }
    }

    function lockFxs() external {
        _lockFxs();
    }

    //deposit fxs for cvxFxs
    function deposit(uint256 _amount, address _stakeAddress) public {
        require(_amount > 0,"!>0");
        
        //transfer and lock
        IERC20(fxs).safeTransferFrom(msg.sender, staker, _amount);
        _lockFxs();

        if(_stakeAddress == address(0)){
            //mint for msg.sender
            ITokenMinter(minter).mint(msg.sender,_amount);
        }else{
            //mint here and stake
            ITokenMinter(minter).mint(address(this),_amount);
            IERC20(minter).safeApprove(_stakeAddress, _amount);
            IERC4626(_stakeAddress).deposit(_amount, msg.sender);
        }
        emit Deposited(msg.sender, _amount);
    }

    function depositAll(address _stakeAddress) external{
        uint256 fxsBal = IERC20(fxs).balanceOf(msg.sender);
        deposit(fxsBal,_stakeAddress);
    }
}

File 2 of 10 : IVoterProxy.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;

interface IVoterProxy{
    function operator() external view returns(address);
}

// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;

interface ITokenMinter{
    function mint(address,uint256) external;
    function burn(address,uint256) external;
}

// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;

interface IStaker{
    function createLock(uint256, uint256) external returns (bool);
    function increaseAmount(uint256) external returns (bool);
    function increaseTime(uint256) external returns (bool);
    function release() external returns (bool);
    function checkpointFeeRewards(address) external;
    function claimFees(address,address,address) external returns (uint256);
    function voteGaugeWeight(address,uint256) external returns (bool);
    function operator() external view returns (address);
    function execute(address _to, uint256 _value, bytes calldata _data) external returns (bool, bytes memory);
}

// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;

interface IFraxtalVoteEscrow {
    function lockedById(address _addr, uint256 _id) external view returns (int128 _amount, uint128 _end);
    function lockedByIndex(address _addr, uint128 _index) external view returns (int128 _amount, uint128 _end);
    function lockedEnd(address _addr, uint128 _index) external view returns (uint256);
    function getLockIndexById(address _addr, uint256 _id) external view returns (uint128 _index);
    function createLock(address _addr, uint256 _value,uint128 _unlockTime) external returns (uint128 _index, uint256 _newLockId);
    function depositFor(address _addr, uint256 _value, uint128 _lockIndex) external;
    function increaseAmount(uint256 _value, uint128 _lockIndex) external;
    function increaseUnlockTime(uint128 _unlockTime, uint128 _lockIndex) external;
    function withdraw(uint128 _lockIndex) external returns (uint256 _value);
    function checkpoint() external;
}

// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;

interface IERC4626 {
    function asset() external view returns (address);
    function totalAssets() external view returns (uint256);
    function convertToShares(uint256 assets) external view returns (uint256 shares);
    function convertToAssets(uint256 shares) external view returns (uint256 assets);
    function maxDeposit(address receiver) external view returns (uint256);
    function previewDeposit(uint256 assets) external view returns (uint256);
    function deposit(uint256 assets, address receiver) external returns (uint256 shares);
    function maxMint(address receiver) external view returns (uint256);
    function previewMint(uint256 shares) external view returns (uint256);
    function mint(uint256 shares, address receiver) external returns (uint256 assets);
    function maxWithdraw(address owner) external view returns (uint256);
    function previewWithdraw(uint256 assets) external view returns (uint256);
    function withdraw(uint256 assets, address receiver, address owner) external returns (uint256 shares);
    function maxRedeem(address owner) external view returns (uint256);
    function previewRedeem(uint256 shares) external view returns (uint256);
    function redeem(uint256 shares, address receiver, address owner) external returns (uint256 assets);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://consensys.net/diligence/blog/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.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

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

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

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

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

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/IERC20Permit.sol";
import "../../../utils/Address.sol";

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

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

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

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
     * Revert on invalid signature.
     */
    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

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

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

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return
            success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 *
 * ==== Security Considerations
 *
 * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
 * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
 * considered as an intention to spend the allowance in any specific way. The second is that because permits have
 * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
 * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
 * generally recommended is:
 *
 * ```solidity
 * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
 *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
 *     doThing(..., value);
 * }
 *
 * function doThing(..., uint256 value) public {
 *     token.safeTransferFrom(msg.sender, address(this), value);
 *     ...
 * }
 * ```
 *
 * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
 * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
 * {SafeERC20-safeTransferFrom}).
 *
 * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
 * contracts should have entry points that don't rely on permit.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     *
     * CAUTION: See Security Considerations above.
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_staker","type":"address"},{"internalType":"address","name":"_minter","type":"address"},{"internalType":"address","name":"_fxs","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Deposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_end","type":"uint256"}],"name":"TimeIncreased","type":"event"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_stakeAddress","type":"address"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_stakeAddress","type":"address"}],"name":"depositAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fxs","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"increaseLockTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lockFxs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"staker","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60e060405234801561001057600080fd5b50604051610f79380380610f7983398101604081905261002f91610068565b6001600160a01b0392831660805290821660a0521660c0526100ab565b80516001600160a01b038116811461006357600080fd5b919050565b60008060006060848603121561007d57600080fd5b6100868461004c565b92506100946020850161004c565b91506100a26040850161004c565b90509250925092565b60805160a05160c051610e4d61012c60003960008181610131015281816101c001528181610519015281816105b00152818161063801526106c101526000818160920152818161023a015281816102bf015261033001526000818160f7015281816101e30152818161065a01528181610696015261093b0152610e4d6000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80636e553f651161005b5780636e553f65146101195780637d4234461461012c5780638bfb0781146101535780639f0d5f271461015b57600080fd5b8063075461721461008d578063251c1aa3146100d15780635699e780146100e85780635ebaf1db146100f2575b600080fd5b6100b47f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100da60005481565b6040519081526020016100c8565b6100f061016e565b005b6100b47f000000000000000000000000000000000000000000000000000000000000000081565b6100f0610127366004610c6a565b610178565b6100b47f000000000000000000000000000000000000000000000000000000000000000081565b6100f0610405565b6100f0610169366004610c9a565b610501565b610176610598565b565b600082116101b35760405162461bcd60e51b81526020600482015260036024820152620213e360ec1b60448201526064015b60405180910390fd5b6102086001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016337f0000000000000000000000000000000000000000000000000000000000000000856107ac565b610210610598565b6001600160a01b0381166102a3576040516340c10f1960e01b8152336004820152602481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906340c10f1990604401600060405180830381600087803b15801561028657600080fd5b505af115801561029a573d6000803e3d6000fd5b505050506103cc565b6040516340c10f1960e01b8152306004820152602481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906340c10f1990604401600060405180830381600087803b15801561030b57600080fd5b505af115801561031f573d6000803e3d6000fd5b506103599250506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169050828461081d565b604051636e553f6560e01b8152600481018390523360248201526001600160a01b03821690636e553f65906044016020604051808303816000875af11580156103a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ca9190610cbe565b505b60405182815233907f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c49060200160405180910390a25050565b6000610415630784ce0042610ced565b9050600062093a806104278184610d05565b6104319190610d27565b90506001600054826104439190610d46565b106104fd57610450610937565b604051631c27aff360e31b81526fffffffffffffffffffffffffffffffff84166004820152600060248201526001600160a01b03919091169063e13d7f9890604401600060405180830381600087803b1580156104ac57600080fd5b505af11580156104c0573d6000803e3d6000fd5b5050506000829055506040518281527f7ac4e13bc7cd3da1c2dfdd0aa5e4257ef4e38d38e3c63c04462803a5ec6db95f9060200160405180910390a15b5050565b6040516370a0823160e01b81523360048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa158015610568573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058c9190610cbe565b90506104fd8183610178565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156105ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106239190610cbe565b9050801561067f5761067f6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f0000000000000000000000000000000000000000000000000000000000000000836109c0565b6040516370a0823160e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526000917f0000000000000000000000000000000000000000000000000000000000000000909116906370a0823190602401602060405180830381865afa15801561070a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072e9190610cbe565b905080610739575050565b610741610937565b60405163929edf4560e01b815260048101839052600060248201526001600160a01b03919091169063929edf4590604401600060405180830381600087803b15801561078c57600080fd5b505af11580156107a0573d6000803e3d6000fd5b505050506104fd610405565b6040516001600160a01b03808516602483015283166044820152606481018290526108179085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526109f0565b50505050565b8015806108975750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e90604401602060405180830381865afa158015610871573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108959190610cbe565b155b6109025760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b60648201526084016101aa565b6040516001600160a01b03831660248201526044810182905261093290849063095ea7b360e01b906064016107e0565b505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663570ca7356040518163ffffffff1660e01b8152600401602060405180830381865afa158015610997573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109bb9190610d5d565b905090565b6040516001600160a01b03831660248201526044810182905261093290849063a9059cbb60e01b906064016107e0565b6000610a45826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610ac59092919063ffffffff16565b9050805160001480610a66575080806020019051810190610a669190610d7a565b6109325760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016101aa565b6060610ad48484600085610adc565b949350505050565b606082471015610b3d5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016101aa565b600080866001600160a01b03168587604051610b599190610dc8565b60006040518083038185875af1925050503d8060008114610b96576040519150601f19603f3d011682016040523d82523d6000602084013e610b9b565b606091505b5091509150610bac87838387610bb7565b979650505050505050565b60608315610c23578251610c1c576001600160a01b0385163b610c1c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101aa565b5081610ad4565b610ad48383815115610c385781518083602001fd5b8060405162461bcd60e51b81526004016101aa9190610de4565b6001600160a01b0381168114610c6757600080fd5b50565b60008060408385031215610c7d57600080fd5b823591506020830135610c8f81610c52565b809150509250929050565b600060208284031215610cac57600080fd5b8135610cb781610c52565b9392505050565b600060208284031215610cd057600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115610d0057610d00610cd7565b500190565b600082610d2257634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615610d4157610d41610cd7565b500290565b600082821015610d5857610d58610cd7565b500390565b600060208284031215610d6f57600080fd5b8151610cb781610c52565b600060208284031215610d8c57600080fd5b81518015158114610cb757600080fd5b60005b83811015610db7578181015183820152602001610d9f565b838111156108175750506000910152565b60008251610dda818460208701610d9c565b9190910192915050565b6020815260008251806020840152610e03816040850160208701610d9c565b601f01601f1916919091016040019291505056fea2646970667358221220d789eecce16f17327f8574b4a5aaa0233b08787d47f859b8b936a19d8d1557d164736f6c634300080a003300000000000000000000000059cfcd384746ec3035299d90782be065e466800b000000000000000000000000efb4b26fc242478c9008274f9e81db89fa6adab9000000000000000000000000fc00000000000000000000000000000000000002

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100885760003560e01c80636e553f651161005b5780636e553f65146101195780637d4234461461012c5780638bfb0781146101535780639f0d5f271461015b57600080fd5b8063075461721461008d578063251c1aa3146100d15780635699e780146100e85780635ebaf1db146100f2575b600080fd5b6100b47f000000000000000000000000efb4b26fc242478c9008274f9e81db89fa6adab981565b6040516001600160a01b0390911681526020015b60405180910390f35b6100da60005481565b6040519081526020016100c8565b6100f061016e565b005b6100b47f00000000000000000000000059cfcd384746ec3035299d90782be065e466800b81565b6100f0610127366004610c6a565b610178565b6100b47f000000000000000000000000fc0000000000000000000000000000000000000281565b6100f0610405565b6100f0610169366004610c9a565b610501565b610176610598565b565b600082116101b35760405162461bcd60e51b81526020600482015260036024820152620213e360ec1b60448201526064015b60405180910390fd5b6102086001600160a01b037f000000000000000000000000fc0000000000000000000000000000000000000216337f00000000000000000000000059cfcd384746ec3035299d90782be065e466800b856107ac565b610210610598565b6001600160a01b0381166102a3576040516340c10f1960e01b8152336004820152602481018390527f000000000000000000000000efb4b26fc242478c9008274f9e81db89fa6adab96001600160a01b0316906340c10f1990604401600060405180830381600087803b15801561028657600080fd5b505af115801561029a573d6000803e3d6000fd5b505050506103cc565b6040516340c10f1960e01b8152306004820152602481018390527f000000000000000000000000efb4b26fc242478c9008274f9e81db89fa6adab96001600160a01b0316906340c10f1990604401600060405180830381600087803b15801561030b57600080fd5b505af115801561031f573d6000803e3d6000fd5b506103599250506001600160a01b037f000000000000000000000000efb4b26fc242478c9008274f9e81db89fa6adab9169050828461081d565b604051636e553f6560e01b8152600481018390523360248201526001600160a01b03821690636e553f65906044016020604051808303816000875af11580156103a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ca9190610cbe565b505b60405182815233907f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c49060200160405180910390a25050565b6000610415630784ce0042610ced565b9050600062093a806104278184610d05565b6104319190610d27565b90506001600054826104439190610d46565b106104fd57610450610937565b604051631c27aff360e31b81526fffffffffffffffffffffffffffffffff84166004820152600060248201526001600160a01b03919091169063e13d7f9890604401600060405180830381600087803b1580156104ac57600080fd5b505af11580156104c0573d6000803e3d6000fd5b5050506000829055506040518281527f7ac4e13bc7cd3da1c2dfdd0aa5e4257ef4e38d38e3c63c04462803a5ec6db95f9060200160405180910390a15b5050565b6040516370a0823160e01b81523360048201526000907f000000000000000000000000fc000000000000000000000000000000000000026001600160a01b0316906370a0823190602401602060405180830381865afa158015610568573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058c9190610cbe565b90506104fd8183610178565b6040516370a0823160e01b81523060048201526000907f000000000000000000000000fc000000000000000000000000000000000000026001600160a01b0316906370a0823190602401602060405180830381865afa1580156105ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106239190610cbe565b9050801561067f5761067f6001600160a01b037f000000000000000000000000fc00000000000000000000000000000000000002167f00000000000000000000000059cfcd384746ec3035299d90782be065e466800b836109c0565b6040516370a0823160e01b81526001600160a01b037f00000000000000000000000059cfcd384746ec3035299d90782be065e466800b811660048301526000917f000000000000000000000000fc00000000000000000000000000000000000002909116906370a0823190602401602060405180830381865afa15801561070a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072e9190610cbe565b905080610739575050565b610741610937565b60405163929edf4560e01b815260048101839052600060248201526001600160a01b03919091169063929edf4590604401600060405180830381600087803b15801561078c57600080fd5b505af11580156107a0573d6000803e3d6000fd5b505050506104fd610405565b6040516001600160a01b03808516602483015283166044820152606481018290526108179085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526109f0565b50505050565b8015806108975750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e90604401602060405180830381865afa158015610871573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108959190610cbe565b155b6109025760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b60648201526084016101aa565b6040516001600160a01b03831660248201526044810182905261093290849063095ea7b360e01b906064016107e0565b505050565b60007f00000000000000000000000059cfcd384746ec3035299d90782be065e466800b6001600160a01b031663570ca7356040518163ffffffff1660e01b8152600401602060405180830381865afa158015610997573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109bb9190610d5d565b905090565b6040516001600160a01b03831660248201526044810182905261093290849063a9059cbb60e01b906064016107e0565b6000610a45826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610ac59092919063ffffffff16565b9050805160001480610a66575080806020019051810190610a669190610d7a565b6109325760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016101aa565b6060610ad48484600085610adc565b949350505050565b606082471015610b3d5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016101aa565b600080866001600160a01b03168587604051610b599190610dc8565b60006040518083038185875af1925050503d8060008114610b96576040519150601f19603f3d011682016040523d82523d6000602084013e610b9b565b606091505b5091509150610bac87838387610bb7565b979650505050505050565b60608315610c23578251610c1c576001600160a01b0385163b610c1c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101aa565b5081610ad4565b610ad48383815115610c385781518083602001fd5b8060405162461bcd60e51b81526004016101aa9190610de4565b6001600160a01b0381168114610c6757600080fd5b50565b60008060408385031215610c7d57600080fd5b823591506020830135610c8f81610c52565b809150509250929050565b600060208284031215610cac57600080fd5b8135610cb781610c52565b9392505050565b600060208284031215610cd057600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115610d0057610d00610cd7565b500190565b600082610d2257634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615610d4157610d41610cd7565b500290565b600082821015610d5857610d58610cd7565b500390565b600060208284031215610d6f57600080fd5b8151610cb781610c52565b600060208284031215610d8c57600080fd5b81518015158114610cb757600080fd5b60005b83811015610db7578181015183820152602001610d9f565b838111156108175750506000910152565b60008251610dda818460208701610d9c565b9190910192915050565b6020815260008251806020840152610e03816040850160208701610d9c565b601f01601f1916919091016040019291505056fea2646970667358221220d789eecce16f17327f8574b4a5aaa0233b08787d47f859b8b936a19d8d1557d164736f6c634300080a0033

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

00000000000000000000000059cfcd384746ec3035299d90782be065e466800b000000000000000000000000efb4b26fc242478c9008274f9e81db89fa6adab9000000000000000000000000fc00000000000000000000000000000000000002

-----Decoded View---------------
Arg [0] : _staker (address): 0x59CFCD384746ec3035299D90782Be065e466800B
Arg [1] : _minter (address): 0xEFb4B26FC242478c9008274F9e81db89Fa6adAB9
Arg [2] : _fxs (address): 0xFc00000000000000000000000000000000000002

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000059cfcd384746ec3035299d90782be065e466800b
Arg [1] : 000000000000000000000000efb4b26fc242478c9008274f9e81db89fa6adab9
Arg [2] : 000000000000000000000000fc00000000000000000000000000000000000002


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
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.