TokenERC20Votes

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2022 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TokenERC20VotesABI = TokenERC20VotesMetaData.ABI

TokenERC20VotesABI is the input ABI used to generate the binding from. Deprecated: Use TokenERC20VotesMetaData.ABI instead.

View Source
var TokenERC20VotesMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fromDelegate\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"toDelegate\",\"type\":\"address\"}],\"name\":\"DelegateChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousBalance\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newBalance\",\"type\":\"uint256\"}],\"name\":\"DelegateVotesChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"pos\",\"type\":\"uint32\"}],\"name\":\"checkpoints\",\"outputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"fromBlock\",\"type\":\"uint32\"},{\"internalType\":\"uint224\",\"name\":\"votes\",\"type\":\"uint224\"}],\"internalType\":\"structERC20Votes.Checkpoint\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"delegate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"delegateBySig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"delegates\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPastTotalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPastVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"numCheckpoints\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

TokenERC20VotesMetaData contains all meta data concerning the TokenERC20Votes contract.

Functions

This section is empty.

Types

type ERC20VotesCheckpoint

type ERC20VotesCheckpoint struct {
	FromBlock uint32
	Votes     *big.Int
}

ERC20VotesCheckpoint is an auto generated low-level Go binding around an user-defined struct.

type TokenERC20Votes

type TokenERC20Votes struct {
	TokenERC20VotesCaller     // Read-only binding to the contract
	TokenERC20VotesTransactor // Write-only binding to the contract
	TokenERC20VotesFilterer   // Log filterer for contract events
}

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

func NewTokenERC20Votes

func NewTokenERC20Votes(address common.Address, backend bind.ContractBackend) (*TokenERC20Votes, error)

NewTokenERC20Votes creates a new instance of TokenERC20Votes, bound to a specific deployed contract.

type TokenERC20VotesApproval

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

TokenERC20VotesApproval represents a Approval event raised by the TokenERC20Votes contract.

type TokenERC20VotesApprovalIterator

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

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

func (*TokenERC20VotesApprovalIterator) Close

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

func (*TokenERC20VotesApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenERC20VotesApprovalIterator) 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 TokenERC20VotesCaller

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

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

func NewTokenERC20VotesCaller

func NewTokenERC20VotesCaller(address common.Address, caller bind.ContractCaller) (*TokenERC20VotesCaller, error)

NewTokenERC20VotesCaller creates a new read-only instance of TokenERC20Votes, bound to a specific deployed contract.

func (*TokenERC20VotesCaller) Allowance

func (_TokenERC20Votes *TokenERC20VotesCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*TokenERC20VotesCaller) BalanceOf

func (_TokenERC20Votes *TokenERC20VotesCaller) 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 (*TokenERC20VotesCaller) Checkpoints

func (_TokenERC20Votes *TokenERC20VotesCaller) Checkpoints(opts *bind.CallOpts, account common.Address, pos uint32) (ERC20VotesCheckpoint, error)

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

Solidity: function checkpoints(address account, uint32 pos) view returns((uint32,uint224))

func (*TokenERC20VotesCaller) DOMAINSEPARATOR

func (_TokenERC20Votes *TokenERC20VotesCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*TokenERC20VotesCaller) Decimals

func (_TokenERC20Votes *TokenERC20VotesCaller) 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 (*TokenERC20VotesCaller) Delegates

func (_TokenERC20Votes *TokenERC20VotesCaller) Delegates(opts *bind.CallOpts, account common.Address) (common.Address, error)

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

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

func (*TokenERC20VotesCaller) GetPastTotalSupply

func (_TokenERC20Votes *TokenERC20VotesCaller) GetPastTotalSupply(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)

GetPastTotalSupply is a free data retrieval call binding the contract method 0x8e539e8c.

Solidity: function getPastTotalSupply(uint256 blockNumber) view returns(uint256)

func (*TokenERC20VotesCaller) GetPastVotes

