Crate solana_conditional_liquidity

Source

Modules§

origin_identity

Structs§

Registry
A registry account stores segmenter public keys

Enums§

VerifyOriginResult

Constants§

ORIGIN_VERIFYING_SEGMENTER_REGISTRY
The origin-verifying registry is a special registry that contains segmenters that verify the origin of the invocation

Functions§

is_invoked_by_segmenter
Checks whether the invocation was signed by a segmenter. Use this if you don’t need to branch on the origin of the invocation.
verify_origin
Checks whether the invocation was signed by a segmenter and verifies the origin of the invocation. Use this if you want to branch on the origin of the invocation.

Type Aliases§

Origin
The identifier for the origin of an invocation. This identifies the application or frontend from which the invocation originated.