vrf_router

package
v1.13.2-rc0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: MIT Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var VRFRouterABI = VRFRouterMetaData.ABI
View Source
var VRFRouterBin = VRFRouterMetaData.Bin
View Source
var VRFRouterMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"CoordinatorAlreadyRegistered\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CoordinatorNotRegistered\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RouteNotFound\",\"type\":\"error\"},{\"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\":false,\"internalType\":\"address\",\"name\":\"coordinatorAddress\",\"type\":\"address\"}],\"name\":\"CoordinatorDeregistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"coordinatorAddress\",\"type\":\"address\"}],\"name\":\"CoordinatorRegistered\",\"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\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"OwnershipTransferRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"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\":\"uint256\",\"name\":\"subID\",\"type\":\"uint256\"},{\"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\":\"uint256\",\"name\":\"subID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"numWords\",\"type\":\"uint16\"}],\"name\":\"RandomnessRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"subID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"coordinatorAddress\",\"type\":\"address\"}],\"name\":\"RouteSet\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"NUM_CONF_DELAYS\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"gasAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"callWithExactGasEvenIfTargetIsNoContract\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"sufficientGas\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"coordinatorAddress\",\"type\":\"address\"}],\"name\":\"deregisterCoordinator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCoordinators\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"subID\",\"type\":\"uint256\"}],\"name\":\"getRoute\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"coordinator\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"coordinatorAddress\",\"type\":\"address\"}],\"name\":\"isCoordinatorRegistered\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"subID\",\"type\":\"uint256\"},{\"internalType\":\"VRFBeaconTypes.RequestID\",\"name\":\"requestID\",\"type\":\"uint48\"},{\"internalType\":\"bytes\",\"name\":\"extraArgs\",\"type\":\"bytes\"}],\"name\":\"redeemRandomness\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"randomness\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"coordinatorAddress\",\"type\":\"address\"}],\"name\":\"registerCoordinator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"subID\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"numWords\",\"type\":\"uint16\"},{\"internalType\":\"VRFBeaconTypes.ConfirmationDelay\",\"name\":\"confDelay\",\"type\":\"uint24\"},{\"internalType\":\"bytes\",\"name\":\"extraArgs\",\"type\":\"bytes\"}],\"name\":\"requestRandomness\",\"outputs\":[{\"internalType\":\"VRFBeaconTypes.RequestID\",\"name\":\"\",\"type\":\"uint48\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"subID\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"numWords\",\"type\":\"uint16\"},{\"internalType\":\"VRFBeaconTypes.ConfirmationDelay\",\"name\":\"confDelay\",\"type\":\"uint24\"},{\"internalType\":\"uint32\",\"name\":\"callbackGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"arguments\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"extraArgs\",\"type\":\"bytes\"}],\"name\":\"requestRandomnessFulfillment\",\"outputs\":[{\"internalType\":\"VRFBeaconTypes.RequestID\",\"name\":\"\",\"type\":\"uint48\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"subID\",\"type\":\"uint256\"}],\"name\":\"resetRoute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"subID\",\"type\":\"uint256\"}],\"name\":\"setRoute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"typeAndVersion\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b5033806000816100675760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420736574206f776e657220746f207a65726f000000000000000060448201526064015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0384811691909117909155811615610097576100978161009f565b505050610148565b336001600160a01b038216036100f75760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000604482015260640161005e565b600180546001600160a01b0319166001600160a01b0383811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b611184806101576000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80639479b74e11610097578063d9c4a44d11610066578063d9c4a44d1461027b578063db972c8b1461028e578063f2fde38b146102a1578063fa66358a146102b457600080fd5b80639479b74e14610212578063a8a254ed14610225578063bb9b2b3414610245578063cef40aa61461025857600080fd5b806355fe9763116100d357806355fe9763146101a65780635d5d8d19146101d057806379ba5097146101e55780638da5cb5b146101ed57600080fd5b8063181f5a77146101055780632f7527cc1461014d5780634b2407d4146101675780634ffac83a1461017c575b600080fd5b604080518082018252600f81527f565246526f7574657220312e302e300000000000000000000000000000000000602082015290516101449190610c21565b60405180910390f35b610155600881565b60405160ff9091168152602001610144565b61017a610175366004610c50565b6102c7565b005b61018f61018a366004610d47565b61035c565b60405165ffffffffffff9091168152602001610144565b6101b96101b4366004610daf565b610405565b604080519215158352901515602083015201610144565b6101d861046e565b6040516101449190610e06565b61017a61047f565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610144565b61017a610220366004610e53565b610542565b610238610233366004610e80565b6105d4565b6040516101449190610ea7565b61017a610253366004610e53565b61067f565b61026b610266366004610c50565b610702565b6040519015158152602001610144565b61017a610289366004610c50565b610724565b61018f61029c366004610edf565b6107a1565b61017a6102af366004610c50565b610850565b6101fa6102c2366004610e53565b610864565b6102cf6108c8565b6102da600382610924565b15610311576040517fdcecb7bf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61031c600382610949565b506040516001600160a01b03821681527fb7cabbfc11e66731fc77de0444614282023bcbd41d16781c753a431d0af016259060200160405180910390a150565b60008061036886610864565b6040517f62f8b6200000000000000000000000000000000000000000000000000000000081529091506001600160a01b038216906362f8b620906103b89033908a908a908a908a90600401610f88565b6020604051808303816000875af11580156103d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103fb9190610fd0565b9695505050505050565b60008033610414600382610924565b610431576040516301fd70a160e51b815260040160405180910390fd5b5a611388811061046457611388810390508660408204820311156104645760008086516020880160008a8cf19350600192505b5050935093915050565b606061047a600361095e565b905090565b6001546001600160a01b031633146104de5760405162461bcd60e51b815260206004820152601660248201527f4d7573742062652070726f706f736564206f776e65720000000000000000000060448201526064015b60405180910390fd5b600080543373ffffffffffffffffffffffffffffffffffffffff19808316821784556001805490911690556040516001600160a01b0390921692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a350565b3361054e600382610924565b61056b576040516301fd70a160e51b815260040160405180910390fd5b600082815260026020908152604091829020805473ffffffffffffffffffffffffffffffffffffffff191633908117909155915191825283917fd8bb190f51a471c0cc88b5df464ee10c29138cce0d70fb36c472d60b414f3b3a91015b60405180910390a25050565b606060006105e185610864565b6040517fabbf1c9b0000000000000000000000000000000000000000000000000000000081529091506001600160a01b0382169063abbf1c9b9061062f903390899089908990600401610fed565b6000604051808303816000875af115801561064e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106769190810190611023565b95945050505050565b3361068b600382610924565b6106a8576040516301fd70a160e51b815260040160405180910390fd5b6000828152600260209081526040808320805473ffffffffffffffffffffffffffffffffffffffff191690555191825283917fd8bb190f51a471c0cc88b5df464ee10c29138cce0d70fb36c472d60b414f3b3a91016105c8565b600061070f600383610924565b1561071c57506001919050565b506000919050565b61072c6108c8565b80610738600382610924565b610755576040516301fd70a160e51b815260040160405180910390fd5b61076060038361096b565b506040516001600160a01b03831681527ff80a1a97fd42251f3c33cda98635e7399253033a6774fe37cd3f650b5282af379060200160405180910390a15050565b6000806107ad88610864565b6040517f95009f080000000000000000000000000000000000000000000000000000000081529091506001600160a01b038216906395009f08906108019033908c908c908c908c908c908c906004016110bd565b6020604051808303816000875af1158015610820573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108449190610fd0565b98975050505050505050565b6108586108c8565b61086181610980565b50565b6000818152600260205260408120546001600160a01b03168061089a576040516302d703d160e61b815260040160405180910390fd5b6108a5600382610924565b6108c2576040516302d703d160e61b815260040160405180910390fd5b92915050565b6000546001600160a01b031633146109225760405162461bcd60e51b815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e65720000000000000000000060448201526064016104d5565b565b6001600160a01b038116600090815260018301602052604081205415155b9392505050565b6000610942836001600160a01b038416610a36565b6060600061094283610a85565b6000610942836001600160a01b038416610ae1565b336001600160a01b038216036109d85760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c6600000000000000000060448201526064016104d5565b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0383811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b6000818152600183016020526040812054610a7d575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556108c2565b5060006108c2565b606081600001805480602002602001604051908101604052809291908181526020018280548015610ad557602002820191906000526020600020905b815481526020019060010190808311610ac1575b50505050509050919050565b60008181526001830160205260408120548015610bca576000610b05600183611126565b8554909150600090610b1990600190611126565b9050818114610b7e576000866000018281548110610b3957610b3961114b565b9060005260206000200154905080876000018481548110610b5c57610b5c61114b565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080610b8f57610b8f611161565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506108c2565b60009150506108c2565b6000815180845260005b81811015610bfa57602081850181015186830182015201610bde565b81811115610c0c576000602083870101525b50601f01601f19169290920160200192915050565b6020815260006109426020830184610bd4565b80356001600160a01b0381168114610c4b57600080fd5b919050565b600060208284031215610c6257600080fd5b61094282610c34565b803561ffff81168114610c4b57600080fd5b803562ffffff81168114610c4b57600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610ccf57610ccf610c90565b604052919050565b600082601f830112610ce857600080fd5b813567ffffffffffffffff811115610d0257610d02610c90565b610d15601f8201601f1916602001610ca6565b818152846020838601011115610d2a57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060808587031215610d5d57600080fd5b84359350610d6d60208601610c6b565b9250610d7b60408601610c7d565b9150606085013567ffffffffffffffff811115610d9757600080fd5b610da387828801610cd7565b91505092959194509250565b600080600060608486031215610dc457600080fd5b83359250610dd460208501610c34565b9150604084013567ffffffffffffffff811115610df057600080fd5b610dfc86828701610cd7565b9150509250925092565b6020808252825182820181905260009190848201906040850190845b81811015610e475783516001600160a01b031683529284019291840191600101610e22565b50909695505050505050565b600060208284031215610e6557600080fd5b5035919050565b65ffffffffffff8116811461086157600080fd5b600080600060608486031215610e9557600080fd5b833592506020840135610dd481610e6c565b6020808252825182820181905260009190848201906040850190845b81811015610e4757835183529284019291840191600101610ec3565b60008060008060008060c08789031215610ef857600080fd5b86359550610f0860208801610c6b565b9450610f1660408801610c7d565b9350606087013563ffffffff81168114610f2f57600080fd5b9250608087013567ffffffffffffffff80821115610f4c57600080fd5b610f588a838b01610cd7565b935060a0890135915080821115610f6e57600080fd5b50610f7b89828a01610cd7565b9150509295509295509295565b6001600160a01b038616815284602082015261ffff8416604082015262ffffff8316606082015260a060808201526000610fc560a0830184610bd4565b979650505050505050565b600060208284031215610fe257600080fd5b815161094281610e6c565b6001600160a01b038516815283602082015265ffffffffffff831660408201526080606082015260006103fb6080830184610bd4565b6000602080838503121561103657600080fd5b825167ffffffffffffffff8082111561104e57600080fd5b818501915085601f83011261106257600080fd5b81518181111561107457611074610c90565b8060051b9150611085848301610ca6565b818152918301840191848101908884111561109f57600080fd5b938501935b83851015610844578451825293850193908501906110a4565b6001600160a01b038816815286602082015261ffff8616604082015262ffffff8516606082015263ffffffff8416608082015260e060a0820152600061110660e0830185610bd4565b82810360c08401526111188185610bd4565b9a9950505050505050505050565b60008282101561114657634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fdfea164736f6c634300080f000a",
}

