OptimismDaiBridge

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

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

Variables

View Source
var File_OptimismDaiBridge_OptimismDaiBridge_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Closed

type Closed struct {
	Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	// contains filtered or unexported fields
}

func (*Closed) Descriptor deprecated

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

Deprecated: Use Closed.ProtoReflect.Descriptor instead.

func (*Closed) GetTs

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

func (*Closed) ProtoMessage

func (*Closed) ProtoMessage()

func (*Closed) ProtoReflect

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

func (*Closed) Reset

func (x *Closed) Reset()

func (*Closed) String

func (x *Closed) String() string

type Deny

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

func (*Deny) Descriptor deprecated

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

Deprecated: Use Deny.ProtoReflect.Descriptor instead.

func (*Deny) GetTs

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

func (*Deny) GetUsr

func (x *Deny) GetUsr() []byte

func (*Deny) ProtoMessage

func (*Deny) ProtoMessage()

func (*Deny) ProtoReflect

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

func (*Deny) Reset

func (x *Deny) Reset()

func (*Deny) String

func (x *Deny) String() string

type ERC20DepositInitiated

type ERC20DepositInitiated struct {
	Ts      *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	L1Token []byte                 `protobuf:"bytes,2,opt,name=L1Token,proto3" json:"L1Token,omitempty"` //	address
	L2Token []byte                 `protobuf:"bytes,3,opt,name=L2Token,proto3" json:"L2Token,omitempty"` //	address
	From    []byte                 `protobuf:"bytes,4,opt,name=From,proto3" json:"From,omitempty"`       //	address
	To      []byte                 `protobuf:"bytes,5,opt,name=To,proto3" json:"To,omitempty"`           //	address
	Amount  []byte                 `protobuf:"bytes,6,opt,name=Amount,proto3" json:"Amount,omitempty"`   //	uint256
	Data    []byte                 `protobuf:"bytes,7,opt,name=Data,proto3" json:"Data,omitempty"`       //	bytes
	// contains filtered or unexported fields
}

func (*ERC20DepositInitiated) Descriptor deprecated

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

Deprecated: Use ERC20DepositInitiated.ProtoReflect.Descriptor instead.

func (*ERC20DepositInitiated) GetAmount

func (x *ERC20DepositInitiated) GetAmount() []byte

func (*ERC20DepositInitiated) GetData

func (x *ERC20DepositInitiated) GetData() []byte

func (*ERC20DepositInitiated) GetFrom

func (x *ERC20DepositInitiated) GetFrom() []byte

func (*ERC20DepositInitiated) GetL1Token

func (x *ERC20DepositInitiated) GetL1Token() []byte

func (*ERC20DepositInitiated) GetL2Token

func (x *ERC20DepositInitiated) GetL2Token() []byte

func (*ERC20DepositInitiated) GetTo

func (x *ERC20DepositInitiated) GetTo() []byte

func (*ERC20DepositInitiated) GetTs

func (*ERC20DepositInitiated) ProtoMessage

func (*ERC20DepositInitiated) ProtoMessage()

func (*ERC20DepositInitiated) ProtoReflect

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

func (*ERC20DepositInitiated) Reset

func (x *ERC20DepositInitiated) Reset()

func (*ERC20DepositInitiated) String

func (x *ERC20DepositInitiated) String() string

type ERC20WithdrawalFinalized

type ERC20WithdrawalFinalized struct {
	Ts      *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	L1Token []byte                 `protobuf:"bytes,2,opt,name=L1Token,proto3" json:"L1Token,omitempty"` //	address
	L2Token []byte                 `protobuf:"bytes,3,opt,name=L2Token,proto3" json:"L2Token,omitempty"` //	address
	From    []byte                 `protobuf:"bytes,4,opt,name=From,proto3" json:"From,omitempty"`       //	address
	To      []byte                 `protobuf:"bytes,5,opt,name=To,proto3" json:"To,omitempty"`           //	address
	Amount  []byte                 `protobuf:"bytes,6,opt,name=Amount,proto3" json:"Amount,omitempty"`   //	uint256
	Data    []byte                 `protobuf:"bytes,7,opt,name=Data,proto3" json:"Data,omitempty"`       //	bytes
	// contains filtered or unexported fields
}

