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) 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) 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 BeaconVRFConsumerFilterer
- type BeaconVRFConsumerInterface
- 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) RawFulfillRandomWords(requestID *big.Int, randomWords []*big.Int, arguments []byte) (*types.Transaction, 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
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\"},{\"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_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: "0x60a060405234801561001057600080fd5b50604051610eb4380380610eb483398101604081905261002f9161006c565b6001600160a01b03929092166080819052600480546001600160a01b03191690911790556007805460ff19169115159190911790556008556100c0565b60008060006060848603121561008157600080fd5b83516001600160a01b038116811461009857600080fd5b602085015190935080151581146100ae57600080fd5b80925050604084015190509250925092565b608051610dd96100db60003960006104620152610dd96000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80639c9cd0151161008c578063cd0593df11610066578063cd0593df146102a0578063f08c5daa146102b7578063f339c794146102c0578063f6eaffc8146102d357600080fd5b80639c9cd0151461024f5780639d76940214610262578063a9cc47181461028357600080fd5b80635a47dd71116100c85780635a47dd71146101c25780635f15cccc146101d55780636d162a3e14610208578063706da1ca1461021b57600080fd5b806319a5fa22146100ef5780633d8b70aa146101835780634590762614610198575b600080fd5b6101416100fd366004610824565b60026020526000908152604090205463ffffffff811690640100000000810462ffffff1690600160381b810461ffff1690600160481b90046001600160a01b031684565b6040805163ffffffff909516855262ffffff909316602085015261ffff909116918301919091526001600160a01b031660608201526080015b60405180910390f35b610196610191366004610824565b6102e6565b005b6101ab6101a6366004610941565b610398565b60405165ffffffffffff909116815260200161017a565b6101966101d03660046109f0565b610460565b6101ab6101e3366004610ac2565b600160209081526000928352604080842090915290825290205465ffffffffffff1681565b610196610216366004610aee565b6104e8565b60055461023690600160a01b900467ffffffffffffffff1681565b60405167ffffffffffffffff909116815260200161017a565b6101ab61025d366004610b3d565b610600565b610196610270366004610b80565b6007805460ff1916911515919091179055565b6007546102909060ff1681565b604051901515815260200161017a565b6102a960085481565b60405190815260200161017a565b6102a960065481565b6102a96102ce366004610ba2565b6106da565b6102a96102e1366004610bce565b61070b565b600480546040516374d8461160e01b815265ffffffffffff8416928101929092526000916001600160a01b03909116906374d84611906024016000604051808303816000875af115801561033e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103669190810190610be7565b65ffffffffffff8316600090815260036020908152604090912082519293506103939290918401906107ad565b505050565b600080600854436103a99190610c8e565b9050600081600854436103bc9190610cb8565b6103c69190610cd0565b6004805460405163f645dcb160e01b81529293506000926001600160a01b039091169163f645dcb191610403918d918d918d918d918d9101610ce7565b6020604051808303816000875af1158015610422573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104469190610d72565b90506104548183898b6104e8565b98975050505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633146104dd5760405162461bcd60e51b815260206004820152601c60248201527f6f6e6c7920636f6f7264696e61746f722063616e2066756c66696c6c0000000060448201526064015b60405180910390fd5b61039383838361072c565b600083815260016020908152604080832062ffffff861684529091528120805465ffffffffffff191665ffffffffffff871617905560085461052a9085610d8f565b6040805160808101825263ffffffff928316815262ffffff958616602080830191825261ffff968716838501908152306060850190815265ffffffffffff909b1660009081526002909252939020915182549151935199516001600160a01b0316600160481b027fffffff0000000000000000000000000000000000000000ffffffffffffffffff9a909716600160381b0299909916670100000000000000600160e81b0319939097166401000000000266ffffffffffffff199091169890931697909717919091171692909217179092555050565b600080600854436106119190610c8e565b9050600081600854436106249190610cb8565b61062e9190610cd0565b6004805460405163dc92accf60e01b815261ffff8a169281019290925267ffffffffffffffff8816602483015262ffffff871660448301529192506000916001600160a01b03169063dc92accf906064016020604051808303816000875af115801561069e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c29190610d72565b90506106d08183878a6104e8565b9695505050505050565b600360205281600052604060002081815481106106f657600080fd5b90600052602060002001600091509150505481565b6000818154811061071b57600080fd5b600091825260209091200154905081565b60075460ff161561077f5760405162461bcd60e51b815260206004820152601d60248201527f206661696c656420696e2066756c66696c6c52616e646f6d576f72647300000060448201526064016104d4565b65ffffffffffff8316600090815260036020908152604090912083516107a7928501906107ad565b50505050565b8280548282559060005260206000209081019282156107e8579160200282015b828111156107e85782518255916020019190600101906107cd565b506107f49291506107f8565b5090565b5b808211156107f457600081556001016107f9565b65ffffffffffff8116811461082157600080fd5b50565b60006020828403121561083657600080fd5b81356108418161080d565b9392505050565b803567ffffffffffffffff8116811461086057600080fd5b919050565b803561ffff8116811461086057600080fd5b803562ffffff8116811461086057600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156108c9576108c961088a565b604052919050565b600082601f8301126108e257600080fd5b813567ffffffffffffffff8111156108fc576108fc61088a565b61090f601f8201601f19166020016108a0565b81815284602083860101111561092457600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a0868803121561095957600080fd5b61096286610848565b945061097060208701610865565b935061097e60408701610877565b9250606086013563ffffffff8116811461099757600080fd5b9150608086013567ffffffffffffffff8111156109b357600080fd5b6109bf888289016108d1565b9150509295509295909350565b600067ffffffffffffffff8211156109e6576109e661088a565b5060051b60200190565b600080600060608486031215610a0557600080fd5b8335610a108161080d565b925060208481013567ffffffffffffffff80821115610a2e57600080fd5b818701915087601f830112610a4257600080fd5b8135610a55610a50826109cc565b6108a0565b81815260059190911b8301840190848101908a831115610a7457600080fd5b938501935b82851015610a9257843582529385019390850190610a79565b965050506040870135925080831115610aaa57600080fd5b5050610ab8868287016108d1565b9150509250925092565b60008060408385031215610ad557600080fd5b82359150610ae560208401610877565b90509250929050565b60008060008060808587031215610b0457600080fd5b8435610b0f8161080d565b935060208501359250610b2460408601610877565b9150610b3260608601610865565b905092959194509250565b600080600060608486031215610b5257600080fd5b610b5b84610865565b9250610b6960208501610848565b9150610b7760408501610877565b90509250925092565b600060208284031215610b9257600080fd5b8135801515811461084157600080fd5b60008060408385031215610bb557600080fd5b8235610bc08161080d565b946020939093013593505050565b600060208284031215610be057600080fd5b5035919050565b60006020808385031215610bfa57600080fd5b825167ffffffffffffffff811115610c1157600080fd5b8301601f81018513610c2257600080fd5b8051610c30610a50826109cc565b81815260059190911b82018301908381019087831115610c4f57600080fd5b928401925b82841015610c6d57835182529284019290840190610c54565b979650505050505050565b634e487b7160e01b600052601260045260246000fd5b600082610c9d57610c9d610c78565b500690565b634e487b7160e01b600052601160045260246000fd5b60008219821115610ccb57610ccb610ca2565b500190565b600082821015610ce257610ce2610ca2565b500390565b67ffffffffffffffff861681526000602061ffff87168184015262ffffff8616604084015263ffffffff8516606084015260a0608084015283518060a085015260005b81811015610d465785810183015185820160c001528201610d2a565b81811115610d5857600060c083870101525b50601f01601f19169290920160c001979650505050505050565b600060208284031215610d8457600080fd5b81516108418161080d565b600082610d9e57610d9e610c78565b50049056fea2646970667358221220337f0448404b7409913a71cef8b810eca203138e4313094991a457fcf5a3a1d664736f6c634300080f0033",
}
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) 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) 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 BeaconVRFConsumerFilterer ¶
type BeaconVRFConsumerFilterer struct {
// contains filtered or unexported fields
}
func NewBeaconVRFConsumerFilterer ¶
func NewBeaconVRFConsumerFilterer(address common.Address, filterer bind.ContractFilterer) (*BeaconVRFConsumerFilterer, error)
type BeaconVRFConsumerInterface ¶
type BeaconVRFConsumerInterface interface { 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) 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) Address() common.Address }
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) RawFulfillRandomWords ¶
func (_BeaconVRFConsumer *BeaconVRFConsumerSession) RawFulfillRandomWords(requestID *big.Int, randomWords []*big.Int, arguments []byte) (*types.Transaction, 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)
Click to show internal directories.
Click to hide internal directories.