multiwordconsumer_wrapper

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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\":[{\"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\"},{\"internalType\":\"address\",\"name\":\"_callback\",\"type\":\"address\"}],\"name\":\"requestEthereumPriceByCallback\",\"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: "0x6080604052600160045534801561001557600080fd5b5060405162001d9838038062001d988339818101604052606081101561003a57600080fd5b508051602082015160409092015190919061005483610068565b61005d8261008a565b600655506100ac9050565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b611cdc80620000bc6000396000f3fe608060405234801561001057600080fd5b50600436106101355760003560e01c80639d1b464a116100b2578063d63a6ccd11610081578063e8d5359d11610066578063e8d5359d146108bd578063ef593473146108f6578063faa367611461092557610135565b8063d63a6ccd1461080d578063e89855ba1461081557610135565b80639d1b464a146106ac578063a856ff6b14610729578063b44cb46914610758578063c2fb85231461076057610135565b80637439ae591161010957806383db5cbc116100ee57806383db5cbc146102b15780638dc654a214610359578063938649e51461036157610135565b80637439ae59146101e857806374961d4d146101f057610135565b80629879571461013a5780632f0dc45814610154578063501fdd5d1461015c5780635591a6081461017b575b600080fd5b61014261092d565b60408051918252519081900360200190f35b610142610933565b6101796004803603602081101561017257600080fd5b5035610939565b005b610179600480360360a081101561019157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020810135906040810135907fffffffff00000000000000000000000000000000000000000000000000000000606082013516906080013561093e565b610142610a05565b6101796004803603606081101561020657600080fd5b81019060208101813564010000000081111561022157600080fd5b82018360208201111561023357600080fd5b8035906020019184600183028401116401000000008311171561025557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550508235935050506020013573ffffffffffffffffffffffffffffffffffffffff16610a0b565b610179600480360360408110156102c757600080fd5b8101906020810181356401000000008111156102e257600080fd5b8201836020820111156102f457600080fd5b8035906020019184600183028401116401000000008311171561031657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250610a34915050565b610179610a43565b610179600480360360e081101561037757600080fd5b81019060208101813564010000000081111561039257600080fd5b8201836020820111156103a457600080fd5b803590602001918460018302840111640100000000831117156103c657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561041957600080fd5b82018360208201111561042b57600080fd5b8035906020019184600183028401116401000000008311171561044d57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156104a057600080fd5b8201836020820111156104b257600080fd5b803590602001918460018302840111640100000000831117156104d457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561052757600080fd5b82018360208201111561053957600080fd5b8035906020019184600183028401116401000000008311171561055b57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156105ae57600080fd5b8201836020820111156105c057600080fd5b803590602001918460018302840111640100000000831117156105e257600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561063557600080fd5b82018360208201111561064757600080fd5b8035906020019184600183028401116401000000008311171561066957600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250610c0d915050565b6106b4610dbb565b6040805160208082528351818301528351919283929083019185019080838360005b838110156106ee5781810151838201526020016106d6565b50505050905090810190601f16801561071b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101796004803603608081101561073f57600080fd5b5080359060208101359060408101359060600135610e67565b610142610f8a565b6101796004803603604081101561077657600080fd5b8135919081019060408101602082013564010000000081111561079857600080fd5b8201836020820111156107aa57600080fd5b803590602001918460018302840111640100000000831117156107cc57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610f90945050505050565b610142611142565b6101796004803603604081101561082b57600080fd5b81019060208101813564010000000081111561084657600080fd5b82018360208201111561085857600080fd5b8035906020019184600183028401116401000000008311171561087a57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250611148915050565b610179600480360360408110156108d357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561116a565b6101796004803603608081101561090c57600080fd5b5080359060208101359060408101359060600135611174565b610142611297565b600c5481565b600d5481565b600655565b604080517f6ee4d55300000000000000000000000000000000000000000000000000000000815260048101869052602481018590527fffffffff0000000000000000000000000000000000000000000000000000000084166044820152606481018390529051869173ffffffffffffffffffffffffffffffffffffffff831691636ee4d5539160848082019260009290919082900301818387803b1580156109e557600080fd5b505af11580156109f9573d6000803e3d6000fd5b50505050505050505050565b60095481565b6000610a216006548363c2fb852360e01b61129d565b9050610a2d81846112c2565b5050505050565b610a3f828230610a0b565b5050565b6000610a4d6112f2565b90508073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610ad357600080fd5b505afa158015610ae7573d6000803e3d6000fd5b505050506040513d6020811015610afd57600080fd5b5051604080517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815273ffffffffffffffffffffffffffffffffffffffff909316600484015260248301919091525160448083019260209291908290030181600087803b158015610b7357600080fd5b505af1158015610b87573d6000803e3d6000fd5b505050506040513d6020811015610b9d57600080fd5b5051610c0a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f556e61626c6520746f207472616e736665720000000000000000000000000000604482015290519081900360640190fd5b50565b6000610c236006543063ef59347360e01b61129d565b60408051808201909152600681527f75726c55534400000000000000000000000000000000000000000000000000006020820152909150610c669082908a61130e565b60408051808201909152600781527f70617468555344000000000000000000000000000000000000000000000000006020820152610ca69082908961130e565b60408051808201909152600681527f75726c45555200000000000000000000000000000000000000000000000000006020820152610ce69082908861130e565b60408051808201909152600781527f70617468455552000000000000000000000000000000000000000000000000006020820152610d269082908761130e565b60408051808201909152600681527f75726c4a505900000000000000000000000000000000000000000000000000006020820152610d669082908661130e565b60408051808201909152600781527f706174684a5059000000000000000000000000000000000000000000000000006020820152610da69082908561130e565b610db081836112c2565b505050505050505050565b6007805460408051602060026001851615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f81018490048402820184019092528181529291830182828015610e5f5780601f10610e3457610100808354040283529160200191610e5f565b820191906000526020600020905b815481529060010190602001808311610e4257829003601f168201915b505050505081565b600084815260056020526040902054849073ffffffffffffffffffffffffffffffffffffffff163314610ee5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180611ca86028913960400191505060405180910390fd5b60008181526005602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a28284867f0ec0c13e44aa04198947078cb990660252870dd3363f4c4bb3cc780f808dabbe856040518082815260200191505060405180910390a450600892909255600955600a5550565b600b5481565b600082815260056020526040902054829073ffffffffffffffffffffffffffffffffffffffff16331461100e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180611ca86028913960400191505060405180910390fd5b60008181526005602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a2816040518082805190602001908083835b602083106110b757805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201916020918201910161107a565b5181516020939093036101000a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01801990911692169190911790526040519201829003822093508692507f1a111c5dcf9a71088bd5e1797fdfaf399fec2afbb24aca247e4e3e9f4b61df919160009150a3815161113c906007906020850190611b94565b50505050565b60085481565b600061115e6006543063a856ff6b60e01b61129d565b905061113c81836112c2565b610a3f8282611331565b600084815260056020526040902054849073ffffffffffffffffffffffffffffffffffffffff1633146111f2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180611ca86028913960400191505060405180910390fd5b60008181526005602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a28284867f077e16d6f19163c0c96d84a7bff48b4ba41f3956f95d6fb0e584ec77297fe245856040518082815260200191505060405180910390a450600b92909255600c55600d5550565b600a5481565b6112a5611c20565b6112ad611c20565b6112b981868686611418565b95945050505050565b6003546000906112e99073ffffffffffffffffffffffffffffffffffffffff16848461147a565b90505b92915050565b60025473ffffffffffffffffffffffffffffffffffffffff1690565b608083015161131d90836114b2565b608083015161132c90826114b2565b505050565b600081815260056020526040902054819073ffffffffffffffffffffffffffffffffffffffff16156113c457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f5265717565737420697320616c72656164792070656e64696e67000000000000604482015290519081900360640190fd5b50600090815260056020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b611420611c20565b61143085608001516101006114c9565b505091835273ffffffffffffffffffffffffffffffffffffffff1660208301527fffffffff0000000000000000000000000000000000000000000000000000000016604082015290565b60006114aa84848460027f6de879d600000000000000000000000000000000000000000000000000000000611503565b949350505050565b6114bf82600383516118b6565b61132c828261198a565b6114d1611c55565b60208206156114e65760208206602003820191505b506020828101829052604080518085526000815290920101905290565b6004546040805130606090811b60208084019190915260348084018690528451808503909101815260549093018452825192810192909220908801939093526000838152600590915281812080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8a16179055905182917fb5e6e01e79f91267dc17b4e6314d5d4d03593d2ceee0fbb452b750bd70ea5af991a2600082600080886000015189602001518a604001518b606001518a8d6080015160000151604051602401808973ffffffffffffffffffffffffffffffffffffffff1681526020018881526020018781526020018673ffffffffffffffffffffffffffffffffffffffff168152602001857bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561168d578181015183820152602001611675565b50505050905090810190601f1680156116ba5780820380516001836020036101000a031916815260200191505b509950505050505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050509050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634000aea08887846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156117d45781810151838201526020016117bc565b50505050905090810190601f1680156118015780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b15801561182257600080fd5b505af1158015611836573d6000803e3d6000fd5b505050506040513d602081101561184c57600080fd5b50516118a3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180611c856023913960400191505060405180910390fd5b5060048054600101905595945050505050565b601781116118d7576118d18360e0600585901b1683176119a4565b5061132c565b60ff8111611901576118f4836018611fe0600586901b16176119a4565b506118d1838260016119bc565b61ffff811161192c5761191f836019611fe0600586901b16176119a4565b506118d1838260026119bc565b63ffffffff81116119595761194c83601a611fe0600586901b16176119a4565b506118d1838260046119bc565b67ffffffffffffffff811161132c5761197d83601b611fe0600586901b16176119a4565b5061113c838260086119bc565b611992611c55565b6112e9838460000151518485516119d5565b6119ac611c55565b6112e98384600001515184611abd565b6119c4611c55565b6114aa848560000151518585611b08565b6119dd611c55565b82518211156119eb57600080fd5b84602001518285011115611a1557611a1585611a0d8760200151878601611b66565b600202611b7d565b600080865180518760208301019350808887011115611a345787860182525b505050602084015b60208410611a7957805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09093019260209182019101611a3c565b5181517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60208690036101000a019081169019919091161790525083949350505050565b611ac5611c55565b83602001518310611ae157611ae1848560200151600202611b7d565b835180516020858301018481535080851415611afe576001810182525b5093949350505050565b611b10611c55565b84602001518483011115611b2d57611b2d85858401600202611b7d565b60006001836101000a039050855183868201018583198251161781525080518487011115611b5b5783860181525b509495945050505050565b600081831115611b775750816112ec565b50919050565b8151611b8983836114c9565b5061113c838261198a565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282611bca5760008555611c10565b82601f10611be357805160ff1916838001178555611c10565b82800160010185558215611c10579182015b82811115611c10578251825591602001919060010190611bf5565b50611c1c929150611c6f565b5090565b6040805160a081018252600080825260208201819052918101829052606081019190915260808101611c50611c55565b905290565b604051806040016040528060608152602001600081525090565b5b80821115611c1c5760008155600101611c7056fe756e61626c6520746f207472616e73666572416e6443616c6c20746f206f7261636c65536f75726365206d75737420626520746865206f7261636c65206f66207468652072657175657374a164736f6c6343000706000a",
}

