Module common

Source

Modules§

escrow
fees
marketplace
mpl_token_auth_rules
price_lock

Structs§

CalcFeesArgs
Fees
Fees struct that holds the calculated fees.
FromExternal
TCreator

Enums§

CreatorFeeMode
FromAcc

Constants§

BROKER_FEE_PCT
HUNDRED_PCT
HUNDRED_PCT_BPS
MAKER_BROKER_PCT
SPL_TOKEN_IDS
TAKER_FEE_BPS
TNSR_DISCOUNT_BPS

Functions§

assert_fee_account
Asserts that the account is a valid fee account: either one of the program singletons or the fee vault.
calc_creators_fee
calc_fees
close_account
is_royalty_enforced
pubkey
transfer_all_lamports_from_pda
Transfers all lamports from a PDA (except for rent) to a destination account.
transfer_creators_fee
transfer_lamports
Transfers lamports from one account to another, handling the cases where the account is either a PDA or a system account.
transfer_lamports_checked
Transfers lamports, skipping the transfer if the to account would not be rent exempt.
transfer_lamports_from_pda
Transfers specified lamports from a PDA to a destination account. Throws an error if less than rent remains in the PDA.