DOPSmartWallet

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x79845226 at 19920005
Slot
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

No balances found for "DOPSmartWallet"

No transactions found for "DOPSmartWallet"


Functions
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 amountbool isInclusiveuint120 feeBPpure returns (uint120uint120)
getInsertionTreeNumberAndStartingIndex(uint256 newCommitmentsview returns (uint256uint256)
getTokenID(struct TokenData tokenDatapure returns (bytes32)
getVerificationKey(uint256 nullifiersuint256 commitmentsview returns (struct VerifyingKey)
hashBoundParams(struct BoundParams boundParamspure returns (uint256)
hashCommitment(struct CommitmentPreimage commitmentPreimagepure returns (bytes32)
hashLeftRight(bytes32 leftbytes32 rightpure returns (bytes32)
nullifiers(uint256bytes32view returns (bool)
rootHistory(uint256bytes32view returns (bool)
snarkSafetyVector(uint256view returns (bool)
sumCommitments(struct Transaction[] transactionspure returns (uint256)
tokenBlocklist(addressview returns (bool)
tokenIDMapping(bytes32view returns (uint8 tokenTypeaddress tokenAddressuint256 tokenSubID)
validateCommitmentPreimage(struct CommitmentPreimage noteview returns (boolstring)
validateTransaction(struct Transaction transactionview returns (boolstring)
verify(struct Transaction transactionview returns (bool)
verifyProof(struct VerifyingKey verifyingKeystruct SnarkProof proofuint256[] inputsview returns (bool)
zeros(uint256view returns (bytes32)
State-modifying
addToBlocklist(address[] tokens
changeFee(uint120 newEncryptFeeBpsuint120 newTransferFeeuint120 newDecryptFeeBps
changeProtection(address newProtection
changeTreasury(address newTreasury
checkSafetyVectors(
encrypt(struct EncryptRequest[] encryptRequests
initializeDOPLogic(address initTreasuryaddress initProtectionuint120 initEncryptFeeuint120 initTransferFeeuint120 initDecryptFeeaddress owner
removeFromBlocklist(address[] tokens
renounceOwnership(
setVerificationKey(uint256 nullifiersuint256 commitmentsstruct VerifyingKey verifyingKey
startDecrypt(
transact(struct Transaction[] transactions
transferOwnership(address newOwner
updateVector(uint256 vectorbool state
Events
AddToBlocklist(address indexed token
Decrypt(address tostruct TokenData tokenuint256 amountuint256 fee
DecryptEnabled(
Encrypt(uint256 treeNumberuint256 startPositionstruct CommitmentPreimage[] commitmentsstruct EncryptCiphertext[] encryptCiphertextuint256[] fees
FeeChange(uint256 encryptFeeBpsuint256 transferFeeuint256 decryptFeeBps
Initialized(uint8 version
Nullified(uint16 treeNumberbytes32[] nullifier
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
ProtectionChange(address indexed protection
RemoveFromBlocklist(address indexed token
Transact(uint256 treeNumberuint256 startPositionbytes32[] hashstruct CommitmentCiphertext[] ciphertext
TreasuryChange(address treasury
VectorAdded(uint256 vectorbool state
VectorRemoved(uint256 vectorbool state
VerifyingKeySet(uint256 nullifiersuint256 commitmentsstruct VerifyingKey verifyingKey
Constructor
constructor(address initToken
Fallback and receive

This contract contains no fallback and receive objects.

Errors
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(