multiwordconsumer_wrapper

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const MultiWordConsumerABI = "" /* 4798-byte string literal not displayed */

Variables

View Source
var MultiWordConsumerBin = "" /* 10020-byte string literal not displayed */

Functions

This section is empty.

Types

type MultiWordConsumer

type MultiWordConsumer struct {
	MultiWordConsumerCaller
	MultiWordConsumerTransactor
	MultiWordConsumerFilterer
	// contains filtered or unexported fields
}

func DeployMultiWordConsumer

func DeployMultiWordConsumer(auth *bind.TransactOpts, backend bind.ContractBackend, _link common.Address, _oracle common.Address, _specId [32]byte) (common.Address, *types.Transaction, *MultiWordConsumer, error)

func NewMultiWordConsumer

func NewMultiWordConsumer(address common.Address, backend bind.ContractBackend) (*MultiWordConsumer, error)

func (*MultiWordConsumer) Address

func (_MultiWordConsumer *MultiWordConsumer) Address() common.Address

func (*MultiWordConsumer) ParseLog

func (_MultiWordConsumer *MultiWordConsumer) ParseLog(log types.Log) (generated.AbigenLog, error)

type MultiWordConsumerAdamoracleCancelled

type MultiWordConsumerAdamoracleCancelled struct {
	Id  [32]byte
	Raw types.Log
}

func (MultiWordConsumerAdamoracleCancelled) Topic

type MultiWordConsumerAdamoracleCancelledIterator

type MultiWordConsumerAdamoracleCancelledIterator struct {
	Event *MultiWordConsumerAdamoracleCancelled
	// contains filtered or unexported fields
}

func (*MultiWordConsumerAdamoracleCancelledIterator) Close

func (*MultiWordConsumerAdamoracleCancelledIterator) Error

func (*MultiWordConsumerAdamoracleCancelledIterator) Next

type MultiWordConsumerAdamoracleFulfilled

type MultiWordConsumerAdamoracleFulfilled struct {
	Id  [32]byte
	Raw types.Log
}

func (MultiWordConsumerAdamoracleFulfilled) Topic

type MultiWordConsumerAdamoracleFulfilledIterator

type MultiWordConsumerAdamoracleFulfilledIterator struct {
	Event *MultiWordConsumerAdamoracleFulfilled
	// contains filtered or unexported fields
}

func (*MultiWordConsumerAdamoracleFulfilledIterator) Close

func (*MultiWordConsumerAdamoracleFulfilledIterator) Error

func (*MultiWordConsumerAdamoracleFulfilledIterator) Next

type MultiWordConsumerAdamoracleRequested

type MultiWordConsumerAdamoracleRequested struct {
	Id  [32]byte
	Raw types.Log
}

func (MultiWordConsumerAdamoracleRequested) Topic

type MultiWordConsumerAdamoracleRequestedIterator

type MultiWordConsumerAdamoracleRequestedIterator struct {
	Event *MultiWordConsumerAdamoracleRequested
	// contains filtered or unexported fields
}

func (*MultiWordConsumerAdamoracleRequestedIterator) Close

func (*MultiWordConsumerAdamoracleRequestedIterator) Error

func (*MultiWordConsumerAdamoracleRequestedIterator) Next

type MultiWordConsumerCaller

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

func NewMultiWordConsumerCaller

func NewMultiWordConsumerCaller(address common.Address, caller bind.ContractCaller) (*MultiWordConsumerCaller, error)

func (*MultiWordConsumerCaller) CurrentPrice

func (_MultiWordConsumer *MultiWordConsumerCaller) CurrentPrice(opts *bind.CallOpts) ([]byte, error)

func (*MultiWordConsumerCaller) Eur

func (_MultiWordConsumer *MultiWordConsumerCaller) Eur(opts *bind.CallOpts) ([32]byte, error)

func (*MultiWordConsumerCaller) Jpy

func (_MultiWordConsumer *MultiWordConsumerCaller) Jpy(opts *bind.CallOpts) ([32]byte, error)

