vrf_testnet_d20

package
v2.8.1-mercury-2023121... Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const VRFTestnetD20ABI = "" /* 1487-byte string literal not displayed */

VRFTestnetD20ABI is the input ABI used to generate the binding from.

Variables

View Source
var VRFTestnetD20Bin = "" /* 4152-byte string literal not displayed */

VRFTestnetD20Bin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type VRFTestnetD20

type VRFTestnetD20 struct {
	VRFTestnetD20Caller     // Read-only binding to the contract
	VRFTestnetD20Transactor // Write-only binding to the contract
	VRFTestnetD20Filterer   // Log filterer for contract events
}

VRFTestnetD20 is an auto generated Go binding around an Ethereum contract.

func DeployVRFTestnetD20

func DeployVRFTestnetD20(auth *bind.TransactOpts, backend bind.ContractBackend, _vrfCoordinator common.Address, _link common.Address, _keyHash [32]byte) (common.Address, *types.Transaction, *VRFTestnetD20, error)

DeployVRFTestnetD20 deploys a new Ethereum contract, binding an instance of VRFTestnetD20 to it.

func NewVRFTestnetD20

func NewVRFTestnetD20(address common.Address, backend bind.ContractBackend) (*VRFTestnetD20, error)

NewVRFTestnetD20 creates a new instance of VRFTestnetD20, bound to a specific deployed contract.

type VRFTestnetD20Caller

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

VRFTestnetD20Caller is an auto generated read-only Go binding around an Ethereum contract.

func NewVRFTestnetD20Caller

func NewVRFTestnetD20Caller(address common.Address, caller bind.ContractCaller) (*VRFTestnetD20Caller, error)

NewVRFTestnetD20Caller creates a new read-only instance of VRFTestnetD20, bound to a specific deployed contract.

func (*VRFTestnetD20Caller) D20Results

func (_VRFTestnetD20 *VRFTestnetD20Caller) D20Results(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

D20Results is a free data retrieval call binding the contract method 0x4ab5fc50.

Solidity: function d20Results(uint256 ) view returns(uint256)

func (*VRFTestnetD20Caller) LatestRoll

func (_VRFTestnetD20 *VRFTestnetD20Caller) LatestRoll(opts *bind.CallOpts) (*big.Int, error)

LatestRoll is a free data retrieval call binding the contract method 0xae383a4d.

Solidity: function latestRoll() view returns(uint256 d20result)

func (*VRFTestnetD20Caller) Nonces

func (_VRFTestnetD20 *VRFTestnetD20Caller) Nonces(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x9e317f12.

Solidity: function nonces(bytes32 ) view returns(uint256)

type VRFTestnetD20CallerRaw

type VRFTestnetD20CallerRaw struct {
	Contract *VRFTestnetD20Caller // Generic read-only contract binding to access the raw methods on
}

VRFTestnetD20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*VRFTestnetD20CallerRaw) Call

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

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type VRFTestnetD20CallerSession

type VRFTestnetD20CallerSession struct {
	Contract *VRFTestnetD20Caller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts        // Call options to use throughout this session
}

VRFTestnetD20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*VRFTestnetD20CallerSession) D20Results

func (_VRFTestnetD20 *VRFTestnetD20CallerSession) D20Results(arg0 *big.Int) (*big.Int, error)

D20Results is a free data retrieval call binding the contract method 0x4ab5fc50.

Solidity: function d20Results(uint256 ) view returns(uint256)

func (*VRFTestnetD20CallerSession) LatestRoll

func (_VRFTestnetD20 *VRFTestnetD20CallerSession) LatestRoll() (*big.Int, error)

LatestRoll is a free data retrieval call binding the contract method 0xae383a4d.

Solidity: function latestRoll() view returns(uint256 d20result)

func (*VRFTestnetD20CallerSession) Nonces

func (_VRFTestnetD20 *VRFTestnetD20CallerSession) Nonces(arg0 [32]byte) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x9e317f12.

Solidity: function nonces(bytes32 ) view returns(uint256)

type VRFTestnetD20Filterer

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

VRFTestnetD20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewVRFTestnetD20Filterer

func NewVRFTestnetD20Filterer(address common.Address, filterer bind.ContractFilterer) (*VRFTestnetD20Filterer, error)

NewVRFTestnetD20Filterer creates a new log filterer instance of VRFTestnetD20, bound to a specific deployed contract.

type VRFTestnetD20Raw

type VRFTestnetD20Raw struct {
	Contract *VRFTestnetD20 // Generic contract binding to access the raw methods on
}

VRFTestnetD20Raw is an auto generated low-level Go binding around an Ethereum contract.

func (*VRFTestnetD20Raw) Call

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

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*VRFTestnetD20Raw) Transact

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

Transact invokes the (paid) contract method with params as input values.

