ETH Price: $3,490.50 (+0.07%)
Gas: 2 Gwei

Contract

0xaE7db356c82401B111134041533AB490906C8ED5
 

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw Stakes180929472023-09-08 16:40:23316 days ago1694191223IN
0xaE7db356...0906C8ED5
0 ETH0.0011884931.35548975
Withdraw Payroll...177937532023-07-28 19:52:35358 days ago1690573955IN
0xaE7db356...0906C8ED5
0 ETH0.0236685644.5890203
Withdraw Payroll...177936972023-07-28 19:40:59358 days ago1690573259IN
0xaE7db356...0906C8ED5
0 ETH0.0042047543.53608736
Pay Payroll177079692023-07-16 19:36:23370 days ago1689536183IN
0xaE7db356...0906C8ED5
0 ETH0.0014913316.86933064
Pay Payroll176141482023-07-03 14:52:11383 days ago1688395931IN
0xaE7db356...0906C8ED5
0 ETH0.0023029726.05031959
Pay Payroll174738652023-06-13 21:52:23403 days ago1686693143IN
0xaE7db356...0906C8ED5
0 ETH0.0014351116.23340475
Pay Payroll173590202023-05-28 17:31:47419 days ago1685295107IN
0xaE7db356...0906C8ED5
0 ETH0.0024257927.4433434
Pay Payroll172893412023-05-18 22:15:59429 days ago1684448159IN
0xaE7db356...0906C8ED5
0 ETH0.0033710638.13724086
Withdraw Stakes172884532023-05-18 19:16:11429 days ago1684437371IN
0xaE7db356...0906C8ED5
0 ETH0.0131275483.82478865
Withdraw Payroll...172884462023-05-18 19:14:47429 days ago1684437287IN
0xaE7db356...0906C8ED5
0 ETH0.0109452196.29022107
Pay Payroll172818002023-05-17 20:48:23430 days ago1684356503IN
0xaE7db356...0906C8ED5
0 ETH0.0052907959.85539061
Withdraw Payroll...172813302023-05-17 19:13:23430 days ago1684350803IN
0xaE7db356...0906C8ED5
0 ETH0.0819113370.07875075
Pay Payroll172805032023-05-17 16:23:59430 days ago1684340639IN
0xaE7db356...0906C8ED5
0 ETH0.0042896860.45635808
Pay Payroll172803722023-05-17 15:57:11430 days ago1684339031IN
0xaE7db356...0906C8ED5
0 ETH0.0037009552.15920671
Pay Payroll172803442023-05-17 15:51:35430 days ago1684338695IN
0xaE7db356...0906C8ED5
0 ETH0.004204259.25172839
Pay Payroll172799822023-05-17 14:37:23430 days ago1684334243IN
0xaE7db356...0906C8ED5
0 ETH0.0061929570.06158723
Pay Payroll172798132023-05-17 14:02:35430 days ago1684332155IN
0xaE7db356...0906C8ED5
0 ETH0.0070505779.75312069
Pay Payroll172776172023-05-17 6:35:23431 days ago1684305323IN
0xaE7db356...0906C8ED5
0 ETH0.0039031844.15714711
Pay Payroll172773862023-05-17 5:47:59431 days ago1684302479IN
0xaE7db356...0906C8ED5
0 ETH0.0031939436.13351263
Pay Payroll172770972023-05-17 4:49:35431 days ago1684298975IN
0xaE7db356...0906C8ED5
0 ETH0.0035638550.22695044
Pay Payroll172770452023-05-17 4:39:11431 days ago1684298351IN
0xaE7db356...0906C8ED5
0 ETH0.0039422544.59312781
Pay Payroll172768602023-05-17 4:01:59431 days ago1684296119IN
0xaE7db356...0906C8ED5
0 ETH0.0045106451.02945783
Pay Payroll172766632023-05-17 3:21:11431 days ago1684293671IN
0xaE7db356...0906C8ED5
0 ETH0.0040679846.02160909
Pay Payroll172766632023-05-17 3:21:11431 days ago1684293671IN
0xaE7db356...0906C8ED5
0 ETH0.0047541755.92160909
Pay Payroll172765822023-05-17 3:04:59431 days ago1684292699IN
0xaE7db356...0906C8ED5
0 ETH0.0032237436.47062392
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
171595162023-04-30 14:40:11447 days ago1682865611
0xaE7db356...0906C8ED5
0.72494721 ETH
170536332023-04-15 16:39:35462 days ago1681576775
0xaE7db356...0906C8ED5
0.01810571 ETH
169449032023-03-31 4:47:23478 days ago1680238043
0xaE7db356...0906C8ED5
0.22589054 ETH
169058092023-03-25 16:57:23483 days ago1679763443
0xaE7db356...0906C8ED5
0.22849823 ETH
165234002023-01-31 1:03:23537 days ago1675127003
0xaE7db356...0906C8ED5
0.50139302 ETH
162280392022-12-20 19:36:59578 days ago1671565019
0xaE7db356...0906C8ED5
0.03128874 ETH
162263732022-12-20 14:01:59578 days ago1671544919
0xaE7db356...0906C8ED5
0.03145583 ETH
161863282022-12-14 23:49:59584 days ago1671061799
0xaE7db356...0906C8ED5
0.03058291 ETH
161783402022-12-13 21:04:11585 days ago1670965451
0xaE7db356...0906C8ED5
1.64117812 ETH
161353512022-12-07 20:55:47591 days ago1670446547
0xaE7db356...0906C8ED5
0.03088005 ETH
161350262022-12-07 19:50:35591 days ago1670442635
0xaE7db356...0906C8ED5
0.03389115 ETH
160996512022-12-02 20:56:35596 days ago1670014595
0xaE7db356...0906C8ED5
0.03018563 ETH
158274952022-10-25 20:32:47634 days ago1666729967
0xaE7db356...0906C8ED5
0.06368485 ETH
157970112022-10-21 14:15:11638 days ago1666361711
0xaE7db356...0906C8ED5
0.33346794 ETH
157422172022-10-13 22:37:47646 days ago1665700667
0xaE7db356...0906C8ED5
0.30622994 ETH
153168632022-08-10 21:54:04710 days ago1660168444
0xaE7db356...0906C8ED5
0.21284835 ETH
152659242022-08-02 23:00:31718 days ago1659481231
0xaE7db356...0906C8ED5
0.05632136 ETH
151741662022-07-19 16:38:17732 days ago1658248697
0xaE7db356...0906C8ED5
0.03204698 ETH
151712362022-07-19 5:40:51733 days ago1658209251
0xaE7db356...0906C8ED5
0.0628995 ETH
151500552022-07-15 22:50:42736 days ago1657925442
0xaE7db356...0906C8ED5
0.05400227 ETH
150770642022-07-04 16:17:29747 days ago1656951449
0xaE7db356...0906C8ED5
0.06159972 ETH
148815222022-05-31 23:23:34781 days ago1654039414
0xaE7db356...0906C8ED5
0.34962608 ETH
148814112022-05-31 22:56:49781 days ago1654037809
0xaE7db356...0906C8ED5
0.03215712 ETH
148804282022-05-31 19:04:04781 days ago1654023844
0xaE7db356...0906C8ED5
0.77568586 ETH
148335542022-05-24 3:53:33789 days ago1653364413
0xaE7db356...0906C8ED5
0.02647289 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
OpolisPay

