blockchain

package
v0.0.0-...-6ef9485 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2018 License: MIT Imports: 8 Imported by: 2

Documentation

Index

Constants

View Source
const (
	PRICING_OP string = "pricingOP"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DGXReserve

type DGXReserve struct {
	*blockchain.BaseBlockchain
	// contains filtered or unexported fields
}

func NewDGXReserve

func NewDGXReserve(
	base *blockchain.BaseBlockchain,
	reserveAddr ethereum.Address,
	keystorePath string,
	passphrase string) *DGXReserve

func (*DGXReserve) GetAddresses

func (self *DGXReserve) GetAddresses() map[string]ethereum.Address

func (*DGXReserve) Rebroadcast

func (self *DGXReserve) Rebroadcast(tx *types.Transaction) (*types.Transaction, error)

func (*DGXReserve) RegisterPricingOperator

func (self *DGXReserve) RegisterPricingOperator(signer blockchain.Signer, nonceCorpus blockchain.NonceCorpus)

func (*DGXReserve) SetPriceFeed

func (self *DGXReserve) SetPriceFeed(gasPrice *big.Int, blockNumber *big.Int, nonce *big.Int, ask1KDigix *big.Int, bid1KDigix *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Jump to

Keyboard shortcuts

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