Module tensor_toolbox::common
source · Modules§
Structs§
Enums§
Constants§
Functions§
- Asserts that the account is a valid fee account: either one of the program singletons or the fee vault.
- Transfers lamports from one account to another, handling the cases where the account is either a PDA or a system account.
- Transfers lamports, skipping the transfer if the
to
account would not be rent exempt.