From 1287fd9c5daa6735393320d50b960fa474ad4a2a Mon Sep 17 00:00:00 2001 From: Goums Date: Mon, 27 Jun 2022 12:59:56 +0200 Subject: [PATCH] feat: add opimistic kovan support (#10) * feat: add optimistic kovan support * chore: bump version --- package.json | 2 +- src/constants/index.ts | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 2b4f326..2a9a73b 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/constants/index.ts b/src/constants/index.ts index 032e7b9..5714c2b 100644 --- a/src/constants/index.ts +++ b/src/constants/index.ts @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/naming-convention */ import { GelatoAddressBook } from "../types"; export const OPS_TASKS_API = @@ -13,6 +14,7 @@ export const CHAIN_ID = { OPTIMISM: 10, CRONOS: 25, KOVAN: 42, + OPTIMISTIC_KOVAN: 69, BSC: 56, GNOSIS: 100, MATIC: 137, @@ -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",