Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Latest 11 from a total of 11 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Disassemble | 24220044 | 12 days ago | IN | 0 ETH | 0.00002391 | ||||
| Disassemble | 24026221 | 39 days ago | IN | 0 ETH | 0.00002208 | ||||
| Disassemble | 23837643 | 65 days ago | IN | 0 ETH | 0.00020299 | ||||
| Disassemble | 23779086 | 74 days ago | IN | 0 ETH | 0.00001953 | ||||
| Transfer Ownersh... | 23685582 | 87 days ago | IN | 0 ETH | 0.00001405 | ||||
| Approve Token | 23685563 | 87 days ago | IN | 0 ETH | 0.00003134 | ||||
| Add Executor | 23685559 | 87 days ago | IN | 0 ETH | 0.00002282 | ||||
| Add Executor | 23685557 | 87 days ago | IN | 0 ETH | 0.00002537 | ||||
| Approve Token | 23685556 | 87 days ago | IN | 0 ETH | 0.00002838 | ||||
| Approve Token | 23685555 | 87 days ago | IN | 0 ETH | 0.0000308 | ||||
| Approve Token | 23685554 | 87 days ago | IN | 0 ETH | 0.00003266 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
YieldPositionOwnable2StepWithShortcut
Compiler Version
v0.8.22+commit.4fc1097e
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* SPDX-License-Identifier: UNLICENSED */
pragma solidity ^0.8.0;
import './YieldPosition.sol';
import '@itb/quant-common/contracts/solidity8/utils/Ownable2StepWithShortcut.sol';
contract YieldPositionOwnable2StepWithShortcut is YieldPosition, Ownable2StepWithShortcut {
constructor(address[] memory _executors, address payable _wnative, address _underlying, address _vault, address _merkle_distributor) YieldPosition(_executors, _wnative, _underlying, _vault, _merkle_distributor) {}
}/* SPDX-License-Identifier: UNLICENSED */
pragma solidity ^0.8.15;
interface IERC20WrapperLocked {
function withdrawToByLockTimestamps(address account, uint[] memory lockTimestamps, bool allowRemainderLoss) external returns (bool);
function getLockedAmounts(address account) external view returns (uint[] memory lock_timestamps, uint[] memory amounts);
function getWithdrawAmountsByLockTimestamp(address account, uint lockTimestamp) external view returns (uint unlocked, uint locked);
}/* SPDX-License-Identifier: UNLICENSED */
pragma solidity ^0.8.15;
interface IEVault {
function deposit(uint amount, address receiver) external returns (uint);
function redeem(uint amount, address receiver, address owner) external returns (uint);
function maxWithdraw(address owner) external view returns (uint);
function maxRedeem(address owner) external view returns (uint);
function maxDeposit(address account) external view returns (uint);
function convertToAssets(uint shares) external view returns (uint);
function convertToShares(uint assets) external view returns (uint);
function asset() external view returns (address);
function totalAssets() external view returns (uint);
function totalSupply() external view returns (uint);
function interestRate() external view returns (uint);
function cash() external view returns (uint);
function totalBorrows() external view returns (uint);
function interestFee() external view returns (uint);
}/* SPDX-License-Identifier: UNLICENSED */
pragma solidity ^0.8.15;
interface IMerkleDistributor {
function claim(address[] calldata users, address[] calldata tokens, uint256[] calldata amounts, bytes32[][] calldata proofs) external;
function claimed(address user, address token) external view returns (uint208 amount, uint48 timestamp, bytes32 merkleRoot);
}/* SPDX-License-Identifier: UNLICENSED */
pragma solidity ^0.8.15;
import './PositionManagerHolder.sol';
/// @title PositionManager for EulerV2
/// @author IntoTheBlock Corp
contract PositionManager is PositionManagerHolder {
event Deposit(address indexed caller, address token, address vault, uint amount, uint lpt_change);
event Redeem(address indexed caller, address token, address vault, uint amount, uint lpt_change);
event Assemble();
event Disassemble();
event ClaimLockedRewards(address indexed caller, address reward_token, uint[] lock_timestamps, uint[] amounts);
/// @param _executors Executor addresses
/// @param _wnative Wrapped native token address
/// @param _vault vault address
/// @param _merkle_distributor reward distributor address
constructor(address[] memory _executors, address payable _wnative, address _underlying, address _vault, address _merkle_distributor) PositionManagerHolder(_executors, _wnative, _underlying, _vault, _merkle_distributor) {}
modifier hasConfig() {
require(position_config.vault != address(0), 'A3'); // position_config is missing
_;
}
/// @param _underlying underlying address
/// @param _vault vault address
function updatePositionConfig(address _underlying, address _vault) public override onlyOwner {
require(IEVault(_vault).asset() == _underlying);
position_config = PositionConfig(_underlying, _vault);
emit UpdatePositionConfig(msg.sender, _underlying, _vault);
}
/* Primitives */
/// @notice Deposits the underlying token into the vault and returns the equivalent lpt_out
/// @param _amount underlying token amount
/// @param _min_lpt_out min lpt out
/// @return lpt_out lpt out
function deposit(uint _amount, uint _min_lpt_out) public onlyExecutor hasConfig returns (uint lpt_out) {
PositionConfig memory c = position_config;
lpt_out = IEVault(c.vault).deposit(_amount, address(this));
require(lpt_out >= _min_lpt_out, 'D1'); // Insufficient lpt_out
emit Deposit(msg.sender, c.underlying, c.vault, _amount, lpt_out);
}
/// @notice Deposits the entire balance of the underlying token into the vault and returns the equivalent lpt_out
/// @param _min_lpt_out min lpt out
/// @return lpt_out lpt out
function assemble(uint _min_lpt_out) public virtual onlyExecutor hasConfig returns (uint lpt_out) {
PositionConfig memory c = position_config;
uint underlying_amount = _erc20Balance(c.underlying);
lpt_out = deposit(underlying_amount, _min_lpt_out);
emit Assemble();
}
/// @notice Redeems the specified lpt amount for the underlying token in the vault.
/// @param _lpt_amount amount to redeem
/// @param _min_out minimum amount of underlying token to receive
/// @return amount_out amount of underlying token to receive
function redeem(uint _lpt_amount, uint _min_out) public onlyExecutor hasConfig returns (uint amount_out) {
PositionConfig memory c = position_config;
amount_out = IEVault(c.vault).redeem(_lpt_amount, address(this), address(this));
require(amount_out >= _min_out, 'R1'); // Insufficient amount_out
emit Redeem(msg.sender, c.underlying, c.vault, amount_out, _lpt_amount);
}
/// @notice Redeems a percentage-based amount of lpt for the underlying token in the vault
/// @param _percentage Percentage of the total position to redeem
/// @param _min_out minimum amount of underlying token to receive
/// @return amount_out amount of underlying token to receive
function disassemble(uint _percentage, uint _min_out) public onlyExecutor hasConfig returns (uint amount_out) {
require(_percentage <= ONE, 'P1');
if (_percentage == 0)
return 0;
uint lpt_change = _percentageAmount(getLPTBalance(), _percentage);
amount_out = redeem(lpt_change, _min_out);
emit Disassemble();
}
/// @notice Redeems the entire position of lpt for the underlying token in the vault.
/// @param _min_out minimum amount of underlying token to receive
/// @return amount_out amount of underlying token to receive
function fullDisassemble(uint _min_out) public onlyExecutor hasConfig returns (uint amount_out) {
return disassemble(ONE, _min_out);
}
function claimLockedReward(address _reward_token, uint[] memory _lock_timestamps, bool _allow_remainder_loss) external onlyExecutor {
uint[] memory reward_amounts = new uint[](_lock_timestamps.length);
for (uint i = 0; i < _lock_timestamps.length; i++)
(reward_amounts[i], ) = IERC20WrapperLocked(_reward_token).getWithdrawAmountsByLockTimestamp(address(this), _lock_timestamps[i]);
IERC20WrapperLocked(_reward_token).withdrawToByLockTimestamps(address(this), _lock_timestamps, _allow_remainder_loss);
emit ClaimLockedRewards(msg.sender, _reward_token, _lock_timestamps, reward_amounts);
}
/* View */
function getPositionAssets() public view returns (address[] memory) {
address[] memory assets = new address[](1);
assets[0] = position_config.underlying;
return assets;
}
function getLPTBalance() public view returns (uint) {
return _erc20Balance(position_config.vault);
}
function getUnderlyings() external view returns (address[] memory assets, uint[] memory amounts) {
address[] memory tokens = getPositionAssets();
uint[] memory balances = new uint[](tokens.length);
balances[0] = IEVault(position_config.vault).convertToAssets(getLPTBalance());
return (tokens, balances);
}
}/* SPDX-License-Identifier: UNLICENSED */
pragma solidity ^0.8.15;
import '@itb/quant-common/contracts/solidity8/ITBContract.sol';
import './interfaces/IEVault.sol';
import './interfaces/IMerkleDistributor.sol';
import './interfaces/IERC20WrapperLocked.sol';
struct MerkleClaimData {
address[] users;
address[] tokens;
uint[] values;
bytes32[][] proof;
}
/// @title PositionManager for Holding rewards and underlying
/// @author IntoTheBlock Corp
contract PositionManagerHolder is ITBContract {
struct PositionConfig {
address underlying;
address vault;
}
PositionConfig public position_config;
IMerkleDistributor public merkle_distributor;
event UpdatePositionConfig(address indexed caller, address underlying, address vault);
event UpdateMerkleDistributor(address indexed caller, address merkle_distributor);
event ClaimMerkleRewards(address indexed caller, address[] tokens, uint[] values);
/// @param _executors Executor addresses
/// @param _wnative Wrapped native token address
/// @param _underlying underlying address
/// @param _vault vault address. Not used in Holder
/// @param _merkle_distributor reward distributor address
constructor(address[] memory _executors, address payable _wnative, address _underlying, address _vault, address _merkle_distributor) ITBContract(_executors, _wnative) {
updatePositionConfig(_underlying, _vault);
updateMerkleDistributor(_merkle_distributor);
}
/* Infra */
function VERSION() external pure returns (string memory) {
return '1.0.0';
}
/* Config */
/// @param _merkle_distributor reward distributor address
function updateMerkleDistributor(address _merkle_distributor) public onlyOwner {
merkle_distributor = IMerkleDistributor(_merkle_distributor);
emit UpdateMerkleDistributor(msg.sender, _merkle_distributor);
}
/// @param _underlying underlying address
/// @param _vault vault address
function updatePositionConfig(address _underlying, address _vault) public virtual onlyOwner {
position_config = PositionConfig(_underlying, _vault);
emit UpdatePositionConfig(msg.sender, _underlying, _vault);
}
/// @notice Claims the merkle rewards for the specified users
/// @param _merkle_claim_data merkle claim data
/// @return merkle_tokens_out tokens addresses claimed
/// @return merkle_amounts_out amounts of tokens claimed
function claimRewards(MerkleClaimData calldata _merkle_claim_data) external onlyExecutor returns (address[] memory merkle_tokens_out, uint[] memory merkle_amounts_out) {
merkle_distributor.claim(_merkle_claim_data.users, _merkle_claim_data.tokens, _merkle_claim_data.values, _merkle_claim_data.proof);
emit ClaimMerkleRewards(msg.sender, _merkle_claim_data.tokens, _merkle_claim_data.values);
return (_merkle_claim_data.tokens, _merkle_claim_data.values);
}
}/* SPDX-License-Identifier: UNLICENSED */
pragma solidity ^0.8.0;
import './PositionManager.sol';
contract YieldPosition is PositionManager {
constructor(address[] memory _executors, address payable _wnative, address _underlying, address _vault, address _merkle_distributor) PositionManager(_executors, _wnative, _underlying, _vault, _merkle_distributor) {}
function disassemble(uint _percentage, uint[] memory _min_outs) public onlyExecutor hasConfig returns (uint[] memory) {
uint[] memory amounts_out = new uint[](1);
amounts_out[0] = disassemble(_percentage, _min_outs[0]);
return amounts_out;
}
}/* SPDX-License-Identifier: UNLICENSED */
pragma solidity ^0.8.20;
import './utils/Withdrawable.sol';
import './utils/IWETH.sol';
/// @title ITBContract contract that implements common owner only functions accros all strategies
/// @author IntoTheBlock Corp
/// @dev Abstract
abstract contract ITBContract is Withdrawable {
using SafeERC20 for IERC20;
event ApproveToken(address indexed token, address guy, uint256 wad);
address payable immutable public WNATIVE;
uint constant ONE = 1e18;
/// @param _executors Executor addresses
constructor(address[] memory _executors, address payable _wnative) Executable(_executors) {
WNATIVE = _wnative;
}
function _percentageAmount(uint _amount, uint _percentage) internal pure returns (uint) {
return _amount * _percentage / ONE;
}
/// @notice Set allowance for a given token, amount and spender
/// @param _token Token to spend
/// @param _guy Spender
/// @param _wad Max amount to spend
function _approveToken(address _token, address _guy, uint256 _wad) internal {
if (_wad != 0)
IERC20(_token).forceApprove(_guy, _wad);
else
IERC20(_token).approve(_guy, _wad);
emit ApproveToken(_token, _guy, _wad);
}
/// @notice For a given token, amount and spender, check if contract can spend amount and, if necessary, set the allowance to amount
/// @param _token Token to spend
/// @param _guy Spender
/// @param _amount Amount to spend
function _checkAllowanceAndApprove(address _token, address _guy, uint256 _amount) internal {
_checkAllowanceAndApprove(_token, _guy, _amount, _amount);
}
/// @notice For a given token, amount and spender, check if contract can spend amount and, if necessary, set the allowance to approval amount
/// @param _token Token to spend
/// @param _guy Spender
/// @param _amount Amount to spend
/// @param _approval_amount Amount to approve
function _checkAllowanceAndApprove(address _token, address _guy, uint256 _amount, uint256 _approval_amount) internal {
if (IERC20(_token).allowance(address(this), _guy) < _amount)
_approveToken(_token, _guy, _approval_amount);
}
/// @notice Only owner. Set allowance for a given token, amount and spender
/// @param _token Token to spend
/// @param _guy Spender
/// @param _wad Max amount to spend
function approveToken(address _token, address _guy, uint256 _wad) external onlyOwner {
_approveToken(_token, _guy, _wad);
}
/// @notice Only owner. Revoke allowance for a given token and spender
/// @param _token Token to spend
/// @param _guy Spender
function revokeToken(address _token, address _guy) external onlyOwner {
_approveToken(_token, _guy, 0);
}
/// @notice Only owner. Execute an arbitrary call
/// @param _to Target address
/// @param _value Value (i. e. msg.value)
/// @param _data Invocation data
function execute(address _to, uint256 _value, bytes calldata _data) external payable onlyOwner {
(bool success, bytes memory returnData) = _to.call{ value: _value }(_data);
require(success, string(returnData));
}
/// @notice Only owner. Execute multiple arbitrary calls in order
/// @param _tos Target address for each call
/// @param _values Value for each call (i. e. msg.value)
/// @param _datas Invocation data for each call
function batchExecute(address[] calldata _tos, uint256[] calldata _values, bytes[] calldata _datas) external payable onlyOwner {
require(_tos.length == _values.length && _tos.length == _datas.length, "Arguments length mismatch");
for (uint256 i = 0; i < _tos.length; i++) {
(bool success, bytes memory returnData) = _tos[i].call{ value: _values[i] }(_datas[i]);
require(success, string(returnData));
}
}
function wrapNative(uint256 _amount) public onlyExecutor {
IWETH(WNATIVE).deposit{ value: _amount }();
}
function unwrapNative(uint256 _amount) public onlyExecutor {
IWETH(WNATIVE).withdraw(_amount);
}
}// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/access/Ownable2Step.sol";
/// @title Base contract that implements executor related functions
/// @author IntoTheBlock Corp
/// @dev Abstract
abstract contract Executable is Ownable2Step {
mapping(address => bool) public executors;
event ExecutorUpdated(address indexed executor, bool enabled);
/// @param _executors Initial whitelisted executor addresses
constructor(address[] memory _executors) Ownable(msg.sender) {
for (uint256 i = 0; i < _executors.length; i++) {
addExecutor(_executors[i]);
}
}
/// @notice Revert if call is not being made from the owner or an executor
modifier onlyExecutor() {
require(owner() == msg.sender || executors[msg.sender], "Executable: caller is not the executor");
_;
}
/// @notice Only owner. Add an executor
/// @param _executor New executor address
function addExecutor(address _executor) public onlyOwner {
emit ExecutorUpdated(_executor, true);
executors[_executor] = true;
}
/// @notice Only owner. Remove an executor
/// @param _executor Executor address to remove
function removeExecutor(address _executor) external onlyOwner {
emit ExecutorUpdated(_executor, false);
executors[_executor] = false;
}
}// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.20;
interface IWETH {
function name() external view returns (string memory);
function symbol() external view returns (string memory);
function decimals() external view returns (uint8);
event Approval(address indexed src, address indexed guy, uint256 wad);
event Transfer(address indexed src, address indexed dst, uint256 wad);
event Deposit(address indexed dst, uint256 wad);
event Withdrawal(address indexed src, uint256 wad);
function balanceOf(address) external view returns (uint256);
function allowance(address, address) external view returns (uint256);
fallback() external payable;
receive() external payable;
function deposit() external payable;
function withdraw(uint256 wad) external;
function totalSupply() external view returns (uint256);
function approve(address guy, uint256 wad) external returns (bool);
function transfer(address dst, uint256 wad) external returns (bool);
function transferFrom(address src, address dst, uint256 wad) external returns (bool);
}/* SPDX-License-Identifier: UNLICENSED */
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/access/Ownable2Step.sol";
abstract contract Ownable2StepWithShortcut is Ownable2Step {
function transferOwnership1Step(address newOwner) public onlyOwner {
require(newOwner != address(0), "ITBOwnable: zero address");
_transferOwnership(newOwner);
}
}// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import './Executable.sol';
/**
Ensures that any contract that inherits from this contract is able to
withdraw funds that are accidentally received or stuck.
*/
/// @title Base contract that implements withdrawal related functions
/// @author IntoTheBlock Corp
/// @dev Abstract
abstract contract Withdrawable is Executable {
using SafeERC20 for IERC20;
address constant ETHER = address(0);
event LogWithdraw(
address indexed _to,
address indexed _asset_address,
uint256 amount
);
receive() external payable {}
/// @notice ERC20 or ETH balance of this contract given a token address
/// @param _asset_address Token address or address(0) for ETH
/// @return Balance
function _erc20OrNativeBalance(address _asset_address) internal view returns (uint256) {
return _asset_address == ETHER ? _nativeBalance() : _erc20Balance(_asset_address);
}
function _erc20Balance(address _asset_address) internal view returns (uint256) {
return IERC20(_asset_address).balanceOf(address(this));
}
function _nativeBalance() internal view returns (uint256) {
return address(this).balance;
}
/// @notice ERC20 balance of given account
/// @param _asset_address Token address
/// @param _account Account address
/// @return Balance
function balanceOf(address _asset_address, address _account) public view returns (uint256) {
return IERC20(_asset_address).balanceOf(_account);
}
/// @notice Send the given amount of the given token or ETH to the given receiver
/// @param _asset_address Token address or address(0) for ETH
/// @param _amount Amount to send
/// @param _to Receiver address
function _withdraw_to(address _asset_address, uint256 _amount, address payable _to) internal {
require(_to != address(0), 'Invalid address');
uint256 balance = _erc20OrNativeBalance(_asset_address);
require(balance >= _amount, 'Insufficient funds');
if (_asset_address == ETHER) {
(bool success, ) = _to.call{value: _amount}(''); /* carry gas over so it works with contracts with custom fallback, we dont care about reentrancy on onlyOwner */
require(success, 'Native transfer failed.');
} else
IERC20(_asset_address).safeTransfer(_to, _amount);
emit LogWithdraw(_to, _asset_address, _amount);
}
/// @notice Only owner. Send the given amount of the given token or ETH to the caller
/// @param _asset_address Token address or address(0) for ETH
/// @param _amount Amount to send
function withdraw(address _asset_address, uint256 _amount) external onlyOwner {
_withdraw_to(_asset_address, _amount, payable(msg.sender));
}
/// @notice Only owner. Send the given amount of the given token or ETH to the given receiver
/// @param _asset_address Token address or address(0) for ETH
/// @param _amount Amount to send
/// @param _to Receiver address
function withdrawTo(address _asset_address, uint256 _amount, address payable _to) external onlyOwner {
_withdraw_to(_asset_address, _amount, _to);
}
/// @notice Only owner. Send its entire balance of the given token or ETH to the caller
/// @param _asset_address Token address or address(0) for ETH
function withdrawAll(address _asset_address) external onlyOwner {
uint256 balance = _erc20OrNativeBalance(_asset_address);
_withdraw_to(_asset_address, balance, payable(msg.sender));
}
/// @notice Only owner. Send its entire balance of the given token or ETH to the given receiver
/// @param _asset_address Token address or address(0) for ETH
/// @param _to Receiver address
function withdrawAllTo(address _asset_address, address payable _to) external onlyOwner {
uint256 balance = _erc20OrNativeBalance(_asset_address);
_withdraw_to(_asset_address, balance, _to);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
import {Context} from "../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.
*
* The initial owner is set to the address provided by the deployer. 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;
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
/**
* @dev The owner is not a valid owner account. (eg. `address(0)`)
*/
error OwnableInvalidOwner(address owner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
constructor(address initialOwner) {
if (initialOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(initialOwner);
}
/**
* @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 {
if (owner() != _msgSender()) {
revert OwnableUnauthorizedAccount(_msgSender());
}
}
/**
* @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 {
if (newOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_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);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (access/Ownable2Step.sol)
pragma solidity ^0.8.20;
import {Ownable} from "./Ownable.sol";
/**
* @dev Contract module which provides access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* This extension of the {Ownable} contract includes a two-step mechanism to transfer
* ownership, where the new owner must call {acceptOwnership} in order to replace the
* old one. This can help prevent common mistakes, such as transfers of ownership to
* incorrect accounts, or to contracts that are unable to interact with the
* permission system.
*
* The initial owner is specified at deployment time in the constructor for `Ownable`. This
* can later be changed with {transferOwnership} and {acceptOwnership}.
*
* This module is used through inheritance. It will make available all functions
* from parent (Ownable).
*/
abstract contract Ownable2Step is Ownable {
address private _pendingOwner;
event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner);
/**
* @dev Returns the address of the pending owner.
*/
function pendingOwner() public view virtual returns (address) {
return _pendingOwner;
}
/**
* @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.
* Can only be called by the current owner.
*
* Setting `newOwner` to the zero address is allowed; this can be used to cancel an initiated ownership transfer.
*/
function transferOwnership(address newOwner) public virtual override onlyOwner {
_pendingOwner = newOwner;
emit OwnershipTransferStarted(owner(), newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual override {
delete _pendingOwner;
super._transferOwnership(newOwner);
}
/**
* @dev The new owner accepts the ownership transfer.
*/
function acceptOwnership() public virtual {
address sender = _msgSender();
if (pendingOwner() != sender) {
revert OwnableUnauthorizedAccount(sender);
}
_transferOwnership(sender);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1363.sol)
pragma solidity >=0.6.2;
import {IERC20} from "./IERC20.sol";
import {IERC165} from "./IERC165.sol";
/**
* @title IERC1363
* @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].
*
* Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract
* after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.
*/
interface IERC1363 is IERC20, IERC165 {
/*
* Note: the ERC-165 identifier for this interface is 0xb0202a11.
* 0xb0202a11 ===
* bytes4(keccak256('transferAndCall(address,uint256)')) ^
* bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^
* bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^
* bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^
* bytes4(keccak256('approveAndCall(address,uint256)')) ^
* bytes4(keccak256('approveAndCall(address,uint256,bytes)'))
*/
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferAndCall(address to, uint256 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @param data Additional data with no specified format, sent in call to `to`.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param from The address which you want to send tokens from.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferFromAndCall(address from, address to, uint256 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param from The address which you want to send tokens from.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @param data Additional data with no specified format, sent in call to `to`.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);
/**
* @dev Sets a `value` amount of tokens as the allowance of `spender` over the
* caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
* @param spender The address which will spend the funds.
* @param value The amount of tokens to be spent.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function approveAndCall(address spender, uint256 value) external returns (bool);
/**
* @dev Sets a `value` amount of tokens as the allowance of `spender` over the
* caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
* @param spender The address which will spend the funds.
* @param value The amount of tokens to be spent.
* @param data Additional data with no specified format, sent in call to `spender`.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC165.sol)
pragma solidity >=0.4.16;
import {IERC165} from "../utils/introspection/IERC165.sol";// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC20.sol)
pragma solidity >=0.4.16;
import {IERC20} from "../token/ERC20/IERC20.sol";// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)
pragma solidity >=0.4.16;
/**
* @dev Interface of the ERC-20 standard as defined in the ERC.
*/
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 value of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the value of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the
* allowance mechanism. `value` 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 value) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.3.0) (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.20;
import {IERC20} from "../IERC20.sol";
import {IERC1363} from "../../../interfaces/IERC1363.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC-20 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 {
/**
* @dev An operation with an ERC-20 token failed.
*/
error SafeERC20FailedOperation(address token);
/**
* @dev Indicates a failed `decreaseAllowance` request.
*/
error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);
/**
* @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.encodeCall(token.transfer, (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.encodeCall(token.transferFrom, (from, to, value)));
}
/**
* @dev Variant of {safeTransfer} that returns a bool instead of reverting if the operation is not successful.
*/
function trySafeTransfer(IERC20 token, address to, uint256 value) internal returns (bool) {
return _callOptionalReturnBool(token, abi.encodeCall(token.transfer, (to, value)));
}
/**
* @dev Variant of {safeTransferFrom} that returns a bool instead of reverting if the operation is not successful.
*/
function trySafeTransferFrom(IERC20 token, address from, address to, uint256 value) internal returns (bool) {
return _callOptionalReturnBool(token, abi.encodeCall(token.transferFrom, (from, to, 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.
*
* IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
* smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
* this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
* that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
*/
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 oldAllowance = token.allowance(address(this), spender);
forceApprove(token, spender, oldAllowance + value);
}
/**
* @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
* value, non-reverting calls are assumed to be successful.
*
* IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
* smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
* this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
* that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
*/
function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
unchecked {
uint256 currentAllowance = token.allowance(address(this), spender);
if (currentAllowance < requestedDecrease) {
revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
}
forceApprove(token, spender, currentAllowance - requestedDecrease);
}
}
/**
* @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.
*
* NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function
* only sets the "standard" allowance. Any temporary allowance will remain active, in addition to the value being
* set here.
*/
function forceApprove(IERC20 token, address spender, uint256 value) internal {
bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));
if (!_callOptionalReturnBool(token, approvalCall)) {
_callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));
_callOptionalReturn(token, approvalCall);
}
}
/**
* @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no
* code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
* targeting contracts.
*
* Reverts if the returned value is other than `true`.
*/
function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
if (to.code.length == 0) {
safeTransfer(token, to, value);
} else if (!token.transferAndCall(to, value, data)) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target
* has no code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
* targeting contracts.
*
* Reverts if the returned value is other than `true`.
*/
function transferFromAndCallRelaxed(
IERC1363 token,
address from,
address to,
uint256 value,
bytes memory data
) internal {
if (to.code.length == 0) {
safeTransferFrom(token, from, to, value);
} else if (!token.transferFromAndCall(from, to, value, data)) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no
* code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
* targeting contracts.
*
* NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.
* Opposedly, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}
* once without retrying, and relies on the returned value to be true.
*
* Reverts if the returned value is other than `true`.
*/
function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
if (to.code.length == 0) {
forceApprove(token, to, value);
} else if (!token.approveAndCall(to, value, data)) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @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 {_callOptionalReturnBool} that reverts if call fails to meet the requirements.
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
uint256 returnSize;
uint256 returnValue;
assembly ("memory-safe") {
let success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)
// bubble errors
if iszero(success) {
let ptr := mload(0x40)
returndatacopy(ptr, 0, returndatasize())
revert(ptr, returndatasize())
}
returnSize := returndatasize()
returnValue := mload(0)
}
if (returnSize == 0 ? address(token).code.length == 0 : returnValue != 1) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @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 silently catches all reverts and returns a bool instead.
*/
function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
bool success;
uint256 returnSize;
uint256 returnValue;
assembly ("memory-safe") {
success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)
returnSize := returndatasize()
returnValue := mload(0)
}
return success && (returnSize == 0 ? address(token).code.length > 0 : returnValue == 1);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @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;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (utils/introspection/IERC165.sol)
pragma solidity >=0.4.16;
/**
* @dev Interface of the ERC-165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[ERC].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"viaIR": true,
"evmVersion": "paris",
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address[]","name":"_executors","type":"address[]"},{"internalType":"address payable","name":"_wnative","type":"address"},{"internalType":"address","name":"_underlying","type":"address"},{"internalType":"address","name":"_vault","type":"address"},{"internalType":"address","name":"_merkle_distributor","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"guy","type":"address"},{"indexed":false,"internalType":"uint256","name":"wad","type":"uint256"}],"name":"ApproveToken","type":"event"},{"anonymous":false,"inputs":[],"name":"Assemble","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":false,"internalType":"address","name":"reward_token","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"lock_timestamps","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"ClaimLockedRewards","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":false,"internalType":"address[]","name":"tokens","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"ClaimMerkleRewards","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"vault","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lpt_change","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[],"name":"Disassemble","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"executor","type":"address"},{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"ExecutorUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":true,"internalType":"address","name":"_asset_address","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LogWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","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":true,"internalType":"address","name":"caller","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"vault","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lpt_change","type":"uint256"}],"name":"Redeem","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":false,"internalType":"address","name":"merkle_distributor","type":"address"}],"name":"UpdateMerkleDistributor","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":false,"internalType":"address","name":"underlying","type":"address"},{"indexed":false,"internalType":"address","name":"vault","type":"address"}],"name":"UpdatePositionConfig","type":"event"},{"inputs":[],"name":"VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"WNATIVE","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_executor","type":"address"}],"name":"addExecutor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_guy","type":"address"},{"internalType":"uint256","name":"_wad","type":"uint256"}],"name":"approveToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_min_lpt_out","type":"uint256"}],"name":"assemble","outputs":[{"internalType":"uint256","name":"lpt_out","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_asset_address","type":"address"},{"internalType":"address","name":"_account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_tos","type":"address[]"},{"internalType":"uint256[]","name":"_values","type":"uint256[]"},{"internalType":"bytes[]","name":"_datas","type":"bytes[]"}],"name":"batchExecute","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_reward_token","type":"address"},{"internalType":"uint256[]","name":"_lock_timestamps","type":"uint256[]"},{"internalType":"bool","name":"_allow_remainder_loss","type":"bool"}],"name":"claimLockedReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address[]","name":"users","type":"address[]"},{"internalType":"address[]","name":"tokens","type":"address[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bytes32[][]","name":"proof","type":"bytes32[][]"}],"internalType":"struct MerkleClaimData","name":"_merkle_claim_data","type":"tuple"}],"name":"claimRewards","outputs":[{"internalType":"address[]","name":"merkle_tokens_out","type":"address[]"},{"internalType":"uint256[]","name":"merkle_amounts_out","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_min_lpt_out","type":"uint256"}],"name":"deposit","outputs":[{"internalType":"uint256","name":"lpt_out","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_percentage","type":"uint256"},{"internalType":"uint256[]","name":"_min_outs","type":"uint256[]"}],"name":"disassemble","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_percentage","type":"uint256"},{"internalType":"uint256","name":"_min_out","type":"uint256"}],"name":"disassemble","outputs":[{"internalType":"uint256","name":"amount_out","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"execute","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"executors","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_min_out","type":"uint256"}],"name":"fullDisassemble","outputs":[{"internalType":"uint256","name":"amount_out","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getLPTBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPositionAssets","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getUnderlyings","outputs":[{"internalType":"address[]","name":"assets","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkle_distributor","outputs":[{"internalType":"contract IMerkleDistributor","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"position_config","outputs":[{"internalType":"address","name":"underlying","type":"address"},{"internalType":"address","name":"vault","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_lpt_amount","type":"uint256"},{"internalType":"uint256","name":"_min_out","type":"uint256"}],"name":"redeem","outputs":[{"internalType":"uint256","name":"amount_out","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_executor","type":"address"}],"name":"removeExecutor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_guy","type":"address"}],"name":"revokeToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership1Step","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"unwrapNative","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_merkle_distributor","type":"address"}],"name":"updateMerkleDistributor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_underlying","type":"address"},{"internalType":"address","name":"_vault","type":"address"}],"name":"updatePositionConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_asset_address","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_asset_address","type":"address"}],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_asset_address","type":"address"},{"internalType":"address payable","name":"_to","type":"address"}],"name":"withdrawAllTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_asset_address","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address payable","name":"_to","type":"address"}],"name":"withdrawTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"wrapNative","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
60a06040818152346200034757620026c980380380916200002182866200037d565b843982019160a081840312620003475780516001600160401b0390818111620003475782019084601f83011215620003475781519460209282871162000367578660051b90865197620000778684018a6200037d565b88528480890192820101928311620003475784809101915b8383106200034c5750850151946001600160a01b0393909250905082851685036200034757620000c1868301620003a1565b90620000de6080620000d660608601620003a1565b9401620003a1565b9233156200032f57849060018060a01b031997896001809c8b825416825560009d8e8d81549033908216178255883391167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a3905b620002af575b505050506080526200014c620003b6565b16908751926338d52e0f60e01b84528684600481865afa908115620002a55786948b926200025f575b50841693849116036200025b578751988989019182118a83101762000247575085889983927f896f95e2f70e072cc713066c108b45f737eaffbe450cdf479ba0b6249b200074999a52848152015281876003541617600355808760045416176004558751918252848201527f6483954a781fd2a588f0f6fe46f8e799cfe4c6a31dceaa6b6b0145fdbd0f1146873392a26200020f620003b6565b168093600554161760055583519283523392a2516122e59081620003e482396080518181816108dd01528181610ab501526113000152f35b634e487b7160e01b81526041600452602490fd5b8880fd5b945090508684813d81116200029d575b6200027b81836200037d565b81010312620002995785620002918195620003a1565b919062000175565b8980fd5b503d6200026f565b89513d8c823e3d90fd5b909192958b8f918451841015620003255791600282859488999a9b94899760051b8901015116620002df620003b6565b807f9fdbc2d48b8a0db2f62663bf9312ad02f5b1f6414ad600b55a247d09aeec3ea28387518a8152a2835252208260ff1982541617905501908c92918a96959462000135565b979450506200013b565b8751631e4fbdf760e01b815260006004820152602490fd5b600080fd5b81906200035984620003a1565b81520191019084906200008f565b634e487b7160e01b600052604160045260246000fd5b601f909101601f19168101906001600160401b038211908210176200036757604052565b51906001600160a01b03821682036200034757565b6000546001600160a01b03163303620003cb57565b60405163118cdaa760e01b8152336004820152602490fdfe6080604052600436101561001b575b361561001957600080fd5b005b6000803560e01c8063077d97d71461160a578063087ed837146115da5780631ea68c001461152e5780631f5a0bbe146114bf578063247884291461145457806332c8fa461461142b5780633419ba231461137357806334b10a6d146112cb57806354621b42146111c157806362b88f5414610ed357806368c4af7f14610cd45780636ed625ab14610cba578063715018a614610c5457806379ba509714610c0e5780637cbc237314610bf45780638c53b74714610b875780638da5cb5b14610b6057806390adc83c14610b375780639169d83314610a805780639ac2a01114610a41578063a3c01c421461090c578063b381cf40146108c7578063b61d27f614610842578063b6703fcd14610805578063c4e2c1e6146107c3578063da3e3397146105cd578063e1b971391461054e578063e2bbb1581461052c578063e30c397814610503578063e6a6e7a214610464578063ec21145a14610430578063f2fde38b146103c3578063f3fef3a314610393578063f65baefa146102e3578063f7888aec1461023a578063fa09e630146102025763ffa1ad74146101be575061000e565b346101ff57806003193601126101ff576101fb6040516101dd81611804565b60058152640312e302e360dc1b602082015260405191829182611972565b0390f35b80fd5b50346101ff5760203660031901126101ff5761023761021f6118f7565b610227611fb8565b61023081612087565b33916120a3565b80f35b50346101ff5760403660031901126101ff576102546118f7565b90602061025f61190d565b6040516370a0823160e01b81526001600160a01b0391821660048201529384916024918391165afa9081156102d7579061029f575b602090604051908152f35b506020813d6020116102cf575b816102b96020938361181f565b810103126102ca5760209051610294565b600080fd5b3d91506102ac565b604051903d90823e3d90fd5b50346101ff57806003193601126101ff576102fc611a69565b6103068151611b25565b6004549092906001600160a01b031660206103208261201d565b6024604051809481936303d1689d60e11b835260048301525afa9182156102d75791610361575b5061035183611a48565b526101fb60405192839283611937565b90506020813d60201161038b575b8161037c6020938361181f565b810103126102ca575138610347565b3d915061036f565b50346101ff5760403660031901126101ff576102376103b06118f7565b6103b8611fb8565b3390602435906120a3565b50346101ff5760203660031901126101ff576103dd6118f7565b6103e5611fb8565b600180546001600160a01b0319166001600160a01b0392831690811790915582549091167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e227008380a380f35b50346101ff57806003193601126101ff57600354600454604080516001600160a01b03938416815292909116602083015290f35b50346101ff5760203660031901126101ff576020906104c360018060a01b0380835416331480156104ee575b61049990611a99565b6104a881600454161515611af4565b6104be600435916104b7611e44565b511661201d565b611e6c565b7fb36627d41b80e3867adc36deaed5334f9ea56f559579be82ffe726ad28f21f9b6040519280a18152f35b5033835260028452604083205460ff16610490565b50346101ff57806003193601126101ff576001546040516001600160a01b039091168152602090f35b50346101ff5760206105466105403661195c565b90611e6c565b604051908152f35b50346101ff5760203660031901126101ff576105686118f7565b610570611fb8565b6001600160a01b038116156105885761023790611fcc565b60405162461bcd60e51b815260206004820152601860248201527f4954424f776e61626c653a207a65726f206164647265737300000000000000006044820152606490fd5b50346101ff5760603660031901126101ff576105e76118f7565b6105ef61190d565b906044356105fb611fb8565b801561072a5760405163095ea7b360e01b60208083018281526001600160a01b03878116602486015260448086018790528552868116969492909160009061064460648661181f565b845190828a5af16000513d8261070e575b505015610699575b50505060008051602061229083398151915292505b604080516001600160a01b0395861681526020810193909352931692819081015b0390a280f35b60405192602084015286166024830152600060448301526044825260808201948286106001600160401b038711176106f8576106eb6106f0936000805160206122908339815191529760405282612233565b612233565b38808061065d565b634e487b7160e01b600052604160045260246000fd5b9091506107225750853b15155b3880610655565b60011461071b565b60405163095ea7b360e01b81526001600160a01b038416600482015260248101829052916020838060448101038160006001600160a01b0386165af19283156107b75760008051602061229083398151915293610788575b50610672565b6107a99060203d6020116107b0575b6107a1818361181f565b810190611bf4565b5038610782565b503d610797565b6040513d6000823e3d90fd5b50346101ff5760603660031901126101ff576107dd6118f7565b6044356001600160a01b03811681036102ca57610237916107fc611fb8565b602435906120a3565b50346101ff5760403660031901126101ff576102376108226118f7565b61082a61190d565b90610833611fb8565b61083c81612087565b906120a3565b5060603660031901126101ff576108576118f7565b816044356001600160401b03928382116108c357366023830112156108c35781600401359384116108c35736602485840101116108c357602483926102379561089e611fb8565b8060405193849301833781018481520391602435905af16108bd6119e1565b90611a20565b8280fd5b50346101ff57806003193601126101ff576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b50346101ff5760403660031901126101ff576109266118f7565b61092e61190d565b610936611fb8565b6040516338d52e0f60e01b81526001600160a01b03828116929091602081600481875afa908115610a365786916109f7575b5082851692839116036109f35782610693927f6483954a781fd2a588f0f6fe46f8e799cfe4c6a31dceaa6b6b0145fdbd0f11469460206040516109aa81611804565b83815201526001600160601b0360a01b90816003541617600355600454161760045560405191829133958390602090939293604083019460018060a01b03809216845216910152565b8480fd5b90506020813d602011610a2e575b81610a126020938361181f565b81010312610a2a57518281168103610a2a5738610968565b8580fd5b3d9150610a05565b6040513d88823e3d90fd5b50346101ff5760203660031901126101ff5760209060ff906040906001600160a01b03610a6c6118f7565b168152600284522054166040519015158152f35b50346101ff5760203660031901126101ff57805481906001600160a01b0390811633148015610b21575b610ab390611a99565b7f000000000000000000000000000000000000000000000000000000000000000016803b15610b1e578160049160405192838092630d0e30db60e41b82528235905af18015610b1357610b035750f35b610b0c906117f1565b6101ff5780f35b6040513d84823e3d90fd5b50fd5b503382526002602052604082205460ff16610aaa565b50346101ff57806003193601126101ff57600454602090610546906001600160a01b031661201d565b50346101ff57806003193601126101ff57546040516001600160a01b039091168152602090f35b50346101ff5760203660031901126101ff57610ba16118f7565b610ba9611fb8565b60018060a01b0316806001600160601b0360a01b60055416176005556040519081527f896f95e2f70e072cc713066c108b45f737eaffbe450cdf479ba0b6249b20007460203392a280f35b50346101ff576020610546610c083661195c565b90611cf0565b50346101ff57806003193601126101ff57600154336001600160a01b0390911603610c3c5761023733611fcc565b60405163118cdaa760e01b8152336004820152602490fd5b50346101ff57806003193601126101ff57610c6d611fb8565b600180546001600160a01b0319908116909155600080549182168155906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b50346101ff576020610546610cce3661195c565b90611c0c565b50346101ff5760603660031901126101ff57610cee6118f7565b6024356001600160401b0381116108c357610d0d9036906004016118a5565b604435801515809103610ecf5783546001600160a01b039290831633148015610eb9575b610d3d90949294611a99565b610d478151611b25565b92859216915b8151811015610df657806040610d66610d8d9385611a55565b5181516370c349a960e11b8152306004820152602481019190915292839081906044820190565b0381875afa8015610deb578790610db4575b60019250610dad8287611a55565b5201610d4d565b506040823d604011610de3575b81610dce6040938361181f565b81010312610ddf5760019151610d9f565b8680fd5b3d9150610dc1565b6040513d89823e3d90fd5b50849391602060405180809563120f2e9360e31b825230600483015260606024830152610e2660648301876118c3565b906044830152038188855af1928315610eae577f71eedba2a5f5a9128d4136dcaea39b92caabee151f08a303767bb4b97ecf7d2093610e8f575b50610693610e8060405193849384526060602085015260608401906118c3565b828103604084015233956118c3565b610ea79060203d6020116107b0576107a1818361181f565b5085610e60565b6040513d87823e3d90fd5b503385526002602052604085205460ff16610d31565b8380fd5b50346101ff5760203660031901126101ff576004356001600160401b03811161112557608060031982360301126111255781546001600160a01b03908116331480156111ab575b610f2390611a99565b60055416610f346004830180611b57565b610f476024859493940185600401611b57565b939091610f5a6044870187600401611b57565b610f6a6064890189600401611b57565b949095873b156111a75791610fba610fcc9360809a610fa860049a97958f9c9a996040519e8f9d8e6301c7ba5760e61b8152015260848d0191611b8c565b8a81036003190160248c015291611b8c565b87810360031901604489015291611bd0565b91600319858403016064860152808352602083019060208160051b850101938388915b838310611134575050505050508383809203925af1801561112957611111575b506110a5916110827feb52dffbee1e79ccc1299cb412e00457926f40b2106ff16cd712172213b06bb66110486024850185600401611b57565b6110586044870187600401611b57565b611072604096929651948594604086526040860191611b8c565b9083820360208501523396611bd0565b0390a26110956024830183600401611b57565b9390926044810190600401611b57565b90916110b085611840565b936110be604051958661181f565b858552602085019560051b8101913683116101ff5750945b8186106110f957846110e9368587611857565b906101fb60405192839283611937565b6020809161110688611923565b8152019501946110d6565b61111b83916117f1565b611125573861100f565b5080fd5b6040513d85823e3d90fd5b92959194975092959750601f198282030186528635601e19843603018112156111a357830190602082359201916001600160401b03811161119f578060051b3603831361119f5761118b6020928392600195611bd0565b9801960193018a9795939289979592610fef565b8c80fd5b8b80fd5b8a80fd5b503383526002602052604083205460ff16610f1a565b50346101ff5760203660031901126101ff5761122c906111f660018060a01b03918281541633149081156112b3575b50611a99565b6112278160045416918215159061120c82611af4565b600054163314801561129a575b61122290611a99565b611af4565b61201d565b670de0b6b3a76400008082029180830482149015171561128457602091611257916004359104611cf0565b7fcb98953bd1dbc99409d236f79303561f0568a868c3a01b79116dd95a8374f299600080a1604051908152f35b634e487b7160e01b600052601160045260246000fd5b503360009081526002602052604090205460ff16611219565b60ff91506040903381526002602052205416386111f0565b50346101ff5760203660031901126101ff57805481906001600160a01b039081163314801561135d575b6112fe90611a99565b7f000000000000000000000000000000000000000000000000000000000000000016803b15610b1e578190602460405180948193632e1a7d4d60e01b835260043560048401525af18015610b1357611354575080f35b610237906117f1565b503382526002602052604082205460ff166112f5565b50346101ff5760403660031901126101ff5761138d6118f7565b61139561190d565b61139d611fb8565b60405163095ea7b360e01b81526001600160a01b039182166004820181905260248201859052929091169160208260448187875af19081156114205760008051602061229083398151915292604092611401575b508151908152846020820152a280f35b6114199060203d6020116107b0576107a1818361181f565b50386113f1565b6040513d86823e3d90fd5b50346101ff57806003193601126101ff576005546040516001600160a01b039091168152602090f35b50346101ff5760203660031901126101ff5761146e6118f7565b611476611fb8565b60018060a01b0316807f9fdbc2d48b8a0db2f62663bf9312ad02f5b1f6414ad600b55a247d09aeec3ea26020604051858152a28152600260205260408120805460ff1916905580f35b50346101ff5760203660031901126101ff576114d96118f7565b6114e1611fb8565b60018060a01b0316807f9fdbc2d48b8a0db2f62663bf9312ad02f5b1f6414ad600b55a247d09aeec3ea2602060405160018152a28152600260205260408120805460ff1916600117905580f35b50346101ff5760403660031901126101ff576024356001600160401b03811161112557906115906115666101fb9336906004016118a5565b9161158560018060a01b03918281541633149081156112b35750611a99565b600454161515611af4565b6115bc6115b3604051926115a384611804565b6001845260203681860137611a48565b51600435611c0c565b6115c582611a48565b526040519182916020835260208301906118c3565b50346101ff57806003193601126101ff576101fb6115f6611a69565b6040519182916020835260208301906117b4565b5060603660031901126101ff576001600160401b036004358181116108c357611637903690600401611784565b9091602491602435828111610a2a57611654903690600401611784565b9190936044358481116117805761166f903690600401611784565b93909261167a611fb8565b81811480611777575b1561173257885b818110611695578980f35b6116a081838b6119bb565b35906001600160a01b03821682036111a7576116bd81858b6119bb565b358782101561171f578b8260051b880135601e1989360301811215611125578801938435948b86116108c3576020019085360382136108c357856117199484936001986040519384928337810185815203925af16108bd6119e1565b0161168a565b634e487b7160e01b8c526032600452858cfd5b60405162461bcd60e51b815260206004820152601960248201527f417267756d656e7473206c656e677468206d69736d61746368000000000000006044820152606490fd5b50848114611683565b8780fd5b9181601f840112156102ca578235916001600160401b0383116102ca576020808501948460051b0101116102ca57565b90815180825260208080930193019160005b8281106117d4575050505090565b83516001600160a01b0316855293810193928101926001016117c6565b6001600160401b0381116106f857604052565b604081019081106001600160401b038211176106f857604052565b90601f801991011681019081106001600160401b038211176106f857604052565b6001600160401b0381116106f85760051b60200190565b929161186282611840565b91611870604051938461181f565b829481845260208094019160051b81019283116102ca57905b8282106118965750505050565b81358152908301908301611889565b9080601f830112156102ca578160206118c093359101611857565b90565b90815180825260208080930193019160005b8281106118e3575050505090565b8351855293810193928101926001016118d5565b600435906001600160a01b03821682036102ca57565b602435906001600160a01b03821682036102ca57565b35906001600160a01b03821682036102ca57565b909161194e6118c0936040845260408401906117b4565b9160208184039101526118c3565b60409060031901126102ca576004359060243590565b6020808252825181830181905290939260005b8281106119a757505060409293506000838284010152601f8019910116010190565b818101860151848201604001528501611985565b91908110156119cb5760051b0190565b634e487b7160e01b600052603260045260246000fd5b3d15611a1b573d906001600160401b0382116106f85760405191611a0f601f8201601f19166020018461181f565b82523d6000602084013e565b606090565b15611a285750565b60405162461bcd60e51b8152908190611a449060048301611972565b0390fd5b8051156119cb5760200190565b80518210156119cb5760209160051b010190565b604051611a7581611804565b60018152602036818301376003546001600160a01b0316611a9582611a48565b5290565b15611aa057565b60405162461bcd60e51b815260206004820152602660248201527f45786563757461626c653a2063616c6c6572206973206e6f742074686520657860448201526532b1baba37b960d11b6064820152608490fd5b15611afb57565b60405162461bcd60e51b8152602060048201526002602482015261413360f01b6044820152606490fd5b90611b2f82611840565b611b3c604051918261181f565b8281528092611b4d601f1991611840565b0190602036910137565b903590601e19813603018212156102ca57018035906001600160401b0382116102ca57602001918160051b360383136102ca57565b91908082526020809201929160005b828110611ba9575050505090565b909192938280600192838060a01b03611bc189611923565b16815201950193929101611b9b565b81835290916001600160fb1b0383116102ca5760209260051b809284830137010190565b908160209103126102ca575180151581036102ca5790565b906118c091611c3260018060a01b03806000541633148015611c37575b61158590611a99565b611c50565b503360009081526002602052604090205460ff16611c29565b90670de0b6b3a7640000808311611cc6578215611cbe57600454611c7c906001600160a01b031661201d565b83810293818504149015171561128457611c969204611cf0565b907fcb98953bd1dbc99409d236f79303561f0568a868c3a01b79116dd95a8374f299600080a1565b505050600090565b60405162461bcd60e51b8152602060048201526002602482015261503160f01b6044820152606490fd5b60008054909291906001600160a01b0390811633148015611e2e575b611d1590611a99565b611d2481600454161515611af4565b611d2c611e44565b602080820194868285885116606460405180948193635d043b2960e11b83528b60048401523060248401523060448401525af19788156102d7578098611dfc575b50508610611dd35750519251604080516001600160a01b0395841686168152919092169390931660208401528201839052606082015233907faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c9080608081015b0390a290565b6064906040519062461bcd60e51b825260048201526002602482015261523160f01b6044820152fd5b909197508282813d8311611e27575b611e15818361181f565b810103126101ff575051953880611d6d565b503d611e0b565b503384526002602052604084205460ff16611d0c565b60405190611e5182611804565b6003546001600160a01b039081168352600454166020830152565b60008054909291906001600160a01b0390811633148015611fa2575b611e9190611a99565b611ea081600454161515611af4565b611ea8611e44565b602080820194868285885116604460405180948193636e553f6560e01b83528b60048401523060248401525af19788156102d7578098611f70575b50508610611f475750519251604080516001600160a01b0395841686168152919092169390931660208401528201526060810182905233907f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d59908060808101611dcd565b6064906040519062461bcd60e51b825260048201526002602482015261443160f01b6044820152fd5b909197508282813d8311611f9b575b611f89818361181f565b810103126101ff575051953880611ee3565b503d611f7f565b503384526002602052604084205460ff16611e88565b6000546001600160a01b03163303610c3c57565b6001600160601b0360a01b90816001541660015560005460018060a01b038092168093821617600055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3565b6040516370a0823160e01b815230600482015290602090829060249082906001600160a01b03165afa9081156107b757600091612058575090565b90506020813d60201161207f575b816120736020938361181f565b810103126102ca575190565b3d9150612066565b6001600160a01b03811661209a57504790565b6118c09061201d565b90916001600160a01b039081169182156121fc57836120c182612087565b106121c25716918261215757600080808084865af16120de6119e1565b50156121125760207f9207361cc2a04b9c7a06691df1eb87c6a63957ae88bf01d0d18c81e3d1272099915b604051908152a3565b60405162461bcd60e51b815260206004820152601760248201527f4e6174697665207472616e73666572206661696c65642e0000000000000000006044820152606490fd5b60405163a9059cbb60e01b6020808301919091526001600160a01b0384166024830152604480830184905282527f9207361cc2a04b9c7a06691df1eb87c6a63957ae88bf01d0d18c81e3d12720999290916121bd906121b760648261181f565b86612233565b612109565b60405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606490fd5b60405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606490fd5b906000602091828151910182855af1156107b7576000513d61228657506001600160a01b0381163b155b6122645750565b604051635274afe760e01b81526001600160a01b039091166004820152602490fd5b6001141561225d56feeded619173dbb378903f97d44ecec898a1c4876f445ae551e063113aef58b471a264697066735822122058235da946946a6d213afd69ff830947bf64ca559bda9b0d15b2656d0c9b7c6b64736f6c6343000816003300000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000006c3ea9036406852006290770bedfcaba0e23a0e8000000000000000000000000ba98fc35c9dfd69178ad5dce9fa29c64554783b50000000000000000000000003ef3d8ba38ebe18db133cec108f4d14ce00dd9ae000000000000000000000000000000000000000000000000000000000000000100000000000000000000000050b37e1cb515110be21a2c91fa3052c413e42737
Deployed Bytecode
0x6080604052600436101561001b575b361561001957600080fd5b005b6000803560e01c8063077d97d71461160a578063087ed837146115da5780631ea68c001461152e5780631f5a0bbe146114bf578063247884291461145457806332c8fa461461142b5780633419ba231461137357806334b10a6d146112cb57806354621b42146111c157806362b88f5414610ed357806368c4af7f14610cd45780636ed625ab14610cba578063715018a614610c5457806379ba509714610c0e5780637cbc237314610bf45780638c53b74714610b875780638da5cb5b14610b6057806390adc83c14610b375780639169d83314610a805780639ac2a01114610a41578063a3c01c421461090c578063b381cf40146108c7578063b61d27f614610842578063b6703fcd14610805578063c4e2c1e6146107c3578063da3e3397146105cd578063e1b971391461054e578063e2bbb1581461052c578063e30c397814610503578063e6a6e7a214610464578063ec21145a14610430578063f2fde38b146103c3578063f3fef3a314610393578063f65baefa146102e3578063f7888aec1461023a578063fa09e630146102025763ffa1ad74146101be575061000e565b346101ff57806003193601126101ff576101fb6040516101dd81611804565b60058152640312e302e360dc1b602082015260405191829182611972565b0390f35b80fd5b50346101ff5760203660031901126101ff5761023761021f6118f7565b610227611fb8565b61023081612087565b33916120a3565b80f35b50346101ff5760403660031901126101ff576102546118f7565b90602061025f61190d565b6040516370a0823160e01b81526001600160a01b0391821660048201529384916024918391165afa9081156102d7579061029f575b602090604051908152f35b506020813d6020116102cf575b816102b96020938361181f565b810103126102ca5760209051610294565b600080fd5b3d91506102ac565b604051903d90823e3d90fd5b50346101ff57806003193601126101ff576102fc611a69565b6103068151611b25565b6004549092906001600160a01b031660206103208261201d565b6024604051809481936303d1689d60e11b835260048301525afa9182156102d75791610361575b5061035183611a48565b526101fb60405192839283611937565b90506020813d60201161038b575b8161037c6020938361181f565b810103126102ca575138610347565b3d915061036f565b50346101ff5760403660031901126101ff576102376103b06118f7565b6103b8611fb8565b3390602435906120a3565b50346101ff5760203660031901126101ff576103dd6118f7565b6103e5611fb8565b600180546001600160a01b0319166001600160a01b0392831690811790915582549091167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e227008380a380f35b50346101ff57806003193601126101ff57600354600454604080516001600160a01b03938416815292909116602083015290f35b50346101ff5760203660031901126101ff576020906104c360018060a01b0380835416331480156104ee575b61049990611a99565b6104a881600454161515611af4565b6104be600435916104b7611e44565b511661201d565b611e6c565b7fb36627d41b80e3867adc36deaed5334f9ea56f559579be82ffe726ad28f21f9b6040519280a18152f35b5033835260028452604083205460ff16610490565b50346101ff57806003193601126101ff576001546040516001600160a01b039091168152602090f35b50346101ff5760206105466105403661195c565b90611e6c565b604051908152f35b50346101ff5760203660031901126101ff576105686118f7565b610570611fb8565b6001600160a01b038116156105885761023790611fcc565b60405162461bcd60e51b815260206004820152601860248201527f4954424f776e61626c653a207a65726f206164647265737300000000000000006044820152606490fd5b50346101ff5760603660031901126101ff576105e76118f7565b6105ef61190d565b906044356105fb611fb8565b801561072a5760405163095ea7b360e01b60208083018281526001600160a01b03878116602486015260448086018790528552868116969492909160009061064460648661181f565b845190828a5af16000513d8261070e575b505015610699575b50505060008051602061229083398151915292505b604080516001600160a01b0395861681526020810193909352931692819081015b0390a280f35b60405192602084015286166024830152600060448301526044825260808201948286106001600160401b038711176106f8576106eb6106f0936000805160206122908339815191529760405282612233565b612233565b38808061065d565b634e487b7160e01b600052604160045260246000fd5b9091506107225750853b15155b3880610655565b60011461071b565b60405163095ea7b360e01b81526001600160a01b038416600482015260248101829052916020838060448101038160006001600160a01b0386165af19283156107b75760008051602061229083398151915293610788575b50610672565b6107a99060203d6020116107b0575b6107a1818361181f565b810190611bf4565b5038610782565b503d610797565b6040513d6000823e3d90fd5b50346101ff5760603660031901126101ff576107dd6118f7565b6044356001600160a01b03811681036102ca57610237916107fc611fb8565b602435906120a3565b50346101ff5760403660031901126101ff576102376108226118f7565b61082a61190d565b90610833611fb8565b61083c81612087565b906120a3565b5060603660031901126101ff576108576118f7565b816044356001600160401b03928382116108c357366023830112156108c35781600401359384116108c35736602485840101116108c357602483926102379561089e611fb8565b8060405193849301833781018481520391602435905af16108bd6119e1565b90611a20565b8280fd5b50346101ff57806003193601126101ff576040517f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b03168152602090f35b50346101ff5760403660031901126101ff576109266118f7565b61092e61190d565b610936611fb8565b6040516338d52e0f60e01b81526001600160a01b03828116929091602081600481875afa908115610a365786916109f7575b5082851692839116036109f35782610693927f6483954a781fd2a588f0f6fe46f8e799cfe4c6a31dceaa6b6b0145fdbd0f11469460206040516109aa81611804565b83815201526001600160601b0360a01b90816003541617600355600454161760045560405191829133958390602090939293604083019460018060a01b03809216845216910152565b8480fd5b90506020813d602011610a2e575b81610a126020938361181f565b81010312610a2a57518281168103610a2a5738610968565b8580fd5b3d9150610a05565b6040513d88823e3d90fd5b50346101ff5760203660031901126101ff5760209060ff906040906001600160a01b03610a6c6118f7565b168152600284522054166040519015158152f35b50346101ff5760203660031901126101ff57805481906001600160a01b0390811633148015610b21575b610ab390611a99565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216803b15610b1e578160049160405192838092630d0e30db60e41b82528235905af18015610b1357610b035750f35b610b0c906117f1565b6101ff5780f35b6040513d84823e3d90fd5b50fd5b503382526002602052604082205460ff16610aaa565b50346101ff57806003193601126101ff57600454602090610546906001600160a01b031661201d565b50346101ff57806003193601126101ff57546040516001600160a01b039091168152602090f35b50346101ff5760203660031901126101ff57610ba16118f7565b610ba9611fb8565b60018060a01b0316806001600160601b0360a01b60055416176005556040519081527f896f95e2f70e072cc713066c108b45f737eaffbe450cdf479ba0b6249b20007460203392a280f35b50346101ff576020610546610c083661195c565b90611cf0565b50346101ff57806003193601126101ff57600154336001600160a01b0390911603610c3c5761023733611fcc565b60405163118cdaa760e01b8152336004820152602490fd5b50346101ff57806003193601126101ff57610c6d611fb8565b600180546001600160a01b0319908116909155600080549182168155906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b50346101ff576020610546610cce3661195c565b90611c0c565b50346101ff5760603660031901126101ff57610cee6118f7565b6024356001600160401b0381116108c357610d0d9036906004016118a5565b604435801515809103610ecf5783546001600160a01b039290831633148015610eb9575b610d3d90949294611a99565b610d478151611b25565b92859216915b8151811015610df657806040610d66610d8d9385611a55565b5181516370c349a960e11b8152306004820152602481019190915292839081906044820190565b0381875afa8015610deb578790610db4575b60019250610dad8287611a55565b5201610d4d565b506040823d604011610de3575b81610dce6040938361181f565b81010312610ddf5760019151610d9f565b8680fd5b3d9150610dc1565b6040513d89823e3d90fd5b50849391602060405180809563120f2e9360e31b825230600483015260606024830152610e2660648301876118c3565b906044830152038188855af1928315610eae577f71eedba2a5f5a9128d4136dcaea39b92caabee151f08a303767bb4b97ecf7d2093610e8f575b50610693610e8060405193849384526060602085015260608401906118c3565b828103604084015233956118c3565b610ea79060203d6020116107b0576107a1818361181f565b5085610e60565b6040513d87823e3d90fd5b503385526002602052604085205460ff16610d31565b8380fd5b50346101ff5760203660031901126101ff576004356001600160401b03811161112557608060031982360301126111255781546001600160a01b03908116331480156111ab575b610f2390611a99565b60055416610f346004830180611b57565b610f476024859493940185600401611b57565b939091610f5a6044870187600401611b57565b610f6a6064890189600401611b57565b949095873b156111a75791610fba610fcc9360809a610fa860049a97958f9c9a996040519e8f9d8e6301c7ba5760e61b8152015260848d0191611b8c565b8a81036003190160248c015291611b8c565b87810360031901604489015291611bd0565b91600319858403016064860152808352602083019060208160051b850101938388915b838310611134575050505050508383809203925af1801561112957611111575b506110a5916110827feb52dffbee1e79ccc1299cb412e00457926f40b2106ff16cd712172213b06bb66110486024850185600401611b57565b6110586044870187600401611b57565b611072604096929651948594604086526040860191611b8c565b9083820360208501523396611bd0565b0390a26110956024830183600401611b57565b9390926044810190600401611b57565b90916110b085611840565b936110be604051958661181f565b858552602085019560051b8101913683116101ff5750945b8186106110f957846110e9368587611857565b906101fb60405192839283611937565b6020809161110688611923565b8152019501946110d6565b61111b83916117f1565b611125573861100f565b5080fd5b6040513d85823e3d90fd5b92959194975092959750601f198282030186528635601e19843603018112156111a357830190602082359201916001600160401b03811161119f578060051b3603831361119f5761118b6020928392600195611bd0565b9801960193018a9795939289979592610fef565b8c80fd5b8b80fd5b8a80fd5b503383526002602052604083205460ff16610f1a565b50346101ff5760203660031901126101ff5761122c906111f660018060a01b03918281541633149081156112b3575b50611a99565b6112278160045416918215159061120c82611af4565b600054163314801561129a575b61122290611a99565b611af4565b61201d565b670de0b6b3a76400008082029180830482149015171561128457602091611257916004359104611cf0565b7fcb98953bd1dbc99409d236f79303561f0568a868c3a01b79116dd95a8374f299600080a1604051908152f35b634e487b7160e01b600052601160045260246000fd5b503360009081526002602052604090205460ff16611219565b60ff91506040903381526002602052205416386111f0565b50346101ff5760203660031901126101ff57805481906001600160a01b039081163314801561135d575b6112fe90611a99565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216803b15610b1e578190602460405180948193632e1a7d4d60e01b835260043560048401525af18015610b1357611354575080f35b610237906117f1565b503382526002602052604082205460ff166112f5565b50346101ff5760403660031901126101ff5761138d6118f7565b61139561190d565b61139d611fb8565b60405163095ea7b360e01b81526001600160a01b039182166004820181905260248201859052929091169160208260448187875af19081156114205760008051602061229083398151915292604092611401575b508151908152846020820152a280f35b6114199060203d6020116107b0576107a1818361181f565b50386113f1565b6040513d86823e3d90fd5b50346101ff57806003193601126101ff576005546040516001600160a01b039091168152602090f35b50346101ff5760203660031901126101ff5761146e6118f7565b611476611fb8565b60018060a01b0316807f9fdbc2d48b8a0db2f62663bf9312ad02f5b1f6414ad600b55a247d09aeec3ea26020604051858152a28152600260205260408120805460ff1916905580f35b50346101ff5760203660031901126101ff576114d96118f7565b6114e1611fb8565b60018060a01b0316807f9fdbc2d48b8a0db2f62663bf9312ad02f5b1f6414ad600b55a247d09aeec3ea2602060405160018152a28152600260205260408120805460ff1916600117905580f35b50346101ff5760403660031901126101ff576024356001600160401b03811161112557906115906115666101fb9336906004016118a5565b9161158560018060a01b03918281541633149081156112b35750611a99565b600454161515611af4565b6115bc6115b3604051926115a384611804565b6001845260203681860137611a48565b51600435611c0c565b6115c582611a48565b526040519182916020835260208301906118c3565b50346101ff57806003193601126101ff576101fb6115f6611a69565b6040519182916020835260208301906117b4565b5060603660031901126101ff576001600160401b036004358181116108c357611637903690600401611784565b9091602491602435828111610a2a57611654903690600401611784565b9190936044358481116117805761166f903690600401611784565b93909261167a611fb8565b81811480611777575b1561173257885b818110611695578980f35b6116a081838b6119bb565b35906001600160a01b03821682036111a7576116bd81858b6119bb565b358782101561171f578b8260051b880135601e1989360301811215611125578801938435948b86116108c3576020019085360382136108c357856117199484936001986040519384928337810185815203925af16108bd6119e1565b0161168a565b634e487b7160e01b8c526032600452858cfd5b60405162461bcd60e51b815260206004820152601960248201527f417267756d656e7473206c656e677468206d69736d61746368000000000000006044820152606490fd5b50848114611683565b8780fd5b9181601f840112156102ca578235916001600160401b0383116102ca576020808501948460051b0101116102ca57565b90815180825260208080930193019160005b8281106117d4575050505090565b83516001600160a01b0316855293810193928101926001016117c6565b6001600160401b0381116106f857604052565b604081019081106001600160401b038211176106f857604052565b90601f801991011681019081106001600160401b038211176106f857604052565b6001600160401b0381116106f85760051b60200190565b929161186282611840565b91611870604051938461181f565b829481845260208094019160051b81019283116102ca57905b8282106118965750505050565b81358152908301908301611889565b9080601f830112156102ca578160206118c093359101611857565b90565b90815180825260208080930193019160005b8281106118e3575050505090565b8351855293810193928101926001016118d5565b600435906001600160a01b03821682036102ca57565b602435906001600160a01b03821682036102ca57565b35906001600160a01b03821682036102ca57565b909161194e6118c0936040845260408401906117b4565b9160208184039101526118c3565b60409060031901126102ca576004359060243590565b6020808252825181830181905290939260005b8281106119a757505060409293506000838284010152601f8019910116010190565b818101860151848201604001528501611985565b91908110156119cb5760051b0190565b634e487b7160e01b600052603260045260246000fd5b3d15611a1b573d906001600160401b0382116106f85760405191611a0f601f8201601f19166020018461181f565b82523d6000602084013e565b606090565b15611a285750565b60405162461bcd60e51b8152908190611a449060048301611972565b0390fd5b8051156119cb5760200190565b80518210156119cb5760209160051b010190565b604051611a7581611804565b60018152602036818301376003546001600160a01b0316611a9582611a48565b5290565b15611aa057565b60405162461bcd60e51b815260206004820152602660248201527f45786563757461626c653a2063616c6c6572206973206e6f742074686520657860448201526532b1baba37b960d11b6064820152608490fd5b15611afb57565b60405162461bcd60e51b8152602060048201526002602482015261413360f01b6044820152606490fd5b90611b2f82611840565b611b3c604051918261181f565b8281528092611b4d601f1991611840565b0190602036910137565b903590601e19813603018212156102ca57018035906001600160401b0382116102ca57602001918160051b360383136102ca57565b91908082526020809201929160005b828110611ba9575050505090565b909192938280600192838060a01b03611bc189611923565b16815201950193929101611b9b565b81835290916001600160fb1b0383116102ca5760209260051b809284830137010190565b908160209103126102ca575180151581036102ca5790565b906118c091611c3260018060a01b03806000541633148015611c37575b61158590611a99565b611c50565b503360009081526002602052604090205460ff16611c29565b90670de0b6b3a7640000808311611cc6578215611cbe57600454611c7c906001600160a01b031661201d565b83810293818504149015171561128457611c969204611cf0565b907fcb98953bd1dbc99409d236f79303561f0568a868c3a01b79116dd95a8374f299600080a1565b505050600090565b60405162461bcd60e51b8152602060048201526002602482015261503160f01b6044820152606490fd5b60008054909291906001600160a01b0390811633148015611e2e575b611d1590611a99565b611d2481600454161515611af4565b611d2c611e44565b602080820194868285885116606460405180948193635d043b2960e11b83528b60048401523060248401523060448401525af19788156102d7578098611dfc575b50508610611dd35750519251604080516001600160a01b0395841686168152919092169390931660208401528201839052606082015233907faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c9080608081015b0390a290565b6064906040519062461bcd60e51b825260048201526002602482015261523160f01b6044820152fd5b909197508282813d8311611e27575b611e15818361181f565b810103126101ff575051953880611d6d565b503d611e0b565b503384526002602052604084205460ff16611d0c565b60405190611e5182611804565b6003546001600160a01b039081168352600454166020830152565b60008054909291906001600160a01b0390811633148015611fa2575b611e9190611a99565b611ea081600454161515611af4565b611ea8611e44565b602080820194868285885116604460405180948193636e553f6560e01b83528b60048401523060248401525af19788156102d7578098611f70575b50508610611f475750519251604080516001600160a01b0395841686168152919092169390931660208401528201526060810182905233907f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d59908060808101611dcd565b6064906040519062461bcd60e51b825260048201526002602482015261443160f01b6044820152fd5b909197508282813d8311611f9b575b611f89818361181f565b810103126101ff575051953880611ee3565b503d611f7f565b503384526002602052604084205460ff16611e88565b6000546001600160a01b03163303610c3c57565b6001600160601b0360a01b90816001541660015560005460018060a01b038092168093821617600055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3565b6040516370a0823160e01b815230600482015290602090829060249082906001600160a01b03165afa9081156107b757600091612058575090565b90506020813d60201161207f575b816120736020938361181f565b810103126102ca575190565b3d9150612066565b6001600160a01b03811661209a57504790565b6118c09061201d565b90916001600160a01b039081169182156121fc57836120c182612087565b106121c25716918261215757600080808084865af16120de6119e1565b50156121125760207f9207361cc2a04b9c7a06691df1eb87c6a63957ae88bf01d0d18c81e3d1272099915b604051908152a3565b60405162461bcd60e51b815260206004820152601760248201527f4e6174697665207472616e73666572206661696c65642e0000000000000000006044820152606490fd5b60405163a9059cbb60e01b6020808301919091526001600160a01b0384166024830152604480830184905282527f9207361cc2a04b9c7a06691df1eb87c6a63957ae88bf01d0d18c81e3d12720999290916121bd906121b760648261181f565b86612233565b612109565b60405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606490fd5b60405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606490fd5b906000602091828151910182855af1156107b7576000513d61228657506001600160a01b0381163b155b6122645750565b604051635274afe760e01b81526001600160a01b039091166004820152602490fd5b6001141561225d56feeded619173dbb378903f97d44ecec898a1c4876f445ae551e063113aef58b471a264697066735822122058235da946946a6d213afd69ff830947bf64ca559bda9b0d15b2656d0c9b7c6b64736f6c63430008160033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000006c3ea9036406852006290770bedfcaba0e23a0e8000000000000000000000000ba98fc35c9dfd69178ad5dce9fa29c64554783b50000000000000000000000003ef3d8ba38ebe18db133cec108f4d14ce00dd9ae000000000000000000000000000000000000000000000000000000000000000100000000000000000000000050b37e1cb515110be21a2c91fa3052c413e42737
-----Decoded View---------------
Arg [0] : _executors (address[]): 0x50b37E1Cb515110Be21a2C91fA3052C413e42737
Arg [1] : _wnative (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [2] : _underlying (address): 0x6c3ea9036406852006290770BEdFcAbA0e23A0e8
Arg [3] : _vault (address): 0xba98fC35C9dfd69178AD5dcE9FA29c64554783b5
Arg [4] : _merkle_distributor (address): 0x3Ef3D8bA38EBe18DB133cEc108f4D14CE00Dd9Ae
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [2] : 0000000000000000000000006c3ea9036406852006290770bedfcaba0e23a0e8
Arg [3] : 000000000000000000000000ba98fc35c9dfd69178ad5dce9fa29c64554783b5
Arg [4] : 0000000000000000000000003ef3d8ba38ebe18db133cec108f4d14ce00dd9ae
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [6] : 00000000000000000000000050b37e1cb515110be21a2c91fa3052c413e42737
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.