alastriaContracts

package
v0.0.0-...-b2c4e65 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AlastriaContractsABI = AlastriaContractsMetaData.ABI

AlastriaContractsABI is the input ABI used to generate the binding from. Deprecated: Use AlastriaContractsMetaData.ABI instead.

View Source
var AlastriaContractsMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_logic\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_admin\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"constant\":false,\"inputs\":[],\"name\":\"admin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"changeAdmin\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"}]",
}

AlastriaContractsMetaData contains all meta data concerning the AlastriaContracts contract.

Functions

This section is empty.

Types

type AlastriaContracts

type AlastriaContracts struct {
	AlastriaContractsCaller     // Read-only binding to the contract
	AlastriaContractsTransactor // Write-only binding to the contract
	AlastriaContractsFilterer   // Log filterer for contract events
}

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

func NewAlastriaContracts

func NewAlastriaContracts(address common.Address, backend bind.ContractBackend) (*AlastriaContracts, error)

NewAlastriaContracts creates a new instance of AlastriaContracts, bound to a specific deployed contract.

type AlastriaContractsAdminChanged

type AlastriaContractsAdminChanged struct {
	PreviousAdmin common.Address
	NewAdmin      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

AlastriaContractsAdminChanged represents a AdminChanged event raised by the AlastriaContracts contract.

type AlastriaContractsAdminChangedIterator

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

AlastriaContractsAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the AlastriaContracts contract.

func (*AlastriaContractsAdminChangedIterator) Close

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

func (*AlastriaContractsAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AlastriaContractsAdminChangedIterator) 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 AlastriaContractsCaller

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

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

func NewAlastriaContractsCaller

func NewAlastriaContractsCaller(address common.Address, caller bind.ContractCaller) (*AlastriaContractsCaller, error)

NewAlastriaContractsCaller creates a new read-only instance of AlastriaContracts, bound to a specific deployed contract.

type AlastriaContractsCallerRaw

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

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

func (*AlastriaContractsCallerRaw) Call

func (_AlastriaContracts *AlastriaContractsCallerRaw) 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 AlastriaContractsCallerSession

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

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

type AlastriaContractsFilterer

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

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

func NewAlastriaContractsFilterer

func NewAlastriaContractsFilterer(address common.Address, filterer bind.ContractFilterer) (*AlastriaContractsFilterer, error)

NewAlastriaContractsFilterer creates a new log filterer instance of AlastriaContracts, bound to a specific deployed contract.

func (*AlastriaContractsFilterer) FilterAdminChanged

func (_AlastriaContracts *AlastriaContractsFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*AlastriaContractsAdminChangedIterator, error)

FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*AlastriaContractsFilterer) FilterUpgraded

func (_AlastriaContracts *AlastriaContractsFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*AlastriaContractsUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*AlastriaContractsFilterer) ParseAdminChanged

func (_AlastriaContracts *AlastriaContractsFilterer) ParseAdminChanged(log types.Log) (*AlastriaContractsAdminChanged, error)

ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*AlastriaContractsFilterer) ParseUpgraded

func (_AlastriaContracts *AlastriaContractsFilterer) ParseUpgraded(log types.Log) (*AlastriaContractsUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*AlastriaContractsFilterer) WatchAdminChanged

func (_AlastriaContracts *AlastriaContractsFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *AlastriaContractsAdminChanged) (event.Subscription, error)

WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*AlastriaContractsFilterer) WatchUpgraded

func (_AlastriaContracts *AlastriaContractsFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *AlastriaContractsUpgraded, implementation []common.Address) (event.Subscription, error)

WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

type AlastriaContractsRaw

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

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

func (*AlastriaContractsRaw) Call

func (_AlastriaContracts *AlastriaContractsRaw) 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 (*AlastriaContractsRaw) Transact

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

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

func (*AlastriaContractsRaw) Transfer

func (_AlastriaContracts *AlastriaContractsRaw) 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 AlastriaContractsSession

type AlastriaContractsSession struct {
	Contract     *AlastriaContracts // 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
}

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

func (*AlastriaContractsSession) Admin

func (_AlastriaContracts *AlastriaContractsSession) Admin() (*types.Transaction, error)

Admin is a paid mutator transaction binding the contract method 0xf851a440.

Solidity: function admin() returns(address)

func (*AlastriaContractsSession) ChangeAdmin

func (_AlastriaContracts *AlastriaContractsSession) ChangeAdmin(newAdmin common.Address) (*types.Transaction, error)