func (*ERC20WithdrawalFinalized) Descriptor deprecated

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

Deprecated: Use ERC20WithdrawalFinalized.ProtoReflect.Descriptor instead.

func (*ERC20WithdrawalFinalized) GetAmount

func (x *ERC20WithdrawalFinalized) GetAmount() []byte

func (*ERC20WithdrawalFinalized) GetData

func (x *ERC20WithdrawalFinalized) GetData() []byte

func (*ERC20WithdrawalFinalized) GetFrom

func (x *ERC20WithdrawalFinalized) GetFrom() []byte

func (*ERC20WithdrawalFinalized) GetL1Token

func (x *ERC20WithdrawalFinalized) GetL1Token() []byte

func (*ERC20WithdrawalFinalized) GetL2Token

func (x *ERC20WithdrawalFinalized) GetL2Token() []byte

func (*ERC20WithdrawalFinalized) GetTo

func (x *ERC20WithdrawalFinalized) GetTo() []byte

func (*ERC20WithdrawalFinalized) GetTs

func (*ERC20WithdrawalFinalized) ProtoMessage

func (*ERC20WithdrawalFinalized) ProtoMessage()

func (*ERC20WithdrawalFinalized) ProtoReflect

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

func (*ERC20WithdrawalFinalized) Reset

func (x *ERC20WithdrawalFinalized) Reset()

func (*ERC20WithdrawalFinalized) String

func (x *ERC20WithdrawalFinalized) String() string

type OPTIMISMDAIBRIDGE

type OPTIMISMDAIBRIDGE struct {
	OPTIMISMDAIBRIDGECaller     // Read-only binding to the contract
	OPTIMISMDAIBRIDGETransactor // Write-only binding to the contract
	OPTIMISMDAIBRIDGEFilterer   // Log filterer for contract events
}

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

func NewOPTIMISMDAIBRIDGE

func NewOPTIMISMDAIBRIDGE(address common.Address, backend bind.ContractBackend) (*OPTIMISMDAIBRIDGE, error)

NewOPTIMISMDAIBRIDGE creates a new instance of OPTIMISMDAIBRIDGE, bound to a specific deployed contract.

type OPTIMISMDAIBRIDGECaller

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

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

func NewOPTIMISMDAIBRIDGECaller

func NewOPTIMISMDAIBRIDGECaller(address common.Address, caller bind.ContractCaller) (*OPTIMISMDAIBRIDGECaller, error)

NewOPTIMISMDAIBRIDGECaller creates a new read-only instance of OPTIMISMDAIBRIDGE, bound to a specific deployed contract.

func (*OPTIMISMDAIBRIDGECaller) Escrow

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGECaller) Escrow(opts *bind.CallOpts) (common.Address, error)

Escrow is a free data retrieval call binding the contract method 0xe2fdcc17.

Solidity: function escrow() view returns(address)

func (*OPTIMISMDAIBRIDGECaller) IsOpen

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGECaller) IsOpen(opts *bind.CallOpts) (*big.Int, error)

IsOpen is a free data retrieval call binding the contract method 0x47535d7b.

Solidity: function isOpen() view returns(uint256)

func (*OPTIMISMDAIBRIDGECaller) L1Token

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGECaller) L1Token(opts *bind.CallOpts) (common.Address, error)

L1Token is a free data retrieval call binding the contract method 0xc01e1bd6.

Solidity: function l1Token() view returns(address)

func (*OPTIMISMDAIBRIDGECaller) L2DAITokenBridge

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGECaller) L2DAITokenBridge(opts *bind.CallOpts) (common.Address, error)

L2DAITokenBridge is a free data retrieval call binding the contract method 0x2e67f7c8.

Solidity: function l2DAITokenBridge() view returns(address)

func (*OPTIMISMDAIBRIDGECaller) L2Token

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGECaller) L2Token(opts *bind.CallOpts) (common.Address, error)

L2Token is a free data retrieval call binding the contract method 0x56eff267.

