Documentation ¶
Index ¶
- Constants
- Variables
- type AdminChanged
- func (*AdminChanged) Descriptor() ([]byte, []int)deprecated
- func (x *AdminChanged) GetNewAdmin() []byte
- func (x *AdminChanged) GetPreviousAdmin() []byte
- func (x *AdminChanged) GetTs() *timestamppb.Timestamp
- func (*AdminChanged) ProtoMessage()
- func (x *AdminChanged) ProtoReflect() protoreflect.Message
- func (x *AdminChanged) Reset()
- func (x *AdminChanged) String() string
- type SmartContract
- type USDC
- type USDCAdminChanged
- type USDCAdminChangedIterator
- type USDCCaller
- type USDCCallerRaw
- type USDCCallerSession
- type USDCFilterer
- func (_USDC *USDCFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*USDCAdminChangedIterator, error)
- func (_USDC *USDCFilterer) FilterUpgraded(opts *bind.FilterOpts) (*USDCUpgradedIterator, error)
- func (_USDC *USDCFilterer) ParseAdminChanged(log types.Log) (*USDCAdminChanged, error)
- func (_USDC *USDCFilterer) ParseUpgraded(log types.Log) (*USDCUpgraded, error)
- func (_USDC *USDCFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *USDCAdminChanged) (event.Subscription, error)
- func (_USDC *USDCFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *USDCUpgraded) (event.Subscription, error)
- type USDCRaw
- func (_USDC *USDCRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_USDC *USDCRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_USDC *USDCRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type USDCSession
- func (_USDC *USDCSession) Admin() (common.Address, error)
- func (_USDC *USDCSession) ChangeAdmin(newAdmin common.Address) (*types.Transaction, error)
- func (_USDC *USDCSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_USDC *USDCSession) Implementation() (common.Address, error)
- func (_USDC *USDCSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_USDC *USDCSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type USDCTransactor
- func (_USDC *USDCTransactor) ChangeAdmin(opts *bind.TransactOpts, newAdmin common.Address) (*types.Transaction, error)
- func (_USDC *USDCTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
- func (_USDC *USDCTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_USDC *USDCTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
- type USDCTransactorRaw
- type USDCTransactorSession
- func (_USDC *USDCTransactorSession) ChangeAdmin(newAdmin common.Address) (*types.Transaction, error)
- func (_USDC *USDCTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_USDC *USDCTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_USDC *USDCTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type USDCUpgraded
- type USDCUpgradedIterator
- 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 USDCABI = "" /* 1568-byte string literal not displayed */
USDCABI is the input ABI used to generate the binding from.
Variables ¶
var File_USDC_USDC_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
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 USDC ¶
type USDC struct { USDCCaller // Read-only binding to the contract USDCTransactor // Write-only binding to the contract USDCFilterer // Log filterer for contract events }
USDC is an auto generated Go binding around an Ethereum contract.
type USDCAdminChanged ¶
type USDCAdminChanged struct { PreviousAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
USDCAdminChanged represents a AdminChanged event raised by the USDC contract.
type USDCAdminChangedIterator ¶
type USDCAdminChangedIterator struct { Event *USDCAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
USDCAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the USDC contract.
func (*USDCAdminChangedIterator) Close ¶
func (it *USDCAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*USDCAdminChangedIterator) Error ¶
func (it *USDCAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*USDCAdminChangedIterator) Next ¶
func (it *USDCAdminChangedIterator) 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 USDCCaller ¶
type USDCCaller struct {
// contains filtered or unexported fields
}
USDCCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewUSDCCaller ¶
func NewUSDCCaller(address common.Address, caller bind.ContractCaller) (*USDCCaller, error)
NewUSDCCaller creates a new read-only instance of USDC, bound to a specific deployed contract.
func (*USDCCaller) Admin ¶
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*USDCCaller) Implementation ¶
Implementation is a free data retrieval call binding the contract method 0x5c60da1b.
Solidity: function implementation() view returns(address)
type USDCCallerRaw ¶
type USDCCallerRaw struct {
Contract *USDCCaller // Generic read-only contract binding to access the raw methods on
}
USDCCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*USDCCallerRaw) Call ¶
func (_USDC *USDCCallerRaw) 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 USDCCallerSession ¶
type USDCCallerSession struct { Contract *USDCCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
USDCCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*USDCCallerSession) Admin ¶
func (_USDC *USDCCallerSession) Admin() (common.Address, error)
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*USDCCallerSession) Implementation ¶
func (_USDC *USDCCallerSession) Implementation() (common.Address, error)
Implementation is a free data retrieval call binding the contract method 0x5c60da1b.
Solidity: function implementation() view returns(address)
type USDCFilterer ¶
type USDCFilterer struct {
// contains filtered or unexported fields
}
USDCFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewUSDCFilterer ¶
func NewUSDCFilterer(address common.Address, filterer bind.ContractFilterer) (*USDCFilterer, error)
NewUSDCFilterer creates a new log filterer instance of USDC, bound to a specific deployed contract.
func (*USDCFilterer) FilterAdminChanged ¶
func (_USDC *USDCFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*USDCAdminChangedIterator, error)
FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*USDCFilterer) FilterUpgraded ¶
func (_USDC *USDCFilterer) FilterUpgraded(opts *bind.FilterOpts) (*USDCUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address implementation)
func (*USDCFilterer) ParseAdminChanged ¶
func (_USDC *USDCFilterer) ParseAdminChanged(log types.Log) (*USDCAdminChanged, error)
ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*USDCFilterer) ParseUpgraded ¶
func (_USDC *USDCFilterer) ParseUpgraded(log types.Log) (*USDCUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address implementation)
func (*USDCFilterer) WatchAdminChanged ¶
func (_USDC *USDCFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *USDCAdminChanged) (event.Subscription, error)
WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*USDCFilterer) WatchUpgraded ¶
func (_USDC *USDCFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *USDCUpgraded) (event.Subscription, error)
WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address implementation)
type USDCRaw ¶
type USDCRaw struct {
Contract *USDC // Generic contract binding to access the raw methods on
}
USDCRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*USDCRaw) Call ¶
func (_USDC *USDCRaw) 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 (*USDCRaw) Transact ¶
func (_USDC *USDCRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*USDCRaw) Transfer ¶
func (_USDC *USDCRaw) 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 USDCSession ¶
type USDCSession struct { Contract *USDC // 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 }
USDCSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*USDCSession) Admin ¶
func (_USDC *USDCSession) Admin() (common.Address, error)
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*USDCSession) ChangeAdmin ¶
func (_USDC *USDCSession) 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 (*USDCSession) Fallback ¶
func (_USDC *USDCSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*USDCSession) Implementation ¶
func (_USDC *USDCSession) Implementation() (common.Address, error)
Implementation is a free data retrieval call binding the contract method 0x5c60da1b.
Solidity: function implementation() view returns(address)
func (*USDCSession) UpgradeTo ¶
func (_USDC *USDCSession) 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 (*USDCSession) UpgradeToAndCall ¶
func (_USDC *USDCSession) 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 USDCTransactor ¶
type USDCTransactor struct {
// contains filtered or unexported fields
}
USDCTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewUSDCTransactor ¶
func NewUSDCTransactor(address common.Address, transactor bind.ContractTransactor) (*USDCTransactor, error)
NewUSDCTransactor creates a new write-only instance of USDC, bound to a specific deployed contract.
func (*USDCTransactor) ChangeAdmin ¶
func (_USDC *USDCTransactor) 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 (*USDCTransactor) Fallback ¶
func (_USDC *USDCTransactor) 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 (*USDCTransactor) UpgradeTo ¶
func (_USDC *USDCTransactor) 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 (*USDCTransactor) UpgradeToAndCall ¶
func (_USDC *USDCTransactor) 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 USDCTransactorRaw ¶
type USDCTransactorRaw struct {
Contract *USDCTransactor // Generic write-only contract binding to access the raw methods on
}
USDCTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*USDCTransactorRaw) Transact ¶
func (_USDC *USDCTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*USDCTransactorRaw) Transfer ¶
func (_USDC *USDCTransactorRaw) 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 USDCTransactorSession ¶
type USDCTransactorSession struct { Contract *USDCTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
USDCTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*USDCTransactorSession) ChangeAdmin ¶
func (_USDC *USDCTransactorSession) 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 (*USDCTransactorSession) Fallback ¶
func (_USDC *USDCTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*USDCTransactorSession) UpgradeTo ¶
func (_USDC *USDCTransactorSession) 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 (*USDCTransactorSession) UpgradeToAndCall ¶
func (_USDC *USDCTransactorSession) 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 USDCUpgraded ¶
type USDCUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
USDCUpgraded represents a Upgraded event raised by the USDC contract.
type USDCUpgradedIterator ¶
type USDCUpgradedIterator struct { Event *USDCUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
USDCUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the USDC contract.
func (*USDCUpgradedIterator) Close ¶
func (it *USDCUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*USDCUpgradedIterator) Error ¶
func (it *USDCUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*USDCUpgradedIterator) Next ¶
func (it *USDCUpgradedIterator) 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 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