Identifies a deployed whirlpool program and the config account it operates against.
PDA derivation and instruction targeting both depend on these two values, so they
are bundled together to keep them consistent. Pass a WhirlpoolDeployment (or omit
it to fall back to DEFAULT_WHIRLPOOL_DEPLOYMENT, the mutable mainnet program) to the
SDK functions and PDA helpers that accept it.
Identifies a deployed whirlpool program and the config account it operates against.
PDA derivation and instruction targeting both depend on these two values, so they are bundled together to keep them consistent. Pass a
WhirlpoolDeployment(or omit it to fall back toDEFAULT_WHIRLPOOL_DEPLOYMENT, the mutable mainnet program) to the SDK functions and PDA helpers that accept it.Use the named constants (WhirlpoolDeployment.mainnet, WhirlpoolDeployment.devnet, WhirlpoolDeployment.mainnetImmutable) for the official deployments, or WhirlpoolDeployment.custom to point at a fork or local deployment.