Solidity: function l2Token() view returns(address)

func (*OPTIMISMDAIBRIDGECaller) Messenger

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGECaller) Messenger(opts *bind.CallOpts) (common.Address, error)

Messenger is a free data retrieval call binding the contract method 0x3cb747bf.

Solidity: function messenger() view returns(address)

func (*OPTIMISMDAIBRIDGECaller) Wards

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGECaller) Wards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

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

type OPTIMISMDAIBRIDGECallerRaw

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

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

func (*OPTIMISMDAIBRIDGECallerRaw) Call

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGECallerRaw) 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 OPTIMISMDAIBRIDGECallerSession

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

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

func (*OPTIMISMDAIBRIDGECallerSession) Escrow

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGECallerSession) Escrow() (common.Address, error)

Escrow is a free data retrieval call binding the contract method 0xe2fdcc17.

Solidity: function escrow() view returns(address)

func (*OPTIMISMDAIBRIDGECallerSession) IsOpen

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGECallerSession) IsOpen() (*big.Int, error)

IsOpen is a free data retrieval call binding the contract method 0x47535d7b.

Solidity: function isOpen() view returns(uint256)

func (*OPTIMISMDAIBRIDGECallerSession) L1Token

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGECallerSession) L1Token() (common.Address, error)

L1Token is a free data retrieval call binding the contract method 0xc01e1bd6.

Solidity: function l1Token() view returns(address)

func (*OPTIMISMDAIBRIDGECallerSession) L2DAITokenBridge

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGECallerSession) L2DAITokenBridge() (common.Address, error)

L2DAITokenBridge is a free data retrieval call binding the contract method 0x2e67f7c8.

Solidity: function l2DAITokenBridge() view returns(address)

func (*OPTIMISMDAIBRIDGECallerSession) L2Token

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGECallerSession) L2Token() (common.Address, error)

L2Token is a free data retrieval call binding the contract method 0x56eff267.

Solidity: function l2Token() view returns(address)

func (*OPTIMISMDAIBRIDGECallerSession) Messenger

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGECallerSession) Messenger() (common.Address, error)

Messenger is a free data retrieval call binding the contract method 0x3cb747bf.

Solidity: function messenger() view returns(address)

