Evolution SDK
ModulesSdkBuildersOperations

sdk/builders/operations/Propose.ts

Propose overview

Propose operation - submit governance action proposals.

Added in v2.0.0


Table of contents


programs

createProposeProgram

Creates a ProgramStep for propose operation. Fetches govActionDeposit from protocol parameters and constructs ProposalProcedure.

Implementation:

  1. Fetches govActionDeposit from protocol parameters (like registerStake)
  2. Constructs ProposalProcedure with the fetched deposit
  3. Merges with existing proposal procedures if any
  4. No redeemers needed - proposing is not script-controlled

Note: The deposit is deducted from transaction inputs during balancing.

Signature

export declare const createProposeProgram: (
  params: ProposeParams
) => Effect.Effect<void, TransactionBuilderError, TxContext | TxBuilderConfigTag>

Added in v2.0.0