Functions

This section is empty.

Types

type VRFBeaconTypesOutputServed

type VRFBeaconTypesOutputServed struct {
	Height            uint64
	ConfirmationDelay *big.Int
	ProofG1X          *big.Int
	ProofG1Y          *big.Int
}

type VRFRouter

type VRFRouter struct {
	VRFRouterCaller
	VRFRouterTransactor
	VRFRouterFilterer
	// contains filtered or unexported fields
}

func NewVRFRouter

func NewVRFRouter(address common.Address, backend bind.ContractBackend) (*VRFRouter, error)

func (*VRFRouter) Address

func (_VRFRouter *VRFRouter) Address() common.Address

func (*VRFRouter) ParseLog

func (_VRFRouter *VRFRouter) ParseLog(log types.Log) (generated.AbigenLog, error)

type VRFRouterCaller

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

func NewVRFRouterCaller

func NewVRFRouterCaller(address common.Address, caller bind.ContractCaller) (*VRFRouterCaller, error)

func (*VRFRouterCaller) GetCoordinators

func (_VRFRouter *VRFRouterCaller) GetCoordinators(opts *bind.CallOpts) ([]common.Address, error)

func (*VRFRouterCaller) GetRoute

func (_VRFRouter *VRFRouterCaller) GetRoute(opts *bind.CallOpts, subID *big.Int) (common.Address, error)

