From fd60976d1f26ec23fa64fcfcea858df9236a460a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wei=C3=9Fer=20Hase?= Date: Mon, 7 Oct 2024 10:47:14 -0300 Subject: [PATCH] feat: changing token and lowered time deltas --- program/src/processor.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/program/src/processor.rs b/program/src/processor.rs index db5b681..2c43fa9 100644 --- a/program/src/processor.rs +++ b/program/src/processor.rs @@ -24,7 +24,7 @@ use crate::{ }; pub const TOKEN_MINT: Pubkey = - solana_program::pubkey!("AxfBPA1yi6my7VAjqB9fqr1AgYczuuJy8tePnNUDDPpW"); + solana_program::pubkey!("FGG8y8JrZrAinbBwWAB2EacQgZVyzoerdMsU1LUaRkKv"); pub struct Processor {} @@ -199,7 +199,7 @@ impl Processor { 0 => { release_time = 0; } - 7_776_000 | 15_552_000 | 23_328_000 | 31_104_000 => { + 1800 | 3600 | 5400 | 7200 => { release_time = clock.unix_timestamp as u64 + schedule.time_delta; } _ => { @@ -435,7 +435,7 @@ impl Processor { } // Withdrawal period is 7 days = 7 * 86400 = 604_800 - schedule.release_time = clock.unix_timestamp as u64 + 604_800; + schedule.release_time = clock.unix_timestamp as u64 + 1800; // Pack the updated schedule back into the account data pack_schedule_into_slice(