Compiler Version
v0.8.5+commit.a4f2e591

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : OpolisPay.sol
pragma solidity 0.8.5;

// SPDX-License-Identifier: LGPLv3
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

/// @notice custom errors for revert statements

/// @dev requires privileged access
error NotPermitted();

/// @dev not a whitelisted token
error NotWhitelisted();

/// @dev payroll id equals zero
error InvalidPayroll();

/// @dev payroll id used
error DuplicatePayroll();

/// @dev amount equals zero
error InvalidAmount();

/// @dev sender is not a member
error NotMember();

/// @dev stake must be a non zero amount of whitelisted token
/// or non zero amount of eth
error InvalidStake();

/// @dev stake must be a non zero amount of whitelisted token
/// or non zero amount of eth
error InvalidWithdraw();

/// @dev setting one of the role to zero address
error ZeroAddress();

/// @dev withdrawing non whitelisted token
error InvalidToken();

/// @dev whitelisting and empty list of tokens
error ZeroTokens();

/// @dev token has already been whitelisted
error AlreadyWhitelisted();

/// @dev sending eth directly to contract address
error DirectTransfer();

/// @title OpolisPay
/// @notice Minimalist Contract for Crypto Payroll Payments
contract OpolisPay is ReentrancyGuard {
    using SafeERC20 for IERC20;

    address internal constant ETH = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;
    address internal constant ZERO = address(0);

    address[] public supportedTokens; //Tokens that can be sent. 
    address private opolisAdmin; //Should be Opolis multi-sig for security
    address payable private destination; // Where funds are liquidated 
    address private opolisHelper; //Can be bot wallet for convenience
    
    event SetupComplete(address indexed destination, address indexed admin, address indexed helper, address[] tokens);
    event Staked(address indexed staker, address indexed token, uint256 amount, uint256 indexed memberId, uint256 stakeNumber);
    event Paid(address indexed payor, address indexed token, uint256 indexed payrollId, uint256 amount); 
    event OpsPayrollWithdraw(address indexed token, uint256 indexed payrollId, uint256 amount);
    event OpsStakeWithdraw(address indexed token, uint256 indexed stakeId, uint256 stakeNumber, uint256 amount);
    event Sweep(address indexed token, uint256 amount);
    event NewDestination(address indexed oldDestination, address indexed destination);
    event NewAdmin(address indexed oldAdmin, address indexed opolisAdmin);
    event NewHelper(address indexed oldHelper, address indexed newHelper);
    event NewTokens(address[] newTokens);
    
    mapping (uint256 => uint256) private stakes; //Tracks used stake ids
    mapping (uint256 => bool) private payrollIds; //Tracks used payroll ids
    mapping (uint256 => bool) public payrollWithdrawn; //Tracks payroll withdrawals
    mapping (uint256 => uint256) public stakeWithdrawn; //Tracks stake withdrawals
    mapping (address => bool) public whitelisted; //Tracks whitelisted tokens
    
    modifier onlyAdmin {
        if(msg.sender != opolisAdmin) revert NotPermitted();
        _;
    }
    
    modifier onlyOpolis {
        if (!(msg.sender == opolisAdmin || msg.sender == opolisHelper)) revert NotPermitted();
        _;
    }
    
    /// @notice launches contract with a destination as the Opolis wallet, the admins, and a token whitelist
    /// @param _destination the address where payroll and stakes will be sent when withdrawn 
    /// @param _opolisAdmin the multi-sig which is the ultimate admin 
    /// @param _opolisHelper meant to allow for a bot to handle less sensitive items 
    /// @param _tokenList initial whitelist of tokens for staking and payroll 
    
    constructor (
        address payable _destination,
        address _opolisAdmin,
        address _opolisHelper,
        address[] memory _tokenList
    ) {
        destination = _destination; 
        opolisAdmin = _opolisAdmin;
        opolisHelper = _opolisHelper;
        
        for (uint256 i = 0; i < _tokenList.length; i++) {
            _addToken(_tokenList[i]);
        }
        
        emit SetupComplete(destination, opolisAdmin, opolisHelper, _tokenList);

    }
    
    /********************************************************************************
                             CORE PAYROLL FUNCTIONS 
     *******************************************************************************/
     
     /// @notice core function for members to pay their payroll 
     /// @param token the token being used to pay for their payroll 
     /// @param amount the amount due for their payroll -- up to user / front-end to match 
     /// @param payrollId the way we'll associate payments with members' invoices 
     
    function payPayroll(address token, uint256 amount, uint256 payrollId) external nonReentrant {
        
        if (!whitelisted[token]) revert NotWhitelisted();
        if (payrollId == 0) revert InvalidPayroll();
        if (amount == 0) revert InvalidAmount();
        if (payrollIds[payrollId]) revert DuplicatePayroll();
        
        IERC20(token).safeTransferFrom(msg.sender, address(this), amount);
        payrollIds[payrollId] = true;
        
        emit Paid(msg.sender, token, payrollId, amount); 
    }
    
    /// @notice staking function that allows for both ETH and whitelisted ERC20  
    /// @param token the token being used to stake 
    /// @param amount the amount due for staking -- up to user / front-end to match 
    /// @param memberId the way we'll associate the stake with a new member 
    
    function memberStake(address token, uint256 amount, uint256 memberId) public payable nonReentrant {
        if (
            !(
                (whitelisted[token] && amount !=0) || (token == ETH && msg.value != 0)
            )
        ) revert InvalidStake();
        if (memberId == 0) revert NotMember();

        // @dev increments the stake id for each member
        uint stakeCount = ++stakes[memberId]; 
        
        // @dev function for auto transfering out stakes 

        if (msg.value > 0 && token == ETH){
            (bool success, ) = destination.call{value: msg.value}("");
            require(success, "Transfer failed.");
            emit Staked(msg.sender, ETH, msg.value, memberId, stakes[memberId]);
        } else {
            IERC20(token).safeTransferFrom(msg.sender, address(this), amount);
            emit Staked(msg.sender, token, amount, memberId, stakeCount);
        }
        
    }

    /// @notice withdraw function for admin or OpsBot to call   
    /// @param _payrollIds the paid payrolls we want to clear out 
    /// @param _payrollTokens the tokens the payrolls were paid in
    /// @param _payrollAmounts the amount that was paid
    /// @dev we iterate through payrolls and clear them out with the funds being sent to the destination address
    function withdrawPayrolls(
        uint256[] calldata _payrollIds,
        address[] calldata _payrollTokens,
        uint256[] calldata _payrollAmounts
    ) external onlyOpolis {
        uint256[] memory withdrawAmounts = new uint256[](supportedTokens.length);
        for (uint256 i = 0; i < _payrollIds.length; i++){
            uint256 id = _payrollIds[i];
            if (!payrollIds[id]) revert InvalidPayroll();

            address token = _payrollTokens[i];
            uint256 amount = _payrollAmounts[i];
            
            if (!payrollWithdrawn[id]) {
                uint256 j;
                for (; j < supportedTokens.length; j++) {
                    if (supportedTokens[j] == token) {
                        withdrawAmounts[j] += amount;
                        break;
                    }
                }
                if (j == supportedTokens.length) revert InvalidToken();
                payrollWithdrawn[id] = true;
                
                emit OpsPayrollWithdraw(token, id, amount);
            }
        }

        for (uint256 i = 0; i < withdrawAmounts.length; i++){
            uint256 amount = withdrawAmounts[i];
            if (amount > 0) {
                _withdraw(supportedTokens[i], amount);
            }
        }
    }

    /// @notice withdraw function for admin or OpsBot to call   
    /// @param _stakeIds the paid stakes id we want to clear out 
    /// @param _stakeNum the particular stake number associated with that id
    /// @param _stakeTokens the tokens the stakes were paid in
    /// @param _stakeAmounts the amount that was paid
    /// @dev we iterate through stakes and clear them out with the funds being sent to the destination address
    function withdrawStakes(
        uint256[] calldata _stakeIds,
        uint256[] calldata _stakeNum, 
        address[] calldata _stakeTokens,
        uint256[] calldata _stakeAmounts
    ) external onlyOpolis {
        uint256[] memory withdrawAmounts = new uint256[](supportedTokens.length);
        if(_stakeIds.length != _stakeNum.length) revert InvalidWithdraw();

        for (uint256 i = 0; i < _stakeIds.length; i++){

            uint256 id = _stakeIds[i];
            address token = _stakeTokens[i];
            uint256 amount = _stakeAmounts[i];
            uint256 num = _stakeNum[i];
            
            if (stakeWithdrawn[id] < num) {
                uint256 j;
                for (; j < supportedTokens.length; j++) {
                    if (supportedTokens[j] == token) {
                        withdrawAmounts[j] += amount;
                        break;
                    }
                }
                if (j == supportedTokens.length) revert InvalidToken();
                stakeWithdrawn[id] = num;
                
                emit OpsStakeWithdraw(token, id, num, amount);
            }
        }

        for (uint256 i = 0; i < withdrawAmounts.length; i++){
            uint256 amount = withdrawAmounts[i];
            if (amount > 0) {
                _withdraw(supportedTokens[i], amount);
            }
        }
    }
    
    /// @notice clearBalance() is meant to be a safety function to be used for stuck funds or upgrades
    /// @dev will mark any non-withdrawn payrolls as withdrawn
    
    function clearBalance() public onlyAdmin {
        
        for (uint256 i = 0; i < supportedTokens.length; i++){
            address token = supportedTokens[i];
            uint256 balance = IERC20(token).balanceOf(address(this));
            
            if(balance > 0){
                _withdraw(token, balance); 
            }
            emit Sweep(token, balance);
        }

    }

    /// @notice fallback function to prevent accidental ether transfers
    /// @dev if someone tries to send ether directly to the contract the tx will fail

    receive() external payable {
        revert DirectTransfer();
    }
    
    
    /********************************************************************************
                             ADMIN FUNCTIONS 
     *******************************************************************************/

    /// @notice this function is used to adjust where member funds are sent by contract
    /// @param newDestination is the new address where funds are sent (assumes it's payable exchange address)
    /// @dev must be called by Opolis Admin multi-sig
    
    function updateDestination(address payable newDestination) external onlyAdmin returns (address){
        
        if (newDestination == ZERO) revert ZeroAddress();

        emit NewDestination(destination, newDestination);
        destination = newDestination;
        
        return destination;
    }
    
    /// @notice this function is used to replace the admin multi-sig
    /// @param newAdmin is the new admin address
    /// @dev this should always be a mulit-sig 
    
    function updateAdmin(address newAdmin) external onlyAdmin returns (address){
        
        if (newAdmin == ZERO) revert ZeroAddress();

        emit NewAdmin(opolisAdmin, newAdmin);
        opolisAdmin = newAdmin;
      
        return opolisAdmin;
    }
    
    /// @notice this function is used to replace a bot 
    /// @param newHelper is the new bot address
    /// @dev this can be a hot wallet, since it has limited powers
    
    function updateHelper(address newHelper) external onlyAdmin returns (address){
        
        if (newHelper == ZERO) revert ZeroAddress();

        emit NewHelper(opolisHelper, newHelper);
        opolisHelper = newHelper;
      
        return opolisHelper;
    }
    
    /// @notice this function is used to add new whitelisted tokens
    /// @param newTokens are the tokens to be whitelisted
    /// @dev restricted to admin b/c this is a business / compliance decision 
    
    function addTokens(address[] memory newTokens) external onlyAdmin {
        
        if (newTokens.length == 0) revert ZeroTokens();
        
        for (uint256 i = 0; i < newTokens.length; i ++){
            _addToken(newTokens[i]);
        }
        
         emit NewTokens(newTokens);  
    }
    
    /********************************************************************************
                             INTERNAL FUNCTIONS 
     *******************************************************************************/
    
    function _addToken(address token) internal {
        if (whitelisted[token]) revert AlreadyWhitelisted();
        if (token == ZERO) revert ZeroAddress();
        supportedTokens.push(token);
        whitelisted[token] = true;
        
    }

    function _withdraw(address token, uint256 amount) internal {
        IERC20(token).safeTransfer(destination, amount);
    }
    
}