Functions

This section is empty.

Types

type MultiWordConsumer

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

func DeployMultiWordConsumer

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

func NewMultiWordConsumer

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

func (*MultiWordConsumer) Address added in v0.9.10

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

func (*MultiWordConsumer) ParseLog added in v0.10.3

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

type MultiWordConsumerCaller

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

func NewMultiWordConsumerCaller

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

func (*MultiWordConsumerCaller) CurrentPrice

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

func (*MultiWordConsumerCaller) Eur

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

func (*MultiWordConsumerCaller) EurInt added in v0.10.11

func (_MultiWordConsumer *MultiWordConsumerCaller) EurInt(opts *bind.CallOpts) (*big.Int, error)

func (*MultiWordConsumerCaller) Jpy

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

func (*MultiWordConsumerCaller) JpyInt added in v0.10.11

func (_MultiWordConsumer *MultiWordConsumerCaller) JpyInt(opts *bind.CallOpts) (*big.Int, error)

func (*MultiWordConsumerCaller) Usd

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

func (*MultiWordConsumerCaller) UsdInt added in v0.10.11

func (_MultiWordConsumer *MultiWordConsumerCaller) UsdInt(opts *bind.CallOpts) (*big.Int, error)

type MultiWordConsumerCallerRaw

type MultiWordConsumerCallerRaw struct {
	Contract *MultiWordConsumerCaller
}

