Skip to content

Commit

Permalink
add solana types
Browse files Browse the repository at this point in the history
  • Loading branch information
nnoln committed Oct 2, 2024
1 parent 15c1151 commit d2abbcb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@0xsquid/squid-types",
"version": "0.1.108",
"version": "0.1.109",
"description": "JS and TS types relating to 0xsquid related projects.",
"main": "dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
7 changes: 7 additions & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export enum ChainType {
EVM = "evm",
COSMOS = "cosmos",
BTC = "bitcoin",
SOLANA = "solana",
}

export type BaseChain = {
Expand Down Expand Up @@ -195,6 +196,9 @@ export enum ChainName {

// BTC
BITCOIN = "bitcoin",

// SOL
SOLANA = "solana",
}

export enum NetworkIdentifier {
Expand Down Expand Up @@ -285,6 +289,9 @@ export enum NetworkIdentifier {

// BTC
BITCOIN = "bitcoin",

// SOL
SOLANA = "solana",
}

export type ChainIBCInfo = {
Expand Down
1 change: 1 addition & 0 deletions src/tokens/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export interface Token {
feeOnTransfer?: boolean;
isLpToken?: boolean;
disabled?: boolean;
originalAddress?: string;
}

export interface CosmosToken extends Token {
Expand Down

0 comments on commit d2abbcb

Please sign in to comment.