emergencymanager

package
v0.0.0-...-44e5e6b Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EmergencymanagerABI = EmergencymanagerMetaData.ABI

EmergencymanagerABI is the input ABI used to generate the binding from. Deprecated: Use EmergencymanagerMetaData.ABI instead.

View Source
var EmergencymanagerBin = EmergencymanagerMetaData.Bin

EmergencymanagerBin is the compiled bytecode used for deploying new contracts. Deprecated: Use EmergencymanagerMetaData.Bin instead.

View Source
var EmergencymanagerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"OnlyEmergencyState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyNotEmergencyState\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"EmergencyStateActivated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"EmergencyStateDeactivated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"isEmergencyState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x6080604052348015600f57600080fd5b5060838061001e6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806315064c9614602d575b600080fd5b600a5460399060ff1681565b604051901515815260200160405180910390f3fea2646970667358221220ef2640aaafc209ad18630c989cb8498dc8a37f2e3d25938ac21d6e37cd597a9764736f6c63430008140033",
}

EmergencymanagerMetaData contains all meta data concerning the Emergencymanager contract.

Functions

This section is empty.

Types

type Emergencymanager

type Emergencymanager struct {
	EmergencymanagerCaller     // Read-only binding to the contract
	EmergencymanagerTransactor // Write-only binding to the contract
	EmergencymanagerFilterer   // Log filterer for contract events
}

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

func DeployEmergencymanager

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

DeployEmergencymanager deploys a new Ethereum contract, binding an instance of Emergencymanager to it.

func NewEmergencymanager

func NewEmergencymanager(address common.Address, backend bind.ContractBackend) (*Emergencymanager, error)

NewEmergencymanager creates a new instance of Emergencymanager, bound to a specific deployed contract.

type EmergencymanagerCaller

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

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

func NewEmergencymanagerCaller

func NewEmergencymanagerCaller(address common.Address, caller bind.ContractCaller) (*EmergencymanagerCaller, error)

NewEmergencymanagerCaller creates a new read-only instance of Emergencymanager, bound to a specific deployed contract.

func (*EmergencymanagerCaller) IsEmergencyState

func (_Emergencymanager *EmergencymanagerCaller) IsEmergencyState(opts *bind.CallOpts) (bool, error)

IsEmergencyState is a free data retrieval call binding the contract method 0x15064c96.

Solidity: function isEmergencyState() view returns(bool)

type EmergencymanagerCallerRaw

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

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

func (*EmergencymanagerCallerRaw) Call

func (_Emergencymanager *EmergencymanagerCallerRaw) 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 EmergencymanagerCallerSession

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

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

func (*EmergencymanagerCallerSession) IsEmergencyState

func (_Emergencymanager *EmergencymanagerCallerSession) IsEmergencyState() (bool, error)

IsEmergencyState is a free data retrieval call binding the contract method 0x15064c96.

Solidity: function isEmergencyState() view returns(bool)

type EmergencymanagerEmergencyStateActivated

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

EmergencymanagerEmergencyStateActivated represents a EmergencyStateActivated event raised by the Emergencymanager contract.

type EmergencymanagerEmergencyStateActivatedIterator

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

EmergencymanagerEmergencyStateActivatedIterator is returned from FilterEmergencyStateActivated and is used to iterate over the raw logs and unpacked data for EmergencyStateActivated events raised by the Emergencymanager contract.

func (*EmergencymanagerEmergencyStateActivatedIterator) Close

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

func (*EmergencymanagerEmergencyStateActivatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EmergencymanagerEmergencyStateActivatedIterator) 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 EmergencymanagerEmergencyStateDeactivated

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

EmergencymanagerEmergencyStateDeactivated represents a EmergencyStateDeactivated event raised by the Emergencymanager contract.

type EmergencymanagerEmergencyStateDeactivatedIterator

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

EmergencymanagerEmergencyStateDeactivatedIterator is returned from FilterEmergencyStateDeactivated and is used to iterate over the raw logs and unpacked data for EmergencyStateDeactivated events raised by the Emergencymanager contract.

func (*EmergencymanagerEmergencyStateDeactivatedIterator) Close

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

func (*EmergencymanagerEmergencyStateDeactivatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EmergencymanagerEmergencyStateDeactivatedIterator) 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 EmergencymanagerFilterer

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

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

func NewEmergencymanagerFilterer

func NewEmergencymanagerFilterer(address common.Address, filterer bind.ContractFilterer) (*EmergencymanagerFilterer, error)

NewEmergencymanagerFilterer creates a new log filterer instance of Emergencymanager, bound to a specific deployed contract.

