solidity_vrf_request_id

package
v2.2.0-rc0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var VRFRequestIDBaseTestHelperABI = VRFRequestIDBaseTestHelperMetaData.ABI
View Source
var VRFRequestIDBaseTestHelperBin = VRFRequestIDBaseTestHelperMetaData.Bin
View Source
var VRFRequestIDBaseTestHelperMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_keyHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_vRFInputSeed\",\"type\":\"uint256\"}],\"name\":\"makeRequestId_\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_keyHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_userSeed\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_nonce\",\"type\":\"uint256\"}],\"name\":\"makeVRFInputSeed_\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b5061016c806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806337ab429a1461003b578063bda087ae14610092575b600080fd5b6100806004803603608081101561005157600080fd5b5080359060208101359073ffffffffffffffffffffffffffffffffffffffff60408201351690606001356100b5565b60408051918252519081900360200190f35b610080600480360360408110156100a857600080fd5b50803590602001356100cc565b60006100c3858585856100df565b95945050505050565b60006100d88383610133565b9392505050565b604080516020808201969096528082019490945273ffffffffffffffffffffffffffffffffffffffff9290921660608401526080808401919091528151808403909101815260a09092019052805191012090565b60408051602080820194909452808201929092528051808303820181526060909201905280519101209056fea164736f6c6343000606000a",
}

Functions

This section is empty.

Types

type VRFRequestIDBaseTestHelper

type VRFRequestIDBaseTestHelper struct {
	VRFRequestIDBaseTestHelperCaller
	VRFRequestIDBaseTestHelperTransactor
	VRFRequestIDBaseTestHelperFilterer
	// contains filtered or unexported fields
}

func NewVRFRequestIDBaseTestHelper

func NewVRFRequestIDBaseTestHelper(address common.Address, backend bind.ContractBackend) (*VRFRequestIDBaseTestHelper, error)

func (*VRFRequestIDBaseTestHelper) Address

func (_VRFRequestIDBaseTestHelper *VRFRequestIDBaseTestHelper) Address() common.Address

type VRFRequestIDBaseTestHelperCaller

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

func NewVRFRequestIDBaseTestHelperCaller

func NewVRFRequestIDBaseTestHelperCaller(address common.Address, caller bind.ContractCaller) (*VRFRequestIDBaseTestHelperCaller, error)

func (*VRFRequestIDBaseTestHelperCaller) MakeRequestId

func (_VRFRequestIDBaseTestHelper *VRFRequestIDBaseTestHelperCaller) MakeRequestId(opts *bind.CallOpts, _keyHash [32]byte, _vRFInputSeed *big.Int) ([32]byte, error)

func (*VRFRequestIDBaseTestHelperCaller) MakeVRFInputSeed

func (_VRFRequestIDBaseTestHelper *VRFRequestIDBaseTestHelperCaller) MakeVRFInputSeed(opts *bind.CallOpts, _keyHash [32]byte, _userSeed *big.Int, _requester common.Address, _nonce *big.Int) (*big.Int, error)

type VRFRequestIDBaseTestHelperCallerRaw

type VRFRequestIDBaseTestHelperCallerRaw struct {
	Contract *VRFRequestIDBaseTestHelperCaller
}

func (*VRFRequestIDBaseTestHelperCallerRaw) Call

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

type VRFRequestIDBaseTestHelperCallerSession

type VRFRequestIDBaseTestHelperCallerSession struct {
	Contract *VRFRequestIDBaseTestHelperCaller
	CallOpts bind.CallOpts
}

func (*VRFRequestIDBaseTestHelperCallerSession) MakeRequestId

func (_VRFRequestIDBaseTestHelper *VRFRequestIDBaseTestHelperCallerSession) MakeRequestId(_keyHash [32]byte, _vRFInputSeed *big.Int) ([32]byte, error)

func (*VRFRequestIDBaseTestHelperCallerSession) MakeVRFInputSeed

func (_VRFRequestIDBaseTestHelper *VRFRequestIDBaseTestHelperCallerSession) MakeVRFInputSeed(_keyHash [32]byte, _userSeed *big.Int, _requester common.Address, _nonce *big.Int) (*big.Int, error)

type VRFRequestIDBaseTestHelperFilterer

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

func NewVRFRequestIDBaseTestHelperFilterer

func NewVRFRequestIDBaseTestHelperFilterer(address common.Address, filterer bind.ContractFilterer) (*VRFRequestIDBaseTestHelperFilterer, error)

type VRFRequestIDBaseTestHelperInterface

type VRFRequestIDBaseTestHelperInterface interface {
	MakeRequestId(opts *bind.CallOpts, _keyHash [32]byte, _vRFInputSeed *big.Int) ([32]byte, error)

	MakeVRFInputSeed(opts *bind.CallOpts, _keyHash [32]byte, _userSeed *big.Int, _requester common.Address, _nonce *big.Int) (*big.Int, error)

	Address() common.Address
}

type VRFRequestIDBaseTestHelperRaw

type VRFRequestIDBaseTestHelperRaw struct {
	Contract *VRFRequestIDBaseTestHelper
}

func (*VRFRequestIDBaseTestHelperRaw) Call

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

func (*VRFRequestIDBaseTestHelperRaw) Transact

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

func (*VRFRequestIDBaseTestHelperRaw) Transfer

func (_VRFRequestIDBaseTestHelper *VRFRequestIDBaseTestHelperRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type VRFRequestIDBaseTestHelperSession

type VRFRequestIDBaseTestHelperSession struct {
	Contract     *VRFRequestIDBaseTestHelper
	CallOpts     bind.CallOpts
	TransactOpts bind.TransactOpts
}

func (*VRFRequestIDBaseTestHelperSession) MakeRequestId

func (_VRFRequestIDBaseTestHelper *VRFRequestIDBaseTestHelperSession) MakeRequestId(_keyHash [32]byte, _vRFInputSeed *big.Int) ([32]byte, error)

func (*VRFRequestIDBaseTestHelperSession) MakeVRFInputSeed

func (_VRFRequestIDBaseTestHelper *VRFRequestIDBaseTestHelperSession) MakeVRFInputSeed(_keyHash [32]byte, _userSeed *big.Int, _requester common.Address, _nonce *big.Int) (*big.Int, error)

type VRFRequestIDBaseTestHelperTransactor

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

func NewVRFRequestIDBaseTestHelperTransactor

func NewVRFRequestIDBaseTestHelperTransactor(address common.Address, transactor bind.ContractTransactor) (*VRFRequestIDBaseTestHelperTransactor, error)

type VRFRequestIDBaseTestHelperTransactorRaw

type VRFRequestIDBaseTestHelperTransactorRaw struct {
	Contract *VRFRequestIDBaseTestHelperTransactor
}

func (*VRFRequestIDBaseTestHelperTransactorRaw) Transact

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

func (*VRFRequestIDBaseTestHelperTransactorRaw) Transfer

func (_VRFRequestIDBaseTestHelper *VRFRequestIDBaseTestHelperTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type VRFRequestIDBaseTestHelperTransactorSession

type VRFRequestIDBaseTestHelperTransactorSession struct {
	Contract     *VRFRequestIDBaseTestHelperTransactor
	TransactOpts bind.TransactOpts
}

Jump to

Keyboard shortcuts

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