Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed app/contract/contracts/Folder/check_output.txt
Binary file not shown.
238 changes: 167 additions & 71 deletions app/contract/contracts/Folder/src/admin.rs

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion app/contract/contracts/Folder/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use soroban_sdk::contracterror;
#[contracterror]
#[derive(Copy, Clone, Debug, Eq, PartialEq, PartialOrd, Ord)]
#[repr(u32)]
pub enum RustAcademyError {
pub enum RustAcademyError {
// Validation failures (100-199)
InvalidAmount = 100,
InvalidSalt = 101,
Expand All @@ -19,6 +19,10 @@ pub enum RustAcademyError {
Unauthorized = 200,
AlreadyInitialized = 201,
InsufficientRole = 202,
/// The stored admin/role snapshot is internally inconsistent.
InvalidRoleState = 203,
/// No pending admin transfer is available to accept or cancel.
NoPendingAdminTransfer = 204,
// State, escrow, and commitment violations (300-399)
ContractPaused = 300,
PrivacyAlreadySet = 301,
Expand Down
229 changes: 0 additions & 229 deletions app/contract/contracts/Folder/src/hook_oracle_test.rs.bak

This file was deleted.

Loading
Loading