Aave

package
v0.0.0-...-b095981 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const AAVEABI = "" /* 2060-byte string literal not displayed */

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

Variables

View Source
var File_Aave_Aave_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AAVE

type AAVE struct {
	AAVECaller     // Read-only binding to the contract
	AAVETransactor // Write-only binding to the contract
	AAVEFilterer   // Log filterer for contract events
}

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

func NewAAVE

func NewAAVE(address common.Address, backend bind.ContractBackend) (*AAVE, error)

NewAAVE creates a new instance of AAVE, bound to a specific deployed contract.

type AAVEAdminChanged

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

AAVEAdminChanged represents a AdminChanged event raised by the AAVE contract.

type AAVEAdminChangedIterator

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

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

func (*AAVEAdminChangedIterator) Close

func (it *AAVEAdminChangedIterator) Close() error

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

func (*AAVEAdminChangedIterator) Error

func (it *AAVEAdminChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AAVEAdminChangedIterator) Next

func (it *AAVEAdminChangedIterator) 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 AAVECaller

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

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

func NewAAVECaller

func NewAAVECaller(address common.Address, caller bind.ContractCaller) (*AAVECaller, error)

NewAAVECaller creates a new read-only instance of AAVE, bound to a specific deployed contract.

type AAVECallerRaw

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

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

func (*AAVECallerRaw) Call

func (_AAVE *AAVECallerRaw) 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 AAVECallerSession

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

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

type AAVEFilterer

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

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

func NewAAVEFilterer

func NewAAVEFilterer(address common.Address, filterer bind.ContractFilterer) (*AAVEFilterer, error)

NewAAVEFilterer creates a new log filterer instance of AAVE, bound to a specific deployed contract.

func (*AAVEFilterer) FilterAdminChanged

func (_AAVE *AAVEFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*AAVEAdminChangedIterator, error)

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

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*AAVEFilterer) FilterUpgraded

func (_AAVE *AAVEFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*AAVEUpgradedIterator, error)

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

Solidity: event Upgraded(address indexed implementation)

func (*AAVEFilterer) ParseAdminChanged

func (_AAVE *AAVEFilterer) ParseAdminChanged(log types.Log) (*AAVEAdminChanged, error)

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

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*AAVEFilterer) ParseUpgraded

func (_AAVE *AAVEFilterer) ParseUpgraded(log types.Log) (*AAVEUpgraded, error)

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

Solidity: event Upgraded(address indexed implementation)

func (*AAVEFilterer) WatchAdminChanged

func (_AAVE *AAVEFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *AAVEAdminChanged) (event.Subscription, error)

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

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*AAVEFilterer) WatchUpgraded

