DOPSmartWallet
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
8
Slot
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
5 additional
variables
Balances ($0.00)
No balances found for "DOPSmartWallet"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "DOPSmartWallet"
ABI
ABI objects
Getter at block 20792452
ZERO_VALUE() view returns (bytes32)
0x144837c570fc50b57f62843651aeb967b68f126ea75a7de09db13ddf6cd2f289
decryptEnabled() view returns (bool)
false
decryptFeeBps() view returns (uint120)
0
dopToken() view returns (address)
0x97a9a15168c22b3c137e6381037e1499c8ad0978
encryptFeeBps() view returns (uint120)
0
lastEventBlock() view returns (uint256)
0
merkleRoot() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
nextLeafIndex() view returns (uint256)
0
owner() view returns (address)
0x0000000000000000000000000000000000000000
protection() view returns (address)
0x0000000000000000000000000000000000000000
transferFee() view returns (uint120)
0
treasury() view returns (address)
0x0000000000000000000000000000000000000000
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)
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 initToken)
This contract contains no fallback and receive objects.
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()