simplestorage

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SimplestorageABI = SimplestorageMetaData.ABI

SimplestorageABI is the input ABI used to generate the binding from. Deprecated: Use SimplestorageMetaData.ABI instead.

View Source
var SimplestorageMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"SetEvent\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"bad\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"get\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"set\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

SimplestorageMetaData contains all meta data concerning the Simplestorage contract.

Functions

This section is empty.

Types

type Simplestorage

type Simplestorage struct {
	SimplestorageCaller     // Read-only binding to the contract
	SimplestorageTransactor // Write-only binding to the contract
	SimplestorageFilterer   // Log filterer for contract events
}

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

func NewSimplestorage

func NewSimplestorage(address common.Address, backend bind.ContractBackend) (*Simplestorage, error)

NewSimplestorage creates a new instance of Simplestorage, bound to a specific deployed contract.

type SimplestorageCaller

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

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

func NewSimplestorageCaller

func NewSimplestorageCaller(address common.Address, caller bind.ContractCaller) (*SimplestorageCaller, error)

NewSimplestorageCaller creates a new read-only instance of Simplestorage, bound to a specific deployed contract.

func (*SimplestorageCaller) Bad

func (_Simplestorage *SimplestorageCaller) Bad(opts *bind.CallOpts) error

Bad is a free data retrieval call binding the contract method 0x9c3674fc.

Solidity: function bad() pure returns()

func (*SimplestorageCaller) Get

func (_Simplestorage *SimplestorageCaller) Get(opts *bind.CallOpts) (*big.Int, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() view returns(uint256)

type SimplestorageCallerRaw

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

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

func (*SimplestorageCallerRaw) Call

func (_Simplestorage *SimplestorageCallerRaw) 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 SimplestorageCallerSession

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

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

func (*SimplestorageCallerSession) Bad

func (_Simplestorage *SimplestorageCallerSession) Bad() error

Bad is a free data retrieval call binding the contract method 0x9c3674fc.

Solidity: function bad() pure returns()

func (*SimplestorageCallerSession) Get

func (_Simplestorage *SimplestorageCallerSession) Get() (*big.Int, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() view returns(uint256)

type SimplestorageFilterer

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

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

func NewSimplestorageFilterer

func NewSimplestorageFilterer(address common.Address, filterer bind.ContractFilterer) (*SimplestorageFilterer, error)

NewSimplestorageFilterer creates a new log filterer instance of Simplestorage, bound to a specific deployed contract.

func (*SimplestorageFilterer) FilterSetEvent

func (_Simplestorage *SimplestorageFilterer) FilterSetEvent(opts *bind.FilterOpts) (*SimplestorageSetEventIterator, error)

FilterSetEvent is a free log retrieval operation binding the contract event 0x0de2d86113046b9e8bb6b785e96a6228f6803952bf53a40b68a36dce316218c1.

Solidity: event SetEvent(uint256 value)

func (*SimplestorageFilterer) ParseSetEvent

func (_Simplestorage *SimplestorageFilterer) ParseSetEvent(log types.Log) (*SimplestorageSetEvent, error)

ParseSetEvent is a log parse operation binding the contract event 0x0de2d86113046b9e8bb6b785e96a6228f6803952bf53a40b68a36dce316218c1.

Solidity: event SetEvent(uint256 value)

func (*SimplestorageFilterer) WatchSetEvent

func (_Simplestorage *SimplestorageFilterer) WatchSetEvent(opts *bind.WatchOpts, sink chan<- *SimplestorageSetEvent) (event.Subscription, error)

WatchSetEvent is a free log subscription operation binding the contract event 0x0de2d86113046b9e8bb6b785e96a6228f6803952bf53a40b68a36dce316218c1.

Solidity: event SetEvent(uint256 value)

type SimplestorageRaw

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

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

func (*SimplestorageRaw) Call

func (_Simplestorage *SimplestorageRaw) 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 (*SimplestorageRaw) Transact

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

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

func (*SimplestorageRaw) Transfer

func (_Simplestorage *SimplestorageRaw) 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 SimplestorageSession

type SimplestorageSession struct {
	Contract     *Simplestorage    // 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
}

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

func (*SimplestorageSession) Bad

func (_Simplestorage *SimplestorageSession) Bad() error

Bad is a free data retrieval call binding the contract method 0x9c3674fc.

Solidity: function bad() pure returns()

func (*SimplestorageSession) Get

func (_Simplestorage *SimplestorageSession) Get() (*big.Int, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() view returns(uint256)

func (*SimplestorageSession) Set

func (_Simplestorage *SimplestorageSession) Set(value *big.Int) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x60fe47b1.

Solidity: function set(uint256 value) returns()

type SimplestorageSetEvent

type SimplestorageSetEvent struct {
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

SimplestorageSetEvent represents a SetEvent event raised by the Simplestorage contract.

type SimplestorageSetEventIterator

type SimplestorageSetEventIterator struct {
	Event *SimplestorageSetEvent // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SimplestorageSetEventIterator is returned from FilterSetEvent and is used to iterate over the raw logs and unpacked data for SetEvent events raised by the Simplestorage contract.

func (*SimplestorageSetEventIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*SimplestorageSetEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SimplestorageSetEventIterator) Next

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 SimplestorageTransactor

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

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

func NewSimplestorageTransactor

func NewSimplestorageTransactor(address common.Address, transactor bind.ContractTransactor) (*SimplestorageTransactor, error)

NewSimplestorageTransactor creates a new write-only instance of Simplestorage, bound to a specific deployed contract.

func (*SimplestorageTransactor) Set

func (_Simplestorage *SimplestorageTransactor) Set(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x60fe47b1.

Solidity: function set(uint256 value) returns()

type SimplestorageTransactorRaw

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

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

func (*SimplestorageTransactorRaw) Transact

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

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

func (*SimplestorageTransactorRaw) Transfer

func (_Simplestorage *SimplestorageTransactorRaw) 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 SimplestorageTransactorSession

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

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

func (*SimplestorageTransactorSession) Set

func (_Simplestorage *SimplestorageTransactorSession) Set(value *big.Int) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x60fe47b1.

Solidity: function set(uint256 value) returns()

Jump to

Keyboard shortcuts

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