testvalidator

package
v1.6.0-beta0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const TestValidatorABI = "" /* 1404-byte string literal not displayed */

Variables

View Source
var TestValidatorBin = "" /* 818-byte string literal not displayed */

Functions

This section is empty.

Types

type TestValidator

type TestValidator struct {
	TestValidatorCaller
	TestValidatorTransactor
	TestValidatorFilterer
	// contains filtered or unexported fields
}

func NewTestValidator

func NewTestValidator(address common.Address, backend bind.ContractBackend) (*TestValidator, error)

func (*TestValidator) Address

func (_TestValidator *TestValidator) Address() common.Address

func (*TestValidator) ParseLog

func (_TestValidator *TestValidator) ParseLog(log types.Log) (generated.AbigenLog, error)

type TestValidatorCaller

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

func NewTestValidatorCaller

func NewTestValidatorCaller(address common.Address, caller bind.ContractCaller) (*TestValidatorCaller, error)

func (*TestValidatorCaller) LatestRoundId

func (_TestValidator *TestValidatorCaller) LatestRoundId(opts *bind.CallOpts) (*big.Int, error)

type TestValidatorCallerRaw

type TestValidatorCallerRaw struct {
	Contract *TestValidatorCaller
}

func (*TestValidatorCallerRaw) Call

func (_TestValidator *TestValidatorCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

type TestValidatorCallerSession

type TestValidatorCallerSession struct {
	Contract *TestValidatorCaller
	CallOpts bind.CallOpts
}

func (*TestValidatorCallerSession) LatestRoundId

func (_TestValidator *TestValidatorCallerSession) LatestRoundId() (*big.Int, error)

type TestValidatorFilterer

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

func NewTestValidatorFilterer

func NewTestValidatorFilterer(address common.Address, filterer bind.ContractFilterer) (*TestValidatorFilterer, error)

func (*TestValidatorFilterer) FilterValidated

func (_TestValidator *TestValidatorFilterer) FilterValidated(opts *bind.FilterOpts) (*TestValidatorValidatedIterator, error)

func (*TestValidatorFilterer) ParseValidated

func (_TestValidator *TestValidatorFilterer) ParseValidated(log types.Log) (*TestValidatorValidated, error)

func (*TestValidatorFilterer) WatchValidated

func (_TestValidator *TestValidatorFilterer) WatchValidated(opts *bind.WatchOpts, sink chan<- *TestValidatorValidated) (event.Subscription, error)

type TestValidatorInterface

type TestValidatorInterface interface {
	LatestRoundId(opts *bind.CallOpts) (*big.Int, error)

	SetMinGasUse(opts *bind.TransactOpts, minGasUse uint32) (*types.Transaction, error)

	Validate(opts *bind.TransactOpts, previousRoundId *big.Int, previousAnswer *big.Int, currentRoundId *big.Int, currentAnswer *big.Int) (*types.Transaction, error)

	FilterValidated(opts *bind.FilterOpts) (*TestValidatorValidatedIterator, error)

	WatchValidated(opts *bind.WatchOpts, sink chan<- *TestValidatorValidated) (event.Subscription, error)

	ParseValidated(log types.Log) (*TestValidatorValidated, error)

	ParseLog(log types.Log) (generated.AbigenLog, error)

	Address() common.Address
}

type TestValidatorRaw

type TestValidatorRaw struct {
	Contract *TestValidator
}

func (*TestValidatorRaw) Call

func (_TestValidator *TestValidatorRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

func (*TestValidatorRaw) Transact

func (_TestValidator *TestValidatorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

func (*TestValidatorRaw) Transfer

func (_TestValidator *TestValidatorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type TestValidatorSession

type TestValidatorSession struct {
	Contract     *TestValidator
	CallOpts     bind.CallOpts
	TransactOpts bind.TransactOpts
}

func (*TestValidatorSession) LatestRoundId

func (_TestValidator *TestValidatorSession) LatestRoundId() (*big.Int, error)

func (*TestValidatorSession) SetMinGasUse

func (_TestValidator *TestValidatorSession) SetMinGasUse(minGasUse uint32) (*types.Transaction, error)

func (*TestValidatorSession) Validate

func (_TestValidator *TestValidatorSession) Validate(previousRoundId *big.Int, previousAnswer *big.Int, currentRoundId *big.Int, currentAnswer *big.Int) (*types.Transaction, error)

type TestValidatorTransactor

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

func NewTestValidatorTransactor

func NewTestValidatorTransactor(address common.Address, transactor bind.ContractTransactor) (*TestValidatorTransactor, error)

func (*TestValidatorTransactor) SetMinGasUse

func (_TestValidator *TestValidatorTransactor) SetMinGasUse(opts *bind.TransactOpts, minGasUse uint32) (*types.Transaction, error)

func (*TestValidatorTransactor) Validate

func (_TestValidator *TestValidatorTransactor) Validate(opts *bind.TransactOpts, previousRoundId *big.Int, previousAnswer *big.Int, currentRoundId *big.Int, currentAnswer *big.Int) (*types.Transaction, error)

type TestValidatorTransactorRaw

type TestValidatorTransactorRaw struct {
	Contract *TestValidatorTransactor
}

func (*TestValidatorTransactorRaw) Transact

func (_TestValidator *TestValidatorTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

func (*TestValidatorTransactorRaw) Transfer

func (_TestValidator *TestValidatorTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type TestValidatorTransactorSession

type TestValidatorTransactorSession struct {
	Contract     *TestValidatorTransactor
	TransactOpts bind.TransactOpts
}

func (*TestValidatorTransactorSession) SetMinGasUse

func (_TestValidator *TestValidatorTransactorSession) SetMinGasUse(minGasUse uint32) (*types.Transaction, error)

func (*TestValidatorTransactorSession) Validate

func (_TestValidator *TestValidatorTransactorSession) Validate(previousRoundId *big.Int, previousAnswer *big.Int, currentRoundId *big.Int, currentAnswer *big.Int) (*types.Transaction, error)

type TestValidatorValidated

type TestValidatorValidated struct {
	PreviousRoundId *big.Int
	PreviousAnswer  *big.Int
	CurrentRoundId  *big.Int
	CurrentAnswer   *big.Int
	InitialGas      *big.Int
	Raw             types.Log
}

func (TestValidatorValidated) Topic

type TestValidatorValidatedIterator

type TestValidatorValidatedIterator struct {
	Event *TestValidatorValidated
	// contains filtered or unexported fields
}

func (*TestValidatorValidatedIterator) Close

func (*TestValidatorValidatedIterator) Error

func (*TestValidatorValidatedIterator) Next

Jump to

Keyboard shortcuts

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