Documentation ¶
Index ¶
- Constants
- Variables
- type MultiWordConsumer
- type MultiWordConsumerAdamoracleCancelled
- type MultiWordConsumerAdamoracleCancelledIterator
- type MultiWordConsumerAdamoracleFulfilled
- type MultiWordConsumerAdamoracleFulfilledIterator
- type MultiWordConsumerAdamoracleRequested
- type MultiWordConsumerAdamoracleRequestedIterator
- 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 MultiWordConsumerFilterer
- func (_MultiWordConsumer *MultiWordConsumerFilterer) FilterAdamoracleCancelled(opts *bind.FilterOpts, id [][32]byte) (*MultiWordConsumerAdamoracleCancelledIterator, error)
- func (_MultiWordConsumer *MultiWordConsumerFilterer) FilterAdamoracleFulfilled(opts *bind.FilterOpts, id [][32]byte) (*MultiWordConsumerAdamoracleFulfilledIterator, error)
- func (_MultiWordConsumer *MultiWordConsumerFilterer) FilterAdamoracleRequested(opts *bind.FilterOpts, id [][32]byte) (*MultiWordConsumerAdamoracleRequestedIterator, 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) ParseAdamoracleCancelled(log types.Log) (*MultiWordConsumerAdamoracleCancelled, error)
- func (_MultiWordConsumer *MultiWordConsumerFilterer) ParseAdamoracleFulfilled(log types.Log) (*MultiWordConsumerAdamoracleFulfilled, error)
- func (_MultiWordConsumer *MultiWordConsumerFilterer) ParseAdamoracleRequested(log types.Log) (*MultiWordConsumerAdamoracleRequested, error)
- func (_MultiWordConsumer *MultiWordConsumerFilterer) ParseRequestFulfilled(log types.Log) (*MultiWordConsumerRequestFulfilled, error)
- func (_MultiWordConsumer *MultiWordConsumerFilterer) ParseRequestMultipleFulfilled(log types.Log) (*MultiWordConsumerRequestMultipleFulfilled, error)
- func (_MultiWordConsumer *MultiWordConsumerFilterer) WatchAdamoracleCancelled(opts *bind.WatchOpts, sink chan<- *MultiWordConsumerAdamoracleCancelled, ...) (event.Subscription, error)
- func (_MultiWordConsumer *MultiWordConsumerFilterer) WatchAdamoracleFulfilled(opts *bind.WatchOpts, sink chan<- *MultiWordConsumerAdamoracleFulfilled, ...) (event.Subscription, error)
- func (_MultiWordConsumer *MultiWordConsumerFilterer) WatchAdamoracleRequested(opts *bind.WatchOpts, sink chan<- *MultiWordConsumerAdamoracleRequested, ...) (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)
- 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 = "" /* 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
type MultiWordConsumerAdamoracleCancelled ¶
func (MultiWordConsumerAdamoracleCancelled) Topic ¶
func (MultiWordConsumerAdamoracleCancelled) Topic() common.Hash
type MultiWordConsumerAdamoracleCancelledIterator ¶
type MultiWordConsumerAdamoracleCancelledIterator struct { Event *MultiWordConsumerAdamoracleCancelled // contains filtered or unexported fields }
func (*MultiWordConsumerAdamoracleCancelledIterator) Close ¶
func (it *MultiWordConsumerAdamoracleCancelledIterator) Close() error
func (*MultiWordConsumerAdamoracleCancelledIterator) Error ¶
func (it *MultiWordConsumerAdamoracleCancelledIterator) Error() error
func (*MultiWordConsumerAdamoracleCancelledIterator) Next ¶
func (it *MultiWordConsumerAdamoracleCancelledIterator) Next() bool
type MultiWordConsumerAdamoracleFulfilled ¶
func (MultiWordConsumerAdamoracleFulfilled) Topic ¶
func (MultiWordConsumerAdamoracleFulfilled) Topic() common.Hash
type MultiWordConsumerAdamoracleFulfilledIterator ¶
type MultiWordConsumerAdamoracleFulfilledIterator struct { Event *MultiWordConsumerAdamoracleFulfilled // contains filtered or unexported fields }
func (*MultiWordConsumerAdamoracleFulfilledIterator) Close ¶
func (it *MultiWordConsumerAdamoracleFulfilledIterator) Close() error
func (*MultiWordConsumerAdamoracleFulfilledIterator) Error ¶
func (it *MultiWordConsumerAdamoracleFulfilledIterator) Error() error
func (*MultiWordConsumerAdamoracleFulfilledIterator) Next ¶
func (it *MultiWordConsumerAdamoracleFulfilledIterator) Next() bool
type MultiWordConsumerAdamoracleRequested ¶
func (MultiWordConsumerAdamoracleRequested) Topic ¶
func (MultiWordConsumerAdamoracleRequested) Topic() common.Hash
type MultiWordConsumerAdamoracleRequestedIterator ¶
type MultiWordConsumerAdamoracleRequestedIterator struct { Event *MultiWordConsumerAdamoracleRequested // contains filtered or unexported fields }
func (*MultiWordConsumerAdamoracleRequestedIterator) Close ¶
func (it *MultiWordConsumerAdamoracleRequestedIterator) Close() error
func (*MultiWordConsumerAdamoracleRequestedIterator) Error ¶
func (it *MultiWordConsumerAdamoracleRequestedIterator) Error() error
func (*MultiWordConsumerAdamoracleRequestedIterator) Next ¶
func (it *MultiWordConsumerAdamoracleRequestedIterator) Next() bool
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 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 ¶
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 ¶
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)
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.