Uni

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

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

Variables

View Source
var File_Uni_Uni_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Approval

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

func (*Approval) Descriptor deprecated

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

Deprecated: Use Approval.ProtoReflect.Descriptor instead.

func (*Approval) GetAmount

func (x *Approval) GetAmount() []byte

func (*Approval) GetOwner

func (x *Approval) GetOwner() []byte

func (*Approval) GetSpender

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

func (*Approval) GetTs

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

func (*Approval) ProtoMessage

func (*Approval) ProtoMessage()

func (*Approval) ProtoReflect

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

func (*Approval) Reset

func (x *Approval) Reset()

func (*Approval) String

func (x *Approval) String() string

type DelegateChanged

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

func (*DelegateChanged) Descriptor deprecated

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

Deprecated: Use DelegateChanged.ProtoReflect.Descriptor instead.

func (*DelegateChanged) GetDelegator

func (x *DelegateChanged) GetDelegator() []byte

func (*DelegateChanged) GetFromDelegate

func (x *DelegateChanged) GetFromDelegate() []byte

func (*DelegateChanged) GetToDelegate

func (x *DelegateChanged) GetToDelegate() []byte

func (*DelegateChanged) GetTs

func (*DelegateChanged) ProtoMessage

func (*DelegateChanged) ProtoMessage()

func (*DelegateChanged) ProtoReflect

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

func (*DelegateChanged) Reset

func (x *DelegateChanged) Reset()

func (*DelegateChanged) String

func (x *DelegateChanged) String() string

type DelegateVotesChanged

type DelegateVotesChanged 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
	PreviousBalance []byte                 `protobuf:"bytes,3,opt,name=PreviousBalance,proto3" json:"PreviousBalance,omitempty"` //	uint256
	NewBalance      []byte                 `protobuf:"bytes,4,opt,name=NewBalance,proto3" json:"NewBalance,omitempty"`           //	uint256
	// contains filtered or unexported fields
}

func (*DelegateVotesChanged) Descriptor deprecated

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

Deprecated: Use DelegateVotesChanged.ProtoReflect.Descriptor instead.

func (*DelegateVotesChanged) GetDelegate

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

func (*DelegateVotesChanged) GetNewBalance

func (x *DelegateVotesChanged) GetNewBalance() []byte

func (*DelegateVotesChanged) GetPreviousBalance

func (x *DelegateVotesChanged) GetPreviousBalance() []byte

func (*DelegateVotesChanged) GetTs

func (*DelegateVotesChanged) ProtoMessage

func (*DelegateVotesChanged) ProtoMessage()

func (*DelegateVotesChanged) ProtoReflect

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

func (*DelegateVotesChanged) Reset

func (x *DelegateVotesChanged) Reset()

func (*DelegateVotesChanged) String

func (x *DelegateVotesChanged) String() string

type MinterChanged

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

func (*MinterChanged) Descriptor deprecated

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

Deprecated: Use MinterChanged.ProtoReflect.Descriptor instead.

func (*MinterChanged) GetMinter

func (x *MinterChanged) GetMinter() []byte

func (*MinterChanged) GetNewMinter

func (x *MinterChanged) GetNewMinter() []byte

func (*MinterChanged) GetTs

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

func (*MinterChanged) ProtoMessage

func (*MinterChanged) ProtoMessage()

func (*MinterChanged) ProtoReflect

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

func (*MinterChanged) Reset

func (x *MinterChanged) Reset()

func (*MinterChanged) String

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

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

func (*Transfer) Descriptor deprecated

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

Deprecated: Use Transfer.ProtoReflect.Descriptor instead.

func (*Transfer) GetAmount

func (x *Transfer) GetAmount() []byte

func (*Transfer) GetFrom

func (x *Transfer) GetFrom() []byte

func (*Transfer) GetTo

func (x *Transfer) GetTo() []byte

func (*Transfer) GetTs

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

func (*Transfer) ProtoMessage

func (*Transfer) ProtoMessage()

