ETH Price: $3,077.30 (-4.10%)
Gas: 7 Gwei

Contract

0x4d9629e80118082B939e3D59E69c82A2ec08b4d5
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Redeem201921272024-06-28 18:58:476 days ago1719601127IN
0x4d9629e8...2ec08b4d5
0 ETH0.000922443.94887586
Redeem201625062024-06-24 15:42:1110 days ago1719243731IN
0x4d9629e8...2ec08b4d5
0 ETH0.001759668.82436705
Redeem201457652024-06-22 7:30:3512 days ago1719041435IN
0x4d9629e8...2ec08b4d5
0 ETH0.000544912.17357306
Redeem201053032024-06-16 15:38:5918 days ago1718552339IN
0x4d9629e8...2ec08b4d5
0 ETH0.001388135.54222421
Redeem201006712024-06-16 0:08:5919 days ago1718496539IN
0x4d9629e8...2ec08b4d5
0 ETH0.000547622.49099665
Redeem200829362024-06-13 12:35:2321 days ago1718282123IN
0x4d9629e8...2ec08b4d5
0 ETH0.0029151314.61881443
Redeem200259242024-06-05 13:27:4729 days ago1717594067IN
0x4d9629e8...2ec08b4d5
0 ETH0.0086654943.45566083
Redeem199623812024-05-27 16:24:3538 days ago1716827075IN
0x4d9629e8...2ec08b4d5
0 ETH0.0055124225.48766513
Redeem199418972024-05-24 19:42:3541 days ago1716579755IN
0x4d9629e8...2ec08b4d5
0 ETH0.001748296.9808497
Redeem199299702024-05-23 3:42:5942 days ago1716435779IN
0x4d9629e8...2ec08b4d5
0 ETH0.001219495.22021012
Redeem199136522024-05-20 20:56:1145 days ago1716238571IN
0x4d9629e8...2ec08b4d5
0 ETH0.011767950.37416208
Redeem199077302024-05-20 1:02:4746 days ago1716166967IN
0x4d9629e8...2ec08b4d5
0 ETH0.000800433.64116534
Redeem198727452024-05-15 3:39:1150 days ago1715744351IN
0x4d9629e8...2ec08b4d5
0 ETH0.000857724.30630092
Redeem198217592024-05-08 0:27:1158 days ago1715128031IN
0x4d9629e8...2ec08b4d5
0 ETH0.000743184.08167208
Redeem198045902024-05-05 14:48:1160 days ago1714920491IN
0x4d9629e8...2ec08b4d5
0 ETH0.001281655.48600538
Redeem197881892024-05-03 7:46:3562 days ago1714722395IN
0x4d9629e8...2ec08b4d5
0 ETH0.001727456.89695672
Redeem197360152024-04-26 0:39:1170 days ago1714091951IN
0x4d9629e8...2ec08b4d5
0 ETH0.000154164.45498765
Redeem197126502024-04-22 18:13:1173 days ago1713809591IN
0x4d9629e8...2ec08b4d5
0 ETH0.0027873711.12980901
Redeem196933452024-04-20 1:27:2376 days ago1713576443IN
0x4d9629e8...2ec08b4d5
0 ETH0.001356485.40573782
Redeem196922092024-04-19 21:38:2376 days ago1713562703IN
0x4d9629e8...2ec08b4d5
0 ETH0.001980727.89264197
Redeem196626732024-04-15 18:23:3580 days ago1713205415IN
0x4d9629e8...2ec08b4d5
0 ETH0.0055512427.87411117
Redeem196475612024-04-13 15:32:1182 days ago1713022331IN
0x4d9629e8...2ec08b4d5
0 ETH0.0030253915.18940492
Redeem196285902024-04-10 23:43:5985 days ago1712792639IN
0x4d9629e8...2ec08b4d5
0 ETH0.0027068111.59840118
Redeem195900742024-04-05 14:16:2390 days ago1712326583IN
0x4d9629e8...2ec08b4d5
0 ETH0.0072294936.29662984
Redeem195633142024-04-01 20:19:3594 days ago1712002775IN
0x4d9629e8...2ec08b4d5
0 ETH0.0054623825.2563304
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:
TribeRedeemer

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU AGPLv3 license
File 1 of 6 : TribeRedeemer.sol
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.4;

