TUSD

package
v0.0.0-...-a05b099 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const TUSDABI = "" /* 1878-byte string literal not displayed */

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

Variables

View Source
var File_TUSD_TUSD_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type NewPendingOwner

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

func (*NewPendingOwner) Descriptor deprecated

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

Deprecated: Use NewPendingOwner.ProtoReflect.Descriptor instead.

func (*NewPendingOwner) GetCurrentOwner

func (x *NewPendingOwner) GetCurrentOwner() []byte

func (*NewPendingOwner) GetPendingOwner

func (x *NewPendingOwner) GetPendingOwner() []byte

func (*NewPendingOwner) GetTs

func (*NewPendingOwner) ProtoMessage

func (*NewPendingOwner) ProtoMessage()

func (*NewPendingOwner) ProtoReflect

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

func (*NewPendingOwner) Reset

func (x *NewPendingOwner) Reset()

func (*NewPendingOwner) String

func (x *NewPendingOwner) String() string

type ProxyOwnershipTransferred

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

func (*ProxyOwnershipTransferred) Descriptor deprecated

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

Deprecated: Use ProxyOwnershipTransferred.ProtoReflect.Descriptor instead.

func (*ProxyOwnershipTransferred) GetNewOwner

func (x *ProxyOwnershipTransferred) GetNewOwner() []byte

func (*ProxyOwnershipTransferred) GetPreviousOwner

func (x *ProxyOwnershipTransferred) GetPreviousOwner() []byte

func (*ProxyOwnershipTransferred) GetTs

func (*ProxyOwnershipTransferred) ProtoMessage

func (*ProxyOwnershipTransferred) ProtoMessage()

func (*ProxyOwnershipTransferred) ProtoReflect

func (*ProxyOwnershipTransferred) Reset

func (x *ProxyOwnershipTransferred) Reset()

func (*ProxyOwnershipTransferred) String

func (x *ProxyOwnershipTransferred) 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 TUSD

type TUSD struct {
	TUSDCaller     // Read-only binding to the contract
	TUSDTransactor // Write-only binding to the contract
	TUSDFilterer   // Log filterer for contract events
}

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

func NewTUSD

func NewTUSD(address common.Address, backend bind.ContractBackend) (*TUSD, error)

NewTUSD creates a new instance of TUSD, bound to a specific deployed contract.

type TUSDCaller

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

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

func NewTUSDCaller

func NewTUSDCaller(address common.Address, caller bind.ContractCaller) (*TUSDCaller, error)

NewTUSDCaller creates a new read-only instance of TUSD, bound to a specific deployed contract.

func (*TUSDCaller) Implementation

func (_TUSD *TUSDCaller) Implementation(opts *bind.CallOpts) (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address impl)

func (*TUSDCaller) PendingProxyOwner

func (_TUSD *TUSDCaller) PendingProxyOwner(opts *bind.CallOpts) (common.Address, error)

PendingProxyOwner is a free data retrieval call binding the contract method 0x0add8140.

Solidity: function pendingProxyOwner() view returns(address pendingOwner)

func (*TUSDCaller) ProxyOwner

func (_TUSD *TUSDCaller) ProxyOwner(opts *bind.CallOpts) (common.Address, error)

ProxyOwner is a free data retrieval call binding the contract method 0x025313a2.

Solidity: function proxyOwner() view returns(address owner)

type TUSDCallerRaw

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

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

func (*TUSDCallerRaw) Call

func (_TUSD *TUSDCallerRaw) 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 TUSDCallerSession

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

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

func (*TUSDCallerSession) Implementation

func (_TUSD *TUSDCallerSession) Implementation() (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address impl)

func (*TUSDCallerSession) PendingProxyOwner

func (_TUSD *TUSDCallerSession) PendingProxyOwner() (common.Address, error)

PendingProxyOwner is a free data retrieval call binding the contract method 0x0add8140.

Solidity: function pendingProxyOwner() view returns(address pendingOwner)

func (*TUSDCallerSession) ProxyOwner

func (_TUSD *TUSDCallerSession) ProxyOwner() (common.Address, error)

ProxyOwner is a free data retrieval call binding the contract method 0x025313a2.

Solidity: function proxyOwner() view returns(address owner)

type TUSDFilterer

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

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

func NewTUSDFilterer

func NewTUSDFilterer(address common.Address, filterer bind.ContractFilterer) (*TUSDFilterer, error)

NewTUSDFilterer creates a new log filterer instance of TUSD, bound to a specific deployed contract.

func (*TUSDFilterer) FilterNewPendingOwner

