VoteDelegateProxyFactory

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

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

Variables

View Source
var File_VoteDelegateProxyFactory_VoteDelegateProxyFactory_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CreateVoteDelegate

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

func (*CreateVoteDelegate) Descriptor deprecated

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

Deprecated: Use CreateVoteDelegate.ProtoReflect.Descriptor instead.

func (*CreateVoteDelegate) GetDelegate

func (x *CreateVoteDelegate) GetDelegate() []byte

func (*CreateVoteDelegate) GetTs

func (*CreateVoteDelegate) GetVoteDelegate

func (x *CreateVoteDelegate) GetVoteDelegate() []byte

func (*CreateVoteDelegate) ProtoMessage

func (*CreateVoteDelegate) ProtoMessage()

func (*CreateVoteDelegate) ProtoReflect

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

func (*CreateVoteDelegate) Reset

func (x *CreateVoteDelegate) Reset()

func (*CreateVoteDelegate) String

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

type VOTEDELEGATEPROXYFACTORY

type VOTEDELEGATEPROXYFACTORY struct {
	VOTEDELEGATEPROXYFACTORYCaller     // Read-only binding to the contract
	VOTEDELEGATEPROXYFACTORYTransactor // Write-only binding to the contract
	VOTEDELEGATEPROXYFACTORYFilterer   // Log filterer for contract events
}

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

func NewVOTEDELEGATEPROXYFACTORY

func NewVOTEDELEGATEPROXYFACTORY(address common.Address, backend bind.ContractBackend) (*VOTEDELEGATEPROXYFACTORY, error)

NewVOTEDELEGATEPROXYFACTORY creates a new instance of VOTEDELEGATEPROXYFACTORY, bound to a specific deployed contract.

type VOTEDELEGATEPROXYFACTORYCaller

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

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

func NewVOTEDELEGATEPROXYFACTORYCaller

func NewVOTEDELEGATEPROXYFACTORYCaller(address common.Address, caller bind.ContractCaller) (*VOTEDELEGATEPROXYFACTORYCaller, error)

NewVOTEDELEGATEPROXYFACTORYCaller creates a new read-only instance of VOTEDELEGATEPROXYFACTORY, bound to a specific deployed contract.

func (*VOTEDELEGATEPROXYFACTORYCaller) Chief

func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYCaller) Chief(opts *bind.CallOpts) (common.Address, error)

Chief is a free data retrieval call binding the contract method 0xffd864d3.

Solidity: function chief() view returns(address)

func (*VOTEDELEGATEPROXYFACTORYCaller) Delegates

func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYCaller) Delegates(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

Delegates is a free data retrieval call binding the contract method 0x587cde1e.

Solidity: function delegates(address ) view returns(address)

func (*VOTEDELEGATEPROXYFACTORYCaller) IsDelegate

func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYCaller) IsDelegate(opts *bind.CallOpts, guy common.Address) (bool, error)

IsDelegate is a free data retrieval call binding the contract method 0x07779627.

Solidity: function isDelegate(address guy) view returns(bool)

func (*VOTEDELEGATEPROXYFACTORYCaller) Polling

func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYCaller) Polling(opts *bind.CallOpts) (common.Address, error)

Polling is a free data retrieval call binding the contract method 0x54717496.

Solidity: function polling() view returns(address)

type VOTEDELEGATEPROXYFACTORYCallerRaw

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

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

func (*VOTEDELEGATEPROXYFACTORYCallerRaw) Call

func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYCallerRaw) 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 VOTEDELEGATEPROXYFACTORYCallerSession

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

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

func (*VOTEDELEGATEPROXYFACTORYCallerSession) Chief

func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYCallerSession) Chief() (common.Address, error)

Chief is a free data retrieval call binding the contract method 0xffd864d3.

Solidity: function chief() view returns(address)

func (*VOTEDELEGATEPROXYFACTORYCallerSession) Delegates

func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYCallerSession) Delegates(arg0 common.Address) (common.Address, error)

Delegates is a free data retrieval call binding the contract method 0x587cde1e.

Solidity: function delegates(address ) view returns(address)

func (*VOTEDELEGATEPROXYFACTORYCallerSession) IsDelegate

func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYCallerSession) IsDelegate(guy common.Address) (bool, error)

IsDelegate is a free data retrieval call binding the contract method 0x07779627.

Solidity: function isDelegate(address guy) view returns(bool)

func (*VOTEDELEGATEPROXYFACTORYCallerSession) Polling

func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYCallerSession) Polling() (common.Address, error)

Polling is a free data retrieval call binding the contract method 0x54717496.

Solidity: function polling() view returns(address)

type VOTEDELEGATEPROXYFACTORYCreateVoteDelegate

type VOTEDELEGATEPROXYFACTORYCreateVoteDelegate struct {
	Delegate     common.Address
	VoteDelegate common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

VOTEDELEGATEPROXYFACTORYCreateVoteDelegate represents a CreateVoteDelegate event raised by the VOTEDELEGATEPROXYFACTORY contract.

type VOTEDELEGATEPROXYFACTORYCreateVoteDelegateIterator

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

VOTEDELEGATEPROXYFACTORYCreateVoteDelegateIterator is returned from FilterCreateVoteDelegate and is used to iterate over the raw logs and unpacked data for CreateVoteDelegate events raised by the VOTEDELEGATEPROXYFACTORY contract.

func (*VOTEDELEGATEPROXYFACTORYCreateVoteDelegateIterator) Close

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

func (*VOTEDELEGATEPROXYFACTORYCreateVoteDelegateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VOTEDELEGATEPROXYFACTORYCreateVoteDelegateIterator) 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 VOTEDELEGATEPROXYFACTORYFilterer

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

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

func NewVOTEDELEGATEPROXYFACTORYFilterer

func NewVOTEDELEGATEPROXYFACTORYFilterer(address common.Address, filterer bind.ContractFilterer) (*VOTEDELEGATEPROXYFACTORYFilterer, error)

NewVOTEDELEGATEPROXYFACTORYFilterer creates a new log filterer instance of VOTEDELEGATEPROXYFACTORY, bound to a specific deployed contract.

func (*VOTEDELEGATEPROXYFACTORYFilterer) FilterCreateVoteDelegate

func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYFilterer) FilterCreateVoteDelegate(opts *bind.FilterOpts, delegate []common.Address, voteDelegate []common.Address) (*VOTEDELEGATEPROXYFACTORYCreateVoteDelegateIterator, error)

