Documentation ¶
Index ¶
- Constants
- Variables
- type CreateVoteDelegate
- func (*CreateVoteDelegate) Descriptor() ([]byte, []int)deprecated
- func (x *CreateVoteDelegate) GetDelegate() []byte
- func (x *CreateVoteDelegate) GetTs() *timestamppb.Timestamp
- func (x *CreateVoteDelegate) GetVoteDelegate() []byte
- func (*CreateVoteDelegate) ProtoMessage()
- func (x *CreateVoteDelegate) ProtoReflect() protoreflect.Message
- func (x *CreateVoteDelegate) Reset()
- func (x *CreateVoteDelegate) String() string
- type SmartContract
- type VOTEDELEGATEPROXYFACTORY
- type VOTEDELEGATEPROXYFACTORYCaller
- func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYCaller) Chief(opts *bind.CallOpts) (common.Address, error)
- func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYCaller) Delegates(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)
- func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYCaller) IsDelegate(opts *bind.CallOpts, guy common.Address) (bool, error)
- func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYCaller) Polling(opts *bind.CallOpts) (common.Address, error)
- type VOTEDELEGATEPROXYFACTORYCallerRaw
- type VOTEDELEGATEPROXYFACTORYCallerSession
- func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYCallerSession) Chief() (common.Address, error)
- func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYCallerSession) Delegates(arg0 common.Address) (common.Address, error)
- func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYCallerSession) IsDelegate(guy common.Address) (bool, error)
- func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYCallerSession) Polling() (common.Address, error)
- type VOTEDELEGATEPROXYFACTORYCreateVoteDelegate
- type VOTEDELEGATEPROXYFACTORYCreateVoteDelegateIterator
- type VOTEDELEGATEPROXYFACTORYFilterer
- func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYFilterer) FilterCreateVoteDelegate(opts *bind.FilterOpts, delegate []common.Address, ...) (*VOTEDELEGATEPROXYFACTORYCreateVoteDelegateIterator, error)
- func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYFilterer) ParseCreateVoteDelegate(log types.Log) (*VOTEDELEGATEPROXYFACTORYCreateVoteDelegate, error)
- func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYFilterer) WatchCreateVoteDelegate(opts *bind.WatchOpts, sink chan<- *VOTEDELEGATEPROXYFACTORYCreateVoteDelegate, ...) (event.Subscription, error)
- type VOTEDELEGATEPROXYFACTORYRaw
- func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type VOTEDELEGATEPROXYFACTORYSession
- func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYSession) Chief() (common.Address, error)
- func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYSession) Create() (*types.Transaction, error)
- func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYSession) Delegates(arg0 common.Address) (common.Address, error)
- func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYSession) IsDelegate(guy common.Address) (bool, error)
- func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYSession) Polling() (common.Address, error)
- type VOTEDELEGATEPROXYFACTORYTransactor
- type VOTEDELEGATEPROXYFACTORYTransactorRaw
- func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_VOTEDELEGATEPROXYFACTORY *VOTEDELEGATEPROXYFACTORYTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type VOTEDELEGATEPROXYFACTORYTransactorSession
Constants ¶
const VOTEDELEGATEPROXYFACTORYABI = "" /* 1481-byte string literal not displayed */
VOTEDELEGATEPROXYFACTORYABI is the input ABI used to generate the binding from.
Variables ¶
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 (x *CreateVoteDelegate) GetTs() *timestamppb.Timestamp
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)
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)
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 ¶
func (it *VOTEDELEGATEPROXYFACTORYCreateVoteDelegateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VOTEDELEGATEPROXYFACTORYCreateVoteDelegateIterator) Error ¶
func (it *VOTEDELEGATEPROXYFACTORYCreateVoteDelegateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VOTEDELEGATEPROXYFACTORYCreateVoteDelegateIterator) Next ¶
func (it *VOTEDELEGATEPROXYFACTORYCreateVoteDelegateIterator) 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 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)
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)