Skip to content

Commit

Permalink
fix educhain
Browse files Browse the repository at this point in the history
  • Loading branch information
g1nt0ki committed Nov 11, 2024
1 parent c7b7121 commit 59f183f
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 19 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/adapters/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/adapters/peggedAssets/dai/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export const chainContracts: ChainContracts = {
morph: {
bridgeOnETH: ["0xA534BAdd09b4C62B7B1C32C41dF310AA17b52ef1"],
},
educhain: {
bridgeOnETH: ["0x22fa593845fDa46Db5784f519B3364432a1d4203"],
occ: {
bridgedFromETH: ["0x22fa593845fDa46Db5784f519B3364432a1d4203"],
},
};
4 changes: 2 additions & 2 deletions src/adapters/peggedAssets/dai/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,8 @@ const adapter: PeggedIssuanceAdapter = {
18
)
},
educhain: {
ethereum: bridgedSupply("educhain", 18, chainContracts.educhain.bridgedFromETH),
occ: {
ethereum: bridgedSupply("occ", 18, chainContracts.occ.bridgedFromETH),
},
};

Expand Down
2 changes: 1 addition & 1 deletion src/adapters/peggedAssets/helper/chains.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"defichain",
"dfk",
"dogechain",
"educhain",
"occ",
"elastos",
"elrond",
"emoney",
Expand Down
2 changes: 1 addition & 1 deletion src/adapters/peggedAssets/tether/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ export const chainContracts: ChainContracts = {
morph: {
bridgeOnETH: ["0x44c28f61A5C2Dd24Fc71D7Df8E85e18af4ab2Bd8"],
},
educhain: {
occ: {
bridgeOnETH: ["0x7277Cc818e3F3FfBb169c6Da9CC77Fc2d2a34895"],
},
};
4 changes: 2 additions & 2 deletions src/adapters/peggedAssets/tether/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1062,8 +1062,8 @@ const adapter: PeggedIssuanceAdapter = {
6
)
},
educhain: {
ethereum: bridgedSupply("educhain", 6, chainContracts.educhain.bridgedFromETH),
occ: {
ethereum: bridgedSupply("occ", 6, chainContracts.occ.bridgedFromETH),
},
};

Expand Down
4 changes: 2 additions & 2 deletions src/adapters/peggedAssets/usd-coin/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ export const chainContracts: ChainContracts = {
morph: {
bridgeOnETH: ["0xc9045350712A1DCC3A74Eca18Bc985424Bbe7535"],
},
educhain: {
bridgeOnETH: ["0x836d275563bAb5E93Fd6Ca62a95dB7065Da94342"],
occ: {
bridgedFromETH: ["0x836d275563bAb5E93Fd6Ca62a95dB7065Da94342"],
},
};
4 changes: 2 additions & 2 deletions src/adapters/peggedAssets/usd-coin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -930,8 +930,8 @@ const adapter: PeggedIssuanceAdapter = {
6
)
},
educhain: {
ethereum: bridgedSupply("educhain", 6, chainContracts.educhain.bridgedFromETH),
occ: {
ethereum: bridgedSupply("occ", 6, chainContracts.occ.bridgedFromETH),
},
};

Expand Down
2 changes: 1 addition & 1 deletion src/utils/normalizeChain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1366,7 +1366,7 @@ export function getChainDisplayName(
return "Noble"
case "xlayer":
return "X Layer"
case "educhain":
case "occ":
return "EDU Chain"
case "klaytn":
return useNewChainNames ? "Kaia" : "Klaytn";
Expand Down

0 comments on commit 59f183f

Please sign in to comment.