What is op::transfer() in jetton wallet smart contract?
It gives me an error when I want to send this kind of op.

Jun 21, 2023, 5:14 PM
More information is needed to understand what your problem is. What kind of error? What other data are you sending? Also see the standard https://github.com/ton-blockchain/TEPs/blob/master/text/0074-jettons-standard.md
Jun 21, 2023, 5:18 PM
I want to send a jetton to some address in my smart contract so I shoud send a message to contract's jetton wallet with a transfer operation. Like this:
store_uint(op::transfer(), 32)
But Blueprint says undefined function 'op::transfer'
Jun 21, 2023, 5:27 PM
That's because op::transfer() is just not defined in your code. Copy it from op-codes.fc file from token-contract repo
Jun 21, 2023, 5:29 PM
BTW that picture was useful for me can you send it again.
Jun 21, 2023, 5:30 PM
https://github.com/ton-blockchain/token-contract/blob/991bdb4925653c51b0b53ab212c53143f71f5476/ft/op-codes.fc#LL1
Which picture?
Jun 21, 2023, 5:31 PM
It has just deleted.
It says after operation what should we put in our msg cell.
Jun 21, 2023, 5:33 PM
This is a screenshot from TEP74 🙂
https://github.com/ton-blockchain/TEPs/blob/master/text/0074-jettons-standard.md
Jun 21, 2023, 5:33 PM

© 2024 Draquery.com All rights reserved.