func (_TUSD *TUSDFilterer) FilterNewPendingOwner(opts *bind.FilterOpts) (*TUSDNewPendingOwnerIterator, error)

FilterNewPendingOwner is a free log retrieval operation binding the contract event 0xb3d55174552271a4f1aaf36b72f50381e892171636b3fb5447fe00e995e7a37b.

Solidity: event NewPendingOwner(address currentOwner, address pendingOwner)

func (*TUSDFilterer) FilterProxyOwnershipTransferred

func (_TUSD *TUSDFilterer) FilterProxyOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TUSDProxyOwnershipTransferredIterator, error)

FilterProxyOwnershipTransferred is a free log retrieval operation binding the contract event 0x5a3e66efaa1e445ebd894728a69d6959842ea1e97bd79b892797106e270efcd9.

Solidity: event ProxyOwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*TUSDFilterer) FilterUpgraded

func (_TUSD *TUSDFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*TUSDUpgradedIterator, error)

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

Solidity: event Upgraded(address indexed implementation)

func (*TUSDFilterer) ParseNewPendingOwner

func (_TUSD *TUSDFilterer) ParseNewPendingOwner(log types.Log) (*TUSDNewPendingOwner, error)

ParseNewPendingOwner is a log parse operation binding the contract event 0xb3d55174552271a4f1aaf36b72f50381e892171636b3fb5447fe00e995e7a37b.

Solidity: event NewPendingOwner(address currentOwner, address pendingOwner)

func (*TUSDFilterer) ParseProxyOwnershipTransferred

func (_TUSD *TUSDFilterer) ParseProxyOwnershipTransferred(log types.Log) (*TUSDProxyOwnershipTransferred, error)

ParseProxyOwnershipTransferred is a log parse operation binding the contract event 0x5a3e66efaa1e445ebd894728a69d6959842ea1e97bd79b892797106e270efcd9.

Solidity: event ProxyOwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*TUSDFilterer) ParseUpgraded

func (_TUSD *TUSDFilterer) ParseUpgraded(log types.Log) (*TUSDUpgraded, error)

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

Solidity: event Upgraded(address indexed implementation)

func (*TUSDFilterer) WatchNewPendingOwner

func (_TUSD *TUSDFilterer) WatchNewPendingOwner(opts *bind.WatchOpts, sink chan<- *TUSDNewPendingOwner) (event.Subscription, error)

WatchNewPendingOwner is a free log subscription operation binding the contract event 0xb3d55174552271a4f1aaf36b72f50381e892171636b3fb5447fe00e995e7a37b.

Solidity: event NewPendingOwner(address currentOwner, address pendingOwner)

func (*TUSDFilterer) WatchProxyOwnershipTransferred

func (_TUSD *TUSDFilterer) WatchProxyOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TUSDProxyOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchProxyOwnershipTransferred is a free log subscription operation binding the contract event 0x5a3e66efaa1e445ebd894728a69d6959842ea1e97bd79b892797106e270efcd9.

Solidity: event ProxyOwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*TUSDFilterer) WatchUpgraded

