mockverifier

package
v0.1.3-RC7 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: AGPL-3.0, AGPL-3.0-or-later Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MockverifierABI = MockverifierMetaData.ABI

MockverifierABI is the input ABI used to generate the binding from. Deprecated: Use MockverifierMetaData.ABI instead.

View Source
var MockverifierBin = MockverifierMetaData.Bin

MockverifierBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MockverifierMetaData.Bin instead.

View Source
var MockverifierMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"proof\",\"type\":\"bytes\"},{\"internalType\":\"uint256[1]\",\"name\":\"pubSignals\",\"type\":\"uint256[1]\"}],\"name\":\"verifyProof\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b50610205806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80638d8f8a5c14610030575b600080fd5b61004661003e366004610128565b600192915050565b604051901515815260200160405180910390f35b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156100b2576100b261005a565b604052919050565b600082601f8301126100cb57600080fd5b604051602080820182811067ffffffffffffffff821117156100ef576100ef61005a565b604052818482018681111561010357600080fd5b855b8181101561011c5780358352918301918301610105565b50929695505050505050565b6000806040838503121561013b57600080fd5b823567ffffffffffffffff8082111561015357600080fd5b818501915085601f83011261016757600080fd5b813560208282111561017b5761017b61005a565b61018d601f8301601f19168201610089565b925081835287818386010111156101a357600080fd5b818185018285013760008183850101528295506101c2888289016100ba565b945050505050925092905056fea26469706673582212204af7f3bda67f3a30e1891af134e290590c6063b5a163b85e57b0c1111e1463a364736f6c63430008110033",
}

MockverifierMetaData contains all meta data concerning the Mockverifier contract.

Functions

This section is empty.

Types

type Mockverifier

type Mockverifier struct {
	MockverifierCaller     // Read-only binding to the contract
	MockverifierTransactor // Write-only binding to the contract
	MockverifierFilterer   // Log filterer for contract events
}

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

func DeployMockverifier

func DeployMockverifier(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Mockverifier, error)

DeployMockverifier deploys a new Ethereum contract, binding an instance of Mockverifier to it.

func NewMockverifier

func NewMockverifier(address common.Address, backend bind.ContractBackend) (*Mockverifier, error)

NewMockverifier creates a new instance of Mockverifier, bound to a specific deployed contract.

type MockverifierCaller

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

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

func NewMockverifierCaller

func NewMockverifierCaller(address common.Address, caller bind.ContractCaller) (*MockverifierCaller, error)

NewMockverifierCaller creates a new read-only instance of Mockverifier, bound to a specific deployed contract.

func (*MockverifierCaller) VerifyProof

func (_Mockverifier *MockverifierCaller) VerifyProof(opts *bind.CallOpts, proof []byte, pubSignals [1]*big.Int) (bool, error)

VerifyProof is a free data retrieval call binding the contract method 0x8d8f8a5c.

Solidity: function verifyProof(bytes proof, uint256[1] pubSignals) view returns(bool)

type MockverifierCallerRaw

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

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

func (*MockverifierCallerRaw) Call

func (_Mockverifier *MockverifierCallerRaw) 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 MockverifierCallerSession

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

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

func (*MockverifierCallerSession) VerifyProof

func (_Mockverifier *MockverifierCallerSession) VerifyProof(proof []byte, pubSignals [1]*big.Int) (bool, error)

VerifyProof is a free data retrieval call binding the contract method 0x8d8f8a5c.

Solidity: function verifyProof(bytes proof, uint256[1] pubSignals) view returns(bool)

type MockverifierFilterer

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

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

func NewMockverifierFilterer

func NewMockverifierFilterer(address common.Address, filterer bind.ContractFilterer) (*MockverifierFilterer, error)

NewMockverifierFilterer creates a new log filterer instance of Mockverifier, bound to a specific deployed contract.

type MockverifierRaw

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

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

func (*MockverifierRaw) Call

func (_Mockverifier *MockverifierRaw) 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 (*MockverifierRaw) Transact

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

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

func (*MockverifierRaw) Transfer

func (_Mockverifier *MockverifierRaw) 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 MockverifierSession

type MockverifierSession struct {
	Contract     *Mockverifier     // 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
}

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

func (*MockverifierSession) VerifyProof

func (_Mockverifier *MockverifierSession) VerifyProof(proof []byte, pubSignals [1]*big.Int) (bool, error)

VerifyProof is a free data retrieval call binding the contract method 0x8d8f8a5c.

Solidity: function verifyProof(bytes proof, uint256[1] pubSignals) view returns(bool)

type MockverifierTransactor

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

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

func NewMockverifierTransactor

func NewMockverifierTransactor(address common.Address, transactor bind.ContractTransactor) (*MockverifierTransactor, error)

NewMockverifierTransactor creates a new write-only instance of Mockverifier, bound to a specific deployed contract.

type MockverifierTransactorRaw

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

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

func (*MockverifierTransactorRaw) Transact

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

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

func (*MockverifierTransactorRaw) Transfer

func (_Mockverifier *MockverifierTransactorRaw) 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 MockverifierTransactorSession

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

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

Jump to

Keyboard shortcuts

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