import { uplinkClient } from './config'
import { CUSTOM_FEES } from '@tx-kit/sdk/constants'
const channelAddress = '0x1234567890123456789012345678901234567890'
const feeContract = CUSTOM_FEES
const feeArgs = {
channelTreasury: '0x1234567890123456789012345678901234567890',
uplinkPercentage: 10,
channelPercentage: 15,
creatorPercentage: 60,
mintReferralPercentage: 5,
sponsorPercentage: 10,
ethMintPrice: parseEther('0.000666'),
erc20MintPrice: parseEther('0.000666'),
erc20Contract: baseSepoliaWETH
}
const { event } = await uplinkClient.updateChannelFees({
channelAddress,
{ feeContract, feeArgs }
})