Skip to content

Commit

Permalink
fix: lower case addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
royalaid committed Jun 5, 2024
1 parent 4cff376 commit 52a1679
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adapters/qidao/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const SUBGRAPH_QUERY_URL =

const PAGE_SIZE = 1_000

const MAI_ADDRESS = "0xf3B001D64C656e30a62fbaacA003B1336b4ce12A"
const MAI_ADDRESS = "0xf3b001d64c656e30a62fbaaca003b1336b4ce12a"

const post = async <T>(url: string, data: any): Promise<T> => {
const response = await fetch(url, {
Expand Down Expand Up @@ -178,7 +178,7 @@ const getBorrowRepaidData = async (
return {
block_number: blockNumber,
timestamp: blockTimestamp,
user_address: vault.owner,
user_address: vault.owner.toLowerCase(),
token_address: MAI_ADDRESS,
token_balance: BigInt(vault.debt),
token_symbol: "MAI",
Expand Down

0 comments on commit 52a1679

Please sign in to comment.