func (*MultiWordConsumerCaller) Usd

func (_MultiWordConsumer *MultiWordConsumerCaller) Usd(opts *bind.CallOpts) ([32]byte, error)

type MultiWordConsumerCallerRaw

type MultiWordConsumerCallerRaw struct {
	Contract *MultiWordConsumerCaller
}

func (*MultiWordConsumerCallerRaw) Call

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

type MultiWordConsumerCallerSession

type MultiWordConsumerCallerSession struct {
	Contract *MultiWordConsumerCaller
	CallOpts bind.CallOpts
}

func (*MultiWordConsumerCallerSession) CurrentPrice

func (_MultiWordConsumer *MultiWordConsumerCallerSession) CurrentPrice() ([]byte, error)

func (*MultiWordConsumerCallerSession) Eur

func (_MultiWordConsumer *MultiWordConsumerCallerSession) Eur() ([32]byte, error)

func (*MultiWordConsumerCallerSession) Jpy

func (_MultiWordConsumer *MultiWordConsumerCallerSession) Jpy() ([32]byte, error)

func (*MultiWordConsumerCallerSession) Usd

func (_MultiWordConsumer *MultiWordConsumerCallerSession) Usd() ([32]byte, error)

type MultiWordConsumerFilterer

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

func NewMultiWordConsumerFilterer

func NewMultiWordConsumerFilterer(address common.Address, filterer bind.ContractFilterer) (*MultiWordConsumerFilterer, error)

func (*MultiWordConsumerFilterer) FilterAdamoracleCancelled

func (_MultiWordConsumer *MultiWordConsumerFilterer) FilterAdamoracleCancelled(opts *bind.FilterOpts, id [][32]byte) (*MultiWordConsumerAdamoracleCancelledIterator, error)

func (*MultiWordConsumerFilterer) FilterAdamoracleFulfilled

func (_MultiWordConsumer *MultiWordConsumerFilterer) FilterAdamoracleFulfilled(opts *bind.FilterOpts, id [][32]byte) (*MultiWordConsumerAdamoracleFulfilledIterator, error)

func (*MultiWordConsumerFilterer) FilterAdamoracleRequested

func (_MultiWordConsumer *MultiWordConsumerFilterer) FilterAdamoracleRequested(opts *bind.FilterOpts, id [][32]byte) (*MultiWordConsumerAdamoracleRequestedIterator, error)

func (*MultiWordConsumerFilterer) FilterRequestFulfilled

func (_MultiWordConsumer *MultiWordConsumerFilterer) FilterRequestFulfilled(opts *bind.FilterOpts, requestId [][32]byte, price [][]byte) (*MultiWordConsumerRequestFulfilledIterator, error)

func (*MultiWordConsumerFilterer) FilterRequestMultipleFulfilled

func (_MultiWordConsumer *MultiWordConsumerFilterer) FilterRequestMultipleFulfilled(opts *bind.FilterOpts, requestId [][32]byte, usd [][32]byte, eur [][32]byte) (*MultiWordConsumerRequestMultipleFulfilledIterator, error)

func (*MultiWordConsumerFilterer) ParseAdamoracleCancelled

func (_MultiWordConsumer *MultiWordConsumerFilterer) ParseAdamoracleCancelled(log types.Log) (*MultiWordConsumerAdamoracleCancelled, error)

func (*MultiWordConsumerFilterer) ParseAdamoracleFulfilled

func (_MultiWordConsumer *MultiWordConsumerFilterer) ParseAdamoracleFulfilled(log types.Log) (*MultiWordConsumerAdamoracleFulfilled, error)

func (*MultiWordConsumerFilterer) ParseAdamoracleRequested

func (_MultiWordConsumer *MultiWordConsumerFilterer) ParseAdamoracleRequested(log types.Log) (*MultiWordConsumerAdamoracleRequested, error)

func (*MultiWordConsumerFilterer) ParseRequestFulfilled

func (_MultiWordConsumer *MultiWordConsumerFilterer) ParseRequestFulfilled(log types.Log) (*MultiWordConsumerRequestFulfilled, error)

