doc.gno
0.54 Kb · 12 lines
1// Package whitelist holds the pool membership state used by the GnoSwap
2// order whitelist realm.
3//
4// Files:
5// - state.gno: State, a poolPath -> true B+tree with membership updates and queries
6//
7// Each NewState creates an independent whitelist. Pools exposes membership
8// and iteration through a read-only tree, without mutable tree access.
9// This package does not validate pool existence or authorize callers; those
10// checks and the separately managed DCA and Limit states live in
11// gno.land/r/gnoswap/order/whitelist.
12package whitelist