File 2 of 5 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 3 of 5 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 5 of 5 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address payable","name":"_destination","type":"address"},{"internalType":"address","name":"_opolisAdmin","type":"address"},{"internalType":"address","name":"_opolisHelper","type":"address"},{"internalType":"address[]","name":"_tokenList","type":"address[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyWhitelisted","type":"error"},{"inputs":[],"name":"DirectTransfer","type":"error"},{"inputs":[],"name":"DuplicatePayroll","type":"error"},{"inputs":[],"name":"InvalidAmount","type":"error"},{"inputs":[],"name":"InvalidPayroll","type":"error"},{"inputs":[],"name":"InvalidStake","type":"error"},{"inputs":[],"name":"InvalidToken","type":"error"},{"inputs":[],"name":"InvalidWithdraw","type":"error"},{"inputs":[],"name":"NotMember","type":"error"},{"inputs":[],"name":"NotPermitted","type":"error"},{"inputs":[],"name":"NotWhitelisted","type":"error"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"inputs":[],"name":"ZeroTokens","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldAdmin","type":"address"},{"indexed":true,"internalType":"address","name":"opolisAdmin","type":"address"}],"name":"NewAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldDestination","type":"address"},{"indexed":true,"internalType":"address","name":"destination","type":"address"}],"name":"NewDestination","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldHelper","type":"address"},{"indexed":true,"internalType":"address","name":"newHelper","type":"address"}],"name":"NewHelper","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"newTokens","type":"address[]"}],"name":"NewTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"uint256","name":"payrollId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"OpsPayrollWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"uint256","name":"stakeId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"stakeNumber","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"OpsStakeWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"payor","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"uint256","name":"payrollId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Paid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"destination","type":"address"},{"indexed":true,"internalType":"address","name":"admin","type":"address"},{"indexed":true,"internalType":"address","name":"helper","type":"address"},{"indexed":false,"internalType":"address[]","name":"tokens","type":"address[]"}],"name":"SetupComplete","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"staker","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"memberId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"stakeNumber","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Sweep","type":"event"},{"inputs":[{"internalType":"address[]","name":"newTokens","type":"address[]"}],"name":"addTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"clearBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"memberId","type":"uint256"}],"name":"memberStake","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"payrollId","type":"uint256"}],"name":"payPayroll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"payrollWithdrawn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stakeWithdrawn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"supportedTokens","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"updateAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newDestination","type":"address"}],"name":"updateDestination","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newHelper","type":"address"}],"name":"updateHelper","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_payrollIds","type":"uint256[]"},{"internalType":"address[]","name":"_payrollTokens","type":"address[]"},{"internalType":"uint256[]","name":"_payrollAmounts","type":"uint256[]"}],"name":"withdrawPayrolls","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_stakeIds","type":"uint256[]"},{"internalType":"uint256[]","name":"_stakeNum","type":"uint256[]"},{"internalType":"address[]","name":"_stakeTokens","type":"address[]"},{"internalType":"uint256[]","name":"_stakeAmounts","type":"uint256[]"}],"name":"withdrawStakes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b5060405162001d7438038062001d74833981016040819052620000349162000200565b60016000908155600380546001600160a01b038088166001600160a01b0319928316179092556002805487841690831617905560048054928616929091169190911790555b8151811015620000c557620000b08282815181106200009c576200009c62000394565b60200260200101516200012760201b60201c565b80620000bc816200036a565b91505062000079565b506004546002546003546040516001600160a01b039384169392831692909116907f059502f82893012df56d8a901fe2753d2b6ddee2f2b0445ee88f83ff5461a5b090620001159086906200031b565b60405180910390a450505050620003d9565b6001600160a01b03811660009081526009602052604090205460ff1615620001625760405163b73e95e160e01b815260040160405180910390fd5b6001600160a01b0381166200018a5760405163d92e233d60e01b815260040160405180910390fd5b6001805480820182557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf60180546001600160a01b039093166001600160a01b031990931683179055600091825260096020526040909120805460ff19169091179055565b8051620001fb81620003c0565b919050565b600080600080608085870312156200021757600080fd5b84516200022481620003c0565b809450506020808601516200023981620003c0565b60408701519094506200024c81620003c0565b60608701519093506001600160401b03808211156200026a57600080fd5b818801915088601f8301126200027f57600080fd5b815181811115620002945762000294620003aa565b8060051b604051601f19603f83011681018181108582111715620002bc57620002bc620003aa565b604052828152858101935084860182860187018d1015620002dc57600080fd5b600095505b838610156200030a57620002f581620001ee565b855260019590950194938601938601620002e1565b50989b979a50959850505050505050565b6020808252825182820181905260009190848201906040850190845b818110156200035e5783516001600160a01b03168352928401929184019160010162000337565b50909695505050505050565b60006000198214156200038d57634e487b7160e01b600052601160045260246000fd5b5060010190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114620003d657600080fd5b50565b61198b80620003e96000396000f3fe6080604052600436106100c65760003560e01c8063c62556261161007f578063d936547e11610059578063d936547e1461024b578063db6188281461027b578063e2f273bd1461029b578063e5e388bb146102bb57600080fd5b8063c6255626146101d6578063caf5f67d146101f6578063d3f73c941461020b57600080fd5b806302d5f05f146100e95780634ae05c7d1461010b578063605acecc1461012b5780638bcc41661461014b57806391d194a314610188578063ae12f971146101c357600080fd5b366100e457604051633ebdb28f60e11b815260040160405180910390fd5b600080fd5b3480156100f557600080fd5b50610109610104366004611550565b6102db565b005b34801561011757600080fd5b50610109610126366004611585565b61045d565b34801561013757600080fd5b50610109610146366004611651565b610522565b34801561015757600080fd5b5061016b610166366004611533565b61080e565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561019457600080fd5b506101b56101a33660046117d1565b60086020526000908152604090205481565b60405190815260200161017f565b6101096101d1366004611550565b6108c2565b3480156101e257600080fd5b5061016b6101f13660046117d1565b610b64565b34801561020257600080fd5b50610109610b8e565b34801561021757600080fd5b5061023b6102263660046117d1565b60076020526000908152604090205460ff1681565b604051901515815260200161017f565b34801561025757600080fd5b5061023b610266366004611533565b60096020526000908152604090205460ff1681565b34801561028757600080fd5b5061016b610296366004611533565b610cce565b3480156102a757600080fd5b5061016b6102b6366004611533565b610d80565b3480156102c757600080fd5b506101096102d63660046116eb565b610e32565b600260005414156103335760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260009081556001600160a01b03841681526009602052604090205460ff1661037057604051630b094f2760e31b815260040160405180910390fd5b8061038e57604051635061173760e11b815260040160405180910390fd5b816103ac5760405163162908e360e11b815260040160405180910390fd5b60008181526006602052604090205460ff16156103dc57604051631242148d60e31b815260040160405180910390fd5b6103f16001600160a01b038416333085611107565b60008181526006602052604090819020805460ff191660011790555181906001600160a01b0385169033907f26c4308021cef5cdbc618fee8b61faf9de6b8f7e4e49fac43869dc1a267564089061044b9087815260200190565b60405180910390a45050600160005550565b6002546001600160a01b03163314610488576040516339218f3b60e01b815260040160405180910390fd5b80516104a75760405163b98a411360e01b815260040160405180910390fd5b60005b81518110156104e7576104d58282815181106104c8576104c8611914565b6020026020010151611178565b806104df816118e3565b9150506104aa565b507f0323710caee4bbd99b793827658c2afaf98cde0475755b2adf24c5696f8ae21f81604051610517919061181f565b60405180910390a150565b6002546001600160a01b031633148061054557506004546001600160a01b031633145b610562576040516339218f3b60e01b815260040160405180910390fd5b60015460009067ffffffffffffffff8111156105805761058061192a565b6040519080825280602002602001820160405280156105a9578160200160208202803683370190505b50905060005b8681101561078c5760008888838181106105cb576105cb611914565b60209081029290920135600081815260069093526040909220549192505060ff1661060957604051635061173760e11b815260040160405180910390fd5b600087878481811061061d5761061d611914565b90506020020160208101906106329190611533565b9050600086868581811061064857610648611914565b6000868152600760209081526040909120549102929092013592505060ff166107765760005b6001548110156106f157826001600160a01b03166001828154811061069557610695611914565b6000918252602090912001546001600160a01b031614156106df57818682815181106106c3576106c3611914565b602002602001018181516106d7919061189f565b9052506106f1565b806106e9816118e3565b91505061066e565b6001548114156107145760405163c1ab6dc160e01b815260040160405180910390fd5b60008481526007602052604090819020805460ff191660011790555184906001600160a01b038516907f23a7eb1713e2646208e5402f77075131401665dadd2911c8bf37896fd71f44d09061076c9086815260200190565b60405180910390a3505b5050508080610784906118e3565b9150506105af565b5060005b81518110156108045760008282815181106107ad576107ad611914565b6020026020010151905060008111156107f1576107f1600183815481106107d6576107d6611914565b6000918252602090912001546001600160a01b03168261123d565b50806107fc816118e3565b915050610790565b5050505050505050565b6002546000906001600160a01b0316331461083c576040516339218f3b60e01b815260040160405180910390fd5b6001600160a01b0382166108635760405163d92e233d60e01b815260040160405180910390fd5b6004546040516001600160a01b038085169216907f06bc331032840de3e44179cee67a8860508a9c70737f1e433476e3a9a255b25f90600090a350600480546001600160a01b0319166001600160a01b0383169081179091555b919050565b600260005414156109155760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161032a565b600260009081556001600160a01b03841681526009602052604090205460ff16801561094057508115155b8061097157506001600160a01b03831673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14801561097157503415155b61098e57604051634eba4d4960e11b815260040160405180910390fd5b806109ac5760405163148fe22160e11b815260040160405180910390fd5b6000818152600560205260408120805482906109c7906118e3565b9182905550905034158015906109f957506001600160a01b03841673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee145b15610afb576003546040516000916001600160a01b03169034908381818185875af1925050503d8060008114610a4b576040519150601f19603f3d011682016040523d82523d6000602084013e610a50565b606091505b5050905080610a945760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b604482015260640161032a565b60008381526005602090815260409182902054825134815291820152849173eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee9133917fad3fa07f4195b47e64892eb944ecbfc253384053c119852bb2bcae484c2fcb69910160405180910390a450610b59565b610b106001600160a01b038516333086611107565b604080518481526020810183905283916001600160a01b0387169133917fad3fa07f4195b47e64892eb944ecbfc253384053c119852bb2bcae484c2fcb69910160405180910390a45b505060016000555050565b60018181548110610b7457600080fd5b6000918252602090912001546001600160a01b0316905081565b6002546001600160a01b03163314610bb9576040516339218f3b60e01b815260040160405180910390fd5b60005b600154811015610ccb57600060018281548110610bdb57610bdb611914565b60009182526020822001546040516370a0823160e01b81523060048201526001600160a01b03909116925082906370a082319060240160206040518083038186803b158015610c2957600080fd5b505afa158015610c3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6191906117ea565b90508015610c7357610c73828261123d565b816001600160a01b03167fab2246061d7b0dd3631d037e3f6da75782ae489eeb9f6af878a4b25df9b07c7782604051610cae91815260200190565b60405180910390a250508080610cc3906118e3565b915050610bbc565b50565b6002546000906001600160a01b03163314610cfc576040516339218f3b60e01b815260040160405180910390fd5b6001600160a01b038216610d235760405163d92e233d60e01b815260040160405180910390fd5b6003546040516001600160a01b038085169216907f5662a56151879759562c4e646bbca8471680ed23e402348f78399ef8ba87c2a990600090a350600380546001600160a01b0319166001600160a01b0392909216918217905590565b6002546000906001600160a01b03163314610dae576040516339218f3b60e01b815260040160405180910390fd5b6001600160a01b038216610dd55760405163d92e233d60e01b815260040160405180910390fd5b6002546040516001600160a01b038085169216907ff9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc90600090a350600280546001600160a01b0319166001600160a01b0392909216918217905590565b6002546001600160a01b0316331480610e5557506004546001600160a01b031633145b610e72576040516339218f3b60e01b815260040160405180910390fd5b60015460009067ffffffffffffffff811115610e9057610e9061192a565b604051908082528060200260200182016040528015610eb9578160200160208202803683370190505b509050878614610edc576040516335411d8b60e01b815260040160405180910390fd5b60005b8881101561109e5760008a8a83818110610efb57610efb611914565b9050602002013590506000878784818110610f1857610f18611914565b9050602002016020810190610f2d9190611533565b90506000868685818110610f4357610f43611914565b90506020020135905060008b8b86818110610f6057610f60611914565b90506020020135905080600860008681526020019081526020016000205410156110875760005b60015481101561100a57836001600160a01b031660018281548110610fae57610fae611914565b6000918252602090912001546001600160a01b03161415610ff85782878281518110610fdc57610fdc611914565b60200260200101818151610ff0919061189f565b90525061100a565b80611002816118e3565b915050610f87565b60015481141561102d5760405163c1ab6dc160e01b815260040160405180910390fd5b600085815260086020908152604091829020849055815184815290810185905286916001600160a01b038716917fc7c2927bbf2a3cafe5c51105d5ee1aba33d0016c7192d1bb15128f25917414ee910160405180910390a3505b505050508080611096906118e3565b915050610edf565b5060005b81518110156110fb5760008282815181106110bf576110bf611914565b6020026020010151905060008111156110e8576110e8600183815481106107d6576107d6611914565b50806110f3816118e3565b9150506110a2565b50505050505050505050565b6040516001600160a01b03808516602483015283166044820152606481018290526111729085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261125b565b50505050565b6001600160a01b03811660009081526009602052604090205460ff16156111b25760405163b73e95e160e01b815260040160405180910390fd5b6001600160a01b0381166111d95760405163d92e233d60e01b815260040160405180910390fd5b6001805480820182557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf60180546001600160a01b039093166001600160a01b031990931683179055600091825260096020526040909120805460ff19169091179055565b600354611257906001600160a01b03848116911683611332565b5050565b60006112b0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166113629092919063ffffffff16565b80519091501561132d57808060200190518101906112ce91906117af565b61132d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161032a565b505050565b6040516001600160a01b03831660248201526044810182905261132d90849063a9059cbb60e01b9060640161113b565b6060611371848460008561137b565b90505b9392505050565b6060824710156113dc5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161032a565b843b61142a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161032a565b600080866001600160a01b031685876040516114469190611803565b60006040518083038185875af1925050503d8060008114611483576040519150601f19603f3d011682016040523d82523d6000602084013e611488565b606091505b50915091506114988282866114a3565b979650505050505050565b606083156114b2575081611374565b8251156114c25782518084602001fd5b8160405162461bcd60e51b815260040161032a919061186c565b80356108bd81611940565b60008083601f8401126114f957600080fd5b50813567ffffffffffffffff81111561151157600080fd5b6020830191508360208260051b850101111561152c57600080fd5b9250929050565b60006020828403121561154557600080fd5b813561137481611940565b60008060006060848603121561156557600080fd5b833561157081611940565b95602085013595506040909401359392505050565b6000602080838503121561159857600080fd5b823567ffffffffffffffff808211156115b057600080fd5b818501915085601f8301126115c457600080fd5b8135818111156115d6576115d661192a565b8060051b604051601f19603f830116810181811085821117156115fb576115fb61192a565b604052828152858101935084860182860187018a101561161a57600080fd5b600095505b8386101561164457611630816114dc565b85526001959095019493860193860161161f565b5098975050505050505050565b6000806000806000806060878903121561166a57600080fd5b863567ffffffffffffffff8082111561168257600080fd5b61168e8a838b016114e7565b909850965060208901359150808211156116a757600080fd5b6116b38a838b016114e7565b909650945060408901359150808211156116cc57600080fd5b506116d989828a016114e7565b979a9699509497509295939492505050565b6000806000806000806000806080898b03121561170757600080fd5b883567ffffffffffffffff8082111561171f57600080fd5b61172b8c838d016114e7565b909a50985060208b013591508082111561174457600080fd5b6117508c838d016114e7565b909850965060408b013591508082111561176957600080fd5b6117758c838d016114e7565b909650945060608b013591508082111561178e57600080fd5b5061179b8b828c016114e7565b999c989b5096995094979396929594505050565b6000602082840312156117c157600080fd5b8151801515811461137457600080fd5b6000602082840312156117e357600080fd5b5035919050565b6000602082840312156117fc57600080fd5b5051919050565b600082516118158184602087016118b7565b9190910192915050565b6020808252825182820181905260009190848201906040850190845b818110156118605783516001600160a01b03168352928401929184019160010161183b565b50909695505050505050565b602081526000825180602084015261188b8160408501602087016118b7565b601f01601f19169190910160400192915050565b600082198211156118b2576118b26118fe565b500190565b60005b838110156118d25781810151838201526020016118ba565b838111156111725750506000910152565b60006000198214156118f7576118f76118fe565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610ccb57600080fdfea264697066735822122006df1d3b27f800a3e5526f9ca6b9a66ff63d715cdde08d777bb5e6f0c7fba12264736f6c63430008050033000000000000000000000000d7fb19f642aef171ff5eafc327247188d5a6fa2900000000000000000000000016e46dec73c0d372b461718869fba264ec08b1370000000000000000000000003d7098bf88675f09fb0c1c746dbe41af2686387a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000030000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7

