BakerRegistry

Code

quipuswap-core/BakerRegistry.ligo at master · madfish-solutions/quipuswap-core
GitHub

State-Changing Functions

validate(baker)

1
(key_hash %validate)
Copied!
Checks whether the address is indexed baker or tries to delegate for the candidate to check whether the address is a baker.
Parameter
Type
Description
candidate
key_hash
Address of the candidate to check

register(baker)

1
(key_hash %register)
Copied!
Delegates for the candidate to check whether the address is a baker.
Parameter
Type
Description
candidate
key_hash
Address of the candidate to check

API

1
parameter (or (key_hash %register) (key_hash %validate));
Copied!
Last modified 6mo ago