vrfv2_wrapper_interface

package
v2.2.1-clf-20230620 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var VRFV2WrapperInterfaceABI = VRFV2WrapperInterfaceMetaData.ABI
View Source
var VRFV2WrapperInterfaceMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_callbackGasLimit\",\"type\":\"uint32\"}],\"name\":\"calculateRequestPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_callbackGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"_requestGasPriceWei\",\"type\":\"uint256\"}],\"name\":\"estimateRequestPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastRequestId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

Functions

This section is empty.

Types

type VRFV2WrapperInterface

type VRFV2WrapperInterface struct {
	VRFV2WrapperInterfaceCaller
	VRFV2WrapperInterfaceTransactor
	VRFV2WrapperInterfaceFilterer
	// contains filtered or unexported fields
}

func NewVRFV2WrapperInterface

func NewVRFV2WrapperInterface(address common.Address, backend bind.ContractBackend) (*VRFV2WrapperInterface, error)

func (*VRFV2WrapperInterface) Address

func (_VRFV2WrapperInterface *VRFV2WrapperInterface) Address() common.Address

type VRFV2WrapperInterfaceCaller

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

func NewVRFV2WrapperInterfaceCaller

func NewVRFV2WrapperInterfaceCaller(address common.Address, caller bind.ContractCaller) (*VRFV2WrapperInterfaceCaller, error)

func (*VRFV2WrapperInterfaceCaller) CalculateRequestPrice

func (_VRFV2WrapperInterface *VRFV2WrapperInterfaceCaller) CalculateRequestPrice(opts *bind.CallOpts, _callbackGasLimit uint32) (*big.Int, error)

func (*VRFV2WrapperInterfaceCaller) EstimateRequestPrice

func (_VRFV2WrapperInterface *VRFV2WrapperInterfaceCaller) EstimateRequestPrice(opts *bind.CallOpts, _callbackGasLimit uint32, _requestGasPriceWei *big.Int) (*big.Int, error)

func (*VRFV2WrapperInterfaceCaller) LastRequestId

func (_VRFV2WrapperInterface *VRFV2WrapperInterfaceCaller) LastRequestId(opts *bind.CallOpts) (*big.Int, error)

type VRFV2WrapperInterfaceCallerRaw

type VRFV2WrapperInterfaceCallerRaw struct {
	Contract *VRFV2WrapperInterfaceCaller
}

func (*VRFV2WrapperInterfaceCallerRaw) Call

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

type VRFV2WrapperInterfaceCallerSession

type VRFV2WrapperInterfaceCallerSession struct {
	Contract *VRFV2WrapperInterfaceCaller
	CallOpts bind.CallOpts
}

func (*VRFV2WrapperInterfaceCallerSession) CalculateRequestPrice

func (_VRFV2WrapperInterface *VRFV2WrapperInterfaceCallerSession) CalculateRequestPrice(_callbackGasLimit uint32) (*big.Int, error)

func (*VRFV2WrapperInterfaceCallerSession) EstimateRequestPrice

func (_VRFV2WrapperInterface *VRFV2WrapperInterfaceCallerSession) EstimateRequestPrice(_callbackGasLimit uint32, _requestGasPriceWei *big.Int) (*big.Int, error)

func (*VRFV2WrapperInterfaceCallerSession) LastRequestId

func (_VRFV2WrapperInterface *VRFV2WrapperInterfaceCallerSession) LastRequestId() (*big.Int, error)

type VRFV2WrapperInterfaceFilterer

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

func NewVRFV2WrapperInterfaceFilterer

func NewVRFV2WrapperInterfaceFilterer(address common.Address, filterer bind.ContractFilterer) (*VRFV2WrapperInterfaceFilterer, error)

type VRFV2WrapperInterfaceInterface

type VRFV2WrapperInterfaceInterface interface {
	CalculateRequestPrice(opts *bind.CallOpts, _callbackGasLimit uint32) (*big.Int, error)

	EstimateRequestPrice(opts *bind.CallOpts, _callbackGasLimit uint32, _requestGasPriceWei *big.Int) (*big.Int, error)

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

	Address() common.Address
}

type VRFV2WrapperInterfaceRaw

type VRFV2WrapperInterfaceRaw struct {
	Contract *VRFV2WrapperInterface
}

func (*VRFV2WrapperInterfaceRaw) Call

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

func (*VRFV2WrapperInterfaceRaw) Transact

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

func (*VRFV2WrapperInterfaceRaw) Transfer

func (_VRFV2WrapperInterface *VRFV2WrapperInterfaceRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type VRFV2WrapperInterfaceSession

type VRFV2WrapperInterfaceSession struct {
	Contract     *VRFV2WrapperInterface
	CallOpts     bind.CallOpts
	TransactOpts bind.TransactOpts
}

func (*VRFV2WrapperInterfaceSession) CalculateRequestPrice

func (_VRFV2WrapperInterface *VRFV2WrapperInterfaceSession) CalculateRequestPrice(_callbackGasLimit uint32) (*big.Int, error)

func (*VRFV2WrapperInterfaceSession) EstimateRequestPrice

func (_VRFV2WrapperInterface *VRFV2WrapperInterfaceSession) EstimateRequestPrice(_callbackGasLimit uint32, _requestGasPriceWei *big.Int) (*big.Int, error)

func (*VRFV2WrapperInterfaceSession) LastRequestId

func (_VRFV2WrapperInterface *VRFV2WrapperInterfaceSession) LastRequestId() (*big.Int, error)

type VRFV2WrapperInterfaceTransactor

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

func NewVRFV2WrapperInterfaceTransactor

func NewVRFV2WrapperInterfaceTransactor(address common.Address, transactor bind.ContractTransactor) (*VRFV2WrapperInterfaceTransactor, error)

type VRFV2WrapperInterfaceTransactorRaw

type VRFV2WrapperInterfaceTransactorRaw struct {
	Contract *VRFV2WrapperInterfaceTransactor
}

func (*VRFV2WrapperInterfaceTransactorRaw) Transact

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

func (*VRFV2WrapperInterfaceTransactorRaw) Transfer

func (_VRFV2WrapperInterface *VRFV2WrapperInterfaceTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type VRFV2WrapperInterfaceTransactorSession

type VRFV2WrapperInterfaceTransactorSession struct {
	Contract     *VRFV2WrapperInterfaceTransactor
	TransactOpts bind.TransactOpts
}

Jump to

Keyboard shortcuts

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