Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register dai and link #15

Merged
merged 7 commits into from
Aug 13, 2024
Merged

Register dai and link #15

merged 7 commits into from
Aug 13, 2024

Conversation

fewensa
Copy link
Collaborator

@fewensa fewensa commented Aug 13, 2024

No description provided.

Copy link
Contributor

diff

  • configure/configure.itering.json
  • lock/lnv3__dai->xdai__arbitrum_gnosis.lock.json (New)
  • lock/lnv3__dai__arbitrum_avalanche.lock.json (New)
  • lock/lnv3__dai__arbitrum_op.lock.json (New)
  • lock/lnv3__dai__arbitrum_polygon.lock.json (New)
  • lock/lnv3__dai__avalanche_arbitrum.lock.json (New)
  • lock/lnv3__dai__op_arbitrum.lock.json (New)
  • lock/lnv3__dai__polygon_arbitrum.lock.json (New)
  • lock/lnv3__link__arbitrum_avalanche.lock.json (New)
  • lock/lnv3__link__arbitrum_op.lock.json (New)
  • lock/lnv3__link__arbitrum_polygon.lock.json (New)
  • lock/lnv3__link__avalanche_arbitrum.lock.json (New)
  • lock/lnv3__link__op_arbitrum.lock.json (New)
  • lock/lnv3__link__polygon_arbitrum.lock.json (New)
  • lock/lnv3__xdai->dai__gnosis_arbitrum.lock.json (New)

configure/configure.itering.json

--- a/_main_/outputs/configure/configure.itering.json
+++ b/outputs/configure/configure.itering.json
@@ -28,6 +28,16 @@
               "symbol": "eth",
               "minRepay": 0.1,
               "minReserved": 0
+            },
+            {
+              "symbol": "dai",
+              "minRepay": 100,
+              "minReserved": 0
+            },
+            {
+              "symbol": "link",
+              "minRepay": 10,
+              "minReserved": 0
             }
           ]
         }
@@ -45,7 +55,18 @@
               "autosupplyAmount": 1800
             }
           ],
-          "tokens": []
+          "tokens": [
+            {
+              "symbol": "dai",
+              "minRepay": 100,
+              "minReserved": 0
+            },
+            {
+              "symbol": "link",
+              "minRepay": 10,
+              "minReserved": 0
+            }
+          ]
         }
       ]
     },
@@ -146,6 +167,16 @@
               "symbol": "eth",
               "minRepay": 0.1,
               "minReserved": 0
+            },
+            {
+              "symbol": "dai",
+              "minRepay": 100,
+              "minReserved": 0
+            },
+            {
+              "symbol": "link",
+              "minRepay": 10,
+              "minReserved": 0
             }
           ]
         }
@@ -168,6 +199,16 @@
               "symbol": "usdt",
               "minRepay": 100,
               "minReserved": 0
+            },
+            {
+              "symbol": "dai",
+              "minRepay": 100,
+              "minReserved": 0
+            },
+            {
+              "symbol": "link",
+              "minRepay": 10,
+              "minReserved": 0
             }
           ]
         }

lock/lnv3__dai->xdai__arbitrum_gnosis.lock.json

--- /dev/null
+++ b/outputs/lock/lnv3__dai->xdai__arbitrum_gnosis.lock.json
@@ -0,0 +1,18 @@
+{
+  "register": {
+    "bridge": "arbitrum->gnosis",
+    "symbol": "dai->xdai",
+    "type": "lnv3",
+    "baseFee": 0.1,
+    "liquidityFeeRate": 0.1,
+    "transferLimit": 2000,
+    "deposit": 100,
+    "approve": 10000000000000,
+    "safeWalletAddress": "0x000000000Bb6a011dB294ce3F3423f00EAc4959e",
+    "sourceSafeWalletUrl": "https://safe-transaction-arbitrum.safe.global/api"
+  },
+  "hash": {
+    "origin": "100000000000000.1arbitrum->gnosis1000.10x000000000bb6a011db294ce3f3423f00eac4959ehttps://safe-transaction-arbitrum.safe.global/apidai->xdai2000lnv3",
+    "hash": "317bb76915a4c584523a9fe4bdbcdc60eff58dee7c6d94b20d15c6c5bfe2e5cd"
+  }
+}
\ No newline at end of file

