DirectMom

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

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

Variables

View Source
var File_DirectMom_DirectMom_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DIRECTMOM

type DIRECTMOM struct {
	DIRECTMOMCaller     // Read-only binding to the contract
	DIRECTMOMTransactor // Write-only binding to the contract
	DIRECTMOMFilterer   // Log filterer for contract events
}

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

func NewDIRECTMOM

func NewDIRECTMOM(address common.Address, backend bind.ContractBackend) (*DIRECTMOM, error)

NewDIRECTMOM creates a new instance of DIRECTMOM, bound to a specific deployed contract.

type DIRECTMOMCaller

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

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

func NewDIRECTMOMCaller

func NewDIRECTMOMCaller(address common.Address, caller bind.ContractCaller) (*DIRECTMOMCaller, error)

NewDIRECTMOMCaller creates a new read-only instance of DIRECTMOM, bound to a specific deployed contract.

func (*DIRECTMOMCaller) Authority

func (_DIRECTMOM *DIRECTMOMCaller) Authority(opts *bind.CallOpts) (common.Address, error)

Authority is a free data retrieval call binding the contract method 0xbf7e214f.

Solidity: function authority() view returns(address)

func (*DIRECTMOMCaller) Owner

func (_DIRECTMOM *DIRECTMOMCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

type DIRECTMOMCallerRaw

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

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

func (*DIRECTMOMCallerRaw) Call

func (_DIRECTMOM *DIRECTMOMCallerRaw) 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 DIRECTMOMCallerSession

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

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

func (*DIRECTMOMCallerSession) Authority

func (_DIRECTMOM *DIRECTMOMCallerSession) Authority() (common.Address, error)

Authority is a free data retrieval call binding the contract method 0xbf7e214f.

Solidity: function authority() view returns(address)

func (*DIRECTMOMCallerSession) Owner

func (_DIRECTMOM *DIRECTMOMCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

type DIRECTMOMDisable

type DIRECTMOMDisable struct {
	Who common.Address
	Raw types.Log // Blockchain specific contextual infos
}

DIRECTMOMDisable represents a Disable event raised by the DIRECTMOM contract.

type DIRECTMOMDisableIterator

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

DIRECTMOMDisableIterator is returned from FilterDisable and is used to iterate over the raw logs and unpacked data for Disable events raised by the DIRECTMOM contract.

func (*DIRECTMOMDisableIterator) Close

func (it *DIRECTMOMDisableIterator) Close() error

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

func (*DIRECTMOMDisableIterator) Error

func (it *DIRECTMOMDisableIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DIRECTMOMDisableIterator) Next

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

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

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

func NewDIRECTMOMFilterer

func NewDIRECTMOMFilterer(address common.Address, filterer bind.ContractFilterer) (*DIRECTMOMFilterer, error)

NewDIRECTMOMFilterer creates a new log filterer instance of DIRECTMOM, bound to a specific deployed contract.

func (*DIRECTMOMFilterer) FilterDisable

func (_DIRECTMOM *DIRECTMOMFilterer) FilterDisable(opts *bind.FilterOpts, who []common.Address) (*DIRECTMOMDisableIterator, error)

FilterDisable is a free log retrieval operation binding the contract event 0x1d6f80aff2255e9cb1aee4abaf819aec89a6ae3fce7eb53b852640eb8052609c.

Solidity: event Disable(address indexed who)

func (*DIRECTMOMFilterer) FilterSetAuthority

func (_DIRECTMOM *DIRECTMOMFilterer) FilterSetAuthority(opts *bind.FilterOpts, oldAuthority []common.Address, newAuthority []common.Address) (*DIRECTMOMSetAuthorityIterator, error)

FilterSetAuthority is a free log retrieval operation binding the contract event 0x2ee176e1c4a74440b01c211156e3e4de7b868cd621c5abfe477e01918e7ef671.

Solidity: event SetAuthority(address indexed oldAuthority, address indexed newAuthority)

func (*DIRECTMOMFilterer) FilterSetOwner

func (_DIRECTMOM *DIRECTMOMFilterer) FilterSetOwner(opts *bind.FilterOpts, oldOwner []common.Address, newOwner []common.Address) (*DIRECTMOMSetOwnerIterator, error)

FilterSetOwner is a free log retrieval operation binding the contract event 0xcbf985117192c8f614a58aaf97226bb80a754772f5f6edf06f87c675f2e6c663.

Solidity: event SetOwner(address indexed oldOwner, address indexed newOwner)

func (*DIRECTMOMFilterer) ParseDisable

func (_DIRECTMOM *DIRECTMOMFilterer) ParseDisable(log types.Log) (*DIRECTMOMDisable, error)

ParseDisable is a log parse operation binding the contract event 0x1d6f80aff2255e9cb1aee4abaf819aec89a6ae3fce7eb53b852640eb8052609c.

Solidity: event Disable(address indexed who)

func (*DIRECTMOMFilterer) ParseSetAuthority

func (_DIRECTMOM *DIRECTMOMFilterer) ParseSetAuthority(log types.Log) (*DIRECTMOMSetAuthority, error)

ParseSetAuthority is a log parse operation binding the contract event 0x2ee176e1c4a74440b01c211156e3e4de7b868cd621c5abfe477e01918e7ef671.

Solidity: event SetAuthority(address indexed oldAuthority, address indexed newAuthority)

func (*DIRECTMOMFilterer) ParseSetOwner

func (_DIRECTMOM *DIRECTMOMFilterer) ParseSetOwner(log types.Log) (*DIRECTMOMSetOwner, error)

ParseSetOwner is a log parse operation binding the contract event 0xcbf985117192c8f614a58aaf97226bb80a754772f5f6edf06f87c675f2e6c663.

Solidity: event SetOwner(address indexed oldOwner, address indexed newOwner)

func (*DIRECTMOMFilterer) WatchDisable

func (_DIRECTMOM *DIRECTMOMFilterer) WatchDisable(opts *bind.WatchOpts, sink chan<- *DIRECTMOMDisable, who []common.Address) (event.Subscription, error)

WatchDisable is a free log subscription operation binding the contract event 0x1d6f80aff2255e9cb1aee4abaf819aec89a6ae3fce7eb53b852640eb8052609c.

Solidity: event Disable(address indexed who)

func (*DIRECTMOMFilterer) WatchSetAuthority

func (_DIRECTMOM *DIRECTMOMFilterer) WatchSetAuthority(opts *bind.WatchOpts, sink chan<- *DIRECTMOMSetAuthority, oldAuthority []common.Address, newAuthority []common.Address) (event.Subscription, error)

WatchSetAuthority is a free log subscription operation binding the contract event 0x2ee176e1c4a74440b01c211156e3e4de7b868cd621c5abfe477e01918e7ef671.

Solidity: event SetAuthority(address indexed oldAuthority, address indexed newAuthority)

func (*DIRECTMOMFilterer) WatchSetOwner

func (_DIRECTMOM *DIRECTMOMFilterer) WatchSetOwner(opts *bind.WatchOpts, sink chan<- *DIRECTMOMSetOwner, oldOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchSetOwner is a free log subscription operation binding the contract event 0xcbf985117192c8f614a58aaf97226bb80a754772f5f6edf06f87c675f2e6c663.

Solidity: event SetOwner(address indexed oldOwner, address indexed newOwner)

type DIRECTMOMRaw

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

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

func (*DIRECTMOMRaw) Call

func (_DIRECTMOM *DIRECTMOMRaw) 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 (*DIRECTMOMRaw) Transact

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

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

func (*DIRECTMOMRaw) Transfer

func (_DIRECTMOM *DIRECTMOMRaw) 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 DIRECTMOMSession

type DIRECTMOMSession struct {
	Contract     *DIRECTMOM        // 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
}

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

func (*DIRECTMOMSession) Authority

func (_DIRECTMOM *DIRECTMOMSession) Authority() (common.Address, error)

Authority is a free data retrieval call binding the contract method 0xbf7e214f.

Solidity: function authority() view returns(address)

func (*DIRECTMOMSession) Disable

func (_DIRECTMOM *DIRECTMOMSession) Disable(who common.Address) (*types.Transaction, error)

Disable is a paid mutator transaction binding the contract method 0xe6c09edf.

Solidity: function disable(address who) returns()

func (*DIRECTMOMSession) Owner

func (_DIRECTMOM *DIRECTMOMSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*DIRECTMOMSession) SetAuthority

func (_DIRECTMOM *DIRECTMOMSession) SetAuthority(authority_ common.Address) (*types.Transaction, error)

SetAuthority is a paid mutator transaction binding the contract method 0x7a9e5e4b.

Solidity: function setAuthority(address authority_) returns()

func (*DIRECTMOMSession) SetOwner

func (_DIRECTMOM *DIRECTMOMSession) SetOwner(owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(address owner_) returns()

type DIRECTMOMSetAuthority

type DIRECTMOMSetAuthority struct {
	OldAuthority common.Address
	NewAuthority common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

DIRECTMOMSetAuthority represents a SetAuthority event raised by the DIRECTMOM contract.

type DIRECTMOMSetAuthorityIterator

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

DIRECTMOMSetAuthorityIterator is returned from FilterSetAuthority and is used to iterate over the raw logs and unpacked data for SetAuthority events raised by the DIRECTMOM contract.

func (*DIRECTMOMSetAuthorityIterator) Close

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

func (*DIRECTMOMSetAuthorityIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DIRECTMOMSetAuthorityIterator) 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 DIRECTMOMSetOwner

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

DIRECTMOMSetOwner represents a SetOwner event raised by the DIRECTMOM contract.

type DIRECTMOMSetOwnerIterator

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

DIRECTMOMSetOwnerIterator is returned from FilterSetOwner and is used to iterate over the raw logs and unpacked data for SetOwner events raised by the DIRECTMOM contract.

func (*DIRECTMOMSetOwnerIterator) Close

func (it *DIRECTMOMSetOwnerIterator) Close() error

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

func (*DIRECTMOMSetOwnerIterator) Error

func (it *DIRECTMOMSetOwnerIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DIRECTMOMSetOwnerIterator) Next

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

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

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

func NewDIRECTMOMTransactor

func NewDIRECTMOMTransactor(address common.Address, transactor bind.ContractTransactor) (*DIRECTMOMTransactor, error)

NewDIRECTMOMTransactor creates a new write-only instance of DIRECTMOM, bound to a specific deployed contract.

func (*DIRECTMOMTransactor) Disable

func (_DIRECTMOM *DIRECTMOMTransactor) Disable(opts *bind.TransactOpts, who common.Address) (*types.Transaction, error)

Disable is a paid mutator transaction binding the contract method 0xe6c09edf.

Solidity: function disable(address who) returns()

func (*DIRECTMOMTransactor) SetAuthority

func (_DIRECTMOM *DIRECTMOMTransactor) SetAuthority(opts *bind.TransactOpts, authority_ common.Address) (*types.Transaction, error)

SetAuthority is a paid mutator transaction binding the contract method 0x7a9e5e4b.

Solidity: function setAuthority(address authority_) returns()

func (*DIRECTMOMTransactor) SetOwner

func (_DIRECTMOM *DIRECTMOMTransactor) SetOwner(opts *bind.TransactOpts, owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(address owner_) returns()

type DIRECTMOMTransactorRaw

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

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

func (*DIRECTMOMTransactorRaw) Transact

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

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

func (*DIRECTMOMTransactorRaw) Transfer

func (_DIRECTMOM *DIRECTMOMTransactorRaw) 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 DIRECTMOMTransactorSession

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

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

func (*DIRECTMOMTransactorSession) Disable

func (_DIRECTMOM *DIRECTMOMTransactorSession) Disable(who common.Address) (*types.Transaction, error)

Disable is a paid mutator transaction binding the contract method 0xe6c09edf.

Solidity: function disable(address who) returns()

func (*DIRECTMOMTransactorSession) SetAuthority

func (_DIRECTMOM *DIRECTMOMTransactorSession) SetAuthority(authority_ common.Address) (*types.Transaction, error)

SetAuthority is a paid mutator transaction binding the contract method 0x7a9e5e4b.

Solidity: function setAuthority(address authority_) returns()

func (*DIRECTMOMTransactorSession) SetOwner

func (_DIRECTMOM *DIRECTMOMTransactorSession) SetOwner(owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(address owner_) returns()

type Disable

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

func (*Disable) Descriptor deprecated

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

Deprecated: Use Disable.ProtoReflect.Descriptor instead.

func (*Disable) GetTs

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

func (*Disable) GetWho

func (x *Disable) GetWho() []byte

func (*Disable) ProtoMessage

func (*Disable) ProtoMessage()

func (*Disable) ProtoReflect

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

func (*Disable) Reset

func (x *Disable) Reset()

func (*Disable) String

func (x *Disable) String() string

type SetAuthority

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

func (*SetAuthority) Descriptor deprecated

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

Deprecated: Use SetAuthority.ProtoReflect.Descriptor instead.

func (*SetAuthority) GetNewAuthority

func (x *SetAuthority) GetNewAuthority() []byte

func (*SetAuthority) GetOldAuthority

func (x *SetAuthority) GetOldAuthority() []byte

func (*SetAuthority) GetTs

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

func (*SetAuthority) ProtoMessage

func (*SetAuthority) ProtoMessage()

func (*SetAuthority) ProtoReflect

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

func (*SetAuthority) Reset

func (x *SetAuthority) Reset()

func (*SetAuthority) String

func (x *SetAuthority) String() string

type SetOwner

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

func (*SetOwner) Descriptor deprecated

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

Deprecated: Use SetOwner.ProtoReflect.Descriptor instead.

func (*SetOwner) GetNewOwner

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

func (*SetOwner) GetOldOwner

func (x *SetOwner) GetOldOwner() []byte

func (*SetOwner) GetTs

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

func (*SetOwner) ProtoMessage

func (*SetOwner) ProtoMessage()

func (*SetOwner) ProtoReflect

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

func (*SetOwner) Reset

func (x *SetOwner) Reset()

func (*SetOwner) String

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