Expand description

Smart contract built for the Solana blockchain that enables users to create their own fundraiser.

Re-exports

Modules

Checks and assertions for validating inputs to the smart contract.

Smart contract instructions that can be called externally.

Program Derived Addresses that can be modified only by this contract.

Processor that processes the incoming instructions, thus modifying data on the blockchain.

Data structures that describe the application’s current state.

Utilities for the instruction processing

Enums

Constants

Allowed time period for an auction to go without a bid placed on it before it is automatically filtered at cycle closing. Currently set for a week of inactivity.

Allowed number of cycles for an auction to go without a bid placed on it before it is automatically filtered at cycle closing. More relevant than ALLOWED_AUCTION_IDLE_PERIOD in auctions with low cycle periods.

Additional bytes allocated to the AuctionRootState account for future development.

Maximum number of Bids in the BidHistory.

Minimum length of an auction cycle period in seconds.

Maximum number of characters in an auction description.

Maximum number of characters in each social url.

Maximum number of socials the AuctionState may hold.

Minimum length of an auction cycle period in seconds.

Minimum bid amount on any auction cycle in Lamports.

Statics

The static program ID

Functions

Confirms that a given pubkey is equivalent to the program ID

Returns the program ID