check_is_banned_baker
This on-chain view checks if baker on the specific Bucket contract is banned or not. If baker is banned, voting for him is not possible.
Call parameters
Field
Type
Description
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
Return type
Usage
Errors
108
- pair (pool) with the specifiedtoken_id
not listed.113
- a Bucket contract not found (not TOK/TEZ LP pair).125
- is_banned_baker view of Bucket contract isn't found.
Last updated