Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 25 from a total of 64 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Withdraw | 16941040 | 1062 days ago | IN | 0 ETH | 0.02614147 | ||||
| Withdraw | 16346807 | 1145 days ago | IN | 0 ETH | 0.01116662 | ||||
| Withdraw | 16289308 | 1153 days ago | IN | 0 ETH | 0.0125582 | ||||
| Withdraw | 15878856 | 1210 days ago | IN | 0 ETH | 0.00900482 | ||||
| Withdraw | 15668617 | 1240 days ago | IN | 0 ETH | 0.0224515 | ||||
| Withdraw | 15329071 | 1292 days ago | IN | 0 ETH | 0.01355691 | ||||
| Withdraw | 14731227 | 1389 days ago | IN | 0 ETH | 0.01975906 | ||||
| Withdraw | 14704159 | 1393 days ago | IN | 0 ETH | 0.02503844 | ||||
| Withdraw | 14691487 | 1395 days ago | IN | 0 ETH | 0.02049452 | ||||
| Withdraw | 14673966 | 1398 days ago | IN | 0 ETH | 0.04309496 | ||||
| Withdraw | 14671990 | 1398 days ago | IN | 0 ETH | 0.01358387 | ||||
| Withdraw | 14660064 | 1400 days ago | IN | 0 ETH | 0.01826452 | ||||
| Withdraw | 14650924 | 1401 days ago | IN | 0 ETH | 0.03138654 | ||||
| Withdraw | 14611619 | 1408 days ago | IN | 0 ETH | 0.01983004 | ||||
| Withdraw | 14529292 | 1420 days ago | IN | 0 ETH | 0.05385532 | ||||
| Withdraw | 14527001 | 1421 days ago | IN | 0 ETH | 0.04347332 | ||||
| Withdraw | 14457984 | 1432 days ago | IN | 0 ETH | 0.02449847 | ||||
| Deposit | 14369623 | 1445 days ago | IN | 0 ETH | 0.00235394 | ||||
| Withdraw | 14347801 | 1449 days ago | IN | 0 ETH | 0.01726741 | ||||
| Withdraw | 14347750 | 1449 days ago | IN | 0 ETH | 0.01255847 | ||||
| Withdraw | 14342649 | 1449 days ago | IN | 0 ETH | 0.02616486 | ||||
| Withdraw | 14306155 | 1455 days ago | IN | 0 ETH | 0.01858042 | ||||
| Withdraw | 14279514 | 1459 days ago | IN | 0 ETH | 0.01594967 | ||||
| Withdraw | 14245840 | 1464 days ago | IN | 0 ETH | 0.02453796 | ||||
| Withdraw | 14232745 | 1467 days ago | IN | 0 ETH | 0.04364206 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Vault
Compiler Version
v0.6.12+commit.27d51765
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/GSN/Context.sol";
import "./interfaces/IManager.sol";
import "./interfaces/IController.sol";
import "./interfaces/IConverter.sol";
import "./interfaces/IVault.sol";
import "./interfaces/IVaultToken.sol";
import "./interfaces/ExtendedIERC20.sol";
/**
* @title Vault
* @notice The vault is where users deposit and withdraw
* like-kind assets that have been added by governance.
*/
contract Vault is IVault {
using Address for address;
using SafeMath for uint256;
using SafeERC20 for IERC20;
uint256 public constant MAX = 10000;
IManager public immutable override manager;
IERC20 public immutable token;
IVaultToken public immutable vaultToken;
// Strategist-updated variables
address public override gauge;
uint256 public min;
uint256 public totalDepositCap;
event Deposit(address indexed account, uint256 amount);
event Withdraw(address indexed account, uint256 amount);
event Earn(address indexed token, uint256 amount);
/**
* @param _depositToken The address of the deposit token of the vault
* @param _vaultToken The address of the share token for the vault
* @param _manager The address of the vault manager contract
*/
constructor(
address _depositToken,
address _vaultToken,
address _manager
)
public
{
manager = IManager(_manager);
token = IERC20(_depositToken);
vaultToken = IVaultToken(_vaultToken);
min = 9500;
totalDepositCap = 10000000 ether;
}
/**
* STRATEGIST-ONLY FUNCTIONS
*/
/**
* @notice Sets the value of this vault's gauge
* @dev Allow to be unset with the zero address
* @param _gauge The address of the gauge
*/
function setGauge(
address _gauge
)
external
notHalted
onlyStrategist
{
gauge = _gauge;
}
/**
* @notice Sets the value for min
* @dev min is the minimum percent of funds to keep small withdrawals cheap
* @param _min The new min value
*/
function setMin(
uint256 _min
)
external
notHalted
onlyStrategist
{
require(_min <= MAX, "!_min");
min = _min;
}
/**
* @notice Sets the value for the totalDepositCap
* @dev totalDepositCap is the maximum amount of value that can be deposited
* to the metavault at a time
* @param _totalDepositCap The new totalDepositCap value
*/
function setTotalDepositCap(
uint256 _totalDepositCap
)
external
notHalted
onlyStrategist
{
totalDepositCap = _totalDepositCap;
}
/**
* HARVESTER-ONLY FUNCTIONS
*/
/**
* @notice Sends accrued 3CRV tokens on the metavault to the controller to be deposited to strategies
*/
function earn(
address _strategy
)
external
override
notHalted
onlyHarvester
{
require(manager.allowedStrategies(_strategy), "!_strategy");
IController _controller = IController(manager.controllers(address(this)));
if (_controller.investEnabled()) {
uint256 _balance = available();
token.safeTransfer(address(_controller), _balance);
_controller.earn(_strategy, address(token), _balance);
emit Earn(address(token), _balance);
}
}
/**
* USER-FACING FUNCTIONS
*/
/**
* @notice Deposits the given token into the vault
* @param _amount The amount of tokens to deposit
*/
function deposit(
uint256 _amount
)
public
override
notHalted
returns (uint256 _shares)
{
require(_amount > 0, "!_amount");
uint256 _balance = balance();
uint256 _before = token.balanceOf(address(this));
token.safeTransferFrom(msg.sender, address(this), _amount);
_amount = token.balanceOf(address(this)).sub(_before);
uint256 _supply = IERC20(address(vaultToken)).totalSupply();
_amount = _normalizeDecimals(_amount);
if (_supply > 0) {
_amount = (_amount.mul(_supply)).div(_balance);
}
_shares = _amount;
require(_shares > 0, "shares=0");
require(_supply.add(_shares) <= totalDepositCap, ">totalDepositCap");
vaultToken.mint(msg.sender, _shares);
emit Deposit(msg.sender, _shares);
}
/**
* @notice Withdraws an amount of shares to a given output token
* @param _shares The amount of shares to withdraw
*/
function withdraw(
uint256 _shares
)
public
override
{
uint256 _amount = (balance().mul(_shares)).div(IERC20(address(vaultToken)).totalSupply());
vaultToken.burn(msg.sender, _shares);
uint256 _withdrawalProtectionFee = manager.withdrawalProtectionFee();
if (_withdrawalProtectionFee > 0) {
uint256 _withdrawalProtection = _amount.mul(_withdrawalProtectionFee).div(MAX);
_amount = _amount.sub(_withdrawalProtection);
}
uint256 _balance = token.balanceOf(address(this));
if (_balance < _amount) {
IController _controller = IController(manager.controllers(address(this)));
uint256 _toWithdraw = _amount.sub(_balance);
if (_controller.strategies() > 0) {
_controller.withdraw(address(token), _toWithdraw);
}
uint256 _after = token.balanceOf(address(this));
uint256 _diff = _after.sub(_balance);
if (_diff < _toWithdraw) {
_amount = _after;
}
}
token.safeTransfer(msg.sender, _amount);
emit Withdraw(msg.sender, _amount);
}
/**
* @notice Withdraw the entire balance for an account
*/
function withdrawAll()
external
override
{
withdraw(IERC20(address(vaultToken)).balanceOf(msg.sender));
}
/**
* VIEWS
*/
/**
* @notice Returns the amount of tokens available to be sent to strategies
* @dev Custom logic in here for how much the vault allows to be borrowed
* @dev Sets minimum required on-hand to keep small withdrawals cheap
*/
function available()
public
view
override
returns (uint256)
{
return token.balanceOf(address(this)).mul(min).div(MAX);
}
/**
* @notice Returns the total balance of the vault, including strategies
*/
function balance()
public
view
override
returns (uint256 _balance)
{
return balanceOfThis().add(_normalizeDecimals(IController(manager.controllers(address(this))).balanceOf()));
}
/**
* @notice Returns the balance of allowed tokens present on the vault only
*/
function balanceOfThis()
public
view
returns (uint256)
{
return _normalizeDecimals(token.balanceOf(address(this)));
}
/**
* @notice Returns the rate of vault shares
*/
function getPricePerFullShare()
external
view
override
returns (uint256)
{
uint256 _supply = IERC20(address(vaultToken)).totalSupply();
if (_supply > 0) {
return balance().mul(1e18).div(_supply);
} else {
return balance();
}
}
/**
* @notice Returns the deposit token for the vault
*/
function getToken()
public
view
override
returns (address)
{
return address(token);
}
function getLPToken()
external
view
override
returns (address)
{
return address(vaultToken);
}
/**
* @notice Returns the fee for withdrawing the given amount
* @param _amount The amount to withdraw
*/
function withdrawFee(
uint256 _amount
)
external
view
override
returns (uint256)
{
return manager.withdrawalProtectionFee().mul(_amount).div(MAX);
}
function _normalizeDecimals(
uint256 _amount
)
internal
view
returns (uint256)
{
uint256 _decimals = uint256(ExtendedIERC20(address(token)).decimals());
if (_decimals < 18) {
_amount = _amount.mul(10**(18-_decimals));
}
return _amount;
}
/**
* MODIFIERS
*/
modifier notHalted() {
require(!manager.halted(), "halted");
_;
}
modifier onlyHarvester() {
require(msg.sender == manager.harvester(), "!harvester");
_;
}
modifier onlyStrategist() {
require(msg.sender == manager.strategist(), "!strategist");
_;
}
}// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high level programming languages.
* `SafeMath` restores this intuition by reverting the transaction when an
* operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, "SafeMath: subtraction overflow");
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, "SafeMath: division by zero");
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b > 0, errorMessage);
uint256 c = a / b;
// assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return mod(a, b, "SafeMath: modulo by zero");
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts with custom message when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b != 0, errorMessage);
return a % b;
}
}// SPDX-License-Identifier: MIT
pragma solidity >=0.6.2 <0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
// solhint-disable-next-line no-inline-assembly
assembly { size := extcodesize(account) }
return size > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
// solhint-disable-next-line avoid-low-level-calls, avoid-call-value
(bool success, ) = recipient.call{ value: amount }("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain`call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.call{ value: value }(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.staticcall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
// solhint-disable-next-line no-inline-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "./IERC20.sol";
import "../../math/SafeMath.sol";
import "../../utils/Address.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using SafeMath for uint256;
using Address for address;
function safeTransfer(IERC20 token, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
}
/**
* @dev Deprecated. This function has issues similar to the ones found in
* {IERC20-approve}, and its usage is discouraged.
*
* Whenever possible, use {safeIncreaseAllowance} and
* {safeDecreaseAllowance} instead.
*/
function safeApprove(IERC20 token, address spender, uint256 value) internal {
// safeApprove should only be called when setting an initial allowance,
// or when resetting it to zero. To increase and decrease it, use
// 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
// solhint-disable-next-line max-line-length
require((value == 0) || (token.allowance(address(this), spender) == 0),
"SafeERC20: approve from non-zero to non-zero allowance"
);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
}
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 newAllowance = token.allowance(address(this), spender).add(value);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
// the target address contains contract code and also asserts for success in the low-level call.
bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
if (returndata.length > 0) { // Return data is optional
// solhint-disable-next-line max-line-length
require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
}
}// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with GSN 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 payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
interface IManager {
function addVault(address) external;
function allowedControllers(address) external view returns (bool);
function allowedConverters(address) external view returns (bool);
function allowedStrategies(address) external view returns (bool);
function allowedVaults(address) external view returns (bool);
function controllers(address) external view returns (address);
function getHarvestFeeInfo() external view returns (address, address, uint256);
function getToken(address) external view returns (address);
function governance() external view returns (address);
function halted() external view returns (bool);
function harvester() external view returns (address);
function insuranceFee() external view returns (uint256);
function insurancePool() external view returns (address);
function insurancePoolFee() external view returns (uint256);
function pendingStrategist() external view returns (address);
function removeVault(address) external;
function stakingPool() external view returns (address);
function stakingPoolShareFee() external view returns (uint256);
function strategist() external view returns (address);
function treasury() external view returns (address);
function treasuryFee() external view returns (uint256);
function withdrawalProtectionFee() external view returns (uint256);
function yaxis() external view returns (address);
}// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
import "./IManager.sol";
interface IController {
function balanceOf() external view returns (uint256);
function converter(address _vault) external view returns (address);
function earn(address _strategy, address _token, uint256 _amount) external;
function investEnabled() external view returns (bool);
function harvestStrategy(address _strategy, uint256[] calldata _estimates) external;
function manager() external view returns (IManager);
function strategies() external view returns (uint256);
function withdraw(address _token, uint256 _amount) external;
function withdrawAll(address _strategy, address _convert) external;
}// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
import "./IManager.sol";
interface IConverter {
function manager() external view returns (IManager);
function convert(
address _input,
address _output,
uint256 _inputAmount,
uint256 _estimatedOutput
) external returns (uint256 _outputAmount);
function expected(
address _input,
address _output,
uint256 _inputAmount
) external view returns (uint256 _outputAmount);
}// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
import "./IManager.sol";
interface IVault {
function available() external view returns (uint256);
function balance() external view returns (uint256);
function deposit(uint256 _amount) external returns (uint256);
function earn(address _strategy) external;
function gauge() external returns (address);
function getLPToken() external view returns (address);
function getPricePerFullShare() external view returns (uint256);
function getToken() external view returns (address);
function manager() external view returns (IManager);
function withdraw(uint256 _amount) external;
function withdrawAll() external;
function withdrawFee(uint256 _amount) external view returns (uint256);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.6.2;
interface IVaultToken {
function mint(address,uint256) external;
function burn(address,uint256) external;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.6.2;
interface ExtendedIERC20 {
function decimals() external view returns (uint8);
function name() external view returns (string memory);
function symbol() external view returns (string memory);
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"metadata": {
"useLiteralContent": true
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_depositToken","type":"address"},{"internalType":"address","name":"_vaultToken","type":"address"},{"internalType":"address","name":"_manager","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Earn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"available","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balance","outputs":[{"internalType":"uint256","name":"_balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOfThis","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[{"internalType":"uint256","name":"_shares","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_strategy","type":"address"}],"name":"earn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gauge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLPToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPricePerFullShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manager","outputs":[{"internalType":"contract IManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"min","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_gauge","type":"address"}],"name":"setGauge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_min","type":"uint256"}],"name":"setMin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_totalDepositCap","type":"uint256"}],"name":"setTotalDepositCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDepositCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vaultToken","outputs":[{"internalType":"contract IVaultToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_shares","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]Contract Creation Code
60e060405234801561001057600080fd5b5060405161238d38038061238d8339818101604052606081101561003357600080fd5b50805160208201516040909201516001600160601b0319606082811b821660805283811b821660a05284901b1660c05261251c6001556a084595161401484a0000006002556001600160a01b0390811692918116911661222d610160600039806102e55280610384528061083d5280610cc15280610ce85280610da0528061126a52806113ce5250806102bb52806104c65280610690528061071352806107d85280610a665280610e4552806110f3528061119952806111c752806116785280611a285280611a615280611b005280611c94525080610415528061056b528061086152806109215280610a345280610b0a5280610bca5280610efa5280610fe5528061147952806114de528061159e528061169c528061175c528061182a5280611903525061222d6000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c8063853828b6116100b8578063be3576161161007c578063be35761614610241578063d49d51811461025e578063ebbf5c1714610266578063f889794514610283578063fc0c546a1461028b578063fdb5fefc1461029357610137565b8063853828b614610204578063999eb6b11461020c578063a6f19c8414610214578063b69ef8a81461021c578063b6b55f251461022457610137565b806348a0d754116100ff57806348a0d754146101ac57806355a68ed3146101c65780635db88e85146101ec578063703bafd5146101f457806377c7b8fc146101fc57610137565b806321df0da71461013c5780632e1a7d4d146101605780633c1aa9251461017f57806345dc3dd814610187578063481c6a75146101a4575b600080fd5b6101446102b9565b604080516001600160a01b039092168252519081900360200190f35b61017d6004803603602081101561017657600080fd5b50356102de565b005b61014461083b565b61017d6004803603602081101561019d57600080fd5b503561085f565b610144610a32565b6101b4610a56565b60408051918252519081900360200190f35b61017d600480360360208110156101dc57600080fd5b50356001600160a01b0316610b08565b6101b4610cb9565b610144610cbf565b6101b4610ce3565b61017d610d9b565b6101b4610e3e565b610144610ee1565b6101b4610ef0565b6101b46004803603602081101561023a57600080fd5b5035610fe1565b6101b46004803603602081101561025757600080fd5b503561146b565b6101b46114d6565b61017d6004803603602081101561027c57600080fd5b50356114dc565b6101b4611670565b610144611676565b61017d600480360360208110156102a957600080fd5b50356001600160a01b031661169a565b7f00000000000000000000000000000000000000000000000000000000000000005b90565b60006103807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561033c57600080fd5b505afa158015610350573d6000803e3d6000fd5b505050506040513d602081101561036657600080fd5b505161037a84610374610ef0565b90611b54565b90611bb4565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639dc29fac33846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156103f957600080fd5b505af115801561040d573d6000803e3d6000fd5b5050505060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663825139096040518163ffffffff1660e01b815260040160206040518083038186803b15801561046c57600080fd5b505afa158015610480573d6000803e3d6000fd5b505050506040513d602081101561049657600080fd5b5051905080156104c25760006104b261271061037a8585611b54565b90506104be8382611bf6565b9250505b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561053157600080fd5b505afa158015610545573d6000803e3d6000fd5b505050506040513d602081101561055b57600080fd5b50519050828110156107cb5760007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663da8c229e306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156105d657600080fd5b505afa1580156105ea573d6000803e3d6000fd5b505050506040513d602081101561060057600080fd5b5051905060006106108584611bf6565b90506000826001600160a01b031663d9f9027f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561064d57600080fd5b505afa158015610661573d6000803e3d6000fd5b505050506040513d602081101561067757600080fd5b5051111561070f57816001600160a01b031663f3fef3a37f0000000000000000000000000000000000000000000000000000000000000000836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156106f657600080fd5b505af115801561070a573d6000803e3d6000fd5b505050505b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561077e57600080fd5b505afa158015610792573d6000803e3d6000fd5b505050506040513d60208110156107a857600080fd5b5051905060006107b88286611bf6565b9050828110156107c6578196505b505050505b6107ff6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163385611c38565b60408051848152905133917f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364919081900360200190a250505050565b7f000000000000000000000000000000000000000000000000000000000000000090565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663b9b8af0b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156108b857600080fd5b505afa1580156108cc573d6000803e3d6000fd5b505050506040513d60208110156108e257600080fd5b50511561091f576040805162461bcd60e51b81526020600482015260066024820152651a185b1d195960d21b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631fe4a6866040518163ffffffff1660e01b815260040160206040518083038186803b15801561097857600080fd5b505afa15801561098c573d6000803e3d6000fd5b505050506040513d60208110156109a257600080fd5b50516001600160a01b031633146109ee576040805162461bcd60e51b815260206004820152600b60248201526a085cdd1c985d1959da5cdd60aa1b604482015290519081900360640190fd5b612710811115610a2d576040805162461bcd60e51b815260206004820152600560248201526410afb6b4b760d91b604482015290519081900360640190fd5b600155565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000610b0361271061037a6001547f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610ad157600080fd5b505afa158015610ae5573d6000803e3d6000fd5b505050506040513d6020811015610afb57600080fd5b505190611b54565b905090565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663b9b8af0b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610b6157600080fd5b505afa158015610b75573d6000803e3d6000fd5b505050506040513d6020811015610b8b57600080fd5b505115610bc8576040805162461bcd60e51b81526020600482015260066024820152651a185b1d195960d21b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631fe4a6866040518163ffffffff1660e01b815260040160206040518083038186803b158015610c2157600080fd5b505afa158015610c35573d6000803e3d6000fd5b505050506040513d6020811015610c4b57600080fd5b50516001600160a01b03163314610c97576040805162461bcd60e51b815260206004820152600b60248201526a085cdd1c985d1959da5cdd60aa1b604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b60025481565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d3f57600080fd5b505afa158015610d53573d6000803e3d6000fd5b505050506040513d6020811015610d6957600080fd5b505190508015610d9357610d8b8161037a670de0b6b3a7640000610374610ef0565b9150506102db565b610d8b610ef0565b610e3c7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610e0b57600080fd5b505afa158015610e1f573d6000803e3d6000fd5b505050506040513d6020811015610e3557600080fd5b50516102de565b565b6000610b037f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610eb057600080fd5b505afa158015610ec4573d6000803e3d6000fd5b505050506040513d6020811015610eda57600080fd5b5051611c8f565b6000546001600160a01b031681565b6000610b03610fd37f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663da8c229e306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610f6557600080fd5b505afa158015610f79573d6000803e3d6000fd5b505050506040513d6020811015610f8f57600080fd5b50516040805163722713f760e01b815290516001600160a01b039092169163722713f791600480820192602092909190829003018186803b158015610eb057600080fd5b610fdb610e3e565b90611d40565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663b9b8af0b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561103c57600080fd5b505afa158015611050573d6000803e3d6000fd5b505050506040513d602081101561106657600080fd5b5051156110a3576040805162461bcd60e51b81526020600482015260066024820152651a185b1d195960d21b604482015290519081900360640190fd5b600082116110e3576040805162461bcd60e51b81526020600482015260086024820152670857d85b5bdd5b9d60c21b604482015290519081900360640190fd5b60006110ed610ef0565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561115e57600080fd5b505afa158015611172573d6000803e3d6000fd5b505050506040513d602081101561118857600080fd5b505190506111c16001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016333087611d9a565b611264817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561123257600080fd5b505afa158015611246573d6000803e3d6000fd5b505050506040513d602081101561125c57600080fd5b505190611bf6565b935060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156112c157600080fd5b505afa1580156112d5573d6000803e3d6000fd5b505050506040513d60208110156112eb57600080fd5b505190506112f885611c8f565b945080156113115761130e8361037a8784611b54565b94505b84935060008411611354576040805162461bcd60e51b815260206004820152600860248201526707368617265733d360c41b604482015290519081900360640190fd5b6002546113618286611d40565b11156113a7576040805162461bcd60e51b815260206004820152601060248201526f03e746f74616c4465706f7369744361760841b604482015290519081900360640190fd5b604080516340c10f1960e01b81523360048201526024810186905290516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916340c10f1991604480830192600092919082900301818387803b15801561141557600080fd5b505af1158015611429573d6000803e3d6000fd5b50506040805187815290513393507fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c92509081900360200190a2505050919050565b60006114d061271061037a847f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663825139096040518163ffffffff1660e01b815260040160206040518083038186803b158015610ad157600080fd5b92915050565b61271081565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663b9b8af0b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561153557600080fd5b505afa158015611549573d6000803e3d6000fd5b505050506040513d602081101561155f57600080fd5b50511561159c576040805162461bcd60e51b81526020600482015260066024820152651a185b1d195960d21b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631fe4a6866040518163ffffffff1660e01b815260040160206040518083038186803b1580156115f557600080fd5b505afa158015611609573d6000803e3d6000fd5b505050506040513d602081101561161f57600080fd5b50516001600160a01b0316331461166b576040805162461bcd60e51b815260206004820152600b60248201526a085cdd1c985d1959da5cdd60aa1b604482015290519081900360640190fd5b600255565b60015481565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663b9b8af0b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156116f357600080fd5b505afa158015611707573d6000803e3d6000fd5b505050506040513d602081101561171d57600080fd5b50511561175a576040805162461bcd60e51b81526020600482015260066024820152651a185b1d195960d21b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634bdaeac16040518163ffffffff1660e01b815260040160206040518083038186803b1580156117b357600080fd5b505afa1580156117c7573d6000803e3d6000fd5b505050506040513d60208110156117dd57600080fd5b50516001600160a01b03163314611828576040805162461bcd60e51b815260206004820152600a60248201526910b430b93b32b9ba32b960b11b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316637ae6c8d4826040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561189557600080fd5b505afa1580156118a9573d6000803e3d6000fd5b505050506040513d60208110156118bf57600080fd5b50516118ff576040805162461bcd60e51b815260206004820152600a602482015269215f737472617465677960b01b604482015290519081900360640190fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663da8c229e306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561196e57600080fd5b505afa158015611982573d6000803e3d6000fd5b505050506040513d602081101561199857600080fd5b5051604080516371f4f3fb60e01b815290519192506001600160a01b038316916371f4f3fb91600480820192602092909190829003018186803b1580156119de57600080fd5b505afa1580156119f2573d6000803e3d6000fd5b505050506040513d6020811015611a0857600080fd5b505115611b50576000611a19610a56565b9050611a4f6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168383611c38565b816001600160a01b03166338e88610847f0000000000000000000000000000000000000000000000000000000000000000846040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050600060405180830381600087803b158015611ad757600080fd5b505af1158015611aeb573d6000803e3d6000fd5b50506040805184815290516001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001693507f9b883692663cf2cc636d9eda0392f2c7ff1a3163a5cef27fa1f8bb438ec73ab592509081900360200190a2505b5050565b600082611b63575060006114d0565b82820282848281611b7057fe5b0414611bad5760405162461bcd60e51b81526004018080602001828103825260218152602001806121ad6021913960400191505060405180910390fd5b9392505050565b6000611bad83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611dfa565b6000611bad83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611e9c565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611c8a908490611ef6565b505050565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015611ceb57600080fd5b505afa158015611cff573d6000803e3d6000fd5b505050506040513d6020811015611d1557600080fd5b505160ff1690506012811015611d3957611d36836012839003600a0a611b54565b92505b5090919050565b600082820183811015611bad576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611df4908590611ef6565b50505050565b60008183611e865760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611e4b578181015183820152602001611e33565b50505050905090810190601f168015611e785780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611e9257fe5b0495945050505050565b60008184841115611eee5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611e4b578181015183820152602001611e33565b505050900390565b6060611f4b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611fa79092919063ffffffff16565b805190915015611c8a57808060200190516020811015611f6a57600080fd5b5051611c8a5760405162461bcd60e51b815260040180806020018281038252602a8152602001806121ce602a913960400191505060405180910390fd5b6060611fb68484600085611fbe565b949350505050565b606082471015611fff5760405162461bcd60e51b81526004018080602001828103825260268152602001806121876026913960400191505060405180910390fd5b6120088561211a565b612059576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106120985780518252601f199092019160209182019101612079565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146120fa576040519150601f19603f3d011682016040523d82523d6000602084013e6120ff565b606091505b509150915061210f828286612120565b979650505050505050565b3b151590565b6060831561212f575081611bad565b82511561213f5782518084602001fd5b60405162461bcd60e51b8152602060048201818152845160248401528451859391928392604401919085019080838360008315611e4b578181015183820152602001611e3356fe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212201210d51b26ce53b1c2bc51419ada5f60f40db15cf86521a1d6cabbc5868129ea64736f6c634300060c0033000000000000000000000000c4c319e2d4d66cca4464c0c2b32c9bd23ebe784e000000000000000000000000ef84fac432846ad5f6f1bd4caccf2849e2818e66000000000000000000000000ab72cc293b63f6477baf9d514da735cf6caadc2d
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101375760003560e01c8063853828b6116100b8578063be3576161161007c578063be35761614610241578063d49d51811461025e578063ebbf5c1714610266578063f889794514610283578063fc0c546a1461028b578063fdb5fefc1461029357610137565b8063853828b614610204578063999eb6b11461020c578063a6f19c8414610214578063b69ef8a81461021c578063b6b55f251461022457610137565b806348a0d754116100ff57806348a0d754146101ac57806355a68ed3146101c65780635db88e85146101ec578063703bafd5146101f457806377c7b8fc146101fc57610137565b806321df0da71461013c5780632e1a7d4d146101605780633c1aa9251461017f57806345dc3dd814610187578063481c6a75146101a4575b600080fd5b6101446102b9565b604080516001600160a01b039092168252519081900360200190f35b61017d6004803603602081101561017657600080fd5b50356102de565b005b61014461083b565b61017d6004803603602081101561019d57600080fd5b503561085f565b610144610a32565b6101b4610a56565b60408051918252519081900360200190f35b61017d600480360360208110156101dc57600080fd5b50356001600160a01b0316610b08565b6101b4610cb9565b610144610cbf565b6101b4610ce3565b61017d610d9b565b6101b4610e3e565b610144610ee1565b6101b4610ef0565b6101b46004803603602081101561023a57600080fd5b5035610fe1565b6101b46004803603602081101561025757600080fd5b503561146b565b6101b46114d6565b61017d6004803603602081101561027c57600080fd5b50356114dc565b6101b4611670565b610144611676565b61017d600480360360208110156102a957600080fd5b50356001600160a01b031661169a565b7f000000000000000000000000c4c319e2d4d66cca4464c0c2b32c9bd23ebe784e5b90565b60006103807f000000000000000000000000ef84fac432846ad5f6f1bd4caccf2849e2818e666001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561033c57600080fd5b505afa158015610350573d6000803e3d6000fd5b505050506040513d602081101561036657600080fd5b505161037a84610374610ef0565b90611b54565b90611bb4565b90507f000000000000000000000000ef84fac432846ad5f6f1bd4caccf2849e2818e666001600160a01b0316639dc29fac33846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156103f957600080fd5b505af115801561040d573d6000803e3d6000fd5b5050505060007f000000000000000000000000ab72cc293b63f6477baf9d514da735cf6caadc2d6001600160a01b031663825139096040518163ffffffff1660e01b815260040160206040518083038186803b15801561046c57600080fd5b505afa158015610480573d6000803e3d6000fd5b505050506040513d602081101561049657600080fd5b5051905080156104c25760006104b261271061037a8585611b54565b90506104be8382611bf6565b9250505b60007f000000000000000000000000c4c319e2d4d66cca4464c0c2b32c9bd23ebe784e6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561053157600080fd5b505afa158015610545573d6000803e3d6000fd5b505050506040513d602081101561055b57600080fd5b50519050828110156107cb5760007f000000000000000000000000ab72cc293b63f6477baf9d514da735cf6caadc2d6001600160a01b031663da8c229e306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156105d657600080fd5b505afa1580156105ea573d6000803e3d6000fd5b505050506040513d602081101561060057600080fd5b5051905060006106108584611bf6565b90506000826001600160a01b031663d9f9027f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561064d57600080fd5b505afa158015610661573d6000803e3d6000fd5b505050506040513d602081101561067757600080fd5b5051111561070f57816001600160a01b031663f3fef3a37f000000000000000000000000c4c319e2d4d66cca4464c0c2b32c9bd23ebe784e836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156106f657600080fd5b505af115801561070a573d6000803e3d6000fd5b505050505b60007f000000000000000000000000c4c319e2d4d66cca4464c0c2b32c9bd23ebe784e6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561077e57600080fd5b505afa158015610792573d6000803e3d6000fd5b505050506040513d60208110156107a857600080fd5b5051905060006107b88286611bf6565b9050828110156107c6578196505b505050505b6107ff6001600160a01b037f000000000000000000000000c4c319e2d4d66cca4464c0c2b32c9bd23ebe784e163385611c38565b60408051848152905133917f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364919081900360200190a250505050565b7f000000000000000000000000ef84fac432846ad5f6f1bd4caccf2849e2818e6690565b7f000000000000000000000000ab72cc293b63f6477baf9d514da735cf6caadc2d6001600160a01b031663b9b8af0b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156108b857600080fd5b505afa1580156108cc573d6000803e3d6000fd5b505050506040513d60208110156108e257600080fd5b50511561091f576040805162461bcd60e51b81526020600482015260066024820152651a185b1d195960d21b604482015290519081900360640190fd5b7f000000000000000000000000ab72cc293b63f6477baf9d514da735cf6caadc2d6001600160a01b0316631fe4a6866040518163ffffffff1660e01b815260040160206040518083038186803b15801561097857600080fd5b505afa15801561098c573d6000803e3d6000fd5b505050506040513d60208110156109a257600080fd5b50516001600160a01b031633146109ee576040805162461bcd60e51b815260206004820152600b60248201526a085cdd1c985d1959da5cdd60aa1b604482015290519081900360640190fd5b612710811115610a2d576040805162461bcd60e51b815260206004820152600560248201526410afb6b4b760d91b604482015290519081900360640190fd5b600155565b7f000000000000000000000000ab72cc293b63f6477baf9d514da735cf6caadc2d81565b6000610b0361271061037a6001547f000000000000000000000000c4c319e2d4d66cca4464c0c2b32c9bd23ebe784e6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610ad157600080fd5b505afa158015610ae5573d6000803e3d6000fd5b505050506040513d6020811015610afb57600080fd5b505190611b54565b905090565b7f000000000000000000000000ab72cc293b63f6477baf9d514da735cf6caadc2d6001600160a01b031663b9b8af0b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610b6157600080fd5b505afa158015610b75573d6000803e3d6000fd5b505050506040513d6020811015610b8b57600080fd5b505115610bc8576040805162461bcd60e51b81526020600482015260066024820152651a185b1d195960d21b604482015290519081900360640190fd5b7f000000000000000000000000ab72cc293b63f6477baf9d514da735cf6caadc2d6001600160a01b0316631fe4a6866040518163ffffffff1660e01b815260040160206040518083038186803b158015610c2157600080fd5b505afa158015610c35573d6000803e3d6000fd5b505050506040513d6020811015610c4b57600080fd5b50516001600160a01b03163314610c97576040805162461bcd60e51b815260206004820152600b60248201526a085cdd1c985d1959da5cdd60aa1b604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b60025481565b7f000000000000000000000000ef84fac432846ad5f6f1bd4caccf2849e2818e6681565b6000807f000000000000000000000000ef84fac432846ad5f6f1bd4caccf2849e2818e666001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d3f57600080fd5b505afa158015610d53573d6000803e3d6000fd5b505050506040513d6020811015610d6957600080fd5b505190508015610d9357610d8b8161037a670de0b6b3a7640000610374610ef0565b9150506102db565b610d8b610ef0565b610e3c7f000000000000000000000000ef84fac432846ad5f6f1bd4caccf2849e2818e666001600160a01b03166370a08231336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610e0b57600080fd5b505afa158015610e1f573d6000803e3d6000fd5b505050506040513d6020811015610e3557600080fd5b50516102de565b565b6000610b037f000000000000000000000000c4c319e2d4d66cca4464c0c2b32c9bd23ebe784e6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610eb057600080fd5b505afa158015610ec4573d6000803e3d6000fd5b505050506040513d6020811015610eda57600080fd5b5051611c8f565b6000546001600160a01b031681565b6000610b03610fd37f000000000000000000000000ab72cc293b63f6477baf9d514da735cf6caadc2d6001600160a01b031663da8c229e306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610f6557600080fd5b505afa158015610f79573d6000803e3d6000fd5b505050506040513d6020811015610f8f57600080fd5b50516040805163722713f760e01b815290516001600160a01b039092169163722713f791600480820192602092909190829003018186803b158015610eb057600080fd5b610fdb610e3e565b90611d40565b60007f000000000000000000000000ab72cc293b63f6477baf9d514da735cf6caadc2d6001600160a01b031663b9b8af0b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561103c57600080fd5b505afa158015611050573d6000803e3d6000fd5b505050506040513d602081101561106657600080fd5b5051156110a3576040805162461bcd60e51b81526020600482015260066024820152651a185b1d195960d21b604482015290519081900360640190fd5b600082116110e3576040805162461bcd60e51b81526020600482015260086024820152670857d85b5bdd5b9d60c21b604482015290519081900360640190fd5b60006110ed610ef0565b905060007f000000000000000000000000c4c319e2d4d66cca4464c0c2b32c9bd23ebe784e6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561115e57600080fd5b505afa158015611172573d6000803e3d6000fd5b505050506040513d602081101561118857600080fd5b505190506111c16001600160a01b037f000000000000000000000000c4c319e2d4d66cca4464c0c2b32c9bd23ebe784e16333087611d9a565b611264817f000000000000000000000000c4c319e2d4d66cca4464c0c2b32c9bd23ebe784e6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561123257600080fd5b505afa158015611246573d6000803e3d6000fd5b505050506040513d602081101561125c57600080fd5b505190611bf6565b935060007f000000000000000000000000ef84fac432846ad5f6f1bd4caccf2849e2818e666001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156112c157600080fd5b505afa1580156112d5573d6000803e3d6000fd5b505050506040513d60208110156112eb57600080fd5b505190506112f885611c8f565b945080156113115761130e8361037a8784611b54565b94505b84935060008411611354576040805162461bcd60e51b815260206004820152600860248201526707368617265733d360c41b604482015290519081900360640190fd5b6002546113618286611d40565b11156113a7576040805162461bcd60e51b815260206004820152601060248201526f03e746f74616c4465706f7369744361760841b604482015290519081900360640190fd5b604080516340c10f1960e01b81523360048201526024810186905290516001600160a01b037f000000000000000000000000ef84fac432846ad5f6f1bd4caccf2849e2818e6616916340c10f1991604480830192600092919082900301818387803b15801561141557600080fd5b505af1158015611429573d6000803e3d6000fd5b50506040805187815290513393507fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c92509081900360200190a2505050919050565b60006114d061271061037a847f000000000000000000000000ab72cc293b63f6477baf9d514da735cf6caadc2d6001600160a01b031663825139096040518163ffffffff1660e01b815260040160206040518083038186803b158015610ad157600080fd5b92915050565b61271081565b7f000000000000000000000000ab72cc293b63f6477baf9d514da735cf6caadc2d6001600160a01b031663b9b8af0b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561153557600080fd5b505afa158015611549573d6000803e3d6000fd5b505050506040513d602081101561155f57600080fd5b50511561159c576040805162461bcd60e51b81526020600482015260066024820152651a185b1d195960d21b604482015290519081900360640190fd5b7f000000000000000000000000ab72cc293b63f6477baf9d514da735cf6caadc2d6001600160a01b0316631fe4a6866040518163ffffffff1660e01b815260040160206040518083038186803b1580156115f557600080fd5b505afa158015611609573d6000803e3d6000fd5b505050506040513d602081101561161f57600080fd5b50516001600160a01b0316331461166b576040805162461bcd60e51b815260206004820152600b60248201526a085cdd1c985d1959da5cdd60aa1b604482015290519081900360640190fd5b600255565b60015481565b7f000000000000000000000000c4c319e2d4d66cca4464c0c2b32c9bd23ebe784e81565b7f000000000000000000000000ab72cc293b63f6477baf9d514da735cf6caadc2d6001600160a01b031663b9b8af0b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156116f357600080fd5b505afa158015611707573d6000803e3d6000fd5b505050506040513d602081101561171d57600080fd5b50511561175a576040805162461bcd60e51b81526020600482015260066024820152651a185b1d195960d21b604482015290519081900360640190fd5b7f000000000000000000000000ab72cc293b63f6477baf9d514da735cf6caadc2d6001600160a01b0316634bdaeac16040518163ffffffff1660e01b815260040160206040518083038186803b1580156117b357600080fd5b505afa1580156117c7573d6000803e3d6000fd5b505050506040513d60208110156117dd57600080fd5b50516001600160a01b03163314611828576040805162461bcd60e51b815260206004820152600a60248201526910b430b93b32b9ba32b960b11b604482015290519081900360640190fd5b7f000000000000000000000000ab72cc293b63f6477baf9d514da735cf6caadc2d6001600160a01b0316637ae6c8d4826040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561189557600080fd5b505afa1580156118a9573d6000803e3d6000fd5b505050506040513d60208110156118bf57600080fd5b50516118ff576040805162461bcd60e51b815260206004820152600a602482015269215f737472617465677960b01b604482015290519081900360640190fd5b60007f000000000000000000000000ab72cc293b63f6477baf9d514da735cf6caadc2d6001600160a01b031663da8c229e306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561196e57600080fd5b505afa158015611982573d6000803e3d6000fd5b505050506040513d602081101561199857600080fd5b5051604080516371f4f3fb60e01b815290519192506001600160a01b038316916371f4f3fb91600480820192602092909190829003018186803b1580156119de57600080fd5b505afa1580156119f2573d6000803e3d6000fd5b505050506040513d6020811015611a0857600080fd5b505115611b50576000611a19610a56565b9050611a4f6001600160a01b037f000000000000000000000000c4c319e2d4d66cca4464c0c2b32c9bd23ebe784e168383611c38565b816001600160a01b03166338e88610847f000000000000000000000000c4c319e2d4d66cca4464c0c2b32c9bd23ebe784e846040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050600060405180830381600087803b158015611ad757600080fd5b505af1158015611aeb573d6000803e3d6000fd5b50506040805184815290516001600160a01b037f000000000000000000000000c4c319e2d4d66cca4464c0c2b32c9bd23ebe784e1693507f9b883692663cf2cc636d9eda0392f2c7ff1a3163a5cef27fa1f8bb438ec73ab592509081900360200190a2505b5050565b600082611b63575060006114d0565b82820282848281611b7057fe5b0414611bad5760405162461bcd60e51b81526004018080602001828103825260218152602001806121ad6021913960400191505060405180910390fd5b9392505050565b6000611bad83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611dfa565b6000611bad83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611e9c565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611c8a908490611ef6565b505050565b6000807f000000000000000000000000c4c319e2d4d66cca4464c0c2b32c9bd23ebe784e6001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015611ceb57600080fd5b505afa158015611cff573d6000803e3d6000fd5b505050506040513d6020811015611d1557600080fd5b505160ff1690506012811015611d3957611d36836012839003600a0a611b54565b92505b5090919050565b600082820183811015611bad576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611df4908590611ef6565b50505050565b60008183611e865760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611e4b578181015183820152602001611e33565b50505050905090810190601f168015611e785780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611e9257fe5b0495945050505050565b60008184841115611eee5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611e4b578181015183820152602001611e33565b505050900390565b6060611f4b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611fa79092919063ffffffff16565b805190915015611c8a57808060200190516020811015611f6a57600080fd5b5051611c8a5760405162461bcd60e51b815260040180806020018281038252602a8152602001806121ce602a913960400191505060405180910390fd5b6060611fb68484600085611fbe565b949350505050565b606082471015611fff5760405162461bcd60e51b81526004018080602001828103825260268152602001806121876026913960400191505060405180910390fd5b6120088561211a565b612059576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106120985780518252601f199092019160209182019101612079565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146120fa576040519150601f19603f3d011682016040523d82523d6000602084013e6120ff565b606091505b509150915061210f828286612120565b979650505050505050565b3b151590565b6060831561212f575081611bad565b82511561213f5782518084602001fd5b60405162461bcd60e51b8152602060048201818152845160248401528451859391928392604401919085019080838360008315611e4b578181015183820152602001611e3356fe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212201210d51b26ce53b1c2bc51419ada5f60f40db15cf86521a1d6cabbc5868129ea64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c4c319e2d4d66cca4464c0c2b32c9bd23ebe784e000000000000000000000000ef84fac432846ad5f6f1bd4caccf2849e2818e66000000000000000000000000ab72cc293b63f6477baf9d514da735cf6caadc2d
-----Decoded View---------------
Arg [0] : _depositToken (address): 0xC4C319E2D4d66CcA4464C0c2B32c9Bd23ebe784e
Arg [1] : _vaultToken (address): 0xeF84fAc432846Ad5f6f1bD4caCcF2849e2818e66
Arg [2] : _manager (address): 0xAB72cC293B63f6477BAf9d514Da735Cf6caADC2d
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000c4c319e2d4d66cca4464c0c2b32c9bd23ebe784e
Arg [1] : 000000000000000000000000ef84fac432846ad5f6f1bd4caccf2849e2818e66
Arg [2] : 000000000000000000000000ab72cc293b63f6477baf9d514da735cf6caadc2d
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 34 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.