Skip to content

Commit

Permalink
feat: add opimistic kovan support (#10)
Browse files Browse the repository at this point in the history
* feat: add optimistic kovan support

* chore: bump version
  • Loading branch information
goums authored Jun 27, 2022
1 parent efb1b22 commit 1287fd9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gelatonetwork/ops-sdk",
"version": "0.1.3",
"version": "0.1.4",
"description": "SDK to create Gelato Ops tasks",
"url": "https://github.com/gelatodigital/ops-sdk",
"main": "dist/index.js",
Expand Down
6 changes: 6 additions & 0 deletions src/constants/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/naming-convention */
import { GelatoAddressBook } from "../types";

export const OPS_TASKS_API =
Expand All @@ -13,6 +14,7 @@ export const CHAIN_ID = {
OPTIMISM: 10,
CRONOS: 25,
KOVAN: 42,
OPTIMISTIC_KOVAN: 69,
BSC: 56,
GNOSIS: 100,
MATIC: 137,
Expand Down Expand Up @@ -45,6 +47,10 @@ export const GELATO_ADDRESSES: GelatoAddressBook = {
ops: "0x6c3224f9b3feE000A444681d5D45e4532D5BA531",
forwarder: "0x4055cb250Ec8d539C5222EAa71fa7e30Fe94f8e9",
},
[CHAIN_ID.OPTIMISTIC_KOVAN]: {
ops: "0xB3f5503f93d5Ef84b06993a1975B9D21B962892F",
forwarder: "0xa5f9b728ecEB9A1F6FCC89dcc2eFd810bA4Dec41",
},
[CHAIN_ID.MATIC]: {
ops: "0x527a819db1eb0e34426297b03bae11F2f8B3A19E",
forwarder: "0xCd8eE05B92746Ef168460D8809bDb26b7321ec30",
Expand Down

0 comments on commit 1287fd9

Please sign in to comment.