func (*EmergencymanagerFilterer) FilterEmergencyStateActivated

func (_Emergencymanager *EmergencymanagerFilterer) FilterEmergencyStateActivated(opts *bind.FilterOpts) (*EmergencymanagerEmergencyStateActivatedIterator, error)

FilterEmergencyStateActivated is a free log retrieval operation binding the contract event 0x2261efe5aef6fedc1fd1550b25facc9181745623049c7901287030b9ad1a5497.

Solidity: event EmergencyStateActivated()

func (*EmergencymanagerFilterer) FilterEmergencyStateDeactivated

func (_Emergencymanager *EmergencymanagerFilterer) FilterEmergencyStateDeactivated(opts *bind.FilterOpts) (*EmergencymanagerEmergencyStateDeactivatedIterator, error)

FilterEmergencyStateDeactivated is a free log retrieval operation binding the contract event 0x1e5e34eea33501aecf2ebec9fe0e884a40804275ea7fe10b2ba084c8374308b3.

Solidity: event EmergencyStateDeactivated()

func (*EmergencymanagerFilterer) ParseEmergencyStateActivated

func (_Emergencymanager *EmergencymanagerFilterer) ParseEmergencyStateActivated(log types.Log) (*EmergencymanagerEmergencyStateActivated, error)

ParseEmergencyStateActivated is a log parse operation binding the contract event 0x2261efe5aef6fedc1fd1550b25facc9181745623049c7901287030b9ad1a5497.

Solidity: event EmergencyStateActivated()

func (*EmergencymanagerFilterer) ParseEmergencyStateDeactivated

func (_Emergencymanager *EmergencymanagerFilterer) ParseEmergencyStateDeactivated(log types.Log) (*EmergencymanagerEmergencyStateDeactivated, error)

ParseEmergencyStateDeactivated is a log parse operation binding the contract event 0x1e5e34eea33501aecf2ebec9fe0e884a40804275ea7fe10b2ba084c8374308b3.

Solidity: event EmergencyStateDeactivated()

func (*EmergencymanagerFilterer) WatchEmergencyStateActivated

func (_Emergencymanager *EmergencymanagerFilterer) WatchEmergencyStateActivated(opts *bind.WatchOpts, sink chan<- *EmergencymanagerEmergencyStateActivated) (event.Subscription, error)

WatchEmergencyStateActivated is a free log subscription operation binding the contract event 0x2261efe5aef6fedc1fd1550b25facc9181745623049c7901287030b9ad1a5497.

Solidity: event EmergencyStateActivated()

func (*EmergencymanagerFilterer) WatchEmergencyStateDeactivated

func (_Emergencymanager *EmergencymanagerFilterer) WatchEmergencyStateDeactivated(opts *bind.WatchOpts, sink chan<- *EmergencymanagerEmergencyStateDeactivated) (event.Subscription, error)

WatchEmergencyStateDeactivated is a free log subscription operation binding the contract event 0x1e5e34eea33501aecf2ebec9fe0e884a40804275ea7fe10b2ba084c8374308b3.

Solidity: event EmergencyStateDeactivated()

type EmergencymanagerRaw

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

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

func (*EmergencymanagerRaw) Call

func (_Emergencymanager *EmergencymanagerRaw) 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 (*EmergencymanagerRaw) Transact

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

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

func (*EmergencymanagerRaw) Transfer

func (_Emergencymanager *EmergencymanagerRaw) 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 EmergencymanagerSession

type EmergencymanagerSession struct {
	Contract     *Emergencymanager // 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
}

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

func (*EmergencymanagerSession) IsEmergencyState

func (_Emergencymanager *EmergencymanagerSession) IsEmergencyState() (bool, error)

IsEmergencyState is a free data retrieval call binding the contract method 0x15064c96.

Solidity: function isEmergencyState() view returns(bool)

type EmergencymanagerTransactor

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

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

func NewEmergencymanagerTransactor

func NewEmergencymanagerTransactor(address common.Address, transactor bind.ContractTransactor) (*EmergencymanagerTransactor, error)

NewEmergencymanagerTransactor creates a new write-only instance of Emergencymanager, bound to a specific deployed contract.

type EmergencymanagerTransactorRaw

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

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

func (*EmergencymanagerTransactorRaw) Transact

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

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

func (*EmergencymanagerTransactorRaw) Transfer

func (_Emergencymanager *EmergencymanagerTransactorRaw) 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 EmergencymanagerTransactorSession

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

EmergencymanagerTransactorSession 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