Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 21,825 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim Rewards | 21283293 | 7 mins ago | IN | 0 ETH | 0.00283148 | ||||
Claim Rewards | 21283267 | 13 mins ago | IN | 0 ETH | 0.00299088 | ||||
Claim Rewards | 21283250 | 16 mins ago | IN | 0 ETH | 0.0027136 | ||||
Claim Rewards | 21282931 | 1 hr ago | IN | 0 ETH | 0.00249607 | ||||
Claim Rewards | 21282690 | 2 hrs ago | IN | 0 ETH | 0.00383535 | ||||
Claim Rewards | 21282577 | 2 hrs ago | IN | 0 ETH | 0.00430186 | ||||
Claim Rewards | 21282400 | 3 hrs ago | IN | 0 ETH | 0.00208383 | ||||
Claim Rewards | 21282234 | 3 hrs ago | IN | 0 ETH | 0.00939246 | ||||
Claim Rewards | 21282187 | 3 hrs ago | IN | 0 ETH | 0.0065225 | ||||
Claim Rewards | 21282095 | 4 hrs ago | IN | 0 ETH | 0.00337992 | ||||
Claim Rewards | 21282079 | 4 hrs ago | IN | 0 ETH | 0.00402847 | ||||
Claim Rewards | 21281878 | 4 hrs ago | IN | 0 ETH | 0.00312193 | ||||
Claim Rewards | 21280510 | 9 hrs ago | IN | 0 ETH | 0.00453588 | ||||
Claim Rewards | 21279651 | 12 hrs ago | IN | 0 ETH | 0.00341001 | ||||
Claim Rewards | 21279537 | 12 hrs ago | IN | 0 ETH | 0.01219131 | ||||
Claim Rewards | 21278725 | 15 hrs ago | IN | 0 ETH | 0.00223231 | ||||
Claim Rewards | 21278333 | 16 hrs ago | IN | 0 ETH | 0.00227216 | ||||
Claim Rewards | 21278015 | 17 hrs ago | IN | 0 ETH | 0.0047922 | ||||
Claim Rewards | 21277389 | 19 hrs ago | IN | 0 ETH | 0.00191393 | ||||
Claim Rewards | 21276661 | 22 hrs ago | IN | 0 ETH | 0.00699706 | ||||
Claim Rewards | 21276558 | 22 hrs ago | IN | 0 ETH | 0.00678772 | ||||
Claim Rewards | 21276013 | 24 hrs ago | IN | 0 ETH | 0.00485947 | ||||
Claim Rewards | 21275491 | 26 hrs ago | IN | 0 ETH | 0.00264247 | ||||
Claim Rewards | 21274696 | 28 hrs ago | IN | 0 ETH | 0.00236717 | ||||
Claim Rewards | 21274526 | 29 hrs ago | IN | 0 ETH | 0.00235563 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
ClaimZap
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 "./interfaces/MathUtil.sol"; import "./interfaces/ILockedCvx.sol"; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/token/ERC20/SafeERC20.sol'; import '@openzeppelin/contracts/math/SafeMath.sol'; interface IBasicRewards{ function getReward(address _account, bool _claimExtras) external; function getReward(address _account) external; function getReward(address _account, address _token) external; function stakeFor(address, uint256) external; } interface ICvxRewards{ function getReward(address _account, bool _claimExtras, bool _stake) external; } interface IChefRewards{ function claim(uint256 _pid, address _account) external; } interface ICvxCrvDeposit{ function deposit(uint256, bool) external; } interface ISwapExchange { function exchange( int128, int128, uint256, uint256 ) external returns (uint256); } //Claim zap to bundle various reward claims //v2: // - change exchange to use curve pool // - add getReward(address,token) type // - add option to lock cvx // - add option use all funds in wallet contract ClaimZap{ using SafeERC20 for IERC20; using SafeMath for uint256; address public constant crv = address(0xD533a949740bb3306d119CC777fa900bA034cd52); address public constant cvx = address(0x4e3FBD56CD56c3e72c1403e103b45Db9da5B9D2B); address public constant cvxCrv = address(0x62B9c7356A2Dc64a1969e19C23e4f579F9810Aa7); address public constant crvDeposit = address(0x8014595F2AB54cD7c604B00E9fb932176fDc86Ae); address public constant cvxRewards = address(0xCF50b810E57Ac33B91dCF525C6ddd9881B139332); address public constant exchange = address(0x9D0464996170c6B9e75eED71c68B99dDEDf279e8);//curve address public constant locker = address(0x72a19342e8F1838460eBFCCEf09F6585e32db86E); address public immutable cvxCrvRewards; address public immutable owner; enum Options{ ClaimCvx, //1 ClaimCvxAndStake, //2 ClaimCvxCrv, //4 ClaimLockedCvx, //8 ClaimLockedCvxStake, //16 LockCrvDeposit, //32 UseAllWalletFunds, //64 LockCvx //128 } constructor(address _cvxcrvStaking) public { owner = msg.sender; cvxCrvRewards = _cvxcrvStaking; } //2.1 - change cvxcrv staking address as immutable in constructor, change claim parameters function getName() external pure returns (string memory) { return "ClaimZap V2.1"; } function setApprovals() external { require(msg.sender == owner, "!auth"); IERC20(crv).safeApprove(crvDeposit, 0); IERC20(crv).safeApprove(crvDeposit, uint256(-1)); IERC20(crv).safeApprove(exchange, 0); IERC20(crv).safeApprove(exchange, uint256(-1)); IERC20(cvx).safeApprove(cvxRewards, 0); IERC20(cvx).safeApprove(cvxRewards, uint256(-1)); IERC20(cvxCrv).safeApprove(cvxCrvRewards, 0); IERC20(cvxCrv).safeApprove(cvxCrvRewards, uint256(-1)); IERC20(cvx).safeApprove(locker, 0); IERC20(cvx).safeApprove(locker, uint256(-1)); } function CheckOption(uint256 _mask, uint256 _flag) internal pure returns(bool){ return (_mask & (1<<_flag)) != 0; } function claimRewards( address[] calldata rewardContracts, address[] calldata extraRewardContracts, address[] calldata tokenRewardContracts, address[] calldata tokenRewardTokens, uint256 depositCrvMaxAmount, uint256 minAmountOut, uint256 depositCvxMaxAmount, uint256 spendCvxAmount, uint256 options ) external{ uint256 crvBalance = IERC20(crv).balanceOf(msg.sender); uint256 cvxBalance = IERC20(cvx).balanceOf(msg.sender); //claim from main curve LP pools for(uint256 i = 0; i < rewardContracts.length; i++){ IBasicRewards(rewardContracts[i]).getReward(msg.sender,true); } //claim from extra rewards for(uint256 i = 0; i < extraRewardContracts.length; i++){ IBasicRewards(extraRewardContracts[i]).getReward(msg.sender); } //claim from multi reward token contract for(uint256 i = 0; i < tokenRewardContracts.length; i++){ IBasicRewards(tokenRewardContracts[i]).getReward(msg.sender,tokenRewardTokens[i]); } //claim others/deposit/lock/stake _claimExtras(depositCrvMaxAmount,minAmountOut,depositCvxMaxAmount,spendCvxAmount,crvBalance,cvxBalance,options); } function _claimExtras( uint256 depositCrvMaxAmount, uint256 minAmountOut, uint256 depositCvxMaxAmount, uint256 spendCvxAmount, uint256 removeCrvBalance, uint256 removeCvxBalance, uint256 options ) internal{ //claim (and stake) from cvx rewards if(CheckOption(options,uint256(Options.ClaimCvxAndStake))){ ICvxRewards(cvxRewards).getReward(msg.sender,true,true); }else if(CheckOption(options,uint256(Options.ClaimCvx))){ ICvxRewards(cvxRewards).getReward(msg.sender,true,false); } //claim from cvxCrv rewards if(CheckOption(options,uint256(Options.ClaimCvxCrv))){ IBasicRewards(cvxCrvRewards).getReward(msg.sender); } //claim from locker if(CheckOption(options,uint256(Options.ClaimLockedCvx))){ ILockedCvx(locker).getReward(msg.sender,CheckOption(options,uint256(Options.ClaimLockedCvxStake))); } //reset remove balances if we want to also stake/lock funds already in our wallet if(CheckOption(options,uint256(Options.UseAllWalletFunds))){ removeCrvBalance = 0; removeCvxBalance = 0; } //lock upto given amount of crv and stake if(depositCrvMaxAmount > 0){ uint256 crvBalance = IERC20(crv).balanceOf(msg.sender).sub(removeCrvBalance); crvBalance = MathUtil.min(crvBalance, depositCrvMaxAmount); if(crvBalance > 0){ //pull crv IERC20(crv).safeTransferFrom(msg.sender, address(this), crvBalance); if(minAmountOut > 0){ //swap ISwapExchange(exchange).exchange(0,1,crvBalance,minAmountOut); }else{ //deposit ICvxCrvDeposit(crvDeposit).deposit(crvBalance,CheckOption(options,uint256(Options.LockCrvDeposit))); } //get cvxcrv amount uint256 cvxCrvBalance = IERC20(cvxCrv).balanceOf(address(this)); //stake for msg.sender IBasicRewards(cvxCrvRewards).stakeFor(msg.sender, cvxCrvBalance); } } //stake up to given amount of cvx if(depositCvxMaxAmount > 0){ uint256 cvxBalance = IERC20(cvx).balanceOf(msg.sender).sub(removeCvxBalance); cvxBalance = MathUtil.min(cvxBalance, depositCvxMaxAmount); if(cvxBalance > 0){ //pull cvx IERC20(cvx).safeTransferFrom(msg.sender, address(this), cvxBalance); if(CheckOption(options,uint256(Options.LockCvx))){ ILockedCvx(locker).lock(msg.sender, cvxBalance, spendCvxAmount); }else{ //stake for msg.sender IBasicRewards(cvxRewards).stakeFor(msg.sender, cvxBalance); } } } } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; /** * @dev Standard math utilities missing in the Solidity language. */ library MathUtil { /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; pragma experimental ABIEncoderV2; interface ILockedCvx{ struct LockedBalance { uint112 amount; uint112 boosted; uint32 unlockTime; } function lock(address _account, uint256 _amount, uint256 _spendRatio) external; function processExpiredLocks(bool _relock) external; function getReward(address _account, bool _stake) external; function balanceAtEpochOf(uint256 _epoch, address _user) view external returns(uint256 amount); function totalSupplyAtEpoch(uint256 _epoch) view external returns(uint256 supply); function epochCount() external view returns(uint256); function epochs(uint256 _id) external view returns(uint224,uint32); function checkpointEpoch() external; function balanceOf(address _account) external view returns(uint256); function lockedBalanceOf(address _user) external view returns(uint256 amount); function pendingLockOf(address _user) external view returns(uint256 amount); function pendingLockAtEpochOf(uint256 _epoch, address _user) view external returns(uint256 amount); function totalSupply() view external returns(uint256 supply); function lockedBalances( address _user ) view external returns( uint256 total, uint256 unlockable, uint256 locked, LockedBalance[] memory lockData ); function addReward( address _rewardsToken, address _distributor, bool _useBoost ) external; function approveRewardDistributor( address _rewardsToken, address _distributor, bool _approved ) external; function setStakeLimits(uint256 _minimum, uint256 _maximum) external; function setBoost(uint256 _max, uint256 _rate, address _receivingAddress) external; function setKickIncentive(uint256 _rate, uint256 _delay) external; function shutdown() external; function recoverERC20(address _tokenAddress, uint256 _tokenAmount) external; }
// 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; 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 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, 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; } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "istanbul", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_cvxcrvStaking","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address[]","name":"rewardContracts","type":"address[]"},{"internalType":"address[]","name":"extraRewardContracts","type":"address[]"},{"internalType":"address[]","name":"tokenRewardContracts","type":"address[]"},{"internalType":"address[]","name":"tokenRewardTokens","type":"address[]"},{"internalType":"uint256","name":"depositCrvMaxAmount","type":"uint256"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"uint256","name":"depositCvxMaxAmount","type":"uint256"},{"internalType":"uint256","name":"spendCvxAmount","type":"uint256"},{"internalType":"uint256","name":"options","type":"uint256"}],"name":"claimRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"crv","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"crvDeposit","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cvx","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cvxCrv","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cvxCrvRewards","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cvxRewards","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exchange","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"locker","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"setApprovals","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c060405234801561001057600080fd5b506040516117063803806117068339818101604052602081101561003357600080fd5b505133606081811b60a05282901b6001600160601b0319166080526001600160a01b0390911690611676610090600039806106a8528061092b525080610857528061089752806109675280610b2e5280610ee652506116766000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c8063923c1d6111610071578063923c1d61146102eb578063a7404b70146102f3578063aa5ccb90146102fb578063b026e22714610303578063d2f7265a1461030b578063d7b96d4e14610313576100b4565b806317d7de7c146100b95780635a7b87f2146101365780636a4874a1146102af57806382480df9146102d35780638757b15b146102db5780638da5cb5b146102e3575b600080fd5b6100c161031b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102ad600480360361012081101561014d57600080fd5b810190602081018135600160201b81111561016757600080fd5b82018360208201111561017957600080fd5b803590602001918460208302840111600160201b8311171561019a57600080fd5b919390929091602081019035600160201b8111156101b757600080fd5b8201836020820111156101c957600080fd5b803590602001918460208302840111600160201b831117156101ea57600080fd5b919390929091602081019035600160201b81111561020757600080fd5b82018360208201111561021957600080fd5b803590602001918460208302840111600160201b8311171561023a57600080fd5b919390929091602081019035600160201b81111561025757600080fd5b82018360208201111561026957600080fd5b803590602001918460208302840111600160201b8311171561028a57600080fd5b919350915080359060208101359060408101359060608101359060800135610342565b005b6102b761066d565b604080516001600160a01b039092168252519081900360200190f35b6102b7610685565b6102ad61069d565b6102b7610929565b6102b761094d565b6102b7610965565b6102b7610989565b6102b76109a1565b6102b76109b9565b6102b76109d1565b60408051808201909152600d81526c436c61696d5a61702056322e3160981b602082015290565b604080516370a0823160e01b8152336004820152905160009173d533a949740bb3306d119cc777fa900ba034cd52916370a0823191602480820192602092909190829003018186803b15801561039757600080fd5b505afa1580156103ab573d6000803e3d6000fd5b505050506040513d60208110156103c157600080fd5b5051604080516370a0823160e01b81523360048201529051919250600091734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b916370a08231916024808301926020929190829003018186803b15801561041a57600080fd5b505afa15801561042e573d6000803e3d6000fd5b505050506040513d602081101561044457600080fd5b5051905060005b8e8110156104ec578f8f8281811061045f57fe5b905060200201356001600160a01b03166001600160a01b0316637050ccd93360016040518363ffffffff1660e01b815260040180836001600160a01b03168152602001821515815260200192505050600060405180830381600087803b1580156104c857600080fd5b505af11580156104dc573d6000803e3d6000fd5b50506001909201915061044b9050565b5060005b8c811015610586578d8d8281811061050457fe5b905060200201356001600160a01b03166001600160a01b031663c00007b0336040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561056257600080fd5b505af1158015610576573d6000803e3d6000fd5b5050600190920191506104f09050565b5060005b8a81101561064c578b8b8281811061059e57fe5b905060200201356001600160a01b03166001600160a01b0316636b091695338c8c858181106105c957fe5b905060200201356001600160a01b03166040518363ffffffff1660e01b815260040180836001600160a01b03168152602001826001600160a01b0316815260200192505050600060405180830381600087803b15801561062857600080fd5b505af115801561063c573d6000803e3d6000fd5b50506001909201915061058a9050565b5061065c878787878686896109e9565b505050505050505050505050505050565b73d533a949740bb3306d119cc777fa900ba034cd5281565b7362b9c7356a2dc64a1969e19c23e4f579f9810aa781565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610702576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b61073673d533a949740bb3306d119cc777fa900ba034cd52738014595f2ab54cd7c604b00e9fb932176fdc86ae60006110f5565b61076b73d533a949740bb3306d119cc777fa900ba034cd52738014595f2ab54cd7c604b00e9fb932176fdc86ae6000196110f5565b61079f73d533a949740bb3306d119cc777fa900ba034cd52739d0464996170c6b9e75eed71c68b99ddedf279e860006110f5565b6107d473d533a949740bb3306d119cc777fa900ba034cd52739d0464996170c6b9e75eed71c68b99ddedf279e86000196110f5565b610808734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b73cf50b810e57ac33b91dcf525c6ddd9881b13933260006110f5565b61083d734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b73cf50b810e57ac33b91dcf525c6ddd9881b1393326000196110f5565b61087d7362b9c7356a2dc64a1969e19c23e4f579f9810aa77f000000000000000000000000000000000000000000000000000000000000000060006110f5565b6108be7362b9c7356a2dc64a1969e19c23e4f579f9810aa77f00000000000000000000000000000000000000000000000000000000000000006000196110f5565b6108f2734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b7372a19342e8f1838460ebfccef09f6585e32db86e60006110f5565b610927734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b7372a19342e8f1838460ebfccef09f6585e32db86e6000196110f5565b565b7f000000000000000000000000000000000000000000000000000000000000000081565b734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b81565b7f000000000000000000000000000000000000000000000000000000000000000081565b73cf50b810e57ac33b91dcf525c6ddd9881b13933281565b738014595f2ab54cd7c604b00e9fb932176fdc86ae81565b739d0464996170c6b9e75eed71c68b99ddedf279e881565b7372a19342e8f1838460ebfccef09f6585e32db86e81565b6109f58160015b61120d565b15610a775760408051633e69b9d960e21b81523360048201526001602482018190526044820152905173cf50b810e57ac33b91dcf525c6ddd9881b1393329163f9a6e76491606480830192600092919082900301818387803b158015610a5a57600080fd5b505af1158015610a6e573d6000803e3d6000fd5b50505050610afe565b610a828160006109f0565b15610afe5760408051633e69b9d960e21b815233600482015260016024820152600060448201819052915173cf50b810e57ac33b91dcf525c6ddd9881b1393329263f9a6e764926064808201939182900301818387803b158015610ae557600080fd5b505af1158015610af9573d6000803e3d6000fd5b505050505b610b098160026109f0565b15610b8e5760408051630c00007b60e41b815233600482015290516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163c00007b091602480830192600092919082900301818387803b158015610b7557600080fd5b505af1158015610b89573d6000803e3d6000fd5b505050505b610b998160036109f0565b15610c25577372a19342e8f1838460ebfccef09f6585e32db86e637050ccd933610bc48460046109f0565b6040518363ffffffff1660e01b815260040180836001600160a01b03168152602001821515815260200192505050600060405180830381600087803b158015610c0c57600080fd5b505af1158015610c20573d6000803e3d6000fd5b505050505b610c308160066109f0565b15610c3e5760009250600091505b8615610f4a576000610cdd8473d533a949740bb3306d119cc777fa900ba034cd526001600160a01b03166370a08231336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610cab57600080fd5b505afa158015610cbf573d6000803e3d6000fd5b505050506040513d6020811015610cd557600080fd5b505190611217565b9050610ce98189611274565b90508015610f4857610d1173d533a949740bb3306d119cc777fa900ba034cd5233308461128c565b8615610dbd57739d0464996170c6b9e75eed71c68b99ddedf279e86001600160a01b0316633df0212460006001848b6040518563ffffffff1660e01b815260040180858152602001848152602001838152602001828152602001945050505050602060405180830381600087803b158015610d8b57600080fd5b505af1158015610d9f573d6000803e3d6000fd5b505050506040513d6020811015610db557600080fd5b50610e3b9050565b738014595f2ab54cd7c604b00e9fb932176fdc86ae639a40832182610de38560056109f0565b6040518363ffffffff1660e01b815260040180838152602001821515815260200192505050600060405180830381600087803b158015610e2257600080fd5b505af1158015610e36573d6000803e3d6000fd5b505050505b604080516370a0823160e01b815230600482015290516000917362b9c7356a2dc64a1969e19c23e4f579f9810aa7916370a0823191602480820192602092909190829003018186803b158015610e9057600080fd5b505afa158015610ea4573d6000803e3d6000fd5b505050506040513d6020811015610eba57600080fd5b5051604080516305dc812160e31b81523360048201526024810183905290519192506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001691632ee409089160448082019260009290919082900301818387803b158015610f2e57600080fd5b505af1158015610f42573d6000803e3d6000fd5b50505050505b505b84156110ec576000610fb783734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b6001600160a01b03166370a08231336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610cab57600080fd5b9050610fc38187611274565b905080156110ea57610feb734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b33308461128c565b610ff68260076109f0565b15611078576040805163e2ab691d60e01b8152336004820152602481018390526044810187905290517372a19342e8f1838460ebfccef09f6585e32db86e9163e2ab691d91606480830192600092919082900301818387803b15801561105b57600080fd5b505af115801561106f573d6000803e3d6000fd5b505050506110ea565b604080516305dc812160e31b815233600482015260248101839052905173cf50b810e57ac33b91dcf525c6ddd9881b13933291632ee4090891604480830192600092919082900301818387803b1580156110d157600080fd5b505af11580156110e5573d6000803e3d6000fd5b505050505b505b50505050505050565b80158061117b575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561114d57600080fd5b505afa158015611161573d6000803e3d6000fd5b505050506040513d602081101561117757600080fd5b5051155b6111b65760405162461bcd60e51b815260040180806020018281038252603681526020018061160b6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526112089084906112ec565b505050565b6001901b16151590565b60008282111561126e576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008183106112835781611285565b825b9392505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526112e69085906112ec565b50505050565b6060611341826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661139d9092919063ffffffff16565b8051909150156112085780806020019051602081101561136057600080fd5b50516112085760405162461bcd60e51b815260040180806020018281038252602a8152602001806115e1602a913960400191505060405180910390fd5b60606113ac84846000856113b4565b949350505050565b6060824710156113f55760405162461bcd60e51b81526004018080602001828103825260268152602001806115bb6026913960400191505060405180910390fd5b6113fe85611510565b61144f576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061148e5780518252601f19909201916020918201910161146f565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146114f0576040519150601f19603f3d011682016040523d82523d6000602084013e6114f5565b606091505b5091509150611505828286611516565b979650505050505050565b3b151590565b60608315611525575081611285565b8251156115355782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561157f578181015183820152602001611567565b50505050905090810190601f1680156115ac5780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220cd1ef19cb58e3c5c01ded3406ccc271827af25168af9372cff2879734130dedf64736f6c634300060c0033000000000000000000000000aa0c3f5f7dfd688c6e646f66cd2a6b66acdbe434
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100b45760003560e01c8063923c1d6111610071578063923c1d61146102eb578063a7404b70146102f3578063aa5ccb90146102fb578063b026e22714610303578063d2f7265a1461030b578063d7b96d4e14610313576100b4565b806317d7de7c146100b95780635a7b87f2146101365780636a4874a1146102af57806382480df9146102d35780638757b15b146102db5780638da5cb5b146102e3575b600080fd5b6100c161031b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102ad600480360361012081101561014d57600080fd5b810190602081018135600160201b81111561016757600080fd5b82018360208201111561017957600080fd5b803590602001918460208302840111600160201b8311171561019a57600080fd5b919390929091602081019035600160201b8111156101b757600080fd5b8201836020820111156101c957600080fd5b803590602001918460208302840111600160201b831117156101ea57600080fd5b919390929091602081019035600160201b81111561020757600080fd5b82018360208201111561021957600080fd5b803590602001918460208302840111600160201b8311171561023a57600080fd5b919390929091602081019035600160201b81111561025757600080fd5b82018360208201111561026957600080fd5b803590602001918460208302840111600160201b8311171561028a57600080fd5b919350915080359060208101359060408101359060608101359060800135610342565b005b6102b761066d565b604080516001600160a01b039092168252519081900360200190f35b6102b7610685565b6102ad61069d565b6102b7610929565b6102b761094d565b6102b7610965565b6102b7610989565b6102b76109a1565b6102b76109b9565b6102b76109d1565b60408051808201909152600d81526c436c61696d5a61702056322e3160981b602082015290565b604080516370a0823160e01b8152336004820152905160009173d533a949740bb3306d119cc777fa900ba034cd52916370a0823191602480820192602092909190829003018186803b15801561039757600080fd5b505afa1580156103ab573d6000803e3d6000fd5b505050506040513d60208110156103c157600080fd5b5051604080516370a0823160e01b81523360048201529051919250600091734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b916370a08231916024808301926020929190829003018186803b15801561041a57600080fd5b505afa15801561042e573d6000803e3d6000fd5b505050506040513d602081101561044457600080fd5b5051905060005b8e8110156104ec578f8f8281811061045f57fe5b905060200201356001600160a01b03166001600160a01b0316637050ccd93360016040518363ffffffff1660e01b815260040180836001600160a01b03168152602001821515815260200192505050600060405180830381600087803b1580156104c857600080fd5b505af11580156104dc573d6000803e3d6000fd5b50506001909201915061044b9050565b5060005b8c811015610586578d8d8281811061050457fe5b905060200201356001600160a01b03166001600160a01b031663c00007b0336040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561056257600080fd5b505af1158015610576573d6000803e3d6000fd5b5050600190920191506104f09050565b5060005b8a81101561064c578b8b8281811061059e57fe5b905060200201356001600160a01b03166001600160a01b0316636b091695338c8c858181106105c957fe5b905060200201356001600160a01b03166040518363ffffffff1660e01b815260040180836001600160a01b03168152602001826001600160a01b0316815260200192505050600060405180830381600087803b15801561062857600080fd5b505af115801561063c573d6000803e3d6000fd5b50506001909201915061058a9050565b5061065c878787878686896109e9565b505050505050505050505050505050565b73d533a949740bb3306d119cc777fa900ba034cd5281565b7362b9c7356a2dc64a1969e19c23e4f579f9810aa781565b336001600160a01b037f000000000000000000000000947b7742c403f20e5faccdac5e092c943e7d02771614610702576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b61073673d533a949740bb3306d119cc777fa900ba034cd52738014595f2ab54cd7c604b00e9fb932176fdc86ae60006110f5565b61076b73d533a949740bb3306d119cc777fa900ba034cd52738014595f2ab54cd7c604b00e9fb932176fdc86ae6000196110f5565b61079f73d533a949740bb3306d119cc777fa900ba034cd52739d0464996170c6b9e75eed71c68b99ddedf279e860006110f5565b6107d473d533a949740bb3306d119cc777fa900ba034cd52739d0464996170c6b9e75eed71c68b99ddedf279e86000196110f5565b610808734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b73cf50b810e57ac33b91dcf525c6ddd9881b13933260006110f5565b61083d734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b73cf50b810e57ac33b91dcf525c6ddd9881b1393326000196110f5565b61087d7362b9c7356a2dc64a1969e19c23e4f579f9810aa77f000000000000000000000000aa0c3f5f7dfd688c6e646f66cd2a6b66acdbe43460006110f5565b6108be7362b9c7356a2dc64a1969e19c23e4f579f9810aa77f000000000000000000000000aa0c3f5f7dfd688c6e646f66cd2a6b66acdbe4346000196110f5565b6108f2734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b7372a19342e8f1838460ebfccef09f6585e32db86e60006110f5565b610927734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b7372a19342e8f1838460ebfccef09f6585e32db86e6000196110f5565b565b7f000000000000000000000000947b7742c403f20e5faccdac5e092c943e7d027781565b734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b81565b7f000000000000000000000000aa0c3f5f7dfd688c6e646f66cd2a6b66acdbe43481565b73cf50b810e57ac33b91dcf525c6ddd9881b13933281565b738014595f2ab54cd7c604b00e9fb932176fdc86ae81565b739d0464996170c6b9e75eed71c68b99ddedf279e881565b7372a19342e8f1838460ebfccef09f6585e32db86e81565b6109f58160015b61120d565b15610a775760408051633e69b9d960e21b81523360048201526001602482018190526044820152905173cf50b810e57ac33b91dcf525c6ddd9881b1393329163f9a6e76491606480830192600092919082900301818387803b158015610a5a57600080fd5b505af1158015610a6e573d6000803e3d6000fd5b50505050610afe565b610a828160006109f0565b15610afe5760408051633e69b9d960e21b815233600482015260016024820152600060448201819052915173cf50b810e57ac33b91dcf525c6ddd9881b1393329263f9a6e764926064808201939182900301818387803b158015610ae557600080fd5b505af1158015610af9573d6000803e3d6000fd5b505050505b610b098160026109f0565b15610b8e5760408051630c00007b60e41b815233600482015290516001600160a01b037f000000000000000000000000aa0c3f5f7dfd688c6e646f66cd2a6b66acdbe434169163c00007b091602480830192600092919082900301818387803b158015610b7557600080fd5b505af1158015610b89573d6000803e3d6000fd5b505050505b610b998160036109f0565b15610c25577372a19342e8f1838460ebfccef09f6585e32db86e637050ccd933610bc48460046109f0565b6040518363ffffffff1660e01b815260040180836001600160a01b03168152602001821515815260200192505050600060405180830381600087803b158015610c0c57600080fd5b505af1158015610c20573d6000803e3d6000fd5b505050505b610c308160066109f0565b15610c3e5760009250600091505b8615610f4a576000610cdd8473d533a949740bb3306d119cc777fa900ba034cd526001600160a01b03166370a08231336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610cab57600080fd5b505afa158015610cbf573d6000803e3d6000fd5b505050506040513d6020811015610cd557600080fd5b505190611217565b9050610ce98189611274565b90508015610f4857610d1173d533a949740bb3306d119cc777fa900ba034cd5233308461128c565b8615610dbd57739d0464996170c6b9e75eed71c68b99ddedf279e86001600160a01b0316633df0212460006001848b6040518563ffffffff1660e01b815260040180858152602001848152602001838152602001828152602001945050505050602060405180830381600087803b158015610d8b57600080fd5b505af1158015610d9f573d6000803e3d6000fd5b505050506040513d6020811015610db557600080fd5b50610e3b9050565b738014595f2ab54cd7c604b00e9fb932176fdc86ae639a40832182610de38560056109f0565b6040518363ffffffff1660e01b815260040180838152602001821515815260200192505050600060405180830381600087803b158015610e2257600080fd5b505af1158015610e36573d6000803e3d6000fd5b505050505b604080516370a0823160e01b815230600482015290516000917362b9c7356a2dc64a1969e19c23e4f579f9810aa7916370a0823191602480820192602092909190829003018186803b158015610e9057600080fd5b505afa158015610ea4573d6000803e3d6000fd5b505050506040513d6020811015610eba57600080fd5b5051604080516305dc812160e31b81523360048201526024810183905290519192506001600160a01b037f000000000000000000000000aa0c3f5f7dfd688c6e646f66cd2a6b66acdbe4341691632ee409089160448082019260009290919082900301818387803b158015610f2e57600080fd5b505af1158015610f42573d6000803e3d6000fd5b50505050505b505b84156110ec576000610fb783734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b6001600160a01b03166370a08231336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610cab57600080fd5b9050610fc38187611274565b905080156110ea57610feb734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b33308461128c565b610ff68260076109f0565b15611078576040805163e2ab691d60e01b8152336004820152602481018390526044810187905290517372a19342e8f1838460ebfccef09f6585e32db86e9163e2ab691d91606480830192600092919082900301818387803b15801561105b57600080fd5b505af115801561106f573d6000803e3d6000fd5b505050506110ea565b604080516305dc812160e31b815233600482015260248101839052905173cf50b810e57ac33b91dcf525c6ddd9881b13933291632ee4090891604480830192600092919082900301818387803b1580156110d157600080fd5b505af11580156110e5573d6000803e3d6000fd5b505050505b505b50505050505050565b80158061117b575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561114d57600080fd5b505afa158015611161573d6000803e3d6000fd5b505050506040513d602081101561117757600080fd5b5051155b6111b65760405162461bcd60e51b815260040180806020018281038252603681526020018061160b6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526112089084906112ec565b505050565b6001901b16151590565b60008282111561126e576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008183106112835781611285565b825b9392505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526112e69085906112ec565b50505050565b6060611341826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661139d9092919063ffffffff16565b8051909150156112085780806020019051602081101561136057600080fd5b50516112085760405162461bcd60e51b815260040180806020018281038252602a8152602001806115e1602a913960400191505060405180910390fd5b60606113ac84846000856113b4565b949350505050565b6060824710156113f55760405162461bcd60e51b81526004018080602001828103825260268152602001806115bb6026913960400191505060405180910390fd5b6113fe85611510565b61144f576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061148e5780518252601f19909201916020918201910161146f565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146114f0576040519150601f19603f3d011682016040523d82523d6000602084013e6114f5565b606091505b5091509150611505828286611516565b979650505050505050565b3b151590565b60608315611525575081611285565b8251156115355782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561157f578181015183820152602001611567565b50505050905090810190601f1680156115ac5780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220cd1ef19cb58e3c5c01ded3406ccc271827af25168af9372cff2879734130dedf64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000aa0C3f5F7DFD688C6E646F66CD2a6B66ACdbE434
-----Decoded View---------------
Arg [0] : _cvxcrvStaking (address): 0xaa0C3f5F7DFD688C6E646F66CD2a6B66ACdbE434
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000aa0C3f5F7DFD688C6E646F66CD2a6B66ACdbE434
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 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.