Eth

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 ETHABI = "" /* 3261-byte string literal not displayed */

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

Variables

View Source
var File_Eth_Eth_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Approval

type Approval struct {
	Ts  *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	Src []byte                 `protobuf:"bytes,2,opt,name=Src,proto3" json:"Src,omitempty"` //	address
	Guy []byte                 `protobuf:"bytes,3,opt,name=Guy,proto3" json:"Guy,omitempty"` //	address
	Wad []byte                 `protobuf:"bytes,4,opt,name=Wad,proto3" json:"Wad,omitempty"` //	uint256
	// contains filtered or unexported fields
}

func (*Approval) Descriptor deprecated

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

Deprecated: Use Approval.ProtoReflect.Descriptor instead.

func (*Approval) GetGuy

func (x *Approval) GetGuy() []byte

func (*Approval) GetSrc

func (x *Approval) GetSrc() []byte

func (*Approval) GetTs

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

func (*Approval) GetWad

func (x *Approval) GetWad() []byte

func (*Approval) ProtoMessage

func (*Approval) ProtoMessage()

func (*Approval) ProtoReflect

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

func (*Approval) Reset

func (x *Approval) Reset()

func (*Approval) String

func (x *Approval) String() string

type Deposit

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

func (*Deposit) Descriptor deprecated

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

Deprecated: Use Deposit.ProtoReflect.Descriptor instead.

func (*Deposit) GetDst

func (x *Deposit) GetDst() []byte

func (*Deposit) GetTs

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

func (*Deposit) GetWad

func (x *Deposit) GetWad() []byte

func (*Deposit) ProtoMessage

func (*Deposit) ProtoMessage()

func (*Deposit) ProtoReflect

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

func (*Deposit) Reset

func (x *Deposit) Reset()

func (*Deposit) String

func (x *Deposit) String() string

type ETH

type ETH struct {
	ETHCaller     // Read-only binding to the contract
	ETHTransactor // Write-only binding to the contract
	ETHFilterer   // Log filterer for contract events
}

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

func NewETH

func NewETH(address common.Address, backend bind.ContractBackend) (*ETH, error)

NewETH creates a new instance of ETH, bound to a specific deployed contract.

type ETHApproval

