Sepolia Testnet

Contract

0x8594315475590533d5015fF9DDBCBC67c7F530Bf

Overview

ETH Balance

0 ETH

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Stake Multiple63141322024-07-15 9:10:2492 days ago1721034624IN
0x85943154...7c7F530Bf
0.02 ETH0.0116415464.78901266
Stake Multiple63141042024-07-15 9:03:4892 days ago1721034228IN
0x85943154...7c7F530Bf
0.01 ETH0.0034163977.11419414
Stake Multiple63139992024-07-15 8:39:2492 days ago1721032764IN
0x85943154...7c7F530Bf
0.05 ETH0.0030356738.84371683
Stake Multiple63139942024-07-15 8:38:1292 days ago1721032692IN
0x85943154...7c7F530Bf
0.05 ETH0.0029244137.42005465
Stake Multiple63139892024-07-15 8:37:1292 days ago1721032632IN
0x85943154...7c7F530Bf
0.05 ETH0.0026153133.46491273
Stake Multiple63139882024-07-15 8:36:4892 days ago1721032608IN
0x85943154...7c7F530Bf
0.1 ETH0.0025232632.30197542
Stake Multiple63139832024-07-15 8:35:4892 days ago1721032548IN
0x85943154...7c7F530Bf
0.05 ETH0.0023579430.17160445
Stake Multiple63139782024-07-15 8:34:4892 days ago1721032488IN
0x85943154...7c7F530Bf
0.1 ETH0.0051254528.52481586
Stake Multiple63139572024-07-15 8:30:1292 days ago1721032212IN
0x85943154...7c7F530Bf
0.05 ETH0.0015946320.40453012
Stake Multiple63139332024-07-15 8:24:1292 days ago1721031852IN
0x85943154...7c7F530Bf
0.000001 ETH0.000618437.91938903
Stake Multiple63139312024-07-15 8:23:3692 days ago1721031816IN
0x85943154...7c7F530Bf
0.000001 ETH0.000596157.63412347
Stake Multiple63139282024-07-15 8:23:0092 days ago1721031780IN
0x85943154...7c7F530Bf
0.000001 ETH0.000581227.44288538
Stake Multiple63138972024-07-15 8:16:2492 days ago1721031384IN
0x85943154...7c7F530Bf
0.000001 ETH0.000475896.09411422
Stake Multiple63138932024-07-15 8:15:3692 days ago1721031336IN
0x85943154...7c7F530Bf
0.000001 ETH0.00050766.50018774
Stake Multiple63138872024-07-15 8:14:2492 days ago1721031264IN
0x85943154...7c7F530Bf
0.000001 ETH0.000456585.84681712
Stake Multiple63138842024-07-15 8:13:4892 days ago1721031228IN
0x85943154...7c7F530Bf
0.1 ETH0.000522276.68389605
Stake Multiple63138792024-07-15 8:12:2492 days ago1721031144IN
0x85943154...7c7F530Bf
0.000001 ETH0.000504536.4608918
Stake Multiple63137122024-07-15 7:34:0092 days ago1721028840IN
0x85943154...7c7F530Bf
0.1 ETH0.000418036.82630488
Stake Multiple63137022024-07-15 7:32:0092 days ago1721028720IN
0x85943154...7c7F530Bf
0.1 ETH0.000596817.63908413
Stake Multiple63134902024-07-15 6:42:0092 days ago1721025720IN
0x85943154...7c7F530Bf
0.05 ETH0.0009874412.63509125
Stake Multiple63134782024-07-15 6:38:4892 days ago1721025528IN
0x85943154...7c7F530Bf
0.0001 ETH0.0010937213.99932778
Stake Multiple63134062024-07-15 6:23:0092 days ago1721024580IN
0x85943154...7c7F530Bf
0.01 ETH0.0016895121.61865952
Stake Multiple63134002024-07-15 6:21:4892 days ago1721024508IN
0x85943154...7c7F530Bf
0.1 ETH0.0017027121.7942333
Stake Multiple63133902024-07-15 6:19:3692 days ago1721024376IN
0x85943154...7c7F530Bf
0.2 ETH0.0020824226.65022045
Stake Multiple63133102024-07-15 5:58:3692 days ago1721023116IN
0x85943154...7c7F530Bf
0.01 ETH0.0048208926.82624808
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
63141322024-07-15 9:10:2492 days ago1721034624
0x85943154...7c7F530Bf
0.01 ETH
63141322024-07-15 9:10:2492 days ago1721034624
0x85943154...7c7F530Bf
0.001 ETH
63141322024-07-15 9:10:2492 days ago1721034624
0x85943154...7c7F530Bf
0.001 ETH
63141322024-07-15 9:10:2492 days ago1721034624
0x85943154...7c7F530Bf
0.001 ETH
63141322024-07-15 9:10:2492 days ago1721034624
0x85943154...7c7F530Bf
0.001 ETH
63141322024-07-15 9:10:2492 days ago1721034624
0x85943154...7c7F530Bf
0.001 ETH
63141322024-07-15 9:10:2492 days ago1721034624
0x85943154...7c7F530Bf
0.001 ETH
63141322024-07-15 9:10:2492 days ago1721034624
0x85943154...7c7F530Bf
0.002 ETH
63141322024-07-15 9:10:2492 days ago1721034624
0x85943154...7c7F530Bf
0.002 ETH
63141042024-07-15 9:03:4892 days ago1721034228
0x85943154...7c7F530Bf
0.01 ETH
63139992024-07-15 8:39:2492 days ago1721032764
0x85943154...7c7F530Bf
0.03 ETH
63139992024-07-15 8:39:2492 days ago1721032764
0x85943154...7c7F530Bf
0.015 ETH
63139992024-07-15 8:39:2492 days ago1721032764
0x85943154...7c7F530Bf
0.005 ETH
63139942024-07-15 8:38:1292 days ago1721032692
0x85943154...7c7F530Bf
0.03 ETH
63139942024-07-15 8:38:1292 days ago1721032692
0x85943154...7c7F530Bf
0.015 ETH
63139942024-07-15 8:38:1292 days ago1721032692
0x85943154...7c7F530Bf
0.005 ETH
63139892024-07-15 8:37:1292 days ago1721032632
0x85943154...7c7F530Bf
0.03 ETH
63139892024-07-15 8:37:1292 days ago1721032632
0x85943154...7c7F530Bf
0.015 ETH
63139892024-07-15 8:37:1292 days ago1721032632
0x85943154...7c7F530Bf
0.005 ETH
63139882024-07-15 8:36:4892 days ago1721032608
0x85943154...7c7F530Bf
0.028 ETH
63139882024-07-15 8:36:4892 days ago1721032608
0x85943154...7c7F530Bf
0.038 ETH
63139882024-07-15 8:36:4892 days ago1721032608
0x85943154...7c7F530Bf
0.034 ETH
63139832024-07-15 8:35:4892 days ago1721032548
0x85943154...7c7F530Bf
0.03 ETH
63139832024-07-15 8:35:4892 days ago1721032548
0x85943154...7c7F530Bf
0.015 ETH
63139832024-07-15 8:35:4892 days ago1721032548
0x85943154...7c7F530Bf
0.005 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DropnestStaking

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 9 : DropnestStaking.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

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

