Documentation ¶
Index ¶
- Variables
- type BaseExampleProcessor
- func (h *BaseExampleProcessor) Initialize(ctx context.Context, start uint64, tx *example.TestInput, ...) error
- func (h *BaseExampleProcessor) ProcessElement(p interface{}) ...
- func (h *BaseExampleProcessor) ProcessExampleEvent(ctx context.Context, e ExampleExampleEvent) (func(tx *example.TestInput, testtx *testexample.TestInput) error, error)
- func (h *BaseExampleProcessor) Setup(ctx context.Context, address common.Address, eth interface{ ... }, ...) error
- func (h *BaseExampleProcessor) UnpackLog(out interface{}, event string, log types.Log) error
- type Example
- type ExampleCaller
- type ExampleCallerRaw
- type ExampleCallerSession
- type ExampleExampleEvent
- type ExampleExampleEventIterator
- type ExampleFilterer
- func (_Example *ExampleFilterer) FilterExampleEvent(opts *bind.FilterOpts) (*ExampleExampleEventIterator, error)
- func (_Example *ExampleFilterer) ParseExampleEvent(log types.Log) (*ExampleExampleEvent, error)
- func (_Example *ExampleFilterer) WatchExampleEvent(opts *bind.WatchOpts, sink chan<- *ExampleExampleEvent) (event.Subscription, error)
- type ExampleProcessor
- type ExampleRaw
- func (_Example *ExampleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Example *ExampleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Example *ExampleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ExampleSession
- type ExampleTransactor
- type ExampleTransactorRaw
- type ExampleTransactorSession
- type FakeExample
- type FakeExampleCaller
- type FakeExampleCallerRaw
- type FakeExampleCallerSession
- type FakeExampleExampleEvent
- type FakeExampleExampleEventIterator
- type FakeExampleFilterer
- func (_FakeExample *FakeExampleFilterer) FilterExampleEvent(opts *bind.FilterOpts) (*FakeExampleExampleEventIterator, error)
- func (_FakeExample *FakeExampleFilterer) ParseExampleEvent(log types.Log) (*FakeExampleExampleEvent, error)
- func (_FakeExample *FakeExampleFilterer) WatchExampleEvent(opts *bind.WatchOpts, sink chan<- *FakeExampleExampleEvent) (event.Subscription, error)
- type FakeExampleRaw
- func (_FakeExample *FakeExampleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_FakeExample *FakeExampleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_FakeExample *FakeExampleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type FakeExampleSession
- type FakeExampleTransactor
- type FakeExampleTransactorRaw
- type FakeExampleTransactorSession
Constants ¶
This section is empty.
Variables ¶
var ExampleABI = ExampleMetaData.ABI
ExampleABI is the input ABI used to generate the binding from. Deprecated: Use ExampleMetaData.ABI instead.
var ExampleBin = ExampleMetaData.Bin
ExampleBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ExampleMetaData.Bin instead.
var ExampleMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"value\",\"type\":\"string\"}],\"name\":\"ExampleEvent\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"exampleValue\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
Bin: "0x60c0604052600660808190526532ba3433b2b760d11b60a0908152610027916000919061003a565b5034801561003457600080fd5b5061010e565b828054610046906100d3565b90600052602060002090601f01602090048101928261006857600085556100ae565b82601f1061008157805160ff19168380011785556100ae565b828001600101855582156100ae579182015b828111156100ae578251825591602001919060010190610093565b506100ba9291506100be565b5090565b5b808211156100ba57600081556001016100bf565b600181811c908216806100e757607f821691505b6020821081141561010857634e487b7160e01b600052602260045260246000fd5b50919050565b6101a68061011d6000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063d8f7c4cf14610030575b600080fd5b61003861004e565b60405161004591906100e0565b60405180910390f35b60606000805461005d90610135565b80601f016020809104026020016040519081016040528092919081815260200182805461008990610135565b80156100d65780601f106100ab576101008083540402835291602001916100d6565b820191906000526020600020905b8154815290600101906020018083116100b957829003601f168201915b5050505050905090565b600060208083528351808285015260005b8181101561010d578581018301518582016040015282016100f1565b8181111561011f576000604083870101525b50601f01601f1916929092016040019392505050565b600181811c9082168061014957607f821691505b6020821081141561016a57634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220d432acfc601a55b38872c4482f4ff23a49d4b5ed1caa9f6ba25dbf74dff0072364736f6c634300080a0033",
}
ExampleMetaData contains all meta data concerning the Example contract.
var FakeExampleABI = FakeExampleMetaData.ABI
FakeExampleABI is the input ABI used to generate the binding from. Deprecated: Use FakeExampleMetaData.ABI instead.
var FakeExampleBin = FakeExampleMetaData.Bin
FakeExampleBin is the compiled bytecode used for deploying new contracts. Deprecated: Use FakeExampleMetaData.Bin instead.
var FakeExampleMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"value\",\"type\":\"string\"}],\"name\":\"ExampleEvent\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"exampleValue\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"value\",\"type\":\"string\"}],\"name\":\"fakeEmitExampleEvent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"retstringExampleValue0\",\"type\":\"string\"}],\"name\":\"fakeSetExampleValue\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x608060405234801561001057600080fd5b50610383806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063010ac92514610046578063b8290c1a1461005b578063d8f7c4cf1461006e575b600080fd5b610059610054366004610208565b61008c565b005b610059610069366004610208565b6100c6565b6100766100dd565b60405161008391906102a9565b60405180910390f35b7fb74a38eb2ebca56512a2bb0283f335555a4a4dac46ab998d65fd76f9027dca70816040516100bb91906102a9565b60405180910390a150565b80516100d990600090602084019061016f565b5050565b6060600080546100ec906102fc565b80601f0160208091040260200160405190810160405280929190818152602001828054610118906102fc565b80156101655780601f1061013a57610100808354040283529160200191610165565b820191906000526020600020905b81548152906001019060200180831161014857829003601f168201915b5050505050905090565b82805461017b906102fc565b90600052602060002090601f01602090048101928261019d57600085556101e3565b82601f106101b657805160ff19168380011785556101e3565b828001600101855582156101e3579182015b828111156101e35782518255916020019190600101906101c8565b506101ef9291506101f3565b5090565b5b808211156101ef57600081556001016101f4565b6000602080838503121561021a578182fd5b823567ffffffffffffffff80821115610231578384fd5b818501915085601f830112610244578384fd5b81358181111561025657610256610337565b604051601f8201601f191681018501838111828210171561027957610279610337565b604052818152838201850188101561028f578586fd5b818585018683013790810190930193909352509392505050565b6000602080835283518082850152825b818110156102d5578581018301518582016040015282016102b9565b818111156102e65783604083870101525b50601f01601f1916929092016040019392505050565b60028104600182168061031057607f821691505b6020821081141561033157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fdfea2646970667358221220da7e7e0f8373a2cc6e5f64020ba145a9c19c4287003b565ec0ee08ca2c3f2bf464736f6c63430008000033",
}
FakeExampleMetaData contains all meta data concerning the FakeExample contract.
Functions ¶
This section is empty.
Types ¶
type BaseExampleProcessor ¶ added in v0.0.7
type BaseExampleProcessor struct { Address common.Address ABI abi.ABI Contract *Example Eth interface { ethereum.ChainReader ethereum.ChainStateReader ethereum.TransactionReader bind.ContractBackend } }
func (*BaseExampleProcessor) Initialize ¶ added in v0.0.7
func (h *BaseExampleProcessor) Initialize(ctx context.Context, start uint64, tx *example.TestInput, testtx *testexample.TestInput) error
func (*BaseExampleProcessor) ProcessElement ¶ added in v0.0.7
func (*BaseExampleProcessor) ProcessExampleEvent ¶ added in v0.0.7
func (h *BaseExampleProcessor) ProcessExampleEvent(ctx context.Context, e ExampleExampleEvent) (func(tx *example.TestInput, testtx *testexample.TestInput) error, error)
type Example ¶
type Example struct { ExampleCaller // Read-only binding to the contract ExampleTransactor // Write-only binding to the contract ExampleFilterer // Log filterer for contract events }
Example is an auto generated Go binding around an Ethereum contract.
func DeployExample ¶
func DeployExample(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Example, error)
DeployExample deploys a new Ethereum contract, binding an instance of Example to it.
func NewExample ¶
NewExample creates a new instance of Example, bound to a specific deployed contract.
type ExampleCaller ¶
type ExampleCaller struct {
// contains filtered or unexported fields
}
ExampleCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewExampleCaller ¶
func NewExampleCaller(address common.Address, caller bind.ContractCaller) (*ExampleCaller, error)
NewExampleCaller creates a new read-only instance of Example, bound to a specific deployed contract.
func (*ExampleCaller) ExampleValue ¶
func (_Example *ExampleCaller) ExampleValue(opts *bind.CallOpts) (string, error)
ExampleValue is a free data retrieval call binding the contract method 0xd8f7c4cf.
Solidity: function exampleValue() view returns(string)
type ExampleCallerRaw ¶
type ExampleCallerRaw struct {
Contract *ExampleCaller // Generic read-only contract binding to access the raw methods on
}
ExampleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ExampleCallerRaw) Call ¶
func (_Example *ExampleCallerRaw) 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 ExampleCallerSession ¶
type ExampleCallerSession struct { Contract *ExampleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ExampleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ExampleCallerSession) ExampleValue ¶
func (_Example *ExampleCallerSession) ExampleValue() (string, error)
ExampleValue is a free data retrieval call binding the contract method 0xd8f7c4cf.
Solidity: function exampleValue() view returns(string)
type ExampleExampleEvent ¶
type ExampleExampleEvent struct { Value string Raw types.Log // Blockchain specific contextual infos }
ExampleExampleEvent represents a ExampleEvent event raised by the Example contract.
type ExampleExampleEventIterator ¶
type ExampleExampleEventIterator struct { Event *ExampleExampleEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ExampleExampleEventIterator is returned from FilterExampleEvent and is used to iterate over the raw logs and unpacked data for ExampleEvent events raised by the Example contract.
func (*ExampleExampleEventIterator) Close ¶
func (it *ExampleExampleEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ExampleExampleEventIterator) Error ¶
func (it *ExampleExampleEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ExampleExampleEventIterator) Next ¶
func (it *ExampleExampleEventIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ExampleFilterer ¶
type ExampleFilterer struct {
// contains filtered or unexported fields
}
ExampleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewExampleFilterer ¶
func NewExampleFilterer(address common.Address, filterer bind.ContractFilterer) (*ExampleFilterer, error)
NewExampleFilterer creates a new log filterer instance of Example, bound to a specific deployed contract.
func (*ExampleFilterer) FilterExampleEvent ¶
func (_Example *ExampleFilterer) FilterExampleEvent(opts *bind.FilterOpts) (*ExampleExampleEventIterator, error)
FilterExampleEvent is a free log retrieval operation binding the contract event 0xb74a38eb2ebca56512a2bb0283f335555a4a4dac46ab998d65fd76f9027dca70.
Solidity: event ExampleEvent(string value)
func (*ExampleFilterer) ParseExampleEvent ¶
func (_Example *ExampleFilterer) ParseExampleEvent(log types.Log) (*ExampleExampleEvent, error)
ParseExampleEvent is a log parse operation binding the contract event 0xb74a38eb2ebca56512a2bb0283f335555a4a4dac46ab998d65fd76f9027dca70.
Solidity: event ExampleEvent(string value)
func (*ExampleFilterer) WatchExampleEvent ¶
func (_Example *ExampleFilterer) WatchExampleEvent(opts *bind.WatchOpts, sink chan<- *ExampleExampleEvent) (event.Subscription, error)
WatchExampleEvent is a free log subscription operation binding the contract event 0xb74a38eb2ebca56512a2bb0283f335555a4a4dac46ab998d65fd76f9027dca70.
Solidity: event ExampleEvent(string value)
type ExampleProcessor ¶
type ExampleProcessor interface { Setup(ctx context.Context, address common.Address, eth interface { ethereum.ChainReader ethereum.ChainStateReader ethereum.TransactionReader bind.ContractBackend }, i *example.TestInput) error Initialize(ctx context.Context, start uint64, tx *example.TestInput, testtx *testexample.TestInput) error ProcessExampleEvent(ctx context.Context, e ExampleExampleEvent) (func(tx *example.TestInput, testtx *testexample.TestInput) error, error) // contains filtered or unexported methods }
type ExampleRaw ¶
type ExampleRaw struct {
Contract *Example // Generic contract binding to access the raw methods on
}
ExampleRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ExampleRaw) Call ¶
func (_Example *ExampleRaw) 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 (*ExampleRaw) Transact ¶
func (_Example *ExampleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ExampleRaw) Transfer ¶
func (_Example *ExampleRaw) 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 ExampleSession ¶
type ExampleSession struct { Contract *Example // 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 }
ExampleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ExampleSession) ExampleValue ¶
func (_Example *ExampleSession) ExampleValue() (string, error)
ExampleValue is a free data retrieval call binding the contract method 0xd8f7c4cf.
Solidity: function exampleValue() view returns(string)
type ExampleTransactor ¶
type ExampleTransactor struct {
// contains filtered or unexported fields
}
ExampleTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewExampleTransactor ¶
func NewExampleTransactor(address common.Address, transactor bind.ContractTransactor) (*ExampleTransactor, error)
NewExampleTransactor creates a new write-only instance of Example, bound to a specific deployed contract.
type ExampleTransactorRaw ¶
type ExampleTransactorRaw struct {
Contract *ExampleTransactor // Generic write-only contract binding to access the raw methods on
}
ExampleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ExampleTransactorRaw) Transact ¶
func (_Example *ExampleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ExampleTransactorRaw) Transfer ¶
func (_Example *ExampleTransactorRaw) 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 ExampleTransactorSession ¶
type ExampleTransactorSession struct { Contract *ExampleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ExampleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type FakeExample ¶
type FakeExample struct { FakeExampleCaller // Read-only binding to the contract FakeExampleTransactor // Write-only binding to the contract FakeExampleFilterer // Log filterer for contract events }
FakeExample is an auto generated Go binding around an Ethereum contract.
func DeployFakeExample ¶
func DeployFakeExample(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *FakeExample, error)
DeployFakeExample deploys a new Ethereum contract, binding an instance of FakeExample to it.
func NewFakeExample ¶
func NewFakeExample(address common.Address, backend bind.ContractBackend) (*FakeExample, error)
NewFakeExample creates a new instance of FakeExample, bound to a specific deployed contract.
type FakeExampleCaller ¶
type FakeExampleCaller struct {
// contains filtered or unexported fields
}
FakeExampleCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewFakeExampleCaller ¶
func NewFakeExampleCaller(address common.Address, caller bind.ContractCaller) (*FakeExampleCaller, error)
NewFakeExampleCaller creates a new read-only instance of FakeExample, bound to a specific deployed contract.
func (*FakeExampleCaller) ExampleValue ¶
func (_FakeExample *FakeExampleCaller) ExampleValue(opts *bind.CallOpts) (string, error)
ExampleValue is a free data retrieval call binding the contract method 0xd8f7c4cf.
Solidity: function exampleValue() view returns(string)
type FakeExampleCallerRaw ¶
type FakeExampleCallerRaw struct {
Contract *FakeExampleCaller // Generic read-only contract binding to access the raw methods on
}
FakeExampleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*FakeExampleCallerRaw) Call ¶
func (_FakeExample *FakeExampleCallerRaw) 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 FakeExampleCallerSession ¶
type FakeExampleCallerSession struct { Contract *FakeExampleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
FakeExampleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*FakeExampleCallerSession) ExampleValue ¶
func (_FakeExample *FakeExampleCallerSession) ExampleValue() (string, error)
ExampleValue is a free data retrieval call binding the contract method 0xd8f7c4cf.
Solidity: function exampleValue() view returns(string)
type FakeExampleExampleEvent ¶
type FakeExampleExampleEvent struct { Value string Raw types.Log // Blockchain specific contextual infos }
FakeExampleExampleEvent represents a ExampleEvent event raised by the FakeExample contract.
type FakeExampleExampleEventIterator ¶
type FakeExampleExampleEventIterator struct { Event *FakeExampleExampleEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FakeExampleExampleEventIterator is returned from FilterExampleEvent and is used to iterate over the raw logs and unpacked data for ExampleEvent events raised by the FakeExample contract.
func (*FakeExampleExampleEventIterator) Close ¶
func (it *FakeExampleExampleEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FakeExampleExampleEventIterator) Error ¶
func (it *FakeExampleExampleEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FakeExampleExampleEventIterator) Next ¶
func (it *FakeExampleExampleEventIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type FakeExampleFilterer ¶
type FakeExampleFilterer struct {
// contains filtered or unexported fields
}
FakeExampleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewFakeExampleFilterer ¶
func NewFakeExampleFilterer(address common.Address, filterer bind.ContractFilterer) (*FakeExampleFilterer, error)
NewFakeExampleFilterer creates a new log filterer instance of FakeExample, bound to a specific deployed contract.
func (*FakeExampleFilterer) FilterExampleEvent ¶
func (_FakeExample *FakeExampleFilterer) FilterExampleEvent(opts *bind.FilterOpts) (*FakeExampleExampleEventIterator, error)
FilterExampleEvent is a free log retrieval operation binding the contract event 0xb74a38eb2ebca56512a2bb0283f335555a4a4dac46ab998d65fd76f9027dca70.
Solidity: event ExampleEvent(string value)
func (*FakeExampleFilterer) ParseExampleEvent ¶
func (_FakeExample *FakeExampleFilterer) ParseExampleEvent(log types.Log) (*FakeExampleExampleEvent, error)
ParseExampleEvent is a log parse operation binding the contract event 0xb74a38eb2ebca56512a2bb0283f335555a4a4dac46ab998d65fd76f9027dca70.
Solidity: event ExampleEvent(string value)
func (*FakeExampleFilterer) WatchExampleEvent ¶
func (_FakeExample *FakeExampleFilterer) WatchExampleEvent(opts *bind.WatchOpts, sink chan<- *FakeExampleExampleEvent) (event.Subscription, error)
WatchExampleEvent is a free log subscription operation binding the contract event 0xb74a38eb2ebca56512a2bb0283f335555a4a4dac46ab998d65fd76f9027dca70.
Solidity: event ExampleEvent(string value)
type FakeExampleRaw ¶
type FakeExampleRaw struct {
Contract *FakeExample // Generic contract binding to access the raw methods on
}
FakeExampleRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*FakeExampleRaw) Call ¶
func (_FakeExample *FakeExampleRaw) 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 (*FakeExampleRaw) Transact ¶
func (_FakeExample *FakeExampleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FakeExampleRaw) Transfer ¶
func (_FakeExample *FakeExampleRaw) 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 FakeExampleSession ¶
type FakeExampleSession struct { Contract *FakeExample // 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 }
FakeExampleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*FakeExampleSession) ExampleValue ¶
func (_FakeExample *FakeExampleSession) ExampleValue() (string, error)
ExampleValue is a free data retrieval call binding the contract method 0xd8f7c4cf.
Solidity: function exampleValue() view returns(string)
func (*FakeExampleSession) FakeEmitExampleEvent ¶
func (_FakeExample *FakeExampleSession) FakeEmitExampleEvent(value string) (*types.Transaction, error)
FakeEmitExampleEvent is a paid mutator transaction binding the contract method 0x010ac925.
Solidity: function fakeEmitExampleEvent(string value) returns()
func (*FakeExampleSession) FakeSetExampleValue ¶
func (_FakeExample *FakeExampleSession) FakeSetExampleValue(retstringExampleValue0 string) (*types.Transaction, error)
FakeSetExampleValue is a paid mutator transaction binding the contract method 0xb8290c1a.
Solidity: function fakeSetExampleValue(string retstringExampleValue0) returns()
type FakeExampleTransactor ¶
type FakeExampleTransactor struct {
// contains filtered or unexported fields
}
FakeExampleTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewFakeExampleTransactor ¶
func NewFakeExampleTransactor(address common.Address, transactor bind.ContractTransactor) (*FakeExampleTransactor, error)
NewFakeExampleTransactor creates a new write-only instance of FakeExample, bound to a specific deployed contract.
func (*FakeExampleTransactor) FakeEmitExampleEvent ¶
func (_FakeExample *FakeExampleTransactor) FakeEmitExampleEvent(opts *bind.TransactOpts, value string) (*types.Transaction, error)
FakeEmitExampleEvent is a paid mutator transaction binding the contract method 0x010ac925.
Solidity: function fakeEmitExampleEvent(string value) returns()
func (*FakeExampleTransactor) FakeSetExampleValue ¶
func (_FakeExample *FakeExampleTransactor) FakeSetExampleValue(opts *bind.TransactOpts, retstringExampleValue0 string) (*types.Transaction, error)
FakeSetExampleValue is a paid mutator transaction binding the contract method 0xb8290c1a.
Solidity: function fakeSetExampleValue(string retstringExampleValue0) returns()
type FakeExampleTransactorRaw ¶
type FakeExampleTransactorRaw struct {
Contract *FakeExampleTransactor // Generic write-only contract binding to access the raw methods on
}
FakeExampleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*FakeExampleTransactorRaw) Transact ¶
func (_FakeExample *FakeExampleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FakeExampleTransactorRaw) Transfer ¶
func (_FakeExample *FakeExampleTransactorRaw) 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 FakeExampleTransactorSession ¶
type FakeExampleTransactorSession struct { Contract *FakeExampleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
FakeExampleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*FakeExampleTransactorSession) FakeEmitExampleEvent ¶
func (_FakeExample *FakeExampleTransactorSession) FakeEmitExampleEvent(value string) (*types.Transaction, error)
FakeEmitExampleEvent is a paid mutator transaction binding the contract method 0x010ac925.
Solidity: function fakeEmitExampleEvent(string value) returns()
func (*FakeExampleTransactorSession) FakeSetExampleValue ¶
func (_FakeExample *FakeExampleTransactorSession) FakeSetExampleValue(retstringExampleValue0 string) (*types.Transaction, error)
FakeSetExampleValue is a paid mutator transaction binding the contract method 0xb8290c1a.
Solidity: function fakeSetExampleValue(string retstringExampleValue0) returns()