func (*VRFRouterCaller) IsCoordinatorRegistered

func (_VRFRouter *VRFRouterCaller) IsCoordinatorRegistered(opts *bind.CallOpts, coordinatorAddress common.Address) (bool, error)

func (*VRFRouterCaller) NUMCONFDELAYS

func (_VRFRouter *VRFRouterCaller) NUMCONFDELAYS(opts *bind.CallOpts) (uint8, error)

func (*VRFRouterCaller) Owner

func (_VRFRouter *VRFRouterCaller) Owner(opts *bind.CallOpts) (common.Address, error)

func (*VRFRouterCaller) TypeAndVersion

func (_VRFRouter *VRFRouterCaller) TypeAndVersion(opts *bind.CallOpts) (string, error)

type VRFRouterCallerRaw

type VRFRouterCallerRaw struct {
	Contract *VRFRouterCaller
}

func (*VRFRouterCallerRaw) Call

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

type VRFRouterCallerSession

type VRFRouterCallerSession struct {
	Contract *VRFRouterCaller
	CallOpts bind.CallOpts
}

func (*VRFRouterCallerSession) GetCoordinators

func (_VRFRouter *VRFRouterCallerSession) GetCoordinators() ([]common.Address, error)

func (*VRFRouterCallerSession) GetRoute

func (_VRFRouter *VRFRouterCallerSession) GetRoute(subID *big.Int) (common.Address, error)

func (*VRFRouterCallerSession) IsCoordinatorRegistered

func (_VRFRouter *VRFRouterCallerSession) IsCoordinatorRegistered(coordinatorAddress common.Address) (bool, error)

func (*VRFRouterCallerSession) NUMCONFDELAYS

func (_VRFRouter *VRFRouterCallerSession) NUMCONFDELAYS() (uint8, error)

func (*VRFRouterCallerSession) Owner

func (_VRFRouter *VRFRouterCallerSession) Owner() (common.Address, error)

func (*VRFRouterCallerSession) TypeAndVersion

func (_VRFRouter *VRFRouterCallerSession) TypeAndVersion() (string, error)

type VRFRouterConfigSet

type VRFRouterConfigSet 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 (VRFRouterConfigSet) Topic

func (VRFRouterConfigSet) Topic() common.Hash

type VRFRouterConfigSetIterator

type VRFRouterConfigSetIterator struct {
	Event *VRFRouterConfigSet
	// contains filtered or unexported fields
}

func (*VRFRouterConfigSetIterator) Close

func (it *VRFRouterConfigSetIterator) Close() error

func (*VRFRouterConfigSetIterator) Error

func (it *VRFRouterConfigSetIterator) Error() error

func (*VRFRouterConfigSetIterator) Next

func (it *VRFRouterConfigSetIterator) Next() bool

type VRFRouterCoordinatorDeregistered

type VRFRouterCoordinatorDeregistered struct {
	CoordinatorAddress common.Address
	Raw                types.Log
}

func (VRFRouterCoordinatorDeregistered) Topic

type VRFRouterCoordinatorDeregisteredIterator

type VRFRouterCoordinatorDeregisteredIterator struct {
	Event *VRFRouterCoordinatorDeregistered
	// contains filtered or unexported fields
}

func (*VRFRouterCoordinatorDeregisteredIterator) Close

func (*VRFRouterCoordinatorDeregisteredIterator) Error

func (*VRFRouterCoordinatorDeregisteredIterator) Next

type VRFRouterCoordinatorRegistered

type VRFRouterCoordinatorRegistered struct {
	CoordinatorAddress common.Address
	Raw                types.Log
}

func (VRFRouterCoordinatorRegistered) Topic

type VRFRouterCoordinatorRegisteredIterator

type VRFRouterCoordinatorRegisteredIterator struct {
	Event *VRFRouterCoordinatorRegistered
	// contains filtered or unexported fields
}

func (*VRFRouterCoordinatorRegisteredIterator) Close

func (*VRFRouterCoordinatorRegisteredIterator) Error

func (*VRFRouterCoordinatorRegisteredIterator) Next

type VRFRouterFilterer

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

func NewVRFRouterFilterer

func NewVRFRouterFilterer(address common.Address, filterer bind.ContractFilterer) (*VRFRouterFilterer, error)

