Tornado

Verified contract

Active on Ethereum with 9 txns
Deployed by via 0x3eea9c49 at 11356549
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 99 additional slots
1 additional variable
Native
Value $38.22
0xf3a681a5a10e7958b8d08c39f1e55f0d3c5dba1b148b48bb3ea27b1935ce6192
0xd0e2e274564ac7117643bb4774a81f8c369928fb68d9abc6d8405e0470652c3c
0xa6b539cb19b51214f2d744f6d1e0c46f9c11cf9311f4b7ea0837254300a5b1f4
0x1622923b4792c8f41427e01057bce99c617976a9f50086c112e62d7fc6ba1a8f
0x7d27eef301067d27aa9686cde9288e8155504b297f5c4d1d7b4fc54f1a52b260
0xcee946439f0ad9cf9974438807d350a027804cab58e653f6eeb66bbd1f99b1e8
0x671909d19dfd7c18afbd6f592675cb76ea5e0285c1f6bf40969455ee7cddcbf1
0x3e3e225e978e6a53edd52b7ed6569567f987af2261bfa09e8f95a1ec777a5b6a
0x202c358aff97f69c9db9fcd4301aabacd42716168c7d7b1273b2000f729cf1db

Functions
Getter at block 21306831
FIELD_SIZE(view returns (uint256)
21888242871839275222246405745257275088548364400416034343698204186575808495617
ROOT_HISTORY_SIZE(view returns (uint32)
100
ZERO_VALUE(view returns (uint256)
21663839004416932945382355908790599225266501822907911457504978515578255421292
_1e18(view returns (uint256)
1000000000000000000
baseBonusRate(view returns (uint256)
10
bonusRoundLength(view returns (uint256)
31536000
bonusToken(view returns (address)
0x5425456b917cace9297aa3851944be9887d9bb6c
currentRootIndex(view returns (uint32)
3
denomination(view returns (uint256)
10000000000000000
getCurrentBonusRound(view returns (uint256)
4
getDepositAmount(view returns (uint256)
10013003000000000
getDepositReserve(view returns (uint256)
3000000000000
getLastRoot(view returns (bytes32)
0x29b23ea0940644acc935858190c4fc21c58a9735e995db9d0c26bb7fe50b78fc
 
getReservePool(view returns (uint256)
getWithdrawalAmount(view returns (uint256)
10000000000000000
getWithdrawalReserve(view returns (uint256)
0
growthBonusRate(view returns (uint256)
100
growthPhaseEndTime(view returns (uint256)
1625382000
levels(view returns (uint32)
20
nextIndex(view returns (uint32)
3
operator(view returns (address)
0x770f2b281db359887eb1305a301fd4e5dc5c4759
operatorBonusTokenShare(view returns (uint256)
1000
stakingToken(view returns (address)
0x0000000000000000000000000000000000000000
startTime(view returns (uint256)
1606692574
totalDeposits(view returns (uint256)
3
totalWithdrawals(view returns (uint256)
2
verifier(view returns (address)
0xce172ce1f20ec0b3728c9965470eaf994a03557a
Read-only
bonusPoolByRound(uint256view returns (address creditTokenuint256 bonusCollecteduint256 bonusWithdrawnuint256 bonusRolledOver)
commitments(bytes32view returns (bool)
filledSubtrees(uint256view returns (bytes32)
getBonusRoundBalance(uint256 bonusRoundview returns (uint256)
getBonusRoundEndingTime(uint256 bonusRoundview returns (uint256)
getReserveBondingCurve(uint256 anonSetview returns (uint256)
getStakerCreditsByRound(address stakeruint256 bonusRoundview returns (uint256)
getTotalCreditsByRound(uint256 bonusRoundview returns (uint256)
hashLeftRight(bytes32 _leftbytes32 _rightpure returns (bytes32)
isKnownRoot(bytes32 _rootview returns (bool)
isSpent(bytes32 _nullifierHashview returns (bool)
isSpentArray(bytes32[] _nullifierHashesview returns (bool[] spent)
nullifierHashes(bytes32view returns (bool)
roots(uint256view returns (bytes32)
stakers(addressview returns (uint256 unlockRounduint256 stakingTokenBalance)
zeros(uint256view returns (bytes32)
State-modifying
addToStake(uint256 amount
changeOperator(address _newOperator
deposit(bytes32 _commitmentpayable 
setStakingToken(address _stakingToken
stake(uint256 amount
stakerCollectBonus(uint256 creditsToRedeem
unstake(
withdraw(bytes _proofbytes32 _rootbytes32 _nullifierHashaddress _recipientaddress _relayeruint256 _relayerFeeuint256 _refundpayable 
Events
AddToStake(address indexed stakeruint256 amountToStakeuint256 totalStakeuint256 creditsMinted
CollectBonus(address indexed stakeruint256 creditsToRedeemuint256 bonusCollected
Deposit(bytes32 indexed commitmentuint32 leafIndexuint256 timestamp
Stake(address indexed stakeruint256 amountToStakeuint256 creditsMinted
Unstake(address indexed stakeruint256 amountUnstaked
Withdrawal(address tobytes32 nullifierHashaddress indexed relayeruint256 fee
Constructor
constructor(address _verifieruint256 _denominationuint32 _merkleTreeHeightaddress _operatoruint256 _baseBonusRateuint256 _growthBonusRateuint256 _growthPhaseEndTimeuint256 _bonusRoundLengthuint256 _operatorBonusTokenShare
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.