func (*OPTIMISMDAIBRIDGECallerSession) Wards

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGECallerSession) Wards(arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

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

type OPTIMISMDAIBRIDGEClosed

type OPTIMISMDAIBRIDGEClosed struct {
	Raw types.Log // Blockchain specific contextual infos
}

OPTIMISMDAIBRIDGEClosed represents a Closed event raised by the OPTIMISMDAIBRIDGE contract.

type OPTIMISMDAIBRIDGEClosedIterator

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

OPTIMISMDAIBRIDGEClosedIterator is returned from FilterClosed and is used to iterate over the raw logs and unpacked data for Closed events raised by the OPTIMISMDAIBRIDGE contract.

func (*OPTIMISMDAIBRIDGEClosedIterator) Close

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

func (*OPTIMISMDAIBRIDGEClosedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OPTIMISMDAIBRIDGEClosedIterator) 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 OPTIMISMDAIBRIDGEDeny

type OPTIMISMDAIBRIDGEDeny struct {
	Usr common.Address
	Raw types.Log // Blockchain specific contextual infos
}

OPTIMISMDAIBRIDGEDeny represents a Deny event raised by the OPTIMISMDAIBRIDGE contract.

type OPTIMISMDAIBRIDGEDenyIterator

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

OPTIMISMDAIBRIDGEDenyIterator is returned from FilterDeny and is used to iterate over the raw logs and unpacked data for Deny events raised by the OPTIMISMDAIBRIDGE contract.

func (*OPTIMISMDAIBRIDGEDenyIterator) Close

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

func (*OPTIMISMDAIBRIDGEDenyIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OPTIMISMDAIBRIDGEDenyIterator) 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 OPTIMISMDAIBRIDGEERC20DepositInitiated

type OPTIMISMDAIBRIDGEERC20DepositInitiated struct {
	L1Token common.Address
	L2Token common.Address
	From    common.Address
	To      common.Address
	Amount  *big.Int
	Data    []byte
	Raw     types.Log // Blockchain specific contextual infos
}

OPTIMISMDAIBRIDGEERC20DepositInitiated represents a ERC20DepositInitiated event raised by the OPTIMISMDAIBRIDGE contract.

type OPTIMISMDAIBRIDGEERC20DepositInitiatedIterator

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

OPTIMISMDAIBRIDGEERC20DepositInitiatedIterator is returned from FilterERC20DepositInitiated and is used to iterate over the raw logs and unpacked data for ERC20DepositInitiated events raised by the OPTIMISMDAIBRIDGE contract.

func (*OPTIMISMDAIBRIDGEERC20DepositInitiatedIterator) Close

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

func (*OPTIMISMDAIBRIDGEERC20DepositInitiatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OPTIMISMDAIBRIDGEERC20DepositInitiatedIterator) 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 OPTIMISMDAIBRIDGEERC20WithdrawalFinalized

type OPTIMISMDAIBRIDGEERC20WithdrawalFinalized struct {
	L1Token common.Address
	L2Token common.Address
	From    common.Address
	To      common.Address
	Amount  *big.Int
	Data    []byte
	Raw     types.Log // Blockchain specific contextual infos
}

OPTIMISMDAIBRIDGEERC20WithdrawalFinalized represents a ERC20WithdrawalFinalized event raised by the OPTIMISMDAIBRIDGE contract.

type OPTIMISMDAIBRIDGEERC20WithdrawalFinalizedIterator

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

OPTIMISMDAIBRIDGEERC20WithdrawalFinalizedIterator is returned from FilterERC20WithdrawalFinalized and is used to iterate over the raw logs and unpacked data for ERC20WithdrawalFinalized events raised by the OPTIMISMDAIBRIDGE contract.

func (*OPTIMISMDAIBRIDGEERC20WithdrawalFinalizedIterator) Close

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

func (*OPTIMISMDAIBRIDGEERC20WithdrawalFinalizedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OPTIMISMDAIBRIDGEERC20WithdrawalFinalizedIterator) 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 OPTIMISMDAIBRIDGEFilterer

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

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

func NewOPTIMISMDAIBRIDGEFilterer

func NewOPTIMISMDAIBRIDGEFilterer(address common.Address, filterer bind.ContractFilterer) (*OPTIMISMDAIBRIDGEFilterer, error)

NewOPTIMISMDAIBRIDGEFilterer creates a new log filterer instance of OPTIMISMDAIBRIDGE, bound to a specific deployed contract.

func (*OPTIMISMDAIBRIDGEFilterer) FilterClosed

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGEFilterer) FilterClosed(opts *bind.FilterOpts) (*OPTIMISMDAIBRIDGEClosedIterator, error)

FilterClosed is a free log retrieval operation binding the contract event 0x1cdde67b72a90f19919ac732a437ac2f7a10fc128d28c2a6e525d89ce5cd9d3a.

Solidity: event Closed()

func (*OPTIMISMDAIBRIDGEFilterer) FilterDeny

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGEFilterer) FilterDeny(opts *bind.FilterOpts, usr []common.Address) (*OPTIMISMDAIBRIDGEDenyIterator, error)

FilterDeny is a free log retrieval operation binding the contract event 0x184450df2e323acec0ed3b5c7531b81f9b4cdef7914dfd4c0a4317416bb5251b.

Solidity: event Deny(address indexed usr)

func (*OPTIMISMDAIBRIDGEFilterer) FilterERC20DepositInitiated

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGEFilterer) FilterERC20DepositInitiated(opts *bind.FilterOpts, _l1Token []common.Address, _l2Token []common.Address, _from []common.Address) (*OPTIMISMDAIBRIDGEERC20DepositInitiatedIterator, error)

FilterERC20DepositInitiated is a free log retrieval operation binding the contract event 0x718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d0396.

Solidity: event ERC20DepositInitiated(address indexed _l1Token, address indexed _l2Token, address indexed _from, address _to, uint256 _amount, bytes _data)