import {IERC20, SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/security/ReentrancyGuard.sol";

/// @title contract used to redeem a list of tokens, by permanently
/// taking another token out of circulation.
/// @author Fei Protocol
contract TribeRedeemer is ReentrancyGuard {
    using SafeERC20 for IERC20;

    /// @notice event to track redemptions
    event Redeemed(address indexed owner, address indexed receiver, uint256 amount, uint256 base);

    /// @notice token to redeem
    address public immutable redeemedToken;

    /// @notice tokens to receive when redeeming
    address[] private tokensReceived;

    /// @notice base used to compute the redemption amounts.
    /// For instance, if the base is 100, and a user provides 100 `redeemedToken`,
    /// they will receive all the balances of each `tokensReceived` held on this contract.
    uint256 public redeemBase;

    constructor(
        address _redeemedToken,
        address[] memory _tokensReceived,
        uint256 _redeemBase
    ) {
        redeemedToken = _redeemedToken;
        tokensReceived = _tokensReceived;
        redeemBase = _redeemBase;
    }

    /// @notice Public function to get `tokensReceived`
    function tokensReceivedOnRedeem() public view returns (address[] memory) {
        return tokensReceived;
    }

    /// @notice Return the balances of `tokensReceived` that would be
    /// transferred if redeeming `amountIn` of `redeemedToken`.
    function previewRedeem(uint256 amountIn)
        public
        view
        returns (address[] memory tokens, uint256[] memory amountsOut)
    {
        tokens = tokensReceivedOnRedeem();
        amountsOut = new uint256[](tokens.length);

        uint256 base = redeemBase;
        for (uint256 i = 0; i < tokensReceived.length; i++) {
            uint256 balance = IERC20(tokensReceived[i]).balanceOf(address(this));
            require(balance != 0, "ZERO_BALANCE");
            // @dev, this assumes all of `tokensReceived` and `redeemedToken`
            // have the same number of decimals
            uint256 redeemedAmount = (amountIn * balance) / base;
            amountsOut[i] = redeemedAmount;
        }
    }

    /// @notice Redeem `redeemedToken` for a pro-rata basket of `tokensReceived`
    function redeem(address to, uint256 amountIn) external nonReentrant {
        IERC20(redeemedToken).safeTransferFrom(msg.sender, address(this), amountIn);

        (address[] memory tokens, uint256[] memory amountsOut) = previewRedeem(amountIn);

        uint256 base = redeemBase;
        redeemBase = base - amountIn; // decrement the base for future redemptions
        for (uint256 i = 0; i < tokens.length; i++) {
            IERC20(tokens[i]).safeTransfer(to, amountsOut[i]);
        }

        emit Redeemed(msg.sender, to, amountIn, base);
    }
}

File 2 of 6 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/draft-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;

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

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

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

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

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

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

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

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

File 3 of 6 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 4 of 6 : draft-IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-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.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

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

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

File 5 of 6 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(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) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(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) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason 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 {
            // 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);
            }
        }
    }
}

File 6 of 6 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @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].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

Settings
{
  "metadata": {
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_redeemedToken","type":"address"},{"internalType":"address[]","name":"_tokensReceived","type":"address[]"},{"internalType":"uint256","name":"_redeemBase","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"base","type":"uint256"}],"name":"Redeemed","type":"event"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"}],"name":"previewRedeem","outputs":[{"internalType":"address[]","name":"tokens","type":"address[]"},{"internalType":"uint256[]","name":"amountsOut","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"redeemBase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"redeemedToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensReceivedOnRedeem","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"}]