lock/lnv3__dai__arbitrum_avalanche.lock.json

--- /dev/null
+++ b/outputs/lock/lnv3__dai__arbitrum_avalanche.lock.json
@@ -0,0 +1,18 @@
+{
+  "register": {
+    "bridge": "arbitrum->avalanche",
+    "symbol": "dai",
+    "type": "lnv3",
+    "baseFee": 0.1,
+    "liquidityFeeRate": 0.1,
+    "transferLimit": 2000,
+    "deposit": 100,
+    "approve": 10000000000000,
+    "safeWalletAddress": "0x000000000Bb6a011dB294ce3F3423f00EAc4959e",
+    "sourceSafeWalletUrl": "https://safe-transaction-arbitrum.safe.global/api"
+  },
+  "hash": {
+    "origin": "100000000000000.1arbitrum->avalanche1000.10x000000000bb6a011db294ce3f3423f00eac4959ehttps://safe-transaction-arbitrum.safe.global/apidai2000lnv3",
+    "hash": "39c3db21546fa5722fbe63651636fbb80a9ca942c201f3d98acf8da7c8004d3a"
+  }
+}
\ No newline at end of file

lock/lnv3__dai__arbitrum_op.lock.json

--- /dev/null
+++ b/outputs/lock/lnv3__dai__arbitrum_op.lock.json
@@ -0,0 +1,18 @@
+{
+  "register": {
+    "bridge": "arbitrum->op",
+    "symbol": "dai",
+    "type": "lnv3",
+    "baseFee": 0.1,
+    "liquidityFeeRate": 0.1,
+    "transferLimit": 2000,
+    "deposit": 100,
+    "approve": 10000000000000,
+    "safeWalletAddress": "0x000000000Bb6a011dB294ce3F3423f00EAc4959e",
+    "sourceSafeWalletUrl": "https://safe-transaction-arbitrum.safe.global/api"
+  },
+  "hash": {
+    "origin": "100000000000000.1arbitrum->op1000.10x000000000bb6a011db294ce3f3423f00eac4959ehttps://safe-transaction-arbitrum.safe.global/apidai2000lnv3",
+    "hash": "36c7a28988c21b867122b995ab454ee837b99f7a3279207eac0a1b85490c273a"
+  }
+}
\ No newline at end of file

lock/lnv3__dai__arbitrum_polygon.lock.json

--- /dev/null
+++ b/outputs/lock/lnv3__dai__arbitrum_polygon.lock.json
@@ -0,0 +1,18 @@
+{
+  "register": {
+    "bridge": "arbitrum->polygon",
+    "symbol": "dai",
+    "type": "lnv3",
+    "baseFee": 0.1,
+    "liquidityFeeRate": 0.1,
+    "transferLimit": 2000,
+    "deposit": 100,
+    "approve": 10000000000000,
+    "safeWalletAddress": "0x000000000Bb6a011dB294ce3F3423f00EAc4959e",
+    "sourceSafeWalletUrl": "https://safe-transaction-arbitrum.safe.global/api"
+  },
+  "hash": {
+    "origin": "100000000000000.1arbitrum->polygon1000.10x000000000bb6a011db294ce3f3423f00eac4959ehttps://safe-transaction-arbitrum.safe.global/apidai2000lnv3",
+    "hash": "2e8d8353ed55eb712b599dab1b5cf4b0175a7384219c6681bd254bee117ade01"
+  }
+}
\ No newline at end of file

lock/lnv3__dai__avalanche_arbitrum.lock.json

