MCDCropper

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

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

Variables

View Source
var File_MCDCropper_MCDCropper_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

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 MCDCROPPER

type MCDCROPPER struct {
	MCDCROPPERCaller     // Read-only binding to the contract
	MCDCROPPERTransactor // Write-only binding to the contract
	MCDCROPPERFilterer   // Log filterer for contract events
}

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

func NewMCDCROPPER

func NewMCDCROPPER(address common.Address, backend bind.ContractBackend) (*MCDCROPPER, error)

NewMCDCROPPER creates a new instance of MCDCROPPER, bound to a specific deployed contract.

type MCDCROPPERCaller

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

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

func NewMCDCROPPERCaller

func NewMCDCROPPERCaller(address common.Address, caller bind.ContractCaller) (*MCDCROPPERCaller, error)

NewMCDCROPPERCaller creates a new read-only instance of MCDCROPPER, bound to a specific deployed contract.

func (*MCDCROPPERCaller) Implementation

func (_MCDCROPPER *MCDCROPPERCaller) Implementation(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function implementation() view returns(address)

func (*MCDCROPPERCaller) Wards

func (_MCDCROPPER *MCDCROPPERCaller) 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 MCDCROPPERCallerRaw

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

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

func (*MCDCROPPERCallerRaw) Call

func (_MCDCROPPER *MCDCROPPERCallerRaw) 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 MCDCROPPERCallerSession

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

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

func (*MCDCROPPERCallerSession) Implementation

func (_MCDCROPPER *MCDCROPPERCallerSession) Implementation() (common.Address, error)

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

Solidity: function implementation() view returns(address)

func (*MCDCROPPERCallerSession) Wards

func (_MCDCROPPER *MCDCROPPERCallerSession) 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 MCDCROPPERDeny

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

MCDCROPPERDeny represents a Deny event raised by the MCDCROPPER contract.

type MCDCROPPERDenyIterator

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

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

func (*MCDCROPPERDenyIterator) Close

func (it *MCDCROPPERDenyIterator) Close() error

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

func (*MCDCROPPERDenyIterator) Error

func (it *MCDCROPPERDenyIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MCDCROPPERDenyIterator) Next

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

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

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

func NewMCDCROPPERFilterer

func NewMCDCROPPERFilterer(address common.Address, filterer bind.ContractFilterer) (*MCDCROPPERFilterer, error)

NewMCDCROPPERFilterer creates a new log filterer instance of MCDCROPPER, bound to a specific deployed contract.

func (*MCDCROPPERFilterer) FilterDeny

func (_MCDCROPPER *MCDCROPPERFilterer) FilterDeny(opts *bind.FilterOpts, usr []common.Address) (*MCDCROPPERDenyIterator, error)

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

Solidity: event Deny(address indexed usr)

func (*MCDCROPPERFilterer) FilterRely

func (_MCDCROPPER *MCDCROPPERFilterer) FilterRely(opts *bind.FilterOpts, usr []common.Address) (*MCDCROPPERRelyIterator, error)

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

Solidity: event Rely(address indexed usr)

func (*MCDCROPPERFilterer) FilterSetImplementation

func (_MCDCROPPER *MCDCROPPERFilterer) FilterSetImplementation(opts *bind.FilterOpts, arg0 []common.Address) (*MCDCROPPERSetImplementationIterator, error)

FilterSetImplementation is a free log retrieval operation binding the contract event 0xddebe6de740fe0dd01cc33ffa314d11c6ac6acbbe50b80513c4c360ae7aa4f04.

Solidity: event SetImplementation(address indexed arg0)

func (*MCDCROPPERFilterer) ParseDeny

func (_MCDCROPPER *MCDCROPPERFilterer) ParseDeny(log types.Log) (*MCDCROPPERDeny, error)

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

Solidity: event Deny(address indexed usr)

func (*MCDCROPPERFilterer) ParseRely

func (_MCDCROPPER *MCDCROPPERFilterer) ParseRely(log types.Log) (*MCDCROPPERRely, error)

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

Solidity: event Rely(address indexed usr)

func (*MCDCROPPERFilterer) ParseSetImplementation

func (_MCDCROPPER *MCDCROPPERFilterer) ParseSetImplementation(log types.Log) (*MCDCROPPERSetImplementation, error)

ParseSetImplementation is a log parse operation binding the contract event 0xddebe6de740fe0dd01cc33ffa314d11c6ac6acbbe50b80513c4c360ae7aa4f04.

Solidity: event SetImplementation(address indexed arg0)

func (*MCDCROPPERFilterer) WatchDeny

func (_MCDCROPPER *MCDCROPPERFilterer) WatchDeny(opts *bind.WatchOpts, sink chan<- *MCDCROPPERDeny, 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 (*MCDCROPPERFilterer) WatchRely

func (_MCDCROPPER *MCDCROPPERFilterer) WatchRely(opts *bind.WatchOpts, sink chan<- *MCDCROPPERRely, usr []common.Address) (event.Subscription, error)

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

Solidity: event Rely(address indexed usr)

func (*MCDCROPPERFilterer) WatchSetImplementation

func (_MCDCROPPER *MCDCROPPERFilterer) WatchSetImplementation(opts *bind.WatchOpts, sink chan<- *MCDCROPPERSetImplementation, arg0 []common.Address) (event.Subscription, error)

WatchSetImplementation is a free log subscription operation binding the contract event 0xddebe6de740fe0dd01cc33ffa314d11c6ac6acbbe50b80513c4c360ae7aa4f04.

Solidity: event SetImplementation(address indexed arg0)

type MCDCROPPERRaw

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

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

func (*MCDCROPPERRaw) Call

func (_MCDCROPPER *MCDCROPPERRaw) 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 (*MCDCROPPERRaw) Transact

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

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

func (*MCDCROPPERRaw) Transfer

func (_MCDCROPPER *MCDCROPPERRaw) 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 MCDCROPPERRely

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

MCDCROPPERRely represents a Rely event raised by the MCDCROPPER contract.

type MCDCROPPERRelyIterator

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

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

func (*MCDCROPPERRelyIterator) Close

func (it *MCDCROPPERRelyIterator) Close() error

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

func (*MCDCROPPERRelyIterator) Error

func (it *MCDCROPPERRelyIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MCDCROPPERRelyIterator) Next

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

type MCDCROPPERSession struct {
	Contract     *MCDCROPPER       // 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
}

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

func (*MCDCROPPERSession) Deny

func (_MCDCROPPER *MCDCROPPERSession) 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 (*MCDCROPPERSession) Fallback

func (_MCDCROPPER *MCDCROPPERSession) Fallback(calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() returns()

func (*MCDCROPPERSession) Implementation

func (_MCDCROPPER *MCDCROPPERSession) Implementation() (common.Address, error)

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

Solidity: function implementation() view returns(address)

func (*MCDCROPPERSession) Rely

func (_MCDCROPPER *MCDCROPPERSession) 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 (*MCDCROPPERSession) SetImplementation

func (_MCDCROPPER *MCDCROPPERSession) SetImplementation(implementation_ common.Address) (*types.Transaction, error)

SetImplementation is a paid mutator transaction binding the contract method 0xd784d426.

Solidity: function setImplementation(address implementation_) returns()

func (*MCDCROPPERSession) Wards

func (_MCDCROPPER *MCDCROPPERSession) 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 MCDCROPPERSetImplementation

type MCDCROPPERSetImplementation struct {
	Arg0 common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

MCDCROPPERSetImplementation represents a SetImplementation event raised by the MCDCROPPER contract.

type MCDCROPPERSetImplementationIterator

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

MCDCROPPERSetImplementationIterator is returned from FilterSetImplementation and is used to iterate over the raw logs and unpacked data for SetImplementation events raised by the MCDCROPPER contract.

func (*MCDCROPPERSetImplementationIterator) Close

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

func (*MCDCROPPERSetImplementationIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MCDCROPPERSetImplementationIterator) 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 MCDCROPPERTransactor

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

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

func NewMCDCROPPERTransactor

func NewMCDCROPPERTransactor(address common.Address, transactor bind.ContractTransactor) (*MCDCROPPERTransactor, error)

NewMCDCROPPERTransactor creates a new write-only instance of MCDCROPPER, bound to a specific deployed contract.

func (*MCDCROPPERTransactor) Deny

func (_MCDCROPPER *MCDCROPPERTransactor) 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 (*MCDCROPPERTransactor) Fallback

func (_MCDCROPPER *MCDCROPPERTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() returns()

func (*MCDCROPPERTransactor) Rely

func (_MCDCROPPER *MCDCROPPERTransactor) 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()

func (*MCDCROPPERTransactor) SetImplementation

func (_MCDCROPPER *MCDCROPPERTransactor) SetImplementation(opts *bind.TransactOpts, implementation_ common.Address) (*types.Transaction, error)

SetImplementation is a paid mutator transaction binding the contract method 0xd784d426.

Solidity: function setImplementation(address implementation_) returns()

type MCDCROPPERTransactorRaw

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

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

func (*MCDCROPPERTransactorRaw) Transact

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

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

func (*MCDCROPPERTransactorRaw) Transfer

func (_MCDCROPPER *MCDCROPPERTransactorRaw) 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 MCDCROPPERTransactorSession

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

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

func (*MCDCROPPERTransactorSession) Deny

func (_MCDCROPPER *MCDCROPPERTransactorSession) 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 (*MCDCROPPERTransactorSession) Fallback

func (_MCDCROPPER *MCDCROPPERTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() returns()

func (*MCDCROPPERTransactorSession) Rely

func (_MCDCROPPER *MCDCROPPERTransactorSession) 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 (*MCDCROPPERTransactorSession) SetImplementation

func (_MCDCROPPER *MCDCROPPERTransactorSession) SetImplementation(implementation_ common.Address) (*types.Transaction, error)

SetImplementation is a paid mutator transaction binding the contract method 0xd784d426.

Solidity: function setImplementation(address implementation_) 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 SetImplementation

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

func (*SetImplementation) Descriptor deprecated

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

Deprecated: Use SetImplementation.ProtoReflect.Descriptor instead.

func (*SetImplementation) GetArg0

func (x *SetImplementation) GetArg0() []byte

func (*SetImplementation) GetTs

func (*SetImplementation) ProtoMessage

func (*SetImplementation) ProtoMessage()

func (*SetImplementation) ProtoReflect

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

func (*SetImplementation) Reset

func (x *SetImplementation) Reset()

func (*SetImplementation) String

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