FilterCreateVoteDelegate is a free log retrieval operation binding the contract event 0x2187b96b95fffefab01016c852705bc8ec76d1ea17dd5bffef25fd7136633644.

Solidity: event CreateVoteDelegate(address indexed delegate, address indexed voteDelegate)

func (*VOTEDELEGATEPROXYFACTORYFilterer) ParseCreateVoteDelegate

func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYFilterer) ParseCreateVoteDelegate(log types.Log) (*VOTEDELEGATEPROXYFACTORYCreateVoteDelegate, error)

ParseCreateVoteDelegate is a log parse operation binding the contract event 0x2187b96b95fffefab01016c852705bc8ec76d1ea17dd5bffef25fd7136633644.

Solidity: event CreateVoteDelegate(address indexed delegate, address indexed voteDelegate)

func (*VOTEDELEGATEPROXYFACTORYFilterer) WatchCreateVoteDelegate

func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYFilterer) WatchCreateVoteDelegate(opts *bind.WatchOpts, sink chan<- *VOTEDELEGATEPROXYFACTORYCreateVoteDelegate, delegate []common.Address, voteDelegate []common.Address) (event.Subscription, error)

WatchCreateVoteDelegate is a free log subscription operation binding the contract event 0x2187b96b95fffefab01016c852705bc8ec76d1ea17dd5bffef25fd7136633644.

Solidity: event CreateVoteDelegate(address indexed delegate, address indexed voteDelegate)

type VOTEDELEGATEPROXYFACTORYRaw

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

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

func (*VOTEDELEGATEPROXYFACTORYRaw) Call

func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYRaw) 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 (*VOTEDELEGATEPROXYFACTORYRaw) Transact

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

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

func (*VOTEDELEGATEPROXYFACTORYRaw) Transfer

func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYRaw) 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 VOTEDELEGATEPROXYFACTORYSession

type VOTEDELEGATEPROXYFACTORYSession struct {
	Contract     *VOTEDELEGATEPROXYFACTORY // 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
}

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

func (*VOTEDELEGATEPROXYFACTORYSession) Chief

func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYSession) Chief() (common.Address, error)

Chief is a free data retrieval call binding the contract method 0xffd864d3.

Solidity: function chief() view returns(address)

func (*VOTEDELEGATEPROXYFACTORYSession) Create

func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYSession) Create() (*types.Transaction, error)

Create is a paid mutator transaction binding the contract method 0xefc81a8c.

Solidity: function create() returns(address voteDelegate)

func (*VOTEDELEGATEPROXYFACTORYSession) Delegates

func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYSession) Delegates(arg0 common.Address) (common.Address, error)

Delegates is a free data retrieval call binding the contract method 0x587cde1e.

Solidity: function delegates(address ) view returns(address)

func (*VOTEDELEGATEPROXYFACTORYSession) IsDelegate

func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYSession) IsDelegate(guy common.Address) (bool, error)

IsDelegate is a free data retrieval call binding the contract method 0x07779627.

Solidity: function isDelegate(address guy) view returns(bool)

func (*VOTEDELEGATEPROXYFACTORYSession) Polling

func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYSession) Polling() (common.Address, error)

Polling is a free data retrieval call binding the contract method 0x54717496.

Solidity: function polling() view returns(address)

type VOTEDELEGATEPROXYFACTORYTransactor

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

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

func NewVOTEDELEGATEPROXYFACTORYTransactor

func NewVOTEDELEGATEPROXYFACTORYTransactor(address common.Address, transactor bind.ContractTransactor) (*VOTEDELEGATEPROXYFACTORYTransactor, error)

NewVOTEDELEGATEPROXYFACTORYTransactor creates a new write-only instance of VOTEDELEGATEPROXYFACTORY, bound to a specific deployed contract.

func (*VOTEDELEGATEPROXYFACTORYTransactor) Create

func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYTransactor) Create(opts *bind.TransactOpts) (*types.Transaction, error)

Create is a paid mutator transaction binding the contract method 0xefc81a8c.

Solidity: function create() returns(address voteDelegate)

type VOTEDELEGATEPROXYFACTORYTransactorRaw

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

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

func (*VOTEDELEGATEPROXYFACTORYTransactorRaw) Transact

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

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

func (*VOTEDELEGATEPROXYFACTORYTransactorRaw) Transfer

func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYTransactorRaw) 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 VOTEDELEGATEPROXYFACTORYTransactorSession

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

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

func (*VOTEDELEGATEPROXYFACTORYTransactorSession) Create

func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYTransactorSession) Create() (*types.Transaction, error)

Create is a paid mutator transaction binding the contract method 0xefc81a8c.

Solidity: function create() returns(address voteDelegate)

Jump to

Keyboard shortcuts

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