load_test_beacon_consumer

package
v1.10.0-beta5 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LoadTestBeaconVRFConsumerABI = LoadTestBeaconVRFConsumerMetaData.ABI
View Source
var LoadTestBeaconVRFConsumerBin = LoadTestBeaconVRFConsumerMetaData.Bin
View Source
var LoadTestBeaconVRFConsumerMetaData = &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\"},{\"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_averageFulfillmentInMillions\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"s_fastestFulfillment\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":\"VRFBeaconTypes.RequestID\",\"name\":\"\",\"type\":\"uint48\"}],\"name\":\"s_requestOutputHeights\",\"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_slowestFulfillment\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"s_subId\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"s_totalFulfilled\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"s_totalRequests\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\"},{\"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\"},{\"internalType\":\"uint256\",\"name\":\"batchSize\",\"type\":\"uint256\"}],\"name\":\"testRequestRandomnessFulfillmentBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x60a060405260006009556000600a556103e7600b556000600c556000600d5534801561002a57600080fd5b5060405161132738038061132783398101604081905261004991610086565b6001600160a01b03929092166080819052600480546001600160a01b03191690911790556007805460ff19169115159190911790556008556100da565b60008060006060848603121561009b57600080fd5b83516001600160a01b03811681146100b257600080fd5b602085015190935080151581146100c857600080fd5b80925050604084015190509250925092565b6080516112326100f5600039600061067301526112326000f3fe608060405234801561001057600080fd5b50600436106101825760003560e01c8063737144bc116100d8578063a9cc47181161008c578063f08c5daa11610066578063f08c5daa146103e4578063f339c794146103ed578063f6eaffc81461040057600080fd5b8063a9cc47181461039e578063cb4192e3146103bb578063cd0593df146103db57600080fd5b80638866c6bd116100bd5780638866c6bd146103615780639c9cd0151461036a5780639d7694021461037d57600080fd5b8063737144bc1461034f57806374dba1241461035857600080fd5b80635a1c532b1161013a578063601201d311610114578063601201d3146102ee5780636d162a3e146102f7578063706da1ca1461030a57600080fd5b80635a1c532b146102955780635a47dd71146102a85780635f15cccc146102bb57600080fd5b80632f7527cc1161016b5780632f7527cc1461023c5780633d8b70aa14610256578063459076261461026b57600080fd5b80631757f11c1461018757806319a5fa22146101a3575b600080fd5b610190600a5481565b6040519081526020015b60405180910390f35b6101ff6101b1366004610bc4565b60026020526000908152604090205463ffffffff811690640100000000810462ffffff1690670100000000000000810461ffff1690690100000000000000000090046001600160a01b031684565b6040805163ffffffff909516855262ffffff909316602085015261ffff909116918301919091526001600160a01b0316606082015260800161019a565b610244600881565b60405160ff909116815260200161019a565b610269610264366004610bc4565b610413565b005b61027e610279366004610cf5565b6104de565b60405165ffffffffffff909116815260200161019a565b6102696102a3366004610d75565b6105cd565b6102696102b6366004610e21565b610671565b61027e6102c9366004610ef3565b600160209081526000928352604080842090915290825290205465ffffffffffff1681565b610190600d5481565b610269610305366004610f1f565b6106f9565b6005546103369074010000000000000000000000000000000000000000900467ffffffffffffffff1681565b60405167ffffffffffffffff909116815260200161019a565b61019060095481565b610190600b5481565b610190600c5481565b61027e610378366004610f6e565b61082c565b61026961038b366004610fb1565b6007805460ff1916911515919091179055565b6007546103ab9060ff1681565b604051901515815260200161019a565b6101906103c9366004610bc4565b600e6020526000908152604090205481565b61019060085481565b61019060065481565b6101906103fb366004610fd3565b61092d565b61019061040e366004610fff565b61095e565b600480546040517f74d8461100000000000000000000000000000000000000000000000000000000815265ffffffffffff8416928101929092526000916001600160a01b03909116906374d84611906024016000604051808303816000875af1158015610484573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104ac9190810190611018565b65ffffffffffff8316600090815260036020908152604090912082519293506104d9929091840190610b4d565b505050565b6000806008546104ec61097f565b6104f691906110bf565b905060008160085461050661097f565b61051091906110e9565b61051a9190611101565b600480546040517ff645dcb10000000000000000000000000000000000000000000000000000000081529293506000926001600160a01b039091169163f645dcb191610570918d918d918d918d918d9101611118565b6020604051808303816000875af115801561058f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b391906111a3565b90506105c18183898b6106f9565b98975050505050505050565b60006008546105da61097f565b6105e491906110bf565b90506000816008546105f461097f565b6105fe91906110e9565b6106089190611101565b905060005b838110156106665760006106248a8a8a8a8a6104de565b600c80549192506000610636836111c0565b909155505065ffffffffffff166000908152600e602052604090208290558061065e816111c0565b91505061060d565b505050505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633146106ee5760405162461bcd60e51b815260206004820152601c60248201527f6f6e6c7920636f6f7264696e61746f722063616e2066756c66696c6c0000000060448201526064015b60405180910390fd5b6104d9838383610a09565b600083815260016020908152604080832062ffffff861684529091528120805465ffffffffffff191665ffffffffffff871617905560085461073b90856111d9565b6040805160808101825263ffffffff928316815262ffffff958616602080830191825261ffff968716838501908152306060850190815265ffffffffffff909b1660009081526002909252939020915182549151935199516001600160a01b03166901000000000000000000027fffffff0000000000000000000000000000000000000000ffffffffffffffffff9a90971667010000000000000002999099167fffffff00000000000000000000000000000000000000000000ffffffffffffff939097166401000000000266ffffffffffffff199091169890931697909717919091171692909217179092555050565b60008060085461083a61097f565b61084491906110bf565b905060008160085461085461097f565b61085e91906110e9565b6108689190611101565b600480546040517fdc92accf00000000000000000000000000000000000000000000000000000000815261ffff8a169281019290925267ffffffffffffffff8816602483015262ffffff871660448301529192506000916001600160a01b03169063dc92accf906064016020604051808303816000875af11580156108f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091591906111a3565b90506109238183878a6106f9565b9695505050505050565b6003602052816000526040600020818154811061094957600080fd5b90600052602060002001600091509150505481565b6000818154811061096e57600080fd5b600091825260209091200154905081565b60004661a4b1811480610994575062066eed81145b15610a025760646001600160a01b031663a3b1b31d6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fc91906111ed565b91505090565b4391505090565b60075460ff1615610a5c5760405162461bcd60e51b815260206004820152601d60248201527f206661696c656420696e2066756c66696c6c52616e646f6d576f72647300000060448201526064016106e5565b65ffffffffffff831660009081526003602090815260409091208351610a8492850190610b4d565b5065ffffffffffff83166000908152600e6020526040812054610aa561097f565b610aaf9190611101565b90506000610ac082620f4240611206565b9050600a548211610ad357600a54610ad5565b815b600a55600b548210610ae957600b54610aeb565b815b600b55600d54610afb5780610b2e565b600d54610b099060016110e9565b81600d54600954610b1a9190611206565b610b2491906110e9565b610b2e91906111d9565b600955600d8054906000610b41836111c0565b91905055505050505050565b828054828255906000526020600020908101928215610b88579160200282015b82811115610b88578251825591602001919060010190610b6d565b50610b94929150610b98565b5090565b5b80821115610b945760008155600101610b99565b65ffffffffffff81168114610bc157600080fd5b50565b600060208284031215610bd657600080fd5b8135610be181610bad565b9392505050565b803567ffffffffffffffff81168114610c0057600080fd5b919050565b803561ffff81168114610c0057600080fd5b803562ffffff81168114610c0057600080fd5b803563ffffffff81168114610c0057600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610c7d57610c7d610c3e565b604052919050565b600082601f830112610c9657600080fd5b813567ffffffffffffffff811115610cb057610cb0610c3e565b610cc3601f8201601f1916602001610c54565b818152846020838601011115610cd857600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a08688031215610d0d57600080fd5b610d1686610be8565b9450610d2460208701610c05565b9350610d3260408701610c17565b9250610d4060608701610c2a565b9150608086013567ffffffffffffffff811115610d5c57600080fd5b610d6888828901610c85565b9150509295509295909350565b60008060008060008060c08789031215610d8e57600080fd5b610d9787610be8565b9550610da560208801610c05565b9450610db360408801610c17565b9350610dc160608801610c2a565b9250608087013567ffffffffffffffff811115610ddd57600080fd5b610de989828a01610c85565b92505060a087013590509295509295509295565b600067ffffffffffffffff821115610e1757610e17610c3e565b5060051b60200190565b600080600060608486031215610e3657600080fd5b8335610e4181610bad565b925060208481013567ffffffffffffffff80821115610e5f57600080fd5b818701915087601f830112610e7357600080fd5b8135610e86610e8182610dfd565b610c54565b81815260059190911b8301840190848101908a831115610ea557600080fd5b938501935b82851015610ec357843582529385019390850190610eaa565b965050506040870135925080831115610edb57600080fd5b5050610ee986828701610c85565b9150509250925092565b60008060408385031215610f0657600080fd5b82359150610f1660208401610c17565b90509250929050565b60008060008060808587031215610f3557600080fd5b8435610f4081610bad565b935060208501359250610f5560408601610c17565b9150610f6360608601610c05565b905092959194509250565b600080600060608486031215610f8357600080fd5b610f8c84610c05565b9250610f9a60208501610be8565b9150610fa860408501610c17565b90509250925092565b600060208284031215610fc357600080fd5b81358015158114610be157600080fd5b60008060408385031215610fe657600080fd5b8235610ff181610bad565b946020939093013593505050565b60006020828403121561101157600080fd5b5035919050565b6000602080838503121561102b57600080fd5b825167ffffffffffffffff81111561104257600080fd5b8301601f8101851361105357600080fd5b8051611061610e8182610dfd565b81815260059190911b8201830190838101908783111561108057600080fd5b928401925b8284101561109e57835182529284019290840190611085565b979650505050505050565b634e487b7160e01b600052601260045260246000fd5b6000826110ce576110ce6110a9565b500690565b634e487b7160e01b600052601160045260246000fd5b600082198211156110fc576110fc6110d3565b500190565b600082821015611113576111136110d3565b500390565b67ffffffffffffffff861681526000602061ffff87168184015262ffffff8616604084015263ffffffff8516606084015260a0608084015283518060a085015260005b818110156111775785810183015185820160c00152820161115b565b8181111561118957600060c083870101525b50601f01601f19169290920160c001979650505050505050565b6000602082840312156111b557600080fd5b8151610be181610bad565b6000600182016111d2576111d26110d3565b5060010190565b6000826111e8576111e86110a9565b500490565b6000602082840312156111ff57600080fd5b5051919050565b6000816000190483118215151615611220576112206110d3565b50029056fea164736f6c634300080f000a",
}

