Added contract in channel functions
Added contract in channel functions