--- /dev/null
+++ b/outputs/lock/lnv3__dai__avalanche_arbitrum.lock.json
@@ -0,0 +1,18 @@
+{
+  "register": {
+    "bridge": "avalanche->arbitrum",
+    "symbol": "dai",
+    "type": "lnv3",
+    "baseFee": 0.1,
+    "liquidityFeeRate": 0.1,
+    "transferLimit": 2000,
+    "deposit": 100,
+    "approve": 10000000000000,
+    "safeWalletAddress": "0x000000000Bb6a011dB294ce3F3423f00EAc4959e",
+    "sourceSafeWalletUrl": "https://safe-transaction-avalanche.safe.global/api"
+  },
+  "hash": {
+    "origin": "100000000000000.1avalanche->arbitrum1000.10x000000000bb6a011db294ce3f3423f00eac4959ehttps://safe-transaction-avalanche.safe.global/apidai2000lnv3",
+    "hash": "38005bfc67261ccfad073ac359d09055fb3f1b76adfb1a674323df91b291eada"
+  }
+}
\ No newline at end of file

lock/lnv3__dai__op_arbitrum.lock.json

--- /dev/null
+++ b/outputs/lock/lnv3__dai__op_arbitrum.lock.json
@@ -0,0 +1,18 @@
+{
+  "register": {
+    "bridge": "op->arbitrum",
+    "symbol": "dai",
+    "type": "lnv3",
+    "baseFee": 0.1,
+    "liquidityFeeRate": 0.1,
+    "transferLimit": 2000,
+    "deposit": 100,
+    "approve": 10000000000000,
+    "safeWalletAddress": "0x000000000Bb6a011dB294ce3F3423f00EAc4959e",
+    "sourceSafeWalletUrl": "https://safe-transaction-optimism.safe.global/api"
+  },
+  "hash": {
+    "origin": "100000000000000.1op->arbitrum1000.10x000000000bb6a011db294ce3f3423f00eac4959ehttps://safe-transaction-optimism.safe.global/apidai2000lnv3",
+    "hash": "40825641008b949277f540ec1f5b6a218af0d925c9f3763832c0149f37c07a7f"
+  }
+}
\ No newline at end of file

lock/lnv3__dai__polygon_arbitrum.lock.json

--- /dev/null
+++ b/outputs/lock/lnv3__dai__polygon_arbitrum.lock.json
@@ -0,0 +1,18 @@
+{
+  "register": {
+    "bridge": "polygon->arbitrum",
+    "symbol": "dai",
+    "type": "lnv3",
+    "baseFee": 0.1,
+    "liquidityFeeRate": 0.1,
+    "transferLimit": 2000,
+    "deposit": 100,
+    "approve": 10000000000000,
+    "safeWalletAddress": "0x000000000Bb6a011dB294ce3F3423f00EAc4959e",
+    "sourceSafeWalletUrl": "https://safe-transaction-polygon.safe.global/api"
+  },
+  "hash": {
+    "origin": "100000000000000.1polygon->arbitrum1000.10x000000000bb6a011db294ce3f3423f00eac4959ehttps://safe-transaction-polygon.safe.global/apidai2000lnv3",
+    "hash": "d523eb2f8cf5b86260c0e462918376d74181f342a2f01c3ddf90aea65bd22bfc"
+  }
+}
\ No newline at end of file

lock/lnv3__link__arbitrum_avalanche.lock.json

--- /dev/null
+++ b/outputs/lock/lnv3__link__arbitrum_avalanche.lock.json
@@ -0,0 +1,18 @@
+{
+  "register": {
+    "bridge": "arbitrum->avalanche",
+    "symbol": "link",
+    "type": "lnv3",
+    "baseFee": 0.1,
+    "liquidityFeeRate": 0.1,
+    "transferLimit": 2000,
+    "deposit": 10,
+    "approve": 10000000000000,
+    "safeWalletAddress": "0x000000000Bb6a011dB294ce3F3423f00EAc4959e",
+    "sourceSafeWalletUrl": "https://safe-transaction-arbitrum.safe.global/api"
+  },
+  "hash": {
+    "origin": "100000000000000.1arbitrum->avalanche100.10x000000000bb6a011db294ce3f3423f00eac4959ehttps://safe-transaction-arbitrum.safe.global/apilink2000lnv3",
+    "hash": "c4b859e465e21ac344be5ff057b4b6a20bd066a46396d7a4c1c863bacdcb4395"
+  }
+}
\ No newline at end of file

