Skip to content

Commit

Permalink
UI Fixes (#77)
Browse files Browse the repository at this point in the history
* Fix getting USDC balance for all chains

* Replace getWrappedStataUSDCOnBase with useIsSynthStataUSDC

* Fix withdraw link

* Add usePositionDebt

* Avoid using websocket RPC

* Fix symbol for withdrawals

* Lint harder
  • Loading branch information
noisekit authored Dec 5, 2024
1 parent 98fc3a6 commit 25ad264
Show file tree
Hide file tree
Showing 62 changed files with 478 additions and 277 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ and all transactions will be automatically signed, without any popups

```sh
# Mainnets
anvil --auto-impersonate --chain-id 1 --fork-url wss://mainnet.infura.io/ws/v3/$INFURA_KEY --fork-block-number 21233424
anvil --auto-impersonate --chain-id 8453 --fork-url wss://base-mainnet.infura.io/ws/v3/$INFURA_KEY --fork-block-number 22991081
anvil --auto-impersonate --chain-id 42161 --fork-url wss://arbitrum-mainnet.infura.io/ws/v3/$INFURA_KEY --fork-block-number 271813668
anvil --auto-impersonate --chain-id 1 --fork-url https://mainnet.infura.io/v3/$INFURA_KEY --fork-block-number 21233424
anvil --auto-impersonate --chain-id 8453 --fork-url https://base-mainnet.infura.io/v3/$INFURA_KEY --fork-block-number 22991081
anvil --auto-impersonate --chain-id 42161 --fork-url https://arbitrum-mainnet.infura.io/v3/$INFURA_KEY --fork-block-number 271813668
# Testnets
anvil --auto-impersonate --chain-id 11155111 --fork-url wss://sepolia.infura.io/ws/v3/$INFURA_KEY
anvil --auto-impersonate --chain-id 84532 --fork-url wss://base-sepolia.infura.io/ws/v3/$INFURA_KEY
anvil --auto-impersonate --chain-id 421614 --fork-url wss://arbitrum-sepolia.infura.io/ws/v3/$INFURA_KEY
anvil --auto-impersonate --chain-id 11155111 --fork-url https://sepolia.infura.io/v3/$INFURA_KEY
anvil --auto-impersonate --chain-id 84532 --fork-url https://base-sepolia.infura.io/v3/$INFURA_KEY
anvil --auto-impersonate --chain-id 421614 --fork-url https://arbitrum-sepolia.infura.io/v3/$INFURA_KEY
```

2. Run Liquidity app locally
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ contract ClosePositionTest is Test {
}

function setUp() public {
// string memory forkUrl = string.concat('wss://arbitrum-mainnet.infura.io/ws/v3/', vm.envString("INFURA_KEY"));
// string memory forkUrl = string.concat('https://arbitrum-mainnet.infura.io/v3/', vm.envString("INFURA_KEY"));
string memory forkUrl = string.concat("https://arbitrum-mainnet.infura.io/v3/", vm.envString("INFURA_KEY"));
fork = vm.createFork(forkUrl, 269104835);
vm.selectFork(fork);
Expand Down
Loading

0 comments on commit 25ad264

Please sign in to comment.