func (*OPTIMISMDAIBRIDGEFilterer) FilterERC20WithdrawalFinalized

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGEFilterer) FilterERC20WithdrawalFinalized(opts *bind.FilterOpts, _l1Token []common.Address, _l2Token []common.Address, _from []common.Address) (*OPTIMISMDAIBRIDGEERC20WithdrawalFinalizedIterator, error)

FilterERC20WithdrawalFinalized is a free log retrieval operation binding the contract event 0x3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b3.

Solidity: event ERC20WithdrawalFinalized(address indexed _l1Token, address indexed _l2Token, address indexed _from, address _to, uint256 _amount, bytes _data)

func (*OPTIMISMDAIBRIDGEFilterer) FilterRely

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGEFilterer) FilterRely(opts *bind.FilterOpts, usr []common.Address) (*OPTIMISMDAIBRIDGERelyIterator, error)

FilterRely is a free log retrieval operation binding the contract event 0xdd0e34038ac38b2a1ce960229778ac48a8719bc900b6c4f8d0475c6e8b385a60.

Solidity: event Rely(address indexed usr)

func (*OPTIMISMDAIBRIDGEFilterer) ParseClosed

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGEFilterer) ParseClosed(log types.Log) (*OPTIMISMDAIBRIDGEClosed, error)

ParseClosed is a log parse operation binding the contract event 0x1cdde67b72a90f19919ac732a437ac2f7a10fc128d28c2a6e525d89ce5cd9d3a.

Solidity: event Closed()

func (*OPTIMISMDAIBRIDGEFilterer) ParseDeny

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGEFilterer) ParseDeny(log types.Log) (*OPTIMISMDAIBRIDGEDeny, error)

ParseDeny is a log parse operation binding the contract event 0x184450df2e323acec0ed3b5c7531b81f9b4cdef7914dfd4c0a4317416bb5251b.

Solidity: event Deny(address indexed usr)

func (*OPTIMISMDAIBRIDGEFilterer) ParseERC20DepositInitiated

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGEFilterer) ParseERC20DepositInitiated(log types.Log) (*OPTIMISMDAIBRIDGEERC20DepositInitiated, error)

ParseERC20DepositInitiated is a log parse operation binding the contract event 0x718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d0396.

Solidity: event ERC20DepositInitiated(address indexed _l1Token, address indexed _l2Token, address indexed _from, address _to, uint256 _amount, bytes _data)

func (*OPTIMISMDAIBRIDGEFilterer) ParseERC20WithdrawalFinalized

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGEFilterer) ParseERC20WithdrawalFinalized(log types.Log) (*OPTIMISMDAIBRIDGEERC20WithdrawalFinalized, error)

ParseERC20WithdrawalFinalized is a log parse operation binding the contract event 0x3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b3.

Solidity: event ERC20WithdrawalFinalized(address indexed _l1Token, address indexed _l2Token, address indexed _from, address _to, uint256 _amount, bytes _data)

func (*OPTIMISMDAIBRIDGEFilterer) ParseRely

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGEFilterer) ParseRely(log types.Log) (*OPTIMISMDAIBRIDGERely, error)

ParseRely is a log parse operation binding the contract event 0xdd0e34038ac38b2a1ce960229778ac48a8719bc900b6c4f8d0475c6e8b385a60.

Solidity: event Rely(address indexed usr)

func (*OPTIMISMDAIBRIDGEFilterer) WatchClosed

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGEFilterer) WatchClosed(opts *bind.WatchOpts, sink chan<- *OPTIMISMDAIBRIDGEClosed) (event.Subscription, error)

WatchClosed is a free log subscription operation binding the contract event 0x1cdde67b72a90f19919ac732a437ac2f7a10fc128d28c2a6e525d89ce5cd9d3a.

Solidity: event Closed()

func (*OPTIMISMDAIBRIDGEFilterer) WatchDeny

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGEFilterer) WatchDeny(opts *bind.WatchOpts, sink chan<- *OPTIMISMDAIBRIDGEDeny, usr []common.Address) (event.Subscription, error)

