SHA256
Отключить репосты и добавить Solana-модуль
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
use anchor_lang::prelude::*;
|
||||
|
||||
pub mod settings;
|
||||
pub mod users;
|
||||
|
||||
use users::*;
|
||||
|
||||
declare_id!("FZS1YctoeEhCkZ5VTjsysUFAXR8CqxYztcLboXcg2Rpm");
|
||||
|
||||
#[program]
|
||||
pub mod shine {
|
||||
use super::*;
|
||||
|
||||
pub fn init_users_economy_config(ctx: Context<InitUsersEconomyConfig>) -> Result<()> {
|
||||
users::init_users_economy_config(ctx)
|
||||
}
|
||||
|
||||
pub fn update_users_economy_config(
|
||||
ctx: Context<UpdateUsersEconomyConfig>,
|
||||
args: UpdateUsersEconomyConfigArgs,
|
||||
) -> Result<()> {
|
||||
users::update_users_economy_config(ctx, args)
|
||||
}
|
||||
|
||||
pub fn create_user_pda(ctx: Context<CreateUserPda>, args: CreateUserPdaArgs) -> Result<()> {
|
||||
users::create_user_pda(ctx, args)
|
||||
}
|
||||
|
||||
pub fn update_user_pda(ctx: Context<UpdateUserPda>, args: UpdateUserPdaArgs) -> Result<()> {
|
||||
users::update_user_pda(ctx, args)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user