60a06040523480156200001157600080fd5b5060405162000c2738038062000c2783398101604081905262000034916200011c565b600160008190556001600160a01b03841660805282516200005b9190602085019062000068565b50600255506200020e9050565b828054828255906000526020600020908101928215620000c0579160200282015b82811115620000c057825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000089565b50620000ce929150620000d2565b5090565b5b80821115620000ce5760008155600101620000d3565b80516001600160a01b03811681146200010157600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b6000806000606084860312156200013257600080fd5b6200013d84620000e9565b602085810151919450906001600160401b03808211156200015d57600080fd5b818701915087601f8301126200017257600080fd5b81518181111562000187576200018762000106565b8060051b604051601f19603f83011681018181108582111715620001af57620001af62000106565b60405291825284820192508381018501918a831115620001ce57600080fd5b938501935b82851015620001f757620001e785620000e9565b84529385019392850192620001d3565b809750505050505050604084015190509250925092565b6080516109f7620002306000396000818160cc015261016f01526109f76000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80631e9a69501461005c5780634cdad50614610071578063506f68071461009b5780635da755cd146100b0578063885aa0ce146100c7575b600080fd5b61006f61006a366004610759565b610106565b005b61008461007f366004610791565b610279565b6040516100929291906107ee565b60405180910390f35b6100a36103fc565b6040516100929190610845565b6100b960025481565b604051908152602001610092565b6100ee7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610092565b60026000540361015d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026000556101976001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633308461045e565b6000806101a383610279565b60025491935091506101b5848261086e565b60025560005b835181101561022657610214868483815181106101da576101da610885565b60200260200101518684815181106101f4576101f4610885565b60200260200101516001600160a01b03166104cf9092919063ffffffff16565b8061021e8161089b565b9150506101bb565b5060408051858152602081018390526001600160a01b0387169133917f5cdf07ad0fc222442720b108e3ed4c4640f0fadc2ab2253e66f259a0fea83480910160405180910390a350506001600055505050565b6060806102846103fc565b9150815167ffffffffffffffff8111156102a0576102a06108b4565b6040519080825280602002602001820160405280156102c9578160200160208202803683370190505b5060025490915060005b6001548110156103f5576000600182815481106102f2576102f2610885565b6000918252602090912001546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015610343573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061036791906108ca565b9050806000036103a85760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f42414c414e434560a01b6044820152606401610154565b6000836103b583896108e3565b6103bf9190610902565b9050808584815181106103d4576103d4610885565b602002602001018181525050505080806103ed9061089b565b9150506102d3565b5050915091565b6060600180548060200260200160405190810160405280929190818152602001828054801561045457602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610436575b5050505050905090565b6040516001600160a01b03808516602483015283166044820152606481018290526104c99085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610504565b50505050565b6040516001600160a01b0383166024820152604481018290526104ff90849063a9059cbb60e01b90606401610492565b505050565b6000610559826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166105d69092919063ffffffff16565b8051909150156104ff57808060200190518101906105779190610924565b6104ff5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610154565b60606105e584846000856105ef565b90505b9392505050565b6060824710156106505760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610154565b6001600160a01b0385163b6106a75760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610154565b600080866001600160a01b031685876040516106c39190610972565b60006040518083038185875af1925050503d8060008114610700576040519150601f19603f3d011682016040523d82523d6000602084013e610705565b606091505b5091509150610715828286610720565b979650505050505050565b6060831561072f5750816105e8565b82511561073f5782518084602001fd5b8160405162461bcd60e51b8152600401610154919061098e565b6000806040838503121561076c57600080fd5b82356001600160a01b038116811461078357600080fd5b946020939093013593505050565b6000602082840312156107a357600080fd5b5035919050565b600081518084526020808501945080840160005b838110156107e35781516001600160a01b0316875295820195908201906001016107be565b509495945050505050565b60408152600061080160408301856107aa565b82810360208481019190915284518083528582019282019060005b818110156108385784518352938301939183019160010161081c565b5090979650505050505050565b6020815260006105e860208301846107aa565b634e487b7160e01b600052601160045260246000fd5b60008282101561088057610880610858565b500390565b634e487b7160e01b600052603260045260246000fd5b6000600182016108ad576108ad610858565b5060010190565b634e487b7160e01b600052604160045260246000fd5b6000602082840312156108dc57600080fd5b5051919050565b60008160001904831182151516156108fd576108fd610858565b500290565b60008261091f57634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561093657600080fd5b815180151581146105e857600080fd5b60005b83811015610961578181015183820152602001610949565b838111156104c95750506000910152565b60008251610984818460208701610946565b9190910192915050565b60208152600082518060208401526109ad816040850160208701610946565b601f01601f1916919091016040019291505056fea2646970667358221220f76b8fb7b2c085a741ad7d9b0aacd53bf11c8b2baa009e76db254b109a3ad03b64736f6c634300080f0033000000000000000000000000c7283b66eb1eb5fb86327f08e1b5816b0720212b00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000017ba57ab9dfa4d6ad5000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000ae7ab96520de3a18e5e111b5eaab095312d7fe840000000000000000000000006dea81c8171d0ba574754ef6f8b412f2ed88c54d000000000000000000000000c770eefad204b5180df6a14ee197d99d808ee52d0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100575760003560e01c80631e9a69501461005c5780634cdad50614610071578063506f68071461009b5780635da755cd146100b0578063885aa0ce146100c7575b600080fd5b61006f61006a366004610759565b610106565b005b61008461007f366004610791565b610279565b6040516100929291906107ee565b60405180910390f35b6100a36103fc565b6040516100929190610845565b6100b960025481565b604051908152602001610092565b6100ee7f000000000000000000000000c7283b66eb1eb5fb86327f08e1b5816b0720212b81565b6040516001600160a01b039091168152602001610092565b60026000540361015d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026000556101976001600160a01b037f000000000000000000000000c7283b66eb1eb5fb86327f08e1b5816b0720212b1633308461045e565b6000806101a383610279565b60025491935091506101b5848261086e565b60025560005b835181101561022657610214868483815181106101da576101da610885565b60200260200101518684815181106101f4576101f4610885565b60200260200101516001600160a01b03166104cf9092919063ffffffff16565b8061021e8161089b565b9150506101bb565b5060408051858152602081018390526001600160a01b0387169133917f5cdf07ad0fc222442720b108e3ed4c4640f0fadc2ab2253e66f259a0fea83480910160405180910390a350506001600055505050565b6060806102846103fc565b9150815167ffffffffffffffff8111156102a0576102a06108b4565b6040519080825280602002602001820160405280156102c9578160200160208202803683370190505b5060025490915060005b6001548110156103f5576000600182815481106102f2576102f2610885565b6000918252602090912001546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015610343573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061036791906108ca565b9050806000036103a85760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f42414c414e434560a01b6044820152606401610154565b6000836103b583896108e3565b6103bf9190610902565b9050808584815181106103d4576103d4610885565b602002602001018181525050505080806103ed9061089b565b9150506102d3565b5050915091565b6060600180548060200260200160405190810160405280929190818152602001828054801561045457602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610436575b5050505050905090565b6040516001600160a01b03808516602483015283166044820152606481018290526104c99085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610504565b50505050565b6040516001600160a01b0383166024820152604481018290526104ff90849063a9059cbb60e01b90606401610492565b505050565b6000610559826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166105d69092919063ffffffff16565b8051909150156104ff57808060200190518101906105779190610924565b6104ff5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610154565b60606105e584846000856105ef565b90505b9392505050565b6060824710156106505760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610154565b6001600160a01b0385163b6106a75760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610154565b600080866001600160a01b031685876040516106c39190610972565b60006040518083038185875af1925050503d8060008114610700576040519150601f19603f3d011682016040523d82523d6000602084013e610705565b606091505b5091509150610715828286610720565b979650505050505050565b6060831561072f5750816105e8565b82511561073f5782518084602001fd5b8160405162461bcd60e51b8152600401610154919061098e565b6000806040838503121561076c57600080fd5b82356001600160a01b038116811461078357600080fd5b946020939093013593505050565b6000602082840312156107a357600080fd5b5035919050565b600081518084526020808501945080840160005b838110156107e35781516001600160a01b0316875295820195908201906001016107be565b509495945050505050565b60408152600061080160408301856107aa565b82810360208481019190915284518083528582019282019060005b818110156108385784518352938301939183019160010161081c565b5090979650505050505050565b6020815260006105e860208301846107aa565b634e487b7160e01b600052601160045260246000fd5b60008282101561088057610880610858565b500390565b634e487b7160e01b600052603260045260246000fd5b6000600182016108ad576108ad610858565b5060010190565b634e487b7160e01b600052604160045260246000fd5b6000602082840312156108dc57600080fd5b5051919050565b60008160001904831182151516156108fd576108fd610858565b500290565b60008261091f57634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561093657600080fd5b815180151581146105e857600080fd5b60005b83811015610961578181015183820152602001610949565b838111156104c95750506000910152565b60008251610984818460208701610946565b9190910192915050565b60208152600082518060208401526109ad816040850160208701610946565b601f01601f1916919091016040019291505056fea2646970667358221220f76b8fb7b2c085a741ad7d9b0aacd53bf11c8b2baa009e76db254b109a3ad03b64736f6c634300080f0033

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

