#pragma once #include #include #include #include #include namespace xrpl { /** Delete an offer. Requirements: The offer must exist. The caller must have already checked permissions. @param view The ApplyView to modify. @param sle The offer to delete. @param j Journal for logging. @return tesSUCCESS on success, otherwise an error code. */ // [[nodiscard]] // nodiscard commented out so Flow, BookTip and others compile. TER offerDelete(ApplyView& view, std::shared_ptr const& sle, beast::Journal j); } // namespace xrpl