func (*VRFRouterFilterer) FilterConfigSet

func (_VRFRouter *VRFRouterFilterer) FilterConfigSet(opts *bind.FilterOpts) (*VRFRouterConfigSetIterator, error)

func (*VRFRouterFilterer) FilterCoordinatorDeregistered

func (_VRFRouter *VRFRouterFilterer) FilterCoordinatorDeregistered(opts *bind.FilterOpts) (*VRFRouterCoordinatorDeregisteredIterator, error)

func (*VRFRouterFilterer) FilterCoordinatorRegistered

func (_VRFRouter *VRFRouterFilterer) FilterCoordinatorRegistered(opts *bind.FilterOpts) (*VRFRouterCoordinatorRegisteredIterator, error)

func (*VRFRouterFilterer) FilterNewTransmission

func (_VRFRouter *VRFRouterFilterer) FilterNewTransmission(opts *bind.FilterOpts, aggregatorRoundId []uint32, epochAndRound []*big.Int) (*VRFRouterNewTransmissionIterator, error)

func (*VRFRouterFilterer) FilterOutputsServed

func (_VRFRouter *VRFRouterFilterer) FilterOutputsServed(opts *bind.FilterOpts) (*VRFRouterOutputsServedIterator, error)

func (*VRFRouterFilterer) FilterOwnershipTransferRequested

func (_VRFRouter *VRFRouterFilterer) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VRFRouterOwnershipTransferRequestedIterator, error)

func (*VRFRouterFilterer) FilterOwnershipTransferred

func (_VRFRouter *VRFRouterFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VRFRouterOwnershipTransferredIterator, error)

func (*VRFRouterFilterer) FilterRandomWordsFulfilled

func (_VRFRouter *VRFRouterFilterer) FilterRandomWordsFulfilled(opts *bind.FilterOpts) (*VRFRouterRandomWordsFulfilledIterator, error)

func (*VRFRouterFilterer) FilterRandomnessFulfillmentRequested

func (_VRFRouter *VRFRouterFilterer) FilterRandomnessFulfillmentRequested(opts *bind.FilterOpts, requestID []*big.Int, requester []common.Address) (*VRFRouterRandomnessFulfillmentRequestedIterator, error)

func (*VRFRouterFilterer) FilterRandomnessRequested

func (_VRFRouter *VRFRouterFilterer) FilterRandomnessRequested(opts *bind.FilterOpts, requestID []*big.Int, requester []common.Address) (*VRFRouterRandomnessRequestedIterator, error)

func (*VRFRouterFilterer) FilterRouteSet

func (_VRFRouter *VRFRouterFilterer) FilterRouteSet(opts *bind.FilterOpts, subID []*big.Int) (*VRFRouterRouteSetIterator, error)

func (*VRFRouterFilterer) ParseConfigSet

func (_VRFRouter *VRFRouterFilterer) ParseConfigSet(log types.Log) (*VRFRouterConfigSet, error)

func (*VRFRouterFilterer) ParseCoordinatorDeregistered

func (_VRFRouter *VRFRouterFilterer) ParseCoordinatorDeregistered(log types.Log) (*VRFRouterCoordinatorDeregistered, error)

func (*VRFRouterFilterer) ParseCoordinatorRegistered

func (_VRFRouter *VRFRouterFilterer) ParseCoordinatorRegistered(log types.Log) (*VRFRouterCoordinatorRegistered, error)

func (*VRFRouterFilterer) ParseNewTransmission

func (_VRFRouter *VRFRouterFilterer) ParseNewTransmission(log types.Log) (*VRFRouterNewTransmission, error)

func (*VRFRouterFilterer) ParseOutputsServed

func (_VRFRouter *VRFRouterFilterer) ParseOutputsServed(log types.Log) (*VRFRouterOutputsServed, error)

func (*VRFRouterFilterer) ParseOwnershipTransferRequested

func (_VRFRouter *VRFRouterFilterer) ParseOwnershipTransferRequested(log types.Log) (*VRFRouterOwnershipTransferRequested, error)

func (*VRFRouterFilterer) ParseOwnershipTransferred

func (_VRFRouter *VRFRouterFilterer) ParseOwnershipTransferred(log types.Log) (*VRFRouterOwnershipTransferred, error)

func (*VRFRouterFilterer) ParseRandomWordsFulfilled

func (_VRFRouter *VRFRouterFilterer) ParseRandomWordsFulfilled(log types.Log) (*VRFRouterRandomWordsFulfilled, error)

func (*VRFRouterFilterer) ParseRandomnessFulfillmentRequested

func (_VRFRouter *VRFRouterFilterer) ParseRandomnessFulfillmentRequested(log types.Log) (*VRFRouterRandomnessFulfillmentRequested, error)

func (*VRFRouterFilterer) ParseRandomnessRequested

func (_VRFRouter *VRFRouterFilterer) ParseRandomnessRequested(log types.Log) (*VRFRouterRandomnessRequested, error)

func (*VRFRouterFilterer) ParseRouteSet

func (_VRFRouter *VRFRouterFilterer) ParseRouteSet(log types.Log) (*VRFRouterRouteSet, error)

func (*VRFRouterFilterer) WatchConfigSet

func (_VRFRouter *VRFRouterFilterer) WatchConfigSet(opts *bind.WatchOpts, sink chan<- *VRFRouterConfigSet) (event.Subscription, error)

func (*VRFRouterFilterer) WatchCoordinatorDeregistered

func (_VRFRouter *VRFRouterFilterer) WatchCoordinatorDeregistered(opts *bind.WatchOpts, sink chan<- *VRFRouterCoordinatorDeregistered) (event.Subscription, error)

func (*VRFRouterFilterer) WatchCoordinatorRegistered

