Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ABI support for BCL contracts (Ton.Fun) #327

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions abi/contracts_errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,22 @@ package abi
import ()

var contractErrors = map[ContractInterface]map[int32]string{
BclJetton: {47: "Balance error",
48: "Not enough gas",
49: "Invalid message",
73: "Not owner",
333: "Wrong workchain",
707: "Slippage error",
708: "Too many coins to buy",
709: "No funds for gas",
711: "Trading disabled",
712: "Trading enabled",
713: "Invalid wallet",
714: "Too many coins to sell",
715: "Not admin",
716: "Not author",
65535: "Wrong op",
},
MultisigOrderV2: {104: "Unauthorized init",
105: "Already inited",
106: "Unauthorized sign",
Expand Down
Loading