Skip to content

Make view's params consistent with existing definitions

Problem: TZIP-12 from the very beginning defines views like get_balance, and recently a TZIP-16-related edit was introduced which defines similar off-chain views.

However, parameter parts there go in a different order, which is not good since it adds a congitive overhead for the reader and complicates code reuse.

Solution: adjust parameters of get_balance and is_operator off-chain views to match their on-chain counterparts.

Edited by Konstantin Ivanov

Merge request reports