-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1384 from madfish-solutions/v3.4.2
V3.4.2
- Loading branch information
Showing
19 changed files
with
149 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 0 additions & 53 deletions
53
src/modules/liquidity/pages/liquidity/hooks/helpers/find-dex.ts
This file was deleted.
Oops, something went wrong.
3 changes: 1 addition & 2 deletions
3
src/modules/liquidity/pages/liquidity/hooks/helpers/load-tez-dex.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* eslint-disable no-console */ | ||
import { HttpResponseError, STATUS_CODE } from '@taquito/http-utils'; | ||
import { BigMapAbstraction } from '@taquito/taquito'; | ||
|
||
import { BigMapKeyType } from '@shared/types'; | ||
|
||
const originalGet = BigMapAbstraction.prototype.get; | ||
|
||
BigMapAbstraction.prototype.get = async function <T>( | ||
keyToEncode: BigMapKeyType, | ||
block?: number | ||
): Promise<T | undefined> { | ||
const promiseResponse = originalGet.call(this, keyToEncode, block) as Promise<T>; | ||
|
||
try { | ||
return await promiseResponse; | ||
} catch (error) { | ||
if (error instanceof HttpResponseError && error.status === STATUS_CODE.NOT_FOUND) { | ||
return undefined; | ||
} | ||
|
||
throw error; | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export * from './batch-operations'; | ||
export * from './get-blockchain-timestamp'; | ||
export * from './unpack-option'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { Option } from '@shared/types'; | ||
|
||
export const unpackOption = <T>(option: Option<T>): T | null => { | ||
return option?.Some ?? null; | ||
}; |
Oops, something went wrong.
21fb5fc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
quipuswap-preprod – ./
quipuswap-preprod-quipuswap-v2-ui.vercel.app
quipuswap-preprod.vercel.app
quipuswap-preprod-git-main-quipuswap-v2-ui.vercel.app