ETH Price: $2,668.71 (-1.19%)

Contract

0xFa70Af4AF0Cc7cC4d767Ac6808C7E56375844D71
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Transaction Hash
Method
Block
Age
From
To
Withdraw218582632025-02-16 10:08:1114 hrs ago1739700491IN
0xFa70Af4A...375844D71
0 ETH0.000076851.20521216
Withdraw218582632025-02-16 10:08:1114 hrs ago1739700491IN
0xFa70Af4A...375844D71
0 ETH0.000076851.20521216
Withdraw218568412025-02-16 5:21:1119 hrs ago1739683271IN
0xFa70Af4A...375844D71
0 ETH0.000041040.63612766
Withdraw218551742025-02-15 23:44:4725 hrs ago1739663087IN
0xFa70Af4A...375844D71
0 ETH0.000140331.68274386
Withdraw218513012025-02-15 10:41:5938 hrs ago1739616119IN
0xFa70Af4A...375844D71
0 ETH0.000085181.33590713
Withdraw218508172025-02-15 9:04:2340 hrs ago1739610263IN
0xFa70Af4A...375844D71
0 ETH0.000077261.2
Withdraw218502402025-02-15 7:07:2341 hrs ago1739603243IN
0xFa70Af4A...375844D71
0 ETH0.000065990.9
Withdraw218492562025-02-15 3:49:3545 hrs ago1739591375IN
0xFa70Af4A...375844D71
0 ETH0.000120811.22065118
Withdraw218486952025-02-15 1:56:1147 hrs ago1739584571IN
0xFa70Af4A...375844D71
0 ETH0.000070141.1
Withdraw218472492025-02-14 21:03:112 days ago1739566991IN
0xFa70Af4A...375844D71
0 ETH0.000108192.3
Migrate218472462025-02-14 21:02:352 days ago1739566955IN
0xFa70Af4A...375844D71
0 ETH0.001129061.64700816
Withdraw218472452025-02-14 21:02:232 days ago1739566943IN
0xFa70Af4A...375844D71
0 ETH0.000123632.3
Migrate218456962025-02-14 15:48:592 days ago1739548139IN
0xFa70Af4A...375844D71
0 ETH0.001054691.83833172
Withdraw218435252025-02-14 8:30:592 days ago1739521859IN
0xFa70Af4A...375844D71
0 ETH0.00027493.87862234
Withdraw218417962025-02-14 2:42:352 days ago1739500955IN
0xFa70Af4A...375844D71
0 ETH0.000088641.37399153
Migrate218362762025-02-13 8:09:353 days ago1739434175IN
0xFa70Af4A...375844D71
0 ETH0.001181751.70121752
Withdraw218319962025-02-12 17:48:354 days ago1739382515IN
0xFa70Af4A...375844D71
0 ETH0.000261574.1012964
Migrate218299112025-02-12 10:48:114 days ago1739357291IN
0xFa70Af4A...375844D71
0 ETH0.000928521.33667837
Withdraw218281932025-02-12 4:58:114 days ago1739336291IN
0xFa70Af4A...375844D71
0 ETH0.000080741.26654977
Withdraw218265792025-02-11 23:31:355 days ago1739316695IN
0xFa70Af4A...375844D71
0 ETH0.000085161.32024588
Withdraw218247322025-02-11 17:20:475 days ago1739294447IN
0xFa70Af4A...375844D71
0 ETH0.000108461.70137828
Withdraw218233572025-02-11 12:43:355 days ago1739277815IN
0xFa70Af4A...375844D71
0 ETH0.000102451.60704177
Withdraw218232662025-02-11 12:24:595 days ago1739276699IN
0xFa70Af4A...375844D71
0 ETH0.000106521.67055363
Withdraw218166032025-02-10 14:05:356 days ago1739196335IN
0xFa70Af4A...375844D71
0 ETH0.000133792.07735843
Withdraw218108082025-02-09 18:40:357 days ago1739126435IN
0xFa70Af4A...375844D71
0 ETH0.000086361.34821704
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
Age
From
To
216046702025-01-11 23:57:5936 days ago1736639879
0xFa70Af4A...375844D71
0.001 ETH
215687342025-01-06 23:33:5941 days ago1736206439
0xFa70Af4A...375844D71
0.012 ETH
215593022025-01-05 15:54:2342 days ago1736092463
0xFa70Af4A...375844D71
0.0019 ETH
215368052025-01-02 12:32:3545 days ago1735821155
0xFa70Af4A...375844D71
0.005 ETH
215093762024-12-29 16:39:2349 days ago1735490363
0xFa70Af4A...375844D71
0.0086 ETH
214571822024-12-22 9:36:2356 days ago1734860183
0xFa70Af4A...375844D71
0.085 ETH
214569312024-12-22 8:45:3556 days ago1734857135
0xFa70Af4A...375844D71
0.03 ETH
214514552024-12-21 14:23:1157 days ago1734790991
0xFa70Af4A...375844D71
0.1 ETH
214466492024-12-20 22:14:3558 days ago1734732875
0xFa70Af4A...375844D71
0.00453907 ETH
214364462024-12-19 12:04:1159 days ago1734609851
0xFa70Af4A...375844D71
0.0006 ETH
214284512024-12-18 9:13:5960 days ago1734513239
0xFa70Af4A...375844D71
0.06 ETH
214281292024-12-18 8:08:4760 days ago1734509327
0xFa70Af4A...375844D71
0.01 ETH
214154142024-12-16 13:35:3562 days ago1734356135
0xFa70Af4A...375844D71
0.01 ETH
214086062024-12-15 14:46:3563 days ago1734273995
0xFa70Af4A...375844D71
0.01584439 ETH
213839662024-12-12 4:14:2366 days ago1733976863
0xFa70Af4A...375844D71
0.0225747 ETH
213589892024-12-08 16:32:3570 days ago1733675555
0xFa70Af4A...375844D71
1 ETH
213363582024-12-05 12:40:5973 days ago1733402459
0xFa70Af4A...375844D71
0.01314548 ETH
213149342024-12-02 12:50:2376 days ago1733143823
0xFa70Af4A...375844D71
0.00222115 ETH
213056162024-12-01 5:37:4777 days ago1733031467
0xFa70Af4A...375844D71
0.01 ETH
212735642024-11-26 17:57:4782 days ago1732643867
0xFa70Af4A...375844D71
10 ETH
212168162024-11-18 19:52:4790 days ago1731959567
0xFa70Af4A...375844D71
0.0165 ETH
211530682024-11-09 22:25:1199 days ago1731191111
0xFa70Af4A...375844D71
0.05 ETH
211528722024-11-09 21:45:5999 days ago1731188759
0xFa70Af4A...375844D71
0.0015 ETH
211427242024-11-08 11:48:23100 days ago1731066503
0xFa70Af4A...375844D71
0.02 ETH
211424102024-11-08 10:45:23100 days ago1731062723
0xFa70Af4A...375844D71
0.11 ETH
View All Internal Transactions
Loading...
Loading

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