type ETHApproval struct {
	Src common.Address
	Guy common.Address
	Wad *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

ETHApproval represents a Approval event raised by the ETH contract.

type ETHApprovalIterator

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

ETHApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ETH contract.

func (*ETHApprovalIterator) Close

func (it *ETHApprovalIterator) Close() error

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

func (*ETHApprovalIterator) Error

func (it *ETHApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ETHApprovalIterator) Next

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

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

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

func NewETHCaller

func NewETHCaller(address common.Address, caller bind.ContractCaller) (*ETHCaller, error)

NewETHCaller creates a new read-only instance of ETH, bound to a specific deployed contract.

func (*ETHCaller) Allowance

func (_ETH *ETHCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*ETHCaller) BalanceOf

func (_ETH *ETHCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*ETHCaller) Decimals

func (_ETH *ETHCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*ETHCaller) Name

func (_ETH *ETHCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*ETHCaller) Symbol

func (_ETH *ETHCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*ETHCaller) TotalSupply

func (_ETH *ETHCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type ETHCallerRaw

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

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

func (*ETHCallerRaw) Call

func (_ETH *ETHCallerRaw) 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 ETHCallerSession

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

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

func (*ETHCallerSession) Allowance

func (_ETH *ETHCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*ETHCallerSession) BalanceOf

func (_ETH *ETHCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*ETHCallerSession) Decimals

func (_ETH *ETHCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*ETHCallerSession) Name

func (_ETH *ETHCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*ETHCallerSession) Symbol

func (_ETH *ETHCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*ETHCallerSession) TotalSupply

func (_ETH *ETHCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type ETHDeposit

type ETHDeposit struct {
	Dst common.Address
	Wad *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

ETHDeposit represents a Deposit event raised by the ETH contract.

type ETHDepositIterator

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

ETHDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the ETH contract.

func (*ETHDepositIterator) Close

func (it *ETHDepositIterator) Close() error

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

func (*ETHDepositIterator) Error

func (it *ETHDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ETHDepositIterator) Next

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

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

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

func NewETHFilterer

func NewETHFilterer(address common.Address, filterer bind.ContractFilterer) (*ETHFilterer, error)

NewETHFilterer creates a new log filterer instance of ETH, bound to a specific deployed contract.

func (*ETHFilterer) FilterApproval

func (_ETH *ETHFilterer) FilterApproval(opts *bind.FilterOpts, src []common.Address, guy []common.Address) (*ETHApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed src, address indexed guy, uint256 wad)

func (*ETHFilterer) FilterDeposit

func (_ETH *ETHFilterer) FilterDeposit(opts *bind.FilterOpts, dst []common.Address) (*ETHDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed dst, uint256 wad)

func (*ETHFilterer) FilterTransfer

func (_ETH *ETHFilterer) FilterTransfer(opts *bind.FilterOpts, src []common.Address, dst []common.Address) (*ETHTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed src, address indexed dst, uint256 wad)

func (*ETHFilterer) FilterWithdrawal

func (_ETH *ETHFilterer) FilterWithdrawal(opts *bind.FilterOpts, src []common.Address) (*ETHWithdrawalIterator, error)

FilterWithdrawal is a free log retrieval operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.

Solidity: event Withdrawal(address indexed src, uint256 wad)

func (*ETHFilterer) ParseApproval

func (_ETH *ETHFilterer) ParseApproval(log types.Log) (*ETHApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed src, address indexed guy, uint256 wad)

func (*ETHFilterer) ParseDeposit

func (_ETH *ETHFilterer) ParseDeposit(log types.Log) (*ETHDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed dst, uint256 wad)

func (*ETHFilterer) ParseTransfer

func (_ETH *ETHFilterer) ParseTransfer(log types.Log) (*ETHTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed src, address indexed dst, uint256 wad)

func (*ETHFilterer) ParseWithdrawal

func (_ETH *ETHFilterer) ParseWithdrawal(log types.Log) (*ETHWithdrawal, error)

ParseWithdrawal is a log parse operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.

Solidity: event Withdrawal(address indexed src, uint256 wad)

func (*ETHFilterer) WatchApproval

func (_ETH *ETHFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ETHApproval, src []common.Address, guy []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed src, address indexed guy, uint256 wad)

func (*ETHFilterer) WatchDeposit

func (_ETH *ETHFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *ETHDeposit, dst []common.Address) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed dst, uint256 wad)

func (*ETHFilterer) WatchTransfer

func (_ETH *ETHFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ETHTransfer, src []common.Address, dst []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed src, address indexed dst, uint256 wad)

func (*ETHFilterer) WatchWithdrawal

func (_ETH *ETHFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *ETHWithdrawal, src []common.Address) (event.Subscription, error)

WatchWithdrawal is a free log subscription operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.

Solidity: event Withdrawal(address indexed src, uint256 wad)

type ETHRaw

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

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

func (*ETHRaw) Call

func (_ETH *ETHRaw) 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 (*ETHRaw) Transact

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

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

func (*ETHRaw) Transfer

func (_ETH *ETHRaw) 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 ETHSession

type ETHSession struct {
	Contract     *ETH              // 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
}

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

func (*ETHSession) Allowance

func (_ETH *ETHSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*ETHSession) Approve

func (_ETH *ETHSession) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address guy, uint256 wad) returns(bool)

func (*ETHSession) BalanceOf

func (_ETH *ETHSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*ETHSession) Decimals

func (_ETH *ETHSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*ETHSession) Deposit

func (_ETH *ETHSession) Deposit() (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*ETHSession) Fallback

func (_ETH *ETHSession) Fallback(calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() payable returns()

func (*ETHSession) Name

func (_ETH *ETHSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*ETHSession) Symbol

func (_ETH *ETHSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*ETHSession) TotalSupply

func (_ETH *ETHSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*ETHSession) Transfer

func (_ETH *ETHSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address dst, uint256 wad) returns(bool)

func (*ETHSession) TransferFrom

func (_ETH *ETHSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)

func (*ETHSession) Withdraw

func (_ETH *ETHSession) Withdraw(wad *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 wad) returns()

type ETHTransactor

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

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

func NewETHTransactor

func NewETHTransactor(address common.Address, transactor bind.ContractTransactor) (*ETHTransactor, error)

NewETHTransactor creates a new write-only instance of ETH, bound to a specific deployed contract.

func (*ETHTransactor) Approve

func (_ETH *ETHTransactor) Approve(opts *bind.TransactOpts, guy common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address guy, uint256 wad) returns(bool)

func (*ETHTransactor) Deposit

func (_ETH *ETHTransactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*ETHTransactor) Fallback

func (_ETH *ETHTransactor) 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 (*ETHTransactor) Transfer

func (_ETH *ETHTransactor) Transfer(opts *bind.TransactOpts, dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address dst, uint256 wad) returns(bool)

func (*ETHTransactor) TransferFrom

func (_ETH *ETHTransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)

func (*ETHTransactor) Withdraw

func (_ETH *ETHTransactor) Withdraw(opts *bind.TransactOpts, wad *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 wad) returns()

type ETHTransactorRaw

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

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

func (*ETHTransactorRaw) Transact

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

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

func (*ETHTransactorRaw) Transfer

func (_ETH *ETHTransactorRaw) 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 ETHTransactorSession

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

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

func (*ETHTransactorSession) Approve

func (_ETH *ETHTransactorSession) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address guy, uint256 wad) returns(bool)

func (*ETHTransactorSession) Deposit

func (_ETH *ETHTransactorSession) Deposit() (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*ETHTransactorSession) Fallback

func (_ETH *ETHTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() payable returns()

func (*ETHTransactorSession) Transfer

func (_ETH *ETHTransactorSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address dst, uint256 wad) returns(bool)

func (*ETHTransactorSession) TransferFrom

func (_ETH *ETHTransactorSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)

func (*ETHTransactorSession) Withdraw

func (_ETH *ETHTransactorSession) Withdraw(wad *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 wad) returns()

type ETHTransfer

type ETHTransfer struct {
	Src common.Address
	Dst common.Address
	Wad *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

ETHTransfer represents a Transfer event raised by the ETH contract.

type ETHTransferIterator

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

ETHTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ETH contract.

func (*ETHTransferIterator) Close

func (it *ETHTransferIterator) Close() error

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

func (*ETHTransferIterator) Error

func (it *ETHTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ETHTransferIterator) Next

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

type ETHWithdrawal struct {
	Src common.Address
	Wad *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

ETHWithdrawal represents a Withdrawal event raised by the ETH contract.

type ETHWithdrawalIterator

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

ETHWithdrawalIterator is returned from FilterWithdrawal and is used to iterate over the raw logs and unpacked data for Withdrawal events raised by the ETH contract.

func (*ETHWithdrawalIterator) Close

func (it *ETHWithdrawalIterator) Close() error

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

func (*ETHWithdrawalIterator) Error

func (it *ETHWithdrawalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ETHWithdrawalIterator) Next

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

type Transfer struct {
	Ts  *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	Src []byte                 `protobuf:"bytes,2,opt,name=Src,proto3" json:"Src,omitempty"` //	address
	Dst []byte                 `protobuf:"bytes,3,opt,name=Dst,proto3" json:"Dst,omitempty"` //	address
	Wad []byte                 `protobuf:"bytes,4,opt,name=Wad,proto3" json:"Wad,omitempty"` //	uint256
	// contains filtered or unexported fields
}

func (*Transfer) Descriptor deprecated

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

Deprecated: Use Transfer.ProtoReflect.Descriptor instead.

func (*Transfer) GetDst

func (x *Transfer) GetDst() []byte

func (*Transfer) GetSrc

func (x *Transfer) GetSrc() []byte

func (*Transfer) GetTs

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

func (*Transfer) GetWad

func (x *Transfer) GetWad() []byte

func (*Transfer) ProtoMessage

func (*Transfer) ProtoMessage()

func (*Transfer) ProtoReflect

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

func (*Transfer) Reset

func (x *Transfer) Reset()

func (*Transfer) String

func (x *Transfer) String() string

type Withdrawal

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

func (*Withdrawal) Descriptor deprecated

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

Deprecated: Use Withdrawal.ProtoReflect.Descriptor instead.

func (*Withdrawal) GetSrc

func (x *Withdrawal) GetSrc() []byte

func (*Withdrawal) GetTs

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

func (*Withdrawal) GetWad

func (x *Withdrawal) GetWad() []byte

func (*Withdrawal) ProtoMessage

func (*Withdrawal) ProtoMessage()

func (*Withdrawal) ProtoReflect

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

func (*Withdrawal) Reset

func (x *Withdrawal) Reset()

func (*Withdrawal) String

func (x *Withdrawal) String() string

Jump to

Keyboard shortcuts

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