Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
denis-orbs committed Nov 5, 2024
1 parent 9f4b5a0 commit 6782b9a
Show file tree
Hide file tree
Showing 37 changed files with 1,529 additions and 914 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@ethersproject/hash": "^5.7.0",
"@orbs-network/liquidity-hub-sdk": "^1.0.44",
"@orbs-network/swap-ui": "^0.0.14",
"@orbs-network/twap-sdk": "^2.0.38",
"@orbs-network/twap-sdk": "^2.0.40",
"@paraswap/sdk": "^6.10.0",
"@radix-ui/react-accordion": "^1.2.1",
"@radix-ui/react-avatar": "^1.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function Header() {
</div>
<div className="flex gap-4">
<ThemeToggle />
<ConnectButton />
<ConnectButton />
</div>
</div>
)
Expand Down
40 changes: 0 additions & 40 deletions src/lib/approveAllowance.ts

This file was deleted.

2 changes: 2 additions & 0 deletions src/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ export * from './wagmi-config'
export * from './useTokens'
export * from './useWrapOrUnwrapOnly'
export * from './usePriceUsd'
export * from './useWrapToken'
export * from './useApproveAllowance'
28 changes: 28 additions & 0 deletions src/lib/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,34 @@ export const networks = {
"0x4300000000000000000000000000000000000003",
],
},
sei: {
id: 1329,
name: "Sei",
shortname: "sei",
native: {
address: zeroAddress,
symbol: "SEI",
decimals: 18,
logoUrl: 'https://raw.githubusercontent.com/dragonswap-app/assets/main/logos/0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE/logo.png',
},
wToken: {
symbol: "WSEI",
address: "0xE30feDd158A2e3b13e9badaeABaFc5516e95e8C7",
decimals: 18,
weth: false,
logoUrl: "https://raw.githubusercontent.com/dragonswap-app/assets/main/logos/0xE30feDd158A2e3b13e9badaeABaFc5516e95e8C7/logo.png",
},
publicRpcUrl: "https://evm-rpc.sei-apis.com",
logoUrl: "https://example.com/path-to-sei-logo.svg",
explorer: "https://seitrace.com",
eip1559: false,
baseAssets: [
'0xE30feDd158A2e3b13e9badaeABaFc5516e95e8C7',
'0x160345fC359604fC6e70E3c5fAcbdE5F7A9342d8',
'0xB75D0B03c06A926e488e2659DF1A861F860bD3d1'
]

},
};

export const getNetwork = (chainId: number) => {
Expand Down
Loading

0 comments on commit 6782b9a

Please sign in to comment.