OptimismEscrow

package
v0.0.0-...-cc46cae Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const OPTIMISMESCROWABI = "" /* 1637-byte string literal not displayed */

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

Variables

View Source
var File_OptimismEscrow_OptimismEscrow_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Approve

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

func (*Approve) Descriptor deprecated

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

Deprecated: Use Approve.ProtoReflect.Descriptor instead.

func (*Approve) GetSpender

func (x *Approve) GetSpender() []byte

func (*Approve) GetToken

func (x *Approve) GetToken() []byte

func (*Approve) GetTs

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

func (*Approve) GetValue

func (x *Approve) GetValue() []byte

func (*Approve) ProtoMessage

func (*Approve) ProtoMessage()

func (*Approve) ProtoReflect

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

func (*Approve) Reset

func (x *Approve) Reset()

func (*Approve) String

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

type OPTIMISMESCROW struct {
	OPTIMISMESCROWCaller     // Read-only binding to the contract
	OPTIMISMESCROWTransactor // Write-only binding to the contract
	OPTIMISMESCROWFilterer   // Log filterer for contract events
}

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

func NewOPTIMISMESCROW

func NewOPTIMISMESCROW(address common.Address, backend bind.ContractBackend) (*OPTIMISMESCROW, error)

NewOPTIMISMESCROW creates a new instance of OPTIMISMESCROW, bound to a specific deployed contract.

type OPTIMISMESCROWApprove