func (*MultiWordConsumerFilterer) ParseRequestMultipleFulfilled

func (_MultiWordConsumer *MultiWordConsumerFilterer) ParseRequestMultipleFulfilled(log types.Log) (*MultiWordConsumerRequestMultipleFulfilled, error)

func (*MultiWordConsumerFilterer) WatchAdamoracleCancelled

func (_MultiWordConsumer *MultiWordConsumerFilterer) WatchAdamoracleCancelled(opts *bind.WatchOpts, sink chan<- *MultiWordConsumerAdamoracleCancelled, id [][32]byte) (event.Subscription, error)

func (*MultiWordConsumerFilterer) WatchAdamoracleFulfilled

func (_MultiWordConsumer *MultiWordConsumerFilterer) WatchAdamoracleFulfilled(opts *bind.WatchOpts, sink chan<- *MultiWordConsumerAdamoracleFulfilled, id [][32]byte) (event.Subscription, error)

func (*MultiWordConsumerFilterer) WatchAdamoracleRequested

func (_MultiWordConsumer *MultiWordConsumerFilterer) WatchAdamoracleRequested(opts *bind.WatchOpts, sink chan<- *MultiWordConsumerAdamoracleRequested, id [][32]byte) (event.Subscription, error)

func (*MultiWordConsumerFilterer) WatchRequestFulfilled

func (_MultiWordConsumer *MultiWordConsumerFilterer) WatchRequestFulfilled(opts *bind.WatchOpts, sink chan<- *MultiWordConsumerRequestFulfilled, requestId [][32]byte, price [][]byte) (event.Subscription, error)

func (*MultiWordConsumerFilterer) WatchRequestMultipleFulfilled

func (_MultiWordConsumer *MultiWordConsumerFilterer) WatchRequestMultipleFulfilled(opts *bind.WatchOpts, sink chan<- *MultiWordConsumerRequestMultipleFulfilled, requestId [][32]byte, usd [][32]byte, eur [][32]byte) (event.Subscription, error)

type MultiWordConsumerInterface

