RailgunSmartWallet
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
6
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 9 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
3 additional
variables
Balances ($0.00)
No balances found for "RailgunSmartWallet"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "RailgunSmartWallet"
ABI
ABI objects
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 _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)
addVector(uint256 vector)
changeFee(uint120 _shieldFee, uint120 _unshieldFee, uint256 _nftFee)
changeTreasury(address _treasury)
checkSafetyVectors()
initializeRailgunLogic(address _treasury, uint120 _shieldFee, uint120 _unshieldFee, uint256 _nftFee, address _owner)
removeFromBlocklist(address[] _tokens)
removeVector(uint256 vector)
renounceOwnership()
setVerificationKey(uint256 _nullifiers, uint256 _commitments, struct VerifyingKey _verifyingKey)
shield(struct ShieldRequest[] _shieldRequests)
transact(struct Transaction[] _transactions)
transferOwnership(address newOwner)
AddToBlocklist(address indexed token)
FeeChange(uint256 shieldFee, uint256 unshieldFee, uint256 nftFee)
Initialized(uint8 version)
Nullified(uint16 treeNumber, bytes32[] nullifier)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
RemoveFromBlocklist(address indexed token)
Shield(uint256 treeNumber, uint256 startPosition, struct CommitmentPreimage[] commitments, struct ShieldCiphertext[] shieldCiphertext, uint256[] fees)
Transact(uint256 treeNumber, uint256 startPosition, bytes32[] hash, struct CommitmentCiphertext[] ciphertext)
TreasuryChange(address treasury)
Unshield(address to, struct TokenData token, uint256 amount, uint256 fee)
VerifyingKeySet(uint256 nullifiers, uint256 commitments, struct VerifyingKey verifyingKey)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.