Skip to content

Commit

Permalink
[thales] Change Thales strategy to pull data from OP mainnet (snapsho…
Browse files Browse the repository at this point in the history
…t-labs#508)

* Thales strategy

* Change Thales strategy to pull data from OP mainnet

* Update src/strategies/thales/index.ts

Co-authored-by: Chaitanya <[email protected]>

Co-authored-by: Chaitanya <[email protected]>
  • Loading branch information
vladanthales and ChaituVR authored Mar 29, 2022
1 parent 080bbcc commit c590122
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/strategies/thales/examples.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"decimals": 18
}
},
"network": "1",
"network": "10",
"addresses": [
"0x9f8e4ee788D9b00A3409584E18034aA7B736C396",
"0x0bc3668d2AaFa53eD5E5134bA13ec74ea195D000",
Expand All @@ -19,6 +19,6 @@
"0x49be88f0fcc3a8393a59d3688480d7d253c37d2a",
"0x27Cc4d6bc95b55a3a981BF1F1c7261CDa7bB0931"
],
"snapshot": 13562150
"snapshot": 5003555
}
]
6 changes: 3 additions & 3 deletions src/strategies/thales/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import { getAddress } from '@ethersproject/address';
import { formatUnits } from '@ethersproject/units';
import { subgraphRequest } from '../../utils';

export const author = 'vladan';
export const version = '1.0.0';
export const author = 'vpoklopic';
export const version = '1.0.1';

const THALES_SUBGRAPH_URL =
'https://api.thegraph.com/subgraphs/name/thales-markets/thales-options';
'https://api.thegraph.com/subgraphs/name/thales-markets/thales-optimism';

export async function strategy(
_space,
Expand Down

0 comments on commit c590122

Please sign in to comment.