bbc

package
v1.0.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor struct {
	RpcClient rpc.DexClient
	// contains filtered or unexported fields
}

func NewExecutor

func NewExecutor(provider string, network types.ChainNetwork, cfg *util.Config) (*Executor, error)

func (*Executor) Claim

func (e *Executor) Claim(claimType msg.ClaimType, sequence int64, claim string) error

func (*Executor) GetAddress

func (e *Executor) GetAddress() types.ValAddress

func (*Executor) GetCurrentSequence

func (e *Executor) GetCurrentSequence(claimType msg.ClaimType) (int64, error)

func (*Executor) GetProphecy

func (e *Executor) GetProphecy(claimType msg.ClaimType, sequence int64) (*msg.Prophecy, error)

Jump to

Keyboard shortcuts

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