WatchDeny is a free log subscription operation binding the contract event 0x184450df2e323acec0ed3b5c7531b81f9b4cdef7914dfd4c0a4317416bb5251b.

Solidity: event Deny(address indexed usr)

func (*OPTIMISMDAIBRIDGEFilterer) WatchERC20DepositInitiated

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGEFilterer) WatchERC20DepositInitiated(opts *bind.WatchOpts, sink chan<- *OPTIMISMDAIBRIDGEERC20DepositInitiated, _l1Token []common.Address, _l2Token []common.Address, _from []common.Address) (event.Subscription, error)

WatchERC20DepositInitiated is a free log subscription operation binding the contract event 0x718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d0396.

Solidity: event ERC20DepositInitiated(address indexed _l1Token, address indexed _l2Token, address indexed _from, address _to, uint256 _amount, bytes _data)

func (*OPTIMISMDAIBRIDGEFilterer) WatchERC20WithdrawalFinalized

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGEFilterer) WatchERC20WithdrawalFinalized(opts *bind.WatchOpts, sink chan<- *OPTIMISMDAIBRIDGEERC20WithdrawalFinalized, _l1Token []common.Address, _l2Token []common.Address, _from []common.Address) (event.Subscription, error)

WatchERC20WithdrawalFinalized is a free log subscription operation binding the contract event 0x3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b3.

Solidity: event ERC20WithdrawalFinalized(address indexed _l1Token, address indexed _l2Token, address indexed _from, address _to, uint256 _amount, bytes _data)

func (*OPTIMISMDAIBRIDGEFilterer) WatchRely

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGEFilterer) WatchRely(opts *bind.WatchOpts, sink chan<- *OPTIMISMDAIBRIDGERely, usr []common.Address) (event.Subscription, error)

WatchRely is a free log subscription operation binding the contract event 0xdd0e34038ac38b2a1ce960229778ac48a8719bc900b6c4f8d0475c6e8b385a60.

Solidity: event Rely(address indexed usr)

type OPTIMISMDAIBRIDGERaw

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

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

func (*OPTIMISMDAIBRIDGERaw) Call

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGERaw) 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 (*OPTIMISMDAIBRIDGERaw) Transact

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

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

func (*OPTIMISMDAIBRIDGERaw) Transfer

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGERaw) 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 OPTIMISMDAIBRIDGERely

type OPTIMISMDAIBRIDGERely struct {
	Usr common.Address
	Raw types.Log // Blockchain specific contextual infos
}

OPTIMISMDAIBRIDGERely represents a Rely event raised by the OPTIMISMDAIBRIDGE contract.

type OPTIMISMDAIBRIDGERelyIterator

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

OPTIMISMDAIBRIDGERelyIterator is returned from FilterRely and is used to iterate over the raw logs and unpacked data for Rely events raised by the OPTIMISMDAIBRIDGE contract.

func (*OPTIMISMDAIBRIDGERelyIterator) Close

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

func (*OPTIMISMDAIBRIDGERelyIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OPTIMISMDAIBRIDGERelyIterator) 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 OPTIMISMDAIBRIDGESession

type OPTIMISMDAIBRIDGESession struct {
	Contract     *OPTIMISMDAIBRIDGE // 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
}

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

func (*OPTIMISMDAIBRIDGESession) Close

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGESession) Close() (*types.Transaction, error)

Close is a paid mutator transaction binding the contract method 0x43d726d6.

Solidity: function close() returns()

func (*OPTIMISMDAIBRIDGESession) Deny

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGESession) Deny(usr common.Address) (*types.Transaction, error)

Deny is a paid mutator transaction binding the contract method 0x9c52a7f1.

Solidity: function deny(address usr) returns()

func (*OPTIMISMDAIBRIDGESession) DepositERC20

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGESession) DepositERC20(_l1Token common.Address, _l2Token common.Address, _amount *big.Int, _l2Gas uint32, _data []byte) (*types.Transaction, error)

DepositERC20 is a paid mutator transaction binding the contract method 0x58a997f6.

