Skip to content

Commit

Permalink
feat: add core mainnet
Browse files Browse the repository at this point in the history
Signed-off-by: Reinis Martinsons <reinis@umaproject.org>
  • Loading branch information
Reinis-FRP committed Feb 13, 2024
1 parent ba0729e commit 7e1f79b
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
18 changes: 18 additions & 0 deletions src/plugins/oSnap/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1417,6 +1417,15 @@ export const contractData = [
'https://api.thegraph.com/subgraphs/name/umaprotocol/avalanche-optimistic-oracle-v3',
deployBlock: 27816737
},
{
// core
network: '1116',
name: 'OptimisticOracleV3',
address: '0xD84ACa67d683aF7702705141b3C7E57e4e5e7726',
subgraph:
'https://thegraph.coredao.org/subgraphs/name/umaprotocol/core-optimistic-oracle-v3',
deployBlock: 11341063
},
{
// mainnet
network: '1',
Expand Down Expand Up @@ -1480,6 +1489,15 @@ export const contractData = [
deployBlock: 28050250,
subgraph:
'https://api.thegraph.com/subgraphs/name/umaprotocol/avalanche-optimistic-governor'
},
{
// core
network: '1116',
name: 'OptimisticGovernor',
address: '0x596Fd6A5A185c67aBD1c845b39f593fBA9C233aa',
deployBlock: 11341122,
subgraph:
'https://thegraph.coredao.org/subgraphs/name/umaprotocol/core-optimistic-governor'
}
] as const;

Expand Down
22 changes: 21 additions & 1 deletion src/plugins/safeSnap/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ export const EIP3770_PREFIXES = {
246: 'ewt',
73799: 'vt',
42161: 'arb1',
137: 'matic'
137: 'matic',
1116: 'core'
};

export const EXPLORER_API_URLS = {
Expand Down Expand Up @@ -348,6 +349,7 @@ export const MULTI_SEND_V1_3_0 = {
'288': '0x998739BFdAAdde7C933B942a68053933098f9EDa',
'588': '0x998739BFdAAdde7C933B942a68053933098f9EDa',
'1088': '0x998739BFdAAdde7C933B942a68053933098f9EDa',
'1116': '0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761',
'1285': '0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761',
'1287': '0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761',
'4002': '0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761',
Expand Down Expand Up @@ -460,6 +462,15 @@ export const contractData: ContractData[] = [
'https://api.thegraph.com/subgraphs/name/umaprotocol/avalanche-optimistic-oracle-v3',
deployBlock: 27816737
},
{
// core
network: '43114',
name: 'OptimisticOracleV3',
address: '0xD84ACa67d683aF7702705141b3C7E57e4e5e7726',
subgraph:
'https://thegraph.coredao.org/subgraphs/name/umaprotocol/core-optimistic-oracle-v3',
deployBlock: 11341063
},
{
// mainnet
network: '1',
Expand Down Expand Up @@ -523,5 +534,14 @@ export const contractData: ContractData[] = [
deployBlock: 28050250,
subgraph:
'https://api.thegraph.com/subgraphs/name/umaprotocol/avalanche-optimistic-governor'
},
{
// core
network: '1116',
name: 'OptimisticGovernor',
address: '0x596Fd6A5A185c67aBD1c845b39f593fBA9C233aa',
deployBlock: 11341122,
subgraph:
'https://thegraph.coredao.org/subgraphs/name/umaprotocol/core-optimistic-governor'
}
];

0 comments on commit 7e1f79b

Please sign in to comment.