contract

package
v4.8.11+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PartialTradeClauseSelector int64 = iota
	FullTradeClauseSelector
	CancelClauseSelector
)

smart contract clause select for differnet unlock method

Variables

This section is empty.

Functions

func IsCancelClauseSelector

func IsCancelClauseSelector(input *types.TxInput) bool

IsCancelClauseSelector check if input select cancel clause

func IsFullTradeClauseSelector

func IsFullTradeClauseSelector(input *types.TxInput) bool

IsFullTradeClauseSelector check if input select full trade clause

func IsPartialTradeClauseSelector

func IsPartialTradeClauseSelector(input *types.TxInput) bool

IsPartialTradeClauseSelector check if input select partial trade clause

func IsTradeClauseSelector

func IsTradeClauseSelector(input *types.TxInput) bool

IsTradeClauseSelector check if input select is partial trade clause or full trade clause

Types

This section is empty.

Jump to

Keyboard shortcuts

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