/// @title DropnestStaking
/// @notice This contract is used for managing deposits to the Dropnest protocol.
contract DropnestStaking is Ownable, Pausable, ReentrancyGuard {

    ///////////////////
    // Libraries     //
    ///////////////////
    using SafeERC20 for IERC20;

    ///////////////////
    // Errors        //
    ///////////////////
    error DropnestStaking_ZeroAddressProvided();
    error DropnestStaking_ProtocolDoesNotExist();
    error DropnestStaking_DepositMismatch();
    error DropnestStaking_ArraysLengthMismatch();
    error DropnestStaking_MaxProtocolsReached();
    error DropnestStaking_ProtocolInactive(uint256 protocolId);
    error DropnestStaking_CannotChangeProtocolStatus(uint256 protocolId, bool status);
    error DropnestStaking_TokenNotAllowed(address token);
    error DropnestStaking_AmountMustBeGreaterThanZero();
    error DropnestStaking_TokenAlreadySupported(address token);
    /////////////////////
    // State Variables //
    /////////////////////
    // protocolId => target address to move the liquidity
    mapping(uint256 => address) public farmAddresses;

    // protocolId => bool to check if the protocol is active or not
    mapping(uint256 => bool) public protocolStatus;

    // protocols list
    string[] public protocols;

    // number of protocols
    uint256 private protocolCounter;

    // maximum number of protocols to stake in one batch
    uint256 internal constant MAX_PROTOCOLS = 10;

    // mapping to store allowed ERC20 tokens
    mapping(address => bool) private supportedTokens;

    address[] private tokenList;

    ///////////////////
    // Events        //
    ///////////////////
    /// @notice Event emitted when ETH is deposited
    event Deposited(uint256 indexed protocolId, address indexed from, address to, uint256 amount);

    /// @notice Event emitted when ERC20 is deposited
    event ERC20Deposited(uint256 indexed protocolId, address indexed token, address indexed from, address to, uint256 amount);

    /// @notice Event emitted when a new protocol is added
    event ProtocolAdded(uint256 protocolId, string protocolName, address to);

    /// @notice Event emitted when an existing protocol is updated
    event ProtocolUpdated(uint256 protocolId, string protocolName, address to);

    /// @notice Event emitted when protocol status is updated
    event ProtocolStatusUpdated(uint256 protocolId, bool status);

    ///////////////////
    // Modifiers     //
    ///////////////////
    modifier nonZeroAmount(uint256 amount) {
        if (amount == 0) {
            revert DropnestStaking_AmountMustBeGreaterThanZero();
        }
        _;
    }

    modifier allowedToken(address token) {
        if (!supportedTokens[token]) {
            revert DropnestStaking_TokenNotAllowed(token);
        }
        _;
    }

    ///////////////////
    // Functions     //
    ///////////////////

    /// @notice Constructor to initialize the contract
    /// @param _supportedTokens List of supported tokens
    /// @param _protocols List of protocol names
    /// @param _addresses List of addresses corresponding to the protocols
    constructor(address[] memory _supportedTokens, string[] memory _protocols, address[] memory _addresses) Ownable() {
        if (_protocols.length != _addresses.length) {
            revert DropnestStaking_ArraysLengthMismatch();
        }
        for (uint256 i = 0; i < _protocols.length; i++) {
            _addProtocol(_protocols[i], _addresses[i]);
        }
        for (uint256 i = 0; i < _supportedTokens.length; i++) {
            supportedTokens[_supportedTokens[i]] = true;
            tokenList.push(_supportedTokens[i]);
        }
    }

    /////////////////////////
    // External Functions  //
    /////////////////////////

    /// @notice Allows a user to stake ETH on multiple protocols
    /// @param protocolIds Array of protocol IDs to stake on
    /// @param protocolAmounts Array of amounts to stake on each protocol
    function stakeMultiple(uint256[] memory protocolIds, uint256[] memory protocolAmounts) external payable whenNotPaused nonReentrant {
        uint256 totalDepositAmount = msg.value;
        uint256 totalSum = 0;
        if (protocolIds.length != protocolAmounts.length) {
            revert DropnestStaking_ArraysLengthMismatch();
        }
        if (protocolIds.length > MAX_PROTOCOLS) {
            revert DropnestStaking_MaxProtocolsReached();
        }
        for (uint256 i = 0; i < protocolIds.length; i++) {
            totalSum += protocolAmounts[i];
        }
        if (totalSum != totalDepositAmount) {
            revert DropnestStaking_DepositMismatch();
        }
        for (uint256 i = 0; i < protocolIds.length; i++) {
            _stake(protocolIds[i], protocolAmounts[i]);
        }
    }

    /// @notice Allows a user to stake ETH
    /// @param protocolId Protocol ID to stake on
    function stake(uint256 protocolId) external payable whenNotPaused nonReentrant {
        _stake(protocolId, msg.value);
    }

    /// @notice Allows a user to stake ERC20 tokens on multiple protocols
    /// @param token ERC20 token address
    /// @param protocolIds Array of protocol IDs to stake on
    /// @param protocolAmounts Array of amounts to stake on each protocol
    function stakeMultipleERC20(address token, uint256[] memory protocolIds, uint256[] memory protocolAmounts) external whenNotPaused allowedToken(token) nonReentrant {
        if (protocolIds.length != protocolAmounts.length) {
            revert DropnestStaking_ArraysLengthMismatch();
        }
        if (protocolIds.length > MAX_PROTOCOLS) {
            revert DropnestStaking_MaxProtocolsReached();
        }
        for (uint256 i = 0; i < protocolIds.length; i++) {
            _stakeERC20(protocolIds[i], token, protocolAmounts[i]);
        }
    }

    /// @notice Allows a user to stake ERC20 tokens
    /// @param protocolId Protocol ID to stake on
    /// @param token ERC20 token address
    /// @param amount Amount of tokens to stake
    function stakeERC20(uint256 protocolId, address token, uint256 amount) external whenNotPaused allowedToken(token) nonReentrant {
        _stakeERC20(protocolId, token, amount);
    }

    /// @notice Allows the owner to add or update a protocol
    /// @param protocolName Protocol name to be added or updated
    /// @param farmerAddress Address corresponding to the protocol
    function addOrUpdateProtocol(string memory protocolName, address farmerAddress) external onlyOwner {
        if (farmerAddress == address(0)) {
            revert DropnestStaking_ZeroAddressProvided();
        }
        uint256 length = protocols.length;
        for (uint256 i = 0; i < length; i++) {
            if (keccak256(abi.encodePacked(protocols[i])) == keccak256(abi.encodePacked(protocolName))) {
                uint256 id = i + 1;
                farmAddresses[id] = farmerAddress;
                emit ProtocolUpdated(id, protocolName, farmerAddress);
                return;
            }
        }
        _addProtocol(protocolName, farmerAddress);
    }

    /// @notice Allows the owner to set the protocol status
    /// @param protocolId Protocol ID
    /// @param status Protocol status
    function setProtocolStatus(uint256 protocolId, bool status) external onlyOwner {
        if (farmAddresses[protocolId] == address(0)) {
            revert DropnestStaking_ProtocolDoesNotExist();
        }
        if (protocolStatus[protocolId] == status) {
            revert DropnestStaking_CannotChangeProtocolStatus(protocolId, status);
        }
        protocolStatus[protocolId] = status;
        emit ProtocolStatusUpdated(protocolId, status);
    }

    /// @notice Allows the owner to pause the contract
    function pause() external onlyOwner {
        _pause();
    }

    /// @notice Allows the owner to unpause the contract
    function unpause() external onlyOwner {
        _unpause();
    }

    //////////////////////////////////////////////////////
    // Private & Internal Functions                     //
    //////////////////////////////////////////////////////

    function _stakeERC20(uint256 protocolId, address tokenAddress, uint256 amount) private nonZeroAmount(amount) {
        if (tokenAddress == address(0)) {
            revert DropnestStaking_ZeroAddressProvided();
        }

        if (!protocolStatus[protocolId]) {
            revert DropnestStaking_ProtocolInactive(protocolId);
        }
        address to = farmAddresses[protocolId];
        if (to == address(0)) {
            revert DropnestStaking_ProtocolDoesNotExist();
        }
        IERC20(tokenAddress).safeTransferFrom(msg.sender, address(this), amount);
        IERC20(tokenAddress).safeTransfer(to, amount);
        emit ERC20Deposited(protocolId, tokenAddress, msg.sender, to, amount);
    }

    function _stake(uint256 protocolId, uint256 protocolAmount) private nonZeroAmount(protocolAmount) {
        address to = farmAddresses[protocolId];
        if (to == address(0)) {
            revert DropnestStaking_ProtocolDoesNotExist();
        }
        if (!protocolStatus[protocolId]) {
            revert DropnestStaking_ProtocolInactive(protocolId);
        }
        emit Deposited(protocolId, msg.sender, to, protocolAmount);
        payable(to).transfer(protocolAmount);
    }

    function _addProtocol(string memory protocolName, address to) private {
        if (to == address(0)) {
            revert DropnestStaking_ZeroAddressProvided();
        }
        protocolCounter++;
        protocols.push(protocolName);
        farmAddresses[protocolCounter] = to;
        protocolStatus[protocolCounter] = true;
        emit ProtocolAdded(protocolCounter, protocolName, to);
    }

    /// @notice Adds a new ERC20 token to the list of supported deposit tokens
    /// @param token Token address
    function addSupportedToken(address token) external onlyOwner {
        if (supportedTokens[token]) {
            revert DropnestStaking_TokenAlreadySupported(token);
        }
        supportedTokens[token] = true;
        tokenList.push(token);
    }

    /// @notice Removes an ERC20 token from the list of supported deposit tokens
    /// @param token Token address
    function removeSupportedToken(address token) external onlyOwner {
        supportedTokens[token] = false;
        uint256 length = tokenList.length;
        for (uint256 i = 0; i < length; i++) {
            if (tokenList[i] == token) {
                tokenList[i] = tokenList[length - 1];
                tokenList.pop();
                break;
            }
        }
    }

    //////////////////////////////////////////////////////////
    // External & Public View Functions                     //
    //////////////////////////////////////////////////////////

    /// @notice Returns the list of protocols
    function getProtocols() public view returns (string[] memory) {
        return protocols;
    }

    /// @notice Returns the address of the specified protocol
    /// @param protocolId Protocol ID
    function getFarmAddress(uint256 protocolId) public view returns (address) {
        return farmAddresses[protocolId];
    }

    /// @notice Returns the list of supported deposit tokens
    function getSupportedTokens() public view returns (address[] memory) {
        return tokenList;
    }
}