ChangeAdmin is a paid mutator transaction binding the contract method 0x8f283970.

Solidity: function changeAdmin(address newAdmin) returns()

func (*AlastriaContractsSession) Fallback

func (_AlastriaContracts *AlastriaContractsSession) Fallback(calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() payable returns()

func (*AlastriaContractsSession) Implementation

func (_AlastriaContracts *AlastriaContractsSession) Implementation() (*types.Transaction, error)

Implementation is a paid mutator transaction binding the contract method 0x5c60da1b.

Solidity: function implementation() returns(address)

func (*AlastriaContractsSession) UpgradeTo

func (_AlastriaContracts *AlastriaContractsSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*AlastriaContractsSession) UpgradeToAndCall

func (_AlastriaContracts *AlastriaContractsSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type AlastriaContractsTransactor

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

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

func NewAlastriaContractsTransactor

func NewAlastriaContractsTransactor(address common.Address, transactor bind.ContractTransactor) (*AlastriaContractsTransactor, error)

NewAlastriaContractsTransactor creates a new write-only instance of AlastriaContracts, bound to a specific deployed contract.

func (*AlastriaContractsTransactor) Admin

func (_AlastriaContracts *AlastriaContractsTransactor) Admin(opts *bind.TransactOpts) (*types.Transaction, error)

Admin is a paid mutator transaction binding the contract method 0xf851a440.

Solidity: function admin() returns(address)

func (*AlastriaContractsTransactor) ChangeAdmin

func (_AlastriaContracts *AlastriaContractsTransactor) ChangeAdmin(opts *bind.TransactOpts, newAdmin common.Address) (*types.Transaction, error)

ChangeAdmin is a paid mutator transaction binding the contract method 0x8f283970.

Solidity: function changeAdmin(address newAdmin) returns()

func (*AlastriaContractsTransactor) Fallback

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

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

Solidity: fallback() payable returns()

func (*AlastriaContractsTransactor) Implementation

func (_AlastriaContracts *AlastriaContractsTransactor) Implementation(opts *bind.TransactOpts) (*types.Transaction, error)

Implementation is a paid mutator transaction binding the contract method 0x5c60da1b.

Solidity: function implementation() returns(address)

func (*AlastriaContractsTransactor) UpgradeTo

func (_AlastriaContracts *AlastriaContractsTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*AlastriaContractsTransactor) UpgradeToAndCall

func (_AlastriaContracts *AlastriaContractsTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type AlastriaContractsTransactorRaw

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

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

func (*AlastriaContractsTransactorRaw) Transact

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

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

func (*AlastriaContractsTransactorRaw) Transfer

func (_AlastriaContracts *AlastriaContractsTransactorRaw) 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 AlastriaContractsTransactorSession

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

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

func (*AlastriaContractsTransactorSession) Admin

func (_AlastriaContracts *AlastriaContractsTransactorSession) Admin() (*types.Transaction, error)

Admin is a paid mutator transaction binding the contract method 0xf851a440.

Solidity: function admin() returns(address)

func (*AlastriaContractsTransactorSession) ChangeAdmin

func (_AlastriaContracts *AlastriaContractsTransactorSession) ChangeAdmin(newAdmin common.Address) (*types.Transaction, error)

ChangeAdmin is a paid mutator transaction binding the contract method 0x8f283970.

Solidity: function changeAdmin(address newAdmin) returns()

func (*AlastriaContractsTransactorSession) Fallback

func (_AlastriaContracts *AlastriaContractsTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() payable returns()

func (*AlastriaContractsTransactorSession) Implementation

func (_AlastriaContracts *AlastriaContractsTransactorSession) Implementation() (*types.Transaction, error)

Implementation is a paid mutator transaction binding the contract method 0x5c60da1b.

Solidity: function implementation() returns(address)

func (*AlastriaContractsTransactorSession) UpgradeTo

func (_AlastriaContracts *AlastriaContractsTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*AlastriaContractsTransactorSession) UpgradeToAndCall

func (_AlastriaContracts *AlastriaContractsTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type AlastriaContractsUpgraded

type AlastriaContractsUpgraded struct {
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

AlastriaContractsUpgraded represents a Upgraded event raised by the AlastriaContracts contract.

type AlastriaContractsUpgradedIterator

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

AlastriaContractsUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the AlastriaContracts contract.

func (*AlastriaContractsUpgradedIterator) Close

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

func (*AlastriaContractsUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AlastriaContractsUpgradedIterator) 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.

Jump to

Keyboard shortcuts

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