File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 8
8
type CustomTransport ,
9
9
type FallbackTransport ,
10
10
createPublicClient ,
11
- http , toHex
11
+ http ,
12
+ toHex
12
13
} from "viem"
13
14
import {
14
15
// evmSameChainTransfer,
@@ -33,7 +34,6 @@ import type {
33
34
TransferAssetParameters
34
35
} from "../types.ts"
35
36
import { ucs03ZkgmAbi } from "../abi/ucs-03.ts"
36
- import { bech32AddressToHex } from "../convert.ts"
37
37
import { generateSalt , timestamp } from "../utilities/index.ts"
38
38
export { sepolia , scrollSepolia , arbitrumSepolia , berachainTestnetbArtio }
39
39
@@ -107,9 +107,7 @@ export const createEvmClient = (parameters: EvmClientParameters) => {
107
107
*/
108
108
args : [
109
109
sourceChannelId ,
110
- receiver . startsWith ( "0x" )
111
- ? getAddress ( receiver )
112
- : toHex ( receiver ) ,
110
+ receiver . startsWith ( "0x" ) ? getAddress ( receiver ) : toHex ( receiver ) ,
113
111
baseToken ,
114
112
baseAmount ,
115
113
quoteToken ,
You can’t perform that action at this time.
0 commit comments