Contract Name:
ZtakingPool

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 24 : FormStakingPool.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
pragma solidity 0.8.24;
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import {Ownable2Step} from "@openzeppelin/contracts/access/Ownable2Step.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {SignatureChecker} from "@openzeppelin/contracts/utils/cryptography/SignatureChecker.sol";
import {Pausable} from "@openzeppelin/contracts/utils/Pausable.sol";
import {EIP712} from "@openzeppelin/contracts/utils/cryptography/EIP712.sol";
import {Nonces} from "@openzeppelin/contracts/utils/Nonces.sol";
import "./interface/IWETH.sol";
import "./interface/IMigrator.sol";
import "./interface/IFormStakingPool.sol";
/// @title Ztaking Pool
/// @notice A staking pool for liquid restaking token holders which rewards stakers with points from multiple platforms
contract ZtakingPool is IZtakingPool, Ownable2Step, Pausable, EIP712, Nonces {
using SafeERC20 for IERC20;
bytes32 private constant MIGRATE_TYPEHASH =
keccak256(
"Migrate(address user,address migratorContract,address destination,address[] tokens,uint256 signatureExpiry,uint256 nonce)"
);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 2 of 24 : Ownable.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 v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
import {Context} from "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* The initial owner is set to the address provided by the deployer. This can
* later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 3 of 24 : Ownable2Step.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 v5.0.0) (access/Ownable2Step.sol)
pragma solidity ^0.8.20;
import {Ownable} from "./Ownable.sol";
/**
* @dev Contract module which provides access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* The initial owner is specified at deployment time in the constructor for `Ownable`. This
* can later be changed with {transferOwnership} and {acceptOwnership}.
*
* This module is used through inheritance. It will make available all functions
* from parent (Ownable).
*/
abstract contract Ownable2Step is Ownable {
address private _pendingOwner;
event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner);
/**
* @dev Returns the address of the pending owner.
*/
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 4 of 24 : IERC1271.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC1271.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC1271 standard signature validation method for
* contracts as defined in https://eips.ethereum.org/EIPS/eip-1271[ERC-1271].
*/
interface IERC1271 {
/**
* @dev Should return whether the signature provided is valid for the provided data
* @param hash Hash of the data to be signed
* @param signature Signature byte array associated with _data
*/
function isValidSignature(bytes32 hash, bytes memory signature) external view returns (bytes4 magicValue);
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 5 of 24 : IERC5267.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 v5.0.0) (interfaces/IERC5267.sol)
pragma solidity ^0.8.20;
interface IERC5267 {
/**
* @dev MAY be emitted to signal that the domain could have changed.
*/
event EIP712DomainChanged();
/**
* @dev returns the fields and values that describe the domain separator used by this contract for EIP-712
* signature.
*/
function eip712Domain()
external
view
returns (
bytes1 fields,
string memory name,
string memory version,
uint256 chainId,
address verifyingContract,
bytes32 salt,
uint256[] memory extensions
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 6 of 24 : 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 (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol)
pragma solidity ^0.8.20;
/**
* @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.
*
* ==== Security Considerations
*
* There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
* expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
* considered as an intention to spend the allowance in any specific way. The second is that because permits have
* built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
* take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
* generally recommended is:
*
* ```solidity
* function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
* try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
* doThing(..., value);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 7 of 24 : 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 v5.0.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.20;
/**
* @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 value of tokens in existence.
*/
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 8 of 24 : 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 v5.0.0) (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.20;
import {IERC20} from "../IERC20.sol";
import {IERC20Permit} from "../extensions/IERC20Permit.sol";
import {Address} from "../../../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;
/**
* @dev An operation with an ERC20 token failed.
*/
error SafeERC20FailedOperation(address token);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 9 of 24 : 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 v5.0.0) (utils/Address.sol)
pragma solidity ^0.8.20;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev The ETH balance of the account is not enough to perform the operation.
*/
error AddressInsufficientBalance(address account);
/**
* @dev There's no code at `target` (it is not a contract).
*/
error AddressEmptyCode(address target);
/**
* @dev A call to an address target failed. The target may have reverted.
*/
error FailedInnerCall();
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 10 of 24 : 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
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 11 of 24 : 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 v5.0.0) (utils/cryptography/ECDSA.sol)
pragma solidity ^0.8.20;
/**
* @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
}
/**
* @dev The signature derives the `address(0)`.
*/
error ECDSAInvalidSignature();
/**
* @dev The signature has an invalid length.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 12 of 24 : EIP712.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 v5.0.0) (utils/cryptography/EIP712.sol)
pragma solidity ^0.8.20;
import {MessageHashUtils} from "./MessageHashUtils.sol";
import {ShortStrings, ShortString} from "../ShortStrings.sol";
import {IERC5267} from "../../interfaces/IERC5267.sol";
/**
* @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
*
* The encoding scheme specified in the EIP requires a domain separator and a hash of the typed structured data, whose
* encoding is very generic and therefore its implementation in Solidity is not feasible, thus this contract
* does not implement the encoding itself. Protocols need to implement the type-specific encoding they need in order to
* produce the hash of their typed data using a combination of `abi.encode` and `keccak256`.
*
* This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
* scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
* ({_hashTypedDataV4}).
*
* The implementation of the domain separator was designed to be as efficient as possible while still properly updating
* the chain id to protect against replay attacks on an eventual fork of the chain.
*
* NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
* https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 13 of 24 : MessageHashUtils.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 v5.0.0) (utils/cryptography/MessageHashUtils.sol)
pragma solidity ^0.8.20;
import {Strings} from "../Strings.sol";
/**
* @dev Signature message hash utilities for producing digests to be consumed by {ECDSA} recovery or signing.
*
* The library provides methods for generating a hash of a message that conforms to the
* https://eips.ethereum.org/EIPS/eip-191[EIP 191] and https://eips.ethereum.org/EIPS/eip-712[EIP 712]
* specifications.
*/
library MessageHashUtils {
/**
* @dev Returns the keccak256 digest of an EIP-191 signed data with version
* `0x45` (`personal_sign` messages).
*
* The digest is calculated by prefixing a bytes32 `messageHash` with
* `"\x19Ethereum Signed Message:\n32"` and hashing the result. It corresponds with the
* hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method.
*
* NOTE: The `messageHash` parameter is intended to be the result of hashing a raw message with
* keccak256, although any bytes32 value can be safely used because the final digest will
* be re-hashed.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 14 of 24 : SignatureChecker.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 v5.0.0) (utils/cryptography/SignatureChecker.sol)
pragma solidity ^0.8.20;
import {ECDSA} from "./ECDSA.sol";
import {IERC1271} from "../../interfaces/IERC1271.sol";
/**
* @dev Signature verification helper that can be used instead of `ECDSA.recover` to seamlessly support both ECDSA
* signatures from externally owned accounts (EOAs) as well as ERC1271 signatures from smart contract wallets like
* Argent and Safe Wallet (previously Gnosis Safe).
*/
library SignatureChecker {
/**
* @dev Checks if a signature is valid for a given signer and data hash. If the signer is a smart contract, the
* signature is validated against that smart contract using ERC1271, otherwise it's validated using `ECDSA.recover`.
*
* NOTE: Unlike ECDSA signatures, contract signatures are revocable, and the outcome of this function can thus
* change through time. It could return true at block N and false at block N+1 (or the opposite).
*/
function isValidSignatureNow(address signer, bytes32 hash, bytes memory signature) internal view returns (bool) {
(address recovered, ECDSA.RecoverError error, ) = ECDSA.tryRecover(hash, signature);
return
(error == ECDSA.RecoverError.NoError && recovered == signer) ||
isValidERC1271SignatureNow(signer, hash, signature);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 15 of 24 : 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 v5.0.0) (utils/math/Math.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library Math {
/**
* @dev Muldiv operation overflow.
*/
error MathOverflowedMulDiv();
enum Rounding {
Floor, // Toward negative infinity
Ceil, // Toward positive infinity
Trunc, // Toward zero
Expand // Away from zero
}
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 16 of 24 : SignedMath.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 v5.0.0) (utils/math/SignedMath.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard signed math utilities missing in the Solidity language.
*/
library SignedMath {
/**
* @dev Returns the largest of two signed numbers.
*/
function max(int256 a, int256 b) internal pure returns (int256) {
return a > b ? a : b;
}
/**
* @dev Returns the smallest of two signed numbers.
*/
function min(int256 a, int256 b) internal pure returns (int256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two signed numbers without overflow.
* The result is rounded towards zero.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 17 of 24 : Nonces.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 v5.0.0) (utils/Nonces.sol)
pragma solidity ^0.8.20;
/**
* @dev Provides tracking nonces for addresses. Nonces will only increment.
*/
abstract contract Nonces {
/**
* @dev The nonce used for an `account` is not the expected current nonce.
*/
error InvalidAccountNonce(address account, uint256 currentNonce);
mapping(address account => uint256) private _nonces;
/**
* @dev Returns the next unused nonce for an address.
*/
function nonces(address owner) public view virtual returns (uint256) {
return _nonces[owner];
}
/**
* @dev Consumes a nonce.
*
* Returns the current value and increments nonce.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 18 of 24 : Pausable.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 v5.0.0) (utils/Pausable.sol)
pragma solidity ^0.8.20;
import {Context} from "../utils/Context.sol";
/**
* @dev Contract module which allows children to implement an emergency stop
* mechanism that can be triggered by an authorized account.
*
* This module is used through inheritance. It will make available the
* modifiers `whenNotPaused` and `whenPaused`, which can be applied to
* the functions of your contract. Note that they will not be pausable by
* simply including this module, only once the modifiers are put in place.
*/
abstract contract Pausable is Context {
bool private _paused;
/**
* @dev Emitted when the pause is triggered by `account`.
*/
event Paused(address account);
/**
* @dev Emitted when the pause is lifted by `account`.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 19 of 24 : ShortStrings.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 v5.0.0) (utils/ShortStrings.sol)
pragma solidity ^0.8.20;
import {StorageSlot} from "./StorageSlot.sol";
// | string | 0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |
// | length | 0x BB |
type ShortString is bytes32;
/**
* @dev This library provides functions to convert short memory strings
* into a `ShortString` type that can be used as an immutable variable.
*
* Strings of arbitrary length can be optimized using this library if
* they are short enough (up to 31 bytes) by packing them with their
* length (1 byte) in a single EVM word (32 bytes). Additionally, a
* fallback mechanism can be used for every other case.
*
* Usage example:
*
* ```solidity
* contract Named {
* using ShortStrings for *;
*
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 20 of 24 : StorageSlot.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 v5.0.0) (utils/StorageSlot.sol)
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.
pragma solidity ^0.8.20;
/**
* @dev Library for reading and writing primitive types to specific storage slots.
*
* Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
* This library helps with reading and writing to such slots without the need for inline assembly.
*
* The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
*
* Example usage to set ERC1967 implementation slot:
* ```solidity
* contract ERC1967 {
* bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
*
* function _getImplementation() internal view returns (address) {
* return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
* }
*
* function _setImplementation(address newImplementation) internal {
* require(newImplementation.code.length > 0);
* StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 21 of 24 : 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 v5.0.0) (utils/Strings.sol)
pragma solidity ^0.8.20;
import {Math} from "./math/Math.sol";
import {SignedMath} from "./math/SignedMath.sol";
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant HEX_DIGITS = "0123456789abcdef";
uint8 private constant ADDRESS_LENGTH = 20;
/**
* @dev The `value` string doesn't fit in the specified `length`.
*/
error StringsInsufficientHexLength(uint256 value, uint256 length);
/**
* @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;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 22 of 24 : IFormStakingPool.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
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.24;
/// @title Ztaking Pool Interface
/// @notice An interface containing externally accessible functions of the ZtakingPool contract
/// @dev The automatically generated public view functions for the state variables and mappings are not included in the interface
interface IZtakingPool {
/*//////////////////////////////////////////////////////////////
Errors
//////////////////////////////////////////////////////////////*/
error SignerCannotBeZeroAddress(); //Thrown when proposed signer is the zero address
error SignerAlreadySetToAddress(); //Thrown when proposed signer is already set
error SignatureInvalid(); // Thrown when the migration signature is invalid
error SignatureExpired(); // Thrown when the migration signature has expired
error TokenCannotBeZeroAddress(); // Thrown when the specified token is the zero address
error WETHCannotBeZeroAddress(); // Thrown when the specified token is the zero address
error TokenAlreadyConfiguredWithState(); //Thrown if the token as already been enabled or disabled
error DepositAmountCannotBeZero(); // Thrown if staker attempts to call deposit() with zero amount
error WithdrawAmountCannotBeZero(); //Thrown if staker attempts to call withdraw() with zero amount
error TokenNotAllowedForStaking(); // Thrown if staker attempts to stake unsupported token (or token disabled for staking)
error UserDoesNotHaveStake(); //Thrown if the staker is attempting to migrate with no stake
error MigratorCannotBeZeroAddress(); //Thrown if the provided migrator is the zero address
error MigratorAlreadyAllowedOrBlocked(); //Thrown if attempting to block a migrator which has already been blocked or attempting to allow a
        migrator which is already allowed
error MigratorBlocked(); //Thrown if the provided migrator contract has been blacklisted.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 23 of 24 : IMigrator.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.24;
/// @title Migrator Interface
/// @notice Interface for the Migrator contract called by the Ztaking Pool's migrate() function
interface IMigrator {
///@notice Function called by the Ztaking Pool to facilitate migration of staked tokens from the Ztaking Pool to Form
///@param _user The address of the user whose staked funds are being migrated to Form
///@param _tokens The tokens being migrated to Form from the Ztaking Pool
///@param _destination The address which will be credited the tokens on Form
///@param _amounts The amounts of each token to be migrated to Form for the _user
function migrate(
address _user,
address[] calldata _tokens,
address _destination,
uint256[] calldata _amounts
) external;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 24 of 24 : IWETH.sol
1
2
3
4
5
6
7
8
9
10
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.24;
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
interface IWETH is IERC20 {
function deposit() external payable;
function withdraw(uint256 wad) external;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_signer","type":"address"},{"internalType":"address[]","name":"_tokensAllowed","type":"address[]"},{"internalType":"address","name":"_weth","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[],"name":"CannotDepositForZeroAddress","type":"error"},{"inputs":[],"name":"CannotRenounceOwnership","type":"error"},{"inputs":[],"name":"DepositAmountCannotBeZero","type":"error"},{"inputs":[],"name":"DuplicateToken","type":"error"},{"inputs":[],"name":"EnforcedPause","type":"error"},{"inputs":[],"name":"ExpectedPause","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"currentNonce","type":"uint256"}],"name":"InvalidAccountNonce","type":"error"},{"inputs":[],"name":"InvalidShortString","type":"error"},{"inputs":[],"name":"MigratorAlreadyAllowedOrBlocked","type":"error"},{"inputs":[],"name":"MigratorBlocked","type":"error"},{"inputs":[],"name":"MigratorCannotBeZeroAddress","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[],"name":"SignatureExpired","type":"error"},{"inputs":[],"name":"SignatureInvalid","type":"error"},{"inputs":[],"name":"SignerAlreadySetToAddress","type":"error"},{"inputs":[],"name":"SignerCannotBeZeroAddress","type":"error"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"StringTooLong","type":"error"},{"inputs":[],"name":"TokenAlreadyConfiguredWithState","type":"error"},{"inputs":[],"name":"TokenArrayCannotBeEmpty","type":"error"},{"inputs":[],"name":"TokenCannotBeZeroAddress","type":"error"},{"inputs":[],"name":"TokenNotAllowedForStaking","type":"error"},{"inputs":[],"name":"UserDoesNotHaveStake","type":"error"},{"inputs":[],"name":"WETHCannotBeZeroAddress","type":"error"},{"inputs":[],"name":"WithdrawAmountCannotBeZero","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"migrator","type":"address"},{"indexed":false,"internalType":"bool","name":"blocked","type":"bool"}],"name":"BlocklistChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"eventId","type":"uint256"},{"indexed":true,"internalType":"address","name":"depositor","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[],"name":"EIP712DomainChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"eventId","type":"uint256"},{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"address[]","name":"tokens","type":"address[]"},{"indexed":false,"internalType":"address","name":"destination","type":"address"},{"indexed":false,"internalType":"address","name":"migrator","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"Migrate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newSigner","type":"address"}],"name":"SignerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"TokenStakabilityChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"eventId","type":"uint256"},{"indexed":true,"internalType":"address","name":"withdrawer","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"balance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_migrator","type":"address"},{"internalType":"bool","name":"_blocklisted","type":"bool"}],"name":"blockMigrator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_for","type":"address"}],"name":"depositETHFor","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_for","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"depositFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"eip712Domain","outputs":[{"internalType":"bytes1","name":"fields","type":"bytes1"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"version","type":"string"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"verifyingContract","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256[]","name":"extensions","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_tokens","type":"address[]"},{"internalType":"address","name":"_migratorContract","type":"address"},{"internalType":"address","name":"_destination","type":"address"},{"internalType":"uint256","name":"_signatureExpiry","type":"uint256"},{"internalType":"bytes","name":"_authorizationSignatureFromZircuit","type":"bytes"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"address[]","name":"_tokens","type":"address[]"},{"internalType":"address","name":"_migratorContract","type":"address"},{"internalType":"address","name":"_destination","type":"address"},{"internalType":"uint256","name":"_signatureExpiry","type":"uint256"},{"internalType":"bytes","name":"_stakerSignature","type":"bytes"}],"name":"migrateWithSig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"migratorBlocklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"bool","name":"_canStake","type":"bool"}],"name":"setStakable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"setZircuitSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenAllowlist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"zircuitSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

Deployed Bytecode

0x6080604052600436106101355760003560e01c8063a5a21fdf116100ab578063e3c342161161006f578063e3c3421614610398578063e63b81a6146103b8578063f03639e3146103d8578063f2fde38b146103f8578063f3fef3a314610418578063f6203e351461043857600080fd5b8063a5a21fdf146102e2578063b203bb9914610302578063b3db428b1461033a578063da3a3a881461035a578063e30c39781461037a57600080fd5b806379ba5097116100fd57806379ba5097146101fe5780637ecebe00146102135780638135369a146102575780638456cb591461028757806384b0196e1461029c5780638da5cb5b146102c457600080fd5b80633f4ba83a1461013a57806344e7cb13146101515780635c975abb1461018e578063715018a6146101b957806379a26cd0146101ce575b600080fd5b34801561014657600080fd5b5061014f61044b565b005b34801561015d57600080fd5b50600954610171906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561019a57600080fd5b50600154600160a01b900460ff165b6040519015158152602001610185565b3480156101c557600080fd5b5061014f610465565b3480156101da57600080fd5b506101a96101e9366004611b61565b60076020526000908152604090205460ff1681565b34801561020a57600080fd5b5061014f61047e565b34801561021f57600080fd5b5061024961022e366004611b61565b6001600160a01b031660009081526004602052604090205490565b604051908152602001610185565b34801561026357600080fd5b506101a9610272366004611b61565b60056020526000908152604090205460ff1681565b34801561029357600080fd5b5061014f6104c7565b3480156102a857600080fd5b506102b16104df565b6040516101859796959493929190611c08565b3480156102d057600080fd5b506000546001600160a01b0316610171565b3480156102ee57600080fd5b5061014f6102fd366004611cda565b610525565b34801561030e57600080fd5b5061024961031d366004611df4565b600660209081526000928352604080842090915290825290205481565b34801561034657600080fd5b5061014f610355366004611e27565b61065e565b34801561036657600080fd5b5061014f610375366004611b61565b610799565b34801561038657600080fd5b506001546001600160a01b0316610171565b3480156103a457600080fd5b5061014f6103b3366004611e63565b61084b565b3480156103c457600080fd5b5061014f6103d3366004611f3c565b610977565b3480156103e457600080fd5b5061014f6103f3366004611f3c565b610a4b565b34801561040457600080fd5b5061014f610413366004611b61565b610b17565b34801561042457600080fd5b5061014f610433366004611f73565b610b88565b61014f610446366004611b61565b610c4e565b610453610e46565b61045b610e73565b610463610e9d565b565b6040516377aeb0ad60e01b815260040160405180910390fd5b60015433906001600160a01b031681146104bb5760405163118cdaa760e01b81526001600160a01b03821660048201526024015b60405180910390fd5b6104c481610ef2565b50565b6104cf610e46565b6104d7610f0b565b610463610f36565b6000606080600080600060606104f3610f79565b6104fb610fab565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b61052d610e46565b60007fe08f530a0e71c7f642d765489160fd44eac817278745c067606534c347d9a2ec8886868a8a604051602001610566929190611f9d565b60405160208183030381529060405280519060200120876105a48e6001600160a01b0316600090815260046020526040902080546001810190915590565b6040805160208101989098526001600160a01b0396871690880152938516606087015293909116608085015260a084015260c083019190915260e082015261010001604051602081830303815290604052805190602001209050600061060982610fd8565b905061061689828561100b565b610633576040516337e8456b60e01b815260040160405180910390fd5b50506000610644888888868961106f565b90506106548885878a8a86611218565b5050505050505050565b610666610f0b565b80600003610687576040516318bb758960e11b815260040160405180910390fd5b6001600160a01b0382166106ad5760405162bbe08560e31b815260040160405180910390fd5b6001600160a01b03831660009081526005602052604090205460ff166106e65760405163072b889f60e11b815260040160405180910390fd5b6001600160a01b0380841660009081526006602090815260408083209386168352929052908120805483929061071d908490611ff3565b92505081905550826001600160a01b0316826001600160a01b031660086000815461074790612006565b91829055506040518481527f2c0f148b435140de488c1b34647f1511c646f7077e87007bacf22ef9977a16d89060200160405180910390a46107946001600160a01b03841633308461149e565b505050565b6107a1610e46565b6001600160a01b0381166107c8576040516367db084560e11b815260040160405180910390fd5b6009546001600160a01b03908116908216036107f75760405163c0af9fdf60e01b815260040160405180910390fd5b600980546001600160a01b0319166001600160a01b0383169081179091556040519081527f5719a5656c5cfdaafa148ecf366fd3b0a7fae06449ce2a46225977fb7417e29d9060200160405180910390a150565b600061085a338989878a61106f565b6040516bffffffffffffffffffffffff19606089811b821660208401526034830188905230901b16605482015246606882015290915060009060880160408051601f198184030181529082905280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000091830191909152603c820152605c0160408051601f198184030181528282528051602091820120600954601f88018390048302850183019093528684529350610941926001600160a01b03909216918491889088908190840183828082843760009201919091525061100b92505050565b61095e576040516337e8456b60e01b815260040160405180910390fd5b61096c3387898c8c87611218565b505050505050505050565b61097f610e46565b6001600160a01b0382166109a657604051635f5d339960e01b815260040160405180910390fd5b6001600160a01b03821660009081526005602052604090205481151560ff9091161515036109e757604051637565bf8f60e11b815260040160405180910390fd5b6001600160a01b038216600081815260056020908152604091829020805460ff19168515159081179091558251938452908301527f303d37f32762627f23f474bb09535b3c1c7cb4f0f75c8960c42512b046ee24a891015b60405180910390a15050565b610a53610e46565b6001600160a01b038216610a7a57604051631a86f04560e01b815260040160405180910390fd5b6001600160a01b03821660009081526007602052604090205481151560ff909116151503610abb57604051631e5a976960e31b815260040160405180910390fd5b6001600160a01b038216600081815260076020908152604091829020805460ff19168515159081179091558251938452908301527f939ba97d9885a19f5539df8bc7d0698b79b1361793009861943fdd98060480339101610a3f565b610b1f610e46565b600180546001600160a01b0383166001600160a01b03199091168117909155610b506000546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b80600003610ba95760405163b8fc0f3b60e01b815260040160405180910390fd5b6001600160a01b038216600090815260066020908152604080832033845290915281208054839290610bdc90849061201f565b9091555050600880546001600160a01b038416913391600090610bfe90612006565b91829055506040518481527ffeb2000dca3e617cd6f3a8bbb63014bb54a124aac6ccbf73ee7229b4cd01f1209060200160405180910390a4610c4a6001600160a01b038316338361150b565b5050565b610c56610f0b565b34600003610c77576040516318bb758960e11b815260040160405180910390fd5b6001600160a01b038116610c9d5760405162bbe08560e31b815260040160405180910390fd5b6001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21660009081526005602052604090205460ff16610cf65760405163072b889f60e11b815260040160405180910390fd5b6001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28116600090815260066020908152604080832093851683529290529081208054349290610d4d908490611ff3565b925050819055507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316816001600160a01b0316600860008154610d9790612006565b91829055506040513481527f2c0f148b435140de488c1b34647f1511c646f7077e87007bacf22ef9977a16d89060200160405180910390a47f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b158015610e2a57600080fd5b505af1158015610e3e573d6000803e3d6000fd5b505050505050565b6000546001600160a01b031633146104635760405163118cdaa760e01b81523360048201526024016104b2565b600154600160a01b900460ff1661046357604051638dfc202b60e01b815260040160405180910390fd5b610ea5610e73565b6001805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600180546001600160a01b03191690556104c48161153c565b600154600160a01b900460ff16156104635760405163d93c066560e01b815260040160405180910390fd5b610f3e610f0b565b6001805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610ed53390565b6060610fa67f5a74616b696e67506f6f6c00000000000000000000000000000000000000000b600261158c565b905090565b6060610fa67f3100000000000000000000000000000000000000000000000000000000000001600361158c565b6000611005610fe5611638565b8360405161190160f01b8152600281019290925260228201526042902090565b92915050565b600080600061101a8585611763565b509092509050600081600381111561103457611034612032565b1480156110525750856001600160a01b0316826001600160a01b0316145b8061106357506110638686866117b0565b925050505b9392505050565b60608360008190036110945760405163e78703a360e01b815260040160405180910390fd5b8067ffffffffffffffff8111156110ad576110ad611cc4565b6040519080825280602002602001820160405280156110d6578160200160208202803683370190505b50915060005b818110156111b357600660008888848181106110fa576110fa612048565b905060200201602081019061110f9190611b61565b6001600160a01b03166001600160a01b031681526020019081526020016000206000896001600160a01b03166001600160a01b031681526020019081526020016000205483828151811061116557611165612048565b60200260200101818152505082818151811061118357611183612048565b60200260200101516000036111ab5760405163a809389f60e01b815260040160405180910390fd5b6001016110dc565b508342106111d457604051630819bdcd60e01b815260040160405180910390fd5b6001600160a01b03831660009081526007602052604090205460ff161561120e57604051639997d66560e01b815260040160405180910390fd5b5095945050505050565b8160005b818110156112f7576006600086868481811061123a5761123a612048565b905060200201602081019061124f9190611b61565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292528120549003611298576040516323271fb560e11b815260040160405180910390fd5b6000600660008787858181106112b0576112b0612048565b90506020020160208101906112c59190611b61565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205560010161121c565b50866001600160a01b031660086000815461131190612006565b9190508190557f8ec7c0970f810f90b2e926cd4ee4f32efff0ef16fb5e08617c11b9fad14dfc0086868a8a8860405161134e95949392919061209a565b60405180910390a360005b8181101561142e5784848281811061137357611373612048565b90506020020160208101906113889190611b61565b6001600160a01b031663095ea7b3878584815181106113a9576113a9612048565b60200260200101516040518363ffffffff1660e01b81526004016113e29291906001600160a01b03929092168252602082015260400190565b6020604051808303816000875af1158015611401573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142591906120e3565b50600101611359565b506040516355e663bf60e11b81526001600160a01b0386169063abccc77e90611463908a90889088908c908990600401612100565b600060405180830381600087803b15801561147d57600080fd5b505af1158015611491573d6000803e3d6000fd5b5050505050505050505050565b6040516001600160a01b0384811660248301528381166044830152606482018390526115059186918216906323b872dd906084015b604051602081830303815290604052915060e01b6020820180516001600160e01b03838183161783525050505061188b565b50505050565b6040516001600160a01b0383811660248301526044820183905261079491859182169063a9059cbb906064016114d3565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b606060ff83146115a65761159f836118ee565b9050611005565b8180546115b29061214a565b80601f01602080910402602001604051908101604052809291908181526020018280546115de9061214a565b801561162b5780601f106116005761010080835404028352916020019161162b565b820191906000526020600020905b81548152906001019060200180831161160e57829003601f168201915b5050505050905092915050565b6000306001600160a01b037f000000000000000000000000fa70af4af0cc7cc4d767ac6808c7e56375844d711614801561169157507f000000000000000000000000000000000000000000000000000000000000000146145b156116bb57507f23a76b543373824a814ef27ee0a08575b8cdef3ad199b7b28c0adad533fa04d690565b610fa6604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527fcf7936818770c7c65596ab2682c0a2826f5f1e1aaa24c0b6acd2ee27ef08e64c918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b6000806000835160410361179d5760208401516040850151606086015160001a61178f8882858561192d565b9550955095505050506117a9565b50508151600091506002905b9250925092565b6000806000856001600160a01b031685856040516024016117d2929190612184565b60408051601f198184030181529181526020820180516001600160e01b0316630b135d3f60e11b1790525161180791906121a5565b600060405180830381855afa9150503d8060008114611842576040519150601f19603f3d011682016040523d82523d6000602084013e611847565b606091505b509150915081801561185b57506020815110155b801561106357508051630b135d3f60e11b9061188090830160209081019084016121c1565b149695505050505050565b60006118a06001600160a01b038416836119fc565b905080516000141580156118c55750808060200190518101906118c391906120e3565b155b1561079457604051635274afe760e01b81526001600160a01b03841660048201526024016104b2565b606060006118fb83611a0a565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b600080807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a084111561196857506000915060039050826119f2565b604080516000808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa1580156119bc573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166119e8575060009250600191508290506119f2565b9250600091508190505b9450945094915050565b606061106883836000611a32565b600060ff8216601f81111561100557604051632cd44ac360e21b815260040160405180910390fd5b606081471015611a575760405163cd78605960e01b81523060048201526024016104b2565b600080856001600160a01b03168486604051611a7391906121a5565b60006040518083038185875af1925050503d8060008114611ab0576040519150601f19603f3d011682016040523d82523d6000602084013e611ab5565b606091505b5091509150611063868383606082611ad557611ad082611b1c565b611068565b8151158015611aec57506001600160a01b0384163b155b15611b1557604051639996b31560e01b81526001600160a01b03851660048201526024016104b2565b5080611068565b805115611b2c5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b0381168114611b5c57600080fd5b919050565b600060208284031215611b7357600080fd5b61106882611b45565b60005b83811015611b97578181015183820152602001611b7f565b50506000910152565b60008151808452611bb8816020860160208601611b7c565b601f01601f19169290920160200192915050565b60008151808452602080850194506020840160005b83811015611bfd57815187529582019590820190600101611be1565b509495945050505050565b60ff60f81b8816815260e060208201526000611c2760e0830189611ba0565b8281036040840152611c398189611ba0565b606084018890526001600160a01b038716608085015260a0840186905283810360c08501529050611c6a8185611bcc565b9a9950505050505050505050565b60008083601f840112611c8a57600080fd5b50813567ffffffffffffffff811115611ca257600080fd5b6020830191508360208260051b8501011115611cbd57600080fd5b9250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080600080600060c0888a031215611cf557600080fd5b611cfe88611b45565b9650602088013567ffffffffffffffff80821115611d1b57600080fd5b611d278b838c01611c78565b9098509650869150611d3b60408b01611b45565b9550611d4960608b01611b45565b945060808a0135935060a08a0135915080821115611d6657600080fd5b818a0191508a601f830112611d7a57600080fd5b813581811115611d8c57611d8c611cc4565b604051601f8201601f19908116603f01168101908382118183101715611db457611db4611cc4565b816040528281528d6020848701011115611dcd57600080fd5b82602086016020830137600060208483010152809550505050505092959891949750929550565b60008060408385031215611e0757600080fd5b611e1083611b45565b9150611e1e60208401611b45565b90509250929050565b600080600060608486031215611e3c57600080fd5b611e4584611b45565b9250611e5360208501611b45565b9150604084013590509250925092565b600080600080600080600060a0888a031215611e7e57600080fd5b873567ffffffffffffffff80821115611e9657600080fd5b611ea28b838c01611c78565b9099509750879150611eb660208b01611b45565b9650611ec460408b01611b45565b955060608a0135945060808a0135915080821115611ee157600080fd5b818a0191508a601f830112611ef557600080fd5b813581811115611f0457600080fd5b8b6020828501011115611f1657600080fd5b60208301945080935050505092959891949750929550565b80151581146104c457600080fd5b60008060408385031215611f4f57600080fd5b611f5883611b45565b91506020830135611f6881611f2e565b809150509250929050565b60008060408385031215611f8657600080fd5b611f8f83611b45565b946020939093013593505050565b60008184825b85811015611fd2576001600160a01b03611fbc83611b45565b1683526020928301929190910190600101611fa3565b509095945050505050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561100557611005611fdd565b60006001820161201857612018611fdd565b5060010190565b8181038181111561100557611005611fdd565b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b8183526000602080850194508260005b85811015611bfd576001600160a01b0361208783611b45565b168752958201959082019060010161206e565b6080815260006120ae60808301878961205e565b6001600160a01b0386811660208501528516604084015282810360608401526120d78185611bcc565b98975050505050505050565b6000602082840312156120f557600080fd5b815161106881611f2e565b600060018060a01b0380881683526080602084015261212360808401878961205e565b8186166040850152838103606085015261213d8186611bcc565b9998505050505050505050565b600181811c9082168061215e57607f821691505b60208210810361217e57634e487b7160e01b600052602260045260246000fd5b50919050565b82815260406020820152600061219d6040830184611ba0565b949350505050565b600082516121b7818460208701611b7c565b9190910192915050565b6000602082840312156121d357600080fd5b505191905056fea26469706673582212207db1c47aca40b17c87e27870f77e73ea6b5e8e77b483b8e39d4750f6e341330364736f6c63430008180033

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
Chain Token Portfolio % Price Amount Value
ETH32.43%$2,824.8313.8869$39,228.08
ETH24.77%$2,762.2610.8464$29,960.6
ETH11.85%$3,166.554.5281$14,338.34
ETH9.78%$2,770.64.2678$11,824.3
ETH3.81%$2,668.711.7262$4,606.77
ETH2.33%$2,663.511.059$2,820.67
ETH1.34%$0.4245933,808.8093$1,617.19
ETH0.93%$11,130.5681$1,130.57
ETH0.85%$2,767.260.3694$1,022.34
ETH0.18%$96,6140.0022552$217.88
ETH0.06%$95,2790.0008$76.22
ETH0.05%$0.000016,078,343.1804$59.26
ETH0.04%$3,187.010.0137$43.81
ETH0.03%$0.000094434,333.6774$41.03
ETH0.02%$2,730.730.00792253$21.63
ETH0.01%$94,521.950.00017339$16.39
ETH0.01%<$0.00000171,950,038.9162$14.3
ETH0.01%$0.99989912.5038$12.5
ETH<0.01%$0.000016584,324.2154$9.36
ETH<0.01%$0.0000015,559,827.2818$4.5
ETH<0.01%$0.00023415,227.8926$3.57
BSC11.49%$1.867,452.9538$13,892.71
BSC<0.01%$0.000004152,016.7871$0.5776
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.