check_is_banned_baker
Last updated
Last updated
This on-chain view checks if baker on the specific contract is banned or not. If baker is banned, voting for him is not possible.
pair_id
token_id_t (nat)
Pair ID for which you need to check if baker is banned or not
baker
is_banned_baker_t (key_hash)
Baker to check
108
- pair (pool) with the specified token_id
not listed.
113
- a contract not found (not TOK/TEZ LP pair).
125
- view of contract isn't found.