Deployed Bytecode

0x6080604052600436106100c65760003560e01c8063c62556261161007f578063d936547e11610059578063d936547e1461024b578063db6188281461027b578063e2f273bd1461029b578063e5e388bb146102bb57600080fd5b8063c6255626146101d6578063caf5f67d146101f6578063d3f73c941461020b57600080fd5b806302d5f05f146100e95780634ae05c7d1461010b578063605acecc1461012b5780638bcc41661461014b57806391d194a314610188578063ae12f971146101c357600080fd5b366100e457604051633ebdb28f60e11b815260040160405180910390fd5b600080fd5b3480156100f557600080fd5b50610109610104366004611550565b6102db565b005b34801561011757600080fd5b50610109610126366004611585565b61045d565b34801561013757600080fd5b50610109610146366004611651565b610522565b34801561015757600080fd5b5061016b610166366004611533565b61080e565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561019457600080fd5b506101b56101a33660046117d1565b60086020526000908152604090205481565b60405190815260200161017f565b6101096101d1366004611550565b6108c2565b3480156101e257600080fd5b5061016b6101f13660046117d1565b610b64565b34801561020257600080fd5b50610109610b8e565b34801561021757600080fd5b5061023b6102263660046117d1565b60076020526000908152604090205460ff1681565b604051901515815260200161017f565b34801561025757600080fd5b5061023b610266366004611533565b60096020526000908152604090205460ff1681565b34801561028757600080fd5b5061016b610296366004611533565b610cce565b3480156102a757600080fd5b5061016b6102b6366004611533565b610d80565b3480156102c757600080fd5b506101096102d63660046116eb565b610e32565b600260005414156103335760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260009081556001600160a01b03841681526009602052604090205460ff1661037057604051630b094f2760e31b815260040160405180910390fd5b8061038e57604051635061173760e11b815260040160405180910390fd5b816103ac5760405163162908e360e11b815260040160405180910390fd5b60008181526006602052604090205460ff16156103dc57604051631242148d60e31b815260040160405180910390fd5b6103f16001600160a01b038416333085611107565b60008181526006602052604090819020805460ff191660011790555181906001600160a01b0385169033907f26c4308021cef5cdbc618fee8b61faf9de6b8f7e4e49fac43869dc1a267564089061044b9087815260200190565b60405180910390a45050600160005550565b6002546001600160a01b03163314610488576040516339218f3b60e01b815260040160405180910390fd5b80516104a75760405163b98a411360e01b815260040160405180910390fd5b60005b81518110156104e7576104d58282815181106104c8576104c8611914565b6020026020010151611178565b806104df816118e3565b9150506104aa565b507f0323710caee4bbd99b793827658c2afaf98cde0475755b2adf24c5696f8ae21f81604051610517919061181f565b60405180910390a150565b6002546001600160a01b031633148061054557506004546001600160a01b031633145b610562576040516339218f3b60e01b815260040160405180910390fd5b60015460009067ffffffffffffffff8111156105805761058061192a565b6040519080825280602002602001820160405280156105a9578160200160208202803683370190505b50905060005b8681101561078c5760008888838181106105cb576105cb611914565b60209081029290920135600081815260069093526040909220549192505060ff1661060957604051635061173760e11b815260040160405180910390fd5b600087878481811061061d5761061d611914565b90506020020160208101906106329190611533565b9050600086868581811061064857610648611914565b6000868152600760209081526040909120549102929092013592505060ff166107765760005b6001548110156106f157826001600160a01b03166001828154811061069557610695611914565b6000918252602090912001546001600160a01b031614156106df57818682815181106106c3576106c3611914565b602002602001018181516106d7919061189f565b9052506106f1565b806106e9816118e3565b91505061066e565b6001548114156107145760405163c1ab6dc160e01b815260040160405180910390fd5b60008481526007602052604090819020805460ff191660011790555184906001600160a01b038516907f23a7eb1713e2646208e5402f77075131401665dadd2911c8bf37896fd71f44d09061076c9086815260200190565b60405180910390a3505b5050508080610784906118e3565b9150506105af565b5060005b81518110156108045760008282815181106107ad576107ad611914565b6020026020010151905060008111156107f1576107f1600183815481106107d6576107d6611914565b6000918252602090912001546001600160a01b03168261123d565b50806107fc816118e3565b915050610790565b5050505050505050565b6002546000906001600160a01b0316331461083c576040516339218f3b60e01b815260040160405180910390fd5b6001600160a01b0382166108635760405163d92e233d60e01b815260040160405180910390fd5b6004546040516001600160a01b038085169216907f06bc331032840de3e44179cee67a8860508a9c70737f1e433476e3a9a255b25f90600090a350600480546001600160a01b0319166001600160a01b0383169081179091555b919050565b600260005414156109155760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161032a565b600260009081556001600160a01b03841681526009602052604090205460ff16801561094057508115155b8061097157506001600160a01b03831673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14801561097157503415155b61098e57604051634eba4d4960e11b815260040160405180910390fd5b806109ac5760405163148fe22160e11b815260040160405180910390fd5b6000818152600560205260408120805482906109c7906118e3565b9182905550905034158015906109f957506001600160a01b03841673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee145b15610afb576003546040516000916001600160a01b03169034908381818185875af1925050503d8060008114610a4b576040519150601f19603f3d011682016040523d82523d6000602084013e610a50565b606091505b5050905080610a945760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b604482015260640161032a565b60008381526005602090815260409182902054825134815291820152849173eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee9133917fad3fa07f4195b47e64892eb944ecbfc253384053c119852bb2bcae484c2fcb69910160405180910390a450610b59565b610b106001600160a01b038516333086611107565b604080518481526020810183905283916001600160a01b0387169133917fad3fa07f4195b47e64892eb944ecbfc253384053c119852bb2bcae484c2fcb69910160405180910390a45b505060016000555050565b60018181548110610b7457600080fd5b6000918252602090912001546001600160a01b0316905081565b6002546001600160a01b03163314610bb9576040516339218f3b60e01b815260040160405180910390fd5b60005b600154811015610ccb57600060018281548110610bdb57610bdb611914565b60009182526020822001546040516370a0823160e01b81523060048201526001600160a01b03909116925082906370a082319060240160206040518083038186803b158015610c2957600080fd5b505afa158015610c3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6191906117ea565b90508015610c7357610c73828261123d565b816001600160a01b03167fab2246061d7b0dd3631d037e3f6da75782ae489eeb9f6af878a4b25df9b07c7782604051610cae91815260200190565b60405180910390a250508080610cc3906118e3565b915050610bbc565b50565b6002546000906001600160a01b03163314610cfc576040516339218f3b60e01b815260040160405180910390fd5b6001600160a01b038216610d235760405163d92e233d60e01b815260040160405180910390fd5b6003546040516001600160a01b038085169216907f5662a56151879759562c4e646bbca8471680ed23e402348f78399ef8ba87c2a990600090a350600380546001600160a01b0319166001600160a01b0392909216918217905590565b6002546000906001600160a01b03163314610dae576040516339218f3b60e01b815260040160405180910390fd5b6001600160a01b038216610dd55760405163d92e233d60e01b815260040160405180910390fd5b6002546040516001600160a01b038085169216907ff9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc90600090a350600280546001600160a01b0319166001600160a01b0392909216918217905590565b6002546001600160a01b0316331480610e5557506004546001600160a01b031633145b610e72576040516339218f3b60e01b815260040160405180910390fd5b60015460009067ffffffffffffffff811115610e9057610e9061192a565b604051908082528060200260200182016040528015610eb9578160200160208202803683370190505b509050878614610edc576040516335411d8b60e01b815260040160405180910390fd5b60005b8881101561109e5760008a8a83818110610efb57610efb611914565b9050602002013590506000878784818110610f1857610f18611914565b9050602002016020810190610f2d9190611533565b90506000868685818110610f4357610f43611914565b90506020020135905060008b8b86818110610f6057610f60611914565b90506020020135905080600860008681526020019081526020016000205410156110875760005b60015481101561100a57836001600160a01b031660018281548110610fae57610fae611914565b6000918252602090912001546001600160a01b03161415610ff85782878281518110610fdc57610fdc611914565b60200260200101818151610ff0919061189f565b90525061100a565b80611002816118e3565b915050610f87565b60015481141561102d5760405163c1ab6dc160e01b815260040160405180910390fd5b600085815260086020908152604091829020849055815184815290810185905286916001600160a01b038716917fc7c2927bbf2a3cafe5c51105d5ee1aba33d0016c7192d1bb15128f25917414ee910160405180910390a3505b505050508080611096906118e3565b915050610edf565b5060005b81518110156110fb5760008282815181106110bf576110bf611914565b6020026020010151905060008111156110e8576110e8600183815481106107d6576107d6611914565b50806110f3816118e3565b9150506110a2565b50505050505050505050565b6040516001600160a01b03808516602483015283166044820152606481018290526111729085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261125b565b50505050565b6001600160a01b03811660009081526009602052604090205460ff16156111b25760405163b73e95e160e01b815260040160405180910390fd5b6001600160a01b0381166111d95760405163d92e233d60e01b815260040160405180910390fd5b6001805480820182557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf60180546001600160a01b039093166001600160a01b031990931683179055600091825260096020526040909120805460ff19169091179055565b600354611257906001600160a01b03848116911683611332565b5050565b60006112b0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166113629092919063ffffffff16565b80519091501561132d57808060200190518101906112ce91906117af565b61132d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161032a565b505050565b6040516001600160a01b03831660248201526044810182905261132d90849063a9059cbb60e01b9060640161113b565b6060611371848460008561137b565b90505b9392505050565b6060824710156113dc5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161032a565b843b61142a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161032a565b600080866001600160a01b031685876040516114469190611803565b60006040518083038185875af1925050503d8060008114611483576040519150601f19603f3d011682016040523d82523d6000602084013e611488565b606091505b50915091506114988282866114a3565b979650505050505050565b606083156114b2575081611374565b8251156114c25782518084602001fd5b8160405162461bcd60e51b815260040161032a919061186c565b80356108bd81611940565b60008083601f8401126114f957600080fd5b50813567ffffffffffffffff81111561151157600080fd5b6020830191508360208260051b850101111561152c57600080fd5b9250929050565b60006020828403121561154557600080fd5b813561137481611940565b60008060006060848603121561156557600080fd5b833561157081611940565b95602085013595506040909401359392505050565b6000602080838503121561159857600080fd5b823567ffffffffffffffff808211156115b057600080fd5b818501915085601f8301126115c457600080fd5b8135818111156115d6576115d661192a565b8060051b604051601f19603f830116810181811085821117156115fb576115fb61192a565b604052828152858101935084860182860187018a101561161a57600080fd5b600095505b8386101561164457611630816114dc565b85526001959095019493860193860161161f565b5098975050505050505050565b6000806000806000806060878903121561166a57600080fd5b863567ffffffffffffffff8082111561168257600080fd5b61168e8a838b016114e7565b909850965060208901359150808211156116a757600080fd5b6116b38a838b016114e7565b909650945060408901359150808211156116cc57600080fd5b506116d989828a016114e7565b979a9699509497509295939492505050565b6000806000806000806000806080898b03121561170757600080fd5b883567ffffffffffffffff8082111561171f57600080fd5b61172b8c838d016114e7565b909a50985060208b013591508082111561174457600080fd5b6117508c838d016114e7565b909850965060408b013591508082111561176957600080fd5b6117758c838d016114e7565b909650945060608b013591508082111561178e57600080fd5b5061179b8b828c016114e7565b999c989b5096995094979396929594505050565b6000602082840312156117c157600080fd5b8151801515811461137457600080fd5b6000602082840312156117e357600080fd5b5035919050565b6000602082840312156117fc57600080fd5b5051919050565b600082516118158184602087016118b7565b9190910192915050565b6020808252825182820181905260009190848201906040850190845b818110156118605783516001600160a01b03168352928401929184019160010161183b565b50909695505050505050565b602081526000825180602084015261188b8160408501602087016118b7565b601f01601f19169190910160400192915050565b600082198211156118b2576118b26118fe565b500190565b60005b838110156118d25781810151838201526020016118ba565b838111156111725750506000910152565b60006000198214156118f7576118f76118fe565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610ccb57600080fdfea264697066735822122006df1d3b27f800a3e5526f9ca6b9a66ff63d715cdde08d777bb5e6f0c7fba12264736f6c63430008050033

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

000000000000000000000000d7fb19f642aef171ff5eafc327247188d5a6fa2900000000000000000000000016e46dec73c0d372b461718869fba264ec08b1370000000000000000000000003d7098bf88675f09fb0c1c746dbe41af2686387a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000030000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7

-----Decoded View---------------
Arg [0] : _destination (address): 0xd7FB19F642AeF171ff5EAFC327247188d5A6FA29
Arg [1] : _opolisAdmin (address): 0x16e46dec73c0D372b461718869Fba264eC08b137
Arg [2] : _opolisHelper (address): 0x3d7098bF88675F09Fb0c1c746dbe41aF2686387A
Arg [3] : _tokenList (address[]): 0x6B175474E89094C44Da98b954EedeAC495271d0F,0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48,0xdAC17F958D2ee523a2206206994597C13D831ec7

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 000000000000000000000000d7fb19f642aef171ff5eafc327247188d5a6fa29
Arg [1] : 00000000000000000000000016e46dec73c0d372b461718869fba264ec08b137
Arg [2] : 0000000000000000000000003d7098bf88675f09fb0c1c746dbe41af2686387a
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [5] : 0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f
Arg [6] : 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Arg [7] : 000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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