orders

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CancelOrder

func CancelOrder(ctx context.Context,
	apiClient *api.APIClient,
	l1signer signers.L1Signer,
	l2signer signers.L2Signer,
	request api.GetSignableCancelOrderRequest,
) (*api.CancelOrderResponse, error)

CancelOrder will remove the listed asset on marketplace from sale.

func CreateOrder

func CreateOrder(ctx context.Context,
	apiClient *api.APIClient,
	l1signer signers.L1Signer,
	l2signer signers.L2Signer,
	request *api.GetSignableOrderRequest) (*api.CreateOrderResponse, error)

CreateOrder will list the given asset for sale on the marketplace.

Types

This section is empty.

Jump to

Keyboard shortcuts

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