func (_VRFRouter *VRFRouterFilterer) WatchCoordinatorRegistered(opts *bind.WatchOpts, sink chan<- *VRFRouterCoordinatorRegistered) (event.Subscription, error)

func (*VRFRouterFilterer) WatchNewTransmission

func (_VRFRouter *VRFRouterFilterer) WatchNewTransmission(opts *bind.WatchOpts, sink chan<- *VRFRouterNewTransmission, aggregatorRoundId []uint32, epochAndRound []*big.Int) (event.Subscription, error)

func (*VRFRouterFilterer) WatchOutputsServed

func (_VRFRouter *VRFRouterFilterer) WatchOutputsServed(opts *bind.WatchOpts, sink chan<- *VRFRouterOutputsServed) (event.Subscription, error)

func (*VRFRouterFilterer) WatchOwnershipTransferRequested

func (_VRFRouter *VRFRouterFilterer) WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *VRFRouterOwnershipTransferRequested, from []common.Address, to []common.Address) (event.Subscription, error)

func (*VRFRouterFilterer) WatchOwnershipTransferred

func (_VRFRouter *VRFRouterFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *VRFRouterOwnershipTransferred, from []common.Address, to []common.Address) (event.Subscription, error)

func (*VRFRouterFilterer) WatchRandomWordsFulfilled

func (_VRFRouter *VRFRouterFilterer) WatchRandomWordsFulfilled(opts *bind.WatchOpts, sink chan<- *VRFRouterRandomWordsFulfilled) (event.Subscription, error)

func (*VRFRouterFilterer) WatchRandomnessFulfillmentRequested

func (_VRFRouter *VRFRouterFilterer) WatchRandomnessFulfillmentRequested(opts *bind.WatchOpts, sink chan<- *VRFRouterRandomnessFulfillmentRequested, requestID []*big.Int, requester []common.Address) (event.Subscription, error)

func (*VRFRouterFilterer) WatchRandomnessRequested

func (_VRFRouter *VRFRouterFilterer) WatchRandomnessRequested(opts *bind.WatchOpts, sink chan<- *VRFRouterRandomnessRequested, requestID []*big.Int, requester []common.Address) (event.Subscription, error)

func (*VRFRouterFilterer) WatchRouteSet

func (_VRFRouter *VRFRouterFilterer) WatchRouteSet(opts *bind.WatchOpts, sink chan<- *VRFRouterRouteSet, subID []*big.Int) (event.Subscription, error)

type VRFRouterInterface

type VRFRouterInterface interface {
	NUMCONFDELAYS(opts *bind.CallOpts) (uint8, error)

	GetCoordinators(opts *bind.CallOpts) ([]common.Address, error)

	GetRoute(opts *bind.CallOpts, subID *big.Int) (common.Address, error)

	IsCoordinatorRegistered(opts *bind.CallOpts, coordinatorAddress common.Address) (bool, error)

	Owner(opts *bind.CallOpts) (common.Address, error)

	TypeAndVersion(opts *bind.CallOpts) (string, error)

	AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

	CallWithExactGasEvenIfTargetIsNoContract(opts *bind.TransactOpts, gasAmount *big.Int, target common.Address, data []byte) (*types.Transaction, error)

	DeregisterCoordinator(opts *bind.TransactOpts, coordinatorAddress common.Address) (*types.Transaction, error)

	RedeemRandomness(opts *bind.TransactOpts, subID *big.Int, requestID *big.Int, extraArgs []byte) (*types.Transaction, error)

	RegisterCoordinator(opts *bind.TransactOpts, coordinatorAddress common.Address) (*types.Transaction, error)

	RequestRandomness(opts *bind.TransactOpts, subID *big.Int, numWords uint16, confDelay *big.Int, extraArgs []byte) (*types.Transaction, error)

	RequestRandomnessFulfillment(opts *bind.TransactOpts, subID *big.Int, numWords uint16, confDelay *big.Int, callbackGasLimit uint32, arguments []byte, extraArgs []byte) (*types.Transaction, error)

	ResetRoute(opts *bind.TransactOpts, subID *big.Int) (*types.Transaction, error)

	SetRoute(opts *bind.TransactOpts, subID *big.Int) (*types.Transaction, error)

	TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

	FilterConfigSet(opts *bind.FilterOpts) (*VRFRouterConfigSetIterator, error)

	WatchConfigSet(opts *bind.WatchOpts, sink chan<- *VRFRouterConfigSet) (event.Subscription, error)

	ParseConfigSet(log types.Log) (*VRFRouterConfigSet, error)

	FilterCoordinatorDeregistered(opts *bind.FilterOpts) (*VRFRouterCoordinatorDeregisteredIterator, error)

	WatchCoordinatorDeregistered(opts *bind.WatchOpts, sink chan<- *VRFRouterCoordinatorDeregistered) (event.Subscription, error)

	ParseCoordinatorDeregistered(log types.Log) (*VRFRouterCoordinatorDeregistered, error)

	FilterCoordinatorRegistered(opts *bind.FilterOpts) (*VRFRouterCoordinatorRegisteredIterator, error)

	WatchCoordinatorRegistered(opts *bind.WatchOpts, sink chan<- *VRFRouterCoordinatorRegistered) (event.Subscription, error)

	ParseCoordinatorRegistered(log types.Log) (*VRFRouterCoordinatorRegistered, error)

	FilterNewTransmission(opts *bind.FilterOpts, aggregatorRoundId []uint32, epochAndRound []*big.Int) (*VRFRouterNewTransmissionIterator, error)

	WatchNewTransmission(opts *bind.WatchOpts, sink chan<- *VRFRouterNewTransmission, aggregatorRoundId []uint32, epochAndRound []*big.Int) (event.Subscription, error)

	ParseNewTransmission(log types.Log) (*VRFRouterNewTransmission, error)

	FilterOutputsServed(opts *bind.FilterOpts) (*VRFRouterOutputsServedIterator, error)

	WatchOutputsServed(opts *bind.WatchOpts, sink chan<- *VRFRouterOutputsServed) (event.Subscription, error)

	ParseOutputsServed(log types.Log) (*VRFRouterOutputsServed, error)

	FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VRFRouterOwnershipTransferRequestedIterator, error)

	WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *VRFRouterOwnershipTransferRequested, from []common.Address, to []common.Address) (event.Subscription, error)

	ParseOwnershipTransferRequested(log types.Log) (*VRFRouterOwnershipTransferRequested, error)

	FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VRFRouterOwnershipTransferredIterator, error)

	WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *VRFRouterOwnershipTransferred, from []common.Address, to []common.Address) (event.Subscription, error)

	ParseOwnershipTransferred(log types.Log) (*VRFRouterOwnershipTransferred, error)

	FilterRandomWordsFulfilled(opts *bind.FilterOpts) (*VRFRouterRandomWordsFulfilledIterator, error)

	WatchRandomWordsFulfilled(opts *bind.WatchOpts, sink chan<- *VRFRouterRandomWordsFulfilled) (event.Subscription, error)

	ParseRandomWordsFulfilled(log types.Log) (*VRFRouterRandomWordsFulfilled, error)

	FilterRandomnessFulfillmentRequested(opts *bind.FilterOpts, requestID []*big.Int, requester []common.Address) (*VRFRouterRandomnessFulfillmentRequestedIterator, error)

	WatchRandomnessFulfillmentRequested(opts *bind.WatchOpts, sink chan<- *VRFRouterRandomnessFulfillmentRequested, requestID []*big.Int, requester []common.Address) (event.Subscription, error)

	ParseRandomnessFulfillmentRequested(log types.Log) (*VRFRouterRandomnessFulfillmentRequested, error)

	FilterRandomnessRequested(opts *bind.FilterOpts, requestID []*big.Int, requester []common.Address) (*VRFRouterRandomnessRequestedIterator, error)

	WatchRandomnessRequested(opts *bind.WatchOpts, sink chan<- *VRFRouterRandomnessRequested, requestID []*big.Int, requester []common.Address) (event.Subscription, error)

	ParseRandomnessRequested(log types.Log) (*VRFRouterRandomnessRequested, error)

	FilterRouteSet(opts *bind.FilterOpts, subID []*big.Int) (*VRFRouterRouteSetIterator, error)

	WatchRouteSet(opts *bind.WatchOpts, sink chan<- *VRFRouterRouteSet, subID []*big.Int) (event.Subscription, error)

	ParseRouteSet(log types.Log) (*VRFRouterRouteSet, error)

	ParseLog(log types.Log) (generated.AbigenLog, error)

	Address() common.Address
}

