Documentation ¶
Index ¶
- Constants
- Variables
- type MultiWordConsumer
- type MultiWordConsumerCaller
- func (_MultiWordConsumer *MultiWordConsumerCaller) CurrentPrice(opts *bind.CallOpts) ([]byte, error)
- func (_MultiWordConsumer *MultiWordConsumerCaller) Eur(opts *bind.CallOpts) ([32]byte, error)
- func (_MultiWordConsumer *MultiWordConsumerCaller) Jpy(opts *bind.CallOpts) ([32]byte, error)
- func (_MultiWordConsumer *MultiWordConsumerCaller) Usd(opts *bind.CallOpts) ([32]byte, error)
- type MultiWordConsumerCallerRaw
- type MultiWordConsumerCallerSession
- func (_MultiWordConsumer *MultiWordConsumerCallerSession) CurrentPrice() ([]byte, error)
- func (_MultiWordConsumer *MultiWordConsumerCallerSession) Eur() ([32]byte, error)
- func (_MultiWordConsumer *MultiWordConsumerCallerSession) Jpy() ([32]byte, error)
- func (_MultiWordConsumer *MultiWordConsumerCallerSession) Usd() ([32]byte, error)
- type MultiWordConsumerChainlinkCancelled
- type MultiWordConsumerChainlinkCancelledIterator
- type MultiWordConsumerChainlinkFulfilled
- type MultiWordConsumerChainlinkFulfilledIterator
- type MultiWordConsumerChainlinkRequested
- type MultiWordConsumerChainlinkRequestedIterator
- type MultiWordConsumerFilterer
- func (_MultiWordConsumer *MultiWordConsumerFilterer) FilterChainlinkCancelled(opts *bind.FilterOpts, id [][32]byte) (*MultiWordConsumerChainlinkCancelledIterator, error)
- func (_MultiWordConsumer *MultiWordConsumerFilterer) FilterChainlinkFulfilled(opts *bind.FilterOpts, id [][32]byte) (*MultiWordConsumerChainlinkFulfilledIterator, error)
- func (_MultiWordConsumer *MultiWordConsumerFilterer) FilterChainlinkRequested(opts *bind.FilterOpts, id [][32]byte) (*MultiWordConsumerChainlinkRequestedIterator, error)
- func (_MultiWordConsumer *MultiWordConsumerFilterer) FilterRequestFulfilled(opts *bind.FilterOpts, requestId [][32]byte, price [][]byte) (*MultiWordConsumerRequestFulfilledIterator, error)
- func (_MultiWordConsumer *MultiWordConsumerFilterer) FilterRequestMultipleFulfilled(opts *bind.FilterOpts, requestId [][32]byte, usd [][32]byte, eur [][32]byte) (*MultiWordConsumerRequestMultipleFulfilledIterator, error)
- func (_MultiWordConsumer *MultiWordConsumerFilterer) ParseChainlinkCancelled(log types.Log) (*MultiWordConsumerChainlinkCancelled, error)
- func (_MultiWordConsumer *MultiWordConsumerFilterer) ParseChainlinkFulfilled(log types.Log) (*MultiWordConsumerChainlinkFulfilled, error)
- func (_MultiWordConsumer *MultiWordConsumerFilterer) ParseChainlinkRequested(log types.Log) (*MultiWordConsumerChainlinkRequested, error)
- func (_MultiWordConsumer *MultiWordConsumerFilterer) ParseRequestFulfilled(log types.Log) (*MultiWordConsumerRequestFulfilled, error)
- func (_MultiWordConsumer *MultiWordConsumerFilterer) ParseRequestMultipleFulfilled(log types.Log) (*MultiWordConsumerRequestMultipleFulfilled, error)
- func (_MultiWordConsumer *MultiWordConsumerFilterer) WatchChainlinkCancelled(opts *bind.WatchOpts, sink chan<- *MultiWordConsumerChainlinkCancelled, ...) (event.Subscription, error)
- func (_MultiWordConsumer *MultiWordConsumerFilterer) WatchChainlinkFulfilled(opts *bind.WatchOpts, sink chan<- *MultiWordConsumerChainlinkFulfilled, ...) (event.Subscription, error)
- func (_MultiWordConsumer *MultiWordConsumerFilterer) WatchChainlinkRequested(opts *bind.WatchOpts, sink chan<- *MultiWordConsumerChainlinkRequested, ...) (event.Subscription, error)
- func (_MultiWordConsumer *MultiWordConsumerFilterer) WatchRequestFulfilled(opts *bind.WatchOpts, sink chan<- *MultiWordConsumerRequestFulfilled, ...) (event.Subscription, error)
- func (_MultiWordConsumer *MultiWordConsumerFilterer) WatchRequestMultipleFulfilled(opts *bind.WatchOpts, sink chan<- *MultiWordConsumerRequestMultipleFulfilled, ...) (event.Subscription, error)
- type MultiWordConsumerInterface
- type MultiWordConsumerRaw
- func (_MultiWordConsumer *MultiWordConsumerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_MultiWordConsumer *MultiWordConsumerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MultiWordConsumerRequestFulfilled
- type MultiWordConsumerRequestFulfilledIterator
- type MultiWordConsumerRequestMultipleFulfilled
- type MultiWordConsumerRequestMultipleFulfilledIterator
- type MultiWordConsumerSession
- func (_MultiWordConsumer *MultiWordConsumerSession) AddExternalRequest(_oracle common.Address, _requestId [32]byte) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerSession) CancelRequest(_oracle common.Address, _requestId [32]byte, _payment *big.Int, ...) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerSession) CurrentPrice() ([]byte, error)
- func (_MultiWordConsumer *MultiWordConsumerSession) Eur() ([32]byte, error)
- func (_MultiWordConsumer *MultiWordConsumerSession) FulfillBytes(_requestId [32]byte, _price []byte) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerSession) FulfillMultipleParameters(_requestId [32]byte, _usd [32]byte, _eur [32]byte, _jpy [32]byte) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerSession) Jpy() ([32]byte, error)
- func (_MultiWordConsumer *MultiWordConsumerSession) RequestEthereumPrice(_currency string, _payment *big.Int) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerSession) RequestEthereumPriceByCallback(_currency string, _payment *big.Int, _callback common.Address) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerSession) RequestMultipleParameters(_currency string, _payment *big.Int) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerSession) SetSpecID(_specId [32]byte) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerSession) Usd() ([32]byte, error)
- func (_MultiWordConsumer *MultiWordConsumerSession) WithdrawLink() (*types.Transaction, error)
- type MultiWordConsumerTransactor
- func (_MultiWordConsumer *MultiWordConsumerTransactor) AddExternalRequest(opts *bind.TransactOpts, _oracle common.Address, _requestId [32]byte) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerTransactor) CancelRequest(opts *bind.TransactOpts, _oracle common.Address, _requestId [32]byte, ...) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerTransactor) FulfillBytes(opts *bind.TransactOpts, _requestId [32]byte, _price []byte) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerTransactor) FulfillMultipleParameters(opts *bind.TransactOpts, _requestId [32]byte, _usd [32]byte, _eur [32]byte, ...) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerTransactor) RequestEthereumPrice(opts *bind.TransactOpts, _currency string, _payment *big.Int) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerTransactor) RequestEthereumPriceByCallback(opts *bind.TransactOpts, _currency string, _payment *big.Int, ...) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerTransactor) RequestMultipleParameters(opts *bind.TransactOpts, _currency string, _payment *big.Int) (*types.Transaction, error)
- 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 MultiWordConsumerTransactorSession
- func (_MultiWordConsumer *MultiWordConsumerTransactorSession) AddExternalRequest(_oracle common.Address, _requestId [32]byte) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerTransactorSession) CancelRequest(_oracle common.Address, _requestId [32]byte, _payment *big.Int, ...) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerTransactorSession) FulfillBytes(_requestId [32]byte, _price []byte) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerTransactorSession) FulfillMultipleParameters(_requestId [32]byte, _usd [32]byte, _eur [32]byte, _jpy [32]byte) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerTransactorSession) RequestEthereumPrice(_currency string, _payment *big.Int) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerTransactorSession) RequestEthereumPriceByCallback(_currency string, _payment *big.Int, _callback common.Address) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerTransactorSession) RequestMultipleParameters(_currency string, _payment *big.Int) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerTransactorSession) SetSpecID(_specId [32]byte) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerTransactorSession) WithdrawLink() (*types.Transaction, error)
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
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)
type MultiWordConsumerCallerRaw ¶
type MultiWordConsumerCallerRaw struct {
Contract *MultiWordConsumerCaller
}
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 ¶
func (MultiWordConsumerChainlinkCancelled) Topic ¶ added in v0.10.3
func (MultiWordConsumerChainlinkCancelled) Topic() common.Hash
type MultiWordConsumerChainlinkCancelledIterator ¶
type MultiWordConsumerChainlinkCancelledIterator struct { Event *MultiWordConsumerChainlinkCancelled // contains filtered or unexported fields }
func (*MultiWordConsumerChainlinkCancelledIterator) Close ¶
func (it *MultiWordConsumerChainlinkCancelledIterator) Close() error
func (*MultiWordConsumerChainlinkCancelledIterator) Error ¶
func (it *MultiWordConsumerChainlinkCancelledIterator) Error() error
func (*MultiWordConsumerChainlinkCancelledIterator) Next ¶
func (it *MultiWordConsumerChainlinkCancelledIterator) Next() bool
type MultiWordConsumerChainlinkFulfilled ¶
func (MultiWordConsumerChainlinkFulfilled) Topic ¶ added in v0.10.3
func (MultiWordConsumerChainlinkFulfilled) Topic() common.Hash
type MultiWordConsumerChainlinkFulfilledIterator ¶
type MultiWordConsumerChainlinkFulfilledIterator struct { Event *MultiWordConsumerChainlinkFulfilled // contains filtered or unexported fields }
func (*MultiWordConsumerChainlinkFulfilledIterator) Close ¶
func (it *MultiWordConsumerChainlinkFulfilledIterator) Close() error
func (*MultiWordConsumerChainlinkFulfilledIterator) Error ¶
func (it *MultiWordConsumerChainlinkFulfilledIterator) Error() error
func (*MultiWordConsumerChainlinkFulfilledIterator) Next ¶
func (it *MultiWordConsumerChainlinkFulfilledIterator) Next() bool
type MultiWordConsumerChainlinkRequested ¶
func (MultiWordConsumerChainlinkRequested) Topic ¶ added in v0.10.3
func (MultiWordConsumerChainlinkRequested) Topic() common.Hash
type MultiWordConsumerChainlinkRequestedIterator ¶
type MultiWordConsumerChainlinkRequestedIterator struct { Event *MultiWordConsumerChainlinkRequested // contains filtered or unexported fields }
func (*MultiWordConsumerChainlinkRequestedIterator) Close ¶
func (it *MultiWordConsumerChainlinkRequestedIterator) Close() error
func (*MultiWordConsumerChainlinkRequestedIterator) Error ¶
func (it *MultiWordConsumerChainlinkRequestedIterator) Error() error
func (*MultiWordConsumerChainlinkRequestedIterator) Next ¶
func (it *MultiWordConsumerChainlinkRequestedIterator) Next() bool
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
func (MultiWordConsumerRequestFulfilled) Topic() common.Hash
type MultiWordConsumerRequestFulfilledIterator ¶
type MultiWordConsumerRequestFulfilledIterator struct { Event *MultiWordConsumerRequestFulfilled // contains filtered or unexported fields }
func (*MultiWordConsumerRequestFulfilledIterator) Close ¶
func (it *MultiWordConsumerRequestFulfilledIterator) Close() error
func (*MultiWordConsumerRequestFulfilledIterator) Error ¶
func (it *MultiWordConsumerRequestFulfilledIterator) Error() error
func (*MultiWordConsumerRequestFulfilledIterator) Next ¶
func (it *MultiWordConsumerRequestFulfilledIterator) Next() bool
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
func (MultiWordConsumerRequestMultipleFulfilled) Topic() common.Hash
type MultiWordConsumerRequestMultipleFulfilledIterator ¶
type MultiWordConsumerRequestMultipleFulfilledIterator struct { Event *MultiWordConsumerRequestMultipleFulfilled // contains filtered or unexported fields }
func (*MultiWordConsumerRequestMultipleFulfilledIterator) Close ¶
func (it *MultiWordConsumerRequestMultipleFulfilledIterator) Close() error
func (*MultiWordConsumerRequestMultipleFulfilledIterator) Error ¶
func (it *MultiWordConsumerRequestMultipleFulfilledIterator) Error() error
func (*MultiWordConsumerRequestMultipleFulfilledIterator) Next ¶
func (it *MultiWordConsumerRequestMultipleFulfilledIterator) Next() bool
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 (*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 (*MultiWordConsumerSession) WithdrawLink ¶
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 (*MultiWordConsumerTransactor) WithdrawLink ¶
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 (*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 (*MultiWordConsumerTransactorSession) WithdrawLink ¶
func (_MultiWordConsumer *MultiWordConsumerTransactorSession) WithdrawLink() (*types.Transaction, error)
Click to show internal directories.
Click to hide internal directories.