Functions

This section is empty.

Types

type LoadTestBeaconVRFConsumer

type LoadTestBeaconVRFConsumer struct {
	LoadTestBeaconVRFConsumerCaller
	LoadTestBeaconVRFConsumerTransactor
	LoadTestBeaconVRFConsumerFilterer
	// contains filtered or unexported fields
}

func DeployLoadTestBeaconVRFConsumer

func DeployLoadTestBeaconVRFConsumer(auth *bind.TransactOpts, backend bind.ContractBackend, coordinator common.Address, shouldFail bool, beaconPeriodBlocks *big.Int) (common.Address, *types.Transaction, *LoadTestBeaconVRFConsumer, error)

func NewLoadTestBeaconVRFConsumer

func NewLoadTestBeaconVRFConsumer(address common.Address, backend bind.ContractBackend) (*LoadTestBeaconVRFConsumer, error)

func (*LoadTestBeaconVRFConsumer) Address

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumer) Address() common.Address

type LoadTestBeaconVRFConsumerCaller

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

func NewLoadTestBeaconVRFConsumerCaller

func NewLoadTestBeaconVRFConsumerCaller(address common.Address, caller bind.ContractCaller) (*LoadTestBeaconVRFConsumerCaller, error)

func (*LoadTestBeaconVRFConsumerCaller) Fail

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCaller) Fail(opts *bind.CallOpts) (bool, error)