type VRFRouterNewTransmission

type VRFRouterNewTransmission struct {
	AggregatorRoundId  uint32
	EpochAndRound      *big.Int
	Transmitter        common.Address
	JuelsPerFeeCoin    *big.Int
	ReasonableGasPrice uint64
	ConfigDigest       [32]byte
	Raw                types.Log
}

func (VRFRouterNewTransmission) Topic

type VRFRouterNewTransmissionIterator

type VRFRouterNewTransmissionIterator struct {
	Event *VRFRouterNewTransmission
	// contains filtered or unexported fields
}

func (*VRFRouterNewTransmissionIterator) Close

func (*VRFRouterNewTransmissionIterator) Error

func (*VRFRouterNewTransmissionIterator) Next

type VRFRouterOutputsServed

type VRFRouterOutputsServed struct {
	RecentBlockHeight  uint64
	Transmitter        common.Address
	JuelsPerFeeCoin    *big.Int
	ReasonableGasPrice uint64
	OutputsServed      []VRFBeaconTypesOutputServed
	Raw                types.Log
}

func (VRFRouterOutputsServed) Topic

type VRFRouterOutputsServedIterator

type VRFRouterOutputsServedIterator struct {
	Event *VRFRouterOutputsServed
	// contains filtered or unexported fields
}

func (*VRFRouterOutputsServedIterator) Close

func (*VRFRouterOutputsServedIterator) Error

func (*VRFRouterOutputsServedIterator) Next

type VRFRouterOwnershipTransferRequested

type VRFRouterOwnershipTransferRequested struct {
	From common.Address
	To   common.Address
	Raw  types.Log
}

func (VRFRouterOwnershipTransferRequested) Topic

type VRFRouterOwnershipTransferRequestedIterator

type VRFRouterOwnershipTransferRequestedIterator struct {
	Event *VRFRouterOwnershipTransferRequested
	// contains filtered or unexported fields
}

func (*VRFRouterOwnershipTransferRequestedIterator) Close

func (*VRFRouterOwnershipTransferRequestedIterator) Error

func (*VRFRouterOwnershipTransferRequestedIterator) Next

type VRFRouterOwnershipTransferred

type VRFRouterOwnershipTransferred struct {
	From common.Address
	To   common.Address
	Raw  types.Log
}

func (VRFRouterOwnershipTransferred) Topic

type VRFRouterOwnershipTransferredIterator

type VRFRouterOwnershipTransferredIterator struct {
	Event *VRFRouterOwnershipTransferred
	// contains filtered or unexported fields
}

func (*VRFRouterOwnershipTransferredIterator) Close

func (*VRFRouterOwnershipTransferredIterator) Error

func (*VRFRouterOwnershipTransferredIterator) Next

type VRFRouterRandomWordsFulfilled

type VRFRouterRandomWordsFulfilled struct {
	RequestIDs            []*big.Int
	SuccessfulFulfillment []byte
	TruncatedErrorData    [][]byte
	Raw                   types.Log
}

func (VRFRouterRandomWordsFulfilled) Topic

type VRFRouterRandomWordsFulfilledIterator