lock/lnv3__link__arbitrum_op.lock.json

--- /dev/null
+++ b/outputs/lock/lnv3__link__arbitrum_op.lock.json
@@ -0,0 +1,18 @@
+{
+  "register": {
+    "bridge": "arbitrum->op",
+    "symbol": "link",
+    "type": "lnv3",
+    "baseFee": 0.1,
+    "liquidityFeeRate": 0.1,
+    "transferLimit": 2000,
+    "deposit": 10,
+    "approve": 10000000000000,
+    "safeWalletAddress": "0x000000000Bb6a011dB294ce3F3423f00EAc4959e",
+    "sourceSafeWalletUrl": "https://safe-transaction-arbitrum.safe.global/api"
+  },
+  "hash": {
+    "origin": "100000000000000.1arbitrum->op100.10x000000000bb6a011db294ce3f3423f00eac4959ehttps://safe-transaction-arbitrum.safe.global/apilink2000lnv3",
+    "hash": "ad728c1f892f3353476eb866cb323b4e3a96b9ed42994a305bb2cc456f48bd80"
+  }
+}
\ No newline at end of file

lock/lnv3__link__arbitrum_polygon.lock.json

--- /dev/null
+++ b/outputs/lock/lnv3__link__arbitrum_polygon.lock.json
@@ -0,0 +1,18 @@
+{
+  "register": {
+    "bridge": "arbitrum->polygon",
+    "symbol": "link",
+    "type": "lnv3",
+    "baseFee": 0.1,
+    "liquidityFeeRate": 0.1,
+    "transferLimit": 2000,
+    "deposit": 10,
+    "approve": 10000000000000,
+    "safeWalletAddress": "0x000000000Bb6a011dB294ce3F3423f00EAc4959e",
+    "sourceSafeWalletUrl": "https://safe-transaction-arbitrum.safe.global/api"
+  },
+  "hash": {
+    "origin": "100000000000000.1arbitrum->polygon100.10x000000000bb6a011db294ce3f3423f00eac4959ehttps://safe-transaction-arbitrum.safe.global/apilink2000lnv3",
+    "hash": "f2089f5b1e861d6a5523a700889bc851867964875f9dc66eee30fe2b0ecf19b0"
+  }
+}
\ No newline at end of file

lock/lnv3__link__avalanche_arbitrum.lock.json

--- /dev/null
+++ b/outputs/lock/lnv3__link__avalanche_arbitrum.lock.json
@@ -0,0 +1,18 @@
+{
+  "register": {
+    "bridge": "avalanche->arbitrum",
+    "symbol": "link",
+    "type": "lnv3",
+    "baseFee": 0.1,
+    "liquidityFeeRate": 0.1,
+    "transferLimit": 2000,
+    "deposit": 10,
+    "approve": 10000000000000,
+    "safeWalletAddress": "0x000000000Bb6a011dB294ce3F3423f00EAc4959e",
+    "sourceSafeWalletUrl": "https://safe-transaction-avalanche.safe.global/api"
+  },
+  "hash": {
+    "origin": "100000000000000.1avalanche->arbitrum100.10x000000000bb6a011db294ce3f3423f00eac4959ehttps://safe-transaction-avalanche.safe.global/apilink2000lnv3",
+    "hash": "9b74e187c9cbf7df200aacf027878546eb61fc5a1ce50abf588030e443ecdc7a"
+  }
+}
\ No newline at end of file

lock/lnv3__link__op_arbitrum.lock.json

--- /dev/null
+++ b/outputs/lock/lnv3__link__op_arbitrum.lock.json
@@ -0,0 +1,18 @@
+{
+  "register": {
+    "bridge": "op->arbitrum",
+    "symbol": "link",
+    "type": "lnv3",
+    "baseFee": 0.1,
+    "liquidityFeeRate": 0.1,
+    "transferLimit": 2000,
+    "deposit": 10,
+    "approve": 10000000000000,
+    "safeWalletAddress": "0x000000000Bb6a011dB294ce3F3423f00EAc4959e",
+    "sourceSafeWalletUrl": "https://safe-transaction-optimism.safe.global/api"
+  },
+  "hash": {
+    "origin": "100000000000000.1op->arbitrum100.10x000000000bb6a011db294ce3f3423f00eac4959ehttps://safe-transaction-optimism.safe.global/apilink2000lnv3",
+    "hash": "6c72b10dad5d9e499c8d8b943ac20fdeeeba1dfc76860d28358577c032492b17"
+  }
+}
\ No newline at end of file

