- First 4 bits for the message like below
- 0 for internal, 1 for external message
- 0 for enable instant hypercube routing, 1 for disable (it is not implemented yet, so always 1 now)
- 1 for bouncible message, 0 for not
- 1 for result of bouncing itself, 0 for not
-
load_data function is used for load contract's storage. And contract developer have to implement this for each contract. Please refer https://github.com/ton-blockchain/token-contract/blob/f2253cb0f0e1ae0974d7dc0cef3a62cb6e19f806/ft/jetton-minter-ICO.fc#L6-L14
-
76 is error code when throw_unless function throw exception. And this function throws when second parameter's result is false. So it throws when buy_amount == 0
-
Please refer https://ton.org/docs/develop/smart-contracts/messages and first question's answer. After that 4 bits, 2bits are set 0b00, it means empty address and it will be handled same as sender_address.