ownable2step

package
v1.0.2-athens3 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Ownable2StepABI = Ownable2StepMetaData.ABI

Ownable2StepABI is the input ABI used to generate the binding from. Deprecated: Use Ownable2StepMetaData.ABI instead.

View Source
var Ownable2StepMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

Ownable2StepMetaData contains all meta data concerning the Ownable2Step contract.

Functions

This section is empty.

Types

type Ownable2Step

type Ownable2Step struct {
	Ownable2StepCaller     // Read-only binding to the contract
	Ownable2StepTransactor // Write-only binding to the contract
	Ownable2StepFilterer   // Log filterer for contract events
}

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

func NewOwnable2Step

func NewOwnable2Step(address common.Address, backend bind.ContractBackend) (*Ownable2Step, error)

NewOwnable2Step creates a new instance of Ownable2Step, bound to a specific deployed contract.

type Ownable2StepCaller

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

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

func NewOwnable2StepCaller

func NewOwnable2StepCaller(address common.Address, caller bind.ContractCaller) (*Ownable2StepCaller, error)

NewOwnable2StepCaller creates a new read-only instance of Ownable2Step, bound to a specific deployed contract.

func (*Ownable2StepCaller) Owner

func (_Ownable2Step *Ownable2StepCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*Ownable2StepCaller) PendingOwner

func (_Ownable2Step *Ownable2StepCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

type Ownable2StepCallerRaw

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

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

func (*Ownable2StepCallerRaw) Call

func (_Ownable2Step *Ownable2StepCallerRaw) 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 Ownable2StepCallerSession

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

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

func (*Ownable2StepCallerSession) Owner

func (_Ownable2Step *Ownable2StepCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*Ownable2StepCallerSession) PendingOwner

func (_Ownable2Step *Ownable2StepCallerSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

type Ownable2StepFilterer

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

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

func NewOwnable2StepFilterer

func NewOwnable2StepFilterer(address common.Address, filterer bind.ContractFilterer) (*Ownable2StepFilterer, error)

NewOwnable2StepFilterer creates a new log filterer instance of Ownable2Step, bound to a specific deployed contract.

func (*Ownable2StepFilterer) FilterOwnershipTransferStarted

func (_Ownable2Step *Ownable2StepFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*Ownable2StepOwnershipTransferStartedIterator, error)

FilterOwnershipTransferStarted is a free log retrieval operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.

Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)

func (*Ownable2StepFilterer) FilterOwnershipTransferred

func (_Ownable2Step *Ownable2StepFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*Ownable2StepOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*Ownable2StepFilterer) ParseOwnershipTransferStarted

func (_Ownable2Step *Ownable2StepFilterer) ParseOwnershipTransferStarted(log types.Log) (*Ownable2StepOwnershipTransferStarted, error)

ParseOwnershipTransferStarted is a log parse operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.

Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)

func (*Ownable2StepFilterer) ParseOwnershipTransferred

func (_Ownable2Step *Ownable2StepFilterer) ParseOwnershipTransferred(log types.Log) (*Ownable2StepOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*Ownable2StepFilterer) WatchOwnershipTransferStarted

func (_Ownable2Step *Ownable2StepFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *Ownable2StepOwnershipTransferStarted, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferStarted is a free log subscription operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.

Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)

func (*Ownable2StepFilterer) WatchOwnershipTransferred

func (_Ownable2Step *Ownable2StepFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *Ownable2StepOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

type Ownable2StepOwnershipTransferStarted

type Ownable2StepOwnershipTransferStarted struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

Ownable2StepOwnershipTransferStarted represents a OwnershipTransferStarted event raised by the Ownable2Step contract.

type Ownable2StepOwnershipTransferStartedIterator

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

Ownable2StepOwnershipTransferStartedIterator is returned from FilterOwnershipTransferStarted and is used to iterate over the raw logs and unpacked data for OwnershipTransferStarted events raised by the Ownable2Step contract.

func (*Ownable2StepOwnershipTransferStartedIterator) Close

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

func (*Ownable2StepOwnershipTransferStartedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Ownable2StepOwnershipTransferStartedIterator) 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 Ownable2StepOwnershipTransferred

type Ownable2StepOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

Ownable2StepOwnershipTransferred represents a OwnershipTransferred event raised by the Ownable2Step contract.

type Ownable2StepOwnershipTransferredIterator

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

Ownable2StepOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Ownable2Step contract.

func (*Ownable2StepOwnershipTransferredIterator) Close

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

func (*Ownable2StepOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Ownable2StepOwnershipTransferredIterator) 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 Ownable2StepRaw

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

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

func (*Ownable2StepRaw) Call

func (_Ownable2Step *Ownable2StepRaw) 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 (*Ownable2StepRaw) Transact

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

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

func (*Ownable2StepRaw) Transfer

func (_Ownable2Step *Ownable2StepRaw) 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 Ownable2StepSession

type Ownable2StepSession struct {
	Contract     *Ownable2Step     // 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
}

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

func (*Ownable2StepSession) AcceptOwnership

func (_Ownable2Step *Ownable2StepSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*Ownable2StepSession) Owner

func (_Ownable2Step *Ownable2StepSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*Ownable2StepSession) PendingOwner

func (_Ownable2Step *Ownable2StepSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*Ownable2StepSession) RenounceOwnership

func (_Ownable2Step *Ownable2StepSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*Ownable2StepSession) TransferOwnership

func (_Ownable2Step *Ownable2StepSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type Ownable2StepTransactor

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

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

func NewOwnable2StepTransactor

func NewOwnable2StepTransactor(address common.Address, transactor bind.ContractTransactor) (*Ownable2StepTransactor, error)

NewOwnable2StepTransactor creates a new write-only instance of Ownable2Step, bound to a specific deployed contract.

func (*Ownable2StepTransactor) AcceptOwnership

func (_Ownable2Step *Ownable2StepTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*Ownable2StepTransactor) RenounceOwnership

func (_Ownable2Step *Ownable2StepTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*Ownable2StepTransactor) TransferOwnership

func (_Ownable2Step *Ownable2StepTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type Ownable2StepTransactorRaw

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

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

func (*Ownable2StepTransactorRaw) Transact

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

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

func (*Ownable2StepTransactorRaw) Transfer

func (_Ownable2Step *Ownable2StepTransactorRaw) 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 Ownable2StepTransactorSession

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

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

func (*Ownable2StepTransactorSession) AcceptOwnership

func (_Ownable2Step *Ownable2StepTransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*Ownable2StepTransactorSession) RenounceOwnership

func (_Ownable2Step *Ownable2StepTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*Ownable2StepTransactorSession) TransferOwnership

func (_Ownable2Step *Ownable2StepTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

Jump to

Keyboard shortcuts

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