Skip to content

Commit

Permalink
Flare (#87)
Browse files Browse the repository at this point in the history
* add flare chains

* chore(release): v0.0.41

* add bifrost
  • Loading branch information
0xSulpiride authored Sep 8, 2023
1 parent 64e3c03 commit 71b6bf5
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 20 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
],
"npmClient": "yarn",
"useWorkspaces": true,
"version": "0.0.40",
"version": "0.0.41",
"stream": "true",
"command": {
"version": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "root",
"private": true,
"version": "0.0.40",
"version": "0.0.41",
"engines": {
"node": ">=18.0.0"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "api",
"version": "0.0.40",
"version": "0.0.41",
"description": "The API module of Etherspot bundler client",
"author": "Etherspot",
"homepage": "https://https://github.com/etherspot/skandha#readme",
Expand Down Expand Up @@ -35,12 +35,12 @@
"class-transformer": "0.5.1",
"class-validator": "0.14.0",
"ethers": "5.7.2",
"executor": "^0.0.40",
"executor": "^0.0.41",
"fastify": "4.14.1",
"pino": "8.11.0",
"pino-pretty": "10.0.0",
"reflect-metadata": "0.1.13",
"types": "^0.0.40"
"types": "^0.0.41"
},
"devDependencies": {
"@types/connect": "3.4.35"
Expand Down
10 changes: 5 additions & 5 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cli",
"version": "0.0.40",
"version": "0.0.41",
"description": "> TODO: description",
"author": "zincoshine <[email protected]>",
"homepage": "https://https://github.com/etherspot/skandha#readme",
Expand Down Expand Up @@ -31,13 +31,13 @@
"url": "https://https://github.com/etherspot/skandha/issues"
},
"dependencies": {
"api": "^0.0.40",
"db": "^0.0.40",
"executor": "^0.0.40",
"api": "^0.0.41",
"db": "^0.0.41",
"executor": "^0.0.41",
"find-up": "5.0.0",
"got": "12.5.3",
"js-yaml": "4.1.0",
"types": "^0.0.40",
"types": "^0.0.41",
"yargs": "17.6.2"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/db/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "db",
"version": "0.0.40",
"version": "0.0.41",
"description": "The DB module of Etherspot bundler client",
"author": "Etherspot",
"homepage": "https://github.com/etherspot/etherspot-bundler#readme",
Expand Down Expand Up @@ -37,6 +37,6 @@
"devDependencies": {
"@types/rocksdb": "3.0.1",
"prettier": "^2.8.4",
"types": "^0.0.40"
"types": "^0.0.41"
}
}
6 changes: 3 additions & 3 deletions packages/executor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "executor",
"version": "0.0.40",
"version": "0.0.41",
"description": "The Relayer module of Etherspot bundler client",
"author": "Etherspot",
"homepage": "https://https://github.com/etherspot/skandha#readme",
Expand Down Expand Up @@ -33,7 +33,7 @@
"dependencies": {
"async-mutex": "0.4.0",
"ethers": "5.7.2",
"params": "^0.0.40",
"types": "^0.0.40"
"params": "^0.0.41",
"types": "^0.0.41"
}
}
4 changes: 2 additions & 2 deletions packages/params/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "params",
"version": "0.0.40",
"version": "0.0.41",
"description": "Various bundler parameters",
"author": "Etherspot",
"homepage": "https://github.com/etherspot/skandha#readme",
Expand All @@ -25,7 +25,7 @@
"@eth-optimism/sdk": "3.0.0",
"@mantleio/sdk": "0.2.1",
"ethers": "5.7.2",
"types": "^0.0.40"
"types": "^0.0.41"
},
"scripts": {
"clean": "rm -rf lib && rm -f *.tsbuildinfo",
Expand Down
7 changes: 6 additions & 1 deletion packages/params/src/whitelisted-entities/factories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { getAddress } from "ethers/lib/utils";
import { IWhitelistedEntity } from "../types/IWhitelistedEntities";

export const WhitelistedFactories: IWhitelistedEntity = {
// Etehrspot Paymasters
// Etherspot Paymasters
// ref: https://github.com/etherspot/etherspot-prime-contracts/blob/master/DEPLOYMENTS.md
mainnet: [getAddress("0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E")],
arbitrum: [getAddress("0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E")],
Expand All @@ -28,4 +28,9 @@ export const WhitelistedFactories: IWhitelistedEntity = {
lineaTestnet: [getAddress("0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E")],
scrollSepolia: [getAddress("0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E")],
mantleTestnet: [getAddress("0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E")],
flare: [getAddress("0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E")],
flareCoston: [getAddress("0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E")],
flareCoston2: [getAddress("0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E")],
bifrost: [getAddress("0x527bAb8bDC50A809d7c35D0129173BBed55C5EAE")],
bifrostTestnet: [getAddress("0x527bAb8bDC50A809d7c35D0129173BBed55C5EAE")],
};
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "types",
"version": "0.0.40",
"version": "0.0.41",
"description": "The types of Etherspot bundler client",
"author": "Etherspot",
"homepage": "https://https://github.com/etherspot/skandha#readme",
Expand Down
17 changes: 16 additions & 1 deletion packages/types/src/networks/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@ export type NetworkName =
| "lineaTestnet"
| "scroll"
| "scrollSepolia"
| "scrollAlpha";
| "scrollAlpha"
| "flare"
| "flareCoston"
| "flareCoston2"
| "bifrost"
| "bifrostTestnet";

export const networkNames: NetworkName[] = [
"mainnet",
Expand Down Expand Up @@ -79,6 +84,11 @@ export const networkNames: NetworkName[] = [
"scroll",
"scrollSepolia",
"scrollAlpha",
"flare",
"flareCoston",
"flareCoston2",
"bifrost",
"bifrostTestnet",
];

export const NETWORK_NAME_TO_CHAIN_ID: {
Expand Down Expand Up @@ -123,4 +133,9 @@ export const NETWORK_NAME_TO_CHAIN_ID: {
scroll: 534352,
scrollSepolia: 534351,
scrollAlpha: 534353,
flare: 14,
flareCoston: 16,
flareCoston2: 114,
bifrost: 3068,
bifrostTestnet: 49088,
};

0 comments on commit 71b6bf5

Please sign in to comment.