-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add validation for zero amount in Jetton operations (#14)
- Loading branch information
Showing
6 changed files
with
68 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
export const OP_CODES = { | ||
JettonTransfer: 0x0f8a7ea5, // Message for transferring Jettons | ||
JettonTransferInternal: 0x178d4519, // Internal Jetton transfer | ||
JettonTransferNotification: 0x7362d09c,// Notification for a completed transfer | ||
JettonBurn: 0x595f07bc, // Burn Jettons | ||
JettonBurnInternal: 0x7bdd97de, // Internal Jetton burn | ||
Excesses: 0xd53276db, // Handle excess balances | ||
ProvideWalletAddress: 0x2c76b973, // Request a Jetton wallet address | ||
TakeWalletAddress: 0xd1735400, // Respond with a Jetton wallet address | ||
JettonInit: 0x133701, // Initialize the Jetton | ||
JettonInitOk: 0x133702, // Confirm Jetton initialization | ||
JettonSetParameter: 0x133703, // Set Jetton parameters | ||
JettonMint: 0x133704, // Mint new Jettons | ||
}; |