You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
420 B
9 lines
420 B
() send_grams(slice address, int amount) impure { |
|
cell msg = begin_cell() |
|
.store_uint (0x18, 6) ;; bounce |
|
.store_slice(address) ;; 267 bit address |
|
.store_grams(amount) |
|
.store_uint(0, 107) ;; 106 zeroes + 0 as an indicator that there is no cell with the data |
|
.end_cell(); |
|
send_raw_message(msg, 3); ;; mode, 2 for ignoring errors, 1 for sender pays fees, 64 for returning inbound message value |
|
}
|
|
|