type VRFRouterRandomWordsFulfilledIterator struct {
	Event *VRFRouterRandomWordsFulfilled
	// contains filtered or unexported fields
}

func (*VRFRouterRandomWordsFulfilledIterator) Close

func (*VRFRouterRandomWordsFulfilledIterator) Error

func (*VRFRouterRandomWordsFulfilledIterator) Next

type VRFRouterRandomnessFulfillmentRequested

type VRFRouterRandomnessFulfillmentRequested struct {
	RequestID              *big.Int
	Requester              common.Address
	NextBeaconOutputHeight uint64
	ConfDelay              *big.Int
	SubID                  *big.Int
	NumWords               uint16
	GasAllowance           uint32
	GasPrice               *big.Int
	WeiPerUnitLink         *big.Int
	Arguments              []byte
	Raw                    types.Log
}

func (VRFRouterRandomnessFulfillmentRequested) Topic

type VRFRouterRandomnessFulfillmentRequestedIterator

type VRFRouterRandomnessFulfillmentRequestedIterator struct {
	Event *VRFRouterRandomnessFulfillmentRequested
	// contains filtered or unexported fields
}

func (*VRFRouterRandomnessFulfillmentRequestedIterator) Close

func (*VRFRouterRandomnessFulfillmentRequestedIterator) Error

func (*VRFRouterRandomnessFulfillmentRequestedIterator) Next

type VRFRouterRandomnessRequested

type VRFRouterRandomnessRequested struct {
	RequestID              *big.Int
	Requester              common.Address
	NextBeaconOutputHeight uint64
	ConfDelay              *big.Int
	SubID                  *big.Int
	NumWords               uint16
	Raw                    types.Log
}

func (VRFRouterRandomnessRequested) Topic

type VRFRouterRandomnessRequestedIterator

type VRFRouterRandomnessRequestedIterator struct {
	Event *VRFRouterRandomnessRequested
	// contains filtered or unexported fields
}

func (*VRFRouterRandomnessRequestedIterator) Close

func (*VRFRouterRandomnessRequestedIterator) Error

func (*VRFRouterRandomnessRequestedIterator) Next

type VRFRouterRaw

type VRFRouterRaw struct {
	Contract *VRFRouter
}

func (*VRFRouterRaw) Call

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

func (*VRFRouterRaw) Transact

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

func (*VRFRouterRaw) Transfer

