Skip to content
Merged
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
22 changes: 22 additions & 0 deletions etc/data-models.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export enum AccountType {
export interface AddressRequest {
accountId: AccountId;
address: string;
chainFamily: ChainFamily;
chainScope: Chain[];
}

Expand Down Expand Up @@ -211,6 +212,9 @@ export interface BaseEntity {
updatedAt: Date;
}

// @public
export type Caip2ChainId = string;

// @public
export enum Chain {
ARBITRUM = "ARBITRUM",
Expand All @@ -226,11 +230,22 @@ export enum Chain {
SUI = "SUI"
}

// @public
export enum ChainFamily {
APTOS = "aptos",
BITCOIN = "bitcoin",
COSMOS = "cosmos",
EVM = "evm",
SOLANA = "solana",
SUI = "sui"
}

// @public
export interface ConnectedAccount {
accountId: AccountId;
accountLabel: string;
address: string;
chainFamily: ChainFamily;
chainScope: Chain[];
discoveredAt: string;
isActive: boolean;
Expand Down Expand Up @@ -328,10 +343,13 @@ export interface IntegrationCredentials {

// @public
export enum IntegrationSource {
APTOS = "APTOS",
BALANCER = "BALANCER",
BINANCE = "BINANCE",
BITCOIN = "BITCOIN",
BLOCKCHAIN_DIRECT = "BLOCKCHAIN_DIRECT",
COINBASE = "COINBASE",
COSMOS = "COSMOS",
CURVE = "CURVE",
KRAKEN = "KRAKEN",
MANUAL_ENTRY = "MANUAL_ENTRY",
Expand All @@ -342,6 +360,7 @@ export enum IntegrationSource {
RABBY = "RABBY",
ROBINHOOD = "ROBINHOOD",
SLUSH = "SLUSH",
SUI = "SUI",
SUIET = "SUIET",
SUSHISWAP = "SUSHISWAP",
UNISWAP = "UNISWAP"
Expand Down Expand Up @@ -528,6 +547,7 @@ export interface TrackedAddress {
accountId: AccountId;
accountLabel: string;
address: string;
chainFamily: ChainFamily;
chainScope: Chain[];
connectionLabel: string;
providerId: WalletProviderId | 'watch';
Expand Down Expand Up @@ -629,6 +649,7 @@ export interface WalletConnection {
providerId: WalletProviderId;
providerName: string;
sessionStatus: 'active' | 'stale' | 'disconnected';
supportedChainFamilies: ChainFamily[];
supportedChains: Chain[];
}

Expand All @@ -653,6 +674,7 @@ export interface WatchAddress {
addedAt: string;
address: string;
addressLabel: string;
chainFamily: ChainFamily;
chainScope: Chain[];
}

Expand Down