type MultiWordConsumerInterface interface {
	CurrentPrice(opts *bind.CallOpts) ([]byte, error)

	Eur(opts *bind.CallOpts) ([32]byte, error)

	Jpy(opts *bind.CallOpts) ([32]byte, error)

	Usd(opts *bind.CallOpts) ([32]byte, error)

	AddExternalRequest(opts *bind.TransactOpts, _oracle common.Address, _requestId [32]byte) (*types.Transaction, error)

	CancelRequest(opts *bind.TransactOpts, _oracle common.Address, _requestId [32]byte, _payment *big.Int, _callbackFunctionId [4]byte, _expiration *big.Int) (*types.Transaction, error)

	FulfillBytes(opts *bind.TransactOpts, _requestId [32]byte, _price []byte) (*types.Transaction, error)

	FulfillMultipleParameters(opts *bind.TransactOpts, _requestId [32]byte, _usd [32]byte, _eur [32]byte, _jpy [32]byte) (*types.Transaction, error)

	RequestEthereumPrice(opts *bind.TransactOpts, _currency string, _payment *big.Int) (*types.Transaction, error)

	RequestEthereumPriceByCallback(opts *bind.TransactOpts, _currency string, _payment *big.Int, _callback common.Address) (*types.Transaction, error)

	RequestMultipleParameters(opts *bind.TransactOpts, _currency string, _payment *big.Int) (*types.Transaction, error)

	SetSpecID(opts *bind.TransactOpts, _specId [32]byte) (*types.Transaction, error)

	WithdrawLink(opts *bind.TransactOpts) (*types.Transaction, error)

	FilterAdamoracleCancelled(opts *bind.FilterOpts, id [][32]byte) (*MultiWordConsumerAdamoracleCancelledIterator, error)

	WatchAdamoracleCancelled(opts *bind.WatchOpts, sink chan<- *MultiWordConsumerAdamoracleCancelled, id [][32]byte) (event.Subscription, error)

	ParseAdamoracleCancelled(log types.Log) (*MultiWordConsumerAdamoracleCancelled, error)

	FilterAdamoracleFulfilled(opts *bind.FilterOpts, id [][32]byte) (*MultiWordConsumerAdamoracleFulfilledIterator, error)

	WatchAdamoracleFulfilled(opts *bind.WatchOpts, sink chan<- *MultiWordConsumerAdamoracleFulfilled, id [][32]byte) (event.Subscription, error)

	ParseAdamoracleFulfilled(log types.Log) (*MultiWordConsumerAdamoracleFulfilled, error)

	FilterAdamoracleRequested(opts *bind.FilterOpts, id [][32]byte) (*MultiWordConsumerAdamoracleRequestedIterator, error)

	WatchAdamoracleRequested(opts *bind.WatchOpts, sink chan<- *MultiWordConsumerAdamoracleRequested, id [][32]byte) (event.Subscription, error)

	ParseAdamoracleRequested(log types.Log) (*MultiWordConsumerAdamoracleRequested, error)

	FilterRequestFulfilled(opts *bind.FilterOpts, requestId [][32]byte, price [][]byte) (*MultiWordConsumerRequestFulfilledIterator, error)

	WatchRequestFulfilled(opts *bind.WatchOpts, sink chan<- *MultiWordConsumerRequestFulfilled, requestId [][32]byte, price [][]byte) (event.Subscription, error)

	ParseRequestFulfilled(log types.Log) (*MultiWordConsumerRequestFulfilled, error)

	FilterRequestMultipleFulfilled(opts *bind.FilterOpts, requestId [][32]byte, usd [][32]byte, eur [][32]byte) (*MultiWordConsumerRequestMultipleFulfilledIterator, error)

	WatchRequestMultipleFulfilled(opts *bind.WatchOpts, sink chan<- *MultiWordConsumerRequestMultipleFulfilled, requestId [][32]byte, usd [][32]byte, eur [][32]byte) (event.Subscription, error)

	ParseRequestMultipleFulfilled(log types.Log) (*MultiWordConsumerRequestMultipleFulfilled, error)

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

	Address() common.Address
}

type MultiWordConsumerRaw

type MultiWordConsumerRaw struct {
	Contract *MultiWordConsumer
}

func (*MultiWordConsumerRaw) Call

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

func (*MultiWordConsumerRaw) Transact

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

func (*MultiWordConsumerRaw) Transfer

