Skip to content

Commit

Permalink
fix: use rmm V3 instead of V2 for cheking available status
Browse files Browse the repository at this point in the history
  • Loading branch information
jycssu-com committed Jul 15, 2024
1 parent 1d5f75c commit e7f2333
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/repositories/realtoken.repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function getRentStatus(item: APIRealToken) {
}

function getRmmStatus(item: APIRealToken) {
return !!item.blockchainAddresses.xDai.rmmPoolAddress
return !!item.blockchainAddresses.xDai.rmmV3WrapperAddress
}

function fixSubsidyBy(item: APIRealToken) {
Expand Down
1 change: 1 addition & 0 deletions src/types/APIRealToken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export interface APIRealToken {
distributor: string | 0
rmmPoolAddress: string | 0
chainlinkPriceContract: string | 0
rmmV3WrapperAddress: string | 0
}
goerli: {
chainName: string
Expand Down

0 comments on commit e7f2333

Please sign in to comment.