type OPTIMISMESCROWApprove struct {
	Token   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

OPTIMISMESCROWApprove represents a Approve event raised by the OPTIMISMESCROW contract.

type OPTIMISMESCROWApproveIterator

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

OPTIMISMESCROWApproveIterator is returned from FilterApprove and is used to iterate over the raw logs and unpacked data for Approve events raised by the OPTIMISMESCROW contract.

func (*OPTIMISMESCROWApproveIterator) Close

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

func (*OPTIMISMESCROWApproveIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OPTIMISMESCROWApproveIterator) 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 OPTIMISMESCROWCaller

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

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

func NewOPTIMISMESCROWCaller

func NewOPTIMISMESCROWCaller(address common.Address, caller bind.ContractCaller) (*OPTIMISMESCROWCaller, error)

NewOPTIMISMESCROWCaller creates a new read-only instance of OPTIMISMESCROW, bound to a specific deployed contract.

func (*OPTIMISMESCROWCaller) Wards

func (_OPTIMISMESCROW *OPTIMISMESCROWCaller) 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 OPTIMISMESCROWCallerRaw

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

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

func (*OPTIMISMESCROWCallerRaw) Call

func (_OPTIMISMESCROW *OPTIMISMESCROWCallerRaw) 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 OPTIMISMESCROWCallerSession

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

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

func (*OPTIMISMESCROWCallerSession) Wards

func (_OPTIMISMESCROW *OPTIMISMESCROWCallerSession) 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 OPTIMISMESCROWDeny

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

OPTIMISMESCROWDeny represents a Deny event raised by the OPTIMISMESCROW contract.

type OPTIMISMESCROWDenyIterator

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

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

func (*OPTIMISMESCROWDenyIterator) Close

func (it *OPTIMISMESCROWDenyIterator) Close() error

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

func (*OPTIMISMESCROWDenyIterator) Error

func (it *OPTIMISMESCROWDenyIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*OPTIMISMESCROWDenyIterator) Next

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

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

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

func NewOPTIMISMESCROWFilterer

func NewOPTIMISMESCROWFilterer(address common.Address, filterer bind.ContractFilterer) (*OPTIMISMESCROWFilterer, error)

NewOPTIMISMESCROWFilterer creates a new log filterer instance of OPTIMISMESCROW, bound to a specific deployed contract.

func (*OPTIMISMESCROWFilterer) FilterApprove

func (_OPTIMISMESCROW *OPTIMISMESCROWFilterer) FilterApprove(opts *bind.FilterOpts, token []common.Address, spender []common.Address) (*OPTIMISMESCROWApproveIterator, error)

FilterApprove is a free log retrieval operation binding the contract event 0x6e11fb1b7f119e3f2fa29896ef5fdf8b8a2d0d4df6fe90ba8668e7d8b2ffa25e.

Solidity: event Approve(address indexed token, address indexed spender, uint256 value)

func (*OPTIMISMESCROWFilterer) FilterDeny

func (_OPTIMISMESCROW *OPTIMISMESCROWFilterer) FilterDeny(opts *bind.FilterOpts, usr []common.Address) (*OPTIMISMESCROWDenyIterator, error)

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

Solidity: event Deny(address indexed usr)

func (*OPTIMISMESCROWFilterer) FilterRely

func (_OPTIMISMESCROW *OPTIMISMESCROWFilterer) FilterRely(opts *bind.FilterOpts, usr []common.Address) (*OPTIMISMESCROWRelyIterator, error)

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

Solidity: event Rely(address indexed usr)

func (*OPTIMISMESCROWFilterer) ParseApprove

func (_OPTIMISMESCROW *OPTIMISMESCROWFilterer) ParseApprove(log types.Log) (*OPTIMISMESCROWApprove, error)

ParseApprove is a log parse operation binding the contract event 0x6e11fb1b7f119e3f2fa29896ef5fdf8b8a2d0d4df6fe90ba8668e7d8b2ffa25e.

Solidity: event Approve(address indexed token, address indexed spender, uint256 value)

func (*OPTIMISMESCROWFilterer) ParseDeny

func (_OPTIMISMESCROW *OPTIMISMESCROWFilterer) ParseDeny(log types.Log) (*OPTIMISMESCROWDeny, error)

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

Solidity: event Deny(address indexed usr)

func (*OPTIMISMESCROWFilterer) ParseRely

func (_OPTIMISMESCROW *OPTIMISMESCROWFilterer) ParseRely(log types.Log) (*OPTIMISMESCROWRely, error)

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

Solidity: event Rely(address indexed usr)

func (*OPTIMISMESCROWFilterer) WatchApprove

func (_OPTIMISMESCROW *OPTIMISMESCROWFilterer) WatchApprove(opts *bind.WatchOpts, sink chan<- *OPTIMISMESCROWApprove, token []common.Address, spender []common.Address) (event.Subscription, error)

WatchApprove is a free log subscription operation binding the contract event 0x6e11fb1b7f119e3f2fa29896ef5fdf8b8a2d0d4df6fe90ba8668e7d8b2ffa25e.

Solidity: event Approve(address indexed token, address indexed spender, uint256 value)

func (*OPTIMISMESCROWFilterer) WatchDeny

func (_OPTIMISMESCROW *OPTIMISMESCROWFilterer) WatchDeny(opts *bind.WatchOpts, sink chan<- *OPTIMISMESCROWDeny, 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 (*OPTIMISMESCROWFilterer) WatchRely

func (_OPTIMISMESCROW *OPTIMISMESCROWFilterer) WatchRely(opts *bind.WatchOpts, sink chan<- *OPTIMISMESCROWRely, 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 OPTIMISMESCROWRaw

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

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

func (*OPTIMISMESCROWRaw) Call

func (_OPTIMISMESCROW *OPTIMISMESCROWRaw) 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 (*OPTIMISMESCROWRaw) Transact

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

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

func (*OPTIMISMESCROWRaw) Transfer

func (_OPTIMISMESCROW *OPTIMISMESCROWRaw) 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 OPTIMISMESCROWRely

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

OPTIMISMESCROWRely represents a Rely event raised by the OPTIMISMESCROW contract.

type OPTIMISMESCROWRelyIterator

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

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

func (*OPTIMISMESCROWRelyIterator) Close

func (it *OPTIMISMESCROWRelyIterator) Close() error

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

func (*OPTIMISMESCROWRelyIterator) Error

func (it *OPTIMISMESCROWRelyIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*OPTIMISMESCROWRelyIterator) Next

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

type OPTIMISMESCROWSession struct {
	Contract     *OPTIMISMESCROW   // 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
}

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

func (*OPTIMISMESCROWSession) Approve

func (_OPTIMISMESCROW *OPTIMISMESCROWSession) Approve(token common.Address, spender common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address token, address spender, uint256 value) returns()

func (*OPTIMISMESCROWSession) Deny

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

func (_OPTIMISMESCROW *OPTIMISMESCROWSession) 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 (*OPTIMISMESCROWSession) Wards

func (_OPTIMISMESCROW *OPTIMISMESCROWSession) 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 OPTIMISMESCROWTransactor

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

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

func NewOPTIMISMESCROWTransactor

func NewOPTIMISMESCROWTransactor(address common.Address, transactor bind.ContractTransactor) (*OPTIMISMESCROWTransactor, error)

NewOPTIMISMESCROWTransactor creates a new write-only instance of OPTIMISMESCROW, bound to a specific deployed contract.

func (*OPTIMISMESCROWTransactor) Approve

func (_OPTIMISMESCROW *OPTIMISMESCROWTransactor) Approve(opts *bind.TransactOpts, token common.Address, spender common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address token, address spender, uint256 value) returns()

func (*OPTIMISMESCROWTransactor) Deny

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

func (_OPTIMISMESCROW *OPTIMISMESCROWTransactor) 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 OPTIMISMESCROWTransactorRaw

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

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

func (*OPTIMISMESCROWTransactorRaw) Transact

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

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

func (*OPTIMISMESCROWTransactorRaw) Transfer

func (_OPTIMISMESCROW *OPTIMISMESCROWTransactorRaw) 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 OPTIMISMESCROWTransactorSession

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

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

func (*OPTIMISMESCROWTransactorSession) Approve

func (_OPTIMISMESCROW *OPTIMISMESCROWTransactorSession) Approve(token common.Address, spender common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address token, address spender, uint256 value) returns()

func (*OPTIMISMESCROWTransactorSession) Deny

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

func (_OPTIMISMESCROW *OPTIMISMESCROWTransactorSession) 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