func (*LoadTestBeaconVRFConsumerCaller) IBeaconPeriodBlocks

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCaller) IBeaconPeriodBlocks(opts *bind.CallOpts) (*big.Int, error)

func (*LoadTestBeaconVRFConsumerCaller) NUMCONFDELAYS

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCaller) NUMCONFDELAYS(opts *bind.CallOpts) (uint8, error)

func (*LoadTestBeaconVRFConsumerCaller) SAverageFulfillmentInMillions

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCaller) SAverageFulfillmentInMillions(opts *bind.CallOpts) (*big.Int, error)

func (*LoadTestBeaconVRFConsumerCaller) SFastestFulfillment

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCaller) SFastestFulfillment(opts *bind.CallOpts) (*big.Int, error)

func (*LoadTestBeaconVRFConsumerCaller) SGasAvailable

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCaller) SGasAvailable(opts *bind.CallOpts) (*big.Int, error)

func (*LoadTestBeaconVRFConsumerCaller) SMyBeaconRequests

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCaller) SMyBeaconRequests(opts *bind.CallOpts, arg0 *big.Int) (SMyBeaconRequests,

	error)

func (*LoadTestBeaconVRFConsumerCaller) SRandomWords

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCaller) SRandomWords(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

func (*LoadTestBeaconVRFConsumerCaller) SReceivedRandomnessByRequestID

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCaller) SReceivedRandomnessByRequestID(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (*big.Int, error)

func (*LoadTestBeaconVRFConsumerCaller) SRequestOutputHeights

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCaller) SRequestOutputHeights(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

func (*LoadTestBeaconVRFConsumerCaller) SRequestsIDs

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCaller) SRequestsIDs(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (*big.Int, error)

func (*LoadTestBeaconVRFConsumerCaller) SSlowestFulfillment

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCaller) SSlowestFulfillment(opts *bind.CallOpts) (*big.Int, error)

