[catapult] don't use GetPos macros but state interface directly