I'm confused by these sentence in the tsc5,
The contract should send out to all users according to their shares. You should send messages to the address of your token jack jetton_address according to TEP-0074.
Message Value: 0.02 TON
Response address must be equal to the recipient address
Forward_amount = 1 nanoTON
Without custom_payload / without forward_payload.
Specifically the send messages to the address of your token jack jetton_address , token jack jetton_address? What this means? Who is Jack?😂 Reading the TEP-0074, I have the impression I have to send a message in this form
() send_jetton(int query_id, int amount, slice to, int mode) impure inline_ref {
cell msg = begin_cell()
.store_uint(0xf8a7ea5, 32) ;; op defined in TEP-0074
.store_uint(query_id, 64)
.store_coins(amount)
.store_slice(to) ;; destination
.store_slice(to) ;; response address
;; without custom payload
.store_coins(1) ;; forward ton amount
;; without forward payload
.end_cell();
send_simple_message(jetton::msg_value,to , msg, mode);
}
But I still don't know what it's refered as token jack jetton_address. If anyone can shed a light on this.
Jan 1, 2024, 5:40 PM
You receive transfer notification from your "token jack jetton_address".
Jan 1, 2024, 7:30 PM