Documentation ¶
Index ¶
- 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) EurInt(opts *bind.CallOpts) (*big.Int, error)
- func (_MultiWordConsumer *MultiWordConsumerCaller) Jpy(opts *bind.CallOpts) ([32]byte, error)
- func (_MultiWordConsumer *MultiWordConsumerCaller) JpyInt(opts *bind.CallOpts) (*big.Int, error)
- func (_MultiWordConsumer *MultiWordConsumerCaller) PublicGetNextRequestCount(opts *bind.CallOpts) (*big.Int, error)
- func (_MultiWordConsumer *MultiWordConsumerCaller) Usd(opts *bind.CallOpts) ([32]byte, error)
- func (_MultiWordConsumer *MultiWordConsumerCaller) UsdInt(opts *bind.CallOpts) (*big.Int, error)
- type MultiWordConsumerCallerRaw
- type MultiWordConsumerCallerSession
- func (_MultiWordConsumer *MultiWordConsumerCallerSession) CurrentPrice() ([]byte, error)
- func (_MultiWordConsumer *MultiWordConsumerCallerSession) Eur() ([32]byte, error)
- func (_MultiWordConsumer *MultiWordConsumerCallerSession) EurInt() (*big.Int, error)
- func (_MultiWordConsumer *MultiWordConsumerCallerSession) Jpy() ([32]byte, error)
- func (_MultiWordConsumer *MultiWordConsumerCallerSession) JpyInt() (*big.Int, error)
- func (_MultiWordConsumer *MultiWordConsumerCallerSession) PublicGetNextRequestCount() (*big.Int, error)
- func (_MultiWordConsumer *MultiWordConsumerCallerSession) Usd() ([32]byte, error)
- func (_MultiWordConsumer *MultiWordConsumerCallerSession) UsdInt() (*big.Int, 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) FilterRequestMultipleFulfilledWithCustomURLs(opts *bind.FilterOpts, requestId [][32]byte, usd []*big.Int, eur []*big.Int) (*MultiWordConsumerRequestMultipleFulfilledWithCustomURLsIterator, 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) ParseRequestMultipleFulfilledWithCustomURLs(log types.Log) (*MultiWordConsumerRequestMultipleFulfilledWithCustomURLs, 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)
- func (_MultiWordConsumer *MultiWordConsumerFilterer) WatchRequestMultipleFulfilledWithCustomURLs(opts *bind.WatchOpts, ...) (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 MultiWordConsumerRequestMultipleFulfilledWithCustomURLs
- type MultiWordConsumerRequestMultipleFulfilledWithCustomURLsIterator
- 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) EurInt() (*big.Int, 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) FulfillMultipleParametersWithCustomURLs(_requestId [32]byte, _usd *big.Int, _eur *big.Int, _jpy *big.Int) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerSession) Jpy() ([32]byte, error)
- func (_MultiWordConsumer *MultiWordConsumerSession) JpyInt() (*big.Int, error)
- func (_MultiWordConsumer *MultiWordConsumerSession) PublicGetNextRequestCount() (*big.Int, error)
- func (_MultiWordConsumer *MultiWordConsumerSession) RequestEthereumPrice(_currency string, _payment *big.Int) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerSession) RequestMultipleParameters(_currency string, _payment *big.Int) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerSession) RequestMultipleParametersWithCustomURLs(_urlUSD string, _pathUSD string, _urlEUR string, _pathEUR string, ...) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerSession) SetSpecID(_specId [32]byte) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerSession) Usd() ([32]byte, error)
- func (_MultiWordConsumer *MultiWordConsumerSession) UsdInt() (*big.Int, 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) FulfillMultipleParametersWithCustomURLs(opts *bind.TransactOpts, _requestId [32]byte, _usd *big.Int, _eur *big.Int, ...) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerTransactor) RequestEthereumPrice(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) RequestMultipleParametersWithCustomURLs(opts *bind.TransactOpts, _urlUSD string, _pathUSD string, _urlEUR string, ...) (*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) FulfillMultipleParametersWithCustomURLs(_requestId [32]byte, _usd *big.Int, _eur *big.Int, _jpy *big.Int) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerTransactorSession) RequestEthereumPrice(_currency string, _payment *big.Int) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerTransactorSession) RequestMultipleParameters(_currency string, _payment *big.Int) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerTransactorSession) RequestMultipleParametersWithCustomURLs(_urlUSD string, _pathUSD string, _urlEUR string, _pathEUR string, ...) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerTransactorSession) SetSpecID(_specId [32]byte) (*types.Transaction, error)
- func (_MultiWordConsumer *MultiWordConsumerTransactorSession) WithdrawLink() (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var MultiWordConsumerABI = MultiWordConsumerMetaData.ABI
View Source
var MultiWordConsumerBin = MultiWordConsumerMetaData.Bin
View Source
var MultiWordConsumerMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_link\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_oracle\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_specId\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"ChainlinkCancelled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"ChainlinkFulfilled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"ChainlinkRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"requestId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes\",\"name\":\"price\",\"type\":\"bytes\"}],\"name\":\"RequestFulfilled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"requestId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"usd\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"eur\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"jpy\",\"type\":\"bytes32\"}],\"name\":\"RequestMultipleFulfilled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"requestId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"usd\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"eur\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"jpy\",\"type\":\"uint256\"}],\"name\":\"RequestMultipleFulfilledWithCustomURLs\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_oracle\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"}],\"name\":\"addExternalRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_oracle\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_payment\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"_callbackFunctionId\",\"type\":\"bytes4\"},{\"internalType\":\"uint256\",\"name\":\"_expiration\",\"type\":\"uint256\"}],\"name\":\"cancelRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentPrice\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eur\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eurInt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_price\",\"type\":\"bytes\"}],\"name\":\"fulfillBytes\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_usd\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_eur\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_jpy\",\"type\":\"bytes32\"}],\"name\":\"fulfillMultipleParameters\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_usd\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_eur\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_jpy\",\"type\":\"uint256\"}],\"name\":\"fulfillMultipleParametersWithCustomURLs\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"jpy\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"jpyInt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"publicGetNextRequestCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_currency\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_payment\",\"type\":\"uint256\"}],\"name\":\"requestEthereumPrice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_currency\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_payment\",\"type\":\"uint256\"}],\"name\":\"requestMultipleParameters\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_urlUSD\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_pathUSD\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_urlEUR\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_pathEUR\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_urlJPY\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_pathJPY\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_payment\",\"type\":\"uint256\"}],\"name\":\"requestMultipleParametersWithCustomURLs\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_specId\",\"type\":\"bytes32\"}],\"name\":\"setSpecID\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"usd\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"usdInt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawLink\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x6080604052600160045534801561001557600080fd5b50604051611cbc380380611cbc8339818101604052606081101561003857600080fd5b508051602082015160409092015190919061005283610066565b61005b82610088565b600655506100aa9050565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b611c03806100b96000396000f3fe608060405234801561001057600080fd5b50600436106101355760003560e01c80639d1b464a116100b2578063d63a6ccd11610081578063e8d5359d11610066578063e8d5359d14610804578063ef5934731461083d578063faa367611461086c57610135565b8063d63a6ccd14610754578063e89855ba1461075c57610135565b80639d1b464a146105f3578063a856ff6b14610670578063b44cb4691461069f578063c2fb8523146106a757610135565b8063673cd6aa1161010957806383db5cbc116100ee57806383db5cbc146101f85780638dc654a2146102a0578063938649e5146102a857610135565b8063673cd6aa146101e85780637439ae59146101f057610135565b80629879571461013a5780632f0dc45814610154578063501fdd5d1461015c5780635591a6081461017b575b600080fd5b610142610874565b60408051918252519081900360200190f35b61014261087a565b6101796004803603602081101561017257600080fd5b5035610880565b005b610179600480360360a081101561019157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020810135906040810135907fffffffff000000000000000000000000000000000000000000000000000000006060820135169060800135610885565b61014261094c565b61014261095b565b6101796004803603604081101561020e57600080fd5b81019060208101813564010000000081111561022957600080fd5b82018360208201111561023b57600080fd5b8035906020019184600183028401116401000000008311171561025d57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250610961915050565b610179610988565b610179600480360360e08110156102be57600080fd5b8101906020810181356401000000008111156102d957600080fd5b8201836020820111156102eb57600080fd5b8035906020019184600183028401116401000000008311171561030d57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561036057600080fd5b82018360208201111561037257600080fd5b8035906020019184600183028401116401000000008311171561039457600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156103e757600080fd5b8201836020820111156103f957600080fd5b8035906020019184600183028401116401000000008311171561041b57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561046e57600080fd5b82018360208201111561048057600080fd5b803590602001918460018302840111640100000000831117156104a257600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156104f557600080fd5b82018360208201111561050757600080fd5b8035906020019184600183028401116401000000008311171561052957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561057c57600080fd5b82018360208201111561058e57600080fd5b803590602001918460018302840111640100000000831117156105b057600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250610b52915050565b6105fb610cff565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561063557818101518382015260200161061d565b50505050905090810190601f1680156106625780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101796004803603608081101561068657600080fd5b5080359060208101359060408101359060600135610dab565b610142610ece565b610179600480360360408110156106bd57600080fd5b813591908101906040810160208201356401000000008111156106df57600080fd5b8201836020820111156106f157600080fd5b8035906020019184600183028401116401000000008311171561071357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610ed4945050505050565b610142611080565b6101796004803603604081101561077257600080fd5b81019060208101813564010000000081111561078d57600080fd5b82018360208201111561079f57600080fd5b803590602001918460018302840111640100000000831117156107c157600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250611086915050565b6101796004803603604081101561081a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561109b565b6101796004803603608081101561085357600080fd5b50803590602081013590604081013590606001356110a9565b6101426111cc565b600c5481565b600d5481565b600655565b604080517f6ee4d55300000000000000000000000000000000000000000000000000000000815260048101869052602481018590527fffffffff0000000000000000000000000000000000000000000000000000000084166044820152606481018390529051869173ffffffffffffffffffffffffffffffffffffffff831691636ee4d5539160848082019260009290919082900301818387803b15801561092c57600080fd5b505af1158015610940573d6000803e3d6000fd5b50505050505050505050565b60006109566111d2565b905090565b60095481565b600061097660065463c2fb852360e01b6111d8565b905061098281836111fe565b50505050565b600061099261122c565b90508073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610a1857600080fd5b505afa158015610a2c573d6000803e3d6000fd5b505050506040513d6020811015610a4257600080fd5b5051604080517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815273ffffffffffffffffffffffffffffffffffffffff909316600484015260248301919091525160448083019260209291908290030181600087803b158015610ab857600080fd5b505af1158015610acc573d6000803e3d6000fd5b505050506040513d6020811015610ae257600080fd5b5051610b4f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f556e61626c6520746f207472616e736665720000000000000000000000000000604482015290519081900360640190fd5b50565b6000610b6760065463ef59347360e01b6111d8565b60408051808201909152600681527f75726c55534400000000000000000000000000000000000000000000000000006020820152909150610baa9082908a611248565b60408051808201909152600781527f70617468555344000000000000000000000000000000000000000000000000006020820152610bea90829089611248565b60408051808201909152600681527f75726c45555200000000000000000000000000000000000000000000000000006020820152610c2a90829088611248565b60408051808201909152600781527f70617468455552000000000000000000000000000000000000000000000000006020820152610c6a90829087611248565b60408051808201909152600681527f75726c4a505900000000000000000000000000000000000000000000000000006020820152610caa90829086611248565b60408051808201909152600781527f706174684a5059000000000000000000000000000000000000000000000000006020820152610cea90829085611248565b610cf481836111fe565b505050505050505050565b6007805460408051602060026001851615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f81018490048402820184019092528181529291830182828015610da35780601f10610d7857610100808354040283529160200191610da3565b820191906000526020600020905b815481529060010190602001808311610d8657829003601f168201915b505050505081565b600084815260056020526040902054849073ffffffffffffffffffffffffffffffffffffffff163314610e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180611bcf6028913960400191505060405180910390fd5b60008181526005602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a28284867f0ec0c13e44aa04198947078cb990660252870dd3363f4c4bb3cc780f808dabbe856040518082815260200191505060405180910390a450600892909255600955600a5550565b600b5481565b600082815260056020526040902054829073ffffffffffffffffffffffffffffffffffffffff163314610f52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180611bcf6028913960400191505060405180910390fd5b60008181526005602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a2816040518082805190602001908083835b60208310610ffb57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610fbe565b5181516020939093036101000a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01801990911692169190911790526040519201829003822093508692507f1a111c5dcf9a71088bd5e1797fdfaf399fec2afbb24aca247e4e3e9f4b61df919160009150a38151610982906007906020850190611abb565b60085481565b600061097660065463a856ff6b60e01b6111d8565b6110a5828261126b565b5050565b600084815260056020526040902054849073ffffffffffffffffffffffffffffffffffffffff163314611127576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180611bcf6028913960400191505060405180910390fd5b60008181526005602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a28284867f077e16d6f19163c0c96d84a7bff48b4ba41f3956f95d6fb0e584ec77297fe245856040518082815260200191505060405180910390a450600b92909255600c55600d5550565b600a5481565b60045490565b6111e0611b47565b6111e8611b47565b6111f481853086611352565b9150505b92915050565b6003546000906112259073ffffffffffffffffffffffffffffffffffffffff1684846113bd565b9392505050565b60025473ffffffffffffffffffffffffffffffffffffffff1690565b60808301516112579083611538565b60808301516112669082611538565b505050565b600081815260056020526040902054819073ffffffffffffffffffffffffffffffffffffffff16156112fe57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f5265717565737420697320616c72656164792070656e64696e67000000000000604482015290519081900360640190fd5b50600090815260056020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b61135a611b47565b61136a856080015161010061154f565b505082845273ffffffffffffffffffffffffffffffffffffffff821660208501527fffffffff0000000000000000000000000000000000000000000000000000000081166040850152835b949350505050565b6000806004549050806001016004819055506000633c6d41b960e01b600080876000015188604001518660028b6080015160000151604051602401808873ffffffffffffffffffffffffffffffffffffffff168152602001878152602001868152602001857bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561148b578181015183820152602001611473565b50505050905090810190601f1680156114b85780820380516001836020036101000a031916815260200191505b5098505050505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050905061152e86838684611589565b9695505050505050565b611545826003835161179c565b61126682826118b1565b611557611b7c565b602082061561156c5760208206602003820191505b506020828101829052604080518085526000815290920101905290565b604080513060601b60208083019190915260348083018790528351808403909101815260549092018084528251928201929092206000818152600590925292812080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff891617905582917fb5e6e01e79f91267dc17b4e6314d5d4d03593d2ceee0fbb452b750bd70ea5af99190a26002546040517f4000aea000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff87811660048301908152602483018790526060604484019081528651606485015286519290941693634000aea0938a938993899390929091608490910190602085019080838360005b838110156116cd5781810151838201526020016116b5565b50505050905090810190601f1680156116fa5780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b15801561171b57600080fd5b505af115801561172f573d6000803e3d6000fd5b505050506040513d602081101561174557600080fd5b50516113b5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180611bac6023913960400191505060405180910390fd5b60178167ffffffffffffffff16116117c7576117c18360e0600585901b1683176118cb565b50611266565b60ff8167ffffffffffffffff1611611805576117ee836018611fe0600586901b16176118cb565b506117c18367ffffffffffffffff831660016118e3565b61ffff8167ffffffffffffffff16116118445761182d836019611fe0600586901b16176118cb565b506117c18367ffffffffffffffff831660026118e3565b63ffffffff8167ffffffffffffffff16116118855761186e83601a611fe0600586901b16176118cb565b506117c18367ffffffffffffffff831660046118e3565b61189a83601b611fe0600586901b16176118cb565b506109828367ffffffffffffffff831660086118e3565b6118b9611b7c565b611225838460000151518485516118fc565b6118d3611b7c565b61122583846000015151846119e4565b6118eb611b7c565b6113b5848560000151518585611a2f565b611904611b7c565b825182111561191257600080fd5b8460200151828501111561193c5761193c856119348760200151878601611a8d565b600202611aa4565b60008086518051876020830101935080888701111561195b5787860182525b505050602084015b602084106119a057805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09093019260209182019101611963565b5181517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60208690036101000a019081169019919091161790525083949350505050565b6119ec611b7c565b83602001518310611a0857611a08848560200151600202611aa4565b835180516020858301018481535080851415611a25576001810182525b5093949350505050565b611a37611b7c565b84602001518483011115611a5457611a5485858401600202611aa4565b60006001836101000a039050855183868201018583198251161781525080518487011115611a825783860181525b509495945050505050565b600081831115611a9e5750816111f8565b50919050565b8151611ab0838361154f565b5061098283826118b1565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282611af15760008555611b37565b82601f10611b0a57805160ff1916838001178555611b37565b82800160010185558215611b37579182015b82811115611b37578251825591602001919060010190611b1c565b50611b43929150611b96565b5090565b6040805160a081018252600080825260208201819052918101829052606081019190915260808101611b77611b7c565b905290565b604051806040016040528060608152602001600081525090565b5b80821115611b435760008155600101611b9756fe756e61626c6520746f207472616e73666572416e6443616c6c20746f206f7261636c65536f75726365206d75737420626520746865206f7261636c65206f66207468652072657175657374a164736f6c6343000706000a",
}
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 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) PublicGetNextRequestCount ¶
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) EurInt ¶
func (_MultiWordConsumer *MultiWordConsumerCallerSession) EurInt() (*big.Int, error)
func (*MultiWordConsumerCallerSession) Jpy ¶
func (_MultiWordConsumer *MultiWordConsumerCallerSession) Jpy() ([32]byte, error)
func (*MultiWordConsumerCallerSession) JpyInt ¶
func (_MultiWordConsumer *MultiWordConsumerCallerSession) JpyInt() (*big.Int, error)
func (*MultiWordConsumerCallerSession) PublicGetNextRequestCount ¶
func (_MultiWordConsumer *MultiWordConsumerCallerSession) PublicGetNextRequestCount() (*big.Int, error)
func (*MultiWordConsumerCallerSession) Usd ¶
func (_MultiWordConsumer *MultiWordConsumerCallerSession) Usd() ([32]byte, error)
type MultiWordConsumerChainlinkCancelled ¶
func (MultiWordConsumerChainlinkCancelled) Topic ¶
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 ¶
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 ¶
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) FilterRequestMultipleFulfilledWithCustomURLs ¶
func (_MultiWordConsumer *MultiWordConsumerFilterer) FilterRequestMultipleFulfilledWithCustomURLs(opts *bind.FilterOpts, requestId [][32]byte, usd []*big.Int, eur []*big.Int) (*MultiWordConsumerRequestMultipleFulfilledWithCustomURLsIterator, 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) ParseRequestMultipleFulfilledWithCustomURLs ¶
func (_MultiWordConsumer *MultiWordConsumerFilterer) ParseRequestMultipleFulfilledWithCustomURLs(log types.Log) (*MultiWordConsumerRequestMultipleFulfilledWithCustomURLs, 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)
func (*MultiWordConsumerFilterer) WatchRequestMultipleFulfilledWithCustomURLs ¶
func (_MultiWordConsumer *MultiWordConsumerFilterer) WatchRequestMultipleFulfilledWithCustomURLs(opts *bind.WatchOpts, sink chan<- *MultiWordConsumerRequestMultipleFulfilledWithCustomURLs, requestId [][32]byte, usd []*big.Int, eur []*big.Int) (event.Subscription, error)
type MultiWordConsumerInterface ¶
type MultiWordConsumerInterface interface { CurrentPrice(opts *bind.CallOpts) ([]byte, error) Eur(opts *bind.CallOpts) ([32]byte, error) EurInt(opts *bind.CallOpts) (*big.Int, error) Jpy(opts *bind.CallOpts) ([32]byte, error) JpyInt(opts *bind.CallOpts) (*big.Int, error) PublicGetNextRequestCount(opts *bind.CallOpts) (*big.Int, error) Usd(opts *bind.CallOpts) ([32]byte, error) UsdInt(opts *bind.CallOpts) (*big.Int, 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) FulfillMultipleParametersWithCustomURLs(opts *bind.TransactOpts, _requestId [32]byte, _usd *big.Int, _eur *big.Int, _jpy *big.Int) (*types.Transaction, error) RequestEthereumPrice(opts *bind.TransactOpts, _currency string, _payment *big.Int) (*types.Transaction, error) RequestMultipleParameters(opts *bind.TransactOpts, _currency string, _payment *big.Int) (*types.Transaction, error) RequestMultipleParametersWithCustomURLs(opts *bind.TransactOpts, _urlUSD string, _pathUSD string, _urlEUR string, _pathEUR string, _urlJPY string, _pathJPY 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) FilterRequestMultipleFulfilledWithCustomURLs(opts *bind.FilterOpts, requestId [][32]byte, usd []*big.Int, eur []*big.Int) (*MultiWordConsumerRequestMultipleFulfilledWithCustomURLsIterator, error) WatchRequestMultipleFulfilledWithCustomURLs(opts *bind.WatchOpts, sink chan<- *MultiWordConsumerRequestMultipleFulfilledWithCustomURLs, requestId [][32]byte, usd []*big.Int, eur []*big.Int) (event.Subscription, error) ParseRequestMultipleFulfilledWithCustomURLs(log types.Log) (*MultiWordConsumerRequestMultipleFulfilledWithCustomURLs, 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 MultiWordConsumerRequestMultipleFulfilledWithCustomURLs ¶
type MultiWordConsumerRequestMultipleFulfilledWithCustomURLs struct { RequestId [32]byte Usd *big.Int Eur *big.Int Jpy *big.Int Raw types.Log }
func (MultiWordConsumerRequestMultipleFulfilledWithCustomURLs) Topic ¶
func (MultiWordConsumerRequestMultipleFulfilledWithCustomURLs) Topic() common.Hash
type MultiWordConsumerRequestMultipleFulfilledWithCustomURLsIterator ¶
type MultiWordConsumerRequestMultipleFulfilledWithCustomURLsIterator struct { Event *MultiWordConsumerRequestMultipleFulfilledWithCustomURLs // contains filtered or unexported fields }
func (*MultiWordConsumerRequestMultipleFulfilledWithCustomURLsIterator) Close ¶
func (it *MultiWordConsumerRequestMultipleFulfilledWithCustomURLsIterator) Close() error
func (*MultiWordConsumerRequestMultipleFulfilledWithCustomURLsIterator) Error ¶
func (it *MultiWordConsumerRequestMultipleFulfilledWithCustomURLsIterator) Error() error
func (*MultiWordConsumerRequestMultipleFulfilledWithCustomURLsIterator) Next ¶
func (it *MultiWordConsumerRequestMultipleFulfilledWithCustomURLsIterator) 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) EurInt ¶
func (_MultiWordConsumer *MultiWordConsumerSession) EurInt() (*big.Int, 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) FulfillMultipleParametersWithCustomURLs ¶
func (*MultiWordConsumerSession) Jpy ¶
func (_MultiWordConsumer *MultiWordConsumerSession) Jpy() ([32]byte, error)
func (*MultiWordConsumerSession) JpyInt ¶
func (_MultiWordConsumer *MultiWordConsumerSession) JpyInt() (*big.Int, error)
func (*MultiWordConsumerSession) PublicGetNextRequestCount ¶
func (_MultiWordConsumer *MultiWordConsumerSession) PublicGetNextRequestCount() (*big.Int, error)
func (*MultiWordConsumerSession) RequestEthereumPrice ¶
func (_MultiWordConsumer *MultiWordConsumerSession) RequestEthereumPrice(_currency string, _payment *big.Int) (*types.Transaction, error)
func (*MultiWordConsumerSession) RequestMultipleParameters ¶
func (_MultiWordConsumer *MultiWordConsumerSession) RequestMultipleParameters(_currency string, _payment *big.Int) (*types.Transaction, error)
func (*MultiWordConsumerSession) RequestMultipleParametersWithCustomURLs ¶
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) UsdInt ¶
func (_MultiWordConsumer *MultiWordConsumerSession) UsdInt() (*big.Int, 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) FulfillMultipleParametersWithCustomURLs ¶
func (_MultiWordConsumer *MultiWordConsumerTransactor) FulfillMultipleParametersWithCustomURLs(opts *bind.TransactOpts, _requestId [32]byte, _usd *big.Int, _eur *big.Int, _jpy *big.Int) (*types.Transaction, error)
func (*MultiWordConsumerTransactor) RequestEthereumPrice ¶
func (_MultiWordConsumer *MultiWordConsumerTransactor) RequestEthereumPrice(opts *bind.TransactOpts, _currency string, _payment *big.Int) (*types.Transaction, error)
func (*MultiWordConsumerTransactor) RequestMultipleParameters ¶
func (_MultiWordConsumer *MultiWordConsumerTransactor) RequestMultipleParameters(opts *bind.TransactOpts, _currency string, _payment *big.Int) (*types.Transaction, error)
func (*MultiWordConsumerTransactor) RequestMultipleParametersWithCustomURLs ¶
func (_MultiWordConsumer *MultiWordConsumerTransactor) RequestMultipleParametersWithCustomURLs(opts *bind.TransactOpts, _urlUSD string, _pathUSD string, _urlEUR string, _pathEUR string, _urlJPY string, _pathJPY 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) FulfillMultipleParametersWithCustomURLs ¶
func (*MultiWordConsumerTransactorSession) RequestEthereumPrice ¶
func (_MultiWordConsumer *MultiWordConsumerTransactorSession) RequestEthereumPrice(_currency string, _payment *big.Int) (*types.Transaction, error)
func (*MultiWordConsumerTransactorSession) RequestMultipleParameters ¶
func (_MultiWordConsumer *MultiWordConsumerTransactorSession) RequestMultipleParameters(_currency string, _payment *big.Int) (*types.Transaction, error)
func (*MultiWordConsumerTransactorSession) RequestMultipleParametersWithCustomURLs ¶
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.