func (_AAVE *AAVEFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *AAVEUpgraded, 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 AAVERaw

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

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

func (*AAVERaw) Call

func (_AAVE *AAVERaw) 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 (*AAVERaw) Transact

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

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

func (*AAVERaw) Transfer

func (_AAVE *AAVERaw) 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 AAVESession

type AAVESession struct {
	Contract     *AAVE             // 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
}

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

func (*AAVESession) Admin

func (_AAVE *AAVESession) Admin() (*types.Transaction, error)

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

Solidity: function admin() returns(address)

func (*AAVESession) ChangeAdmin

func (_AAVE *AAVESession) 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 (*AAVESession) Fallback

func (_AAVE *AAVESession) Fallback(calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() payable returns()

func (*AAVESession) Implementation

func (_AAVE *AAVESession) Implementation() (*types.Transaction, error)

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

Solidity: function implementation() returns(address)

func (*AAVESession) Initialize

func (_AAVE *AAVESession) Initialize(_logic common.Address, _admin common.Address, _data []byte) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xcf7a1d77.

Solidity: function initialize(address _logic, address _admin, bytes _data) payable returns()

func (*AAVESession) Initialize0

func (_AAVE *AAVESession) Initialize0(_logic common.Address, _data []byte) (*types.Transaction, error)

Initialize0 is a paid mutator transaction binding the contract method 0xd1f57894.

Solidity: function initialize(address _logic, bytes _data) payable returns()

func (*AAVESession) UpgradeTo

func (_AAVE *AAVESession) 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 (*AAVESession) UpgradeToAndCall

func (_AAVE *AAVESession) 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 AAVETransactor

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

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

func NewAAVETransactor

func NewAAVETransactor(address common.Address, transactor bind.ContractTransactor) (*AAVETransactor, error)

NewAAVETransactor creates a new write-only instance of AAVE, bound to a specific deployed contract.

func (*AAVETransactor) Admin

func (_AAVE *AAVETransactor) Admin(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function admin() returns(address)

func (*AAVETransactor) ChangeAdmin

func (_AAVE *AAVETransactor) 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 (*AAVETransactor) Fallback

func (_AAVE *AAVETransactor) 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 (*AAVETransactor) Implementation

func (_AAVE *AAVETransactor) Implementation(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function implementation() returns(address)

func (*AAVETransactor) Initialize

func (_AAVE *AAVETransactor) Initialize(opts *bind.TransactOpts, _logic common.Address, _admin common.Address, _data []byte) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xcf7a1d77.

Solidity: function initialize(address _logic, address _admin, bytes _data) payable returns()

func (*AAVETransactor) Initialize0

func (_AAVE *AAVETransactor) Initialize0(opts *bind.TransactOpts, _logic common.Address, _data []byte) (*types.Transaction, error)

Initialize0 is a paid mutator transaction binding the contract method 0xd1f57894.

Solidity: function initialize(address _logic, bytes _data) payable returns()

func (*AAVETransactor) UpgradeTo

func (_AAVE *AAVETransactor) 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 (*AAVETransactor) UpgradeToAndCall

func (_AAVE *AAVETransactor) 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 AAVETransactorRaw

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

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

func (*AAVETransactorRaw) Transact

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

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

func (*AAVETransactorRaw) Transfer

func (_AAVE *AAVETransactorRaw) 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 AAVETransactorSession

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

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

func (*AAVETransactorSession) Admin

func (_AAVE *AAVETransactorSession) Admin() (*types.Transaction, error)

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

Solidity: function admin() returns(address)

func (*AAVETransactorSession) ChangeAdmin

func (_AAVE *AAVETransactorSession) 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 (*AAVETransactorSession) Fallback

func (_AAVE *AAVETransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() payable returns()

func (*AAVETransactorSession) Implementation

func (_AAVE *AAVETransactorSession) Implementation() (*types.Transaction, error)

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

Solidity: function implementation() returns(address)

func (*AAVETransactorSession) Initialize

func (_AAVE *AAVETransactorSession) Initialize(_logic common.Address, _admin common.Address, _data []byte) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xcf7a1d77.

Solidity: function initialize(address _logic, address _admin, bytes _data) payable returns()

func (*AAVETransactorSession) Initialize0

func (_AAVE *AAVETransactorSession) Initialize0(_logic common.Address, _data []byte) (*types.Transaction, error)

Initialize0 is a paid mutator transaction binding the contract method 0xd1f57894.

Solidity: function initialize(address _logic, bytes _data) payable returns()

func (*AAVETransactorSession) UpgradeTo

func (_AAVE *AAVETransactorSession) 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 (*AAVETransactorSession) UpgradeToAndCall

func (_AAVE *AAVETransactorSession) 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 AAVEUpgraded

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

AAVEUpgraded represents a Upgraded event raised by the AAVE contract.

type AAVEUpgradedIterator

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

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

func (*AAVEUpgradedIterator) Close

func (it *AAVEUpgradedIterator) Close() error

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

func (*AAVEUpgradedIterator) Error

func (it *AAVEUpgradedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AAVEUpgradedIterator) Next

func (it *AAVEUpgradedIterator) 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 AdminChanged

type AdminChanged struct {
	Ts            *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	PreviousAdmin []byte                 `protobuf:"bytes,2,opt,name=PreviousAdmin,proto3" json:"PreviousAdmin,omitempty"` //	address
	NewAdmin      []byte                 `protobuf:"bytes,3,opt,name=NewAdmin,proto3" json:"NewAdmin,omitempty"`           //	address
	// contains filtered or unexported fields
}

func (*AdminChanged) Descriptor deprecated

func (*AdminChanged) Descriptor() ([]byte, []int)

Deprecated: Use AdminChanged.ProtoReflect.Descriptor instead.

func (*AdminChanged) GetNewAdmin

func (x *AdminChanged) GetNewAdmin() []byte

func (*AdminChanged) GetPreviousAdmin

func (x *AdminChanged) GetPreviousAdmin() []byte

func (*AdminChanged) GetTs

func (x *AdminChanged) GetTs() *timestamppb.Timestamp

func (*AdminChanged) ProtoMessage

func (*AdminChanged) ProtoMessage()

func (*AdminChanged) ProtoReflect

func (x *AdminChanged) ProtoReflect() protoreflect.Message

func (*AdminChanged) Reset

func (x *AdminChanged) Reset()

func (*AdminChanged) String

func (x *AdminChanged) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Upgraded.ProtoReflect.Descriptor instead.

func (*Upgraded) GetImplementation

func (x *Upgraded) GetImplementation() []byte

func (*Upgraded) GetTs

func (x *Upgraded) GetTs() *timestamppb.Timestamp

func (*Upgraded) ProtoMessage

func (*Upgraded) ProtoMessage()

func (*Upgraded) ProtoReflect

func (x *Upgraded) ProtoReflect() protoreflect.Message

func (*Upgraded) Reset

func (x *Upgraded) Reset()

func (*Upgraded) String

func (x *Upgraded) String() string

Jump to

Keyboard shortcuts

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