mirror of
https://github.com/XRPLF/rippled.git
synced 2026-09-27 15:28:03 +00:00
A VaultWithdraw that names a Destination other than the submitter delivered the asset with the issuer's transfer fee waived. Depositing into a vault and withdrawing to someone else therefore moved IOUs and MPTs without paying the fee. Under fixCleanup3_5_0 the withdrawer's vault position pays the fee. A fixed-asset request still delivers the requested amount and redeems enough shares to cover the gross cost. A fixed-share request burns the requested shares and delivers what is left after the fee. Withdrawals to the submitter or to the issuer stay fee-free. The fee is settled by redeeming the gross amount with the issuer and issuing the net amount to the destination. ValidVault expects the destination delta to be the vault outflow less the fee.