launch_callback
Last updated
Last updated
An additional entrypoint that helps to vote in Bucket contract for a user's baker in time of the first TOK/TEZ exchange launch.
Field | Type | Description |
---|---|---|
Only DexCore contract can call this entrypoint.
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).
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
vote_params
Voting parameters
bucket
address
Bucket contract address where need to execute voting