func (*VRFTestnetD20Raw) Transfer

func (_VRFTestnetD20 *VRFTestnetD20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type VRFTestnetD20Session

type VRFTestnetD20Session struct {
	Contract     *VRFTestnetD20    // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

VRFTestnetD20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*VRFTestnetD20Session) D20Results

func (_VRFTestnetD20 *VRFTestnetD20Session) D20Results(arg0 *big.Int) (*big.Int, error)

D20Results is a free data retrieval call binding the contract method 0x4ab5fc50.

Solidity: function d20Results(uint256 ) view returns(uint256)

func (*VRFTestnetD20Session) LatestRoll

func (_VRFTestnetD20 *VRFTestnetD20Session) LatestRoll() (*big.Int, error)

LatestRoll is a free data retrieval call binding the contract method 0xae383a4d.

Solidity: function latestRoll() view returns(uint256 d20result)

func (*VRFTestnetD20Session) Nonces

func (_VRFTestnetD20 *VRFTestnetD20Session) Nonces(arg0 [32]byte) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x9e317f12.

Solidity: function nonces(bytes32 ) view returns(uint256)

func (*VRFTestnetD20Session) RawFulfillRandomness

func (_VRFTestnetD20 *VRFTestnetD20Session) RawFulfillRandomness(requestId [32]byte, randomness *big.Int) (*types.Transaction, error)

RawFulfillRandomness is a paid mutator transaction binding the contract method 0x94985ddd.

Solidity: function rawFulfillRandomness(bytes32 requestId, uint256 randomness) returns()

func (*VRFTestnetD20Session) RollDice

func (_VRFTestnetD20 *VRFTestnetD20Session) RollDice(userProvidedSeed *big.Int) (*types.Transaction, error)

RollDice is a paid mutator transaction binding the contract method 0xacfff377.

Solidity: function rollDice(uint256 userProvidedSeed) returns(bytes32 requestId)

type VRFTestnetD20Transactor

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

VRFTestnetD20Transactor is an auto generated write-only Go binding around an Ethereum contract.

func NewVRFTestnetD20Transactor

func NewVRFTestnetD20Transactor(address common.Address, transactor bind.ContractTransactor) (*VRFTestnetD20Transactor, error)

NewVRFTestnetD20Transactor creates a new write-only instance of VRFTestnetD20, bound to a specific deployed contract.

func (*VRFTestnetD20Transactor) RawFulfillRandomness

func (_VRFTestnetD20 *VRFTestnetD20Transactor) RawFulfillRandomness(opts *bind.TransactOpts, requestId [32]byte, randomness *big.Int) (*types.Transaction, error)

RawFulfillRandomness is a paid mutator transaction binding the contract method 0x94985ddd.

Solidity: function rawFulfillRandomness(bytes32 requestId, uint256 randomness) returns()

func (*VRFTestnetD20Transactor) RollDice

func (_VRFTestnetD20 *VRFTestnetD20Transactor) RollDice(opts *bind.TransactOpts, userProvidedSeed *big.Int) (*types.Transaction, error)

RollDice is a paid mutator transaction binding the contract method 0xacfff377.

Solidity: function rollDice(uint256 userProvidedSeed) returns(bytes32 requestId)

type VRFTestnetD20TransactorRaw

type VRFTestnetD20TransactorRaw struct {
	Contract *VRFTestnetD20Transactor // Generic write-only contract binding to access the raw methods on
}

VRFTestnetD20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*VRFTestnetD20TransactorRaw) Transact

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

Transact invokes the (paid) contract method with params as input values.

func (*VRFTestnetD20TransactorRaw) Transfer

func (_VRFTestnetD20 *VRFTestnetD20TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type VRFTestnetD20TransactorSession

type VRFTestnetD20TransactorSession struct {
	Contract     *VRFTestnetD20Transactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts        // Transaction auth options to use throughout this session
}

VRFTestnetD20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*VRFTestnetD20TransactorSession) RawFulfillRandomness

func (_VRFTestnetD20 *VRFTestnetD20TransactorSession) RawFulfillRandomness(requestId [32]byte, randomness *big.Int) (*types.Transaction, error)

RawFulfillRandomness is a paid mutator transaction binding the contract method 0x94985ddd.

Solidity: function rawFulfillRandomness(bytes32 requestId, uint256 randomness) returns()

func (*VRFTestnetD20TransactorSession) RollDice

func (_VRFTestnetD20 *VRFTestnetD20TransactorSession) RollDice(userProvidedSeed *big.Int) (*types.Transaction, error)

RollDice is a paid mutator transaction binding the contract method 0xacfff377.

Solidity: function rollDice(uint256 userProvidedSeed) returns(bytes32 requestId)

Jump to

Keyboard shortcuts

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