Add disclaimer

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2022-10-19 21:10:01 +02:00
parent 3409f86521
commit bbe7537a33
2 changed files with 40 additions and 0 deletions

View File

@ -58,6 +58,26 @@ pub struct Reimburse<'info> {
pub rent: Sysvar<'info, Rent>,
}
/// Disclaimer:
/// Please make sure you and your users (of integrating programs) read and accept
/// the following waiver when reclaiming their funds using below instruction:
///
/// By executing this instruction and accepting the tokens, I hereby
/// irrevocably sell, convey, transfer and assign to Mango Labs,
/// LLC all of my right, title and interest in, to and under all
/// claims arising out of or related to the loss of my tokens in
/// the October 2022 incident, including, without limitation, all
/// of my causes of action or other rights with respect to such
/// claims, all rights to receive any amounts or property or other
/// distribution in respect of or in connection with such claims,
/// and any and all proceeds of any of the foregoing (including
/// proceeds of proceeds). I further irrevocably and
/// unconditionally release all claims I may have against Mango
/// Labs, LLC, the Mango Decentralized Autonomous Entity, its core
/// contributors, and any of their agents, affiliates, officers,
/// employees, or principals related to this matter. This release
/// constitutes an express, informed, knowing and voluntary waiver
/// and relinquishment to the fullest extent permitted by law.
pub fn handle_reimburse<'key, 'accounts, 'remaining, 'info>(
ctx: Context<'key, 'accounts, 'remaining, 'info, Reimburse<'info>>,
token_index: usize,

View File

@ -51,6 +51,26 @@ pub mod mango_v3_reimbursement {
handle_start_reimbursement(ctx)
}
/// Disclaimer:
/// Please make sure you and your users (of integrating programs) read and accept
/// the following waiver when reclaiming their funds using below instruction:
///
/// By executing this instruction and accepting the tokens, I hereby
/// irrevocably sell, convey, transfer and assign to Mango Labs,
/// LLC all of my right, title and interest in, to and under all
/// claims arising out of or related to the loss of my tokens in
/// the October 2022 incident, including, without limitation, all
/// of my causes of action or other rights with respect to such
/// claims, all rights to receive any amounts or property or other
/// distribution in respect of or in connection with such claims,
/// and any and all proceeds of any of the foregoing (including
/// proceeds of proceeds). I further irrevocably and
/// unconditionally release all claims I may have against Mango
/// Labs, LLC, the Mango Decentralized Autonomous Entity, its core
/// contributors, and any of their agents, affiliates, officers,
/// employees, or principals related to this matter. This release
/// constitutes an express, informed, knowing and voluntary waiver
/// and relinquishment to the fullest extent permitted by law.
pub fn reimburse<'key, 'accounts, 'remaining, 'info>(
ctx: Context<'key, 'accounts, 'remaining, 'info, Reimburse<'info>>,
token_index: usize,