lock/lnv3__link__polygon_arbitrum.lock.json

--- /dev/null
+++ b/outputs/lock/lnv3__link__polygon_arbitrum.lock.json
@@ -0,0 +1,18 @@
+{
+  "register": {
+    "bridge": "polygon->arbitrum",
+    "symbol": "link",
+    "type": "lnv3",
+    "baseFee": 0.1,
+    "liquidityFeeRate": 0.1,
+    "transferLimit": 2000,
+    "deposit": 10,
+    "approve": 10000000000000,
+    "safeWalletAddress": "0x000000000Bb6a011dB294ce3F3423f00EAc4959e",
+    "sourceSafeWalletUrl": "https://safe-transaction-polygon.safe.global/api"
+  },
+  "hash": {
+    "origin": "100000000000000.1polygon->arbitrum100.10x000000000bb6a011db294ce3f3423f00eac4959ehttps://safe-transaction-polygon.safe.global/apilink2000lnv3",
+    "hash": "7955e34b7f9940e6c24c11178d36d06bca1b67a3a0ddba32234f311ef0781904"
+  }
+}
\ No newline at end of file

lock/lnv3__xdai->dai__gnosis_arbitrum.lock.json

--- /dev/null
+++ b/outputs/lock/lnv3__xdai->dai__gnosis_arbitrum.lock.json
@@ -0,0 +1,18 @@
+{
+  "register": {
+    "bridge": "gnosis->arbitrum",
+    "symbol": "xdai->dai",
+    "type": "lnv3",
+    "baseFee": 0.1,
+    "liquidityFeeRate": 0.1,
+    "transferLimit": 2000,
+    "deposit": 100,
+    "approve": 10000000000000,
+    "safeWalletAddress": "0x000000000Bb6a011dB294ce3F3423f00EAc4959e",
+    "sourceSafeWalletUrl": "https://safe-transaction-gnosis-chain.safe.global/api"
+  },
+  "hash": {
+    "origin": "100000000000000.1gnosis->arbitrum1000.10x000000000bb6a011db294ce3f3423f00eac4959ehttps://safe-transaction-gnosis-chain.safe.global/apixdai->dai2000lnv3",
+    "hash": "42c5010e2ce9abdc61a238b26193839d4e790ecfc2035f1194ebd95091a622d4"
+  }
+}
\ No newline at end of file

See the workflow run

Copy link
Contributor

configure changes:

