Skip to content

Commit

Permalink
udpate lnbridge address
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoch05 committed Oct 11, 2023
1 parent c08ee6e commit ccf7008
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 50 deletions.
8 changes: 4 additions & 4 deletions packages/apps/src/bridges/lnbridge-default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ export class LnBridgeDefault extends LnBridgeBase {
private initContract() {
if (this.sourceChain === "linea-goerli" && this.targetChain === "goerli") {
this.contract = {
sourceAddress: "0x79e6f452f1e491a7aF0382FA0a6EF9368691960D",
targetAddress: "0x79e6f452f1e491a7aF0382FA0a6EF9368691960D",
sourceAddress: "0x4C538EfA6e3f9Dfb939AA4F0B224577DA665923a",
targetAddress: "0x4C538EfA6e3f9Dfb939AA4F0B224577DA665923a",
};
} else if (!isProduction()) {
this.contract = {
sourceAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
targetAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
sourceAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
targetAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
};
}
}
Expand Down
4 changes: 2 additions & 2 deletions packages/apps/src/bridges/lnbridge-opposite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ export class LnBridgeOpposite extends LnBridgeBase {
};
} else if (this.sourceChain === "linea-goerli" && this.targetChain === "goerli") {
this.contract = {
sourceAddress: "0x79e6f452f1e491a7aF0382FA0a6EF9368691960D",
targetAddress: "0x79e6f452f1e491a7aF0382FA0a6EF9368691960D",
sourceAddress: "0x4C538EfA6e3f9Dfb939AA4F0B224577DA665923a",
targetAddress: "0x4C538EfA6e3f9Dfb939AA4F0B224577DA665923a",
};
}
}
Expand Down
88 changes: 44 additions & 44 deletions packages/apps/src/config/cross-chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
// bridge: {
// category: "lnbridgev20-default",
// contract: {
// sourceAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
// targetAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
// sourceAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
// targetAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
// },
// },
// tokens: [
Expand All @@ -22,8 +22,8 @@
// bridge: {
// category: "lnbridgev20-default",
// contract: {
// sourceAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
// targetAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
// sourceAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
// targetAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
// },
// },
// tokens: [
Expand All @@ -37,8 +37,8 @@
// bridge: {
// category: "lnbridgev20-default",
// contract: {
// sourceAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
// targetAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
// sourceAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
// targetAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
// },
// },
// tokens: [
Expand All @@ -52,8 +52,8 @@
// bridge: {
// category: "lnbridgev20-default",
// contract: {
// sourceAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
// targetAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
// sourceAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
// targetAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
// },
// },
// tokens: [
Expand All @@ -67,8 +67,8 @@
// bridge: {
// category: "lnbridgev20-default",
// contract: {
// sourceAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
// targetAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
// sourceAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
// targetAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
// },
// },
// tokens: [
Expand All @@ -82,8 +82,8 @@
// bridge: {
// category: "lnbridgev20-opposite",
// contract: {
// sourceAddress: "0x79e6f452f1e491a7aF0382FA0a6EF9368691960D",
// targetAddress: "0x79e6f452f1e491a7aF0382FA0a6EF9368691960D",
// sourceAddress: "0x4C538EfA6e3f9Dfb939AA4F0B224577DA665923a",
// targetAddress: "0x4C538EfA6e3f9Dfb939AA4F0B224577DA665923a",
// },
// },
// tokens: [
Expand All @@ -97,8 +97,8 @@
// bridge: {
// category: "lnbridgev20-default",
// contract: {
// sourceAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
// targetAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
// sourceAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
// targetAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
// },
// },
// tokens: [
Expand All @@ -112,8 +112,8 @@
// bridge: {
// category: "lnbridgev20-default",
// contract: {
// sourceAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
// targetAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
// sourceAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
// targetAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
// },
// },
// tokens: [
Expand All @@ -127,8 +127,8 @@
// bridge: {
// category: "lnbridgev20-default",
// contract: {
// sourceAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
// targetAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
// sourceAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
// targetAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
// },
// },
// tokens: [
Expand All @@ -142,8 +142,8 @@
// bridge: {
// category: "lnbridgev20-default",
// contract: {
// sourceAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
// targetAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
// sourceAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
// targetAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
// },
// },
// tokens: [
Expand All @@ -157,8 +157,8 @@
// bridge: {
// category: "lnbridgev20-default",
// contract: {
// sourceAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
// targetAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
// sourceAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
// targetAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
// },
// },
// tokens: [
Expand Down Expand Up @@ -190,8 +190,8 @@ export const crossChain = {
"linea-goerli": {
"lnbridgev20-default": {
contract: {
sourceAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
targetAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
sourceAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
targetAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
},
tokens: [
{ sourceToken: "USDC", targetToken: "USDC" },
Expand All @@ -202,8 +202,8 @@ export const crossChain = {
"mantle-goerli": {
"lnbridgev20-default": {
contract: {
sourceAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
targetAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
sourceAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
targetAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
},
tokens: [
{ sourceToken: "USDC", targetToken: "USDC" },
Expand All @@ -216,8 +216,8 @@ export const crossChain = {
"arbitrum-goerli": {
"lnbridgev20-default": {
contract: {
sourceAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
targetAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
sourceAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
targetAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
},
tokens: [
{ sourceToken: "USDC", targetToken: "USDC" },
Expand All @@ -228,8 +228,8 @@ export const crossChain = {
"linea-goerli": {
"lnbridgev20-default": {
contract: {
sourceAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
targetAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
sourceAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
targetAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
},
tokens: [
{ sourceToken: "USDC", targetToken: "USDC" },
Expand All @@ -240,8 +240,8 @@ export const crossChain = {
"mantle-goerli": {
"lnbridgev20-default": {
contract: {
sourceAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
targetAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
sourceAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
targetAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
},
tokens: [
{ sourceToken: "USDC", targetToken: "USDC" },
Expand All @@ -254,8 +254,8 @@ export const crossChain = {
goerli: {
"lnbridgev20-opposite": {
contract: {
sourceAddress: "0x79e6f452f1e491a7aF0382FA0a6EF9368691960D",
targetAddress: "0x79e6f452f1e491a7aF0382FA0a6EF9368691960D",
sourceAddress: "0x4C538EfA6e3f9Dfb939AA4F0B224577DA665923a",
targetAddress: "0x4C538EfA6e3f9Dfb939AA4F0B224577DA665923a",
},
tokens: [
{ sourceToken: "USDC", targetToken: "USDC" },
Expand All @@ -266,8 +266,8 @@ export const crossChain = {
"arbitrum-goerli": {
"lnbridgev20-default": {
contract: {
sourceAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
targetAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
sourceAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
targetAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
},
tokens: [
{ sourceToken: "USDC", targetToken: "USDC" },
Expand All @@ -278,8 +278,8 @@ export const crossChain = {
"mantle-goerli": {
"lnbridgev20-default": {
contract: {
sourceAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
targetAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
sourceAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
targetAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
},
tokens: [
{ sourceToken: "USDC", targetToken: "USDC" },
Expand All @@ -292,8 +292,8 @@ export const crossChain = {
goerli: {
"lnbridgev20-default": {
contract: {
sourceAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
targetAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
sourceAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
targetAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
},
tokens: [
{ sourceToken: "USDC", targetToken: "USDC" },
Expand All @@ -304,8 +304,8 @@ export const crossChain = {
"arbitrum-goerli": {
"lnbridgev20-default": {
contract: {
sourceAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
targetAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
sourceAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
targetAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
},
tokens: [
{ sourceToken: "USDC", targetToken: "USDC" },
Expand All @@ -316,8 +316,8 @@ export const crossChain = {
"linea-goerli": {
"lnbridgev20-default": {
contract: {
sourceAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
targetAddress: "0x54cc9716905ba8ebdD01E6364125cA338Cd0054E",
sourceAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
targetAddress: "0x7e101911E5FB461d78FBde3992f76F3Bf8BbA829",
},
tokens: [
{ sourceToken: "USDC", targetToken: "USDC" },
Expand Down

0 comments on commit ccf7008

Please sign in to comment.