Skip to content
Docs / Parameters

Lookup

Every constant and default in one place

Values hard-wired into the contracts and circuit, the parameters proposed for deployment, and the defaults of the bundler and the harvester.


On this page

Contracts

NameContractValue
TREE_DEPTHOrdeoShroud24
ROOT_HISTORYOrdeoShroud100
MAX_VALUEOrdeoShroud2^120 - 1
VIRTUAL_SHARESOrdeoShroud1,000,000 (plus 1 virtual token)
MAX_NOTE_BYTESOrdeoShroud512
MAX_FEE_BPSOrdeoShroud500 (5%)
FIELD_SIZEOrdeoShroud, OrdeoKeyLedger21888242871839275222246405745257275088548364400416034343698204186575808495617
BPS / TEAM_BPSOrdeoYieldSplit10,000 / 5,000
SALE_MAGICOrdeoTradeDesk"ORDEO-SALE-v1" as bytes16
Sale terms lengthOrdeoTradeDesk176 bytes (16 + 5 × 32)

Proposed deploy parameters

ParameterProposedCeiling
shieldFeeBps10 (0.10%)500
transferFeeBps10 (0.10% of value sent to another key)500
unshieldFeeEth0.0001 ETH2^120 - 1
unshieldFeeToken10 ORDEO2^120 - 1

The owner confirms these before deploying. After deployment they cannot change.

Circuit and proving

ItemValue
Inputs / outputs2 / 2
Public inputs10 (verifier reads 18 words including pairing points)
Value bits / fee bps bits120 / 14
Circuit size2^16
SRS points served2^17 (Aztec Ignition)
Noir1.0.0-beta.22
Barretenberg5.0.0-nightly.20260522, UltraHonk, keccak transcript, ZK

Keys and encryption

ItemValue
Message formatEIP-4361 (Sign-In with Ethereum)
Domain / chain idordeo.tech / 4663
Nonceordeonotekeys1
Issued At2026-10-07T00:00:00.000Z
HKDF saltordeo-note-keys-v1
HKDF infospend (48 bytes) and view (32 bytes)
Passphrase stretchingPBKDF2-SHA256, 200,000 rounds, salt r || s
Note encryptionx25519 + HKDF-SHA256 (info ordeo-note) + ChaCha20-Poly1305
Plaintext / ciphertext65 / 114 bytes
Private addressordeo: + 64 hex (pk) + 64 hex (view key)

Bundler defaults

SettingDefault
BUNDLER_FEE_TOKENS25 ORDEO floor
BUNDLER_FEE_ETH_WEI0.0002 ETH floor
BUNDLER_GAS_MARGIN_PCT + BUNDLER_REVERT_ALLOWANCE_PCT160 + 10 (170% of gas cost)
Typical gas quoted on /info4,700,000
BUNDLER_MAX_GAS6,000,000
BUNDLER_MAX_PENDING3
BUNDLER_MIN_BALANCE_WEI0.002 ETH
BUNDLER_PER_IP_PER_MIN6 (96 per /24 or /48)
BUNDLER_MAX_PER_MIN30
BUNDLER_MAX_REVERT_WEI_PER_HOUR0.01 ETH; pause 5 min, doubling to 1 h
Reverts before a one-hour back-off2 per address, 6 per wider network
Sale deadline slack60 seconds
Request body limit64 KiB
BUNDLER_RECYCLE / BUNDLER_RECYCLE_MIN_TOKENSdonate / 5,000 ORDEO, checked every 30 minutes
BUNDLER_SAMPLE_MS / BUNDLER_PROBE_WEI5 minutes / 0.01 ETH
BUNDLER_CHAIN_ID / BUNDLER_PORT4663 / 8080

Harvester defaults

SettingDefault
HARVEST_EVERY_MS / HARVEST_JITTER_PCT4 hours / ±40%
HARVEST_BATCH_WEI / HARVEST_MAX_BATCHES0.02 ETH / 5
Gap between batchesAbout 90 seconds, ±60%
HARVEST_SLIPPAGE_BPS150 (minimum = reference less 1.5%)
HARVEST_MAX_DEVIATION_BPS300 (skip when 3% dearer than the reference)
HARVEST_RESERVE_WEI0.003 ETH kept for its own gas
BUNDLER_LOW_WEI / BUNDLER_TARGET_WEI0.005 ETH / 0.02 ETH
HARVEST_SAMPLE_MS / HARVEST_PROBE_WEI5 minutes / 0.01 ETH

Price reference

SettingValue
Window6 hours
Minimum samples12
Newest samples ignoredLast 60 seconds
Samples merged when closer than4 minutes
Stored samples, at most512
StatisticMedian (lower middle for an even count)