pcs

package
v0.0.0-...-6bb3745 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMethodNotFound = errors.New("method not found")
	ErrInvalidInput   = errors.New("invalid input")
)
View Source
var PositionABI abi.ABI

Functions

This section is empty.

Types

type Coord

type Coord = struct {
	X int32 "json:\"x\""
	Y int32 "json:\"y\""
}

type PositionPrecompile

type PositionPrecompile struct {
	lib.BlankPrecompile
}

func (*PositionPrecompile) IsStatic

func (p *PositionPrecompile) IsStatic(input []byte) bool

func (*PositionPrecompile) Run

func (p *PositionPrecompile) Run(env api.Environment, input []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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