unbondticket

package
v0.0.32 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Contract

type Contract struct {
	core.Keepers
	// contains filtered or unexported fields
}

Contract implements core.SystemContract. It is a system contract to unbond a ticket.

func NewContract

func NewContract() *Contract

NewContract creates an instance of Contract

func (*Contract) CanExec

func (c *Contract) CanExec(typ types.TxCode) bool

func (*Contract) Exec

func (c *Contract) Exec() error

func (*Contract) Init

func (c *Contract) Init(keepers core.Keepers, tx types.BaseTx, curChainHeight uint64) core.SystemContract

Jump to

Keyboard shortcuts

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