More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60e06040 | 14482853 | 877 days ago | IN | 0 ETH | 0.09342405 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
ParaSwapV5Adapter
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0 /* This file is part of the Enzyme Protocol. (c) Enzyme Council <[email protected]> For the full license information, please view the LICENSE file that was distributed with this source code. */ pragma solidity 0.6.12; pragma experimental ABIEncoderV2; import "../utils/actions/ParaSwapV5ActionsMixin.sol"; import "../utils/AdapterBase.sol"; /// @title ParaSwapV5Adapter Contract /// @author Enzyme Council <[email protected]> /// @notice Adapter for interacting with ParaSwap (v5) /// @dev Does not support any protocol that collects additional protocol fees as ETH/WETH, e.g., 0x v3 contract ParaSwapV5Adapter is AdapterBase, ParaSwapV5ActionsMixin { constructor( address _integrationManager, address _augustusSwapper, address _tokenTransferProxy ) public AdapterBase(_integrationManager) ParaSwapV5ActionsMixin(_augustusSwapper, _tokenTransferProxy) {} // EXTERNAL FUNCTIONS /// @notice Trades assets on ParaSwap /// @param _vaultProxy The VaultProxy of the calling fund /// @param _actionData Data specific to this action /// @dev ParaSwap v5 completely uses entire outgoing asset balance and incoming asset /// is sent directly to the beneficiary (the _vaultProxy) function takeOrder( address _vaultProxy, bytes calldata _actionData, bytes calldata ) external onlyIntegrationManager { ( uint256 minIncomingAssetAmount, uint256 expectedIncomingAssetAmount, address outgoingAsset, uint256 outgoingAssetAmount, bytes16 uuid, IParaSwapV5AugustusSwapper.Path[] memory paths ) = __decodeCallArgs(_actionData); __paraSwapV5MultiSwap( outgoingAsset, outgoingAssetAmount, minIncomingAssetAmount, expectedIncomingAssetAmount, payable(_vaultProxy), uuid, paths ); } /// @notice Parses the expected assets in a particular action /// @param _selector The function selector for the callOnIntegration /// @param _actionData Data specific to this action /// @return spendAssetsHandleType_ A type that dictates how to handle granting /// the adapter access to spend assets (`None` by default) /// @return spendAssets_ The assets to spend in the call /// @return spendAssetAmounts_ The max asset amounts to spend in the call /// @return incomingAssets_ The assets to receive in the call /// @return minIncomingAssetAmounts_ The min asset amounts to receive in the call function parseAssetsForAction( address, bytes4 _selector, bytes calldata _actionData ) external view override returns ( IIntegrationManager.SpendAssetsHandleType spendAssetsHandleType_, address[] memory spendAssets_, uint256[] memory spendAssetAmounts_, address[] memory incomingAssets_, uint256[] memory minIncomingAssetAmounts_ ) { require(_selector == TAKE_ORDER_SELECTOR, "parseAssetsForAction: _selector invalid"); ( uint256 minIncomingAssetAmount, , address outgoingAsset, uint256 outgoingAssetAmount, , IParaSwapV5AugustusSwapper.Path[] memory paths ) = __decodeCallArgs(_actionData); spendAssets_ = new address[](1); spendAssets_[0] = outgoingAsset; spendAssetAmounts_ = new uint256[](1); spendAssetAmounts_[0] = outgoingAssetAmount; incomingAssets_ = new address[](1); incomingAssets_[0] = paths[paths.length - 1].to; minIncomingAssetAmounts_ = new uint256[](1); minIncomingAssetAmounts_[0] = minIncomingAssetAmount; return ( IIntegrationManager.SpendAssetsHandleType.Transfer, spendAssets_, spendAssetAmounts_, incomingAssets_, minIncomingAssetAmounts_ ); } /// @dev Helper to decode the encoded callOnIntegration call arguments function __decodeCallArgs(bytes calldata _actionData) private pure returns ( uint256 minIncomingAssetAmount_, uint256 expectedIncomingAssetAmount_, // Passed as a courtesy to ParaSwap for analytics address outgoingAsset_, uint256 outgoingAssetAmount_, bytes16 uuid_, IParaSwapV5AugustusSwapper.Path[] memory paths_ ) { return abi.decode( _actionData, (uint256, uint256, address, uint256, bytes16, IParaSwapV5AugustusSwapper.Path[]) ); } }
// 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, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @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) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @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) { 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, reverting 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) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting 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) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * 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); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * 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); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * 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.0 <0.8.0; import "../../utils/Context.sol"; import "./IERC20.sol"; import "../../math/SafeMath.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) public { _name = name_; _symbol = symbol_; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal virtual { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } }
// 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; 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.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); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(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; /* * @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: GPL-3.0 /* This file is part of the Enzyme Protocol. (c) Enzyme Council <[email protected]> For the full license information, please view the LICENSE file that was distributed with this source code. */ pragma solidity 0.6.12; /// @title IIntegrationManager interface /// @author Enzyme Council <[email protected]> /// @notice Interface for the IntegrationManager interface IIntegrationManager { enum SpendAssetsHandleType {None, Approve, Transfer} }
// SPDX-License-Identifier: GPL-3.0 /* This file is part of the Enzyme Protocol. (c) Enzyme Council <[email protected]> For the full license information, please view the LICENSE file that was distributed with this source code. */ pragma solidity 0.6.12; import "../IIntegrationManager.sol"; /// @title Integration Adapter interface /// @author Enzyme Council <[email protected]> /// @notice Interface for all integration adapters interface IIntegrationAdapter { function parseAssetsForAction( address _vaultProxy, bytes4 _selector, bytes calldata _encodedCallArgs ) external view returns ( IIntegrationManager.SpendAssetsHandleType spendAssetsHandleType_, address[] memory spendAssets_, uint256[] memory spendAssetAmounts_, address[] memory incomingAssets_, uint256[] memory minIncomingAssetAmounts_ ); }
// SPDX-License-Identifier: GPL-3.0 /* This file is part of the Enzyme Protocol. (c) Enzyme Council <[email protected]> For the full license information, please view the LICENSE file that was distributed with this source code. */ pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "../../../../utils/AssetHelpers.sol"; import "../IIntegrationAdapter.sol"; import "./IntegrationSelectors.sol"; /// @title AdapterBase Contract /// @author Enzyme Council <[email protected]> /// @notice A base contract for integration adapters abstract contract AdapterBase is IIntegrationAdapter, IntegrationSelectors, AssetHelpers { using SafeERC20 for ERC20; address internal immutable INTEGRATION_MANAGER; /// @dev Provides a standard implementation for transferring incoming assets /// from an adapter to a VaultProxy at the end of an adapter action modifier postActionIncomingAssetsTransferHandler( address _vaultProxy, bytes memory _assetData ) { _; (, , address[] memory incomingAssets) = __decodeAssetData(_assetData); __pushFullAssetBalances(_vaultProxy, incomingAssets); } /// @dev Provides a standard implementation for transferring unspent spend assets /// from an adapter to a VaultProxy at the end of an adapter action modifier postActionSpendAssetsTransferHandler(address _vaultProxy, bytes memory _assetData) { _; (address[] memory spendAssets, , ) = __decodeAssetData(_assetData); __pushFullAssetBalances(_vaultProxy, spendAssets); } modifier onlyIntegrationManager { require( msg.sender == INTEGRATION_MANAGER, "Only the IntegrationManager can call this function" ); _; } constructor(address _integrationManager) public { INTEGRATION_MANAGER = _integrationManager; } // INTERNAL FUNCTIONS /// @dev Helper to decode the _assetData param passed to adapter call function __decodeAssetData(bytes memory _assetData) internal pure returns ( address[] memory spendAssets_, uint256[] memory spendAssetAmounts_, address[] memory incomingAssets_ ) { return abi.decode(_assetData, (address[], uint256[], address[])); } /////////////////// // STATE GETTERS // /////////////////// /// @notice Gets the `INTEGRATION_MANAGER` variable /// @return integrationManager_ The `INTEGRATION_MANAGER` variable value function getIntegrationManager() external view returns (address integrationManager_) { return INTEGRATION_MANAGER; } }
// SPDX-License-Identifier: GPL-3.0 /* This file is part of the Enzyme Protocol. (c) Enzyme Council <[email protected]> For the full license information, please view the LICENSE file that was distributed with this source code. */ pragma solidity 0.6.12; /// @title IntegrationSelectors Contract /// @author Enzyme Council <[email protected]> /// @notice Selectors for integration actions /// @dev Selectors are created from their signatures rather than hardcoded for easy verification abstract contract IntegrationSelectors { // Trading bytes4 public constant TAKE_ORDER_SELECTOR = bytes4( keccak256("takeOrder(address,bytes,bytes)") ); // Lending bytes4 public constant LEND_SELECTOR = bytes4(keccak256("lend(address,bytes,bytes)")); bytes4 public constant REDEEM_SELECTOR = bytes4(keccak256("redeem(address,bytes,bytes)")); // Staking bytes4 public constant STAKE_SELECTOR = bytes4(keccak256("stake(address,bytes,bytes)")); bytes4 public constant UNSTAKE_SELECTOR = bytes4(keccak256("unstake(address,bytes,bytes)")); // Rewards bytes4 public constant CLAIM_REWARDS_SELECTOR = bytes4( keccak256("claimRewards(address,bytes,bytes)") ); // Combined bytes4 public constant LEND_AND_STAKE_SELECTOR = bytes4( keccak256("lendAndStake(address,bytes,bytes)") ); bytes4 public constant UNSTAKE_AND_REDEEM_SELECTOR = bytes4( keccak256("unstakeAndRedeem(address,bytes,bytes)") ); }
// SPDX-License-Identifier: GPL-3.0 /* This file is part of the Enzyme Protocol. (c) Enzyme Council <[email protected]> For the full license information, please view the LICENSE file that was distributed with this source code. */ pragma solidity 0.6.12; import "../../../../../interfaces/IParaSwapV5AugustusSwapper.sol"; import "../../../../../utils/AssetHelpers.sol"; /// @title ParaSwapV5ActionsMixin Contract /// @author Enzyme Council <[email protected]> /// @notice Mixin contract for interacting with ParaSwap (v5) abstract contract ParaSwapV5ActionsMixin is AssetHelpers { address private immutable PARA_SWAP_V5_AUGUSTUS_SWAPPER; address private immutable PARA_SWAP_V5_TOKEN_TRANSFER_PROXY; constructor(address _augustusSwapper, address _tokenTransferProxy) public { PARA_SWAP_V5_AUGUSTUS_SWAPPER = _augustusSwapper; PARA_SWAP_V5_TOKEN_TRANSFER_PROXY = _tokenTransferProxy; } /// @dev Helper to execute a multiSwap() order. /// Leaves any ETH remainder from intermediary steps in ParaSwap in order to save on gas. function __paraSwapV5MultiSwap( address _fromToken, uint256 _fromAmount, uint256 _toAmount, uint256 _expectedAmount, address payable _beneficiary, bytes16 _uuid, IParaSwapV5AugustusSwapper.Path[] memory _path ) internal { __approveAssetMaxAsNeeded(_fromToken, getParaSwapV5TokenTransferProxy(), _fromAmount); IParaSwapV5AugustusSwapper.SellData memory sellData = IParaSwapV5AugustusSwapper.SellData({ fromToken: _fromToken, fromAmount: _fromAmount, toAmount: _toAmount, expectedAmount: _expectedAmount, beneficiary: _beneficiary, path: _path, partner: address(0), feePercent: 0, permit: "", deadline: block.timestamp, uuid: _uuid // Purely for data tracking by ParaSwap }); IParaSwapV5AugustusSwapper(getParaSwapV5AugustusSwapper()).multiSwap(sellData); } /////////////////// // STATE GETTERS // /////////////////// /// @notice Gets the `PARA_SWAP_V5_AUGUSTUS_SWAPPER` variable /// @return augustusSwapper_ The `PARA_SWAP_V5_AUGUSTUS_SWAPPER` variable value function getParaSwapV5AugustusSwapper() public view returns (address augustusSwapper_) { return PARA_SWAP_V5_AUGUSTUS_SWAPPER; } /// @notice Gets the `PARA_SWAP_V5_TOKEN_TRANSFER_PROXY` variable /// @return tokenTransferProxy_ The `PARA_SWAP_V5_TOKEN_TRANSFER_PROXY` variable value function getParaSwapV5TokenTransferProxy() public view returns (address tokenTransferProxy_) { return PARA_SWAP_V5_TOKEN_TRANSFER_PROXY; } }
// SPDX-License-Identifier: GPL-3.0 /* This file is part of the Enzyme Protocol. (c) Enzyme Council <[email protected]> For the full license information, please view the LICENSE file that was distributed with this source code. */ pragma solidity 0.6.12; pragma experimental ABIEncoderV2; /// @title ParaSwap V5 IAugustusSwapper interface interface IParaSwapV5AugustusSwapper { struct Adapter { address payable adapter; uint256 percent; uint256 networkFee; Route[] route; } struct Route { uint256 index; address targetExchange; uint256 percent; bytes payload; uint256 networkFee; } struct Path { address to; uint256 totalNetworkFee; Adapter[] adapters; } struct SellData { address fromToken; uint256 fromAmount; uint256 toAmount; uint256 expectedAmount; address payable beneficiary; Path[] path; address payable partner; uint256 feePercent; bytes permit; uint256 deadline; bytes16 uuid; } function multiSwap(SellData calldata) external payable returns (uint256); }
// SPDX-License-Identifier: GPL-3.0 /* This file is part of the Enzyme Protocol. (c) Enzyme Council <[email protected]> For the full license information, please view the LICENSE file that was distributed with this source code. */ pragma solidity 0.6.12; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; /// @title AssetHelpers Contract /// @author Enzyme Council <[email protected]> /// @notice A util contract for common token actions abstract contract AssetHelpers { using SafeERC20 for ERC20; using SafeMath for uint256; /// @dev Helper to approve a target account with the max amount of an asset. /// This is helpful for fully trusted contracts, such as adapters that /// interact with external protocol like Uniswap, Compound, etc. function __approveAssetMaxAsNeeded( address _asset, address _target, uint256 _neededAmount ) internal { uint256 allowance = ERC20(_asset).allowance(address(this), _target); if (allowance < _neededAmount) { if (allowance > 0) { ERC20(_asset).safeApprove(_target, 0); } ERC20(_asset).safeApprove(_target, type(uint256).max); } } /// @dev Helper to transfer full asset balances from the current contract to a target function __pushFullAssetBalances(address _target, address[] memory _assets) internal returns (uint256[] memory amountsTransferred_) { amountsTransferred_ = new uint256[](_assets.length); for (uint256 i; i < _assets.length; i++) { ERC20 assetContract = ERC20(_assets[i]); amountsTransferred_[i] = assetContract.balanceOf(address(this)); if (amountsTransferred_[i] > 0) { assetContract.safeTransfer(_target, amountsTransferred_[i]); } } return amountsTransferred_; } }
{ "evmVersion": "istanbul", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "details": { "constantOptimizer": true, "cse": true, "deduplicate": true, "jumpdestRemover": true, "orderLiterals": true, "peephole": true, "yul": false }, "runs": 200 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_integrationManager","type":"address"},{"internalType":"address","name":"_augustusSwapper","type":"address"},{"internalType":"address","name":"_tokenTransferProxy","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"CLAIM_REWARDS_SELECTOR","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LEND_AND_STAKE_SELECTOR","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LEND_SELECTOR","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REDEEM_SELECTOR","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STAKE_SELECTOR","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TAKE_ORDER_SELECTOR","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNSTAKE_AND_REDEEM_SELECTOR","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNSTAKE_SELECTOR","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getIntegrationManager","outputs":[{"internalType":"address","name":"integrationManager_","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getParaSwapV5AugustusSwapper","outputs":[{"internalType":"address","name":"augustusSwapper_","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getParaSwapV5TokenTransferProxy","outputs":[{"internalType":"address","name":"tokenTransferProxy_","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"bytes4","name":"_selector","type":"bytes4"},{"internalType":"bytes","name":"_actionData","type":"bytes"}],"name":"parseAssetsForAction","outputs":[{"internalType":"enum IIntegrationManager.SpendAssetsHandleType","name":"spendAssetsHandleType_","type":"uint8"},{"internalType":"address[]","name":"spendAssets_","type":"address[]"},{"internalType":"uint256[]","name":"spendAssetAmounts_","type":"uint256[]"},{"internalType":"address[]","name":"incomingAssets_","type":"address[]"},{"internalType":"uint256[]","name":"minIncomingAssetAmounts_","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_vaultProxy","type":"address"},{"internalType":"bytes","name":"_actionData","type":"bytes"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"takeOrder","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e06040523480156200001157600080fd5b5060405162001a5738038062001a5783398101604081905262000034916200006f565b6001600160601b0319606093841b811660805291831b821660a05290911b1660c052620000ef565b80516200006981620000d5565b92915050565b6000806000606084860312156200008557600080fd5b60006200009386866200005c565b9350506020620000a6868287016200005c565b9250506040620000b9868287016200005c565b9150509250925092565b60006001600160a01b03821662000069565b620000e081620000c3565b8114620000ec57600080fd5b50565b60805160601c60a05160601c60c05160601c61192d6200012a6000398061028352508061031352508061019352806104fd525061192d6000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c806340da225d1161008c578063b23228cf11610066578063b23228cf1461014c578063c54efee514610154578063e7c4569014610178578063f7d882b514610180576100cf565b806340da225d14610134578063863e5ad01461013c57806391bc27dc14610144576100cf565b806303e38a2b146100d4578063080456c1146100e9578063131461c014610107578063257cb1a31461010f5780632c428679146101175780633ffc15911461012c575b600080fd5b6100e76100e2366004610e89565b610188565b005b6100f1610215565b6040516100fe91906116aa565b60405180910390f35b6100f1610239565b6100f161025d565b61011f610281565b6040516100fe9190611666565b6100f16102a5565b6100f16102c9565b6100f16102ed565b61011f610311565b6100f1610335565b610167610162366004610e21565b610359565b6040516100fe9594939291906116b8565b61011f6104fb565b6100f161051f565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146101d95760405162461bcd60e51b81526004016101d090611735565b60405180910390fd5b600080600080600060606101ed8a8a610543565b955095509550955095509550610208848488888f878761056c565b5050505050505050505050565b7f8334eb99be0145865eba9889fca2ee920288090caefff4cc776038e20ad9259a81565b7f29fa046e79524c3c5ac4c01df692c35e217802b2b13b21121b76cf0ef02b138c81565b7f099f75155f0e997bf83a7993a71d5e7e7540bd386fe1e84643a09ce6b412521981565b7f000000000000000000000000000000000000000000000000000000000000000090565b7ffa7dd04da627f433da73c4355ead9c75682a67a8fc84d3f6170ef0922f402d2481565b7fb9dfbaccbe5cd2a84fdcf1d15f23ef25d23086f5afbaa99516065ed4a5bbc7a381565b7f03e38a2bd7063d45c897edeafc330e71657502dd86434d3c37a489caf116af6981565b7f000000000000000000000000000000000000000000000000000000000000000090565b7f68e30677f607df46e87da13e15b637784cfa62374b653f35ab43d10361a2f83081565b600060608080806001600160e01b031988166303e38a2b60e01b146103905760405162461bcd60e51b81526004016101d090611775565b600080600060606103a18b8b610543565b95505094509450509350600167ffffffffffffffff811180156103c357600080fd5b506040519080825280602002602001820160405280156103ed578160200160208202803683370190505b50975082886000815181106103fe57fe5b6001600160a01b0392909216602092830291909101820152604080516001808252818301909252918281019080368337019050509650818760008151811061044257fe5b6020908102919091010152604080516001808252818301909252908160200160208202803683370190505095508060018251038151811061047f57fe5b6020026020010151600001518660008151811061049857fe5b6001600160a01b039290921660209283029190910182015260408051600180825281830190925291828101908036833701905050945083856000815181106104dc57fe5b6020026020010181815250506002985050505050945094509450945094565b7f000000000000000000000000000000000000000000000000000000000000000090565b7fc29fa9dde84204c2908778afd0613d802d31cf046179b88f6d2b4a4e507ea2d581565b600080808080606061055787890189610f54565b949d939c50919a509850965090945092505050565b61057e87610578610281565b8861069a565b610586610a07565b604051806101600160405280896001600160a01b03168152602001888152602001878152602001868152602001856001600160a01b0316815260200183815260200160006001600160a01b0316815260200160008152602001604051806020016040528060008152508152602001428152602001846001600160801b0319168152509050610612610311565b6001600160a01b031663a94e78ef826040518263ffffffff1660e01b815260040161063d9190611785565b602060405180830381600087803b15801561065757600080fd5b505af115801561066b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068f9190610f36565b505050505050505050565b604051636eb1769f60e11b81526000906001600160a01b0385169063dd62ed3e906106cb9030908790600401611674565b60206040518083038186803b1580156106e357600080fd5b505afa1580156106f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071b9190610f36565b905081811015610756578015610740576107406001600160a01b03851684600061075c565b6107566001600160a01b0385168460001961075c565b50505050565b8015806107e45750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e906107929030908690600401611674565b60206040518083038186803b1580156107aa57600080fd5b505afa1580156107be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e29190610f36565b155b6108005760405162461bcd60e51b81526004016101d090611765565b6108568363095ea7b360e01b848460405160240161081f92919061168f565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261085b565b505050565b60606108b0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166108ea9092919063ffffffff16565b80519091501561085657808060200190518101906108ce9190610f10565b6108565760405162461bcd60e51b81526004016101d090611755565b60606108f98484600085610903565b90505b9392505050565b6060824710156109255760405162461bcd60e51b81526004016101d090611725565b61092e856109c4565b61094a5760405162461bcd60e51b81526004016101d090611745565b60006060866001600160a01b03168587604051610967919061165a565b60006040518083038185875af1925050503d80600081146109a4576040519150601f19603f3d011682016040523d82523d6000602084013e6109a9565b606091505b50915091506109b98282866109ce565b979650505050505050565b803b15155b919050565b606083156109dd5750816108fc565b8251156109ed5782518084602001fd5b8160405162461bcd60e51b81526004016101d09190611714565b60405180610160016040528060006001600160a01b0316815260200160008152602001600081526020016000815260200160006001600160a01b031681526020016060815260200160006001600160a01b0316815260200160008152602001606081526020016000815260200160006001600160801b03191681525090565b8035610a91816118bf565b92915050565b600082601f830112610aa857600080fd5b8135610abb610ab6826117bd565b611796565b81815260209384019390925082018360005b83811015610af95781358601610ae38882610c76565b8452506020928301929190910190600101610acd565b5050505092915050565b600082601f830112610b1457600080fd5b8135610b22610ab6826117bd565b81815260209384019390925082018360005b83811015610af95781358601610b4a8882610cfd565b8452506020928301929190910190600101610b34565b600082601f830112610b7157600080fd5b8135610b7f610ab6826117bd565b81815260209384019390925082018360005b83811015610af95781358601610ba78882610d70565b8452506020928301929190910190600101610b91565b8051610a91816118d3565b8035610a91816118dc565b8035610a91816118e5565b60008083601f840112610bf057600080fd5b50813567ffffffffffffffff811115610c0857600080fd5b602083019150836001820283011115610c2057600080fd5b9250929050565b600082601f830112610c3857600080fd5b8135610c46610ab6826117de565b91508082526020830160208301858383011115610c6257600080fd5b610c6d838284611870565b50505092915050565b600060808284031215610c8857600080fd5b610c926080611796565b90506000610ca08484610a86565b8252506020610cb184848301610e0b565b6020830152506040610cc584828501610e0b565b604083015250606082013567ffffffffffffffff811115610ce557600080fd5b610cf184828501610b60565b60608301525092915050565b600060608284031215610d0f57600080fd5b610d196060611796565b90506000610d278484610a86565b8252506020610d3884848301610e0b565b602083015250604082013567ffffffffffffffff811115610d5857600080fd5b610d6484828501610a97565b60408301525092915050565b600060a08284031215610d8257600080fd5b610d8c60a0611796565b90506000610d9a8484610e0b565b8252506020610dab84848301610a86565b6020830152506040610dbf84828501610e0b565b604083015250606082013567ffffffffffffffff811115610ddf57600080fd5b610deb84828501610c27565b6060830152506080610dff84828501610e0b565b60808301525092915050565b8035610a91816118ee565b8051610a91816118ee565b60008060008060608587031215610e3757600080fd5b6000610e438787610a86565b9450506020610e5487828801610bd3565b935050604085013567ffffffffffffffff811115610e7157600080fd5b610e7d87828801610bde565b95989497509550505050565b600080600080600060608688031215610ea157600080fd5b6000610ead8888610a86565b955050602086013567ffffffffffffffff811115610eca57600080fd5b610ed688828901610bde565b9450945050604086013567ffffffffffffffff811115610ef557600080fd5b610f0188828901610bde565b92509250509295509295909350565b600060208284031215610f2257600080fd5b6000610f2e8484610bbd565b949350505050565b600060208284031215610f4857600080fd5b6000610f2e8484610e16565b60008060008060008060c08789031215610f6d57600080fd5b6000610f798989610e0b565b9650506020610f8a89828a01610e0b565b9550506040610f9b89828a01610a86565b9450506060610fac89828a01610e0b565b9350506080610fbd89828a01610bc8565b92505060a087013567ffffffffffffffff811115610fda57600080fd5b610fe689828a01610b03565b9150509295509295509295565b6000610fff8383611037565b505060200190565b60006108fc8383611461565b60006108fc83836114bc565b60006108fc83836114fb565b6000610fff8383611651565b61104081611819565b82525050565b60006110518261180c565b61105b8185611810565b935061106683611806565b8060005b8381101561109457815161107e8882610ff3565b975061108983611806565b92505060010161106a565b509495945050505050565b60006110aa8261180c565b6110b48185611810565b9350836020820285016110c685611806565b8060005b8581101561110057848403895281516110e38582611007565b94506110ee83611806565b60209a909a01999250506001016110ca565b5091979650505050505050565b60006111188261180c565b6111228185611810565b93508360208202850161113485611806565b8060005b8581101561110057848403895281516111518582611013565b945061115c83611806565b60209a909a0199925050600101611138565b60006111798261180c565b6111838185611810565b93508360208202850161119585611806565b8060005b8581101561110057848403895281516111b2858261101f565b94506111bd83611806565b60209a909a0199925050600101611199565b60006111da8261180c565b6111e48185611810565b93506111ef83611806565b8060005b83811015611094578151611207888261102b565b975061121283611806565b9250506001016111f3565b61104081611829565b6110408161183f565b600061123a8261180c565b6112448185611810565b935061125481856020860161187c565b61125d816118a8565b9093019392505050565b60006112728261180c565b61127c81856109c9565b935061128c81856020860161187c565b9290920192915050565b61104081611865565b60006112ac602683611810565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f8152651c8818d85b1b60d21b602082015260400192915050565b60006112f4603283611810565b7f4f6e6c792074686520496e746567726174696f6e4d616e616765722063616e2081527131b0b636103a3434b990333ab731ba34b7b760711b602082015260400192915050565b6000611348601d83611810565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000815260200192915050565b6000611381602a83611810565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e8152691bdd081cdd58d8d9595960b21b602082015260400192915050565b60006113cd603683611810565b7f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f81527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b602082015260400192915050565b6000611425602783611810565b7f7061727365417373657473466f72416374696f6e3a205f73656c6563746f72208152661a5b9d985b1a5960ca1b602082015260400192915050565b805160009060808401906114758582611037565b5060208301516114886020860182611651565b50604083015161149b6040860182611651565b50606083015184820360608601526114b3828261116e565b95945050505050565b805160009060608401906114d08582611037565b5060208301516114e36020860182611651565b50604083015184820360408601526114b3828261109f565b805160009060a084019061150f8582611651565b5060208301516115226020860182611037565b5060408301516115356040860182611651565b506060830151848203606086015261154d828261122f565b91505060808301516115626080860182611651565b509392505050565b805160009061016084019061157f8582611037565b5060208301516115926020860182611651565b5060408301516115a56040860182611651565b5060608301516115b86060860182611651565b5060808301516115cb6080860182611037565b5060a083015184820360a08601526115e3828261110d565b91505060c08301516115f860c0860182611037565b5060e083015161160b60e0860182611651565b50610100830151848203610100860152611625828261122f565b91505061012083015161163c610120860182611651565b5061014083015161156261014086018261121d565b61104081611862565b60006108fc8284611267565b60208101610a918284611037565b604081016116828285611037565b6108fc6020830184611037565b6040810161169d8285611037565b6108fc6020830184611651565b60208101610a918284611226565b60a081016116c68288611296565b81810360208301526116d88187611046565b905081810360408301526116ec81866111cf565b905081810360608301526117008185611046565b905081810360808301526109b981846111cf565b602080825281016108fc818461122f565b60208082528101610a918161129f565b60208082528101610a91816112e7565b60208082528101610a918161133b565b60208082528101610a9181611374565b60208082528101610a91816113c0565b60208082528101610a9181611418565b602080825281016108fc818461156a565b60405181810167ffffffffffffffff811182821017156117b557600080fd5b604052919050565b600067ffffffffffffffff8211156117d457600080fd5b5060209081020190565b600067ffffffffffffffff8211156117f557600080fd5b506020601f91909101601f19160190565b60200190565b5190565b90815260200190565b6000610a9182611856565b151590565b6fffffffffffffffffffffffffffffffff191690565b6001600160e01b03191690565b806109c9816118b2565b6001600160a01b031690565b90565b6000610a918261184c565b82818337506000910152565b60005b8381101561189757818101518382015260200161187f565b838111156107565750506000910152565b601f01601f191690565b600381106118bc57fe5b50565b6118c881611819565b81146118bc57600080fd5b6118c881611824565b6118c881611829565b6118c88161183f565b6118c88161186256fea2646970667358221220ae245a593a02c9eb60e7e813ced9f052cb3688d046913c191ecfbbee4e552ca264736f6c634300060c003300000000000000000000000031329024f1a3e4a4b3336e0b1dfa74cc3fec633e000000000000000000000000def171fe48cf0115b1d80b88dc8eab59176fee57000000000000000000000000216b4b4ba9f3e719726886d34a177484278bfcae
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c806340da225d1161008c578063b23228cf11610066578063b23228cf1461014c578063c54efee514610154578063e7c4569014610178578063f7d882b514610180576100cf565b806340da225d14610134578063863e5ad01461013c57806391bc27dc14610144576100cf565b806303e38a2b146100d4578063080456c1146100e9578063131461c014610107578063257cb1a31461010f5780632c428679146101175780633ffc15911461012c575b600080fd5b6100e76100e2366004610e89565b610188565b005b6100f1610215565b6040516100fe91906116aa565b60405180910390f35b6100f1610239565b6100f161025d565b61011f610281565b6040516100fe9190611666565b6100f16102a5565b6100f16102c9565b6100f16102ed565b61011f610311565b6100f1610335565b610167610162366004610e21565b610359565b6040516100fe9594939291906116b8565b61011f6104fb565b6100f161051f565b336001600160a01b037f00000000000000000000000031329024f1a3e4a4b3336e0b1dfa74cc3fec633e16146101d95760405162461bcd60e51b81526004016101d090611735565b60405180910390fd5b600080600080600060606101ed8a8a610543565b955095509550955095509550610208848488888f878761056c565b5050505050505050505050565b7f8334eb99be0145865eba9889fca2ee920288090caefff4cc776038e20ad9259a81565b7f29fa046e79524c3c5ac4c01df692c35e217802b2b13b21121b76cf0ef02b138c81565b7f099f75155f0e997bf83a7993a71d5e7e7540bd386fe1e84643a09ce6b412521981565b7f000000000000000000000000216b4b4ba9f3e719726886d34a177484278bfcae90565b7ffa7dd04da627f433da73c4355ead9c75682a67a8fc84d3f6170ef0922f402d2481565b7fb9dfbaccbe5cd2a84fdcf1d15f23ef25d23086f5afbaa99516065ed4a5bbc7a381565b7f03e38a2bd7063d45c897edeafc330e71657502dd86434d3c37a489caf116af6981565b7f000000000000000000000000def171fe48cf0115b1d80b88dc8eab59176fee5790565b7f68e30677f607df46e87da13e15b637784cfa62374b653f35ab43d10361a2f83081565b600060608080806001600160e01b031988166303e38a2b60e01b146103905760405162461bcd60e51b81526004016101d090611775565b600080600060606103a18b8b610543565b95505094509450509350600167ffffffffffffffff811180156103c357600080fd5b506040519080825280602002602001820160405280156103ed578160200160208202803683370190505b50975082886000815181106103fe57fe5b6001600160a01b0392909216602092830291909101820152604080516001808252818301909252918281019080368337019050509650818760008151811061044257fe5b6020908102919091010152604080516001808252818301909252908160200160208202803683370190505095508060018251038151811061047f57fe5b6020026020010151600001518660008151811061049857fe5b6001600160a01b039290921660209283029190910182015260408051600180825281830190925291828101908036833701905050945083856000815181106104dc57fe5b6020026020010181815250506002985050505050945094509450945094565b7f00000000000000000000000031329024f1a3e4a4b3336e0b1dfa74cc3fec633e90565b7fc29fa9dde84204c2908778afd0613d802d31cf046179b88f6d2b4a4e507ea2d581565b600080808080606061055787890189610f54565b949d939c50919a509850965090945092505050565b61057e87610578610281565b8861069a565b610586610a07565b604051806101600160405280896001600160a01b03168152602001888152602001878152602001868152602001856001600160a01b0316815260200183815260200160006001600160a01b0316815260200160008152602001604051806020016040528060008152508152602001428152602001846001600160801b0319168152509050610612610311565b6001600160a01b031663a94e78ef826040518263ffffffff1660e01b815260040161063d9190611785565b602060405180830381600087803b15801561065757600080fd5b505af115801561066b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068f9190610f36565b505050505050505050565b604051636eb1769f60e11b81526000906001600160a01b0385169063dd62ed3e906106cb9030908790600401611674565b60206040518083038186803b1580156106e357600080fd5b505afa1580156106f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071b9190610f36565b905081811015610756578015610740576107406001600160a01b03851684600061075c565b6107566001600160a01b0385168460001961075c565b50505050565b8015806107e45750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e906107929030908690600401611674565b60206040518083038186803b1580156107aa57600080fd5b505afa1580156107be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e29190610f36565b155b6108005760405162461bcd60e51b81526004016101d090611765565b6108568363095ea7b360e01b848460405160240161081f92919061168f565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261085b565b505050565b60606108b0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166108ea9092919063ffffffff16565b80519091501561085657808060200190518101906108ce9190610f10565b6108565760405162461bcd60e51b81526004016101d090611755565b60606108f98484600085610903565b90505b9392505050565b6060824710156109255760405162461bcd60e51b81526004016101d090611725565b61092e856109c4565b61094a5760405162461bcd60e51b81526004016101d090611745565b60006060866001600160a01b03168587604051610967919061165a565b60006040518083038185875af1925050503d80600081146109a4576040519150601f19603f3d011682016040523d82523d6000602084013e6109a9565b606091505b50915091506109b98282866109ce565b979650505050505050565b803b15155b919050565b606083156109dd5750816108fc565b8251156109ed5782518084602001fd5b8160405162461bcd60e51b81526004016101d09190611714565b60405180610160016040528060006001600160a01b0316815260200160008152602001600081526020016000815260200160006001600160a01b031681526020016060815260200160006001600160a01b0316815260200160008152602001606081526020016000815260200160006001600160801b03191681525090565b8035610a91816118bf565b92915050565b600082601f830112610aa857600080fd5b8135610abb610ab6826117bd565b611796565b81815260209384019390925082018360005b83811015610af95781358601610ae38882610c76565b8452506020928301929190910190600101610acd565b5050505092915050565b600082601f830112610b1457600080fd5b8135610b22610ab6826117bd565b81815260209384019390925082018360005b83811015610af95781358601610b4a8882610cfd565b8452506020928301929190910190600101610b34565b600082601f830112610b7157600080fd5b8135610b7f610ab6826117bd565b81815260209384019390925082018360005b83811015610af95781358601610ba78882610d70565b8452506020928301929190910190600101610b91565b8051610a91816118d3565b8035610a91816118dc565b8035610a91816118e5565b60008083601f840112610bf057600080fd5b50813567ffffffffffffffff811115610c0857600080fd5b602083019150836001820283011115610c2057600080fd5b9250929050565b600082601f830112610c3857600080fd5b8135610c46610ab6826117de565b91508082526020830160208301858383011115610c6257600080fd5b610c6d838284611870565b50505092915050565b600060808284031215610c8857600080fd5b610c926080611796565b90506000610ca08484610a86565b8252506020610cb184848301610e0b565b6020830152506040610cc584828501610e0b565b604083015250606082013567ffffffffffffffff811115610ce557600080fd5b610cf184828501610b60565b60608301525092915050565b600060608284031215610d0f57600080fd5b610d196060611796565b90506000610d278484610a86565b8252506020610d3884848301610e0b565b602083015250604082013567ffffffffffffffff811115610d5857600080fd5b610d6484828501610a97565b60408301525092915050565b600060a08284031215610d8257600080fd5b610d8c60a0611796565b90506000610d9a8484610e0b565b8252506020610dab84848301610a86565b6020830152506040610dbf84828501610e0b565b604083015250606082013567ffffffffffffffff811115610ddf57600080fd5b610deb84828501610c27565b6060830152506080610dff84828501610e0b565b60808301525092915050565b8035610a91816118ee565b8051610a91816118ee565b60008060008060608587031215610e3757600080fd5b6000610e438787610a86565b9450506020610e5487828801610bd3565b935050604085013567ffffffffffffffff811115610e7157600080fd5b610e7d87828801610bde565b95989497509550505050565b600080600080600060608688031215610ea157600080fd5b6000610ead8888610a86565b955050602086013567ffffffffffffffff811115610eca57600080fd5b610ed688828901610bde565b9450945050604086013567ffffffffffffffff811115610ef557600080fd5b610f0188828901610bde565b92509250509295509295909350565b600060208284031215610f2257600080fd5b6000610f2e8484610bbd565b949350505050565b600060208284031215610f4857600080fd5b6000610f2e8484610e16565b60008060008060008060c08789031215610f6d57600080fd5b6000610f798989610e0b565b9650506020610f8a89828a01610e0b565b9550506040610f9b89828a01610a86565b9450506060610fac89828a01610e0b565b9350506080610fbd89828a01610bc8565b92505060a087013567ffffffffffffffff811115610fda57600080fd5b610fe689828a01610b03565b9150509295509295509295565b6000610fff8383611037565b505060200190565b60006108fc8383611461565b60006108fc83836114bc565b60006108fc83836114fb565b6000610fff8383611651565b61104081611819565b82525050565b60006110518261180c565b61105b8185611810565b935061106683611806565b8060005b8381101561109457815161107e8882610ff3565b975061108983611806565b92505060010161106a565b509495945050505050565b60006110aa8261180c565b6110b48185611810565b9350836020820285016110c685611806565b8060005b8581101561110057848403895281516110e38582611007565b94506110ee83611806565b60209a909a01999250506001016110ca565b5091979650505050505050565b60006111188261180c565b6111228185611810565b93508360208202850161113485611806565b8060005b8581101561110057848403895281516111518582611013565b945061115c83611806565b60209a909a0199925050600101611138565b60006111798261180c565b6111838185611810565b93508360208202850161119585611806565b8060005b8581101561110057848403895281516111b2858261101f565b94506111bd83611806565b60209a909a0199925050600101611199565b60006111da8261180c565b6111e48185611810565b93506111ef83611806565b8060005b83811015611094578151611207888261102b565b975061121283611806565b9250506001016111f3565b61104081611829565b6110408161183f565b600061123a8261180c565b6112448185611810565b935061125481856020860161187c565b61125d816118a8565b9093019392505050565b60006112728261180c565b61127c81856109c9565b935061128c81856020860161187c565b9290920192915050565b61104081611865565b60006112ac602683611810565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f8152651c8818d85b1b60d21b602082015260400192915050565b60006112f4603283611810565b7f4f6e6c792074686520496e746567726174696f6e4d616e616765722063616e2081527131b0b636103a3434b990333ab731ba34b7b760711b602082015260400192915050565b6000611348601d83611810565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000815260200192915050565b6000611381602a83611810565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e8152691bdd081cdd58d8d9595960b21b602082015260400192915050565b60006113cd603683611810565b7f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f81527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b602082015260400192915050565b6000611425602783611810565b7f7061727365417373657473466f72416374696f6e3a205f73656c6563746f72208152661a5b9d985b1a5960ca1b602082015260400192915050565b805160009060808401906114758582611037565b5060208301516114886020860182611651565b50604083015161149b6040860182611651565b50606083015184820360608601526114b3828261116e565b95945050505050565b805160009060608401906114d08582611037565b5060208301516114e36020860182611651565b50604083015184820360408601526114b3828261109f565b805160009060a084019061150f8582611651565b5060208301516115226020860182611037565b5060408301516115356040860182611651565b506060830151848203606086015261154d828261122f565b91505060808301516115626080860182611651565b509392505050565b805160009061016084019061157f8582611037565b5060208301516115926020860182611651565b5060408301516115a56040860182611651565b5060608301516115b86060860182611651565b5060808301516115cb6080860182611037565b5060a083015184820360a08601526115e3828261110d565b91505060c08301516115f860c0860182611037565b5060e083015161160b60e0860182611651565b50610100830151848203610100860152611625828261122f565b91505061012083015161163c610120860182611651565b5061014083015161156261014086018261121d565b61104081611862565b60006108fc8284611267565b60208101610a918284611037565b604081016116828285611037565b6108fc6020830184611037565b6040810161169d8285611037565b6108fc6020830184611651565b60208101610a918284611226565b60a081016116c68288611296565b81810360208301526116d88187611046565b905081810360408301526116ec81866111cf565b905081810360608301526117008185611046565b905081810360808301526109b981846111cf565b602080825281016108fc818461122f565b60208082528101610a918161129f565b60208082528101610a91816112e7565b60208082528101610a918161133b565b60208082528101610a9181611374565b60208082528101610a91816113c0565b60208082528101610a9181611418565b602080825281016108fc818461156a565b60405181810167ffffffffffffffff811182821017156117b557600080fd5b604052919050565b600067ffffffffffffffff8211156117d457600080fd5b5060209081020190565b600067ffffffffffffffff8211156117f557600080fd5b506020601f91909101601f19160190565b60200190565b5190565b90815260200190565b6000610a9182611856565b151590565b6fffffffffffffffffffffffffffffffff191690565b6001600160e01b03191690565b806109c9816118b2565b6001600160a01b031690565b90565b6000610a918261184c565b82818337506000910152565b60005b8381101561189757818101518382015260200161187f565b838111156107565750506000910152565b601f01601f191690565b600381106118bc57fe5b50565b6118c881611819565b81146118bc57600080fd5b6118c881611824565b6118c881611829565b6118c88161183f565b6118c88161186256fea2646970667358221220ae245a593a02c9eb60e7e813ced9f052cb3688d046913c191ecfbbee4e552ca264736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000031329024f1a3e4a4b3336e0b1dfa74cc3fec633e000000000000000000000000def171fe48cf0115b1d80b88dc8eab59176fee57000000000000000000000000216b4b4ba9f3e719726886d34a177484278bfcae
-----Decoded View---------------
Arg [0] : _integrationManager (address): 0x31329024f1a3E4a4B3336E0b1DfA74CC3FEc633e
Arg [1] : _augustusSwapper (address): 0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57
Arg [2] : _tokenTransferProxy (address): 0x216B4B4Ba9F3e719726886d34a177484278Bfcae
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000031329024f1a3e4a4b3336e0b1dfa74cc3fec633e
Arg [1] : 000000000000000000000000def171fe48cf0115b1d80b88dc8eab59176fee57
Arg [2] : 000000000000000000000000216b4b4ba9f3e719726886d34a177484278bfcae
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.