Documentation ¶
Index ¶
- Constants
- Variables
- type ADAI
- type ADAICaller
- type ADAICallerRaw
- type ADAICallerSession
- type ADAIFilterer
- func (_ADAI *ADAIFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*ADAIUpgradedIterator, error)
- func (_ADAI *ADAIFilterer) ParseUpgraded(log types.Log) (*ADAIUpgraded, error)
- func (_ADAI *ADAIFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *ADAIUpgraded, ...) (event.Subscription, error)
- type ADAIRaw
- func (_ADAI *ADAIRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ADAI *ADAIRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ADAI *ADAIRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ADAISession
- func (_ADAI *ADAISession) Admin() (*types.Transaction, error)
- func (_ADAI *ADAISession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_ADAI *ADAISession) Implementation() (*types.Transaction, error)
- func (_ADAI *ADAISession) Initialize(_logic common.Address, _data []byte) (*types.Transaction, error)
- func (_ADAI *ADAISession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_ADAI *ADAISession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type ADAITransactor
- func (_ADAI *ADAITransactor) Admin(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ADAI *ADAITransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
- func (_ADAI *ADAITransactor) Implementation(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ADAI *ADAITransactor) Initialize(opts *bind.TransactOpts, _logic common.Address, _data []byte) (*types.Transaction, error)
- func (_ADAI *ADAITransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_ADAI *ADAITransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
- type ADAITransactorRaw
- type ADAITransactorSession
- func (_ADAI *ADAITransactorSession) Admin() (*types.Transaction, error)
- func (_ADAI *ADAITransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_ADAI *ADAITransactorSession) Implementation() (*types.Transaction, error)
- func (_ADAI *ADAITransactorSession) Initialize(_logic common.Address, _data []byte) (*types.Transaction, error)
- func (_ADAI *ADAITransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_ADAI *ADAITransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type ADAIUpgraded
- type ADAIUpgradedIterator
- type SmartContract
- type Upgraded
- func (*Upgraded) Descriptor() ([]byte, []int)deprecated
- func (x *Upgraded) GetImplementation() []byte
- func (x *Upgraded) GetTs() *timestamppb.Timestamp
- func (*Upgraded) ProtoMessage()
- func (x *Upgraded) ProtoReflect() protoreflect.Message
- func (x *Upgraded) Reset()
- func (x *Upgraded) String() string
Constants ¶
const ADAIABI = "" /* 1432-byte string literal not displayed */
ADAIABI is the input ABI used to generate the binding from.
Variables ¶
var File_Adai_Adai_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ADAI ¶
type ADAI struct { ADAICaller // Read-only binding to the contract ADAITransactor // Write-only binding to the contract ADAIFilterer // Log filterer for contract events }
ADAI is an auto generated Go binding around an Ethereum contract.
type ADAICaller ¶
type ADAICaller struct {
// contains filtered or unexported fields
}
ADAICaller is an auto generated read-only Go binding around an Ethereum contract.
func NewADAICaller ¶
func NewADAICaller(address common.Address, caller bind.ContractCaller) (*ADAICaller, error)
NewADAICaller creates a new read-only instance of ADAI, bound to a specific deployed contract.
type ADAICallerRaw ¶
type ADAICallerRaw struct {
Contract *ADAICaller // Generic read-only contract binding to access the raw methods on
}
ADAICallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ADAICallerRaw) Call ¶
func (_ADAI *ADAICallerRaw) 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 ADAICallerSession ¶
type ADAICallerSession struct { Contract *ADAICaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ADAICallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ADAIFilterer ¶
type ADAIFilterer struct {
// contains filtered or unexported fields
}
ADAIFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewADAIFilterer ¶
func NewADAIFilterer(address common.Address, filterer bind.ContractFilterer) (*ADAIFilterer, error)
NewADAIFilterer creates a new log filterer instance of ADAI, bound to a specific deployed contract.
func (*ADAIFilterer) FilterUpgraded ¶
func (_ADAI *ADAIFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*ADAIUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*ADAIFilterer) ParseUpgraded ¶
func (_ADAI *ADAIFilterer) ParseUpgraded(log types.Log) (*ADAIUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*ADAIFilterer) WatchUpgraded ¶
func (_ADAI *ADAIFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *ADAIUpgraded, 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 ADAIRaw ¶
type ADAIRaw struct {
Contract *ADAI // Generic contract binding to access the raw methods on
}
ADAIRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ADAIRaw) Call ¶
func (_ADAI *ADAIRaw) 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 (*ADAIRaw) Transact ¶
func (_ADAI *ADAIRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ADAIRaw) Transfer ¶
func (_ADAI *ADAIRaw) 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 ADAISession ¶
type ADAISession struct { Contract *ADAI // 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 }
ADAISession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ADAISession) Admin ¶
func (_ADAI *ADAISession) Admin() (*types.Transaction, error)
Admin is a paid mutator transaction binding the contract method 0xf851a440.
Solidity: function admin() returns(address)
func (*ADAISession) Fallback ¶
func (_ADAI *ADAISession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*ADAISession) Implementation ¶
func (_ADAI *ADAISession) Implementation() (*types.Transaction, error)
Implementation is a paid mutator transaction binding the contract method 0x5c60da1b.
Solidity: function implementation() returns(address)
func (*ADAISession) Initialize ¶
func (_ADAI *ADAISession) Initialize(_logic common.Address, _data []byte) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xd1f57894.
Solidity: function initialize(address _logic, bytes _data) payable returns()
func (*ADAISession) UpgradeTo ¶
func (_ADAI *ADAISession) 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 (*ADAISession) UpgradeToAndCall ¶
func (_ADAI *ADAISession) 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 ADAITransactor ¶
type ADAITransactor struct {
// contains filtered or unexported fields
}
ADAITransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewADAITransactor ¶
func NewADAITransactor(address common.Address, transactor bind.ContractTransactor) (*ADAITransactor, error)
NewADAITransactor creates a new write-only instance of ADAI, bound to a specific deployed contract.
func (*ADAITransactor) Admin ¶
func (_ADAI *ADAITransactor) Admin(opts *bind.TransactOpts) (*types.Transaction, error)
Admin is a paid mutator transaction binding the contract method 0xf851a440.
Solidity: function admin() returns(address)
func (*ADAITransactor) Fallback ¶
func (_ADAI *ADAITransactor) 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 (*ADAITransactor) Implementation ¶
func (_ADAI *ADAITransactor) Implementation(opts *bind.TransactOpts) (*types.Transaction, error)
Implementation is a paid mutator transaction binding the contract method 0x5c60da1b.
Solidity: function implementation() returns(address)
func (*ADAITransactor) Initialize ¶
func (_ADAI *ADAITransactor) Initialize(opts *bind.TransactOpts, _logic common.Address, _data []byte) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xd1f57894.
Solidity: function initialize(address _logic, bytes _data) payable returns()
func (*ADAITransactor) UpgradeTo ¶
func (_ADAI *ADAITransactor) 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 (*ADAITransactor) UpgradeToAndCall ¶
func (_ADAI *ADAITransactor) 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 ADAITransactorRaw ¶
type ADAITransactorRaw struct {
Contract *ADAITransactor // Generic write-only contract binding to access the raw methods on
}
ADAITransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ADAITransactorRaw) Transact ¶
func (_ADAI *ADAITransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ADAITransactorRaw) Transfer ¶
func (_ADAI *ADAITransactorRaw) 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 ADAITransactorSession ¶
type ADAITransactorSession struct { Contract *ADAITransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ADAITransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ADAITransactorSession) Admin ¶
func (_ADAI *ADAITransactorSession) Admin() (*types.Transaction, error)
Admin is a paid mutator transaction binding the contract method 0xf851a440.
Solidity: function admin() returns(address)
func (*ADAITransactorSession) Fallback ¶
func (_ADAI *ADAITransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*ADAITransactorSession) Implementation ¶
func (_ADAI *ADAITransactorSession) Implementation() (*types.Transaction, error)
Implementation is a paid mutator transaction binding the contract method 0x5c60da1b.
Solidity: function implementation() returns(address)
func (*ADAITransactorSession) Initialize ¶
func (_ADAI *ADAITransactorSession) Initialize(_logic common.Address, _data []byte) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xd1f57894.
Solidity: function initialize(address _logic, bytes _data) payable returns()
func (*ADAITransactorSession) UpgradeTo ¶
func (_ADAI *ADAITransactorSession) 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 (*ADAITransactorSession) UpgradeToAndCall ¶
func (_ADAI *ADAITransactorSession) 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 ADAIUpgraded ¶
type ADAIUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
ADAIUpgraded represents a Upgraded event raised by the ADAI contract.
type ADAIUpgradedIterator ¶
type ADAIUpgradedIterator struct { Event *ADAIUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ADAIUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the ADAI contract.
func (*ADAIUpgradedIterator) Close ¶
func (it *ADAIUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ADAIUpgradedIterator) Error ¶
func (it *ADAIUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ADAIUpgradedIterator) Next ¶
func (it *ADAIUpgradedIterator) Next() bool
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 SmartContract ¶
type SmartContract struct{}
func (*SmartContract) Message ¶
func (sc *SmartContract) Message(eventName string, contractAbi *abi.ABI, vLog types.Log, timestamp *timestamppb.Timestamp) protoreflect.ProtoMessage
type Upgraded ¶
type Upgraded struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Implementation []byte `protobuf:"bytes,2,opt,name=Implementation,proto3" json:"Implementation,omitempty"` // address // contains filtered or unexported fields }
func (*Upgraded) Descriptor
deprecated
func (*Upgraded) GetImplementation ¶
func (*Upgraded) GetTs ¶
func (x *Upgraded) GetTs() *timestamppb.Timestamp
func (*Upgraded) ProtoMessage ¶
func (*Upgraded) ProtoMessage()
func (*Upgraded) ProtoReflect ¶
func (x *Upgraded) ProtoReflect() protoreflect.Message