ethpool

package
v0.0.0-...-ffb6f1e Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// EthTxUnknown ...
	EthTxUnknown uint64 = 0
	// EthTxPending ...
	EthTxPending uint64 = 1
	// EthTxSuccess ...
	EthTxSuccess uint64 = 2
	// EthTxFailed ...
	EthTxFailed uint64 = 3
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EthPool

type EthPool struct {
	// contains filtered or unexported fields
}

EthPool data

func New

func New(provider, coreAddress string) (*EthPool, error)

New instance

func (*EthPool) Close

func (e *EthPool) Close()

Close it

func (*EthPool) DistributeReward

func (e *EthPool) DistributeReward(mntp, gold *big.Int, manager string) (hash string, err error)

DistributeReward helper

func (*EthPool) GetTransactionStatus

func (e *EthPool) GetTransactionStatus(hash string) (status uint64, err error)

GetTransactionStatus helper

func (*EthPool) PoolAddress

func (e *EthPool) PoolAddress() string

PoolAddress getter

func (*EthPool) PoolStake

func (e *EthPool) PoolStake() (*big.Int, error)

PoolStake getter

Jump to

Keyboard shortcuts

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