Module solana::payment_plan[][src]

The plan module provides a domain-specific language for payment plans. Users create Budget objects that are given to an interpreter. The interpreter listens for Witness transactions, which it uses to reduce the payment plan. When the plan is reduced to a Payment, the payment is executed.

Structs

Payment

Some amount of tokens that should be sent to the to Pubkey.

Enums

Witness

The types of events a payment plan can process.

Traits

PaymentPlan

Interface to smart contracts.