func (*LoadTestBeaconVRFConsumerCaller) SSubId

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCaller) SSubId(opts *bind.CallOpts) (uint64, error)

func (*LoadTestBeaconVRFConsumerCaller) STotalFulfilled

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCaller) STotalFulfilled(opts *bind.CallOpts) (*big.Int, error)

func (*LoadTestBeaconVRFConsumerCaller) STotalRequests

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCaller) STotalRequests(opts *bind.CallOpts) (*big.Int, error)

type LoadTestBeaconVRFConsumerCallerRaw

type LoadTestBeaconVRFConsumerCallerRaw struct {
	Contract *LoadTestBeaconVRFConsumerCaller
}

func (*LoadTestBeaconVRFConsumerCallerRaw) Call

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

type LoadTestBeaconVRFConsumerCallerSession

type LoadTestBeaconVRFConsumerCallerSession struct {
	Contract *LoadTestBeaconVRFConsumerCaller
	CallOpts bind.CallOpts
}

func (*LoadTestBeaconVRFConsumerCallerSession) Fail

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCallerSession) Fail() (bool, error)

func (*LoadTestBeaconVRFConsumerCallerSession) IBeaconPeriodBlocks

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCallerSession) IBeaconPeriodBlocks() (*big.Int, error)

func (*LoadTestBeaconVRFConsumerCallerSession) NUMCONFDELAYS

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCallerSession) NUMCONFDELAYS() (uint8, error)

func (*LoadTestBeaconVRFConsumerCallerSession) SAverageFulfillmentInMillions

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCallerSession) SAverageFulfillmentInMillions() (*big.Int, error)

func (*LoadTestBeaconVRFConsumerCallerSession) SFastestFulfillment

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCallerSession) SFastestFulfillment() (*big.Int, error)

