Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KnownMethods = map[MethodCode]tvmPrecompiled{ {MethodID: 101616, CodeHash: ton.MustParseHash("ccae6ffb603c7d3e779ab59ec267ffc22dc1ebe0af9839902289a7a83e4c00f1")}: func(data *boc.Cell, args tlb.VmStack) (tlb.VmStack, error) { var body struct { Skip1 uint64 Skip2 tlb.Bits256 Value1 tlb.Uint128 Value2 tlb.Uint256 Field1 struct { Value3 tlb.Grams Value4 uint32 } `tlb:"^"` } err := tlb.Unmarshal(data, &body) if err != nil { return nil, err } return tlb.VmStack{ { SumType: "VmStkInt", VmStkInt: tlb.Int257(body.Value1), }, { SumType: "VmStkInt", VmStkInt: tlb.Int257(body.Value2), }, { SumType: "VmStkTinyInt", VmStkTinyInt: int64(body.Field1.Value3), }, { SumType: "VmStkTinyInt", VmStkTinyInt: int64(body.Field1.Value4), }, }, nil }, }
Functions ¶
This section is empty.
Types ¶
type MethodCode ¶
Click to show internal directories.
Click to hide internal directories.