TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 4,586 txns
Unified storage
Map
Table
Raw
Constants and immutables
4Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 15 additional slots
-
variable spans 15 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
0x6f40…ce07
0x40c5…c8fb
9 additional
variables
Balances ($1,405,891.45)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
USDT | ERC-20 | 1.098708M | $1.003 |
$1,102,003.68 | |
DOP | ERC-20 | 86.935945M | $0.00278 |
$241,676.71 | |
WETH | ERC-20 | 23.644647 | $2,549.34 |
$60,278.25 | |
USDC | ERC-20 | 1.629422K | $1.002 |
$1,632.68 | |
MATIC | ERC-20 | 479.77974 | $0.400519 |
$192.16 | |
WBTC | ERC-20 | 0.001685 | $63,314.00 |
$106.7 | |
FLOKI | ERC-20 | 4.180815K | $0.000134 |
$0.56 | |
DAI | ERC-20 | 0.300799 | $1.001 |
$0.3 | |
PEPE | ERC-20 | 32.4675K | $0.000008 |
$0.27 | |
CHZ | ERC-20 | 2.43526 | $0.056484 |
$0.14 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20758316 | 5 days ago | | | 0 | 0.0023438156 | |
| 20757941 | 5 days ago | | | 0 | 0.0060537359 | |
| 20757787 | 5 days ago | | | 0 | 0.0019466875 | |
| 20756969 | 5 days ago | | | 0 | 0.0019460795 | |
| 20756409 | 5 days ago | | | 0 | 0.0018387307 | |
| 20756294 | 5 days ago | | | 0 | 0.0023453632 | |
| 20752909 | 6 days ago | | | 0 | 0.00081427065 | |
| 20749314 | 6 days ago | | | 0 | 0.0020934521 | |
| 20749305 | 6 days ago | | | 0 | 0.0023148782 | |
| 20733945 | 8 days ago | | | 0 | 0.0012857963 |
ABI
ABI objects
Getter at block 20792452
ZERO_VALUE() view returns (bytes32)
0x144837c570fc50b57f62843651aeb967b68f126ea75a7de09db13ddf6cd2f289
decryptEnabled() view returns (bool)
true
decryptFeeBps() view returns (uint120)
10
dopToken() view returns (address)
0x97a9a15168c22b3c137e6381037e1499c8ad0978
encryptFeeBps() view returns (uint120)
10
lastEventBlock() view returns (uint256)
20758316
merkleRoot() view returns (bytes32)
0x081e991d36d00d86d4760710021d207c3ee9f0d2854f2e8699e28a046474994f
nextLeafIndex() view returns (uint256)
3904
owner() view returns (address)
0x2aa82a0eec78184b6089643fef2f11c2595f46e5
protection() view returns (address)
0x40c57923924b5c5c5455c48d93317139addac8fb
transferFee() view returns (uint120)
0
treasury() view returns (address)
0x6f40850f98c47379be1e9199f24da566a0aece07
treeNumber() view returns (uint256)
0
Read-only
getFee(uint136 amount, bool isInclusive, uint120 feeBP) pure returns (uint120, uint120)
getInsertionTreeNumberAndStartingIndex(uint256 newCommitments) view returns (uint256, uint256)
getTokenID(struct TokenData tokenData) pure returns (bytes32)
getVerificationKey(uint256 nullifiers, uint256 commitments) view returns (struct VerifyingKey)
hashBoundParams(struct BoundParams boundParams) pure returns (uint256)
hashCommitment(struct CommitmentPreimage commitmentPreimage) pure returns (bytes32)
hashLeftRight(bytes32 left, bytes32 right) pure returns (bytes32)
nullifiers(uint256, bytes32) view returns (bool)
rootHistory(uint256, bytes32) view returns (bool)
snarkSafetyVector(uint256) view returns (bool)
sumCommitments(struct Transaction[] transactions) pure returns (uint256)
tokenBlocklist(address) view returns (bool)
tokenIDMapping(bytes32) view returns (uint8 tokenType, address tokenAddress, uint256 tokenSubID)
validateCommitmentPreimage(struct CommitmentPreimage note) view returns (bool, string)
validateTransaction(struct Transaction transaction) view returns (bool, string)
verify(struct Transaction transaction) view returns (bool)
verifyProof(struct VerifyingKey verifyingKey, struct SnarkProof proof, uint256[] inputs) view returns (bool)
zeros(uint256) view returns (bytes32)
State-modifying
Events addToBlocklist(address[] tokens)
changeFee(uint120 newEncryptFeeBps, uint120 newTransferFee, uint120 newDecryptFeeBps)
changeProtection(address newProtection)
changeTreasury(address newTreasury)
checkSafetyVectors()
encrypt(struct EncryptRequest[] encryptRequests)
initializeDOPLogic(address initTreasury, address initProtection, uint120 initEncryptFee, uint120 initTransferFee, uint120 initDecryptFee, address owner)
removeFromBlocklist(address[] tokens)
renounceOwnership()
setVerificationKey(uint256 nullifiers, uint256 commitments, struct VerifyingKey verifyingKey)
startDecrypt()
transact(struct Transaction[] transactions)
transferOwnership(address newOwner)
updateVector(uint256 vector, bool state)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
AddToBlocklist(address indexed token)
Decrypt(address to, struct TokenData token, uint256 amount, uint256 fee)
DecryptEnabled()
Encrypt(uint256 treeNumber, uint256 startPosition, struct CommitmentPreimage[] commitments, struct EncryptCiphertext[] encryptCiphertext, uint256[] fees)
FeeChange(uint256 encryptFeeBps, uint256 transferFee, uint256 decryptFeeBps)
Initialized(uint8 version)
Nullified(uint16 treeNumber, bytes32[] nullifier)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
ProtectionChange(address indexed protection)
RemoveFromBlocklist(address indexed token)
Transact(uint256 treeNumber, uint256 startPosition, bytes32[] hash, struct CommitmentCiphertext[] ciphertext)
TreasuryChange(address treasury)
VectorAdded(uint256 vector, bool state)
VectorRemoved(uint256 vector, bool state)
VerifyingKeySet(uint256 nullifiers, uint256 commitments, struct VerifyingKey verifyingKey)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
DecryptAlreadyEnabled()
DecryptDisabled()
ERC20TokenTransferFailed()
ERC721TokenTransferFailed()
IdenticalValue()
InvalidAddition()
InvalidAddress()
InvalidCommitment(string reason)
InvalidDecrypt(string reason)
InvalidDecryptFee()
InvalidEncryptFee()
InvalidFeeAmount()
InvalidInput()
InvalidMultiplication()
InvalidNegation()
InvalidPairing()
InvalidTransaction(string reason)
InvalidTransactionData()
InvalidTransferFee()
KeyNotSet()
NoteAlreadySpent()
UnsafeVectors()
UnsupportedToken()