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": []
}
}}
Submitted on: 2025-11-07 10:38:42
Comments
Log in to comment.
No comments yet.