contracts

package
v0.0.0-...-92d349b Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const SubscriptionABI = "" /* 146-byte string literal not displayed */

SubscriptionABI is the input ABI used to generate the binding from.

Variables

View Source
var SubscriptionBin = "" /* 286-byte string literal not displayed */

SubscriptionBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type Subscription

type Subscription struct {
	SubscriptionCaller     // Read-only binding to the contract
	SubscriptionTransactor // Write-only binding to the contract
	SubscriptionFilterer   // Log filterer for contract events
}

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

func DeploySubscription

func DeploySubscription(auth *bind.TransactOpts, backend bind.ContractBackend) (libcommon.Address, types.Transaction, *Subscription, error)

DeploySubscription deploys a new Ethereum contract, binding an instance of Subscription to it.

func NewSubscription

func NewSubscription(address libcommon.Address, backend bind.ContractBackend) (*Subscription, error)

NewSubscription creates a new instance of Subscription, bound to a specific deployed contract.

type SubscriptionCaller

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

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

func NewSubscriptionCaller

func NewSubscriptionCaller(address libcommon.Address, caller bind.ContractCaller) (*SubscriptionCaller, error)

NewSubscriptionCaller creates a new read-only instance of Subscription, bound to a specific deployed contract.

type SubscriptionCallerRaw

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

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

func (*SubscriptionCallerRaw) Call

func (_Subscription *SubscriptionCallerRaw) 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 SubscriptionCallerSession

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

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

type SubscriptionFilterer

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

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

func NewSubscriptionFilterer

func NewSubscriptionFilterer(address libcommon.Address, filterer bind.ContractFilterer) (*SubscriptionFilterer, error)

NewSubscriptionFilterer creates a new log filterer instance of Subscription, bound to a specific deployed contract.

func (*SubscriptionFilterer) FilterSubscriptionEvent

func (_Subscription *SubscriptionFilterer) FilterSubscriptionEvent(opts *bind.FilterOpts) (*SubscriptionSubscriptionEventIterator, error)

FilterSubscriptionEvent is a free log retrieval operation binding the contract event 0x67abc7edb0ab50964ef0e90541d39366b9c69f6f714520f2ff4570059ee8ad80.

Solidity: event SubscriptionEvent()

func (*SubscriptionFilterer) ParseSubscriptionEvent

func (_Subscription *SubscriptionFilterer) ParseSubscriptionEvent(log types.Log) (*SubscriptionSubscriptionEvent, error)

ParseSubscriptionEvent is a log parse operation binding the contract event 0x67abc7edb0ab50964ef0e90541d39366b9c69f6f714520f2ff4570059ee8ad80.

Solidity: event SubscriptionEvent()

func (*SubscriptionFilterer) WatchSubscriptionEvent

func (_Subscription *SubscriptionFilterer) WatchSubscriptionEvent(opts *bind.WatchOpts, sink chan<- *SubscriptionSubscriptionEvent) (event.Subscription, error)

WatchSubscriptionEvent is a free log subscription operation binding the contract event 0x67abc7edb0ab50964ef0e90541d39366b9c69f6f714520f2ff4570059ee8ad80.

Solidity: event SubscriptionEvent()

type SubscriptionRaw

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

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

func (*SubscriptionRaw) Call

func (_Subscription *SubscriptionRaw) 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 (*SubscriptionRaw) Transact

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

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

func (*SubscriptionRaw) Transfer

func (_Subscription *SubscriptionRaw) 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 SubscriptionSession

type SubscriptionSession struct {
	Contract     *Subscription     // 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
}

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

func (*SubscriptionSession) Fallback

func (_Subscription *SubscriptionSession) Fallback(calldata []byte) (types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() returns()

type SubscriptionSubscriptionEvent

type SubscriptionSubscriptionEvent struct {
	Raw types.Log // Blockchain specific contextual infos
}

SubscriptionSubscriptionEvent represents a SubscriptionEvent event raised by the Subscription contract.

type SubscriptionSubscriptionEventIterator

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

SubscriptionSubscriptionEventIterator is returned from FilterSubscriptionEvent and is used to iterate over the raw logs and unpacked data for SubscriptionEvent events raised by the Subscription contract.

func (*SubscriptionSubscriptionEventIterator) Close

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

func (*SubscriptionSubscriptionEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SubscriptionSubscriptionEventIterator) 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 SubscriptionTransactor

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

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

func NewSubscriptionTransactor

func NewSubscriptionTransactor(address libcommon.Address, transactor bind.ContractTransactor) (*SubscriptionTransactor, error)

NewSubscriptionTransactor creates a new write-only instance of Subscription, bound to a specific deployed contract.

func (*SubscriptionTransactor) Fallback

func (_Subscription *SubscriptionTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() returns()

type SubscriptionTransactorRaw

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

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

func (*SubscriptionTransactorRaw) Transact

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

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

func (*SubscriptionTransactorRaw) Transfer

func (_Subscription *SubscriptionTransactorRaw) 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 SubscriptionTransactorSession

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

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

func (*SubscriptionTransactorSession) Fallback

func (_Subscription *SubscriptionTransactorSession) Fallback(calldata []byte) (types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() returns()

Jump to

Keyboard shortcuts

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