BridgeHelper

Description:

Smart contract deployed on Ethereum with Factory features.

Blockchain: Ethereum

Source Code: View Code On The Blockchain

Solidity Source Code:

{{
  "language": "Solidity",
  "sources": {
    "brigehelper.sol": {
      "content": "// SPDX-License-Identifier: MIT\r
pragma solidity ^0.8.0;\r
\r
interface IKlaytnBridge {\r
    function bridgeToken(\r
        address _token,\r
        uint256 _amount,\r
        uint256 _destChain,\r
        bytes calldata _destAddr\r
    ) external;\r
}\r
\r
contract BridgeHelper {\r
    function sendToKaia(\r
        address _bridgeAddr,\r
        address _tokenAddr,\r
        uint256 _amount,\r
        address _destAddrKaia\r
    ) external {\r
        bytes memory destAddrBytes = abi.encodePacked(_destAddrKaia);\r
        IKlaytnBridge(_bridgeAddr).bridgeToken(_tokenAddr, _amount, 8217, destAddrBytes);\r
    }\r
}"
    }
  },
  "settings": {
    "optimizer": {
      "enabled": false,
      "runs": 200
    },
    "outputSelection": {
      "*": {
        "*": [
          "evm.bytecode",
          "evm.deployedBytecode",
          "devdoc",
          "userdoc",
          "metadata",
          "abi"
        ]
      }
    },
    "remappings": []
  }
}}

Tags:
Factory|addr:0x5296012a1c11607e33de4632db2303f79968f22a|verified:true|block:23742768|tx:0x7a4018a285e975c39cb830c0180b0ef270c9ecb2136335ff854e68b6a505ea8b|first_check:1762508321

Submitted on: 2025-11-07 10:38:42

Comments

Log in to comment.

No comments yet.