func (*MultiWordConsumerCallerRaw) Call

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

type MultiWordConsumerCallerSession

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

func (*MultiWordConsumerCallerSession) CurrentPrice

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

func (*MultiWordConsumerCallerSession) Eur

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

func (*MultiWordConsumerCallerSession) EurInt added in v0.10.11

func (_MultiWordConsumer *MultiWordConsumerCallerSession) EurInt() (*big.Int, error)

func (*MultiWordConsumerCallerSession) Jpy

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

func (*MultiWordConsumerCallerSession) JpyInt added in v0.10.11

func (_MultiWordConsumer *MultiWordConsumerCallerSession) JpyInt() (*big.Int, error)

func (*MultiWordConsumerCallerSession) Usd

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

func (*MultiWordConsumerCallerSession) UsdInt added in v0.10.11

func (_MultiWordConsumer *MultiWordConsumerCallerSession) UsdInt() (*big.Int, error)

type MultiWordConsumerChainlinkCancelled

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

func (MultiWordConsumerChainlinkCancelled) Topic added in v0.10.3

type MultiWordConsumerChainlinkCancelledIterator

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

func (*MultiWordConsumerChainlinkCancelledIterator) Close

func (*MultiWordConsumerChainlinkCancelledIterator) Error

func (*MultiWordConsumerChainlinkCancelledIterator) Next