func (_TUSD *TUSDFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *TUSDUpgraded, 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 TUSDNewPendingOwner

type TUSDNewPendingOwner struct {
	CurrentOwner common.Address
	PendingOwner common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

TUSDNewPendingOwner represents a NewPendingOwner event raised by the TUSD contract.

type TUSDNewPendingOwnerIterator

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

TUSDNewPendingOwnerIterator is returned from FilterNewPendingOwner and is used to iterate over the raw logs and unpacked data for NewPendingOwner events raised by the TUSD contract.

func (*TUSDNewPendingOwnerIterator) Close

func (it *TUSDNewPendingOwnerIterator) Close() error

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

func (*TUSDNewPendingOwnerIterator) Error

func (it *TUSDNewPendingOwnerIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TUSDNewPendingOwnerIterator) Next

func (it *TUSDNewPendingOwnerIterator) 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 TUSDProxyOwnershipTransferred

type TUSDProxyOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

TUSDProxyOwnershipTransferred represents a ProxyOwnershipTransferred event raised by the TUSD contract.

type TUSDProxyOwnershipTransferredIterator

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

TUSDProxyOwnershipTransferredIterator is returned from FilterProxyOwnershipTransferred and is used to iterate over the raw logs and unpacked data for ProxyOwnershipTransferred events raised by the TUSD contract.

func (*TUSDProxyOwnershipTransferredIterator) Close

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

func (*TUSDProxyOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TUSDProxyOwnershipTransferredIterator) 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 TUSDRaw

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

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

func (*TUSDRaw) Call

func (_TUSD *TUSDRaw) 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 (*TUSDRaw) Transact

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

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

func (*TUSDRaw) Transfer

func (_TUSD *TUSDRaw) 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 TUSDSession

type TUSDSession struct {
	Contract     *TUSD             // 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
}

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

func (*TUSDSession) ClaimProxyOwnership

func (_TUSD *TUSDSession) ClaimProxyOwnership() (*types.Transaction, error)

ClaimProxyOwnership is a paid mutator transaction binding the contract method 0x9965b3d6.

Solidity: function claimProxyOwnership() returns()

func (*TUSDSession) Fallback

func (_TUSD *TUSDSession) Fallback(calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() payable returns()

func (*TUSDSession) Implementation

func (_TUSD *TUSDSession) Implementation() (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address impl)

func (*TUSDSession) PendingProxyOwner

func (_TUSD *TUSDSession) PendingProxyOwner() (common.Address, error)

PendingProxyOwner is a free data retrieval call binding the contract method 0x0add8140.

Solidity: function pendingProxyOwner() view returns(address pendingOwner)

func (*TUSDSession) ProxyOwner

func (_TUSD *TUSDSession) ProxyOwner() (common.Address, error)

ProxyOwner is a free data retrieval call binding the contract method 0x025313a2.

Solidity: function proxyOwner() view returns(address owner)

func (*TUSDSession) TransferProxyOwnership

func (_TUSD *TUSDSession) TransferProxyOwnership(newOwner common.Address) (*types.Transaction, error)

TransferProxyOwnership is a paid mutator transaction binding the contract method 0xf1739cae.

Solidity: function transferProxyOwnership(address newOwner) returns()

func (*TUSDSession) UpgradeTo

func (_TUSD *TUSDSession) UpgradeTo(implementation common.Address) (*types.Transaction, error)

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

Solidity: function upgradeTo(address implementation) returns()

type TUSDTransactor

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

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

func NewTUSDTransactor

func NewTUSDTransactor(address common.Address, transactor bind.ContractTransactor) (*TUSDTransactor, error)

NewTUSDTransactor creates a new write-only instance of TUSD, bound to a specific deployed contract.

func (*TUSDTransactor) ClaimProxyOwnership

func (_TUSD *TUSDTransactor) ClaimProxyOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimProxyOwnership is a paid mutator transaction binding the contract method 0x9965b3d6.

Solidity: function claimProxyOwnership() returns()

func (*TUSDTransactor) Fallback

func (_TUSD *TUSDTransactor) 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 (*TUSDTransactor) TransferProxyOwnership

func (_TUSD *TUSDTransactor) TransferProxyOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferProxyOwnership is a paid mutator transaction binding the contract method 0xf1739cae.

Solidity: function transferProxyOwnership(address newOwner) returns()

func (*TUSDTransactor) UpgradeTo

func (_TUSD *TUSDTransactor) UpgradeTo(opts *bind.TransactOpts, implementation common.Address) (*types.Transaction, error)

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

Solidity: function upgradeTo(address implementation) returns()

type TUSDTransactorRaw

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

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

func (*TUSDTransactorRaw) Transact

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

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

func (*TUSDTransactorRaw) Transfer

func (_TUSD *TUSDTransactorRaw) 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 TUSDTransactorSession

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

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

func (*TUSDTransactorSession) ClaimProxyOwnership

func (_TUSD *TUSDTransactorSession) ClaimProxyOwnership() (*types.Transaction, error)

ClaimProxyOwnership is a paid mutator transaction binding the contract method 0x9965b3d6.

Solidity: function claimProxyOwnership() returns()

func (*TUSDTransactorSession) Fallback

func (_TUSD *TUSDTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() payable returns()

func (*TUSDTransactorSession) TransferProxyOwnership

func (_TUSD *TUSDTransactorSession) TransferProxyOwnership(newOwner common.Address) (*types.Transaction, error)

TransferProxyOwnership is a paid mutator transaction binding the contract method 0xf1739cae.

Solidity: function transferProxyOwnership(address newOwner) returns()

func (*TUSDTransactorSession) UpgradeTo

func (_TUSD *TUSDTransactorSession) UpgradeTo(implementation common.Address) (*types.Transaction, error)

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

Solidity: function upgradeTo(address implementation) returns()

type TUSDUpgraded

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

TUSDUpgraded represents a Upgraded event raised by the TUSD contract.

type TUSDUpgradedIterator

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

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

func (*TUSDUpgradedIterator) Close

func (it *TUSDUpgradedIterator) Close() error

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

func (*TUSDUpgradedIterator) Error

func (it *TUSDUpgradedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TUSDUpgradedIterator) Next

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