Solidity: function depositERC20(address _l1Token, address _l2Token, uint256 _amount, uint32 _l2Gas, bytes _data) returns()

func (*OPTIMISMDAIBRIDGESession) DepositERC20To

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGESession) DepositERC20To(_l1Token common.Address, _l2Token common.Address, _to common.Address, _amount *big.Int, _l2Gas uint32, _data []byte) (*types.Transaction, error)

DepositERC20To is a paid mutator transaction binding the contract method 0x838b2520.

Solidity: function depositERC20To(address _l1Token, address _l2Token, address _to, uint256 _amount, uint32 _l2Gas, bytes _data) returns()

func (*OPTIMISMDAIBRIDGESession) Escrow

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGESession) Escrow() (common.Address, error)

Escrow is a free data retrieval call binding the contract method 0xe2fdcc17.

Solidity: function escrow() view returns(address)

func (*OPTIMISMDAIBRIDGESession) FinalizeERC20Withdrawal

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGESession) FinalizeERC20Withdrawal(_l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)

FinalizeERC20Withdrawal is a paid mutator transaction binding the contract method 0xa9f9e675.

Solidity: function finalizeERC20Withdrawal(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _data) returns()

func (*OPTIMISMDAIBRIDGESession) IsOpen

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGESession) IsOpen() (*big.Int, error)

IsOpen is a free data retrieval call binding the contract method 0x47535d7b.

Solidity: function isOpen() view returns(uint256)

func (*OPTIMISMDAIBRIDGESession) L1Token

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGESession) L1Token() (common.Address, error)

L1Token is a free data retrieval call binding the contract method 0xc01e1bd6.

Solidity: function l1Token() view returns(address)

func (*OPTIMISMDAIBRIDGESession) L2DAITokenBridge

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGESession) L2DAITokenBridge() (common.Address, error)

L2DAITokenBridge is a free data retrieval call binding the contract method 0x2e67f7c8.

Solidity: function l2DAITokenBridge() view returns(address)

func (*OPTIMISMDAIBRIDGESession) L2Token

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGESession) L2Token() (common.Address, error)

L2Token is a free data retrieval call binding the contract method 0x56eff267.

Solidity: function l2Token() view returns(address)

func (*OPTIMISMDAIBRIDGESession) Messenger

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGESession) Messenger() (common.Address, error)

Messenger is a free data retrieval call binding the contract method 0x3cb747bf.

Solidity: function messenger() view returns(address)

func (*OPTIMISMDAIBRIDGESession) Rely

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGESession) Rely(usr common.Address) (*types.Transaction, error)

Rely is a paid mutator transaction binding the contract method 0x65fae35e.

Solidity: function rely(address usr) returns()

func (*OPTIMISMDAIBRIDGESession) Wards

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGESession) Wards(arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

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

type OPTIMISMDAIBRIDGETransactor

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

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

func NewOPTIMISMDAIBRIDGETransactor

func NewOPTIMISMDAIBRIDGETransactor(address common.Address, transactor bind.ContractTransactor) (*OPTIMISMDAIBRIDGETransactor, error)

NewOPTIMISMDAIBRIDGETransactor creates a new write-only instance of OPTIMISMDAIBRIDGE, bound to a specific deployed contract.

func (*OPTIMISMDAIBRIDGETransactor) Close

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGETransactor) Close(opts *bind.TransactOpts) (*types.Transaction, error)

Close is a paid mutator transaction binding the contract method 0x43d726d6.

Solidity: function close() returns()

func (*OPTIMISMDAIBRIDGETransactor) Deny

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGETransactor) Deny(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)

Deny is a paid mutator transaction binding the contract method 0x9c52a7f1.

Solidity: function deny(address usr) returns()

func (*OPTIMISMDAIBRIDGETransactor) DepositERC20

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGETransactor) DepositERC20(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, _amount *big.Int, _l2Gas uint32, _data []byte) (*types.Transaction, error)

DepositERC20 is a paid mutator transaction binding the contract method 0x58a997f6.

Solidity: function depositERC20(address _l1Token, address _l2Token, uint256 _amount, uint32 _l2Gas, bytes _data) returns()