func (_MultiWordConsumer *MultiWordConsumerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type MultiWordConsumerRequestFulfilled

type MultiWordConsumerRequestFulfilled struct {
	RequestId [32]byte
	Price     common.Hash
	Raw       types.Log
}

func (MultiWordConsumerRequestFulfilled) Topic

type MultiWordConsumerRequestFulfilledIterator

type MultiWordConsumerRequestFulfilledIterator struct {
	Event *MultiWordConsumerRequestFulfilled
	// contains filtered or unexported fields
}

func (*MultiWordConsumerRequestFulfilledIterator) Close

func (*MultiWordConsumerRequestFulfilledIterator) Error

func (*MultiWordConsumerRequestFulfilledIterator) Next

type MultiWordConsumerRequestMultipleFulfilled

type MultiWordConsumerRequestMultipleFulfilled struct {
	RequestId [32]byte
	Usd       [32]byte
	Eur       [32]byte
	Jpy       [32]byte
	Raw       types.Log
}

func (MultiWordConsumerRequestMultipleFulfilled) Topic

type MultiWordConsumerRequestMultipleFulfilledIterator

type MultiWordConsumerRequestMultipleFulfilledIterator struct {
	Event *MultiWordConsumerRequestMultipleFulfilled
	// contains filtered or unexported fields
}

func (*MultiWordConsumerRequestMultipleFulfilledIterator) Close

func (*MultiWordConsumerRequestMultipleFulfilledIterator) Error

func (*MultiWordConsumerRequestMultipleFulfilledIterator) Next

type MultiWordConsumerSession

type MultiWordConsumerSession struct {
	Contract     *MultiWordConsumer
	CallOpts     bind.CallOpts
	TransactOpts bind.TransactOpts
}

func (*MultiWordConsumerSession) AddExternalRequest

func (_MultiWordConsumer *MultiWordConsumerSession) AddExternalRequest(_oracle common.Address, _requestId [32]byte) (*types.Transaction, error)

func (*MultiWordConsumerSession) CancelRequest

func (_MultiWordConsumer *MultiWordConsumerSession) CancelRequest(_oracle common.Address, _requestId [32]byte, _payment *big.Int, _callbackFunctionId [4]byte, _expiration *big.Int) (*types.Transaction, error)

func (*MultiWordConsumerSession) CurrentPrice

func (_MultiWordConsumer *MultiWordConsumerSession) CurrentPrice() ([]byte, error)

func (*MultiWordConsumerSession) Eur

func (_MultiWordConsumer *MultiWordConsumerSession) Eur() ([32]byte, error)

func (*MultiWordConsumerSession) FulfillBytes

func (_MultiWordConsumer *MultiWordConsumerSession) FulfillBytes(_requestId [32]byte, _price []byte) (*types.Transaction, error)

func (*MultiWordConsumerSession) FulfillMultipleParameters

func (_MultiWordConsumer *MultiWordConsumerSession) FulfillMultipleParameters(_requestId [32]byte, _usd [32]byte, _eur [32]byte, _jpy [32]byte) (*types.Transaction, error)

func (*MultiWordConsumerSession) Jpy

func (_MultiWordConsumer *MultiWordConsumerSession) Jpy() ([32]byte, error)

func (*MultiWordConsumerSession) RequestEthereumPrice

func (_MultiWordConsumer *MultiWordConsumerSession) RequestEthereumPrice(_currency string, _payment *big.Int) (*types.Transaction, error)

func (*MultiWordConsumerSession) RequestEthereumPriceByCallback

func (_MultiWordConsumer *MultiWordConsumerSession) RequestEthereumPriceByCallback(_currency string, _payment *big.Int, _callback common.Address) (*types.Transaction, error)

func (*MultiWordConsumerSession) RequestMultipleParameters

func (_MultiWordConsumer *MultiWordConsumerSession) RequestMultipleParameters(_currency string, _payment *big.Int) (*types.Transaction, error)

func (*MultiWordConsumerSession) SetSpecID

func (_MultiWordConsumer *MultiWordConsumerSession) SetSpecID(_specId [32]byte) (*types.Transaction, error)

func (*MultiWordConsumerSession) Usd

func (_MultiWordConsumer *MultiWordConsumerSession) Usd() ([32]byte, error)
func (_MultiWordConsumer *MultiWordConsumerSession) WithdrawLink() (*types.Transaction, error)

type MultiWordConsumerTransactor

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

func NewMultiWordConsumerTransactor

func NewMultiWordConsumerTransactor(address common.Address, transactor bind.ContractTransactor) (*MultiWordConsumerTransactor, error)

func (*MultiWordConsumerTransactor) AddExternalRequest

func (_MultiWordConsumer *MultiWordConsumerTransactor) AddExternalRequest(opts *bind.TransactOpts, _oracle common.Address, _requestId [32]byte) (*types.Transaction, error)

func (*MultiWordConsumerTransactor) CancelRequest

func (_MultiWordConsumer *MultiWordConsumerTransactor) CancelRequest(opts *bind.TransactOpts, _oracle common.Address, _requestId [32]byte, _payment *big.Int, _callbackFunctionId [4]byte, _expiration *big.Int) (*types.Transaction, error)

func (*MultiWordConsumerTransactor) FulfillBytes

func (_MultiWordConsumer *MultiWordConsumerTransactor) FulfillBytes(opts *bind.TransactOpts, _requestId [32]byte, _price []byte) (*types.Transaction, error)

func (*MultiWordConsumerTransactor) FulfillMultipleParameters

func (_MultiWordConsumer *MultiWordConsumerTransactor) FulfillMultipleParameters(opts *bind.TransactOpts, _requestId [32]byte, _usd [32]byte, _eur [32]byte, _jpy [32]byte) (*types.Transaction, error)

func (*MultiWordConsumerTransactor) RequestEthereumPrice

func (_MultiWordConsumer *MultiWordConsumerTransactor) RequestEthereumPrice(opts *bind.TransactOpts, _currency string, _payment *big.Int) (*types.Transaction, error)

func (*MultiWordConsumerTransactor) RequestEthereumPriceByCallback

func (_MultiWordConsumer *MultiWordConsumerTransactor) RequestEthereumPriceByCallback(opts *bind.TransactOpts, _currency string, _payment *big.Int, _callback common.Address) (*types.Transaction, error)

func (*MultiWordConsumerTransactor) RequestMultipleParameters

func (_MultiWordConsumer *MultiWordConsumerTransactor) RequestMultipleParameters(opts *bind.TransactOpts, _currency string, _payment *big.Int) (*types.Transaction, error)

func (*MultiWordConsumerTransactor) SetSpecID

func (_MultiWordConsumer *MultiWordConsumerTransactor) SetSpecID(opts *bind.TransactOpts, _specId [32]byte) (*types.Transaction, error)

type MultiWordConsumerTransactorRaw

type MultiWordConsumerTransactorRaw struct {
	Contract *MultiWordConsumerTransactor
}

func (*MultiWordConsumerTransactorRaw) Transact

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

func (*MultiWordConsumerTransactorRaw) Transfer

func (_MultiWordConsumer *MultiWordConsumerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type MultiWordConsumerTransactorSession

type MultiWordConsumerTransactorSession struct {
	Contract     *MultiWordConsumerTransactor
	TransactOpts bind.TransactOpts
}

func (*MultiWordConsumerTransactorSession) AddExternalRequest

func (_MultiWordConsumer *MultiWordConsumerTransactorSession) AddExternalRequest(_oracle common.Address, _requestId [32]byte) (*types.Transaction, error)

func (*MultiWordConsumerTransactorSession) CancelRequest

func (_MultiWordConsumer *MultiWordConsumerTransactorSession) CancelRequest(_oracle common.Address, _requestId [32]byte, _payment *big.Int, _callbackFunctionId [4]byte, _expiration *big.Int) (*types.Transaction, error)

func (*MultiWordConsumerTransactorSession) FulfillBytes

func (_MultiWordConsumer *MultiWordConsumerTransactorSession) FulfillBytes(_requestId [32]byte, _price []byte) (*types.Transaction, error)

func (*MultiWordConsumerTransactorSession) FulfillMultipleParameters

func (_MultiWordConsumer *MultiWordConsumerTransactorSession) FulfillMultipleParameters(_requestId [32]byte, _usd [32]byte, _eur [32]byte, _jpy [32]byte) (*types.Transaction, error)

func (*MultiWordConsumerTransactorSession) RequestEthereumPrice

func (_MultiWordConsumer *MultiWordConsumerTransactorSession) RequestEthereumPrice(_currency string, _payment *big.Int) (*types.Transaction, error)

func (*MultiWordConsumerTransactorSession) RequestEthereumPriceByCallback

func (_MultiWordConsumer *MultiWordConsumerTransactorSession) RequestEthereumPriceByCallback(_currency string, _payment *big.Int, _callback common.Address) (*types.Transaction, error)

func (*MultiWordConsumerTransactorSession) RequestMultipleParameters

func (_MultiWordConsumer *MultiWordConsumerTransactorSession) RequestMultipleParameters(_currency string, _payment *big.Int) (*types.Transaction, error)

func (*MultiWordConsumerTransactorSession) SetSpecID

func (_MultiWordConsumer *MultiWordConsumerTransactorSession) SetSpecID(_specId [32]byte) (*types.Transaction, error)
func (_MultiWordConsumer *MultiWordConsumerTransactorSession) WithdrawLink() (*types.Transaction, error)

Jump to

Keyboard shortcuts

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