type MultiWordConsumerChainlinkFulfilled

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

func (MultiWordConsumerChainlinkFulfilled) Topic added in v0.10.3

type MultiWordConsumerChainlinkFulfilledIterator

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

func (*MultiWordConsumerChainlinkFulfilledIterator) Close

func (*MultiWordConsumerChainlinkFulfilledIterator) Error

func (*MultiWordConsumerChainlinkFulfilledIterator) Next

type MultiWordConsumerChainlinkRequested

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

func (MultiWordConsumerChainlinkRequested) Topic added in v0.10.3

type MultiWordConsumerChainlinkRequestedIterator

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

func (*MultiWordConsumerChainlinkRequestedIterator) Close

func (*MultiWordConsumerChainlinkRequestedIterator) Error

func (*MultiWordConsumerChainlinkRequestedIterator) Next

type MultiWordConsumerFilterer

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

func NewMultiWordConsumerFilterer

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

func (*MultiWordConsumerFilterer) FilterChainlinkCancelled

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

func (*MultiWordConsumerFilterer) FilterChainlinkFulfilled

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

func (*MultiWordConsumerFilterer) FilterChainlinkRequested

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

func (*MultiWordConsumerFilterer) FilterRequestFulfilled

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

func (*MultiWordConsumerFilterer) FilterRequestMultipleFulfilled

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

func (*MultiWordConsumerFilterer) FilterRequestMultipleFulfilledWithCustomURLs added in v0.10.11

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

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

func (_MultiWordConsumer *MultiWordConsumerFilterer) WatchRequestMultipleFulfilledWithCustomURLs(opts *bind.WatchOpts, sink chan<- *MultiWordConsumerRequestMultipleFulfilledWithCustomURLs, requestId [][32]byte, usd []*big.Int, eur []*big.Int) (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)

	EurInt(opts *bind.CallOpts) (*big.Int, error)

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

	JpyInt(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)

	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)

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

type MultiWordConsumerRequestFulfilledIterator

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

func (*MultiWordConsumerRequestFulfilledIterator) Close

func (*MultiWordConsumerRequestFulfilledIterator) Error

func (*MultiWordConsumerRequestFulfilledIterator) Next

type MultiWordConsumerRequestMultipleFulfilled

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

func (MultiWordConsumerRequestMultipleFulfilled) Topic added in v0.10.3

type MultiWordConsumerRequestMultipleFulfilledIterator

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

func (*MultiWordConsumerRequestMultipleFulfilledIterator) Close

func (*MultiWordConsumerRequestMultipleFulfilledIterator) Error

func (*MultiWordConsumerRequestMultipleFulfilledIterator) Next

type MultiWordConsumerRequestMultipleFulfilledWithCustomURLs added in v0.10.11

