RailgunSmartWallet

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x7def29b1 at 16714777
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 9 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
3 additional variables

No balances found for "RailgunSmartWallet"

No transactions found for "RailgunSmartWallet"


Functions
Getter at block 21243329
ZERO_VALUE(view returns (bytes32)
0x0488f89b25bc7011eaf6a5edce71aeafb9fe706faa3c0a5cd9cbe868ae3b9ffc
lastEventBlock(view returns (uint256)
0
merkleRoot(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
nextLeafIndex(view returns (uint256)
0
nftFee(view returns (uint256)
0
owner(view returns (address)
0x0000000000000000000000000000000000000000
shieldFee(view returns (uint120)
0
treasury(view returns (address)
0x0000000000000000000000000000000000000000
treeNumber(view returns (uint256)
0
unshieldFee(view returns (uint120)
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
addVector(uint256 vector
changeFee(uint120 _shieldFeeuint120 _unshieldFeeuint256 _nftFee
changeTreasury(address _treasury
checkSafetyVectors(
initializeRailgunLogic(address _treasuryuint120 _shieldFeeuint120 _unshieldFeeuint256 _nftFeeaddress _owner
removeFromBlocklist(address[] _tokens
removeVector(uint256 vector
renounceOwnership(
setVerificationKey(uint256 _nullifiersuint256 _commitmentsstruct VerifyingKey _verifyingKey
shield(struct ShieldRequest[] _shieldRequests
transact(struct Transaction[] _transactions
transferOwnership(address newOwner
Events
AddToBlocklist(address indexed token
FeeChange(uint256 shieldFeeuint256 unshieldFeeuint256 nftFee
Initialized(uint8 version
Nullified(uint16 treeNumberbytes32[] nullifier
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RemoveFromBlocklist(address indexed token
Shield(uint256 treeNumberuint256 startPositionstruct CommitmentPreimage[] commitmentsstruct ShieldCiphertext[] shieldCiphertextuint256[] fees
Transact(uint256 treeNumberuint256 startPositionbytes32[] hashstruct CommitmentCiphertext[] ciphertext
TreasuryChange(address treasury
Unshield(address tostruct TokenData tokenuint256 amountuint256 fee
VerifyingKeySet(uint256 nullifiersuint256 commitmentsstruct VerifyingKey verifyingKey
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.