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 PAXUSD
- type PAXUSDAdminChanged
- type PAXUSDAdminChangedIterator
- type PAXUSDCaller
- type PAXUSDCallerRaw
- type PAXUSDCallerSession
- type PAXUSDFilterer
- func (_PAXUSD *PAXUSDFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*PAXUSDAdminChangedIterator, error)
- func (_PAXUSD *PAXUSDFilterer) FilterUpgraded(opts *bind.FilterOpts) (*PAXUSDUpgradedIterator, error)
- func (_PAXUSD *PAXUSDFilterer) ParseAdminChanged(log types.Log) (*PAXUSDAdminChanged, error)
- func (_PAXUSD *PAXUSDFilterer) ParseUpgraded(log types.Log) (*PAXUSDUpgraded, error)
- func (_PAXUSD *PAXUSDFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *PAXUSDAdminChanged) (event.Subscription, error)
- func (_PAXUSD *PAXUSDFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *PAXUSDUpgraded) (event.Subscription, error)
- type PAXUSDRaw
- func (_PAXUSD *PAXUSDRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_PAXUSD *PAXUSDRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_PAXUSD *PAXUSDRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PAXUSDSession
- func (_PAXUSD *PAXUSDSession) Admin() (common.Address, error)
- func (_PAXUSD *PAXUSDSession) ChangeAdmin(newAdmin common.Address) (*types.Transaction, error)
- func (_PAXUSD *PAXUSDSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_PAXUSD *PAXUSDSession) Implementation() (common.Address, error)
- func (_PAXUSD *PAXUSDSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_PAXUSD *PAXUSDSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type PAXUSDTransactor
- func (_PAXUSD *PAXUSDTransactor) ChangeAdmin(opts *bind.TransactOpts, newAdmin common.Address) (*types.Transaction, error)
- func (_PAXUSD *PAXUSDTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
- func (_PAXUSD *PAXUSDTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_PAXUSD *PAXUSDTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
- type PAXUSDTransactorRaw
- type PAXUSDTransactorSession
- func (_PAXUSD *PAXUSDTransactorSession) ChangeAdmin(newAdmin common.Address) (*types.Transaction, error)
- func (_PAXUSD *PAXUSDTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_PAXUSD *PAXUSDTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_PAXUSD *PAXUSDTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type PAXUSDUpgraded
- type PAXUSDUpgradedIterator
- 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 PAXUSDABI = "" /* 1568-byte string literal not displayed */
PAXUSDABI is the input ABI used to generate the binding from.
Variables ¶
var File_PaxUSD_PaxUSD_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 PAXUSD ¶
type PAXUSD struct { PAXUSDCaller // Read-only binding to the contract PAXUSDTransactor // Write-only binding to the contract PAXUSDFilterer // Log filterer for contract events }
PAXUSD is an auto generated Go binding around an Ethereum contract.
type PAXUSDAdminChanged ¶
type PAXUSDAdminChanged struct { PreviousAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
PAXUSDAdminChanged represents a AdminChanged event raised by the PAXUSD contract.
type PAXUSDAdminChangedIterator ¶
type PAXUSDAdminChangedIterator struct { Event *PAXUSDAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PAXUSDAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the PAXUSD contract.
func (*PAXUSDAdminChangedIterator) Close ¶
func (it *PAXUSDAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PAXUSDAdminChangedIterator) Error ¶
func (it *PAXUSDAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PAXUSDAdminChangedIterator) Next ¶
func (it *PAXUSDAdminChangedIterator) 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 PAXUSDCaller ¶
type PAXUSDCaller struct {
// contains filtered or unexported fields
}
PAXUSDCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewPAXUSDCaller ¶
func NewPAXUSDCaller(address common.Address, caller bind.ContractCaller) (*PAXUSDCaller, error)
NewPAXUSDCaller creates a new read-only instance of PAXUSD, bound to a specific deployed contract.
func (*PAXUSDCaller) Admin ¶
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*PAXUSDCaller) Implementation ¶
Implementation is a free data retrieval call binding the contract method 0x5c60da1b.
Solidity: function implementation() view returns(address)
type PAXUSDCallerRaw ¶
type PAXUSDCallerRaw struct {
Contract *PAXUSDCaller // Generic read-only contract binding to access the raw methods on
}
PAXUSDCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*PAXUSDCallerRaw) Call ¶
func (_PAXUSD *PAXUSDCallerRaw) 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 PAXUSDCallerSession ¶
type PAXUSDCallerSession struct { Contract *PAXUSDCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
PAXUSDCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*PAXUSDCallerSession) Admin ¶
func (_PAXUSD *PAXUSDCallerSession) Admin() (common.Address, error)
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*PAXUSDCallerSession) Implementation ¶
func (_PAXUSD *PAXUSDCallerSession) Implementation() (common.Address, error)
Implementation is a free data retrieval call binding the contract method 0x5c60da1b.
Solidity: function implementation() view returns(address)
type PAXUSDFilterer ¶
type PAXUSDFilterer struct {
// contains filtered or unexported fields
}
PAXUSDFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPAXUSDFilterer ¶
func NewPAXUSDFilterer(address common.Address, filterer bind.ContractFilterer) (*PAXUSDFilterer, error)
NewPAXUSDFilterer creates a new log filterer instance of PAXUSD, bound to a specific deployed contract.
func (*PAXUSDFilterer) FilterAdminChanged ¶
func (_PAXUSD *PAXUSDFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*PAXUSDAdminChangedIterator, error)
FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*PAXUSDFilterer) FilterUpgraded ¶
func (_PAXUSD *PAXUSDFilterer) FilterUpgraded(opts *bind.FilterOpts) (*PAXUSDUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address implementation)
func (*PAXUSDFilterer) ParseAdminChanged ¶
func (_PAXUSD *PAXUSDFilterer) ParseAdminChanged(log types.Log) (*PAXUSDAdminChanged, error)
ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*PAXUSDFilterer) ParseUpgraded ¶
func (_PAXUSD *PAXUSDFilterer) ParseUpgraded(log types.Log) (*PAXUSDUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address implementation)
func (*PAXUSDFilterer) WatchAdminChanged ¶
func (_PAXUSD *PAXUSDFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *PAXUSDAdminChanged) (event.Subscription, error)
WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*PAXUSDFilterer) WatchUpgraded ¶
func (_PAXUSD *PAXUSDFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *PAXUSDUpgraded) (event.Subscription, error)
WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address implementation)
type PAXUSDRaw ¶
type PAXUSDRaw struct {
Contract *PAXUSD // Generic contract binding to access the raw methods on
}
PAXUSDRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*PAXUSDRaw) Call ¶
func (_PAXUSD *PAXUSDRaw) 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 (*PAXUSDRaw) Transact ¶
func (_PAXUSD *PAXUSDRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PAXUSDRaw) Transfer ¶
func (_PAXUSD *PAXUSDRaw) 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 PAXUSDSession ¶
type PAXUSDSession struct { Contract *PAXUSD // 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 }
PAXUSDSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*PAXUSDSession) Admin ¶
func (_PAXUSD *PAXUSDSession) Admin() (common.Address, error)
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*PAXUSDSession) ChangeAdmin ¶
func (_PAXUSD *PAXUSDSession) 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 (*PAXUSDSession) Fallback ¶
func (_PAXUSD *PAXUSDSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*PAXUSDSession) Implementation ¶
func (_PAXUSD *PAXUSDSession) Implementation() (common.Address, error)
Implementation is a free data retrieval call binding the contract method 0x5c60da1b.
Solidity: function implementation() view returns(address)
func (*PAXUSDSession) UpgradeTo ¶
func (_PAXUSD *PAXUSDSession) 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 (*PAXUSDSession) UpgradeToAndCall ¶
func (_PAXUSD *PAXUSDSession) 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 PAXUSDTransactor ¶
type PAXUSDTransactor struct {
// contains filtered or unexported fields
}
PAXUSDTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPAXUSDTransactor ¶
func NewPAXUSDTransactor(address common.Address, transactor bind.ContractTransactor) (*PAXUSDTransactor, error)
NewPAXUSDTransactor creates a new write-only instance of PAXUSD, bound to a specific deployed contract.
func (*PAXUSDTransactor) ChangeAdmin ¶
func (_PAXUSD *PAXUSDTransactor) 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 (*PAXUSDTransactor) Fallback ¶
func (_PAXUSD *PAXUSDTransactor) 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 (*PAXUSDTransactor) UpgradeTo ¶
func (_PAXUSD *PAXUSDTransactor) 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 (*PAXUSDTransactor) UpgradeToAndCall ¶
func (_PAXUSD *PAXUSDTransactor) 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 PAXUSDTransactorRaw ¶
type PAXUSDTransactorRaw struct {
Contract *PAXUSDTransactor // Generic write-only contract binding to access the raw methods on
}
PAXUSDTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*PAXUSDTransactorRaw) Transact ¶
func (_PAXUSD *PAXUSDTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PAXUSDTransactorRaw) Transfer ¶
func (_PAXUSD *PAXUSDTransactorRaw) 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 PAXUSDTransactorSession ¶
type PAXUSDTransactorSession struct { Contract *PAXUSDTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
PAXUSDTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*PAXUSDTransactorSession) ChangeAdmin ¶
func (_PAXUSD *PAXUSDTransactorSession) 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 (*PAXUSDTransactorSession) Fallback ¶
func (_PAXUSD *PAXUSDTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*PAXUSDTransactorSession) UpgradeTo ¶
func (_PAXUSD *PAXUSDTransactorSession) 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 (*PAXUSDTransactorSession) UpgradeToAndCall ¶
func (_PAXUSD *PAXUSDTransactorSession) 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 PAXUSDUpgraded ¶
type PAXUSDUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
PAXUSDUpgraded represents a Upgraded event raised by the PAXUSD contract.
type PAXUSDUpgradedIterator ¶
type PAXUSDUpgradedIterator struct { Event *PAXUSDUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PAXUSDUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the PAXUSD contract.
func (*PAXUSDUpgradedIterator) Close ¶
func (it *PAXUSDUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PAXUSDUpgradedIterator) Error ¶
func (it *PAXUSDUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PAXUSDUpgradedIterator) Next ¶
func (it *PAXUSDUpgradedIterator) 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