outputs/configure/configure.itering.json
{
  "indexer": "https://apollo.helixbridge.app/graphql",
  "relayGasLimit": 600000,
  "rpcnodes": [
    {
      "name": "arbitrum",
      "lendMarket": [
        {
          "protocol": "aave",
          "healthFactorLimit": 3,
          "collaterals": [
            {
              "symbol": "eth",
              "autosupplyAmount": 0.9
            },
            {
              "symbol": "usdc",
              "autosupplyAmount": 2000
            }
          ],
          "tokens": [
            {
              "symbol": "usdt",
              "minRepay": 100,
              "minReserved": 0
            },
            {
              "symbol": "eth",
              "minRepay": 0.1,
              "minReserved": 0
            },
            {
              "symbol": "dai",
              "minRepay": 100,
              "minReserved": 0
            },
            {
              "symbol": "link",
              "minRepay": 10,
              "minReserved": 0
            }
          ]
        }
      ]
    },
    {
      "name": "avalanche",
      "lendMarket": [
        {
          "protocol": "aave",
          "healthFactorLimit": 3,
          "collaterals": [
            {
              "symbol": "usdc",
              "autosupplyAmount": 1800
            }
          ],
          "tokens": [
            {
              "symbol": "dai",
              "minRepay": 100,
              "minReserved": 0
            },
            {
              "symbol": "link",
              "minRepay": 10,
              "minReserved": 0
            }
          ]
        }
      ]
    },
    {
      "name": "base",
      "lendMarket": [
        {
          "protocol": "aave",
          "healthFactorLimit": 3,
          "collaterals": [
            {
              "symbol": "eth",
              "autosupplyAmount": 0.9
            },
            {
              "symbol": "usdc",
              "autosupplyAmount": 1800
            }
          ],
          "tokens": [
            {
              "symbol": "eth",
              "minRepay": 0.1,
              "minReserved": 0
            }
          ]
        }
      ]
    },
    {
      "name": "blast"
    },
    {
      "name": "bsc",
      "lendMarket": [
        {
          "protocol": "aave",
          "healthFactorLimit": 3,
          "collaterals": [
            {
              "symbol": "usdc",
              "autosupplyAmount": 1800
            }
          ],
          "tokens": []
        }
      ]
    },
    {
      "name": "crab-dvm"
    },
    {
      "name": "darwinia-dvm"
    },
    {
      "name": "ethereum"
    },
    {
      "name": "gnosis",
      "lendMarket": [
        {
          "protocol": "aave",
          "healthFactorLimit": 3,
          "collaterals": [
            {
              "symbol": "usdc",
              "autosupplyAmount": 1800
            }
          ],
          "tokens": []
        }
      ]
    },
    {
      "name": "mantle"
    },
    {
      "name": "moonbeam"
    },
    {
      "name": "op",
      "lendMarket": [
        {
          "protocol": "aave",
          "healthFactorLimit": 3,
          "collaterals": [
            {
              "symbol": "eth",
              "autosupplyAmount": 0.9
            },
            {
              "symbol": "usdc",
              "autosupplyAmount": 1800
            }
          ],
          "tokens": [
            {
              "symbol": "eth",
              "minRepay": 0.1,
              "minReserved": 0
            },
            {
              "symbol": "dai",
              "minRepay": 100,
              "minReserved": 0
            },
            {
              "symbol": "link",
              "minRepay": 10,
              "minReserved": 0
            }
          ]
        }
      ]
    },
    {
      "name": "polygon",
      "lendMarket": [
        {
          "protocol": "aave",
          "healthFactorLimit": 3,
          "collaterals": [
            {
              "symbol": "usdc",
              "autosupplyAmount": 1800
            }
          ],
          "tokens": [
            {
              "symbol": "usdt",
              "minRepay": 100,
              "minReserved": 0
            },
            {
              "symbol": "dai",
              "minRepay": 100,
              "minReserved": 0
            },
            {
              "symbol": "link",
              "minRepay": 10,
              "minReserved": 0
            }
          ]
        }
      ]
    },
    {
      "name": "scroll",
      "lendMarket": [
        {
          "protocol": "aave",
          "healthFactorLimit": 3,
          "collaterals": [
            {
              "symbol": "eth",
              "autosupplyAmount": 0.9
            },
            {
              "symbol": "usdc",
              "autosupplyAmount": 1800
            }
          ],
          "tokens": [
            {
              "symbol": "eth",
              "minRepay": 0.1,
              "minReserved": 0
            }
          ]
        }
      ]
    }
  ],
  "bridges": [
    {
      "direction": "arbitrum->ethereum",
      "feeLimit": 100,
      "reorgThreshold": 100,
      "microReorgThreshold": 120,
      "bridgeType": "lnv2-opposite",
      "safeWalletAddress": "0x000000000Bb6a011dB294ce3F3423f00EAc4959e",
      "safeWalletUrl": "https://safe-transaction-mainnet.safe.global/api",
      "safeWalletRole": "<safe_wallet_role>",
      "encryptedPrivateKey": "<encrypted_private_key>",
      "tokens": [
        {
          "symbol": "ring->ring",
          "swapRate": 1
        }
      ]
    },
    {
      "direction": "ethereum->arbitrum",
      "feeLimit": 100,
      "reorgThreshold": 100,
      "bridgeType": "lnv2-default",
      "safeWalletAddress": "0x000000000Bb6a011dB294ce3F3423f00EAc4959e",
      "safeWalletUrl": "https://safe-transaction-arbitrum.safe.global/api",
      "safeWalletRole": "<safe_wallet_role>",
      "encryptedPrivateKey": "<encrypted_private_key>",
      "tokens": [
        {
          "symbol": "ring->ring",
          "swapRate": 1
        }
      ]
    },
    {
      "direction": "arbitrum->polygon",
      "feeLimit": 0.01,
      "reorgThreshold": 200,
      "microReorgThreshold": 30,
      "bridgeType": "lnv3",
      "safeWalletAddress": "0x000000000Bb6a011dB294ce3F3423f00EAc4959e",
      "safeWalletUrl": "https://safe-transaction-polygon.safe.global/api",
      "safeWalletRole": "<safe_wallet_role>",
      "encryptedPrivateKey": "<encrypted_private_key>",
      "tokens": [
        {
          "symbol": "usdt->usdt",
          "swapRate": 1,
          "withdrawLiquidityCountThreshold": 10,
          "microThreshold": 50
        }
      ]
    },
    {
      "direction": "polygon->arbitrum",
      "feeLimit": 0.1,
      "reorgThreshold": 200,
      "microReorgThreshold": 30,
      "bridgeType": "lnv3",
      "safeWalletAddress": "0x000000000Bb6a011dB294ce3F3423f00EAc4959e",
      "safeWalletUrl": "https://safe-transaction-arbitrum.safe.global/api",
      "safeWalletRole": "<safe_wallet_role>",
      "encryptedPrivateKey": "<encrypted_private_key>",
      "tokens": [
        {
          "symbol": "usdt->usdt",
          "swapRate": 1,
          "withdrawLiquidityCountThreshold": 10,
          "microThreshold": 50
        }
      ]
    },
    {
      "direction": "arbitrum->scroll",
      "feeLimit": 100,
      "reorgThreshold": 200,
      "microReorgThreshold": 120,
      "bridgeType": "lnv3",
      "safeWalletAddress": "0x000000000Bb6a011dB294ce3F3423f00EAc4959e",
      "safeWalletUrl": "https://safe-transaction-scroll.safe.global/api",
      "safeWalletRole": "<safe_wallet_role>",
      "encryptedPrivateKey": "<encrypted_private_key>",
      "tokens": [
        {
          "symbol": "usdt->usdt",
          "swapRate": 2300,
          "withdrawLiquidityCountThreshold": 10
        },
        {
          "symbol": "usdc->usdc",
          "swapRate": 1,
          "withdrawLiquidityCountThreshold": 10,
          "microThreshold": 50
        },
        {
          "symbol": "eth->eth",
          "swapRate": 1,
          "withdrawLiquidityCountThreshold": 10,
          "microThreshold": 0.01
        }
      ]
    },
    {
      "direction": "scroll->arbitrum",
      "feeLimit": 150,
      "reorgThreshold": 200,
      "microReorgThreshold": 30,
      "bridgeType": "lnv3",
      "safeWalletAddress": "0x000000000Bb6a011dB294ce3F3423f00EAc4959e",
      "safeWalletUrl": "https://safe-transaction-arbitrum.safe.global/api",
      "safeWalletRole": "<safe_wallet_role>",
      "encryptedPrivateKey": "<encrypted_private_key>",
      "tokens": [
        {
          "symbol": "usdt->usdt",
          "swapRate": 2300,
          "withdrawLiquidityCountThreshold": 10
        },
        {
          "symbol": "usdc->usdc",
          "swapRate": 1,
          "withdrawLiquidityCountThreshold": 10,
          "microThreshold": 50
        },
        {
          "symbol": "eth->eth",
          "swapRate": 1,
          "withdrawLiquidityCountThreshold": 10,
          "microThreshold": 0.01
        }
      ]
    },
    {
      "direction": "darwinia-dvm->ethereum",
      "feeLimit": 100,
      "reorgThreshold": 10,
      "bridgeType": "lnv2-opposite",
      "safeWalletAddress": "0x000000000Bb6a011dB294ce3F3423f00EAc4959e",
      "safeWalletUrl": "https://safe-transaction-mainnet.safe.global/api",
      "safeWalletRole": "<safe_wallet_role>",
      "encryptedPrivateKey": "<encrypted_private_key>",
      "tokens": [
        {
          "symbol": "ring->ring",
          "swapRate": 1
        }
      ]
    },
    {
      "direction": "ethereum->darwinia-dvm",
      "feeLimit": 100,
      "reorgThreshold": 10,
      "bridgeType": "lnv2-default",
      "safeWalletAddress": "0x000000000Bb6a011dB294ce3F3423f00EAc4959e",
      "safeWalletUrl": "https://dsafe.dcdao.box/txs/api",
      "safeWalletRole": "<safe_wallet_role>",
      "encryptedPrivateKey": "<encrypted_private_key>",
      "tokens": [
        {
          "symbol": "ring->ring",
          "swapRate": 1
        }
      ]
    },
    {
      "direction": "polygon->scroll",
      "feeLimit": 100,
      "reorgThreshold": 200,
      "microReorgThreshold": 30,
      "bridgeType": "lnv3",
      "safeWalletAddress": "0x000000000Bb6a011dB294ce3F3423f00EAc4959e",
      "safeWalletUrl": "https://safe-transaction-scroll.safe.global/api",
      "safeWalletRole": "<safe_wallet_role>",
      "encryptedPrivateKey": "<encrypted_private_key>",
      "tokens": [
        {
          "symbol": "usdt->usdt",
          "swapRate": 2300,
          "withdrawLiquidityCountThreshold": 10
        }
      ]
    },
    {
      "direction": "scroll->polygon",
      "feeLimit": 150,
      "reorgThreshold": 200,
      "microReorgThreshold": 30,
      "bridgeType": "lnv3",
      "safeWalletAddress": "0x000000000Bb6a011dB294ce3F3423f00EAc4959e",
      "safeWalletUrl": "https://safe-transaction-polygon.safe.global/api",
      "safeWalletRole": "<safe_wallet_role>",
      "encryptedPrivateKey": "<encrypted_private_key>",
      "tokens": [
        {
          "symbol": "usdt->usdt",
          "swapRate": 2300,
          "withdrawLiquidityCountThreshold": 10
        }
      ]
    }
  ]
}
outputs/configure/configure.testnet.json
{
  "indexer": "https://apollo.helixbridge.app/graphql",
  "relayGasLimit": 600000,
  "rpcnodes": [
    {
      "name": "sepolia",
      "fixedGasPrice": 10,
      "rpc": "https://ethereum-sepolia-rpc.publicnode.com"
    },
    {
      "name": "arbitrum-sepolia",
      "rpc": "https://arbitrum-sepolia.blockpi.network/v1/rpc/public"
    }
  ],
  "bridges": [
    {
      "direction": "arbitrum-sepolia->sepolia",
      "feeLimit": 100,
      "reorgThreshold": 10,
      "bridgeType": "lnv3",
      "safeWalletAddress": "0x086962e147c82C037872fa87523faa139D38ee61",
      "safeWalletUrl": "https://safe-transaction-sepolia.safe.global/api",
      "encryptedPrivateKey": "aabbccddee",
      "tokens": [
        {
          "symbol": "usdc->usdc",
          "swapRate": 2000,
          "withdrawLiquidityCountThreshold": 10
        }
      ]
    },
    {
      "direction": "sepolia->arbitrum-sepolia",
      "feeLimit": 100,
      "reorgThreshold": 10,
      "bridgeType": "lnv3",
      "tokens": [
        {
          "symbol": "usdc->usdc",
          "swapRate": 2300,
          "withdrawLiquidityCountThreshold": 10
        }
      ]
    }
  ]
}

@fewensa fewensa merged commit d77556b into main Aug 13, 2024
1 check passed
@fewensa fewensa deleted the reg-dai branch August 13, 2024 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant