The logic module contains general program logic that is not more directly associated with process, state or token functionality.
This function checks the balance of account in lamports, along with the data length to determine if the account is rent exempt.
This function gets the amount of lamports in reserve. The rent is subtracted from the total amount.
Note: this function will fail if the reserve's balance minus rent is < 0.
Calculates the sum of lamports available in the reserve (after rent us discounted) and the stake pool
Creates and issues a spl_token
MintTo instructioni from the Solana SPL token library program.
This function first checks the the lido account is indeed the owner and then deserializes the lido data into the