Skip to content

Commit

Permalink
remove unsued types
Browse files Browse the repository at this point in the history
  • Loading branch information
sczembor committed Sep 26, 2023
1 parent a9a49d2 commit b11cb5f
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions contracts/test-util/src/oracle.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use near_sdk::borsh::{self, BorshDeserialize, BorshSerialize};
use near_sdk::serde::Serialize;
use near_sdk::AccountId;
use uuid::Uuid;

/// External account id represented as hexadecimal string
Expand Down Expand Up @@ -32,15 +31,3 @@ pub struct SignedClaim {
pub claim_b64: String,
pub claim_sig: String,
}

#[derive(BorshSerialize, BorshDeserialize)]
#[cfg_attr(not(target_arch = "wasm32"), derive(Debug, PartialEq))]
pub struct Claim {
pub claimer: AccountId,
/// external, Ethereum compatible address. Must be a hex string, can start with "0x".
pub external_id: String,
/// unix time (seconds) when the claim was signed
pub timestamp: u64,
/// indicates whether the user has passed a KYC or not
pub verified_kyc: bool,
}

0 comments on commit b11cb5f

Please sign in to comment.