func (*LoadTestBeaconVRFConsumerCallerSession) SGasAvailable

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCallerSession) SGasAvailable() (*big.Int, error)

func (*LoadTestBeaconVRFConsumerCallerSession) SMyBeaconRequests

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCallerSession) SMyBeaconRequests(arg0 *big.Int) (SMyBeaconRequests,

	error)

func (*LoadTestBeaconVRFConsumerCallerSession) SRandomWords

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCallerSession) SRandomWords(arg0 *big.Int) (*big.Int, error)

func (*LoadTestBeaconVRFConsumerCallerSession) SReceivedRandomnessByRequestID

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCallerSession) SReceivedRandomnessByRequestID(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)

func (*LoadTestBeaconVRFConsumerCallerSession) SRequestOutputHeights

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCallerSession) SRequestOutputHeights(arg0 *big.Int) (*big.Int, error)

func (*LoadTestBeaconVRFConsumerCallerSession) SRequestsIDs

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCallerSession) SRequestsIDs(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)

func (*LoadTestBeaconVRFConsumerCallerSession) SSlowestFulfillment

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCallerSession) SSlowestFulfillment() (*big.Int, error)

func (*LoadTestBeaconVRFConsumerCallerSession) SSubId

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCallerSession) SSubId() (uint64, error)

func (*LoadTestBeaconVRFConsumerCallerSession) STotalFulfilled

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCallerSession) STotalFulfilled() (*big.Int, error)

func (*LoadTestBeaconVRFConsumerCallerSession) STotalRequests

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerCallerSession) STotalRequests() (*big.Int, error)

type LoadTestBeaconVRFConsumerFilterer

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

func NewLoadTestBeaconVRFConsumerFilterer

func NewLoadTestBeaconVRFConsumerFilterer(address common.Address, filterer bind.ContractFilterer) (*LoadTestBeaconVRFConsumerFilterer, error)

type LoadTestBeaconVRFConsumerInterface

type LoadTestBeaconVRFConsumerInterface 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)

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

	SFastestFulfillment(opts *bind.CallOpts) (*big.Int, 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)

	SRequestOutputHeights(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

	SRequestsIDs(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (*big.Int, error)

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

	SSubId(opts *bind.CallOpts) (uint64, error)

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

	STotalRequests(opts *bind.CallOpts) (*big.Int, 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)

	TestRequestRandomnessFulfillmentBatch(opts *bind.TransactOpts, subID uint64, numWords uint16, confirmationDelayArg *big.Int, callbackGasLimit uint32, arguments []byte, batchSize *big.Int) (*types.Transaction, error)

	Address() common.Address
}

type LoadTestBeaconVRFConsumerRaw

type LoadTestBeaconVRFConsumerRaw struct {
	Contract *LoadTestBeaconVRFConsumer
}

func (*LoadTestBeaconVRFConsumerRaw) Call

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

func (*LoadTestBeaconVRFConsumerRaw) Transact

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

func (*LoadTestBeaconVRFConsumerRaw) Transfer

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type LoadTestBeaconVRFConsumerSession

type LoadTestBeaconVRFConsumerSession struct {
	Contract     *LoadTestBeaconVRFConsumer
	CallOpts     bind.CallOpts
	TransactOpts bind.TransactOpts
}

func (*LoadTestBeaconVRFConsumerSession) Fail

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerSession) Fail() (bool, error)

func (*LoadTestBeaconVRFConsumerSession) IBeaconPeriodBlocks

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerSession) IBeaconPeriodBlocks() (*big.Int, error)

func (*LoadTestBeaconVRFConsumerSession) NUMCONFDELAYS

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerSession) NUMCONFDELAYS() (uint8, error)

func (*LoadTestBeaconVRFConsumerSession) RawFulfillRandomWords

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerSession) RawFulfillRandomWords(requestID *big.Int, randomWords []*big.Int, arguments []byte) (*types.Transaction, error)

