command

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	V3_SWAP_EXACT_IN = iota
	V3_SWAP_EXACT_OUT
	PERMIT2_TRANSFER_FROM
	PERMIT2_PERMIT_BATCH
	SWEEP
	TRANSFER
	PAY_PORTION

	V2_SWAP_EXACT_IN
	V2_SWAP_EXACT_OUT
	PERMIT2_PERMIT
	WRAP_ETH
	UNWRAP_WETH
	PERMIT2_TRANSFER_FROM_BATCH

	SEAPORT_V1_5
	LOOKS_RARE_721
	NFTX
	CRYPTOPUNKS
	LOOKS_RARE_1155
	OWNER_CHECK_721
	OWNER_CHECK_1155
	SWEEP_ERC721
	X2Y2_721
	SUDOSWAP
	NFT20
	X2Y2_1155
	FOUNDATION
	SWEEP_ERC1155

	MASK = 0x3F
)

Variables

This section is empty.

Functions

func RealCommand

func RealCommand(command byte) byte

func RealCommandName

func RealCommandName(command byte) string

func Revertable

func Revertable(command byte) bool

Types

type Command

type Command struct {
	Command byte
	Input   []byte
}

Jump to

Keyboard shortcuts

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