000000000000000000000000c7283b66eb1eb5fb86327f08e1b5816b0720212b00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000017ba57ab9dfa4d6ad5000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000ae7ab96520de3a18e5e111b5eaab095312d7fe840000000000000000000000006dea81c8171d0ba574754ef6f8b412f2ed88c54d000000000000000000000000c770eefad204b5180df6a14ee197d99d808ee52d0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f

-----Decoded View---------------
Arg [0] : _redeemedToken (address): 0xc7283b66Eb1EB5FB86327f08e1B5816b0720212B
Arg [1] : _tokensReceived (address[]): 0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84,0x6DEA81C8171D0bA574754EF6F8b412F2Ed88c54D,0xc770EEfAd204B5180dF6a14Ee197D99d808ee52d,0x6B175474E89094C44Da98b954EedeAC495271d0F
Arg [2] : _redeemBase (uint256): 458964340000000000000000000

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 000000000000000000000000c7283b66eb1eb5fb86327f08e1b5816b0720212b
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 0000000000000000000000000000000000000000017ba57ab9dfa4d6ad500000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [4] : 000000000000000000000000ae7ab96520de3a18e5e111b5eaab095312d7fe84
Arg [5] : 0000000000000000000000006dea81c8171d0ba574754ef6f8b412f2ed88c54d
Arg [6] : 000000000000000000000000c770eefad204b5180df6a14ee197d99d808ee52d
Arg [7] : 0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f


