Skip to content
docs

KNOWN_POOL_CODE_HASHES

const KNOWN_POOL_CODE_HASHES: Record<NearNetwork, readonly string[]>

Defined in: protocol-staking-native-near/src/constants.ts:88

code_hash of the staking-pool builds seen in the validator sets. A pool whose code is not one of these (or in the app’s codeHashes) is refused for writes. *.poolv1.near pools run the core-contracts staking pool (no upgrade method); *.pool.near pools run staking-farm builds, which add farms, a burn fee, a scheduled next fee and an upgrade to code the pool.near factory allows.