Skip to content

Commit

Permalink
feat: assets types
Browse files Browse the repository at this point in the history
  • Loading branch information
o-az committed May 8, 2024
1 parent 6e33fac commit a9f8609
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions app/src/lib/components/send/types.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,29 @@
export type ChainId = "union-testnet-8" | "11155111" | "osmo-test-5" | "stargaze-1" | "534352"

export interface Asset {
destination: "union-testnet-8" | "11155111" | "osmo-test-5" | "stargaze-1" | "534352"
port: string
client: string
channel: string
connection: string
source: {
port: string
channel: string
client: string
connection: string
chain: ChainId
explorerLink?: string
}
destination: {
port: string
channel: string
client: string
connection: string
chain: ChainId
explorerLink?: string
}
contractAddress?: string
symbol: string
denom: string
display: string
explorerLink?: string
/**
* id: source.chain + destination.chain + symbol
*/
id: string
}

0 comments on commit a9f8609

Please sign in to comment.