multiwordconsumer_wrapper

package
v0.10.9 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

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

Variables

View Source
var MultiWordConsumerBin = "" /* 10082-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 added in v0.9.10

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

func (*MultiWordConsumer) ParseLog added in v0.10.3

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

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 MultiWordConsumerChainlinkCancelled

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

func (MultiWordConsumerChainlinkCancelled) Topic added in v0.10.3

type MultiWordConsumerChainlinkCancelledIterator

type MultiWordConsumerChainlinkCancelledIterator struct {
	Event *MultiWordConsumerChainlinkCancelled
	// contains filtered or unexported fields
}

func (*MultiWordConsumerChainlinkCancelledIterator) Close

func (*MultiWordConsumerChainlinkCancelledIterator) Error

func (*MultiWordConsumerChainlinkCancelledIterator) Next

type MultiWordConsumerChainlinkFulfilled

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

func (MultiWordConsumerChainlinkFulfilled) Topic added in v0.10.3

type MultiWordConsumerChainlinkFulfilledIterator

type MultiWordConsumerChainlinkFulfilledIterator struct {
	Event *MultiWordConsumerChainlinkFulfilled
	// contains filtered or unexported fields
}

func (*MultiWordConsumerChainlinkFulfilledIterator) Close

func (*MultiWordConsumerChainlinkFulfilledIterator) Error

func (*MultiWordConsumerChainlinkFulfilledIterator) Next

type MultiWordConsumerChainlinkRequested

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

func (MultiWordConsumerChainlinkRequested) Topic added in v0.10.3

type MultiWordConsumerChainlinkRequestedIterator

type MultiWordConsumerChainlinkRequestedIterator struct {
	Event *MultiWordConsumerChainlinkRequested
	// contains filtered or unexported fields
}

func (*MultiWordConsumerChainlinkRequestedIterator) Close

func (*MultiWordConsumerChainlinkRequestedIterator) Error

func (*MultiWordConsumerChainlinkRequestedIterator) Next

type MultiWordConsumerFilterer

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

func NewMultiWordConsumerFilterer

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

func (*MultiWordConsumerFilterer) FilterChainlinkCancelled

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

func (*MultiWordConsumerFilterer) FilterChainlinkFulfilled

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

func (*MultiWordConsumerFilterer) FilterChainlinkRequested

func (_MultiWordConsumer *MultiWordConsumerFilterer) FilterChainlinkRequested(opts *bind.FilterOpts, id [][32]byte) (*MultiWordConsumerChainlinkRequestedIterator, 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) ParseChainlinkCancelled

func (_MultiWordConsumer *MultiWordConsumerFilterer) ParseChainlinkCancelled(log types.Log) (*MultiWordConsumerChainlinkCancelled, error)

func (*MultiWordConsumerFilterer) ParseChainlinkFulfilled

func (_MultiWordConsumer *MultiWordConsumerFilterer) ParseChainlinkFulfilled(log types.Log) (*MultiWordConsumerChainlinkFulfilled, error)

func (*MultiWordConsumerFilterer) ParseChainlinkRequested

func (_MultiWordConsumer *MultiWordConsumerFilterer) ParseChainlinkRequested(log types.Log) (*MultiWordConsumerChainlinkRequested, 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) WatchChainlinkCancelled

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

func (*MultiWordConsumerFilterer) WatchChainlinkFulfilled

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

func (*MultiWordConsumerFilterer) WatchChainlinkRequested

func (_MultiWordConsumer *MultiWordConsumerFilterer) WatchChainlinkRequested(opts *bind.WatchOpts, sink chan<- *MultiWordConsumerChainlinkRequested, 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 added in v0.9.10

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)

	FilterChainlinkCancelled(opts *bind.FilterOpts, id [][32]byte) (*MultiWordConsumerChainlinkCancelledIterator, error)

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

	ParseChainlinkCancelled(log types.Log) (*MultiWordConsumerChainlinkCancelled, error)

	FilterChainlinkFulfilled(opts *bind.FilterOpts, id [][32]byte) (*MultiWordConsumerChainlinkFulfilledIterator, error)

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

	ParseChainlinkFulfilled(log types.Log) (*MultiWordConsumerChainlinkFulfilled, error)

	FilterChainlinkRequested(opts *bind.FilterOpts, id [][32]byte) (*MultiWordConsumerChainlinkRequestedIterator, error)

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

	ParseChainlinkRequested(log types.Log) (*MultiWordConsumerChainlinkRequested, 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 added in v0.10.3

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 added in v0.10.3

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)
func (_MultiWordConsumer *MultiWordConsumerTransactor) WithdrawLink(opts *bind.TransactOpts) (*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