launch_callback
An additional entrypoint that helps to vote in Bucket contract for a user's baker in time of the first TOK/TEZ exchange launch.
Call parameters
vote_t
Field
Type
Description
voter
address
A user who votes
candidate
key_hash
Baker the user votes for
execute_voting
bool
Flag that indicates: execute voting or not
votes
nat
Amount of votes that will be used for voting
launch_callback_t
Usage
Only DexCore contract can call this entrypoint.
Errors
138
- only entered (transaction must be not the first transaction in the chain of calls).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