-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add Celo and opBNB gas oracles (#279)
- Loading branch information
Showing
15 changed files
with
58 additions
and
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "root", | ||
"private": true, | ||
"version": "1.5.35", | ||
"version": "1.5.36", | ||
"engines": { | ||
"node": ">=18.0.0" | ||
}, | ||
|
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"version": "1.5.35", | ||
"version": "1.5.36", | ||
"description": "> TODO: description", | ||
"author": "zincoshine <[email protected]>", | ||
"homepage": "https://https://github.com/etherspot/skandha#readme", | ||
|
@@ -40,12 +40,12 @@ | |
"@libp2p/peer-id-factory": "2.0.1", | ||
"@libp2p/prometheus-metrics": "1.1.3", | ||
"@multiformats/multiaddr": "12.1.3", | ||
"@skandha/api": "^1.5.35", | ||
"@skandha/db": "^1.5.35", | ||
"@skandha/executor": "^1.5.35", | ||
"@skandha/monitoring": "^1.5.35", | ||
"@skandha/node": "^1.5.35", | ||
"@skandha/types": "^1.5.35", | ||
"@skandha/api": "^1.5.36", | ||
"@skandha/db": "^1.5.36", | ||
"@skandha/executor": "^1.5.36", | ||
"@skandha/monitoring": "^1.5.36", | ||
"@skandha/node": "^1.5.36", | ||
"@skandha/types": "^1.5.36", | ||
"find-up": "5.0.0", | ||
"got": "12.5.3", | ||
"js-yaml": "4.1.0", | ||
|
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,8 @@ | ||
import { getEtherscanGasFee } from "./utils"; | ||
import { IGetGasFeeResult } from "./interfaces"; | ||
|
||
export async function getCeloGasFee( | ||
apiKey: string | undefined = undefined | ||
): Promise<IGetGasFeeResult> { | ||
return getEtherscanGasFee("https://api.celoscan.io/api", apiKey); | ||
} |
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,8 @@ | ||
import { getEtherscanGasFee } from "./utils"; | ||
import { IGetGasFeeResult } from "./interfaces"; | ||
|
||
export async function getOpBnbGasFee( | ||
apiKey: string | undefined = undefined | ||
): Promise<IGetGasFeeResult> { | ||
return getEtherscanGasFee("https://api-opbnb.bscscan.com/api", apiKey); | ||
} |
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