type MultiWordConsumerRequestMultipleFulfilledWithCustomURLs struct {
	RequestId [32]byte
	Usd       *big.Int
	Eur       *big.Int
	Jpy       *big.Int
	Raw       types.Log
}

func (MultiWordConsumerRequestMultipleFulfilledWithCustomURLs) Topic added in v0.10.11

type MultiWordConsumerRequestMultipleFulfilledWithCustomURLsIterator added in v0.10.11

type MultiWordConsumerRequestMultipleFulfilledWithCustomURLsIterator struct {
	Event *MultiWordConsumerRequestMultipleFulfilledWithCustomURLs
	// contains filtered or unexported fields
}

func (*MultiWordConsumerRequestMultipleFulfilledWithCustomURLsIterator) Close added in v0.10.11

func (*MultiWordConsumerRequestMultipleFulfilledWithCustomURLsIterator) Error added in v0.10.11

func (*MultiWordConsumerRequestMultipleFulfilledWithCustomURLsIterator) Next added in v0.10.11

type MultiWordConsumerSession

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

func (*MultiWordConsumerSession) AddExternalRequest

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

func (*MultiWordConsumerSession) CancelRequest

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

func (*MultiWordConsumerSession) CurrentPrice

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

func (*MultiWordConsumerSession) Eur

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

func (*MultiWordConsumerSession) EurInt added in v0.10.11

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

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

func (*MultiWordConsumerSession) Jpy

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

func (*MultiWordConsumerSession) JpyInt added in v0.10.11

func (_MultiWordConsumer *MultiWordConsumerSession) JpyInt() (*big.Int, 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) RequestMultipleParametersWithCustomURLs added in v0.10.11

func (_MultiWordConsumer *MultiWordConsumerSession) RequestMultipleParametersWithCustomURLs(_urlUSD string, _pathUSD string, _urlEUR string, _pathEUR string, _urlJPY string, _pathJPY 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) UsdInt added in v0.10.11

func (_MultiWordConsumer *MultiWordConsumerSession) UsdInt() (*big.Int, error)
func (_MultiWordConsumer *MultiWordConsumerSession) WithdrawLink() (*types.Transaction, error)

type MultiWordConsumerTransactor

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

func NewMultiWordConsumerTransactor

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

func (*MultiWordConsumerTransactor) AddExternalRequest

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

func (*MultiWordConsumerTransactor) CancelRequest

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

func (*MultiWordConsumerTransactor) FulfillBytes

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

func (*MultiWordConsumerTransactor) FulfillMultipleParameters

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

func (*MultiWordConsumerTransactor) FulfillMultipleParametersWithCustomURLs added in v0.10.11

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) 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) RequestMultipleParametersWithCustomURLs added in v0.10.11

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 (_MultiWordConsumer *MultiWordConsumerTransactor) WithdrawLink(opts *bind.TransactOpts) (*types.Transaction, error)

type MultiWordConsumerTransactorRaw

type MultiWordConsumerTransactorRaw struct {
	Contract *MultiWordConsumerTransactor
}

func (*MultiWordConsumerTransactorRaw) Transact

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

func (*MultiWordConsumerTransactorRaw) Transfer

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

type MultiWordConsumerTransactorSession

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

func (*MultiWordConsumerTransactorSession) AddExternalRequest

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

func (*MultiWordConsumerTransactorSession) CancelRequest

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

func (*MultiWordConsumerTransactorSession) FulfillBytes

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

func (*MultiWordConsumerTransactorSession) FulfillMultipleParameters

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

func (*MultiWordConsumerTransactorSession) FulfillMultipleParametersWithCustomURLs added in v0.10.11

func (_MultiWordConsumer *MultiWordConsumerTransactorSession) FulfillMultipleParametersWithCustomURLs(_requestId [32]byte, _usd *big.Int, _eur *big.Int, _jpy *big.Int) (*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) RequestMultipleParametersWithCustomURLs added in v0.10.11

func (_MultiWordConsumer *MultiWordConsumerTransactorSession) RequestMultipleParametersWithCustomURLs(_urlUSD string, _pathUSD string, _urlEUR string, _pathEUR string, _urlJPY string, _pathJPY string, _payment *big.Int) (*types.Transaction, error)

func (*MultiWordConsumerTransactorSession) SetSpecID

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

Jump to

Keyboard shortcuts

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