ReferenceCore release 0.1.0

Program instructions

The frozen Anchor IDL instructions grouped by liquidity, swap, privacy, protocol administration and tree maintenance.

The following instruction names are from the frozen Core IDL.

Liquidity

  • initialize_pool
  • add_liquidity
  • remove_liquidity

Swap

  • swap: ordinary public CPMM swap.
  • private_swap: proof-authorized note spend and CPMM settlement.

Privacy

  • initialize_shielded_state
  • shield
  • unshield

There is no private_send instruction. Private Send uses unshield with a public arbitrary recipient.

Protocol and fee administration

  • initialize_protocol_config
  • set_protocol_fee_recipient
  • set_protocol_authority
  • claim_protocol_fees
  • claim_creator_fees

These instructions include administrative and fee withdrawal operations; the hosted relay rejects them.

Tree maintenance

  • rollover_tree

The SDK also exposes account codecs, PDA helpers, quote math and builders for these operations. See SDK exports, Events and Error codes.

PreviousDeploymentsNext Events
Source baseline: frozen Core v0.1.0 / SDK v0.1.1.