ban
Last updated
Last updated
An entrypoint that can ban or unban a baker on the specified contract. Users can't vote for a baker who has been banned by an administrator.
baker
key_hash
A baker to ban or unban
ban_period
nat
Period of banning (in seconds). Must be 0 to unban a baker
pair_id
token_id_t (nat)
Pool's ID where need to ban a baker
ban_params
Parameters of banning
108
- pair (pool) with the specified token_id
not listed.
400
- sender
of the transaction is not current administrator.
412
- non payable entrypoint (can't accept TEZ tokens during call of an entrypoint).
113
- a contract not found (not TOK/TEZ LP pair).