testapp

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BooleanCondMockABI = BooleanCondMockMetaData.ABI

BooleanCondMockABI is the input ABI used to generate the binding from. Deprecated: Use BooleanCondMockMetaData.ABI instead.

View Source
var BooleanCondMockBin = BooleanCondMockMetaData.Bin

BooleanCondMockBin is the compiled bytecode used for deploying new contracts. Deprecated: Use BooleanCondMockMetaData.Bin instead.

View Source
var BooleanCondMockMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"function\",\"name\":\"getOutcome\",\"inputs\":[{\"name\":\"_query\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"isFinalized\",\"inputs\":[{\"name\":\"_query\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"pure\"}]",
	Bin: "0x6080604052348015600e575f5ffd5b506102228061001c5f395ff3fe608060405234801561000f575f5ffd5b5060043610610034575f3560e01c8063bcdbda9414610038578063ea4ba8eb1461005f575b5f5ffd5b61004b610046366004610140565b610072565b604051901515815260200160405180910390f35b61004b61006d366004610140565b6100c9565b5f818103610082575060016100c3565b6100c083838080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061010892505050565b90505b92915050565b5f6100c083838080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061010892505050565b5f81515f0361011857505f919050565b6020828101518351909161012c91906101c2565b6101379060086101d5565b1c151592915050565b5f5f60208385031215610151575f5ffd5b823567ffffffffffffffff811115610167575f5ffd5b8301601f81018513610177575f5ffd5b803567ffffffffffffffff81111561018d575f5ffd5b85602082840101111561019e575f5ffd5b6020919091019590945092505050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156100c3576100c36101ae565b80820281158282048414176100c3576100c36101ae56fea2646970667358221220c12eebfbdbfdf6caab643570ac750da3584d021123904390dd66e5245cb3823f64736f6c634300081e0033",
}

BooleanCondMockMetaData contains all meta data concerning the BooleanCondMock contract.

Functions

This section is empty.

Types

type BooleanCondMock added in v1.2.0

type BooleanCondMock struct {
	BooleanCondMockCaller     // Read-only binding to the contract
	BooleanCondMockTransactor // Write-only binding to the contract
	BooleanCondMockFilterer   // Log filterer for contract events
}

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

func DeployBooleanCondMock added in v1.2.0

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

DeployBooleanCondMock deploys a new Ethereum contract, binding an instance of BooleanCondMock to it.

func NewBooleanCondMock added in v1.2.0

func NewBooleanCondMock(address common.Address, backend bind.ContractBackend) (*BooleanCondMock, error)

NewBooleanCondMock creates a new instance of BooleanCondMock, bound to a specific deployed contract.

type BooleanCondMockCaller added in v1.2.0

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

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

func NewBooleanCondMockCaller added in v1.2.0

func NewBooleanCondMockCaller(address common.Address, caller bind.ContractCaller) (*BooleanCondMockCaller, error)

NewBooleanCondMockCaller creates a new read-only instance of BooleanCondMock, bound to a specific deployed contract.

func (*BooleanCondMockCaller) GetOutcome added in v1.2.0

func (_BooleanCondMock *BooleanCondMockCaller) GetOutcome(opts *bind.CallOpts, _query []byte) (bool, error)

GetOutcome is a free data retrieval call binding the contract method 0xea4ba8eb.

Solidity: function getOutcome(bytes _query) pure returns(bool)

func (*BooleanCondMockCaller) IsFinalized added in v1.2.0

func (_BooleanCondMock *BooleanCondMockCaller) IsFinalized(opts *bind.CallOpts, _query []byte) (bool, error)

IsFinalized is a free data retrieval call binding the contract method 0xbcdbda94.

Solidity: function isFinalized(bytes _query) pure returns(bool)

type BooleanCondMockCallerRaw added in v1.2.0

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

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

func (*BooleanCondMockCallerRaw) Call added in v1.2.0

func (_BooleanCondMock *BooleanCondMockCallerRaw) 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 BooleanCondMockCallerSession added in v1.2.0

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

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

func (*BooleanCondMockCallerSession) GetOutcome added in v1.2.0

func (_BooleanCondMock *BooleanCondMockCallerSession) GetOutcome(_query []byte) (bool, error)

GetOutcome is a free data retrieval call binding the contract method 0xea4ba8eb.

Solidity: function getOutcome(bytes _query) pure returns(bool)

func (*BooleanCondMockCallerSession) IsFinalized added in v1.2.0

func (_BooleanCondMock *BooleanCondMockCallerSession) IsFinalized(_query []byte) (bool, error)

IsFinalized is a free data retrieval call binding the contract method 0xbcdbda94.

Solidity: function isFinalized(bytes _query) pure returns(bool)

type BooleanCondMockFilterer added in v1.2.0

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

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

func NewBooleanCondMockFilterer added in v1.2.0

func NewBooleanCondMockFilterer(address common.Address, filterer bind.ContractFilterer) (*BooleanCondMockFilterer, error)

NewBooleanCondMockFilterer creates a new log filterer instance of BooleanCondMock, bound to a specific deployed contract.

type BooleanCondMockRaw added in v1.2.0

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

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

func (*BooleanCondMockRaw) Call added in v1.2.0

func (_BooleanCondMock *BooleanCondMockRaw) 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 (*BooleanCondMockRaw) Transact added in v1.2.0

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

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

func (*BooleanCondMockRaw) Transfer added in v1.2.0

func (_BooleanCondMock *BooleanCondMockRaw) 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 BooleanCondMockSession added in v1.2.0

type BooleanCondMockSession struct {
	Contract     *BooleanCondMock  // 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
}

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

func (*BooleanCondMockSession) GetOutcome added in v1.2.0

func (_BooleanCondMock *BooleanCondMockSession) GetOutcome(_query []byte) (bool, error)

GetOutcome is a free data retrieval call binding the contract method 0xea4ba8eb.

Solidity: function getOutcome(bytes _query) pure returns(bool)

func (*BooleanCondMockSession) IsFinalized added in v1.2.0

func (_BooleanCondMock *BooleanCondMockSession) IsFinalized(_query []byte) (bool, error)

IsFinalized is a free data retrieval call binding the contract method 0xbcdbda94.

Solidity: function isFinalized(bytes _query) pure returns(bool)

type BooleanCondMockTransactor added in v1.2.0

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

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

func NewBooleanCondMockTransactor added in v1.2.0

func NewBooleanCondMockTransactor(address common.Address, transactor bind.ContractTransactor) (*BooleanCondMockTransactor, error)

NewBooleanCondMockTransactor creates a new write-only instance of BooleanCondMock, bound to a specific deployed contract.

type BooleanCondMockTransactorRaw added in v1.2.0

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

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

func (*BooleanCondMockTransactorRaw) Transact added in v1.2.0

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

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

func (*BooleanCondMockTransactorRaw) Transfer added in v1.2.0

func (_BooleanCondMock *BooleanCondMockTransactorRaw) 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 BooleanCondMockTransactorSession added in v1.2.0

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

BooleanCondMockTransactorSession 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