func (*LoadTestBeaconVRFConsumerSession) SAverageFulfillmentInMillions

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerSession) SAverageFulfillmentInMillions() (*big.Int, error)

func (*LoadTestBeaconVRFConsumerSession) SFastestFulfillment

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerSession) SFastestFulfillment() (*big.Int, error)

func (*LoadTestBeaconVRFConsumerSession) SGasAvailable

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerSession) SGasAvailable() (*big.Int, error)

func (*LoadTestBeaconVRFConsumerSession) SMyBeaconRequests

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerSession) SMyBeaconRequests(arg0 *big.Int) (SMyBeaconRequests,

	error)

func (*LoadTestBeaconVRFConsumerSession) SRandomWords

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerSession) SRandomWords(arg0 *big.Int) (*big.Int, error)

func (*LoadTestBeaconVRFConsumerSession) SReceivedRandomnessByRequestID

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerSession) SReceivedRandomnessByRequestID(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)

func (*LoadTestBeaconVRFConsumerSession) SRequestOutputHeights

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerSession) SRequestOutputHeights(arg0 *big.Int) (*big.Int, error)

func (*LoadTestBeaconVRFConsumerSession) SRequestsIDs

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerSession) SRequestsIDs(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)

func (*LoadTestBeaconVRFConsumerSession) SSlowestFulfillment

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerSession) SSlowestFulfillment() (*big.Int, error)

func (*LoadTestBeaconVRFConsumerSession) SSubId

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerSession) SSubId() (uint64, error)

func (*LoadTestBeaconVRFConsumerSession) STotalFulfilled

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerSession) STotalFulfilled() (*big.Int, error)

func (*LoadTestBeaconVRFConsumerSession) STotalRequests

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerSession) STotalRequests() (*big.Int, error)

func (*LoadTestBeaconVRFConsumerSession) SetFail

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerSession) SetFail(shouldFail bool) (*types.Transaction, error)

func (*LoadTestBeaconVRFConsumerSession) StoreBeaconRequest

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerSession) StoreBeaconRequest(reqId *big.Int, height *big.Int, delay *big.Int, numWords uint16) (*types.Transaction, error)

func (*LoadTestBeaconVRFConsumerSession) TestRedeemRandomness

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerSession) TestRedeemRandomness(requestID *big.Int) (*types.Transaction, error)

func (*LoadTestBeaconVRFConsumerSession) TestRequestRandomness

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerSession) TestRequestRandomness(numWords uint16, subID uint64, confirmationDelayArg *big.Int) (*types.Transaction, error)

func (*LoadTestBeaconVRFConsumerSession) TestRequestRandomnessFulfillment

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerSession) TestRequestRandomnessFulfillment(subID uint64, numWords uint16, confirmationDelayArg *big.Int, callbackGasLimit uint32, arguments []byte) (*types.Transaction, error)

func (*LoadTestBeaconVRFConsumerSession) TestRequestRandomnessFulfillmentBatch

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerSession) TestRequestRandomnessFulfillmentBatch(subID uint64, numWords uint16, confirmationDelayArg *big.Int, callbackGasLimit uint32, arguments []byte, batchSize *big.Int) (*types.Transaction, error)

type LoadTestBeaconVRFConsumerTransactor

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

func NewLoadTestBeaconVRFConsumerTransactor

func NewLoadTestBeaconVRFConsumerTransactor(address common.Address, transactor bind.ContractTransactor) (*LoadTestBeaconVRFConsumerTransactor, error)

func (*LoadTestBeaconVRFConsumerTransactor) RawFulfillRandomWords

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerTransactor) RawFulfillRandomWords(opts *bind.TransactOpts, requestID *big.Int, randomWords []*big.Int, arguments []byte) (*types.Transaction, error)

func (*LoadTestBeaconVRFConsumerTransactor) SetFail

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerTransactor) SetFail(opts *bind.TransactOpts, shouldFail bool) (*types.Transaction, error)

func (*LoadTestBeaconVRFConsumerTransactor) StoreBeaconRequest

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerTransactor) StoreBeaconRequest(opts *bind.TransactOpts, reqId *big.Int, height *big.Int, delay *big.Int, numWords uint16) (*types.Transaction, error)

