Skip to content

Commit

Permalink
Merge branch 'master' of github.com:fireblocks/fireblocks-api
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomer Vilensky committed Jul 20, 2021
2 parents 2b36189 + a7dc008 commit 217b3f0
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ export interface VaultAccountResponse {
autoFuel: boolean;
}

export enum VirtualAffiliation {
OFF_EXCHANGE = "OFF_EXCHANGE",
DEFAULT = "DEFAULT"
}

export interface AssetResponse {
id: string;
total: string;
Expand All @@ -23,6 +28,17 @@ export interface AssetResponse {
pendingRefundNetwork?: string;
totalStakedCPU?: string;
totalStakedNetwork?: string;
allocatedBalances?: {
allocationId: string;
thirdPartyAccountId?: string;
affiliation?: VirtualAffiliation;
virtualType?: VirtualType;
total: string;
available: string;
pending?: string;
frozen?: string;
locked?: string;
}[];
}

export interface UnfreezeTransactionResponse {
Expand Down Expand Up @@ -326,12 +342,14 @@ export enum PeerType {
NETWORK_CONNECTION = "NETWORK_CONNECTION",
FIAT_ACCOUNT = "FIAT_ACCOUNT",
COMPOUND = "COMPOUND",
ONE_TIME_ADDRESS = "ONE_TIME_ADDRESS"
ONE_TIME_ADDRESS = "ONE_TIME_ADDRESS",
OEC_PARTNER = "OEC_PARTNER"
}

export enum VirtualType {
OFF_EXCHANGE = "OFF_EXCHANGE",
DEFAULT = "DEFAULT"
DEFAULT = "DEFAULT",
OEC_FEE_BANK = "OEC_FEE_BANK"
}

export enum TransactionOperation {
Expand Down

0 comments on commit 217b3f0

Please sign in to comment.