chore: sync submodule state (parent ref update)
Made-with: Cursor
This commit is contained in:
30
provider/types.d.ts
vendored
Normal file
30
provider/types.d.ts
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
/**
|
||||
* Types for MetaMask dual-chain provider (Chain 138 + Ethereum Mainnet).
|
||||
*/
|
||||
|
||||
export interface ChainParams {
|
||||
chainId: string
|
||||
chainIdDecimal: number
|
||||
chainName: string
|
||||
nativeCurrency: { name: string; symbol: string; decimals: number }
|
||||
rpcUrls: string[]
|
||||
blockExplorerUrls: string[]
|
||||
iconUrls?: string[]
|
||||
}
|
||||
|
||||
export interface TokenInfo {
|
||||
chainId: number
|
||||
address: string
|
||||
name: string
|
||||
symbol: string
|
||||
decimals: number
|
||||
logoURI?: string
|
||||
tags?: string[]
|
||||
}
|
||||
|
||||
export interface OraclePriceResult {
|
||||
price: number
|
||||
updatedAt: Date
|
||||
decimals: number
|
||||
roundId?: number
|
||||
}
|
||||
Reference in New Issue
Block a user