barter type in params