func (*LoadTestBeaconVRFConsumerTransactor) TestRedeemRandomness

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerTransactor) TestRedeemRandomness(opts *bind.TransactOpts, requestID *big.Int) (*types.Transaction, error)

func (*LoadTestBeaconVRFConsumerTransactor) TestRequestRandomness

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerTransactor) TestRequestRandomness(opts *bind.TransactOpts, numWords uint16, subID uint64, confirmationDelayArg *big.Int) (*types.Transaction, error)

func (*LoadTestBeaconVRFConsumerTransactor) TestRequestRandomnessFulfillment

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerTransactor) TestRequestRandomnessFulfillment(opts *bind.TransactOpts, subID uint64, numWords uint16, confirmationDelayArg *big.Int, callbackGasLimit uint32, arguments []byte) (*types.Transaction, error)

func (*LoadTestBeaconVRFConsumerTransactor) TestRequestRandomnessFulfillmentBatch

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerTransactor) TestRequestRandomnessFulfillmentBatch(opts *bind.TransactOpts, subID uint64, numWords uint16, confirmationDelayArg *big.Int, callbackGasLimit uint32, arguments []byte, batchSize *big.Int) (*types.Transaction, error)

type LoadTestBeaconVRFConsumerTransactorRaw

type LoadTestBeaconVRFConsumerTransactorRaw struct {
	Contract *LoadTestBeaconVRFConsumerTransactor
}

func (*LoadTestBeaconVRFConsumerTransactorRaw) Transact

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

func (*LoadTestBeaconVRFConsumerTransactorRaw) Transfer

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type LoadTestBeaconVRFConsumerTransactorSession

type LoadTestBeaconVRFConsumerTransactorSession struct {
	Contract     *LoadTestBeaconVRFConsumerTransactor
	TransactOpts bind.TransactOpts
}

func (*LoadTestBeaconVRFConsumerTransactorSession) RawFulfillRandomWords

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerTransactorSession) RawFulfillRandomWords(requestID *big.Int, randomWords []*big.Int, arguments []byte) (*types.Transaction, error)

func (*LoadTestBeaconVRFConsumerTransactorSession) SetFail

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerTransactorSession) SetFail(shouldFail bool) (*types.Transaction, error)

func (*LoadTestBeaconVRFConsumerTransactorSession) StoreBeaconRequest

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerTransactorSession) StoreBeaconRequest(reqId *big.Int, height *big.Int, delay *big.Int, numWords uint16) (*types.Transaction, error)

func (*LoadTestBeaconVRFConsumerTransactorSession) TestRedeemRandomness

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerTransactorSession) TestRedeemRandomness(requestID *big.Int) (*types.Transaction, error)

func (*LoadTestBeaconVRFConsumerTransactorSession) TestRequestRandomness

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerTransactorSession) TestRequestRandomness(numWords uint16, subID uint64, confirmationDelayArg *big.Int) (*types.Transaction, error)

func (*LoadTestBeaconVRFConsumerTransactorSession) TestRequestRandomnessFulfillment

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerTransactorSession) TestRequestRandomnessFulfillment(subID uint64, numWords uint16, confirmationDelayArg *big.Int, callbackGasLimit uint32, arguments []byte) (*types.Transaction, error)

func (*LoadTestBeaconVRFConsumerTransactorSession) TestRequestRandomnessFulfillmentBatch

func (_LoadTestBeaconVRFConsumer *LoadTestBeaconVRFConsumerTransactorSession) TestRequestRandomnessFulfillmentBatch(subID uint64, numWords uint16, confirmationDelayArg *big.Int, callbackGasLimit uint32, arguments []byte, batchSize *big.Int) (*types.Transaction, error)

type SMyBeaconRequests

type SMyBeaconRequests struct {
	SlotNumber        uint32
	ConfirmationDelay *big.Int
	NumWords          uint16
	Requester         common.Address
}

Jump to

Keyboard shortcuts

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