Deployed Bytecode Sourcemap

386:2577:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2408:553;;;;;;:::i;:::-;;:::i;:::-;;1599:722;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;1348:111;;;:::i;:::-;;;;;;;:::i;1010:25::-;;;;;;;;;2245::6;;;2233:2;2218:18;1010:25:0;2099:177:6;642:38:0;;;;;;;;-1:-1:-1;;;;;2445:32:6;;;2427:51;;2415:2;2400:18;642:38:0;2281:203:6;2408:553:0;1744:1:1;2325:7;;:19;2317:63;;;;-1:-1:-1;;;2317:63:1;;2691:2:6;2317:63:1;;;2673:21:6;2730:2;2710:18;;;2703:30;2769:33;2749:18;;;2742:61;2820:18;;2317:63:1;;;;;;;;;1744:1;2455:7;:18;2486:75:0::1;-1:-1:-1::0;;;;;2493:13:0::1;2486:38;2525:10;2545:4;2552:8:::0;2486:38:::1;:75::i;:::-;2573:23;2598:27:::0;2629:23:::1;2643:8;2629:13;:23::i;:::-;2678:10;::::0;2572:80;;-1:-1:-1;2572:80:0;-1:-1:-1;2711:15:0::1;2718:8:::0;2678:10;2711:15:::1;:::i;:::-;2698:10;:28:::0;2786:9:::1;2781:118;2805:6;:13;2801:1;:17;2781:118;;;2839:49;2870:2;2874:10;2885:1;2874:13;;;;;;;;:::i;:::-;;;;;;;2846:6;2853:1;2846:9;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;2839:30:0::1;;;:49;;;;;:::i;:::-;2820:3:::0;::::1;::::0;::::1;:::i;:::-;;;;2781:118;;;-1:-1:-1::0;2914:40:0::1;::::0;;3557:25:6;;;3613:2;3598:18;;3591:34;;;-1:-1:-1;;;;;2914:40:0;::::1;::::0;2923:10:::1;::::0;2914:40:::1;::::0;3530:18:6;2914:40:0::1;;;;;;;-1:-1:-1::0;;1701:1:1;2628:7;:22;-1:-1:-1;;;2408:553:0:o;1599:722::-;1685:23;1710:27;1762:24;:22;:24::i;:::-;1753:33;;1823:6;:13;1809:28;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1809:28:0;-1:-1:-1;1863:10:0;;1796:41;;-1:-1:-1;1848:12:0;1883:432;1907:14;:21;1903:25;;1883:432;;;1949:15;1974:14;1989:1;1974:17;;;;;;;;:::i;:::-;;;;;;;;;;;1967:50;;-1:-1:-1;;;1967:50:0;;2011:4;1967:50;;;2427:51:6;-1:-1:-1;;;;;1974:17:0;;;;1967:35;;2400:18:6;;1967:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1949:68;;2039:7;2050:1;2039:12;2031:37;;;;-1:-1:-1;;;2031:37:0;;4159:2:6;2031:37:0;;;4141:21:6;4198:2;4178:18;;;4171:30;-1:-1:-1;;;4217:18:6;;;4210:42;4269:18;;2031:37:0;3957:336:6;2031:37:0;2208:22;2256:4;2234:18;2245:7;2234:8;:18;:::i;:::-;2233:27;;;;:::i;:::-;2208:52;;2290:14;2274:10;2285:1;2274:13;;;;;;;;:::i;:::-;;;;;;:30;;;;;1935:380;;1930:3;;;;;:::i;:::-;;;;1883:432;;;;1743:578;1599:722;;;:::o;1348:111::-;1403:16;1438:14;1431:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1431:21:0;;;;;;;;;;;;;;;;;;;;;;;1348:111;:::o;974:241:4:-;1139:68;;-1:-1:-1;;;;;4951:15:6;;;1139:68:4;;;4933:34:6;5003:15;;4983:18;;;4976:43;5035:18;;;5028:34;;;1112:96:4;;1132:5;;-1:-1:-1;;;1162:27:4;4868:18:6;;1139:68:4;;;;-1:-1:-1;;1139:68:4;;;;;;;;;;;;;;-1:-1:-1;;;;;1139:68:4;-1:-1:-1;;;;;;1139:68:4;;;;;;;;;;1112:19;:96::i;:::-;974:241;;;;:::o;763:205::-;902:58;;-1:-1:-1;;;;;5265:32:6;;902:58:4;;;5247:51:6;5314:18;;;5307:34;;;875:86:4;;895:5;;-1:-1:-1;;;925:23:4;5220:18:6;;902:58:4;5073:274:6;875:86:4;763:205;;;:::o;3747:706::-;4166:23;4192:69;4220:4;4192:69;;;;;;;;;;;;;;;;;4200:5;-1:-1:-1;;;;;4192:27:4;;;:69;;;;;:::i;:::-;4275:17;;4166:95;;-1:-1:-1;4275:21:4;4271:176;;4370:10;4359:30;;;;;;;;;;;;:::i;:::-;4351:85;;;;-1:-1:-1;;;4351:85:4;;5836:2:6;4351:85:4;;;5818:21:6;5875:2;5855:18;;;5848:30;5914:34;5894:18;;;5887:62;-1:-1:-1;;;5965:18:6;;;5958:40;6015:19;;4351:85:4;5634:406:6;3861:223:5;3994:12;4025:52;4047:6;4055:4;4061:1;4064:12;4025:21;:52::i;:::-;4018:59;;3861:223;;;;;;:::o;4948:499::-;5113:12;5170:5;5145:21;:30;;5137:81;;;;-1:-1:-1;;;5137:81:5;;6247:2:6;5137:81:5;;;6229:21:6;6286:2;6266:18;;;6259:30;6325:34;6305:18;;;6298:62;-1:-1:-1;;;6376:18:6;;;6369:36;6422:19;;5137:81:5;6045:402:6;5137:81:5;-1:-1:-1;;;;;1465:19:5;;;5228:60;;;;-1:-1:-1;;;5228:60:5;;6654:2:6;5228:60:5;;;6636:21:6;6693:2;6673:18;;;6666:30;6732:31;6712:18;;;6705:59;6781:18;;5228:60:5;6452:353:6;5228:60:5;5300:12;5314:23;5341:6;-1:-1:-1;;;;;5341:11:5;5360:5;5367:4;5341:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5299:73;;;;5389:51;5406:7;5415:10;5427:12;5389:16;:51::i;:::-;5382:58;4948:499;-1:-1:-1;;;;;;;4948:499:5:o;7561:742::-;7707:12;7735:7;7731:566;;;-1:-1:-1;7765:10:5;7758:17;;7731:566;7876:17;;:21;7872:415;;8120:10;8114:17;8180:15;8167:10;8163:2;8159:19;8152:44;7872:415;8259:12;8252:20;;-1:-1:-1;;;8252:20:5;;;;;;;;:::i;14:354:6:-;82:6;90;143:2;131:9;122:7;118:23;114:32;111:52;;;159:1;156;149:12;111:52;185:23;;-1:-1:-1;;;;;237:31:6;;227:42;;217:70;;283:1;280;273:12;217:70;306:5;358:2;343:18;;;;330:32;;-1:-1:-1;;;14:354:6:o;373:180::-;432:6;485:2;473:9;464:7;460:23;456:32;453:52;;;501:1;498;491:12;453:52;-1:-1:-1;524:23:6;;373:180;-1:-1:-1;373:180:6:o;558:461::-;611:3;649:5;643:12;676:6;671:3;664:19;702:4;731:2;726:3;722:12;715:19;;768:2;761:5;757:14;789:1;799:195;813:6;810:1;807:13;799:195;;;878:13;;-1:-1:-1;;;;;874:39:6;862:52;;934:12;;;;969:15;;;;910:1;828:9;799:195;;;-1:-1:-1;1010:3:6;;558:461;-1:-1:-1;;;;;558:461:6:o;1024:804::-;1281:2;1270:9;1263:21;1244:4;1307:56;1359:2;1348:9;1344:18;1336:6;1307:56;:::i;:::-;1420:22;;;1382:2;1400:18;;;1393:50;;;;1492:13;;1514:22;;;1590:15;;;;1552;;;1623:1;1633:169;1647:6;1644:1;1641:13;1633:169;;;1708:13;;1696:26;;1777:15;;;;1742:12;;;;1669:1;1662:9;1633:169;;;-1:-1:-1;1819:3:6;;1024:804;-1:-1:-1;;;;;;;1024:804:6:o;1833:261::-;2012:2;2001:9;1994:21;1975:4;2032:56;2084:2;2073:9;2069:18;2061:6;2032:56;:::i;2849:127::-;2910:10;2905:3;2901:20;2898:1;2891:31;2941:4;2938:1;2931:15;2965:4;2962:1;2955:15;2981:125;3021:4;3049:1;3046;3043:8;3040:34;;;3054:18;;:::i;:::-;-1:-1:-1;3091:9:6;;2981:125::o;3111:127::-;3172:10;3167:3;3163:20;3160:1;3153:31;3203:4;3200:1;3193:15;3227:4;3224:1;3217:15;3243:135;3282:3;3303:17;;;3300:43;;3323:18;;:::i;:::-;-1:-1:-1;3370:1:6;3359:13;;3243:135::o;3636:127::-;3697:10;3692:3;3688:20;3685:1;3678:31;3728:4;3725:1;3718:15;3752:4;3749:1;3742:15;3768:184;3838:6;3891:2;3879:9;3870:7;3866:23;3862:32;3859:52;;;3907:1;3904;3897:12;3859:52;-1:-1:-1;3930:16:6;;3768:184;-1:-1:-1;3768:184:6:o;4298:168::-;4338:7;4404:1;4400;4396:6;4392:14;4389:1;4386:21;4381:1;4374:9;4367:17;4363:45;4360:71;;;4411:18;;:::i;:::-;-1:-1:-1;4451:9:6;;4298:168::o;4471:217::-;4511:1;4537;4527:132;;4581:10;4576:3;4572:20;4569:1;4562:31;4616:4;4613:1;4606:15;4644:4;4641:1;4634:15;4527:132;-1:-1:-1;4673:9:6;;4471:217::o;5352:277::-;5419:6;5472:2;5460:9;5451:7;5447:23;5443:32;5440:52;;;5488:1;5485;5478:12;5440:52;5520:9;5514:16;5573:5;5566:13;5559:21;5552:5;5549:32;5539:60;;5595:1;5592;5585:12;6810:258;6882:1;6892:113;6906:6;6903:1;6900:13;6892:113;;;6982:11;;;6976:18;6963:11;;;6956:39;6928:2;6921:10;6892:113;;;7023:6;7020:1;7017:13;7014:48;;;-1:-1:-1;;7058:1:6;7040:16;;7033:27;6810:258::o;7073:274::-;7202:3;7240:6;7234:13;7256:53;7302:6;7297:3;7290:4;7282:6;7278:17;7256:53;:::i;:::-;7325:16;;;;;7073:274;-1:-1:-1;;7073:274:6:o;7352:383::-;7501:2;7490:9;7483:21;7464:4;7533:6;7527:13;7576:6;7571:2;7560:9;7556:18;7549:34;7592:66;7651:6;7646:2;7635:9;7631:18;7626:2;7618:6;7614:15;7592:66;:::i;:::-;7719:2;7698:15;-1:-1:-1;;7694:29:6;7679:45;;;;7726:2;7675:54;;7352:383;-1:-1:-1;;7352:383:6:o

Swarm Source

ipfs://f76b8fb7b2c085a741ad7d9b0aacd53bf11c8b2baa009e76db254b109a3ad03b

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.