Documentation ¶
Index ¶
- Variables
- func GetTestContractABI() abi.ABI
- type Contracts
- type ContractsCaller
- func (_Contracts *ContractsCaller) Counter(opts *bind.CallOpts) (*big.Int, error)
- func (_Contracts *ContractsCaller) TestRandomlyReverted(opts *bind.CallOpts) error
- func (_Contracts *ContractsCaller) TestReverted(opts *bind.CallOpts, r bool) error
- func (_Contracts *ContractsCaller) TestRevertedString(opts *bind.CallOpts, r bool) error
- type ContractsCallerRaw
- type ContractsCallerSession
- type ContractsCounterUpdated
- type ContractsCounterUpdatedIterator
- type ContractsExecution
- type ContractsExecutionIterator
- type ContractsFilterer
- func (_Contracts *ContractsFilterer) FilterCounterUpdated(opts *bind.FilterOpts) (*ContractsCounterUpdatedIterator, error)
- func (_Contracts *ContractsFilterer) FilterExecution(opts *bind.FilterOpts) (*ContractsExecutionIterator, error)
- func (_Contracts *ContractsFilterer) FilterFuncEvent1(opts *bind.FilterOpts) (*ContractsFuncEvent1Iterator, error)
- func (_Contracts *ContractsFilterer) ParseCounterUpdated(log types.Log) (*ContractsCounterUpdated, error)
- func (_Contracts *ContractsFilterer) ParseExecution(log types.Log) (*ContractsExecution, error)
- func (_Contracts *ContractsFilterer) ParseFuncEvent1(log types.Log) (*ContractsFuncEvent1, error)
- func (_Contracts *ContractsFilterer) WatchCounterUpdated(opts *bind.WatchOpts, sink chan<- *ContractsCounterUpdated) (event.Subscription, error)
- func (_Contracts *ContractsFilterer) WatchExecution(opts *bind.WatchOpts, sink chan<- *ContractsExecution) (event.Subscription, error)
- func (_Contracts *ContractsFilterer) WatchFuncEvent1(opts *bind.WatchOpts, sink chan<- *ContractsFuncEvent1) (event.Subscription, error)
- type ContractsFuncEvent1
- type ContractsFuncEvent1Iterator
- type ContractsRaw
- func (_Contracts *ContractsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Contracts *ContractsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Contracts *ContractsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ContractsSession
- func (_Contracts *ContractsSession) Counter() (*big.Int, error)
- func (_Contracts *ContractsSession) TestFunc1(arg1 string, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)
- func (_Contracts *ContractsSession) TestRandomlyReverted() error
- func (_Contracts *ContractsSession) TestReverted(r bool) error
- func (_Contracts *ContractsSession) TestRevertedString(r bool) error
- func (_Contracts *ContractsSession) TestSequence(nonce *big.Int) (*types.Transaction, error)
- type ContractsTransactor
- type ContractsTransactorRaw
- type ContractsTransactorSession
Constants ¶
This section is empty.
Variables ¶
var ContractsABI = ContractsMetaData.ABI
ContractsABI is the input ABI used to generate the binding from. Deprecated: Use ContractsMetaData.ABI instead.
var ContractsBin = ContractsMetaData.Bin
ContractsBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ContractsMetaData.Bin instead.
var ContractsMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"a\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"TestRevert\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"counter\",\"type\":\"uint256\"}],\"name\":\"CounterUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"Execution\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"arg1\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"arg2\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"arg3\",\"type\":\"bytes\"}],\"name\":\"FuncEvent1\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"counter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"arg1\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"arg2\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"arg3\",\"type\":\"bytes\"}],\"name\":\"testFunc1\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"testRandomlyReverted\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"r\",\"type\":\"bool\"}],\"name\":\"testReverted\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"r\",\"type\":\"bool\"}],\"name\":\"testRevertedString\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"testSequence\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x608060405234801561001057600080fd5b50610981806100206000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c806325e25eed146100675780634293dafd1461008357806352df67681461008d57806361bc221a146100a95780637237a3bd146100c757806388655d98146100e3575b600080fd5b610081600480360381019061007c9190610303565b6100ff565b005b61008b610149565b005b6100a760048036038101906100a29190610366565b6101a1565b005b6100b16101db565b6040516100be91906103a2565b60405180910390f35b6100e160048036038101906100dc9190610303565b6101e1565b005b6100fd60048036038101906100f891906105a4565b610225565b005b801561014657600160026040517fbff0f7d700000000000000000000000000000000000000000000000000000000815260040161013d9291906106af565b60405180910390fd5b50565b60006004436101589190610707565b141561019f57600160026040517fbff0f7d70000000000000000000000000000000000000000000000000000000081526004016101969291906106af565b60405180910390fd5b565b7f33e13ecb54c3076d8e8bb8c2881800a4d972b792045ffae98fdf46df365fed75816040516101d091906103a2565b60405180910390a150565b60005481565b8015610222576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161021990610795565b60405180910390fd5b50565b7fee7ebd5ac9177b3cfe282c440d0220335dc60bc4472338132f06af7b4b9432fc83838360405161025893929190610881565b60405180910390a1600160008082825461027291906108f5565b925050819055507f4785d80d2593e2cb7a3331d31eb5106408bdde2aab0db9e9b616b036a1b6039d6000546040516102aa91906103a2565b60405180910390a1505050565b6000604051905090565b600080fd5b600080fd5b60008115159050919050565b6102e0816102cb565b81146102eb57600080fd5b50565b6000813590506102fd816102d7565b92915050565b600060208284031215610319576103186102c1565b5b6000610327848285016102ee565b91505092915050565b6000819050919050565b61034381610330565b811461034e57600080fd5b50565b6000813590506103608161033a565b92915050565b60006020828403121561037c5761037b6102c1565b5b600061038a84828501610351565b91505092915050565b61039c81610330565b82525050565b60006020820190506103b76000830184610393565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610410826103c7565b810181811067ffffffffffffffff8211171561042f5761042e6103d8565b5b80604052505050565b60006104426102b7565b905061044e8282610407565b919050565b600067ffffffffffffffff82111561046e5761046d6103d8565b5b610477826103c7565b9050602081019050919050565b82818337600083830152505050565b60006104a66104a184610453565b610438565b9050828152602081018484840111156104c2576104c16103c2565b5b6104cd848285610484565b509392505050565b600082601f8301126104ea576104e96103bd565b5b81356104fa848260208601610493565b91505092915050565b600067ffffffffffffffff82111561051e5761051d6103d8565b5b610527826103c7565b9050602081019050919050565b600061054761054284610503565b610438565b905082815260208101848484011115610563576105626103c2565b5b61056e848285610484565b509392505050565b600082601f83011261058b5761058a6103bd565b5b813561059b848260208601610534565b91505092915050565b6000806000606084860312156105bd576105bc6102c1565b5b600084013567ffffffffffffffff8111156105db576105da6102c6565b5b6105e7868287016104d5565b93505060206105f886828701610351565b925050604084013567ffffffffffffffff811115610619576106186102c6565b5b61062586828701610576565b9150509250925092565b6000819050919050565b6000819050919050565b600061065e6106596106548461062f565b610639565b610330565b9050919050565b61066e81610643565b82525050565b6000819050919050565b600061069961069461068f84610674565b610639565b610330565b9050919050565b6106a98161067e565b82525050565b60006040820190506106c46000830185610665565b6106d160208301846106a0565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061071282610330565b915061071d83610330565b92508261072d5761072c6106d8565b5b828206905092915050565b600082825260208201905092915050565b7f72657665727420737472696e6700000000000000000000000000000000000000600082015250565b600061077f600d83610738565b915061078a82610749565b602082019050919050565b600060208201905081810360008301526107ae81610772565b9050919050565b600081519050919050565b60005b838110156107de5780820151818401526020810190506107c3565b838111156107ed576000848401525b50505050565b60006107fe826107b5565b6108088185610738565b93506108188185602086016107c0565b610821816103c7565b840191505092915050565b600081519050919050565b600082825260208201905092915050565b60006108538261082c565b61085d8185610837565b935061086d8185602086016107c0565b610876816103c7565b840191505092915050565b6000606082019050818103600083015261089b81866107f3565b90506108aa6020830185610393565b81810360408301526108bc8184610848565b9050949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061090082610330565b915061090b83610330565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156109405761093f6108c6565b5b82820190509291505056fea2646970667358221220df151aada969f4e8bbe3ad1776ce7791ffe05b25115c2589c3f078430ec4534464736f6c634300080c0033",
}
ContractsMetaData contains all meta data concerning the Contracts contract.
Functions ¶
func GetTestContractABI ¶
Types ¶
type Contracts ¶
type Contracts struct { ContractsCaller // Read-only binding to the contract ContractsTransactor // Write-only binding to the contract ContractsFilterer // Log filterer for contract events }
Contracts is an auto generated Go binding around an Ethereum contract.
func DeployContracts ¶
func DeployContracts(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Contracts, error)
DeployContracts deploys a new Ethereum contract, binding an instance of Contracts to it.
func NewContracts ¶
NewContracts creates a new instance of Contracts, bound to a specific deployed contract.
type ContractsCaller ¶
type ContractsCaller struct {
// contains filtered or unexported fields
}
ContractsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewContractsCaller ¶
func NewContractsCaller(address common.Address, caller bind.ContractCaller) (*ContractsCaller, error)
NewContractsCaller creates a new read-only instance of Contracts, bound to a specific deployed contract.
func (*ContractsCaller) Counter ¶
Counter is a free data retrieval call binding the contract method 0x61bc221a.
Solidity: function counter() view returns(uint256)
func (*ContractsCaller) TestRandomlyReverted ¶
func (_Contracts *ContractsCaller) TestRandomlyReverted(opts *bind.CallOpts) error
TestRandomlyReverted is a free data retrieval call binding the contract method 0x4293dafd.
Solidity: function testRandomlyReverted() view returns()
func (*ContractsCaller) TestReverted ¶
func (_Contracts *ContractsCaller) TestReverted(opts *bind.CallOpts, r bool) error
TestReverted is a free data retrieval call binding the contract method 0x25e25eed.
Solidity: function testReverted(bool r) pure returns()
func (*ContractsCaller) TestRevertedString ¶
func (_Contracts *ContractsCaller) TestRevertedString(opts *bind.CallOpts, r bool) error
TestRevertedString is a free data retrieval call binding the contract method 0x7237a3bd.
Solidity: function testRevertedString(bool r) pure returns()
type ContractsCallerRaw ¶
type ContractsCallerRaw struct {
Contract *ContractsCaller // Generic read-only contract binding to access the raw methods on
}
ContractsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ContractsCallerRaw) Call ¶
func (_Contracts *ContractsCallerRaw) 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 ContractsCallerSession ¶
type ContractsCallerSession struct { Contract *ContractsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ContractsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ContractsCallerSession) Counter ¶
func (_Contracts *ContractsCallerSession) Counter() (*big.Int, error)
Counter is a free data retrieval call binding the contract method 0x61bc221a.
Solidity: function counter() view returns(uint256)
func (*ContractsCallerSession) TestRandomlyReverted ¶
func (_Contracts *ContractsCallerSession) TestRandomlyReverted() error
TestRandomlyReverted is a free data retrieval call binding the contract method 0x4293dafd.
Solidity: function testRandomlyReverted() view returns()
func (*ContractsCallerSession) TestReverted ¶
func (_Contracts *ContractsCallerSession) TestReverted(r bool) error
TestReverted is a free data retrieval call binding the contract method 0x25e25eed.
Solidity: function testReverted(bool r) pure returns()
func (*ContractsCallerSession) TestRevertedString ¶
func (_Contracts *ContractsCallerSession) TestRevertedString(r bool) error
TestRevertedString is a free data retrieval call binding the contract method 0x7237a3bd.
Solidity: function testRevertedString(bool r) pure returns()
type ContractsCounterUpdated ¶
type ContractsCounterUpdated struct { Counter *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractsCounterUpdated represents a CounterUpdated event raised by the Contracts contract.
type ContractsCounterUpdatedIterator ¶
type ContractsCounterUpdatedIterator struct { Event *ContractsCounterUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractsCounterUpdatedIterator is returned from FilterCounterUpdated and is used to iterate over the raw logs and unpacked data for CounterUpdated events raised by the Contracts contract.
func (*ContractsCounterUpdatedIterator) Close ¶
func (it *ContractsCounterUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractsCounterUpdatedIterator) Error ¶
func (it *ContractsCounterUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractsCounterUpdatedIterator) Next ¶
func (it *ContractsCounterUpdatedIterator) 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 ContractsExecution ¶
type ContractsExecution struct { Nonce *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractsExecution represents a Execution event raised by the Contracts contract.
type ContractsExecutionIterator ¶
type ContractsExecutionIterator struct { Event *ContractsExecution // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractsExecutionIterator is returned from FilterExecution and is used to iterate over the raw logs and unpacked data for Execution events raised by the Contracts contract.
func (*ContractsExecutionIterator) Close ¶
func (it *ContractsExecutionIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractsExecutionIterator) Error ¶
func (it *ContractsExecutionIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractsExecutionIterator) Next ¶
func (it *ContractsExecutionIterator) 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 ContractsFilterer ¶
type ContractsFilterer struct {
// contains filtered or unexported fields
}
ContractsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewContractsFilterer ¶
func NewContractsFilterer(address common.Address, filterer bind.ContractFilterer) (*ContractsFilterer, error)
NewContractsFilterer creates a new log filterer instance of Contracts, bound to a specific deployed contract.
func (*ContractsFilterer) FilterCounterUpdated ¶
func (_Contracts *ContractsFilterer) FilterCounterUpdated(opts *bind.FilterOpts) (*ContractsCounterUpdatedIterator, error)
FilterCounterUpdated is a free log retrieval operation binding the contract event 0x4785d80d2593e2cb7a3331d31eb5106408bdde2aab0db9e9b616b036a1b6039d.
Solidity: event CounterUpdated(uint256 counter)
func (*ContractsFilterer) FilterExecution ¶
func (_Contracts *ContractsFilterer) FilterExecution(opts *bind.FilterOpts) (*ContractsExecutionIterator, error)
FilterExecution is a free log retrieval operation binding the contract event 0x33e13ecb54c3076d8e8bb8c2881800a4d972b792045ffae98fdf46df365fed75.
Solidity: event Execution(uint256 nonce)
func (*ContractsFilterer) FilterFuncEvent1 ¶
func (_Contracts *ContractsFilterer) FilterFuncEvent1(opts *bind.FilterOpts) (*ContractsFuncEvent1Iterator, error)
FilterFuncEvent1 is a free log retrieval operation binding the contract event 0xee7ebd5ac9177b3cfe282c440d0220335dc60bc4472338132f06af7b4b9432fc.
Solidity: event FuncEvent1(string arg1, uint256 arg2, bytes arg3)
func (*ContractsFilterer) ParseCounterUpdated ¶
func (_Contracts *ContractsFilterer) ParseCounterUpdated(log types.Log) (*ContractsCounterUpdated, error)
ParseCounterUpdated is a log parse operation binding the contract event 0x4785d80d2593e2cb7a3331d31eb5106408bdde2aab0db9e9b616b036a1b6039d.
Solidity: event CounterUpdated(uint256 counter)
func (*ContractsFilterer) ParseExecution ¶
func (_Contracts *ContractsFilterer) ParseExecution(log types.Log) (*ContractsExecution, error)
ParseExecution is a log parse operation binding the contract event 0x33e13ecb54c3076d8e8bb8c2881800a4d972b792045ffae98fdf46df365fed75.
Solidity: event Execution(uint256 nonce)
func (*ContractsFilterer) ParseFuncEvent1 ¶
func (_Contracts *ContractsFilterer) ParseFuncEvent1(log types.Log) (*ContractsFuncEvent1, error)
ParseFuncEvent1 is a log parse operation binding the contract event 0xee7ebd5ac9177b3cfe282c440d0220335dc60bc4472338132f06af7b4b9432fc.
Solidity: event FuncEvent1(string arg1, uint256 arg2, bytes arg3)
func (*ContractsFilterer) WatchCounterUpdated ¶
func (_Contracts *ContractsFilterer) WatchCounterUpdated(opts *bind.WatchOpts, sink chan<- *ContractsCounterUpdated) (event.Subscription, error)
WatchCounterUpdated is a free log subscription operation binding the contract event 0x4785d80d2593e2cb7a3331d31eb5106408bdde2aab0db9e9b616b036a1b6039d.
Solidity: event CounterUpdated(uint256 counter)
func (*ContractsFilterer) WatchExecution ¶
func (_Contracts *ContractsFilterer) WatchExecution(opts *bind.WatchOpts, sink chan<- *ContractsExecution) (event.Subscription, error)
WatchExecution is a free log subscription operation binding the contract event 0x33e13ecb54c3076d8e8bb8c2881800a4d972b792045ffae98fdf46df365fed75.
Solidity: event Execution(uint256 nonce)
func (*ContractsFilterer) WatchFuncEvent1 ¶
func (_Contracts *ContractsFilterer) WatchFuncEvent1(opts *bind.WatchOpts, sink chan<- *ContractsFuncEvent1) (event.Subscription, error)
WatchFuncEvent1 is a free log subscription operation binding the contract event 0xee7ebd5ac9177b3cfe282c440d0220335dc60bc4472338132f06af7b4b9432fc.
Solidity: event FuncEvent1(string arg1, uint256 arg2, bytes arg3)
type ContractsFuncEvent1 ¶
type ContractsFuncEvent1 struct { Arg1 string Arg2 *big.Int Arg3 []byte Raw types.Log // Blockchain specific contextual infos }
ContractsFuncEvent1 represents a FuncEvent1 event raised by the Contracts contract.
type ContractsFuncEvent1Iterator ¶
type ContractsFuncEvent1Iterator struct { Event *ContractsFuncEvent1 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractsFuncEvent1Iterator is returned from FilterFuncEvent1 and is used to iterate over the raw logs and unpacked data for FuncEvent1 events raised by the Contracts contract.
func (*ContractsFuncEvent1Iterator) Close ¶
func (it *ContractsFuncEvent1Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractsFuncEvent1Iterator) Error ¶
func (it *ContractsFuncEvent1Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractsFuncEvent1Iterator) Next ¶
func (it *ContractsFuncEvent1Iterator) 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 ContractsRaw ¶
type ContractsRaw struct {
Contract *Contracts // Generic contract binding to access the raw methods on
}
ContractsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ContractsRaw) Call ¶
func (_Contracts *ContractsRaw) 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 (*ContractsRaw) Transact ¶
func (_Contracts *ContractsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractsRaw) Transfer ¶
func (_Contracts *ContractsRaw) 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 ContractsSession ¶
type ContractsSession struct { Contract *Contracts // 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 }
ContractsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ContractsSession) Counter ¶
func (_Contracts *ContractsSession) Counter() (*big.Int, error)
Counter is a free data retrieval call binding the contract method 0x61bc221a.
Solidity: function counter() view returns(uint256)
func (*ContractsSession) TestFunc1 ¶
func (_Contracts *ContractsSession) TestFunc1(arg1 string, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)
TestFunc1 is a paid mutator transaction binding the contract method 0x88655d98.
Solidity: function testFunc1(string arg1, uint256 arg2, bytes arg3) returns()
func (*ContractsSession) TestRandomlyReverted ¶
func (_Contracts *ContractsSession) TestRandomlyReverted() error
TestRandomlyReverted is a free data retrieval call binding the contract method 0x4293dafd.
Solidity: function testRandomlyReverted() view returns()
func (*ContractsSession) TestReverted ¶
func (_Contracts *ContractsSession) TestReverted(r bool) error
TestReverted is a free data retrieval call binding the contract method 0x25e25eed.
Solidity: function testReverted(bool r) pure returns()
func (*ContractsSession) TestRevertedString ¶
func (_Contracts *ContractsSession) TestRevertedString(r bool) error
TestRevertedString is a free data retrieval call binding the contract method 0x7237a3bd.
Solidity: function testRevertedString(bool r) pure returns()
func (*ContractsSession) TestSequence ¶
func (_Contracts *ContractsSession) TestSequence(nonce *big.Int) (*types.Transaction, error)
TestSequence is a paid mutator transaction binding the contract method 0x52df6768.
Solidity: function testSequence(uint256 nonce) returns()
type ContractsTransactor ¶
type ContractsTransactor struct {
// contains filtered or unexported fields
}
ContractsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewContractsTransactor ¶
func NewContractsTransactor(address common.Address, transactor bind.ContractTransactor) (*ContractsTransactor, error)
NewContractsTransactor creates a new write-only instance of Contracts, bound to a specific deployed contract.
func (*ContractsTransactor) TestFunc1 ¶
func (_Contracts *ContractsTransactor) TestFunc1(opts *bind.TransactOpts, arg1 string, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)
TestFunc1 is a paid mutator transaction binding the contract method 0x88655d98.
Solidity: function testFunc1(string arg1, uint256 arg2, bytes arg3) returns()
func (*ContractsTransactor) TestSequence ¶
func (_Contracts *ContractsTransactor) TestSequence(opts *bind.TransactOpts, nonce *big.Int) (*types.Transaction, error)
TestSequence is a paid mutator transaction binding the contract method 0x52df6768.
Solidity: function testSequence(uint256 nonce) returns()
type ContractsTransactorRaw ¶
type ContractsTransactorRaw struct {
Contract *ContractsTransactor // Generic write-only contract binding to access the raw methods on
}
ContractsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ContractsTransactorRaw) Transact ¶
func (_Contracts *ContractsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractsTransactorRaw) Transfer ¶
func (_Contracts *ContractsTransactorRaw) 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 ContractsTransactorSession ¶
type ContractsTransactorSession struct { Contract *ContractsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContractsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ContractsTransactorSession) TestFunc1 ¶
func (_Contracts *ContractsTransactorSession) TestFunc1(arg1 string, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)
TestFunc1 is a paid mutator transaction binding the contract method 0x88655d98.
Solidity: function testFunc1(string arg1, uint256 arg2, bytes arg3) returns()
func (*ContractsTransactorSession) TestSequence ¶
func (_Contracts *ContractsTransactorSession) TestSequence(nonce *big.Int) (*types.Transaction, error)
TestSequence is a paid mutator transaction binding the contract method 0x52df6768.
Solidity: function testSequence(uint256 nonce) returns()