Documentation ¶
Index ¶
- Variables
- type BeaconVRFConsumer
- type BeaconVRFConsumerCaller
- func (_BeaconVRFConsumer *BeaconVRFConsumerCaller) Fail(opts *bind.CallOpts) (bool, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerCaller) IBeaconPeriodBlocks(opts *bind.CallOpts) (*big.Int, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerCaller) NUMCONFDELAYS(opts *bind.CallOpts) (uint8, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerCaller) SArguments(opts *bind.CallOpts) ([]byte, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerCaller) SGasAvailable(opts *bind.CallOpts) (*big.Int, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerCaller) SMyBeaconRequests(opts *bind.CallOpts, arg0 *big.Int) (SMyBeaconRequests, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerCaller) SRandomWords(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerCaller) SReceivedRandomnessByRequestID(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerCaller) SRequestsIDs(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerCaller) SSubId(opts *bind.CallOpts) (uint64, error)
- type BeaconVRFConsumerCallerRaw
- type BeaconVRFConsumerCallerSession
- func (_BeaconVRFConsumer *BeaconVRFConsumerCallerSession) Fail() (bool, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerCallerSession) IBeaconPeriodBlocks() (*big.Int, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerCallerSession) NUMCONFDELAYS() (uint8, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerCallerSession) SArguments() ([]byte, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerCallerSession) SGasAvailable() (*big.Int, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerCallerSession) SMyBeaconRequests(arg0 *big.Int) (SMyBeaconRequests, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerCallerSession) SRandomWords(arg0 *big.Int) (*big.Int, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerCallerSession) SReceivedRandomnessByRequestID(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerCallerSession) SRequestsIDs(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerCallerSession) SSubId() (uint64, error)
- type BeaconVRFConsumerConfigSet
- type BeaconVRFConsumerConfigSetIterator
- type BeaconVRFConsumerFilterer
- func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) FilterConfigSet(opts *bind.FilterOpts) (*BeaconVRFConsumerConfigSetIterator, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) FilterNewTransmission(opts *bind.FilterOpts, aggregatorRoundId []uint32, epochAndRound []*big.Int) (*BeaconVRFConsumerNewTransmissionIterator, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) FilterOutputsServed(opts *bind.FilterOpts) (*BeaconVRFConsumerOutputsServedIterator, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) FilterRandomWordsFulfilled(opts *bind.FilterOpts) (*BeaconVRFConsumerRandomWordsFulfilledIterator, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) FilterRandomnessFulfillmentRequested(opts *bind.FilterOpts, requestID []*big.Int, requester []common.Address) (*BeaconVRFConsumerRandomnessFulfillmentRequestedIterator, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) FilterRandomnessRequested(opts *bind.FilterOpts, requestID []*big.Int, requester []common.Address) (*BeaconVRFConsumerRandomnessRequestedIterator, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) ParseConfigSet(log types.Log) (*BeaconVRFConsumerConfigSet, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) ParseNewTransmission(log types.Log) (*BeaconVRFConsumerNewTransmission, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) ParseOutputsServed(log types.Log) (*BeaconVRFConsumerOutputsServed, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) ParseRandomWordsFulfilled(log types.Log) (*BeaconVRFConsumerRandomWordsFulfilled, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) ParseRandomnessFulfillmentRequested(log types.Log) (*BeaconVRFConsumerRandomnessFulfillmentRequested, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) ParseRandomnessRequested(log types.Log) (*BeaconVRFConsumerRandomnessRequested, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) WatchConfigSet(opts *bind.WatchOpts, sink chan<- *BeaconVRFConsumerConfigSet) (event.Subscription, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) WatchNewTransmission(opts *bind.WatchOpts, sink chan<- *BeaconVRFConsumerNewTransmission, ...) (event.Subscription, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) WatchOutputsServed(opts *bind.WatchOpts, sink chan<- *BeaconVRFConsumerOutputsServed) (event.Subscription, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) WatchRandomWordsFulfilled(opts *bind.WatchOpts, sink chan<- *BeaconVRFConsumerRandomWordsFulfilled) (event.Subscription, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) WatchRandomnessFulfillmentRequested(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) WatchRandomnessRequested(opts *bind.WatchOpts, sink chan<- *BeaconVRFConsumerRandomnessRequested, ...) (event.Subscription, error)
- type BeaconVRFConsumerInterface
- type BeaconVRFConsumerNewTransmission
- type BeaconVRFConsumerNewTransmissionIterator
- type BeaconVRFConsumerOutputsServed
- type BeaconVRFConsumerOutputsServedIterator
- type BeaconVRFConsumerRandomWordsFulfilled
- type BeaconVRFConsumerRandomWordsFulfilledIterator
- type BeaconVRFConsumerRandomnessFulfillmentRequested
- type BeaconVRFConsumerRandomnessFulfillmentRequestedIterator
- type BeaconVRFConsumerRandomnessRequested
- type BeaconVRFConsumerRandomnessRequestedIterator
- type BeaconVRFConsumerRaw
- func (_BeaconVRFConsumer *BeaconVRFConsumerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_BeaconVRFConsumer *BeaconVRFConsumerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BeaconVRFConsumerSession
- func (_BeaconVRFConsumer *BeaconVRFConsumerSession) Fail() (bool, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerSession) IBeaconPeriodBlocks() (*big.Int, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerSession) NUMCONFDELAYS() (uint8, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerSession) RawFulfillRandomWords(requestID *big.Int, randomWords []*big.Int, arguments []byte) (*types.Transaction, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerSession) SArguments() ([]byte, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerSession) SGasAvailable() (*big.Int, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerSession) SMyBeaconRequests(arg0 *big.Int) (SMyBeaconRequests, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerSession) SRandomWords(arg0 *big.Int) (*big.Int, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerSession) SReceivedRandomnessByRequestID(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerSession) SRequestsIDs(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerSession) SSubId() (uint64, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerSession) SetFail(shouldFail bool) (*types.Transaction, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerSession) StoreBeaconRequest(reqId *big.Int, height *big.Int, delay *big.Int, numWords uint16) (*types.Transaction, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerSession) TestRedeemRandomness(requestID *big.Int) (*types.Transaction, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerSession) TestRequestRandomness(numWords uint16, subID uint64, confirmationDelayArg *big.Int) (*types.Transaction, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerSession) TestRequestRandomnessFulfillment(subID uint64, numWords uint16, confirmationDelayArg *big.Int, ...) (*types.Transaction, error)
- type BeaconVRFConsumerTransactor
- func (_BeaconVRFConsumer *BeaconVRFConsumerTransactor) RawFulfillRandomWords(opts *bind.TransactOpts, requestID *big.Int, randomWords []*big.Int, ...) (*types.Transaction, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerTransactor) SetFail(opts *bind.TransactOpts, shouldFail bool) (*types.Transaction, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerTransactor) StoreBeaconRequest(opts *bind.TransactOpts, reqId *big.Int, height *big.Int, delay *big.Int, ...) (*types.Transaction, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerTransactor) TestRedeemRandomness(opts *bind.TransactOpts, requestID *big.Int) (*types.Transaction, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerTransactor) TestRequestRandomness(opts *bind.TransactOpts, numWords uint16, subID uint64, ...) (*types.Transaction, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerTransactor) TestRequestRandomnessFulfillment(opts *bind.TransactOpts, subID uint64, numWords uint16, ...) (*types.Transaction, error)
- type BeaconVRFConsumerTransactorRaw
- type BeaconVRFConsumerTransactorSession
- func (_BeaconVRFConsumer *BeaconVRFConsumerTransactorSession) RawFulfillRandomWords(requestID *big.Int, randomWords []*big.Int, arguments []byte) (*types.Transaction, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerTransactorSession) SetFail(shouldFail bool) (*types.Transaction, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerTransactorSession) StoreBeaconRequest(reqId *big.Int, height *big.Int, delay *big.Int, numWords uint16) (*types.Transaction, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerTransactorSession) TestRedeemRandomness(requestID *big.Int) (*types.Transaction, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerTransactorSession) TestRequestRandomness(numWords uint16, subID uint64, confirmationDelayArg *big.Int) (*types.Transaction, error)
- func (_BeaconVRFConsumer *BeaconVRFConsumerTransactorSession) TestRequestRandomnessFulfillment(subID uint64, numWords uint16, confirmationDelayArg *big.Int, ...) (*types.Transaction, error)
- type SMyBeaconRequests
- type VRFBeaconTypesOutputServed
Constants ¶
This section is empty.
Variables ¶
View Source
var BeaconVRFConsumerABI = BeaconVRFConsumerMetaData.ABI
View Source
var BeaconVRFConsumerBin = BeaconVRFConsumerMetaData.Bin
View Source
var BeaconVRFConsumerMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"coordinator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"shouldFail\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"beaconPeriodBlocks\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"previousConfigBlockNumber\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"configDigest\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"configCount\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"signers\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"transmitters\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"f\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"onchainConfig\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"offchainConfigVersion\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"offchainConfig\",\"type\":\"bytes\"}],\"name\":\"ConfigSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"aggregatorRoundId\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"uint40\",\"name\":\"epochAndRound\",\"type\":\"uint40\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"transmitter\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint192\",\"name\":\"juelsPerFeeCoin\",\"type\":\"uint192\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"reasonableGasPrice\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"configDigest\",\"type\":\"bytes32\"}],\"name\":\"NewTransmission\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"recentBlockHeight\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"transmitter\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint192\",\"name\":\"juelsPerFeeCoin\",\"type\":\"uint192\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"reasonableGasPrice\",\"type\":\"uint64\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"height\",\"type\":\"uint64\"},{\"internalType\":\"VRFBeaconTypes.ConfirmationDelay\",\"name\":\"confirmationDelay\",\"type\":\"uint24\"},{\"internalType\":\"uint256\",\"name\":\"proofG1X\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"proofG1Y\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"structVRFBeaconTypes.OutputServed[]\",\"name\":\"outputsServed\",\"type\":\"tuple[]\"}],\"name\":\"OutputsServed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"VRFBeaconTypes.RequestID[]\",\"name\":\"requestIDs\",\"type\":\"uint48[]\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"successfulFulfillment\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes[]\",\"name\":\"truncatedErrorData\",\"type\":\"bytes[]\"}],\"name\":\"RandomWordsFulfilled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"VRFBeaconTypes.RequestID\",\"name\":\"requestID\",\"type\":\"uint48\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"nextBeaconOutputHeight\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"VRFBeaconTypes.ConfirmationDelay\",\"name\":\"confDelay\",\"type\":\"uint24\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"subID\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"numWords\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"gasAllowance\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"gasPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"weiPerUnitLink\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"arguments\",\"type\":\"bytes\"}],\"name\":\"RandomnessFulfillmentRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"VRFBeaconTypes.RequestID\",\"name\":\"requestID\",\"type\":\"uint48\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"nextBeaconOutputHeight\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"VRFBeaconTypes.ConfirmationDelay\",\"name\":\"confDelay\",\"type\":\"uint24\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"subID\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"numWords\",\"type\":\"uint16\"}],\"name\":\"RandomnessRequested\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"NUM_CONF_DELAYS\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fail\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"i_beaconPeriodBlocks\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"VRFBeaconTypes.RequestID\",\"name\":\"requestID\",\"type\":\"uint48\"},{\"internalType\":\"uint256[]\",\"name\":\"randomWords\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"arguments\",\"type\":\"bytes\"}],\"name\":\"rawFulfillRandomWords\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"VRFBeaconTypes.RequestID\",\"name\":\"\",\"type\":\"uint48\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"s_ReceivedRandomnessByRequestID\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"s_arguments\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"s_gasAvailable\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"VRFBeaconTypes.RequestID\",\"name\":\"\",\"type\":\"uint48\"}],\"name\":\"s_myBeaconRequests\",\"outputs\":[{\"internalType\":\"VRFBeaconTypes.SlotNumber\",\"name\":\"slotNumber\",\"type\":\"uint32\"},{\"internalType\":\"VRFBeaconTypes.ConfirmationDelay\",\"name\":\"confirmationDelay\",\"type\":\"uint24\"},{\"internalType\":\"uint16\",\"name\":\"numWords\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"s_randomWords\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"VRFBeaconTypes.ConfirmationDelay\",\"name\":\"\",\"type\":\"uint24\"}],\"name\":\"s_requestsIDs\",\"outputs\":[{\"internalType\":\"VRFBeaconTypes.RequestID\",\"name\":\"\",\"type\":\"uint48\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"s_subId\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"shouldFail\",\"type\":\"bool\"}],\"name\":\"setFail\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"VRFBeaconTypes.RequestID\",\"name\":\"reqId\",\"type\":\"uint48\"},{\"internalType\":\"uint256\",\"name\":\"height\",\"type\":\"uint256\"},{\"internalType\":\"VRFBeaconTypes.ConfirmationDelay\",\"name\":\"delay\",\"type\":\"uint24\"},{\"internalType\":\"uint16\",\"name\":\"numWords\",\"type\":\"uint16\"}],\"name\":\"storeBeaconRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"VRFBeaconTypes.RequestID\",\"name\":\"requestID\",\"type\":\"uint48\"}],\"name\":\"testRedeemRandomness\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"numWords\",\"type\":\"uint16\"},{\"internalType\":\"uint64\",\"name\":\"subID\",\"type\":\"uint64\"},{\"internalType\":\"VRFBeaconTypes.ConfirmationDelay\",\"name\":\"confirmationDelayArg\",\"type\":\"uint24\"}],\"name\":\"testRequestRandomness\",\"outputs\":[{\"internalType\":\"VRFBeaconTypes.RequestID\",\"name\":\"\",\"type\":\"uint48\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"subID\",\"type\":\"uint64\"},{\"internalType\":\"uint16\",\"name\":\"numWords\",\"type\":\"uint16\"},{\"internalType\":\"VRFBeaconTypes.ConfirmationDelay\",\"name\":\"confirmationDelayArg\",\"type\":\"uint24\"},{\"internalType\":\"uint32\",\"name\":\"callbackGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"arguments\",\"type\":\"bytes\"}],\"name\":\"testRequestRandomnessFulfillment\",\"outputs\":[{\"internalType\":\"VRFBeaconTypes.RequestID\",\"name\":\"\",\"type\":\"uint48\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x60a060405234801561001057600080fd5b5060405161120738038061120783398101604081905261002f9161006c565b6001600160a01b03929092166080819052600580546001600160a01b03191690911790556008805460ff19169115159190911790556009556100c0565b60008060006060848603121561008157600080fd5b83516001600160a01b038116811461009857600080fd5b602085015190935080151581146100ae57600080fd5b80925050604084015190509250925092565b60805161112c6100db60003960006104fe015261112c6000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80637716cdaa11610097578063cd0593df11610066578063cd0593df14610300578063f08c5daa14610317578063f339c79414610320578063f6eaffc81461033357600080fd5b80637716cdaa1461029a5780639c9cd015146102af5780639d769402146102c2578063a9cc4718146102e357600080fd5b80635a47dd71116100d35780635a47dd71146101fc5780635f15cccc1461020f5780636d162a3e14610242578063706da1ca1461025557600080fd5b806319a5fa22146101055780632f7527cc146101a35780633d8b70aa146101bd57806345907626146101d2575b600080fd5b610161610113366004610a26565b60026020526000908152604090205463ffffffff811690640100000000810462ffffff1690670100000000000000810461ffff1690690100000000000000000090046001600160a01b031684565b6040805163ffffffff909516855262ffffff909316602085015261ffff909116918301919091526001600160a01b031660608201526080015b60405180910390f35b6101ab600881565b60405160ff909116815260200161019a565b6101d06101cb366004610a26565b610346565b005b6101e56101e0366004610b43565b61040c565b60405165ffffffffffff909116815260200161019a565b6101d061020a366004610bf2565b6104fc565b6101e561021d366004610cc4565b600160209081526000928352604080842090915290825290205465ffffffffffff1681565b6101d0610250366004610cf0565b610584565b6006546102819074010000000000000000000000000000000000000000900467ffffffffffffffff1681565b60405167ffffffffffffffff909116815260200161019a565b6102a26106b7565b60405161019a9190610d8c565b6101e56102bd366004610d9f565b610745565b6101d06102d0366004610de2565b6008805460ff1916911515919091179055565b6008546102f09060ff1681565b604051901515815260200161019a565b61030960095481565b60405190815260200161019a565b61030960075481565b61030961032e366004610e04565b610845565b610309610341366004610e30565b610876565b6005546040517f74d8461100000000000000000000000000000000000000000000000000000000815265ffffffffffff831660048201526000916001600160a01b0316906374d84611906024016000604051808303816000875af11580156103b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103da9190810190610e49565b65ffffffffffff8316600090815260036020908152604090912082519293506104079290918401906109af565b505050565b60008060095461041a610897565b6104249190610ef0565b9050600081600954610434610897565b61043e9190610f1a565b6104489190610f32565b6005546040517ff645dcb10000000000000000000000000000000000000000000000000000000081529192506000916001600160a01b039091169063f645dcb19061049f908c908c908c908c908c90600401610f49565b6020604051808303816000875af11580156104be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e29190610f8d565b90506104f08183898b610584565b98975050505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633146105795760405162461bcd60e51b815260206004820152601c60248201527f6f6e6c7920636f6f7264696e61746f722063616e2066756c66696c6c0000000060448201526064015b60405180910390fd5b610407838383610921565b600083815260016020908152604080832062ffffff861684529091528120805465ffffffffffff191665ffffffffffff87161790556009546105c69085610faa565b6040805160808101825263ffffffff928316815262ffffff958616602080830191825261ffff968716838501908152306060850190815265ffffffffffff909b1660009081526002909252939020915182549151935199516001600160a01b03166901000000000000000000027fffffff0000000000000000000000000000000000000000ffffffffffffffffff9a90971667010000000000000002999099167fffffff00000000000000000000000000000000000000000000ffffffffffffff939097166401000000000266ffffffffffffff199091169890931697909717919091171692909217179092555050565b600480546106c490610fbe565b80601f01602080910402602001604051908101604052809291908181526020018280546106f090610fbe565b801561073d5780601f106107125761010080835404028352916020019161073d565b820191906000526020600020905b81548152906001019060200180831161072057829003601f168201915b505050505081565b600080600954610753610897565b61075d9190610ef0565b905060008160095461076d610897565b6107779190610f1a565b6107819190610f32565b6005546040517fdc92accf00000000000000000000000000000000000000000000000000000000815261ffff8916600482015267ffffffffffffffff8816602482015262ffffff871660448201529192506000916001600160a01b039091169063dc92accf906064016020604051808303816000875af1158015610809573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082d9190610f8d565b905061083b8183878a610584565b9695505050505050565b6003602052816000526040600020818154811061086157600080fd5b90600052602060002001600091509150505481565b6000818154811061088657600080fd5b600091825260209091200154905081565b60004661a4b18114806108ac575062066eed81145b1561091a5760646001600160a01b031663a3b1b31d6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109149190610ff8565b91505090565b4391505090565b60085460ff16156109745760405162461bcd60e51b815260206004820152601d60248201527f206661696c656420696e2066756c66696c6c52616e646f6d576f7264730000006044820152606401610570565b65ffffffffffff83166000908152600360209081526040909120835161099c928501906109af565b5060046109a9828261105f565b50505050565b8280548282559060005260206000209081019282156109ea579160200282015b828111156109ea5782518255916020019190600101906109cf565b506109f69291506109fa565b5090565b5b808211156109f657600081556001016109fb565b65ffffffffffff81168114610a2357600080fd5b50565b600060208284031215610a3857600080fd5b8135610a4381610a0f565b9392505050565b803567ffffffffffffffff81168114610a6257600080fd5b919050565b803561ffff81168114610a6257600080fd5b803562ffffff81168114610a6257600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610acb57610acb610a8c565b604052919050565b600082601f830112610ae457600080fd5b813567ffffffffffffffff811115610afe57610afe610a8c565b610b11601f8201601f1916602001610aa2565b818152846020838601011115610b2657600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a08688031215610b5b57600080fd5b610b6486610a4a565b9450610b7260208701610a67565b9350610b8060408701610a79565b9250606086013563ffffffff81168114610b9957600080fd5b9150608086013567ffffffffffffffff811115610bb557600080fd5b610bc188828901610ad3565b9150509295509295909350565b600067ffffffffffffffff821115610be857610be8610a8c565b5060051b60200190565b600080600060608486031215610c0757600080fd5b8335610c1281610a0f565b925060208481013567ffffffffffffffff80821115610c3057600080fd5b818701915087601f830112610c4457600080fd5b8135610c57610c5282610bce565b610aa2565b81815260059190911b8301840190848101908a831115610c7657600080fd5b938501935b82851015610c9457843582529385019390850190610c7b565b965050506040870135925080831115610cac57600080fd5b5050610cba86828701610ad3565b9150509250925092565b60008060408385031215610cd757600080fd5b82359150610ce760208401610a79565b90509250929050565b60008060008060808587031215610d0657600080fd5b8435610d1181610a0f565b935060208501359250610d2660408601610a79565b9150610d3460608601610a67565b905092959194509250565b6000815180845260005b81811015610d6557602081850181015186830182015201610d49565b81811115610d77576000602083870101525b50601f01601f19169290920160200192915050565b602081526000610a436020830184610d3f565b600080600060608486031215610db457600080fd5b610dbd84610a67565b9250610dcb60208501610a4a565b9150610dd960408501610a79565b90509250925092565b600060208284031215610df457600080fd5b81358015158114610a4357600080fd5b60008060408385031215610e1757600080fd5b8235610e2281610a0f565b946020939093013593505050565b600060208284031215610e4257600080fd5b5035919050565b60006020808385031215610e5c57600080fd5b825167ffffffffffffffff811115610e7357600080fd5b8301601f81018513610e8457600080fd5b8051610e92610c5282610bce565b81815260059190911b82018301908381019087831115610eb157600080fd5b928401925b82841015610ecf57835182529284019290840190610eb6565b979650505050505050565b634e487b7160e01b600052601260045260246000fd5b600082610eff57610eff610eda565b500690565b634e487b7160e01b600052601160045260246000fd5b60008219821115610f2d57610f2d610f04565b500190565b600082821015610f4457610f44610f04565b500390565b67ffffffffffffffff8616815261ffff8516602082015262ffffff8416604082015263ffffffff8316606082015260a060808201526000610ecf60a0830184610d3f565b600060208284031215610f9f57600080fd5b8151610a4381610a0f565b600082610fb957610fb9610eda565b500490565b600181811c90821680610fd257607f821691505b602082108103610ff257634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561100a57600080fd5b5051919050565b601f82111561040757600081815260208120601f850160051c810160208610156110385750805b601f850160051c820191505b8181101561105757828155600101611044565b505050505050565b815167ffffffffffffffff81111561107957611079610a8c565b61108d816110878454610fbe565b84611011565b602080601f8311600181146110c257600084156110aa5750858301515b600019600386901b1c1916600185901b178555611057565b600085815260208120601f198616915b828110156110f1578886015182559484019460019091019084016110d2565b508582101561110f5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea164736f6c634300080f000a",
}
Functions ¶
This section is empty.
Types ¶
type BeaconVRFConsumer ¶
type BeaconVRFConsumer struct { BeaconVRFConsumerCaller BeaconVRFConsumerTransactor BeaconVRFConsumerFilterer // contains filtered or unexported fields }
func DeployBeaconVRFConsumer ¶
func DeployBeaconVRFConsumer(auth *bind.TransactOpts, backend bind.ContractBackend, coordinator common.Address, shouldFail bool, beaconPeriodBlocks *big.Int) (common.Address, *types.Transaction, *BeaconVRFConsumer, error)
func NewBeaconVRFConsumer ¶
func NewBeaconVRFConsumer(address common.Address, backend bind.ContractBackend) (*BeaconVRFConsumer, error)
func (*BeaconVRFConsumer) Address ¶
func (_BeaconVRFConsumer *BeaconVRFConsumer) Address() common.Address
type BeaconVRFConsumerCaller ¶
type BeaconVRFConsumerCaller struct {
// contains filtered or unexported fields
}
func NewBeaconVRFConsumerCaller ¶
func NewBeaconVRFConsumerCaller(address common.Address, caller bind.ContractCaller) (*BeaconVRFConsumerCaller, error)
func (*BeaconVRFConsumerCaller) Fail ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerCaller) Fail(opts *bind.CallOpts) (bool, error)
func (*BeaconVRFConsumerCaller) IBeaconPeriodBlocks ¶
func (*BeaconVRFConsumerCaller) NUMCONFDELAYS ¶ added in v1.10.0
func (_BeaconVRFConsumer *BeaconVRFConsumerCaller) NUMCONFDELAYS(opts *bind.CallOpts) (uint8, error)
func (*BeaconVRFConsumerCaller) SArguments ¶ added in v1.12.0
func (_BeaconVRFConsumer *BeaconVRFConsumerCaller) SArguments(opts *bind.CallOpts) ([]byte, error)
func (*BeaconVRFConsumerCaller) SGasAvailable ¶
func (*BeaconVRFConsumerCaller) SMyBeaconRequests ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerCaller) SMyBeaconRequests(opts *bind.CallOpts, arg0 *big.Int) (SMyBeaconRequests, error)
func (*BeaconVRFConsumerCaller) SRandomWords ¶
func (*BeaconVRFConsumerCaller) SReceivedRandomnessByRequestID ¶
func (*BeaconVRFConsumerCaller) SRequestsIDs ¶
type BeaconVRFConsumerCallerRaw ¶
type BeaconVRFConsumerCallerRaw struct {
Contract *BeaconVRFConsumerCaller
}
type BeaconVRFConsumerCallerSession ¶
type BeaconVRFConsumerCallerSession struct { Contract *BeaconVRFConsumerCaller CallOpts bind.CallOpts }
func (*BeaconVRFConsumerCallerSession) Fail ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerCallerSession) Fail() (bool, error)
func (*BeaconVRFConsumerCallerSession) IBeaconPeriodBlocks ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerCallerSession) IBeaconPeriodBlocks() (*big.Int, error)
func (*BeaconVRFConsumerCallerSession) NUMCONFDELAYS ¶ added in v1.10.0
func (_BeaconVRFConsumer *BeaconVRFConsumerCallerSession) NUMCONFDELAYS() (uint8, error)
func (*BeaconVRFConsumerCallerSession) SArguments ¶ added in v1.12.0
func (_BeaconVRFConsumer *BeaconVRFConsumerCallerSession) SArguments() ([]byte, error)
func (*BeaconVRFConsumerCallerSession) SGasAvailable ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerCallerSession) SGasAvailable() (*big.Int, error)
func (*BeaconVRFConsumerCallerSession) SMyBeaconRequests ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerCallerSession) SMyBeaconRequests(arg0 *big.Int) (SMyBeaconRequests, error)
func (*BeaconVRFConsumerCallerSession) SRandomWords ¶
func (*BeaconVRFConsumerCallerSession) SReceivedRandomnessByRequestID ¶
func (*BeaconVRFConsumerCallerSession) SRequestsIDs ¶
func (*BeaconVRFConsumerCallerSession) SSubId ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerCallerSession) SSubId() (uint64, error)
type BeaconVRFConsumerConfigSet ¶ added in v1.11.0
type BeaconVRFConsumerConfigSet struct { PreviousConfigBlockNumber uint32 ConfigDigest [32]byte ConfigCount uint64 Signers []common.Address Transmitters []common.Address F uint8 OnchainConfig []byte OffchainConfigVersion uint64 OffchainConfig []byte Raw types.Log }
func (BeaconVRFConsumerConfigSet) Topic ¶ added in v1.11.0
func (BeaconVRFConsumerConfigSet) Topic() common.Hash
type BeaconVRFConsumerConfigSetIterator ¶ added in v1.11.0
type BeaconVRFConsumerConfigSetIterator struct { Event *BeaconVRFConsumerConfigSet // contains filtered or unexported fields }
func (*BeaconVRFConsumerConfigSetIterator) Close ¶ added in v1.11.0
func (it *BeaconVRFConsumerConfigSetIterator) Close() error
func (*BeaconVRFConsumerConfigSetIterator) Error ¶ added in v1.11.0
func (it *BeaconVRFConsumerConfigSetIterator) Error() error
func (*BeaconVRFConsumerConfigSetIterator) Next ¶ added in v1.11.0
func (it *BeaconVRFConsumerConfigSetIterator) Next() bool
type BeaconVRFConsumerFilterer ¶
type BeaconVRFConsumerFilterer struct {
// contains filtered or unexported fields
}
func NewBeaconVRFConsumerFilterer ¶
func NewBeaconVRFConsumerFilterer(address common.Address, filterer bind.ContractFilterer) (*BeaconVRFConsumerFilterer, error)
func (*BeaconVRFConsumerFilterer) FilterConfigSet ¶ added in v1.11.0
func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) FilterConfigSet(opts *bind.FilterOpts) (*BeaconVRFConsumerConfigSetIterator, error)
func (*BeaconVRFConsumerFilterer) FilterNewTransmission ¶ added in v1.12.0
func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) FilterNewTransmission(opts *bind.FilterOpts, aggregatorRoundId []uint32, epochAndRound []*big.Int) (*BeaconVRFConsumerNewTransmissionIterator, error)
func (*BeaconVRFConsumerFilterer) FilterOutputsServed ¶ added in v1.12.0
func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) FilterOutputsServed(opts *bind.FilterOpts) (*BeaconVRFConsumerOutputsServedIterator, error)
func (*BeaconVRFConsumerFilterer) FilterRandomWordsFulfilled ¶ added in v1.12.0
func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) FilterRandomWordsFulfilled(opts *bind.FilterOpts) (*BeaconVRFConsumerRandomWordsFulfilledIterator, error)
func (*BeaconVRFConsumerFilterer) FilterRandomnessFulfillmentRequested ¶ added in v1.11.0
func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) FilterRandomnessFulfillmentRequested(opts *bind.FilterOpts, requestID []*big.Int, requester []common.Address) (*BeaconVRFConsumerRandomnessFulfillmentRequestedIterator, error)
func (*BeaconVRFConsumerFilterer) FilterRandomnessRequested ¶ added in v1.11.0
func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) FilterRandomnessRequested(opts *bind.FilterOpts, requestID []*big.Int, requester []common.Address) (*BeaconVRFConsumerRandomnessRequestedIterator, error)
func (*BeaconVRFConsumerFilterer) ParseConfigSet ¶ added in v1.11.0
func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) ParseConfigSet(log types.Log) (*BeaconVRFConsumerConfigSet, error)
func (*BeaconVRFConsumerFilterer) ParseNewTransmission ¶ added in v1.12.0
func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) ParseNewTransmission(log types.Log) (*BeaconVRFConsumerNewTransmission, error)
func (*BeaconVRFConsumerFilterer) ParseOutputsServed ¶ added in v1.12.0
func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) ParseOutputsServed(log types.Log) (*BeaconVRFConsumerOutputsServed, error)
func (*BeaconVRFConsumerFilterer) ParseRandomWordsFulfilled ¶ added in v1.12.0
func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) ParseRandomWordsFulfilled(log types.Log) (*BeaconVRFConsumerRandomWordsFulfilled, error)
func (*BeaconVRFConsumerFilterer) ParseRandomnessFulfillmentRequested ¶ added in v1.11.0
func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) ParseRandomnessFulfillmentRequested(log types.Log) (*BeaconVRFConsumerRandomnessFulfillmentRequested, error)
func (*BeaconVRFConsumerFilterer) ParseRandomnessRequested ¶ added in v1.11.0
func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) ParseRandomnessRequested(log types.Log) (*BeaconVRFConsumerRandomnessRequested, error)
func (*BeaconVRFConsumerFilterer) WatchConfigSet ¶ added in v1.11.0
func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) WatchConfigSet(opts *bind.WatchOpts, sink chan<- *BeaconVRFConsumerConfigSet) (event.Subscription, error)
func (*BeaconVRFConsumerFilterer) WatchNewTransmission ¶ added in v1.12.0
func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) WatchNewTransmission(opts *bind.WatchOpts, sink chan<- *BeaconVRFConsumerNewTransmission, aggregatorRoundId []uint32, epochAndRound []*big.Int) (event.Subscription, error)
func (*BeaconVRFConsumerFilterer) WatchOutputsServed ¶ added in v1.12.0
func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) WatchOutputsServed(opts *bind.WatchOpts, sink chan<- *BeaconVRFConsumerOutputsServed) (event.Subscription, error)
func (*BeaconVRFConsumerFilterer) WatchRandomWordsFulfilled ¶ added in v1.12.0
func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) WatchRandomWordsFulfilled(opts *bind.WatchOpts, sink chan<- *BeaconVRFConsumerRandomWordsFulfilled) (event.Subscription, error)
func (*BeaconVRFConsumerFilterer) WatchRandomnessFulfillmentRequested ¶ added in v1.11.0
func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) WatchRandomnessFulfillmentRequested(opts *bind.WatchOpts, sink chan<- *BeaconVRFConsumerRandomnessFulfillmentRequested, requestID []*big.Int, requester []common.Address) (event.Subscription, error)
func (*BeaconVRFConsumerFilterer) WatchRandomnessRequested ¶ added in v1.11.0
func (_BeaconVRFConsumer *BeaconVRFConsumerFilterer) WatchRandomnessRequested(opts *bind.WatchOpts, sink chan<- *BeaconVRFConsumerRandomnessRequested, requestID []*big.Int, requester []common.Address) (event.Subscription, error)
type BeaconVRFConsumerInterface ¶
type BeaconVRFConsumerInterface interface { NUMCONFDELAYS(opts *bind.CallOpts) (uint8, error) Fail(opts *bind.CallOpts) (bool, error) IBeaconPeriodBlocks(opts *bind.CallOpts) (*big.Int, error) SReceivedRandomnessByRequestID(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (*big.Int, error) SArguments(opts *bind.CallOpts) ([]byte, error) SGasAvailable(opts *bind.CallOpts) (*big.Int, error) SMyBeaconRequests(opts *bind.CallOpts, arg0 *big.Int) (SMyBeaconRequests, error) SRandomWords(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error) SRequestsIDs(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (*big.Int, error) SSubId(opts *bind.CallOpts) (uint64, error) RawFulfillRandomWords(opts *bind.TransactOpts, requestID *big.Int, randomWords []*big.Int, arguments []byte) (*types.Transaction, error) SetFail(opts *bind.TransactOpts, shouldFail bool) (*types.Transaction, error) StoreBeaconRequest(opts *bind.TransactOpts, reqId *big.Int, height *big.Int, delay *big.Int, numWords uint16) (*types.Transaction, error) TestRedeemRandomness(opts *bind.TransactOpts, requestID *big.Int) (*types.Transaction, error) TestRequestRandomness(opts *bind.TransactOpts, numWords uint16, subID uint64, confirmationDelayArg *big.Int) (*types.Transaction, error) TestRequestRandomnessFulfillment(opts *bind.TransactOpts, subID uint64, numWords uint16, confirmationDelayArg *big.Int, callbackGasLimit uint32, arguments []byte) (*types.Transaction, error) FilterConfigSet(opts *bind.FilterOpts) (*BeaconVRFConsumerConfigSetIterator, error) WatchConfigSet(opts *bind.WatchOpts, sink chan<- *BeaconVRFConsumerConfigSet) (event.Subscription, error) ParseConfigSet(log types.Log) (*BeaconVRFConsumerConfigSet, error) FilterNewTransmission(opts *bind.FilterOpts, aggregatorRoundId []uint32, epochAndRound []*big.Int) (*BeaconVRFConsumerNewTransmissionIterator, error) WatchNewTransmission(opts *bind.WatchOpts, sink chan<- *BeaconVRFConsumerNewTransmission, aggregatorRoundId []uint32, epochAndRound []*big.Int) (event.Subscription, error) ParseNewTransmission(log types.Log) (*BeaconVRFConsumerNewTransmission, error) FilterOutputsServed(opts *bind.FilterOpts) (*BeaconVRFConsumerOutputsServedIterator, error) WatchOutputsServed(opts *bind.WatchOpts, sink chan<- *BeaconVRFConsumerOutputsServed) (event.Subscription, error) ParseOutputsServed(log types.Log) (*BeaconVRFConsumerOutputsServed, error) FilterRandomWordsFulfilled(opts *bind.FilterOpts) (*BeaconVRFConsumerRandomWordsFulfilledIterator, error) WatchRandomWordsFulfilled(opts *bind.WatchOpts, sink chan<- *BeaconVRFConsumerRandomWordsFulfilled) (event.Subscription, error) ParseRandomWordsFulfilled(log types.Log) (*BeaconVRFConsumerRandomWordsFulfilled, error) FilterRandomnessFulfillmentRequested(opts *bind.FilterOpts, requestID []*big.Int, requester []common.Address) (*BeaconVRFConsumerRandomnessFulfillmentRequestedIterator, error) WatchRandomnessFulfillmentRequested(opts *bind.WatchOpts, sink chan<- *BeaconVRFConsumerRandomnessFulfillmentRequested, requestID []*big.Int, requester []common.Address) (event.Subscription, error) ParseRandomnessFulfillmentRequested(log types.Log) (*BeaconVRFConsumerRandomnessFulfillmentRequested, error) FilterRandomnessRequested(opts *bind.FilterOpts, requestID []*big.Int, requester []common.Address) (*BeaconVRFConsumerRandomnessRequestedIterator, error) WatchRandomnessRequested(opts *bind.WatchOpts, sink chan<- *BeaconVRFConsumerRandomnessRequested, requestID []*big.Int, requester []common.Address) (event.Subscription, error) ParseRandomnessRequested(log types.Log) (*BeaconVRFConsumerRandomnessRequested, error) ParseLog(log types.Log) (generated.AbigenLog, error) Address() common.Address }
type BeaconVRFConsumerNewTransmission ¶ added in v1.12.0
type BeaconVRFConsumerNewTransmission struct { AggregatorRoundId uint32 EpochAndRound *big.Int Transmitter common.Address JuelsPerFeeCoin *big.Int ReasonableGasPrice uint64 ConfigDigest [32]byte Raw types.Log }
func (BeaconVRFConsumerNewTransmission) Topic ¶ added in v1.12.0
func (BeaconVRFConsumerNewTransmission) Topic() common.Hash
type BeaconVRFConsumerNewTransmissionIterator ¶ added in v1.12.0
type BeaconVRFConsumerNewTransmissionIterator struct { Event *BeaconVRFConsumerNewTransmission // contains filtered or unexported fields }
func (*BeaconVRFConsumerNewTransmissionIterator) Close ¶ added in v1.12.0
func (it *BeaconVRFConsumerNewTransmissionIterator) Close() error
func (*BeaconVRFConsumerNewTransmissionIterator) Error ¶ added in v1.12.0
func (it *BeaconVRFConsumerNewTransmissionIterator) Error() error
func (*BeaconVRFConsumerNewTransmissionIterator) Next ¶ added in v1.12.0
func (it *BeaconVRFConsumerNewTransmissionIterator) Next() bool
type BeaconVRFConsumerOutputsServed ¶ added in v1.12.0
type BeaconVRFConsumerOutputsServed struct { RecentBlockHeight uint64 Transmitter common.Address JuelsPerFeeCoin *big.Int ReasonableGasPrice uint64 OutputsServed []VRFBeaconTypesOutputServed Raw types.Log }
func (BeaconVRFConsumerOutputsServed) Topic ¶ added in v1.12.0
func (BeaconVRFConsumerOutputsServed) Topic() common.Hash
type BeaconVRFConsumerOutputsServedIterator ¶ added in v1.12.0
type BeaconVRFConsumerOutputsServedIterator struct { Event *BeaconVRFConsumerOutputsServed // contains filtered or unexported fields }
func (*BeaconVRFConsumerOutputsServedIterator) Close ¶ added in v1.12.0
func (it *BeaconVRFConsumerOutputsServedIterator) Close() error
func (*BeaconVRFConsumerOutputsServedIterator) Error ¶ added in v1.12.0
func (it *BeaconVRFConsumerOutputsServedIterator) Error() error
func (*BeaconVRFConsumerOutputsServedIterator) Next ¶ added in v1.12.0
func (it *BeaconVRFConsumerOutputsServedIterator) Next() bool
type BeaconVRFConsumerRandomWordsFulfilled ¶ added in v1.12.0
type BeaconVRFConsumerRandomWordsFulfilled struct { RequestIDs []*big.Int SuccessfulFulfillment []byte TruncatedErrorData [][]byte Raw types.Log }
func (BeaconVRFConsumerRandomWordsFulfilled) Topic ¶ added in v1.12.0
func (BeaconVRFConsumerRandomWordsFulfilled) Topic() common.Hash
type BeaconVRFConsumerRandomWordsFulfilledIterator ¶ added in v1.12.0
type BeaconVRFConsumerRandomWordsFulfilledIterator struct { Event *BeaconVRFConsumerRandomWordsFulfilled // contains filtered or unexported fields }
func (*BeaconVRFConsumerRandomWordsFulfilledIterator) Close ¶ added in v1.12.0
func (it *BeaconVRFConsumerRandomWordsFulfilledIterator) Close() error
func (*BeaconVRFConsumerRandomWordsFulfilledIterator) Error ¶ added in v1.12.0
func (it *BeaconVRFConsumerRandomWordsFulfilledIterator) Error() error
func (*BeaconVRFConsumerRandomWordsFulfilledIterator) Next ¶ added in v1.12.0
func (it *BeaconVRFConsumerRandomWordsFulfilledIterator) Next() bool
type BeaconVRFConsumerRandomnessFulfillmentRequested ¶ added in v1.11.0
type BeaconVRFConsumerRandomnessFulfillmentRequested struct { RequestID *big.Int Requester common.Address NextBeaconOutputHeight uint64 ConfDelay *big.Int SubID uint64 NumWords uint16 GasAllowance uint32 GasPrice *big.Int WeiPerUnitLink *big.Int Arguments []byte Raw types.Log }
func (BeaconVRFConsumerRandomnessFulfillmentRequested) Topic ¶ added in v1.11.0
func (BeaconVRFConsumerRandomnessFulfillmentRequested) Topic() common.Hash
type BeaconVRFConsumerRandomnessFulfillmentRequestedIterator ¶ added in v1.11.0
type BeaconVRFConsumerRandomnessFulfillmentRequestedIterator struct { Event *BeaconVRFConsumerRandomnessFulfillmentRequested // contains filtered or unexported fields }
func (*BeaconVRFConsumerRandomnessFulfillmentRequestedIterator) Close ¶ added in v1.11.0
func (it *BeaconVRFConsumerRandomnessFulfillmentRequestedIterator) Close() error
func (*BeaconVRFConsumerRandomnessFulfillmentRequestedIterator) Error ¶ added in v1.11.0
func (it *BeaconVRFConsumerRandomnessFulfillmentRequestedIterator) Error() error
func (*BeaconVRFConsumerRandomnessFulfillmentRequestedIterator) Next ¶ added in v1.11.0
func (it *BeaconVRFConsumerRandomnessFulfillmentRequestedIterator) Next() bool
type BeaconVRFConsumerRandomnessRequested ¶ added in v1.11.0
type BeaconVRFConsumerRandomnessRequested struct { RequestID *big.Int Requester common.Address NextBeaconOutputHeight uint64 ConfDelay *big.Int SubID uint64 NumWords uint16 Raw types.Log }
func (BeaconVRFConsumerRandomnessRequested) Topic ¶ added in v1.11.0
func (BeaconVRFConsumerRandomnessRequested) Topic() common.Hash
type BeaconVRFConsumerRandomnessRequestedIterator ¶ added in v1.11.0
type BeaconVRFConsumerRandomnessRequestedIterator struct { Event *BeaconVRFConsumerRandomnessRequested // contains filtered or unexported fields }
func (*BeaconVRFConsumerRandomnessRequestedIterator) Close ¶ added in v1.11.0
func (it *BeaconVRFConsumerRandomnessRequestedIterator) Close() error
func (*BeaconVRFConsumerRandomnessRequestedIterator) Error ¶ added in v1.11.0
func (it *BeaconVRFConsumerRandomnessRequestedIterator) Error() error
func (*BeaconVRFConsumerRandomnessRequestedIterator) Next ¶ added in v1.11.0
func (it *BeaconVRFConsumerRandomnessRequestedIterator) Next() bool
type BeaconVRFConsumerRaw ¶
type BeaconVRFConsumerRaw struct {
Contract *BeaconVRFConsumer
}
func (*BeaconVRFConsumerRaw) Call ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
func (*BeaconVRFConsumerRaw) Transact ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*BeaconVRFConsumerRaw) Transfer ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type BeaconVRFConsumerSession ¶
type BeaconVRFConsumerSession struct { Contract *BeaconVRFConsumer CallOpts bind.CallOpts TransactOpts bind.TransactOpts }
func (*BeaconVRFConsumerSession) Fail ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerSession) Fail() (bool, error)
func (*BeaconVRFConsumerSession) IBeaconPeriodBlocks ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerSession) IBeaconPeriodBlocks() (*big.Int, error)
func (*BeaconVRFConsumerSession) NUMCONFDELAYS ¶ added in v1.10.0
func (_BeaconVRFConsumer *BeaconVRFConsumerSession) NUMCONFDELAYS() (uint8, error)
func (*BeaconVRFConsumerSession) RawFulfillRandomWords ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerSession) RawFulfillRandomWords(requestID *big.Int, randomWords []*big.Int, arguments []byte) (*types.Transaction, error)
func (*BeaconVRFConsumerSession) SArguments ¶ added in v1.12.0
func (_BeaconVRFConsumer *BeaconVRFConsumerSession) SArguments() ([]byte, error)
func (*BeaconVRFConsumerSession) SGasAvailable ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerSession) SGasAvailable() (*big.Int, error)
func (*BeaconVRFConsumerSession) SMyBeaconRequests ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerSession) SMyBeaconRequests(arg0 *big.Int) (SMyBeaconRequests, error)
func (*BeaconVRFConsumerSession) SRandomWords ¶
func (*BeaconVRFConsumerSession) SReceivedRandomnessByRequestID ¶
func (*BeaconVRFConsumerSession) SRequestsIDs ¶
func (*BeaconVRFConsumerSession) SSubId ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerSession) SSubId() (uint64, error)
func (*BeaconVRFConsumerSession) SetFail ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerSession) SetFail(shouldFail bool) (*types.Transaction, error)
func (*BeaconVRFConsumerSession) StoreBeaconRequest ¶ added in v1.9.0
func (*BeaconVRFConsumerSession) TestRedeemRandomness ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerSession) TestRedeemRandomness(requestID *big.Int) (*types.Transaction, error)
func (*BeaconVRFConsumerSession) TestRequestRandomness ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerSession) TestRequestRandomness(numWords uint16, subID uint64, confirmationDelayArg *big.Int) (*types.Transaction, error)
func (*BeaconVRFConsumerSession) TestRequestRandomnessFulfillment ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerSession) TestRequestRandomnessFulfillment(subID uint64, numWords uint16, confirmationDelayArg *big.Int, callbackGasLimit uint32, arguments []byte) (*types.Transaction, error)
type BeaconVRFConsumerTransactor ¶
type BeaconVRFConsumerTransactor struct {
// contains filtered or unexported fields
}
func NewBeaconVRFConsumerTransactor ¶
func NewBeaconVRFConsumerTransactor(address common.Address, transactor bind.ContractTransactor) (*BeaconVRFConsumerTransactor, error)
func (*BeaconVRFConsumerTransactor) RawFulfillRandomWords ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerTransactor) RawFulfillRandomWords(opts *bind.TransactOpts, requestID *big.Int, randomWords []*big.Int, arguments []byte) (*types.Transaction, error)
func (*BeaconVRFConsumerTransactor) SetFail ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerTransactor) SetFail(opts *bind.TransactOpts, shouldFail bool) (*types.Transaction, error)
func (*BeaconVRFConsumerTransactor) StoreBeaconRequest ¶ added in v1.9.0
func (_BeaconVRFConsumer *BeaconVRFConsumerTransactor) StoreBeaconRequest(opts *bind.TransactOpts, reqId *big.Int, height *big.Int, delay *big.Int, numWords uint16) (*types.Transaction, error)
func (*BeaconVRFConsumerTransactor) TestRedeemRandomness ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerTransactor) TestRedeemRandomness(opts *bind.TransactOpts, requestID *big.Int) (*types.Transaction, error)
func (*BeaconVRFConsumerTransactor) TestRequestRandomness ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerTransactor) TestRequestRandomness(opts *bind.TransactOpts, numWords uint16, subID uint64, confirmationDelayArg *big.Int) (*types.Transaction, error)
func (*BeaconVRFConsumerTransactor) TestRequestRandomnessFulfillment ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerTransactor) TestRequestRandomnessFulfillment(opts *bind.TransactOpts, subID uint64, numWords uint16, confirmationDelayArg *big.Int, callbackGasLimit uint32, arguments []byte) (*types.Transaction, error)
type BeaconVRFConsumerTransactorRaw ¶
type BeaconVRFConsumerTransactorRaw struct {
Contract *BeaconVRFConsumerTransactor
}
func (*BeaconVRFConsumerTransactorRaw) Transact ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*BeaconVRFConsumerTransactorRaw) Transfer ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type BeaconVRFConsumerTransactorSession ¶
type BeaconVRFConsumerTransactorSession struct { Contract *BeaconVRFConsumerTransactor TransactOpts bind.TransactOpts }
func (*BeaconVRFConsumerTransactorSession) RawFulfillRandomWords ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerTransactorSession) RawFulfillRandomWords(requestID *big.Int, randomWords []*big.Int, arguments []byte) (*types.Transaction, error)
func (*BeaconVRFConsumerTransactorSession) SetFail ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerTransactorSession) SetFail(shouldFail bool) (*types.Transaction, error)
func (*BeaconVRFConsumerTransactorSession) StoreBeaconRequest ¶ added in v1.9.0
func (*BeaconVRFConsumerTransactorSession) TestRedeemRandomness ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerTransactorSession) TestRedeemRandomness(requestID *big.Int) (*types.Transaction, error)
func (*BeaconVRFConsumerTransactorSession) TestRequestRandomness ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerTransactorSession) TestRequestRandomness(numWords uint16, subID uint64, confirmationDelayArg *big.Int) (*types.Transaction, error)
func (*BeaconVRFConsumerTransactorSession) TestRequestRandomnessFulfillment ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerTransactorSession) TestRequestRandomnessFulfillment(subID uint64, numWords uint16, confirmationDelayArg *big.Int, callbackGasLimit uint32, arguments []byte) (*types.Transaction, error)
type SMyBeaconRequests ¶
Click to show internal directories.
Click to hide internal directories.