File 2 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 9 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

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

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 4 of 9 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (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() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

File 5 of 9 : IERC20.sol
// 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);
}

File 6 of 9 : SafeERC20.sol
// 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));
    }
}

File 7 of 9 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

File 8 of 9 : IERC20Permit.sol
// 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);
}

File 9 of 9 : Address.sol
// 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);
        }
    }
}

Settings
{
  "remappings": [
    "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "openzeppelin/=lib/openzeppelin-contracts/contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "paris",
  "viaIR": false,
  "libraries": {}
}

Contract ABI

[{"inputs":[{"internalType":"address[]","name":"_supportedTokens","type":"address[]"},{"internalType":"string[]","name":"_protocols","type":"string[]"},{"internalType":"address[]","name":"_addresses","type":"address[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"DropnestStaking_AmountMustBeGreaterThanZero","type":"error"},{"inputs":[],"name":"DropnestStaking_ArraysLengthMismatch","type":"error"},{"inputs":[{"internalType":"uint256","name":"protocolId","type":"uint256"},{"internalType":"bool","name":"status","type":"bool"}],"name":"DropnestStaking_CannotChangeProtocolStatus","type":"error"},{"inputs":[],"name":"DropnestStaking_DepositMismatch","type":"error"},{"inputs":[],"name":"DropnestStaking_MaxProtocolsReached","type":"error"},{"inputs":[],"name":"DropnestStaking_ProtocolDoesNotExist","type":"error"},{"inputs":[{"internalType":"uint256","name":"protocolId","type":"uint256"}],"name":"DropnestStaking_ProtocolInactive","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"DropnestStaking_TokenAlreadySupported","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"DropnestStaking_TokenNotAllowed","type":"error"},{"inputs":[],"name":"DropnestStaking_ZeroAddressProvided","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"protocolId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"protocolId","type":"uint256"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20Deposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"protocolId","type":"uint256"},{"indexed":false,"internalType":"string","name":"protocolName","type":"string"},{"indexed":false,"internalType":"address","name":"to","type":"address"}],"name":"ProtocolAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"protocolId","type":"uint256"},{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"ProtocolStatusUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"protocolId","type":"uint256"},{"indexed":false,"internalType":"string","name":"protocolName","type":"string"},{"indexed":false,"internalType":"address","name":"to","type":"address"}],"name":"ProtocolUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"string","name":"protocolName","type":"string"},{"internalType":"address","name":"farmerAddress","type":"address"}],"name":"addOrUpdateProtocol","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"addSupportedToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"farmAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"protocolId","type":"uint256"}],"name":"getFarmAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getProtocols","outputs":[{"internalType":"string[]","name":"","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSupportedTokens","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"protocolStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"protocols","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"removeSupportedToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"protocolId","type":"uint256"},{"internalType":"bool","name":"status","type":"bool"}],"name":"setProtocolStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"protocolId","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"protocolId","type":"uint256"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stakeERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"protocolIds","type":"uint256[]"},{"internalType":"uint256[]","name":"protocolAmounts","type":"uint256[]"}],"name":"stakeMultiple","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256[]","name":"protocolIds","type":"uint256[]"},{"internalType":"uint256[]","name":"protocolAmounts","type":"uint256[]"}],"name":"stakeMultipleERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620024183803806200241883398101604081905262000034916200042c565b6200003f33620001b8565b6000805460ff60a01b19169055600180558051825114620000735760405163048e2b7f60e41b815260040160405180910390fd5b60005b8251811015620000df57620000ca8382815181106200009957620000996200058e565b6020026020010151838381518110620000b657620000b66200058e565b60200260200101516200020860201b60201c565b80620000d681620005a4565b91505062000076565b5060005b8351811015620001ae576001600660008684815181106200010857620001086200058e565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff02191690831515021790555060078482815181106200015e576200015e6200058e565b60209081029190910181015182546001810184556000938452919092200180546001600160a01b0319166001600160a01b0390921691909117905580620001a581620005a4565b915050620000e3565b5050505062000774565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116620002305760405163c825500160e01b815260040160405180910390fd5b600580549060006200024283620005a4565b9091555050600480546001810182556000919091527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b016200028583826200065b565b5060058054600090815260026020908152604080832080546001600160a01b0319166001600160a01b03871617905583548352600390915290819020805460ff19166001179055905490517fb23175a7672d7a3f1ee8d6475a301b6ca026e7defa7bef314817383e8c01c2ef9162000301918590859062000727565b60405180910390a15050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156200034e576200034e6200030d565b604052919050565b60006001600160401b038211156200037257620003726200030d565b5060051b60200190565b600082601f8301126200038e57600080fd5b81516020620003a7620003a18362000356565b62000323565b82815260059290921b84018101918181019086841115620003c757600080fd5b8286015b84811015620003fb5780516001600160a01b0381168114620003ed5760008081fd5b8352918301918301620003cb565b509695505050505050565b60005b838110156200042357818101518382015260200162000409565b50506000910152565b6000806000606084860312156200044257600080fd5b83516001600160401b03808211156200045a57600080fd5b62000468878388016200037c565b94506020915081860151818111156200048057600080fd5b8601601f810188136200049257600080fd5b8051620004a3620003a18262000356565b81815260059190911b8201840190848101908a831115620004c357600080fd5b8584015b838110156200055957805186811115620004e15760008081fd5b8501603f81018d13620004f45760008081fd5b878101516040888211156200050d576200050d6200030d565b62000521601f8301601f19168b0162000323565b8281528f82848601011115620005375760008081fd5b62000548838c830184870162000406565b8652505050918601918601620004c7565b5060408a01519097509450505050808211156200057557600080fd5b5062000584868287016200037c565b9150509250925092565b634e487b7160e01b600052603260045260246000fd5b600060018201620005c557634e487b7160e01b600052601160045260246000fd5b5060010190565b600181811c90821680620005e157607f821691505b6020821081036200060257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200065657600081815260208120601f850160051c81016020861015620006315750805b601f850160051c820191505b8181101562000652578281556001016200063d565b5050505b505050565b81516001600160401b038111156200067757620006776200030d565b6200068f81620006888454620005cc565b8462000608565b602080601f831160018114620006c75760008415620006ae5750858301515b600019600386901b1c1916600185901b17855562000652565b600085815260208120601f198616915b82811015620006f857888601518255948401946001909101908401620006d7565b5085821015620007175787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b83815260606020820152600083518060608401526200074e81608085016020880162000406565b6001600160a01b0393909316604083015250601f91909101601f19160160800192915050565b611c9480620007846000396000f3fe60806040526004361061011f5760003560e01c80638456cb59116100a0578063ce6dfadb11610064578063ce6dfadb14610328578063d3c7c2c71461035e578063f2fde38b14610380578063f434bb68146103a0578063f681f65a146103c257600080fd5b80638456cb59146102675780638c3962201461027c5780638d75ef67146102a95780638da5cb5b146102f7578063a694fc3a1461031557600080fd5b80635cb6cfc7116100e75780635cb6cfc7146101d25780636bb32608146101f25780636d69fcaf14610212578063715018a614610232578063763191901461024757600080fd5b8063085aba34146101245780632c583bf3146101465780633f4ba83a14610159578063530ec9a11461016e5780635c975abb146101b3575b600080fd5b34801561013057600080fd5b5061014461013f3660046115fc565b6103e2565b005b610144610154366004611717565b61052b565b34801561016557600080fd5b50610144610651565b34801561017a57600080fd5b5061019e61018936600461177b565b60036020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b3480156101bf57600080fd5b50600054600160a01b900460ff1661019e565b3480156101de57600080fd5b506101446101ed366004611794565b610663565b3480156101fe57600080fd5b5061014461020d3660046117d7565b6106d8565b34801561021e57600080fd5b5061014461022d366004611807565b6107b1565b34801561023e57600080fd5b50610144610864565b34801561025357600080fd5b50610144610262366004611807565b610876565b34801561027357600080fd5b506101446109a3565b34801561028857600080fd5b5061029c61029736600461177b565b6109b3565b6040516101aa9190611879565b3480156102b557600080fd5b506102df6102c436600461177b565b6002602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101aa565b34801561030357600080fd5b506000546001600160a01b03166102df565b61014461032336600461177b565b610a5f565b34801561033457600080fd5b506102df61034336600461177b565b6000908152600260205260409020546001600160a01b031690565b34801561036a57600080fd5b50610373610a85565b6040516101aa919061188c565b34801561038c57600080fd5b5061014461039b366004611807565b610ae7565b3480156103ac57600080fd5b506103b5610b5d565b6040516101aa91906118d9565b3480156103ce57600080fd5b506101446103dd36600461193b565b610c36565b6103ea610d36565b6001600160a01b0381166104115760405163c825500160e01b815260040160405180910390fd5b60045460005b8181101561051a578360405160200161043091906119af565b6040516020818303038152906040528051906020012060048281548110610459576104596119cb565b906000526020600020016040516020016104739190611a1b565b604051602081830303815290604052805190602001200361050857600061049b826001611aa7565b6000818152600260205260409081902080546001600160a01b0319166001600160a01b038816179055519091507f7dd8ffdcd2ccb9b0f3f3ddb2928047a881eab9d5ac08757468a08c9d078814f3906104f990839088908890611ac0565b60405180910390a15050505050565b8061051281611af1565b915050610417565b506105258383610d90565b505b5050565b610533610e82565b61053b610ecf565b805182513491600091146105625760405163048e2b7f60e41b815260040160405180910390fd5b600a8451111561058557604051635200145360e01b815260040160405180910390fd5b60005b84518110156105ca578381815181106105a3576105a36119cb565b6020026020010151826105b69190611aa7565b9150806105c281611af1565b915050610588565b508181146105eb576040516311e6012960e01b815260040160405180910390fd5b60005b84518110156106455761063385828151811061060c5761060c6119cb565b6020026020010151858381518110610626576106266119cb565b6020026020010151610f28565b8061063d81611af1565b9150506105ee565b50505061052760018055565b610659610d36565b610661611035565b565b61066b610e82565b6001600160a01b038216600090815260066020526040902054829060ff166106b65760405163799c107f60e11b81526001600160a01b03821660048201526024015b60405180910390fd5b6106be610ecf565b6106c984848461108a565b6106d260018055565b50505050565b6106e0610d36565b6000828152600260205260409020546001600160a01b031661071557604051633c8f475960e01b815260040160405180910390fd5b60008281526003602052604090205481151560ff9091161515036107575760405163f4091bb560e01b81526004810183905281151560248201526044016106ad565b600082815260036020908152604091829020805460ff19168415159081179091558251858152918201527f837e140d77345d035fa5a122b62a86b4bedc07200343fe4e52d32ea433039d9891015b60405180910390a15050565b6107b9610d36565b6001600160a01b03811660009081526006602052604090205460ff16156107fe576040516331f9242360e11b81526001600160a01b03821660048201526024016106ad565b6001600160a01b03166000818152600660205260408120805460ff191660019081179091556007805491820181559091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880180546001600160a01b0319169091179055565b61086c610d36565b61066160006111b6565b61087e610d36565b6001600160a01b0381166000908152600660205260408120805460ff19169055600754905b8181101561052557826001600160a01b0316600782815481106108c8576108c86119cb565b6000918252602090912001546001600160a01b0316036109915760076108ef600184611b0a565b815481106108ff576108ff6119cb565b600091825260209091200154600780546001600160a01b03909216918390811061092b5761092b6119cb565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600780548061096a5761096a611b1d565b600082815260209020810160001990810180546001600160a01b0319169055019055610525565b8061099b81611af1565b9150506108a3565b6109ab610d36565b610661611206565b600481815481106109c357600080fd5b9060005260206000200160009150905080546109de906119e1565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0a906119e1565b8015610a575780601f10610a2c57610100808354040283529160200191610a57565b820191906000526020600020905b815481529060010190602001808311610a3a57829003601f168201915b505050505081565b610a67610e82565b610a6f610ecf565b610a798134610f28565b610a8260018055565b50565b60606007805480602002602001604051908101604052809291908181526020018280548015610add57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610abf575b5050505050905090565b610aef610d36565b6001600160a01b038116610b545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106ad565b610a82816111b6565b60606004805480602002602001604051908101604052809291908181526020016000905b82821015610c2d578382906000526020600020018054610ba0906119e1565b80601f0160208091040260200160405190810160405280929190818152602001828054610bcc906119e1565b8015610c195780601f10610bee57610100808354040283529160200191610c19565b820191906000526020600020905b815481529060010190602001808311610bfc57829003601f168201915b505050505081526020019060010190610b81565b50505050905090565b610c3e610e82565b6001600160a01b038316600090815260066020526040902054839060ff16610c845760405163799c107f60e11b81526001600160a01b03821660048201526024016106ad565b610c8c610ecf565b8151835114610cae5760405163048e2b7f60e41b815260040160405180910390fd5b600a83511115610cd157604051635200145360e01b815260040160405180910390fd5b60005b8351811015610d2c57610d1a848281518110610cf257610cf26119cb565b602002602001015186858481518110610d0d57610d0d6119cb565b602002602001015161108a565b80610d2481611af1565b915050610cd4565b506106d260018055565b6000546001600160a01b031633146106615760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106ad565b6001600160a01b038116610db75760405163c825500160e01b815260040160405180910390fd5b60058054906000610dc783611af1565b9091555050600480546001810182556000919091527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01610e088382611b81565b5060058054600090815260026020908152604080832080546001600160a01b0319166001600160a01b03871617905583548352600390915290819020805460ff19166001179055905490517fb23175a7672d7a3f1ee8d6475a301b6ca026e7defa7bef314817383e8c01c2ef916107a59185908590611ac0565b600054600160a01b900460ff16156106615760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016106ad565b600260015403610f215760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106ad565b6002600155565b8080600003610f4a57604051630c3bd76360e11b815260040160405180910390fd5b6000838152600260205260409020546001600160a01b031680610f8057604051633c8f475960e01b815260040160405180910390fd5b60008481526003602052604090205460ff16610fb257604051631088cc6360e01b8152600481018590526024016106ad565b604080516001600160a01b038316815260208101859052339186917f984a71c9d95fd4794aeba33ae72edfec22053fde75488d63abef9dc69ee795af910160405180910390a36040516001600160a01b0382169084156108fc029085906000818181858888f1935050505015801561102e573d6000803e3d6000fd5b5050505050565b61103d611249565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b80806000036110ac57604051630c3bd76360e11b815260040160405180910390fd5b6001600160a01b0383166110d35760405163c825500160e01b815260040160405180910390fd5b60008481526003602052604090205460ff1661110557604051631088cc6360e01b8152600481018590526024016106ad565b6000848152600260205260409020546001600160a01b03168061113b57604051633c8f475960e01b815260040160405180910390fd5b6111506001600160a01b038516333086611299565b6111646001600160a01b0385168285611304565b604080516001600160a01b0383811682526020820186905233929087169188917fe5ff1b420754c867685d10b000c2b31b0ef0d30a281e8e8bdc7e04d159e1d717910160405180910390a45050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61120e610e82565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861106d3390565b600054600160a01b900460ff166106615760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016106ad565b6040516001600160a01b03808516602483015283166044820152606481018290526106d29085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611334565b6040516001600160a01b03831660248201526044810182905261052590849063a9059cbb60e01b906064016112cd565b6000611389826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166114099092919063ffffffff16565b90508051600014806113aa5750808060200190518101906113aa9190611c41565b6105255760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016106ad565b60606114188484600085611420565b949350505050565b6060824710156114815760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016106ad565b600080866001600160a01b0316858760405161149d91906119af565b60006040518083038185875af1925050503d80600081146114da576040519150601f19603f3d011682016040523d82523d6000602084013e6114df565b606091505b50915091506114f0878383876114fb565b979650505050505050565b6060831561156a578251600003611563576001600160a01b0385163b6115635760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016106ad565b5081611418565b611418838381511561157f5781518083602001fd5b8060405162461bcd60e51b81526004016106ad9190611879565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156115d8576115d8611599565b604052919050565b80356001600160a01b03811681146115f757600080fd5b919050565b6000806040838503121561160f57600080fd5b823567ffffffffffffffff8082111561162757600080fd5b818501915085601f83011261163b57600080fd5b813560208282111561164f5761164f611599565b611661601f8301601f191682016115af565b9250818352878183860101111561167757600080fd5b818185018285013760008183850101528295506116958188016115e0565b9450505050509250929050565b600082601f8301126116b357600080fd5b8135602067ffffffffffffffff8211156116cf576116cf611599565b8160051b6116de8282016115af565b92835284810182019282810190878511156116f857600080fd5b83870192505b848310156114f0578235825291830191908301906116fe565b6000806040838503121561172a57600080fd5b823567ffffffffffffffff8082111561174257600080fd5b61174e868387016116a2565b9350602085013591508082111561176457600080fd5b50611771858286016116a2565b9150509250929050565b60006020828403121561178d57600080fd5b5035919050565b6000806000606084860312156117a957600080fd5b833592506117b9602085016115e0565b9150604084013590509250925092565b8015158114610a8257600080fd5b600080604083850312156117ea57600080fd5b8235915060208301356117fc816117c9565b809150509250929050565b60006020828403121561181957600080fd5b611822826115e0565b9392505050565b60005b8381101561184457818101518382015260200161182c565b50506000910152565b60008151808452611865816020860160208601611829565b601f01601f19169290920160200192915050565b602081526000611822602083018461184d565b6020808252825182820181905260009190848201906040850190845b818110156118cd5783516001600160a01b0316835292840192918401916001016118a8565b50909695505050505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561192e57603f1988860301845261191c85835161184d565b94509285019290850190600101611900565b5092979650505050505050565b60008060006060848603121561195057600080fd5b611959846115e0565b9250602084013567ffffffffffffffff8082111561197657600080fd5b611982878388016116a2565b9350604086013591508082111561199857600080fd5b506119a5868287016116a2565b9150509250925092565b600082516119c1818460208701611829565b9190910192915050565b634e487b7160e01b600052603260045260246000fd5b600181811c908216806119f557607f821691505b602082108103611a1557634e487b7160e01b600052602260045260246000fd5b50919050565b6000808354611a29816119e1565b60018281168015611a415760018114611a5657611a85565b60ff1984168752821515830287019450611a85565b8760005260208060002060005b85811015611a7c5781548a820152908401908201611a63565b50505082870194505b50929695505050505050565b634e487b7160e01b600052601160045260246000fd5b80820180821115611aba57611aba611a91565b92915050565b838152606060208201526000611ad9606083018561184d565b905060018060a01b0383166040830152949350505050565b600060018201611b0357611b03611a91565b5060010190565b81810381811115611aba57611aba611a91565b634e487b7160e01b600052603160045260246000fd5b601f82111561052557600081815260208120601f850160051c81016020861015611b5a5750805b601f850160051c820191505b81811015611b7957828155600101611b66565b505050505050565b815167ffffffffffffffff811115611b9b57611b9b611599565b611baf81611ba984546119e1565b84611b33565b602080601f831160018114611be45760008415611bcc5750858301515b600019600386901b1c1916600185901b178555611b79565b600085815260208120601f198616915b82811015611c1357888601518255948401946001909101908401611bf4565b5085821015611c315787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215611c5357600080fd5b8151611822816117c956fea2646970667358221220402802a6e86b746815e5e8deb2b9cdceefd3859fb6f4031018d6b92ee0357f7464736f6c63430008130033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000f0e27721a502716b3554e81949760be5741c6f5f000000000000000000000000ad96fdeb090bd8f9186d8808c3bbc59d95bf8f41000000000000000000000000000000000000000000000000000000000000000b000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000003a000000000000000000000000000000000000000000000000000000000000003e000000000000000000000000000000000000000000000000000000000000000054b6172616b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054c696e656100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d6f6e61640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005417a75726f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006507566666572000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055461696b6f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000065363726f6c6c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044e696c650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d656e646900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000085374617267617465000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a5374616b6573746f6e6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b00000000000000000000000084a062636fa9c653645e93ace69ebc0bc2297544000000000000000000000000d9348779ff75be0e31fd2c7c2180c242658febae00000000000000000000000056a85eace64aab2da245aecd96d62d2c5e862529000000000000000000000000b2cee9221b857b86dab5ce9123874707c77006ba0000000000000000000000008cd75b8768259aa9fe6b8f217cce4e37cac8e76d0000000000000000000000002bd866f401ab7af785bf1b2d0eec4767997f9cc20000000000000000000000000d9aecfa37a855ae00d6d0a825e607ffeb919fe00000000000000000000000004e48bbde7c3d73238494aa52f5dac295b2cb7918000000000000000000000000bb9a772c475101af4d32118faed80a28f82a1f8a000000000000000000000000da3b676f4edb8a96b7ba93d603dbab2e2af23a00000000000000000000000000991b04b0d539c6d7714d7622f1662c32454e15a9

Deployed Bytecode

0x60806040526004361061011f5760003560e01c80638456cb59116100a0578063ce6dfadb11610064578063ce6dfadb14610328578063d3c7c2c71461035e578063f2fde38b14610380578063f434bb68146103a0578063f681f65a146103c257600080fd5b80638456cb59146102675780638c3962201461027c5780638d75ef67146102a95780638da5cb5b146102f7578063a694fc3a1461031557600080fd5b80635cb6cfc7116100e75780635cb6cfc7146101d25780636bb32608146101f25780636d69fcaf14610212578063715018a614610232578063763191901461024757600080fd5b8063085aba34146101245780632c583bf3146101465780633f4ba83a14610159578063530ec9a11461016e5780635c975abb146101b3575b600080fd5b34801561013057600080fd5b5061014461013f3660046115fc565b6103e2565b005b610144610154366004611717565b61052b565b34801561016557600080fd5b50610144610651565b34801561017a57600080fd5b5061019e61018936600461177b565b60036020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b3480156101bf57600080fd5b50600054600160a01b900460ff1661019e565b3480156101de57600080fd5b506101446101ed366004611794565b610663565b3480156101fe57600080fd5b5061014461020d3660046117d7565b6106d8565b34801561021e57600080fd5b5061014461022d366004611807565b6107b1565b34801561023e57600080fd5b50610144610864565b34801561025357600080fd5b50610144610262366004611807565b610876565b34801561027357600080fd5b506101446109a3565b34801561028857600080fd5b5061029c61029736600461177b565b6109b3565b6040516101aa9190611879565b3480156102b557600080fd5b506102df6102c436600461177b565b6002602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101aa565b34801561030357600080fd5b506000546001600160a01b03166102df565b61014461032336600461177b565b610a5f565b34801561033457600080fd5b506102df61034336600461177b565b6000908152600260205260409020546001600160a01b031690565b34801561036a57600080fd5b50610373610a85565b6040516101aa919061188c565b34801561038c57600080fd5b5061014461039b366004611807565b610ae7565b3480156103ac57600080fd5b506103b5610b5d565b6040516101aa91906118d9565b3480156103ce57600080fd5b506101446103dd36600461193b565b610c36565b6103ea610d36565b6001600160a01b0381166104115760405163c825500160e01b815260040160405180910390fd5b60045460005b8181101561051a578360405160200161043091906119af565b6040516020818303038152906040528051906020012060048281548110610459576104596119cb565b906000526020600020016040516020016104739190611a1b565b604051602081830303815290604052805190602001200361050857600061049b826001611aa7565b6000818152600260205260409081902080546001600160a01b0319166001600160a01b038816179055519091507f7dd8ffdcd2ccb9b0f3f3ddb2928047a881eab9d5ac08757468a08c9d078814f3906104f990839088908890611ac0565b60405180910390a15050505050565b8061051281611af1565b915050610417565b506105258383610d90565b505b5050565b610533610e82565b61053b610ecf565b805182513491600091146105625760405163048e2b7f60e41b815260040160405180910390fd5b600a8451111561058557604051635200145360e01b815260040160405180910390fd5b60005b84518110156105ca578381815181106105a3576105a36119cb565b6020026020010151826105b69190611aa7565b9150806105c281611af1565b915050610588565b508181146105eb576040516311e6012960e01b815260040160405180910390fd5b60005b84518110156106455761063385828151811061060c5761060c6119cb565b6020026020010151858381518110610626576106266119cb565b6020026020010151610f28565b8061063d81611af1565b9150506105ee565b50505061052760018055565b610659610d36565b610661611035565b565b61066b610e82565b6001600160a01b038216600090815260066020526040902054829060ff166106b65760405163799c107f60e11b81526001600160a01b03821660048201526024015b60405180910390fd5b6106be610ecf565b6106c984848461108a565b6106d260018055565b50505050565b6106e0610d36565b6000828152600260205260409020546001600160a01b031661071557604051633c8f475960e01b815260040160405180910390fd5b60008281526003602052604090205481151560ff9091161515036107575760405163f4091bb560e01b81526004810183905281151560248201526044016106ad565b600082815260036020908152604091829020805460ff19168415159081179091558251858152918201527f837e140d77345d035fa5a122b62a86b4bedc07200343fe4e52d32ea433039d9891015b60405180910390a15050565b6107b9610d36565b6001600160a01b03811660009081526006602052604090205460ff16156107fe576040516331f9242360e11b81526001600160a01b03821660048201526024016106ad565b6001600160a01b03166000818152600660205260408120805460ff191660019081179091556007805491820181559091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880180546001600160a01b0319169091179055565b61086c610d36565b61066160006111b6565b61087e610d36565b6001600160a01b0381166000908152600660205260408120805460ff19169055600754905b8181101561052557826001600160a01b0316600782815481106108c8576108c86119cb565b6000918252602090912001546001600160a01b0316036109915760076108ef600184611b0a565b815481106108ff576108ff6119cb565b600091825260209091200154600780546001600160a01b03909216918390811061092b5761092b6119cb565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600780548061096a5761096a611b1d565b600082815260209020810160001990810180546001600160a01b0319169055019055610525565b8061099b81611af1565b9150506108a3565b6109ab610d36565b610661611206565b600481815481106109c357600080fd5b9060005260206000200160009150905080546109de906119e1565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0a906119e1565b8015610a575780601f10610a2c57610100808354040283529160200191610a57565b820191906000526020600020905b815481529060010190602001808311610a3a57829003601f168201915b505050505081565b610a67610e82565b610a6f610ecf565b610a798134610f28565b610a8260018055565b50565b60606007805480602002602001604051908101604052809291908181526020018280548015610add57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610abf575b5050505050905090565b610aef610d36565b6001600160a01b038116610b545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106ad565b610a82816111b6565b60606004805480602002602001604051908101604052809291908181526020016000905b82821015610c2d578382906000526020600020018054610ba0906119e1565b80601f0160208091040260200160405190810160405280929190818152602001828054610bcc906119e1565b8015610c195780601f10610bee57610100808354040283529160200191610c19565b820191906000526020600020905b815481529060010190602001808311610bfc57829003601f168201915b505050505081526020019060010190610b81565b50505050905090565b610c3e610e82565b6001600160a01b038316600090815260066020526040902054839060ff16610c845760405163799c107f60e11b81526001600160a01b03821660048201526024016106ad565b610c8c610ecf565b8151835114610cae5760405163048e2b7f60e41b815260040160405180910390fd5b600a83511115610cd157604051635200145360e01b815260040160405180910390fd5b60005b8351811015610d2c57610d1a848281518110610cf257610cf26119cb565b602002602001015186858481518110610d0d57610d0d6119cb565b602002602001015161108a565b80610d2481611af1565b915050610cd4565b506106d260018055565b6000546001600160a01b031633146106615760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106ad565b6001600160a01b038116610db75760405163c825500160e01b815260040160405180910390fd5b60058054906000610dc783611af1565b9091555050600480546001810182556000919091527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01610e088382611b81565b5060058054600090815260026020908152604080832080546001600160a01b0319166001600160a01b03871617905583548352600390915290819020805460ff19166001179055905490517fb23175a7672d7a3f1ee8d6475a301b6ca026e7defa7bef314817383e8c01c2ef916107a59185908590611ac0565b600054600160a01b900460ff16156106615760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016106ad565b600260015403610f215760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106ad565b6002600155565b8080600003610f4a57604051630c3bd76360e11b815260040160405180910390fd5b6000838152600260205260409020546001600160a01b031680610f8057604051633c8f475960e01b815260040160405180910390fd5b60008481526003602052604090205460ff16610fb257604051631088cc6360e01b8152600481018590526024016106ad565b604080516001600160a01b038316815260208101859052339186917f984a71c9d95fd4794aeba33ae72edfec22053fde75488d63abef9dc69ee795af910160405180910390a36040516001600160a01b0382169084156108fc029085906000818181858888f1935050505015801561102e573d6000803e3d6000fd5b5050505050565b61103d611249565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b80806000036110ac57604051630c3bd76360e11b815260040160405180910390fd5b6001600160a01b0383166110d35760405163c825500160e01b815260040160405180910390fd5b60008481526003602052604090205460ff1661110557604051631088cc6360e01b8152600481018590526024016106ad565b6000848152600260205260409020546001600160a01b03168061113b57604051633c8f475960e01b815260040160405180910390fd5b6111506001600160a01b038516333086611299565b6111646001600160a01b0385168285611304565b604080516001600160a01b0383811682526020820186905233929087169188917fe5ff1b420754c867685d10b000c2b31b0ef0d30a281e8e8bdc7e04d159e1d717910160405180910390a45050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61120e610e82565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861106d3390565b600054600160a01b900460ff166106615760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016106ad565b6040516001600160a01b03808516602483015283166044820152606481018290526106d29085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611334565b6040516001600160a01b03831660248201526044810182905261052590849063a9059cbb60e01b906064016112cd565b6000611389826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166114099092919063ffffffff16565b90508051600014806113aa5750808060200190518101906113aa9190611c41565b6105255760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016106ad565b60606114188484600085611420565b949350505050565b6060824710156114815760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016106ad565b600080866001600160a01b0316858760405161149d91906119af565b60006040518083038185875af1925050503d80600081146114da576040519150601f19603f3d011682016040523d82523d6000602084013e6114df565b606091505b50915091506114f0878383876114fb565b979650505050505050565b6060831561156a578251600003611563576001600160a01b0385163b6115635760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016106ad565b5081611418565b611418838381511561157f5781518083602001fd5b8060405162461bcd60e51b81526004016106ad9190611879565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156115d8576115d8611599565b604052919050565b80356001600160a01b03811681146115f757600080fd5b919050565b6000806040838503121561160f57600080fd5b823567ffffffffffffffff8082111561162757600080fd5b818501915085601f83011261163b57600080fd5b813560208282111561164f5761164f611599565b611661601f8301601f191682016115af565b9250818352878183860101111561167757600080fd5b818185018285013760008183850101528295506116958188016115e0565b9450505050509250929050565b600082601f8301126116b357600080fd5b8135602067ffffffffffffffff8211156116cf576116cf611599565b8160051b6116de8282016115af565b92835284810182019282810190878511156116f857600080fd5b83870192505b848310156114f0578235825291830191908301906116fe565b6000806040838503121561172a57600080fd5b823567ffffffffffffffff8082111561174257600080fd5b61174e868387016116a2565b9350602085013591508082111561176457600080fd5b50611771858286016116a2565b9150509250929050565b60006020828403121561178d57600080fd5b5035919050565b6000806000606084860312156117a957600080fd5b833592506117b9602085016115e0565b9150604084013590509250925092565b8015158114610a8257600080fd5b600080604083850312156117ea57600080fd5b8235915060208301356117fc816117c9565b809150509250929050565b60006020828403121561181957600080fd5b611822826115e0565b9392505050565b60005b8381101561184457818101518382015260200161182c565b50506000910152565b60008151808452611865816020860160208601611829565b601f01601f19169290920160200192915050565b602081526000611822602083018461184d565b6020808252825182820181905260009190848201906040850190845b818110156118cd5783516001600160a01b0316835292840192918401916001016118a8565b50909695505050505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561192e57603f1988860301845261191c85835161184d565b94509285019290850190600101611900565b5092979650505050505050565b60008060006060848603121561195057600080fd5b611959846115e0565b9250602084013567ffffffffffffffff8082111561197657600080fd5b611982878388016116a2565b9350604086013591508082111561199857600080fd5b506119a5868287016116a2565b9150509250925092565b600082516119c1818460208701611829565b9190910192915050565b634e487b7160e01b600052603260045260246000fd5b600181811c908216806119f557607f821691505b602082108103611a1557634e487b7160e01b600052602260045260246000fd5b50919050565b6000808354611a29816119e1565b60018281168015611a415760018114611a5657611a85565b60ff1984168752821515830287019450611a85565b8760005260208060002060005b85811015611a7c5781548a820152908401908201611a63565b50505082870194505b50929695505050505050565b634e487b7160e01b600052601160045260246000fd5b80820180821115611aba57611aba611a91565b92915050565b838152606060208201526000611ad9606083018561184d565b905060018060a01b0383166040830152949350505050565b600060018201611b0357611b03611a91565b5060010190565b81810381811115611aba57611aba611a91565b634e487b7160e01b600052603160045260246000fd5b601f82111561052557600081815260208120601f850160051c81016020861015611b5a5750805b601f850160051c820191505b81811015611b7957828155600101611b66565b505050505050565b815167ffffffffffffffff811115611b9b57611b9b611599565b611baf81611ba984546119e1565b84611b33565b602080601f831160018114611be45760008415611bcc5750858301515b600019600386901b1c1916600185901b178555611b79565b600085815260208120601f198616915b82811015611c1357888601518255948401946001909101908401611bf4565b5085821015611c315787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215611c5357600080fd5b8151611822816117c956fea2646970667358221220402802a6e86b746815e5e8deb2b9cdceefd3859fb6f4031018d6b92ee0357f7464736f6c63430008130033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000f0e27721a502716b3554e81949760be5741c6f5f000000000000000000000000ad96fdeb090bd8f9186d8808c3bbc59d95bf8f41000000000000000000000000000000000000000000000000000000000000000b000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000003a000000000000000000000000000000000000000000000000000000000000003e000000000000000000000000000000000000000000000000000000000000000054b6172616b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054c696e656100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d6f6e61640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005417a75726f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006507566666572000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055461696b6f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000065363726f6c6c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044e696c650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d656e646900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000085374617267617465000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a5374616b6573746f6e6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b00000000000000000000000084a062636fa9c653645e93ace69ebc0bc2297544000000000000000000000000d9348779ff75be0e31fd2c7c2180c242658febae00000000000000000000000056a85eace64aab2da245aecd96d62d2c5e862529000000000000000000000000b2cee9221b857b86dab5ce9123874707c77006ba0000000000000000000000008cd75b8768259aa9fe6b8f217cce4e37cac8e76d0000000000000000000000002bd866f401ab7af785bf1b2d0eec4767997f9cc20000000000000000000000000d9aecfa37a855ae00d6d0a825e607ffeb919fe00000000000000000000000004e48bbde7c3d73238494aa52f5dac295b2cb7918000000000000000000000000bb9a772c475101af4d32118faed80a28f82a1f8a000000000000000000000000da3b676f4edb8a96b7ba93d603dbab2e2af23a00000000000000000000000000991b04b0d539c6d7714d7622f1662c32454e15a9

-----Decoded View---------------
Arg [0] : _supportedTokens (address[]): 0xF0E27721a502716B3554e81949760be5741c6f5F,0xAD96fDeb090BD8f9186d8808C3bbC59D95bF8F41
Arg [1] : _protocols (string[]): Karak,Linea,Monad,Azuro,Puffer,Taiko,Scroll,Nile,Mendi,Stargate,Stakestone
Arg [2] : _addresses (address[]): 0x84A062636Fa9c653645e93ace69EBC0Bc2297544,0xd9348779FF75be0e31fd2C7C2180C242658fEbae,0x56a85EaCE64aaB2da245aECD96D62d2c5e862529,0xb2CEe9221b857B86Dab5Ce9123874707c77006Ba,0x8Cd75B8768259AA9fE6B8f217ccE4e37CAC8e76D,0x2Bd866F401aB7Af785bf1b2D0Eec4767997f9Cc2,0x0d9aecfA37a855AE00d6D0a825e607ffEB919FE0,0x4e48bbDE7c3d73238494Aa52f5daC295B2cB7918,0xBb9a772C475101aF4d32118FaEd80a28f82A1f8A,0xdA3B676F4EDb8a96B7Ba93d603DbAB2E2aF23A00,0x991B04B0D539C6D7714D7622f1662c32454E15a9

-----Encoded View---------------
52 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000500
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [4] : 000000000000000000000000f0e27721a502716b3554e81949760be5741c6f5f
Arg [5] : 000000000000000000000000ad96fdeb090bd8f9186d8808c3bbc59d95bf8f41
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [8] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [9] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [12] : 00000000000000000000000000000000000000000000000000000000000002a0
Arg [13] : 00000000000000000000000000000000000000000000000000000000000002e0
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000320
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000360
Arg [16] : 00000000000000000000000000000000000000000000000000000000000003a0
Arg [17] : 00000000000000000000000000000000000000000000000000000000000003e0
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [19] : 4b6172616b000000000000000000000000000000000000000000000000000000
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [21] : 4c696e6561000000000000000000000000000000000000000000000000000000
Arg [22] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [23] : 4d6f6e6164000000000000000000000000000000000000000000000000000000
Arg [24] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [25] : 417a75726f000000000000000000000000000000000000000000000000000000
Arg [26] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [27] : 5075666665720000000000000000000000000000000000000000000000000000
Arg [28] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [29] : 5461696b6f000000000000000000000000000000000000000000000000000000
Arg [30] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [31] : 5363726f6c6c0000000000000000000000000000000000000000000000000000
Arg [32] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [33] : 4e696c6500000000000000000000000000000000000000000000000000000000
Arg [34] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [35] : 4d656e6469000000000000000000000000000000000000000000000000000000
Arg [36] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [37] : 5374617267617465000000000000000000000000000000000000000000000000
Arg [38] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [39] : 5374616b6573746f6e6500000000000000000000000000000000000000000000
Arg [40] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [41] : 00000000000000000000000084a062636fa9c653645e93ace69ebc0bc2297544
Arg [42] : 000000000000000000000000d9348779ff75be0e31fd2c7c2180c242658febae
Arg [43] : 00000000000000000000000056a85eace64aab2da245aecd96d62d2c5e862529
Arg [44] : 000000000000000000000000b2cee9221b857b86dab5ce9123874707c77006ba
Arg [45] : 0000000000000000000000008cd75b8768259aa9fe6b8f217cce4e37cac8e76d
Arg [46] : 0000000000000000000000002bd866f401ab7af785bf1b2d0eec4767997f9cc2
Arg [47] : 0000000000000000000000000d9aecfa37a855ae00d6d0a825e607ffeb919fe0
Arg [48] : 0000000000000000000000004e48bbde7c3d73238494aa52f5dac295b2cb7918
Arg [49] : 000000000000000000000000bb9a772c475101af4d32118faed80a28f82a1f8a
Arg [50] : 000000000000000000000000da3b676f4edb8a96b7ba93d603dbab2e2af23a00
Arg [51] : 000000000000000000000000991b04b0d539c6d7714d7622f1662c32454e15a9


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ 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.