jetton

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpcodeTopUp = 0xd372158c
)

Variables

View Source
var PathToContracts = os.Getenv("PATH_CONTRACTS_JETTON")

Exposed by default nix shell

Functions

This section is empty.

Types

type Client

type Client struct {
	MasterAddress *address.Address `tlb:"addr"`
	WalletCode    *cell.Cell       `tlb:"^"`
}

This is for the encoding of the JettonClient on-chain struct

type ExitCode

type ExitCode tvm.ExitCode
const (
	ErrorInvalidOp      ExitCode = 72
	ErrorWrongOp        ExitCode = 0xffff
	ErrorNotOwner       ExitCode = 73
	ErrorNotValidWallet ExitCode = 74
	ErrorWrongWorkchain ExitCode = 333
)

func (ExitCode) NewFrom

func (ExitCode) NewFrom(ec tvm.ExitCode) (ExitCode, error)

func (ExitCode) String

func (i ExitCode) String() string

type TopUpMessage

type TopUpMessage struct {
	QueryID uint64 `tlb:"## 64"`
	// contains filtered or unexported fields
}

For funding the contract with TON

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL