ETH Price: $3,250.06 (-0.58%)

Contract

0x6e3FB8a019E78785E80cea1d413Bc3Ab650c2449
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00
Transaction Hash
Method
Block
Age
From
To
Transfer And Dep...210433782024-10-25 14:58:3587 days ago1729868315IN
0x6e3FB8a0...b650c2449
0.86 ETH0.001811612.60306056
Transfer And Dep...210020442024-10-19 20:35:5993 days ago1729370159IN
0x6e3FB8a0...b650c2449
0 ETH0.001540077.71455095
Transfer And Dep...209846392024-10-17 10:17:5995 days ago1729160279IN
0x6e3FB8a0...b650c2449
0 ETH0.0028622415.56304809
Transfer And Dep...209739312024-10-15 22:25:2397 days ago1729031123IN
0x6e3FB8a0...b650c2449
0 ETH0.001778959.93200907
Transfer And Dep...209228212024-10-08 19:01:47104 days ago1728414107IN
0x6e3FB8a0...b650c2449
0.537 ETH0.0045973726.83785792
Transfer And Dep...209169742024-10-07 23:28:47105 days ago1728343727IN
0x6e3FB8a0...b650c2449
0 ETH0.001248548.61582498
Transfer And Dep...209100852024-10-07 0:26:11106 days ago1728260771IN
0x6e3FB8a0...b650c2449
0 ETH0.001263249.85238839
Transfer And Dep...209006142024-10-05 16:45:11107 days ago1728146711IN
0x6e3FB8a0...b650c2449
0 ETH0.000765465.97062114
Transfer And Dep...209004802024-10-05 16:18:23107 days ago1728145103IN
0x6e3FB8a0...b650c2449
0.00449926 ETH0.000968376.73598119
Transfer And Dep...208870352024-10-03 19:20:59109 days ago1727983259IN
0x6e3FB8a0...b650c2449
1 ETH0.0026163218.19899238
Transfer And Dep...208865892024-10-03 17:51:23109 days ago1727977883IN
0x6e3FB8a0...b650c2449
0 ETH0.001277188.8134384
Transfer And Dep...208827262024-10-03 4:53:59109 days ago1727931239IN
0x6e3FB8a0...b650c2449
1 ETH0.000730554.26500713
Transfer And Dep...208817802024-10-03 1:43:59110 days ago1727919839IN
0x6e3FB8a0...b650c2449
0.001 ETH0.001026255.99133525
Transfer And Dep...208816062024-10-03 1:09:11110 days ago1727917751IN
0x6e3FB8a0...b650c2449
0.00177261 ETH0.000911946.34347021
Transfer And Dep...208744272024-10-02 1:08:35111 days ago1727831315IN
0x6e3FB8a0...b650c2449
0.00395194 ETH0.00085755.96473866
Transfer And Dep...208743882024-10-02 1:00:47111 days ago1727830847IN
0x6e3FB8a0...b650c2449
0 ETH0.00076855.99379255
Transfer And Dep...208737132024-10-01 22:44:59111 days ago1727822699IN
0x6e3FB8a0...b650c2449
0 ETH0.000322699.01241561
Transfer And Dep...208737052024-10-01 22:43:23111 days ago1727822603IN
0x6e3FB8a0...b650c2449
0 ETH0.001004377.83340958
Transfer And Dep...208731622024-10-01 20:54:35111 days ago1727816075IN
0x6e3FB8a0...b650c2449
0 ETH0.0005949422.58451201
Transfer And Dep...208528512024-09-29 0:55:59114 days ago1727571359IN
0x6e3FB8a0...b650c2449
0 ETH0.000805826.28483574
Transfer And Dep...208448512024-09-27 22:08:23115 days ago1727474903IN
0x6e3FB8a0...b650c2449
0 ETH0.001083938.4547037
Transfer And Dep...208384862024-09-27 0:51:11116 days ago1727398271IN
0x6e3FB8a0...b650c2449
0 ETH0.0020317414.5019815
Transfer And Dep...208151632024-09-23 18:46:11119 days ago1727117171IN
0x6e3FB8a0...b650c2449
0 ETH0.0035822124.71769562
Transfer And Dep...208037322024-09-22 4:29:23120 days ago1726979363IN
0x6e3FB8a0...b650c2449
0.005 ETH0.001048896.12347785
Transfer And Dep...207994662024-09-21 14:11:35121 days ago1726927895IN
0x6e3FB8a0...b650c2449
0 ETH0.00895163.87870409
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
Age
From
To
210433782024-10-25 14:58:3587 days ago1729868315
0x6e3FB8a0...b650c2449
0.86 ETH
209228212024-10-08 19:01:47104 days ago1728414107
0x6e3FB8a0...b650c2449
0.537 ETH
209004802024-10-05 16:18:23107 days ago1728145103
0x6e3FB8a0...b650c2449
0.00449926 ETH
208870352024-10-03 19:20:59109 days ago1727983259
0x6e3FB8a0...b650c2449
1 ETH
208827262024-10-03 4:53:59109 days ago1727931239
0x6e3FB8a0...b650c2449
1 ETH
208817802024-10-03 1:43:59110 days ago1727919839
0x6e3FB8a0...b650c2449
0.001 ETH
208816062024-10-03 1:09:11110 days ago1727917751
0x6e3FB8a0...b650c2449
0.00177261 ETH
208744272024-10-02 1:08:35111 days ago1727831315
0x6e3FB8a0...b650c2449
0.00395194 ETH
208037322024-09-22 4:29:23120 days ago1726979363
0x6e3FB8a0...b650c2449
0.005 ETH
207515142024-09-14 21:24:47128 days ago1726349087
0x6e3FB8a0...b650c2449
0.01702137 ETH
207380072024-09-13 0:08:23130 days ago1726186103
0x6e3FB8a0...b650c2449
0.02594202 ETH
206619412024-09-02 9:18:23140 days ago1725268703
0x6e3FB8a0...b650c2449
0.5 ETH
206618642024-09-02 9:02:59140 days ago1725267779
0x6e3FB8a0...b650c2449
0.5 ETH
206290152024-08-28 18:55:59145 days ago1724871359
0x6e3FB8a0...b650c2449
0.03000898 ETH
205946512024-08-23 23:41:47150 days ago1724456507
0x6e3FB8a0...b650c2449
0.36 ETH
205945872024-08-23 23:28:59150 days ago1724455739
0x6e3FB8a0...b650c2449
0.01 ETH
205790612024-08-21 19:23:59152 days ago1724268239
0x6e3FB8a0...b650c2449
0.00094277 ETH
205745842024-08-21 4:24:11152 days ago1724214251
0x6e3FB8a0...b650c2449
0.5 ETH
205745682024-08-21 4:20:59152 days ago1724214059
0x6e3FB8a0...b650c2449
0.3 ETH
205723072024-08-20 20:46:11153 days ago1724186771
0x6e3FB8a0...b650c2449
0.03486826 ETH
205400542024-08-16 8:39:47157 days ago1723797587
0x6e3FB8a0...b650c2449
0.0248 ETH
205400472024-08-16 8:38:23157 days ago1723797503
0x6e3FB8a0...b650c2449
0.0248 ETH
205394182024-08-16 6:32:23157 days ago1723789943
0x6e3FB8a0...b650c2449
0.02552 ETH
205388672024-08-16 4:42:11157 days ago1723783331
0x6e3FB8a0...b650c2449
0.005 ETH
205241442024-08-14 3:20:23160 days ago1723605623
0x6e3FB8a0...b650c2449
0.05 ETH
View All Internal Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x35242f4A...8874bCD60
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
ClipperFarmingHelper

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 16 : ClipperFarmingHelper.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: UNLICENSED
// Copyright 2023 Shipyard Software, Inc.
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol";
import "@openzeppelin/contracts/interfaces/IERC4626.sol";
import "./ClipperCommonExchange.sol";
interface DaiPermitInterface {
function permit(address holder, address spender, uint256 nonce, uint256 expiry, bool allowed, uint8 v, bytes32 r, bytes32 s) external;
}
interface WETH9Interface {
function deposit() external payable;
}
contract ClipperFarmingHelper is ReentrancyGuard {
using SafeERC20 for IERC20;
address public immutable FARMING_CONTRACT;
address payable public immutable CLIPPER_POOL;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 2 of 16 : IERC4626.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (interfaces/IERC4626.sol)
pragma solidity ^0.8.0;
import "../token/ERC20/IERC20.sol";
import "../token/ERC20/extensions/IERC20Metadata.sol";
/**
* @dev Interface of the ERC4626 "Tokenized Vault Standard", as defined in
* https://eips.ethereum.org/EIPS/eip-4626[ERC-4626].
*
* _Available since v4.7._
*/
interface IERC4626 is IERC20, IERC20Metadata {
event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares);
event Withdraw(
address indexed sender,
address indexed receiver,
address indexed owner,
uint256 assets,
uint256 shares
);
/**
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 3 of 16 : ReentrancyGuard.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 4 of 16 : ERC20.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.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.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead 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}.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 5 of 16 : draft-IERC20Permit.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*/
interface IERC20Permit {
/**
* @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
* given ``owner``'s signed approval.
*
* IMPORTANT: The same issues {IERC20-approve} has related to transaction
* ordering also apply here.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `spender` cannot be the zero address.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 6 of 16 : IERC20Metadata.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 7 of 16 : IERC20.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the amount of tokens in existence.
*/
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 8 of 16 : SafeERC20.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.0;
import "../IERC20.sol";
import "../extensions/draft-IERC20Permit.sol";
import "../../../utils/Address.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using Address for address;
function safeTransfer(
IERC20 token,
address to,
uint256 value
) internal {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 9 of 16 : Address.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @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
* ====
*
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 10 of 16 : Context.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^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 meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 11 of 16 : ECDSA.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/ECDSA.sol)
pragma solidity ^0.8.0;
import "../Strings.sol";
/**
* @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
*
* These functions can be used to verify that a message was signed by the holder
* of the private keys of a given address.
*/
library ECDSA {
enum RecoverError {
NoError,
InvalidSignature,
InvalidSignatureLength,
InvalidSignatureS,
InvalidSignatureV // Deprecated in v4.8
}
function _throwError(RecoverError error) private pure {
if (error == RecoverError.NoError) {
return; // no error: do nothing
} else if (error == RecoverError.InvalidSignature) {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 12 of 16 : Math.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)
pragma solidity ^0.8.0;
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library Math {
enum Rounding {
Down, // Toward negative infinity
Up, // Toward infinity
Zero // Toward zero
}
/**
* @dev Returns the largest of two numbers.
*/
function max(uint256 a, uint256 b) internal pure returns (uint256) {
return a > b ? a : b;
}
/**
* @dev Returns the smallest of two numbers.
*/
function min(uint256 a, uint256 b) internal pure returns (uint256) {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 13 of 16 : Strings.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)
pragma solidity ^0.8.0;
import "./math/Math.sol";
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _SYMBOLS = "0123456789abcdef";
uint8 private constant _ADDRESS_LENGTH = 20;
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
unchecked {
uint256 length = Math.log10(value) + 1;
string memory buffer = new string(length);
uint256 ptr;
/// @solidity memory-safe-assembly
assembly {
ptr := add(buffer, add(32, length))
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 14 of 16 : EnumerableSet.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.
pragma solidity ^0.8.0;
/**
* @dev Library for managing
* https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
* types.
*
* Sets have the following properties:
*
* - Elements are added, removed, and checked for existence in constant time
* (O(1)).
* - Elements are enumerated in O(n). No guarantees are made on the ordering.
*
* ```
* contract Example {
* // Add the library methods
* using EnumerableSet for EnumerableSet.AddressSet;
*
* // Declare a set state variable
* EnumerableSet.AddressSet private mySet;
* }
* ```
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 15 of 16 : ClipperCommonExchange.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: UNLICENSED
// Copyright 2023 Shipyard Software, Inc.
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "./interfaces/WrapperContractInterface.sol";
abstract contract ClipperCommonExchange is ERC20, ReentrancyGuard {
using SafeERC20 for IERC20;
using EnumerableSet for EnumerableSet.AddressSet;
struct Signature {
uint8 v;
bytes32 r;
bytes32 s;
}
struct Deposit {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 16 of 16 : WrapperContractInterface.sol
1
2
3
4
5
6
7
// SPDX-License-Identifier: UNLICENSED
// Copyright 2023 Shipyard Software, Inc.
pragma solidity ^0.8.0;
interface WrapperContractInterface {
function withdraw(uint256 amount) external;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Settings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"optimizer": {
"enabled": true,
"runs": 1000
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"metadata": {
"useLiteralContent": true
},
"libraries": {}
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_clipperPool","type":"address"},{"internalType":"address","name":"_farmingContract","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InvalidClipper","type":"error"},{"inputs":[],"name":"InvalidPermit","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"depositor","type":"address"},{"indexed":true,"internalType":"address","name":"oldClipper","type":"address"},{"indexed":false,"internalType":"uint256","name":"oldPoolTokens","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newPoolTokens","type":"uint256"}],"name":"LPTransferred","type":"event"},{"inputs":[],"name":"CLIPPER_POOL","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FARMING_CONTRACT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"inputToken","type":"address"},{"internalType":"address","name":"outputToken","type":"address"},{"internalType":"uint256","name":"inputAmount","type":"uint256"},{"internalType":"uint256","name":"outputAmount","type":"uint256"},{"internalType":"uint256","name":"goodUntil","type":"uint256"},{"internalType":"address","name":"destinationAddress","type":"address"},{"components":[{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"internalType":"struct ClipperCommonExchange.Signature","name":"theSignature","type":"tuple"},{"internalType":"bytes","name":"auxiliaryData","type":"bytes"},{"internalType":"bytes","name":"permitData","type":"bytes"}],"name":"permitSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"depositAmounts","type":"uint256[]"},{"internalType":"uint256","name":"poolTokens","type":"uint256"},{"internalType":"uint256","name":"goodUntil","type":"uint256"},{"components":[{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"internalType":"struct ClipperCommonExchange.Signature","name":"theSignature","type":"tuple"},{"internalType":"bytes[]","name":"permitDataArray","type":"bytes[]"}],"name":"transferAndDepositMultipleAssets","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"inputToken","type":"address"},{"internalType":"uint256","name":"inputAmount","type":"uint256"},{"internalType":"uint256","name":"poolTokens","type":"uint256"},{"internalType":"uint256","name":"goodUntil","type":"uint256"},{"components":[{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"internalType":"struct ClipperCommonExchange.Signature","name":"theSignature","type":"tuple"},{"internalType":"bytes","name":"permitData","type":"bytes"}],"name":"transferAndDepositSingleAsset","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address payable","name":"oldClipper","type":"address"},{"internalType":"uint256[]","name":"depositAmounts","type":"uint256[]"},{"internalType":"uint256","name":"poolTokens","type":"uint256"},{"internalType":"uint256","name":"goodUntil","type":"uint256"},{"components":[{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"internalType":"struct ClipperCommonExchange.Signature","name":"theSignature","type":"tuple"}],"name":"transferLP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

Deployed Bytecode

0x6080604052600436106100695760003560e01c80639137ac72116100435780639137ac72146100ca57806391e92aaf1461011a578063ead8c7b41461014e57600080fd5b80630fdfdb4614610075578063686e61031461008a57806390e05d85146100aa57600080fd5b3661007057005b600080fd5b610088610083366004611486565b610161565b005b34801561009657600080fd5b506100886100a536600461150c565b610426565b3480156100b657600080fd5b506100886100c5366004611634565b6105e7565b3480156100d657600080fd5b506100fe7f000000000000000000000000d0454428ecd868a9ac615125fcbdb5da9027436e81565b6040516001600160a01b03909116815260200160405180910390f35b34801561012657600080fd5b506100fe7f000000000000000000000000655edce464cc797526600a462a8154650eee4b7781565b61008861015c3660046116ad565b610b2d565b610169610f06565b801561017c5761017c8783836001610f64565b6001600160a01b0387166102a85734156102a35760007f000000000000000000000000655edce464cc797526600a462a8154650eee4b776001600160a01b0316635aecdda56040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102149190611732565b9050806001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b15801561025157600080fd5b505af1158015610265573d6000803e3d6000fd5b506102a0935050506001600160a01b03831690507f000000000000000000000000655edce464cc797526600a462a8154650eee4b7789611084565b96505b6102dd565b6102dd6001600160a01b038816337f000000000000000000000000655edce464cc797526600a462a8154650eee4b778961111a565b6040517f87e08c250000000000000000000000000000000000000000000000000000000081526001600160a01b037f000000000000000000000000655edce464cc797526600a462a8154650eee4b7716906387e08c259061034f9030908b908b906000908c908c908c90600401611780565b600060405180830381600087803b15801561036957600080fd5b505af115801561037d573d6000803e3d6000fd5b5050604051636e553f6560e01b8152600481018890523360248201527f000000000000000000000000d0454428ecd868a9ac615125fcbdb5da9027436e6001600160a01b03169250636e553f6591506044016020604051808303816000875af11580156103ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041291906117ce565b5061041d6001600055565b50505050505050565b61042e610f06565b61043b8b83836001610f64565b6104706001600160a01b038c16337f000000000000000000000000655edce464cc797526600a462a8154650eee4b778c61111a565b6001600160a01b038a16610528576040517f4cb6864c0000000000000000000000000000000000000000000000000000000081526001600160a01b037f000000000000000000000000655edce464cc797526600a462a8154650eee4b771690634cb6864c906104f1908e908d908d908d908d908d908d908d90600401611810565b600060405180830381600087803b15801561050b57600080fd5b505af115801561051f573d6000803e3d6000fd5b505050506105d0565b6040517f2b651a6c0000000000000000000000000000000000000000000000000000000081526001600160a01b037f000000000000000000000000655edce464cc797526600a462a8154650eee4b771690632b651a6c9061059d908e908e908e908e908e908e908e908e908e9060040161186d565b600060405180830381600087803b1580156105b757600080fd5b505af11580156105cb573d6000803e3d6000fd5b505050505b6105da6001600055565b5050505050505050505050565b6105ef610f06565b7f000000000000000000000000655edce464cc797526600a462a8154650eee4b776001600160a01b0316866001600160a01b03160361065a576040517fb8db38b400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040516370a0823160e01b81523360048201526000906001600160a01b038816906370a0823190602401602060405180830381865afa1580156106a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c591906117ce565b90506106dc6001600160a01b03881633308461111a565b6040517f368dfc18000000000000000000000000000000000000000000000000000000008152600481018290526001600160a01b0388169063368dfc1890602401600060405180830381600087803b15801561073757600080fd5b505af115801561074b573d6000803e3d6000fd5b505050506000876001600160a01b0316631b6a87596040518163ffffffff1660e01b8152600401602060405180830381865afa15801561078f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b391906117ce565b905060005b8181101561099c576040516349548d1d60e11b8152600481018290526000906001600160a01b038b16906392a91a3a90602401602060405180830381865afa158015610808573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082c9190611732565b6040516370a0823160e01b81523060048201529091506000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610876573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089a91906117ce565b6040517f19f373610000000000000000000000000000000000000000000000000000000081526001600160a01b0384811660048301529192506000917f000000000000000000000000655edce464cc797526600a462a8154650eee4b7716906319f3736190602401602060405180830381865afa15801561091f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094391906118d3565b1561096f57507f000000000000000000000000655edce464cc797526600a462a8154650eee4b77610972565b50335b6109866001600160a01b0384168284611084565b5050508080610994906118f5565b9150506107b8565b506040517f5250d7300000000000000000000000000000000000000000000000000000000081526001600160a01b037f000000000000000000000000655edce464cc797526600a462a8154650eee4b771690635250d73090610a0f9030908b908b906000908c908c908c9060040161191c565b600060405180830381600087803b158015610a2957600080fd5b505af1158015610a3d573d6000803e3d6000fd5b5050604051636e553f6560e01b8152600481018890523360248201527f000000000000000000000000d0454428ecd868a9ac615125fcbdb5da9027436e6001600160a01b03169250636e553f6591506044016020604051808303816000875af1158015610aae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad291906117ce565b5060408051838152602081018790526001600160a01b038a169133917f028dee3c1ae0eadf4d6e1f5b675f995e6112156034638863dc9c40629ef0ed51910160405180910390a35050610b256001600055565b505050505050565b610b35610f06565b80151560003415610c19577f000000000000000000000000655edce464cc797526600a462a8154650eee4b776001600160a01b0316635aecdda56040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc29190611732565b9050806001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b158015610bff57600080fd5b505af1158015610c13573d6000803e3d6000fd5b50505050505b6000885b80821015610ddb5760008b8b84818110610c3957610c3961199a565b9050602002013590506000811115610dc8576040516349548d1d60e11b8152600481018490526000907f000000000000000000000000655edce464cc797526600a462a8154650eee4b776001600160a01b0316906392a91a3a90602401602060405180830381865afa158015610cb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd79190611732565b9050858015610d0b57506000888886818110610cf557610cf561199a565b9050602002810190610d0791906119b0565b9050115b15610d3f57610d3f81898987818110610d2657610d2661199a565b9050602002810190610d3891906119b0565b6001610f64565b846001600160a01b0316816001600160a01b031603610d9157610d8c6001600160a01b0382167f000000000000000000000000655edce464cc797526600a462a8154650eee4b7784611084565b610dc6565b610dc66001600160a01b038216337f000000000000000000000000655edce464cc797526600a462a8154650eee4b778561111a565b505b82610dd2816118f5565b93505050610c1d565b7f000000000000000000000000655edce464cc797526600a462a8154650eee4b776001600160a01b0316635250d730308d8d60008e8e8e6040518863ffffffff1660e01b8152600401610e34979695949392919061191c565b600060405180830381600087803b158015610e4e57600080fd5b505af1158015610e62573d6000803e3d6000fd5b5050604051636e553f6560e01b8152600481018c90523360248201527f000000000000000000000000d0454428ecd868a9ac615125fcbdb5da9027436e6001600160a01b03169250636e553f6591506044016020604051808303816000875af1158015610ed3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef791906117ce565b505050505061041d6001600055565b600260005403610f5d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600055565b6000610f7360048285876119f7565b610f7c91611a21565b90506001600160e01b031981167fd505accf000000000000000000000000000000000000000000000000000000001461100457811580610fe657506001600160e01b031981167f8fcbaf0c0000000000000000000000000000000000000000000000000000000014155b156110045760405163ddafbaef60e01b815260040160405180910390fd5b6000856001600160a01b03168585604051611020929190611a51565b6000604051808303816000865af19150503d806000811461105d576040519150601f19603f3d011682016040523d82523d6000602084013e611062565b606091505b5050905080610b255760405163ddafbaef60e01b815260040160405180910390fd5b6040516001600160a01b0383166024820152604481018290526111159084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166001600160e01b031990931692909217909152611171565b505050565b6040516001600160a01b038085166024830152831660448201526064810182905261116b9085907f23b872dd00000000000000000000000000000000000000000000000000000000906084016110c9565b50505050565b60006111c6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166112569092919063ffffffff16565b80519091501561111557808060200190518101906111e491906118d3565b6111155760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610f54565b6060611265848460008561126d565b949350505050565b6060824710156112e55760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610f54565b600080866001600160a01b031685876040516113019190611a85565b60006040518083038185875af1925050503d806000811461133e576040519150601f19603f3d011682016040523d82523d6000602084013e611343565b606091505b50915091506113548783838761135f565b979650505050505050565b606083156113ce5782516000036113c7576001600160a01b0385163b6113c75760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610f54565b5081611265565b61126583838151156113e35781518083602001fd5b8060405162461bcd60e51b8152600401610f549190611aa1565b6001600160a01b038116811461141257600080fd5b50565b8035611420816113fd565b919050565b60006060828403121561143757600080fd5b50919050565b60008083601f84011261144f57600080fd5b50813567ffffffffffffffff81111561146757600080fd5b60208301915083602082850101111561147f57600080fd5b9250929050565b6000806000806000806000610100888a0312156114a257600080fd5b87356114ad816113fd565b96506020880135955060408801359450606088013593506114d18960808a01611425565b925060e088013567ffffffffffffffff8111156114ed57600080fd5b6114f98a828b0161143d565b989b979a50959850939692959293505050565b60008060008060008060008060008060006101608c8e03121561152e57600080fd5b6115388c356113fd565b8b359a5061154960208d01356113fd565b60208c0135995060408c0135985060608c0135975060808c0135965061157160a08d01611415565b95506115808d60c08e01611425565b945067ffffffffffffffff806101208e0135111561159d57600080fd5b6115ae8e6101208f01358f0161143d565b90955093506101408d01358110156115c557600080fd5b506115d78d6101408e01358e0161143d565b81935080925050509295989b509295989b9093969950565b60008083601f84011261160157600080fd5b50813567ffffffffffffffff81111561161957600080fd5b6020830191508360208260051b850101111561147f57600080fd5b60008060008060008060e0878903121561164d57600080fd5b8635611658816113fd565b9550602087013567ffffffffffffffff81111561167457600080fd5b61168089828a016115ef565b90965094505060408701359250606087013591506116a18860808901611425565b90509295509295509295565b600080600080600080600060e0888a0312156116c857600080fd5b873567ffffffffffffffff808211156116e057600080fd5b6116ec8b838c016115ef565b909950975060208a0135965060408a0135955087915061170f8b60608c01611425565b945060c08a013591508082111561172557600080fd5b506114f98a828b016115ef565b60006020828403121561174457600080fd5b815161174f816113fd565b9392505050565b803560ff811680821461176857600080fd5b83525060208181013590830152604090810135910152565b6001600160a01b0388811682528716602082015260408101869052606081018590526080810184905260a0810183905261012081016117c260c0830184611756565b98975050505050505050565b6000602082840312156117e057600080fd5b5051919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60006101206001600160a01b03808c1684528a602085015289604085015288606085015280881660808501525061184a60a0840187611756565b8061010084015261185e81840185876117e7565b9b9a5050505050505050505050565b60006101406001600160a01b03808d168452808c1660208501528a604085015289606085015288608085015280881660a0850152506118af60c0840187611756565b806101208401526118c381840185876117e7565b9c9b505050505050505050505050565b6000602082840312156118e557600080fd5b8151801515811461174f57600080fd5b60006001820161191557634e487b7160e01b600052601160045260246000fd5b5060010190565b60006101006001600160a01b038a1683528060208401528781840152506101207f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff88111561196957600080fd5b8760051b808a8386013760408401889052606084018790526080840186905283010190506117c260a0830184611756565b634e487b7160e01b600052603260045260246000fd5b6000808335601e198436030181126119c757600080fd5b83018035915067ffffffffffffffff8211156119e257600080fd5b60200191503681900382131561147f57600080fd5b60008085851115611a0757600080fd5b83861115611a1457600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015611a495780818660040360031b1b83161692505b505092915050565b8183823760009101908152919050565b60005b83811015611a7c578181015183820152602001611a64565b50506000910152565b60008251611a97818460208701611a61565b9190910192915050565b6020815260008251806020840152611ac0816040850160208701611a61565b601f01601f1916919091016040019291505056fea2646970667358221220558ebe827aa85cb9894be1943a5127263daf3205b4c741d7b277303277a8014f64736f6c63430008130033

Block Age Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Age Amount
View All Withdrawals

Transaction Hash Block Age Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.