Skip to content

Commit

Permalink
Merge pull request #362 from NilFoundation/drop-dead-code
Browse files Browse the repository at this point in the history
[explorer] drop unused files
  • Loading branch information
olegrok authored Feb 26, 2025
2 parents 6450865 + cc6be4b commit 75ae7e4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 201 deletions.
49 changes: 0 additions & 49 deletions explorer_backend/types.ts

This file was deleted.

62 changes: 0 additions & 62 deletions explorer_backend/utils/transactions.ts

This file was deleted.

90 changes: 0 additions & 90 deletions explorer_frontend/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,95 +1,5 @@
import type { Abi } from "abitype";

export interface AbiFile {
"ABI version": number;
version: string;
header: string[];
functions: FunctionInfo[];
fields: FieldInfo[];
events: unknown[];
}

export type DeployedApp = {
abi: Abi;
address: string;
code: string;
state?: Record<string, string>;
};

export interface FunctionInfo {
name: string;
inputs: InputParameter[];
outputs: OutputParameter[];
id: string;
}

export interface InputParameter {
name: string;
type: string;
}

export interface OutputParameter {
name: string;
type: string;
}

export interface FieldInfo {
name: string;
type: string;
}

export interface RawTransaction {
"@type": string;
data: string;
fee: string;
in_txn: {
"@type": string;
body_hash: string;
created_lt: string;
destination: string;
fwd_fee: string;
ihr_fee: string;
transaction: string;
tsc_data: {
"@type": string;
body: string;
init_state: string;
};
source: string;
value: string;
};
other_fee: string;
out_tscs: {
"@type": string;
body_hash: string;
created_lt: string;
destination: string;
fwd_fee: string;
ihr_fee: string;
transaction: string;
tsc_data: {
"@type": string;
body: string;
init_state: string;
};
source: string;
value: string;
}[];
storage_fee: string;
transaction_id: {
"@type": string;
hash: string;
lt: string;
};
utime: number;
}

export type ContractState = {
decoded: null | Record<string, string | boolean>;
balance: string;
state: string;
};

export type App = {
name: string;
bytecode: `0x${string}`;
Expand Down

0 comments on commit 75ae7e4

Please sign in to comment.