func (_TokenERC20Votes *TokenERC20VotesCaller) GetPastVotes(opts *bind.CallOpts, account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPastVotes is a free data retrieval call binding the contract method 0x3a46b1a8.

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

func (*TokenERC20VotesCaller) GetVotes

func (_TokenERC20Votes *TokenERC20VotesCaller) GetVotes(opts *bind.CallOpts, account common.Address) (*big.Int, error)

GetVotes is a free data retrieval call binding the contract method 0x9ab24eb0.

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

func (*TokenERC20VotesCaller) Name

func (_TokenERC20Votes *TokenERC20VotesCaller) 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 (*TokenERC20VotesCaller) Nonces

func (_TokenERC20Votes *TokenERC20VotesCaller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

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

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

func (*TokenERC20VotesCaller) NumCheckpoints

func (_TokenERC20Votes *TokenERC20VotesCaller) NumCheckpoints(opts *bind.CallOpts, account common.Address) (uint32, error)

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

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

func (*TokenERC20VotesCaller) Owner

func (_TokenERC20Votes *TokenERC20VotesCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*TokenERC20VotesCaller) Symbol

func (_TokenERC20Votes *TokenERC20VotesCaller) 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 (*TokenERC20VotesCaller) TotalSupply

func (_TokenERC20Votes *TokenERC20VotesCaller) 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 TokenERC20VotesCallerRaw

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

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

func (*TokenERC20VotesCallerRaw) Call

func (_TokenERC20Votes *TokenERC20VotesCallerRaw) 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 TokenERC20VotesCallerSession

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

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

func (*TokenERC20VotesCallerSession) Allowance

func (_TokenERC20Votes *TokenERC20VotesCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*TokenERC20VotesCallerSession) BalanceOf

func (_TokenERC20Votes *TokenERC20VotesCallerSession) 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 (*TokenERC20VotesCallerSession) Checkpoints

func (_TokenERC20Votes *TokenERC20VotesCallerSession) Checkpoints(account common.Address, pos uint32) (ERC20VotesCheckpoint, error)

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

Solidity: function checkpoints(address account, uint32 pos) view returns((uint32,uint224))

func (*TokenERC20VotesCallerSession) DOMAINSEPARATOR

func (_TokenERC20Votes *TokenERC20VotesCallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*TokenERC20VotesCallerSession) Decimals

func (_TokenERC20Votes *TokenERC20VotesCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*TokenERC20VotesCallerSession) Delegates

func (_TokenERC20Votes *TokenERC20VotesCallerSession) Delegates(account common.Address) (common.Address, error)

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

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

func (*TokenERC20VotesCallerSession) GetPastTotalSupply

func (_TokenERC20Votes *TokenERC20VotesCallerSession) GetPastTotalSupply(blockNumber *big.Int) (*big.Int, error)

GetPastTotalSupply is a free data retrieval call binding the contract method 0x8e539e8c.

Solidity: function getPastTotalSupply(uint256 blockNumber) view returns(uint256)

func (*TokenERC20VotesCallerSession) GetPastVotes

func (_TokenERC20Votes *TokenERC20VotesCallerSession) GetPastVotes(account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPastVotes is a free data retrieval call binding the contract method 0x3a46b1a8.

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

func (*TokenERC20VotesCallerSession) GetVotes

func (_TokenERC20Votes *TokenERC20VotesCallerSession) GetVotes(account common.Address) (*big.Int, error)

GetVotes is a free data retrieval call binding the contract method 0x9ab24eb0.

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

func (*TokenERC20VotesCallerSession) Name

func (_TokenERC20Votes *TokenERC20VotesCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*TokenERC20VotesCallerSession) Nonces

func (_TokenERC20Votes *TokenERC20VotesCallerSession) Nonces(owner common.Address) (*big.Int, error)

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

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

func (*TokenERC20VotesCallerSession) NumCheckpoints

func (_TokenERC20Votes *TokenERC20VotesCallerSession) NumCheckpoints(account common.Address) (uint32, error)

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

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

func (*TokenERC20VotesCallerSession) Owner

func (_TokenERC20Votes *TokenERC20VotesCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*TokenERC20VotesCallerSession) Symbol

func (_TokenERC20Votes *TokenERC20VotesCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*TokenERC20VotesCallerSession) TotalSupply

func (_TokenERC20Votes *TokenERC20VotesCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type TokenERC20VotesDelegateChanged

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

TokenERC20VotesDelegateChanged represents a DelegateChanged event raised by the TokenERC20Votes contract.

type TokenERC20VotesDelegateChangedIterator

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

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

func (*TokenERC20VotesDelegateChangedIterator) Close

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

func (*TokenERC20VotesDelegateChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenERC20VotesDelegateChangedIterator) 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 TokenERC20VotesDelegateVotesChanged

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

TokenERC20VotesDelegateVotesChanged represents a DelegateVotesChanged event raised by the TokenERC20Votes contract.

type TokenERC20VotesDelegateVotesChangedIterator

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

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

func (*TokenERC20VotesDelegateVotesChangedIterator) Close

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

func (*TokenERC20VotesDelegateVotesChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenERC20VotesDelegateVotesChangedIterator) 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 TokenERC20VotesFilterer

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

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

func NewTokenERC20VotesFilterer

func NewTokenERC20VotesFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenERC20VotesFilterer, error)

NewTokenERC20VotesFilterer creates a new log filterer instance of TokenERC20Votes, bound to a specific deployed contract.

func (*TokenERC20VotesFilterer) FilterApproval

func (_TokenERC20Votes *TokenERC20VotesFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*TokenERC20VotesApprovalIterator, error)

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

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

func (*TokenERC20VotesFilterer) FilterDelegateChanged

func (_TokenERC20Votes *TokenERC20VotesFilterer) FilterDelegateChanged(opts *bind.FilterOpts, delegator []common.Address, fromDelegate []common.Address, toDelegate []common.Address) (*TokenERC20VotesDelegateChangedIterator, 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 (*TokenERC20VotesFilterer) FilterDelegateVotesChanged

func (_TokenERC20Votes *TokenERC20VotesFilterer) FilterDelegateVotesChanged(opts *bind.FilterOpts, delegate []common.Address) (*TokenERC20VotesDelegateVotesChangedIterator, error)

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

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

func (*TokenERC20VotesFilterer) FilterOwnershipTransferred

func (_TokenERC20Votes *TokenERC20VotesFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TokenERC20VotesOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*TokenERC20VotesFilterer) FilterTransfer

func (_TokenERC20Votes *TokenERC20VotesFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TokenERC20VotesTransferIterator, error)

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

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

func (*TokenERC20VotesFilterer) ParseApproval

func (_TokenERC20Votes *TokenERC20VotesFilterer) ParseApproval(log types.Log) (*TokenERC20VotesApproval, error)

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

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

func (*TokenERC20VotesFilterer) ParseDelegateChanged

func (_TokenERC20Votes *TokenERC20VotesFilterer) ParseDelegateChanged(log types.Log) (*TokenERC20VotesDelegateChanged, 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 (*TokenERC20VotesFilterer) ParseDelegateVotesChanged

func (_TokenERC20Votes *TokenERC20VotesFilterer) ParseDelegateVotesChanged(log types.Log) (*TokenERC20VotesDelegateVotesChanged, error)

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

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

func (*TokenERC20VotesFilterer) ParseOwnershipTransferred

func (_TokenERC20Votes *TokenERC20VotesFilterer) ParseOwnershipTransferred(log types.Log) (*TokenERC20VotesOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*TokenERC20VotesFilterer) ParseTransfer

func (_TokenERC20Votes *TokenERC20VotesFilterer) ParseTransfer(log types.Log) (*TokenERC20VotesTransfer, error)

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

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

func (*TokenERC20VotesFilterer) WatchApproval

func (_TokenERC20Votes *TokenERC20VotesFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TokenERC20VotesApproval, 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 value)

func (*TokenERC20VotesFilterer) WatchDelegateChanged

func (_TokenERC20Votes *TokenERC20VotesFilterer) WatchDelegateChanged(opts *bind.WatchOpts, sink chan<- *TokenERC20VotesDelegateChanged, 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 (*TokenERC20VotesFilterer) WatchDelegateVotesChanged

func (_TokenERC20Votes *TokenERC20VotesFilterer) WatchDelegateVotesChanged(opts *bind.WatchOpts, sink chan<- *TokenERC20VotesDelegateVotesChanged, 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 (*TokenERC20VotesFilterer) WatchOwnershipTransferred

func (_TokenERC20Votes *TokenERC20VotesFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TokenERC20VotesOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*TokenERC20VotesFilterer) WatchTransfer

func (_TokenERC20Votes *TokenERC20VotesFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TokenERC20VotesTransfer, 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 value)

type TokenERC20VotesOwnershipTransferred

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

TokenERC20VotesOwnershipTransferred represents a OwnershipTransferred event raised by the TokenERC20Votes contract.

type TokenERC20VotesOwnershipTransferredIterator

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

TokenERC20VotesOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the TokenERC20Votes contract.

func (*TokenERC20VotesOwnershipTransferredIterator) Close

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

func (*TokenERC20VotesOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenERC20VotesOwnershipTransferredIterator) 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 TokenERC20VotesRaw

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

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

func (*TokenERC20VotesRaw) Call

func (_TokenERC20Votes *TokenERC20VotesRaw) 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 (*TokenERC20VotesRaw) Transact

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

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

func (*TokenERC20VotesRaw) Transfer

func (_TokenERC20Votes *TokenERC20VotesRaw) 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 TokenERC20VotesSession

type TokenERC20VotesSession struct {
	Contract     *TokenERC20Votes  // 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
}

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

func (*TokenERC20VotesSession) Allowance

func (_TokenERC20Votes *TokenERC20VotesSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*TokenERC20VotesSession) Approve

func (_TokenERC20Votes *TokenERC20VotesSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*TokenERC20VotesSession) BalanceOf

func (_TokenERC20Votes *TokenERC20VotesSession) 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 (*TokenERC20VotesSession) Checkpoints

func (_TokenERC20Votes *TokenERC20VotesSession) Checkpoints(account common.Address, pos uint32) (ERC20VotesCheckpoint, error)

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

Solidity: function checkpoints(address account, uint32 pos) view returns((uint32,uint224))

func (*TokenERC20VotesSession) DOMAINSEPARATOR

func (_TokenERC20Votes *TokenERC20VotesSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*TokenERC20VotesSession) Decimals

func (_TokenERC20Votes *TokenERC20VotesSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*TokenERC20VotesSession) DecreaseAllowance

func (_TokenERC20Votes *TokenERC20VotesSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*TokenERC20VotesSession) Delegate

func (_TokenERC20Votes *TokenERC20VotesSession) 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 (*TokenERC20VotesSession) DelegateBySig

func (_TokenERC20Votes *TokenERC20VotesSession) 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 (*TokenERC20VotesSession) Delegates

func (_TokenERC20Votes *TokenERC20VotesSession) Delegates(account common.Address) (common.Address, error)

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

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

func (*TokenERC20VotesSession) GetPastTotalSupply

func (_TokenERC20Votes *TokenERC20VotesSession) GetPastTotalSupply(blockNumber *big.Int) (*big.Int, error)

GetPastTotalSupply is a free data retrieval call binding the contract method 0x8e539e8c.

Solidity: function getPastTotalSupply(uint256 blockNumber) view returns(uint256)

func (*TokenERC20VotesSession) GetPastVotes

func (_TokenERC20Votes *TokenERC20VotesSession) GetPastVotes(account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPastVotes is a free data retrieval call binding the contract method 0x3a46b1a8.

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

func (*TokenERC20VotesSession) GetVotes

func (_TokenERC20Votes *TokenERC20VotesSession) GetVotes(account common.Address) (*big.Int, error)

GetVotes is a free data retrieval call binding the contract method 0x9ab24eb0.

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

func (*TokenERC20VotesSession) IncreaseAllowance

func (_TokenERC20Votes *TokenERC20VotesSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*TokenERC20VotesSession) Mint

func (_TokenERC20Votes *TokenERC20VotesSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address to, uint256 amount) returns()

func (*TokenERC20VotesSession) Name

func (_TokenERC20Votes *TokenERC20VotesSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*TokenERC20VotesSession) Nonces

func (_TokenERC20Votes *TokenERC20VotesSession) Nonces(owner common.Address) (*big.Int, error)

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

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

func (*TokenERC20VotesSession) NumCheckpoints

func (_TokenERC20Votes *TokenERC20VotesSession) NumCheckpoints(account common.Address) (uint32, error)

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

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

func (*TokenERC20VotesSession) Owner

func (_TokenERC20Votes *TokenERC20VotesSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*TokenERC20VotesSession) Permit

func (_TokenERC20Votes *TokenERC20VotesSession) Permit(owner common.Address, spender common.Address, value *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 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*TokenERC20VotesSession) RenounceOwnership

func (_TokenERC20Votes *TokenERC20VotesSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*TokenERC20VotesSession) Symbol

func (_TokenERC20Votes *TokenERC20VotesSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*TokenERC20VotesSession) TotalSupply

func (_TokenERC20Votes *TokenERC20VotesSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*TokenERC20VotesSession) Transfer

func (_TokenERC20Votes *TokenERC20VotesSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*TokenERC20VotesSession) TransferFrom

func (_TokenERC20Votes *TokenERC20VotesSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

func (*TokenERC20VotesSession) TransferOwnership

func (_TokenERC20Votes *TokenERC20VotesSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type TokenERC20VotesTransactor

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

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

func NewTokenERC20VotesTransactor

func NewTokenERC20VotesTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenERC20VotesTransactor, error)

NewTokenERC20VotesTransactor creates a new write-only instance of TokenERC20Votes, bound to a specific deployed contract.

func (*TokenERC20VotesTransactor) Approve

func (_TokenERC20Votes *TokenERC20VotesTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*TokenERC20VotesTransactor) DecreaseAllowance

func (_TokenERC20Votes *TokenERC20VotesTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*TokenERC20VotesTransactor) Delegate

func (_TokenERC20Votes *TokenERC20VotesTransactor) 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 (*TokenERC20VotesTransactor) DelegateBySig

func (_TokenERC20Votes *TokenERC20VotesTransactor) 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 (*TokenERC20VotesTransactor) IncreaseAllowance

func (_TokenERC20Votes *TokenERC20VotesTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*TokenERC20VotesTransactor) Mint

func (_TokenERC20Votes *TokenERC20VotesTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address to, uint256 amount) returns()

func (*TokenERC20VotesTransactor) Permit

func (_TokenERC20Votes *TokenERC20VotesTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *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 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*TokenERC20VotesTransactor) RenounceOwnership

func (_TokenERC20Votes *TokenERC20VotesTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*TokenERC20VotesTransactor) Transfer

func (_TokenERC20Votes *TokenERC20VotesTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*TokenERC20VotesTransactor) TransferFrom

func (_TokenERC20Votes *TokenERC20VotesTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

func (*TokenERC20VotesTransactor) TransferOwnership

func (_TokenERC20Votes *TokenERC20VotesTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type TokenERC20VotesTransactorRaw

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

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

func (*TokenERC20VotesTransactorRaw) Transact

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

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

func (*TokenERC20VotesTransactorRaw) Transfer

func (_TokenERC20Votes *TokenERC20VotesTransactorRaw) 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 TokenERC20VotesTransactorSession

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

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

func (*TokenERC20VotesTransactorSession) Approve

func (_TokenERC20Votes *TokenERC20VotesTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*TokenERC20VotesTransactorSession) DecreaseAllowance

func (_TokenERC20Votes *TokenERC20VotesTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*TokenERC20VotesTransactorSession) Delegate

func (_TokenERC20Votes *TokenERC20VotesTransactorSession) 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 (*TokenERC20VotesTransactorSession) DelegateBySig

func (_TokenERC20Votes *TokenERC20VotesTransactorSession) 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 (*TokenERC20VotesTransactorSession) IncreaseAllowance

func (_TokenERC20Votes *TokenERC20VotesTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*TokenERC20VotesTransactorSession) Mint

func (_TokenERC20Votes *TokenERC20VotesTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address to, uint256 amount) returns()

func (*TokenERC20VotesTransactorSession) Permit

func (_TokenERC20Votes *TokenERC20VotesTransactorSession) Permit(owner common.Address, spender common.Address, value *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 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*TokenERC20VotesTransactorSession) RenounceOwnership

func (_TokenERC20Votes *TokenERC20VotesTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*TokenERC20VotesTransactorSession) Transfer

func (_TokenERC20Votes *TokenERC20VotesTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*TokenERC20VotesTransactorSession) TransferFrom

func (_TokenERC20Votes *TokenERC20VotesTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

func (*TokenERC20VotesTransactorSession) TransferOwnership

func (_TokenERC20Votes *TokenERC20VotesTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type TokenERC20VotesTransfer

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

TokenERC20VotesTransfer represents a Transfer event raised by the TokenERC20Votes contract.

type TokenERC20VotesTransferIterator

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

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

func (*TokenERC20VotesTransferIterator) Close

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

func (*TokenERC20VotesTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

Jump to

Keyboard shortcuts

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