func (_VRFRouter *VRFRouterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type VRFRouterRouteSet

type VRFRouterRouteSet struct {
	SubID              *big.Int
	CoordinatorAddress common.Address
	Raw                types.Log
}

func (VRFRouterRouteSet) Topic

func (VRFRouterRouteSet) Topic() common.Hash

type VRFRouterRouteSetIterator

type VRFRouterRouteSetIterator struct {
	Event *VRFRouterRouteSet
	// contains filtered or unexported fields
}

func (*VRFRouterRouteSetIterator) Close

func (it *VRFRouterRouteSetIterator) Close() error

func (*VRFRouterRouteSetIterator) Error

func (it *VRFRouterRouteSetIterator) Error() error

func (*VRFRouterRouteSetIterator) Next

func (it *VRFRouterRouteSetIterator) Next() bool

type VRFRouterSession

type VRFRouterSession struct {
	Contract     *VRFRouter
	CallOpts     bind.CallOpts
	TransactOpts bind.TransactOpts
}

func (*VRFRouterSession) AcceptOwnership

func (_VRFRouter *VRFRouterSession) AcceptOwnership() (*types.Transaction, error)

func (*VRFRouterSession) CallWithExactGasEvenIfTargetIsNoContract

func (_VRFRouter *VRFRouterSession) CallWithExactGasEvenIfTargetIsNoContract(gasAmount *big.Int, target common.Address, data []byte) (*types.Transaction, error)

func (*VRFRouterSession) DeregisterCoordinator

func (_VRFRouter *VRFRouterSession) DeregisterCoordinator(coordinatorAddress common.Address) (*types.Transaction, error)

func (*VRFRouterSession) GetCoordinators

func (_VRFRouter *VRFRouterSession) GetCoordinators() ([]common.Address, error)

func (*VRFRouterSession) GetRoute

func (_VRFRouter *VRFRouterSession) GetRoute(subID *big.Int) (common.Address, error)

func (*VRFRouterSession) IsCoordinatorRegistered

func (_VRFRouter *VRFRouterSession) IsCoordinatorRegistered(coordinatorAddress common.Address) (bool, error)

func (*VRFRouterSession) NUMCONFDELAYS

func (_VRFRouter *VRFRouterSession) NUMCONFDELAYS() (uint8, error)

func (*VRFRouterSession) Owner

func (_VRFRouter *VRFRouterSession) Owner() (common.Address, error)

func (*VRFRouterSession) RedeemRandomness

func (_VRFRouter *VRFRouterSession) RedeemRandomness(subID *big.Int, requestID *big.Int, extraArgs []byte) (*types.Transaction, error)

func (*VRFRouterSession) RegisterCoordinator

func (_VRFRouter *VRFRouterSession) RegisterCoordinator(coordinatorAddress common.Address) (*types.Transaction, error)

func (*VRFRouterSession) RequestRandomness

func (_VRFRouter *VRFRouterSession) RequestRandomness(subID *big.Int, numWords uint16, confDelay *big.Int, extraArgs []byte) (*types.Transaction, error)

func (*VRFRouterSession) RequestRandomnessFulfillment

func (_VRFRouter *VRFRouterSession) RequestRandomnessFulfillment(subID *big.Int, numWords uint16, confDelay *big.Int, callbackGasLimit uint32, arguments []byte, extraArgs []byte) (*types.Transaction, error)

func (*VRFRouterSession) ResetRoute

func (_VRFRouter *VRFRouterSession) ResetRoute(subID *big.Int) (*types.Transaction, error)

func (*VRFRouterSession) SetRoute

func (_VRFRouter *VRFRouterSession) SetRoute(subID *big.Int) (*types.Transaction, error)

func (*VRFRouterSession) TransferOwnership

func (_VRFRouter *VRFRouterSession) TransferOwnership(to common.Address) (*types.Transaction, error)

func (*VRFRouterSession) TypeAndVersion

func (_VRFRouter *VRFRouterSession) TypeAndVersion() (string, error)

type VRFRouterTransactor

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

func NewVRFRouterTransactor

func NewVRFRouterTransactor(address common.Address, transactor bind.ContractTransactor) (*VRFRouterTransactor, error)

func (*VRFRouterTransactor) AcceptOwnership

func (_VRFRouter *VRFRouterTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

func (*VRFRouterTransactor) CallWithExactGasEvenIfTargetIsNoContract

func (_VRFRouter *VRFRouterTransactor) CallWithExactGasEvenIfTargetIsNoContract(opts *bind.TransactOpts, gasAmount *big.Int, target common.Address, data []byte) (*types.Transaction, error)

func (*VRFRouterTransactor) DeregisterCoordinator

func (_VRFRouter *VRFRouterTransactor) DeregisterCoordinator(opts *bind.TransactOpts, coordinatorAddress common.Address) (*types.Transaction, error)

func (*VRFRouterTransactor) RedeemRandomness

func (_VRFRouter *VRFRouterTransactor) RedeemRandomness(opts *bind.TransactOpts, subID *big.Int, requestID *big.Int, extraArgs []byte) (*types.Transaction, error)

func (*VRFRouterTransactor) RegisterCoordinator

func (_VRFRouter *VRFRouterTransactor) RegisterCoordinator(opts *bind.TransactOpts, coordinatorAddress common.Address) (*types.Transaction, error)

func (*VRFRouterTransactor) RequestRandomness

func (_VRFRouter *VRFRouterTransactor) RequestRandomness(opts *bind.TransactOpts, subID *big.Int, numWords uint16, confDelay *big.Int, extraArgs []byte) (*types.Transaction, error)

func (*VRFRouterTransactor) RequestRandomnessFulfillment

func (_VRFRouter *VRFRouterTransactor) RequestRandomnessFulfillment(opts *bind.TransactOpts, subID *big.Int, numWords uint16, confDelay *big.Int, callbackGasLimit uint32, arguments []byte, extraArgs []byte) (*types.Transaction, error)

func (*VRFRouterTransactor) ResetRoute

func (_VRFRouter *VRFRouterTransactor) ResetRoute(opts *bind.TransactOpts, subID *big.Int) (*types.Transaction, error)

func (*VRFRouterTransactor) SetRoute

func (_VRFRouter *VRFRouterTransactor) SetRoute(opts *bind.TransactOpts, subID *big.Int) (*types.Transaction, error)

func (*VRFRouterTransactor) TransferOwnership

func (_VRFRouter *VRFRouterTransactor) TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

type VRFRouterTransactorRaw

type VRFRouterTransactorRaw struct {
	Contract *VRFRouterTransactor
}

func (*VRFRouterTransactorRaw) Transact

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

func (*VRFRouterTransactorRaw) Transfer

func (_VRFRouter *VRFRouterTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type VRFRouterTransactorSession

type VRFRouterTransactorSession struct {
	Contract     *VRFRouterTransactor
	TransactOpts bind.TransactOpts
}

func (*VRFRouterTransactorSession) AcceptOwnership

func (_VRFRouter *VRFRouterTransactorSession) AcceptOwnership() (*types.Transaction, error)

func (*VRFRouterTransactorSession) CallWithExactGasEvenIfTargetIsNoContract

func (_VRFRouter *VRFRouterTransactorSession) CallWithExactGasEvenIfTargetIsNoContract(gasAmount *big.Int, target common.Address, data []byte) (*types.Transaction, error)

func (*VRFRouterTransactorSession) DeregisterCoordinator

func (_VRFRouter *VRFRouterTransactorSession) DeregisterCoordinator(coordinatorAddress common.Address) (*types.Transaction, error)

func (*VRFRouterTransactorSession) RedeemRandomness

func (_VRFRouter *VRFRouterTransactorSession) RedeemRandomness(subID *big.Int, requestID *big.Int, extraArgs []byte) (*types.Transaction, error)

func (*VRFRouterTransactorSession) RegisterCoordinator

func (_VRFRouter *VRFRouterTransactorSession) RegisterCoordinator(coordinatorAddress common.Address) (*types.Transaction, error)

func (*VRFRouterTransactorSession) RequestRandomness

func (_VRFRouter *VRFRouterTransactorSession) RequestRandomness(subID *big.Int, numWords uint16, confDelay *big.Int, extraArgs []byte) (*types.Transaction, error)

func (*VRFRouterTransactorSession) RequestRandomnessFulfillment

func (_VRFRouter *VRFRouterTransactorSession) RequestRandomnessFulfillment(subID *big.Int, numWords uint16, confDelay *big.Int, callbackGasLimit uint32, arguments []byte, extraArgs []byte) (*types.Transaction, error)

func (*VRFRouterTransactorSession) ResetRoute

func (_VRFRouter *VRFRouterTransactorSession) ResetRoute(subID *big.Int) (*types.Transaction, error)

func (*VRFRouterTransactorSession) SetRoute

func (_VRFRouter *VRFRouterTransactorSession) SetRoute(subID *big.Int) (*types.Transaction, error)

func (*VRFRouterTransactorSession) TransferOwnership

func (_VRFRouter *VRFRouterTransactorSession) TransferOwnership(to common.Address) (*types.Transaction, error)

Jump to

Keyboard shortcuts

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