func (*OPTIMISMDAIBRIDGETransactor) DepositERC20To

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGETransactor) DepositERC20To(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, _to common.Address, _amount *big.Int, _l2Gas uint32, _data []byte) (*types.Transaction, error)

DepositERC20To is a paid mutator transaction binding the contract method 0x838b2520.

Solidity: function depositERC20To(address _l1Token, address _l2Token, address _to, uint256 _amount, uint32 _l2Gas, bytes _data) returns()

func (*OPTIMISMDAIBRIDGETransactor) FinalizeERC20Withdrawal

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGETransactor) FinalizeERC20Withdrawal(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)

FinalizeERC20Withdrawal is a paid mutator transaction binding the contract method 0xa9f9e675.

Solidity: function finalizeERC20Withdrawal(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _data) returns()

func (*OPTIMISMDAIBRIDGETransactor) Rely

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGETransactor) Rely(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)

Rely is a paid mutator transaction binding the contract method 0x65fae35e.

Solidity: function rely(address usr) returns()

type OPTIMISMDAIBRIDGETransactorRaw

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

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

func (*OPTIMISMDAIBRIDGETransactorRaw) Transact

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

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

func (*OPTIMISMDAIBRIDGETransactorRaw) Transfer

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGETransactorRaw) 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 OPTIMISMDAIBRIDGETransactorSession

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

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

func (*OPTIMISMDAIBRIDGETransactorSession) Close

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGETransactorSession) Close() (*types.Transaction, error)

Close is a paid mutator transaction binding the contract method 0x43d726d6.

Solidity: function close() returns()

func (*OPTIMISMDAIBRIDGETransactorSession) Deny

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGETransactorSession) Deny(usr common.Address) (*types.Transaction, error)

Deny is a paid mutator transaction binding the contract method 0x9c52a7f1.

Solidity: function deny(address usr) returns()

func (*OPTIMISMDAIBRIDGETransactorSession) DepositERC20

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGETransactorSession) DepositERC20(_l1Token common.Address, _l2Token common.Address, _amount *big.Int, _l2Gas uint32, _data []byte) (*types.Transaction, error)

DepositERC20 is a paid mutator transaction binding the contract method 0x58a997f6.

Solidity: function depositERC20(address _l1Token, address _l2Token, uint256 _amount, uint32 _l2Gas, bytes _data) returns()

func (*OPTIMISMDAIBRIDGETransactorSession) DepositERC20To

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGETransactorSession) DepositERC20To(_l1Token common.Address, _l2Token common.Address, _to common.Address, _amount *big.Int, _l2Gas uint32, _data []byte) (*types.Transaction, error)

DepositERC20To is a paid mutator transaction binding the contract method 0x838b2520.

Solidity: function depositERC20To(address _l1Token, address _l2Token, address _to, uint256 _amount, uint32 _l2Gas, bytes _data) returns()

func (*OPTIMISMDAIBRIDGETransactorSession) FinalizeERC20Withdrawal

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGETransactorSession) FinalizeERC20Withdrawal(_l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)

FinalizeERC20Withdrawal is a paid mutator transaction binding the contract method 0xa9f9e675.

Solidity: function finalizeERC20Withdrawal(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _data) returns()

func (*OPTIMISMDAIBRIDGETransactorSession) Rely

func (_OPTIMISMDAIBRIDGE *OPTIMISMDAIBRIDGETransactorSession) Rely(usr common.Address) (*types.Transaction, error)

Rely is a paid mutator transaction binding the contract method 0x65fae35e.

Solidity: function rely(address usr) returns()

type Rely

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

func (*Rely) Descriptor deprecated

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

Deprecated: Use Rely.ProtoReflect.Descriptor instead.

func (*Rely) GetTs

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

func (*Rely) GetUsr

func (x *Rely) GetUsr() []byte

func (*Rely) ProtoMessage

func (*Rely) ProtoMessage()

func (*Rely) ProtoReflect

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

func (*Rely) Reset

func (x *Rely) Reset()

func (*Rely) String

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

Jump to

Keyboard shortcuts

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