func (*Transfer) ProtoReflect

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

func (*Transfer) Reset

func (x *Transfer) Reset()

func (*Transfer) String

func (x *Transfer) String() string

type UNI

type UNI struct {
	UNICaller     // Read-only binding to the contract
	UNITransactor // Write-only binding to the contract
	UNIFilterer   // Log filterer for contract events
}

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

func NewUNI

func NewUNI(address common.Address, backend bind.ContractBackend) (*UNI, error)

NewUNI creates a new instance of UNI, bound to a specific deployed contract.

type UNIApproval

type UNIApproval struct {
	Owner   common.Address
	Spender common.Address
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

UNIApproval represents a Approval event raised by the UNI contract.

type UNIApprovalIterator

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

UNIApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the UNI contract.

func (*UNIApprovalIterator) Close

func (it *UNIApprovalIterator) Close() error

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

func (*UNIApprovalIterator) Error

func (it *UNIApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UNIApprovalIterator) Next

func (it *UNIApprovalIterator) 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 UNICaller

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

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

func NewUNICaller

func NewUNICaller(address common.Address, caller bind.ContractCaller) (*UNICaller, error)

NewUNICaller creates a new read-only instance of UNI, bound to a specific deployed contract.

func (*UNICaller) Allowance

func (_UNI *UNICaller) Allowance(opts *bind.CallOpts, account common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address account, address spender) view returns(uint256)

func (*UNICaller) BalanceOf

func (_UNI *UNICaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*UNICaller) Checkpoints

func (_UNI *UNICaller) Checkpoints(opts *bind.CallOpts, arg0 common.Address, arg1 uint32) (struct {
	FromBlock uint32
	Votes     *big.Int
}, error)

Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.

Solidity: function checkpoints(address , uint32 ) view returns(uint32 fromBlock, uint96 votes)

func (*UNICaller) DELEGATIONTYPEHASH

func (_UNI *UNICaller) DELEGATIONTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

DELEGATIONTYPEHASH is a free data retrieval call binding the contract method 0xe7a324dc.

Solidity: function DELEGATION_TYPEHASH() view returns(bytes32)

func (*UNICaller) DOMAINTYPEHASH

func (_UNI *UNICaller) DOMAINTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

DOMAINTYPEHASH is a free data retrieval call binding the contract method 0x20606b70.

Solidity: function DOMAIN_TYPEHASH() view returns(bytes32)

func (*UNICaller) Decimals

func (_UNI *UNICaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*UNICaller) Delegates

func (_UNI *UNICaller) 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 (*UNICaller) GetCurrentVotes

func (_UNI *UNICaller) GetCurrentVotes(opts *bind.CallOpts, account common.Address) (*big.Int, error)

GetCurrentVotes is a free data retrieval call binding the contract method 0xb4b5ea57.

Solidity: function getCurrentVotes(address account) view returns(uint96)

func (*UNICaller) GetPriorVotes

func (_UNI *UNICaller) GetPriorVotes(opts *bind.CallOpts, account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPriorVotes is a free data retrieval call binding the contract method 0x782d6fe1.

Solidity: function getPriorVotes(address account, uint256 blockNumber) view returns(uint96)

func (*UNICaller) MinimumTimeBetweenMints

func (_UNI *UNICaller) MinimumTimeBetweenMints(opts *bind.CallOpts) (uint32, error)

MinimumTimeBetweenMints is a free data retrieval call binding the contract method 0x5c11d62f.

Solidity: function minimumTimeBetweenMints() view returns(uint32)

func (*UNICaller) MintCap

func (_UNI *UNICaller) MintCap(opts *bind.CallOpts) (uint8, error)

MintCap is a free data retrieval call binding the contract method 0x76c71ca1.

Solidity: function mintCap() view returns(uint8)

func (*UNICaller) Minter

func (_UNI *UNICaller) Minter(opts *bind.CallOpts) (common.Address, error)

Minter is a free data retrieval call binding the contract method 0x07546172.

Solidity: function minter() view returns(address)

func (*UNICaller) MintingAllowedAfter

func (_UNI *UNICaller) MintingAllowedAfter(opts *bind.CallOpts) (*big.Int, error)

MintingAllowedAfter is a free data retrieval call binding the contract method 0x30b36cef.

Solidity: function mintingAllowedAfter() view returns(uint256)

func (*UNICaller) Name

func (_UNI *UNICaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*UNICaller) Nonces

func (_UNI *UNICaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*UNICaller) NumCheckpoints

func (_UNI *UNICaller) NumCheckpoints(opts *bind.CallOpts, arg0 common.Address) (uint32, error)

NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.

Solidity: function numCheckpoints(address ) view returns(uint32)

func (*UNICaller) PERMITTYPEHASH

func (_UNI *UNICaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*UNICaller) Symbol

func (_UNI *UNICaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*UNICaller) TotalSupply

func (_UNI *UNICaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type UNICallerRaw

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

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

func (*UNICallerRaw) Call

func (_UNI *UNICallerRaw) 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 UNICallerSession

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

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

func (*UNICallerSession) Allowance

func (_UNI *UNICallerSession) Allowance(account common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address account, address spender) view returns(uint256)

func (*UNICallerSession) BalanceOf

func (_UNI *UNICallerSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*UNICallerSession) Checkpoints

func (_UNI *UNICallerSession) Checkpoints(arg0 common.Address, arg1 uint32) (struct {
	FromBlock uint32
	Votes     *big.Int
}, error)

Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.

Solidity: function checkpoints(address , uint32 ) view returns(uint32 fromBlock, uint96 votes)

func (*UNICallerSession) DELEGATIONTYPEHASH

func (_UNI *UNICallerSession) DELEGATIONTYPEHASH() ([32]byte, error)

DELEGATIONTYPEHASH is a free data retrieval call binding the contract method 0xe7a324dc.

Solidity: function DELEGATION_TYPEHASH() view returns(bytes32)

func (*UNICallerSession) DOMAINTYPEHASH

func (_UNI *UNICallerSession) DOMAINTYPEHASH() ([32]byte, error)

DOMAINTYPEHASH is a free data retrieval call binding the contract method 0x20606b70.

Solidity: function DOMAIN_TYPEHASH() view returns(bytes32)

func (*UNICallerSession) Decimals

func (_UNI *UNICallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*UNICallerSession) Delegates

func (_UNI *UNICallerSession) 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 (*UNICallerSession) GetCurrentVotes

func (_UNI *UNICallerSession) GetCurrentVotes(account common.Address) (*big.Int, error)

GetCurrentVotes is a free data retrieval call binding the contract method 0xb4b5ea57.

Solidity: function getCurrentVotes(address account) view returns(uint96)

func (*UNICallerSession) GetPriorVotes

func (_UNI *UNICallerSession) GetPriorVotes(account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPriorVotes is a free data retrieval call binding the contract method 0x782d6fe1.

Solidity: function getPriorVotes(address account, uint256 blockNumber) view returns(uint96)

func (*UNICallerSession) MinimumTimeBetweenMints

func (_UNI *UNICallerSession) MinimumTimeBetweenMints() (uint32, error)

MinimumTimeBetweenMints is a free data retrieval call binding the contract method 0x5c11d62f.

Solidity: function minimumTimeBetweenMints() view returns(uint32)

func (*UNICallerSession) MintCap

func (_UNI *UNICallerSession) MintCap() (uint8, error)

MintCap is a free data retrieval call binding the contract method 0x76c71ca1.

Solidity: function mintCap() view returns(uint8)

func (*UNICallerSession) Minter

func (_UNI *UNICallerSession) Minter() (common.Address, error)

Minter is a free data retrieval call binding the contract method 0x07546172.

Solidity: function minter() view returns(address)

func (*UNICallerSession) MintingAllowedAfter

func (_UNI *UNICallerSession) MintingAllowedAfter() (*big.Int, error)

MintingAllowedAfter is a free data retrieval call binding the contract method 0x30b36cef.

Solidity: function mintingAllowedAfter() view returns(uint256)

func (*UNICallerSession) Name

func (_UNI *UNICallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*UNICallerSession) Nonces

func (_UNI *UNICallerSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*UNICallerSession) NumCheckpoints

func (_UNI *UNICallerSession) NumCheckpoints(arg0 common.Address) (uint32, error)

NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.

Solidity: function numCheckpoints(address ) view returns(uint32)

func (*UNICallerSession) PERMITTYPEHASH

func (_UNI *UNICallerSession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*UNICallerSession) Symbol

func (_UNI *UNICallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*UNICallerSession) TotalSupply

func (_UNI *UNICallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type UNIDelegateChanged

type UNIDelegateChanged struct {
	Delegator    common.Address
	FromDelegate common.Address
	ToDelegate   common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

UNIDelegateChanged represents a DelegateChanged event raised by the UNI contract.

type UNIDelegateChangedIterator

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

UNIDelegateChangedIterator is returned from FilterDelegateChanged and is used to iterate over the raw logs and unpacked data for DelegateChanged events raised by the UNI contract.

func (*UNIDelegateChangedIterator) Close

func (it *UNIDelegateChangedIterator) Close() error

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

func (*UNIDelegateChangedIterator) Error

func (it *UNIDelegateChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UNIDelegateChangedIterator) Next

func (it *UNIDelegateChangedIterator) 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 UNIDelegateVotesChanged

type UNIDelegateVotesChanged struct {
	Delegate        common.Address
	PreviousBalance *big.Int
	NewBalance      *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

UNIDelegateVotesChanged represents a DelegateVotesChanged event raised by the UNI contract.

type UNIDelegateVotesChangedIterator

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

UNIDelegateVotesChangedIterator is returned from FilterDelegateVotesChanged and is used to iterate over the raw logs and unpacked data for DelegateVotesChanged events raised by the UNI contract.

func (*UNIDelegateVotesChangedIterator) Close

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

func (*UNIDelegateVotesChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UNIDelegateVotesChangedIterator) 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 UNIFilterer

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

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

func NewUNIFilterer

func NewUNIFilterer(address common.Address, filterer bind.ContractFilterer) (*UNIFilterer, error)

NewUNIFilterer creates a new log filterer instance of UNI, bound to a specific deployed contract.

func (*UNIFilterer) FilterApproval

func (_UNI *UNIFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*UNIApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 amount)

func (*UNIFilterer) FilterDelegateChanged

func (_UNI *UNIFilterer) FilterDelegateChanged(opts *bind.FilterOpts, delegator []common.Address, fromDelegate []common.Address, toDelegate []common.Address) (*UNIDelegateChangedIterator, error)

FilterDelegateChanged is a free log retrieval operation binding the contract event 0x3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f.

Solidity: event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)

func (*UNIFilterer) FilterDelegateVotesChanged

func (_UNI *UNIFilterer) FilterDelegateVotesChanged(opts *bind.FilterOpts, delegate []common.Address) (*UNIDelegateVotesChangedIterator, error)

FilterDelegateVotesChanged is a free log retrieval operation binding the contract event 0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724.

Solidity: event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance)

func (*UNIFilterer) FilterMinterChanged

func (_UNI *UNIFilterer) FilterMinterChanged(opts *bind.FilterOpts) (*UNIMinterChangedIterator, error)

FilterMinterChanged is a free log retrieval operation binding the contract event 0x3b0007eb941cf645526cbb3a4fdaecda9d28ce4843167d9263b536a1f1edc0f6.

Solidity: event MinterChanged(address minter, address newMinter)

func (*UNIFilterer) FilterTransfer

func (_UNI *UNIFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*UNITransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 amount)

func (*UNIFilterer) ParseApproval

func (_UNI *UNIFilterer) ParseApproval(log types.Log) (*UNIApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 amount)

func (*UNIFilterer) ParseDelegateChanged

func (_UNI *UNIFilterer) ParseDelegateChanged(log types.Log) (*UNIDelegateChanged, error)

ParseDelegateChanged is a log parse operation binding the contract event 0x3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f.

Solidity: event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)

func (*UNIFilterer) ParseDelegateVotesChanged

func (_UNI *UNIFilterer) ParseDelegateVotesChanged(log types.Log) (*UNIDelegateVotesChanged, error)

ParseDelegateVotesChanged is a log parse operation binding the contract event 0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724.

Solidity: event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance)

func (*UNIFilterer) ParseMinterChanged

func (_UNI *UNIFilterer) ParseMinterChanged(log types.Log) (*UNIMinterChanged, error)

ParseMinterChanged is a log parse operation binding the contract event 0x3b0007eb941cf645526cbb3a4fdaecda9d28ce4843167d9263b536a1f1edc0f6.

Solidity: event MinterChanged(address minter, address newMinter)

func (*UNIFilterer) ParseTransfer

func (_UNI *UNIFilterer) ParseTransfer(log types.Log) (*UNITransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 amount)

func (*UNIFilterer) WatchApproval

func (_UNI *UNIFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *UNIApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 amount)

func (*UNIFilterer) WatchDelegateChanged

func (_UNI *UNIFilterer) WatchDelegateChanged(opts *bind.WatchOpts, sink chan<- *UNIDelegateChanged, delegator []common.Address, fromDelegate []common.Address, toDelegate []common.Address) (event.Subscription, error)

WatchDelegateChanged is a free log subscription operation binding the contract event 0x3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f.

Solidity: event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)

func (*UNIFilterer) WatchDelegateVotesChanged

func (_UNI *UNIFilterer) WatchDelegateVotesChanged(opts *bind.WatchOpts, sink chan<- *UNIDelegateVotesChanged, delegate []common.Address) (event.Subscription, error)

WatchDelegateVotesChanged is a free log subscription operation binding the contract event 0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724.

Solidity: event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance)

func (*UNIFilterer) WatchMinterChanged

func (_UNI *UNIFilterer) WatchMinterChanged(opts *bind.WatchOpts, sink chan<- *UNIMinterChanged) (event.Subscription, error)

WatchMinterChanged is a free log subscription operation binding the contract event 0x3b0007eb941cf645526cbb3a4fdaecda9d28ce4843167d9263b536a1f1edc0f6.

Solidity: event MinterChanged(address minter, address newMinter)

func (*UNIFilterer) WatchTransfer

func (_UNI *UNIFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *UNITransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 amount)

type UNIMinterChanged

type UNIMinterChanged struct {
	Minter    common.Address
	NewMinter common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

UNIMinterChanged represents a MinterChanged event raised by the UNI contract.

type UNIMinterChangedIterator

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

UNIMinterChangedIterator is returned from FilterMinterChanged and is used to iterate over the raw logs and unpacked data for MinterChanged events raised by the UNI contract.

func (*UNIMinterChangedIterator) Close

func (it *UNIMinterChangedIterator) Close() error

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

func (*UNIMinterChangedIterator) Error

func (it *UNIMinterChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UNIMinterChangedIterator) Next

func (it *UNIMinterChangedIterator) 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 UNIRaw

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

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

func (*UNIRaw) Call

func (_UNI *UNIRaw) 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 (*UNIRaw) Transact

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

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

func (*UNIRaw) Transfer

func (_UNI *UNIRaw) 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 UNISession

type UNISession struct {
	Contract     *UNI              // 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
}

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

func (*UNISession) Allowance

func (_UNI *UNISession) Allowance(account common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address account, address spender) view returns(uint256)

func (*UNISession) Approve

func (_UNI *UNISession) Approve(spender common.Address, rawAmount *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 rawAmount) returns(bool)

func (*UNISession) BalanceOf

func (_UNI *UNISession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*UNISession) Checkpoints

func (_UNI *UNISession) Checkpoints(arg0 common.Address, arg1 uint32) (struct {
	FromBlock uint32
	Votes     *big.Int
}, error)

Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.

Solidity: function checkpoints(address , uint32 ) view returns(uint32 fromBlock, uint96 votes)

func (*UNISession) DELEGATIONTYPEHASH

func (_UNI *UNISession) DELEGATIONTYPEHASH() ([32]byte, error)

DELEGATIONTYPEHASH is a free data retrieval call binding the contract method 0xe7a324dc.

Solidity: function DELEGATION_TYPEHASH() view returns(bytes32)

func (*UNISession) DOMAINTYPEHASH

func (_UNI *UNISession) DOMAINTYPEHASH() ([32]byte, error)

DOMAINTYPEHASH is a free data retrieval call binding the contract method 0x20606b70.

Solidity: function DOMAIN_TYPEHASH() view returns(bytes32)

func (*UNISession) Decimals

func (_UNI *UNISession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*UNISession) Delegate

func (_UNI *UNISession) Delegate(delegatee common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address delegatee) returns()

func (*UNISession) DelegateBySig

func (_UNI *UNISession) DelegateBySig(delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.

Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*UNISession) Delegates

func (_UNI *UNISession) 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 (*UNISession) GetCurrentVotes

func (_UNI *UNISession) GetCurrentVotes(account common.Address) (*big.Int, error)

GetCurrentVotes is a free data retrieval call binding the contract method 0xb4b5ea57.

Solidity: function getCurrentVotes(address account) view returns(uint96)

func (*UNISession) GetPriorVotes

func (_UNI *UNISession) GetPriorVotes(account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPriorVotes is a free data retrieval call binding the contract method 0x782d6fe1.

Solidity: function getPriorVotes(address account, uint256 blockNumber) view returns(uint96)

func (*UNISession) MinimumTimeBetweenMints

func (_UNI *UNISession) MinimumTimeBetweenMints() (uint32, error)

MinimumTimeBetweenMints is a free data retrieval call binding the contract method 0x5c11d62f.

Solidity: function minimumTimeBetweenMints() view returns(uint32)

func (*UNISession) Mint

func (_UNI *UNISession) Mint(dst common.Address, rawAmount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address dst, uint256 rawAmount) returns()

func (*UNISession) MintCap

func (_UNI *UNISession) MintCap() (uint8, error)

MintCap is a free data retrieval call binding the contract method 0x76c71ca1.

Solidity: function mintCap() view returns(uint8)

func (*UNISession) Minter

func (_UNI *UNISession) Minter() (common.Address, error)

Minter is a free data retrieval call binding the contract method 0x07546172.

Solidity: function minter() view returns(address)

func (*UNISession) MintingAllowedAfter

func (_UNI *UNISession) MintingAllowedAfter() (*big.Int, error)

MintingAllowedAfter is a free data retrieval call binding the contract method 0x30b36cef.

Solidity: function mintingAllowedAfter() view returns(uint256)

func (*UNISession) Name

func (_UNI *UNISession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*UNISession) Nonces

func (_UNI *UNISession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*UNISession) NumCheckpoints

func (_UNI *UNISession) NumCheckpoints(arg0 common.Address) (uint32, error)

NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.

Solidity: function numCheckpoints(address ) view returns(uint32)

func (*UNISession) PERMITTYPEHASH

func (_UNI *UNISession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*UNISession) Permit

func (_UNI *UNISession) Permit(owner common.Address, spender common.Address, rawAmount *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 rawAmount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*UNISession) SetMinter

func (_UNI *UNISession) SetMinter(minter_ common.Address) (*types.Transaction, error)

SetMinter is a paid mutator transaction binding the contract method 0xfca3b5aa.

Solidity: function setMinter(address minter_) returns()

func (*UNISession) Symbol

func (_UNI *UNISession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*UNISession) TotalSupply

func (_UNI *UNISession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*UNISession) Transfer

func (_UNI *UNISession) Transfer(dst common.Address, rawAmount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address dst, uint256 rawAmount) returns(bool)

func (*UNISession) TransferFrom

func (_UNI *UNISession) TransferFrom(src common.Address, dst common.Address, rawAmount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 rawAmount) returns(bool)

type UNITransactor

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

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

func NewUNITransactor

func NewUNITransactor(address common.Address, transactor bind.ContractTransactor) (*UNITransactor, error)

NewUNITransactor creates a new write-only instance of UNI, bound to a specific deployed contract.

func (*UNITransactor) Approve

func (_UNI *UNITransactor) Approve(opts *bind.TransactOpts, spender common.Address, rawAmount *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 rawAmount) returns(bool)

func (*UNITransactor) Delegate

func (_UNI *UNITransactor) Delegate(opts *bind.TransactOpts, delegatee common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address delegatee) returns()

func (*UNITransactor) DelegateBySig

func (_UNI *UNITransactor) DelegateBySig(opts *bind.TransactOpts, delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.

Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*UNITransactor) Mint

func (_UNI *UNITransactor) Mint(opts *bind.TransactOpts, dst common.Address, rawAmount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address dst, uint256 rawAmount) returns()

func (*UNITransactor) Permit

func (_UNI *UNITransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, rawAmount *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 rawAmount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*UNITransactor) SetMinter

func (_UNI *UNITransactor) SetMinter(opts *bind.TransactOpts, minter_ common.Address) (*types.Transaction, error)

SetMinter is a paid mutator transaction binding the contract method 0xfca3b5aa.

Solidity: function setMinter(address minter_) returns()

func (*UNITransactor) Transfer

func (_UNI *UNITransactor) Transfer(opts *bind.TransactOpts, dst common.Address, rawAmount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address dst, uint256 rawAmount) returns(bool)

func (*UNITransactor) TransferFrom

func (_UNI *UNITransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, rawAmount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 rawAmount) returns(bool)

type UNITransactorRaw

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

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

func (*UNITransactorRaw) Transact

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

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

func (*UNITransactorRaw) Transfer

func (_UNI *UNITransactorRaw) 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 UNITransactorSession

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

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

func (*UNITransactorSession) Approve

func (_UNI *UNITransactorSession) Approve(spender common.Address, rawAmount *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 rawAmount) returns(bool)

func (*UNITransactorSession) Delegate

func (_UNI *UNITransactorSession) Delegate(delegatee common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address delegatee) returns()

func (*UNITransactorSession) DelegateBySig

func (_UNI *UNITransactorSession) DelegateBySig(delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.

Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*UNITransactorSession) Mint

func (_UNI *UNITransactorSession) Mint(dst common.Address, rawAmount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address dst, uint256 rawAmount) returns()

func (*UNITransactorSession) Permit

func (_UNI *UNITransactorSession) Permit(owner common.Address, spender common.Address, rawAmount *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 rawAmount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*UNITransactorSession) SetMinter

func (_UNI *UNITransactorSession) SetMinter(minter_ common.Address) (*types.Transaction, error)

SetMinter is a paid mutator transaction binding the contract method 0xfca3b5aa.

Solidity: function setMinter(address minter_) returns()

func (*UNITransactorSession) Transfer

func (_UNI *UNITransactorSession) Transfer(dst common.Address, rawAmount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address dst, uint256 rawAmount) returns(bool)

func (*UNITransactorSession) TransferFrom

func (_UNI *UNITransactorSession) TransferFrom(src common.Address, dst common.Address, rawAmount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 rawAmount) returns(bool)

type UNITransfer

type UNITransfer struct {
	From   common.Address
	To     common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

UNITransfer represents a Transfer event raised by the UNI contract.

type UNITransferIterator

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

UNITransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the UNI contract.

func (*UNITransferIterator) Close

func (it *UNITransferIterator) Close() error

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

func (*UNITransferIterator) Error

func (it *UNITransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UNITransferIterator) Next

func (it *UNITransferIterator) 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.

Jump to

Keyboard shortcuts

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