Skip to content

Commit

Permalink
okhuel
Browse files Browse the repository at this point in the history
  • Loading branch information
Skydev0h committed Dec 23, 2023
1 parent 3fe01ba commit 6851935
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion contracts/task2.fc
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@

int equal_slices?(slice a, slice b) asm "SDEQ";

;; LDUQ: s - x s' -1 or s 0 --IFNOTRET--> x s' or RET
(int, slice) load_uint32_or_ret(slice s) impure asm "32 LDUQ" "IFNOTRET";

() recv_internal(int my_balance, int msg_value, cell in_msg_full, slice in_msg_body) impure {

int op = in_msg_body~load_uint(32);
(int op, in_msg_body) = in_msg_body.load_uint32_or_ret();

;; if (in_msg_body~is_add_user_call()) {
if (op == 0x368ddef3) {
Expand Down

0 comments on commit 6851935

Please sign in to comment.