ban_baker
Last updated
An entrypoint that bans or unbans bakers on this Bucket contract. Voting for a banned baker is not possible.
type ban_baker_t is [@layout:comb] record [
baker : key_hash;
ban_period : nat;
]baker
key_hash
Baker for banning or unbanning
ban_period
nat
Period for ban (0 to unban a baker)
Only DexCore contract can call this entrypoint.
403 - sender of the transaction is not DexCore contract.
412 - non payable entrypoint (can't accept TEZ tokens during call of an entrypoint).
Last updated