Module rent

Module rent 

Source

Structs§

AccountRentState
Account state information needed for rent calculations
CloseDistribution
Distribution of lamports when closing an account
RentConfig
Rent function parameters, used to calculate whether the account is compressible.
ZRentConfig
ZRentConfigMeta
ZRentConfigMetaMut
ZRentConfigMut

Constants§

BASE_RENT
COMPRESSION_COST
COMPRESSION_INCENTIVE
RENT_PER_BYTE
SLOTS_PER_EPOCH

Traits§

RentConfigTrait
Trait for accessing rent configuration parameters.

Functions§

get_last_funded_epoch
Forester helper function to index when an account will become compressible.
get_rent_exemption_lamports

Type Aliases§

RentConfigConfig