Documentation
¶
Index ¶
- Variables
- type ERC20VotesCheckpoint
- type Thix
- type ThixApproval
- type ThixApprovalIterator
- type ThixCaller
- func (_Thix *ThixCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_Thix *ThixCaller) BURNERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Thix *ThixCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_Thix *ThixCaller) Checkpoints(opts *bind.CallOpts, account common.Address, pos uint32) (ERC20VotesCheckpoint, error)
- func (_Thix *ThixCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Thix *ThixCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
- func (_Thix *ThixCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_Thix *ThixCaller) Delegates(opts *bind.CallOpts, account common.Address) (common.Address, error)
- func (_Thix *ThixCaller) GetPastTotalSupply(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)
- func (_Thix *ThixCaller) GetPastVotes(opts *bind.CallOpts, account common.Address, blockNumber *big.Int) (*big.Int, error)
- func (_Thix *ThixCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_Thix *ThixCaller) GetVotes(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_Thix *ThixCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_Thix *ThixCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Thix *ThixCaller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_Thix *ThixCaller) NumCheckpoints(opts *bind.CallOpts, account common.Address) (uint32, error)
- func (_Thix *ThixCaller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Thix *ThixCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_Thix *ThixCaller) REWARDSCHEQUEPROCESSORROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Thix *ThixCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_Thix *ThixCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Thix *ThixCaller) TRUSTEDFORWARDERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Thix *ThixCaller) TotalRewardsPaid(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_Thix *ThixCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_Thix *ThixCaller) UNPAUSERROLE(opts *bind.CallOpts) ([32]byte, error)
- type ThixCallerRaw
- type ThixCallerSession
- func (_Thix *ThixCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Thix *ThixCallerSession) BURNERROLE() ([32]byte, error)
- func (_Thix *ThixCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Thix *ThixCallerSession) Checkpoints(account common.Address, pos uint32) (ERC20VotesCheckpoint, error)
- func (_Thix *ThixCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Thix *ThixCallerSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_Thix *ThixCallerSession) Decimals() (uint8, error)
- func (_Thix *ThixCallerSession) Delegates(account common.Address) (common.Address, error)
- func (_Thix *ThixCallerSession) GetPastTotalSupply(blockNumber *big.Int) (*big.Int, error)
- func (_Thix *ThixCallerSession) GetPastVotes(account common.Address, blockNumber *big.Int) (*big.Int, error)
- func (_Thix *ThixCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Thix *ThixCallerSession) GetVotes(account common.Address) (*big.Int, error)
- func (_Thix *ThixCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Thix *ThixCallerSession) Name() (string, error)
- func (_Thix *ThixCallerSession) Nonces(owner common.Address) (*big.Int, error)
- func (_Thix *ThixCallerSession) NumCheckpoints(account common.Address) (uint32, error)
- func (_Thix *ThixCallerSession) PAUSERROLE() ([32]byte, error)
- func (_Thix *ThixCallerSession) Paused() (bool, error)
- func (_Thix *ThixCallerSession) REWARDSCHEQUEPROCESSORROLE() ([32]byte, error)
- func (_Thix *ThixCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Thix *ThixCallerSession) Symbol() (string, error)
- func (_Thix *ThixCallerSession) TRUSTEDFORWARDERROLE() ([32]byte, error)
- func (_Thix *ThixCallerSession) TotalRewardsPaid(arg0 common.Address) (*big.Int, error)
- func (_Thix *ThixCallerSession) TotalSupply() (*big.Int, error)
- func (_Thix *ThixCallerSession) UNPAUSERROLE() ([32]byte, error)
- type ThixDelegateChanged
- type ThixDelegateChangedIterator
- type ThixDelegateVotesChanged
- type ThixDelegateVotesChangedIterator
- type ThixFilterer
- func (_Thix *ThixFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ThixApprovalIterator, error)
- func (_Thix *ThixFilterer) FilterDelegateChanged(opts *bind.FilterOpts, delegator []common.Address, ...) (*ThixDelegateChangedIterator, error)
- func (_Thix *ThixFilterer) FilterDelegateVotesChanged(opts *bind.FilterOpts, delegate []common.Address) (*ThixDelegateVotesChangedIterator, error)
- func (_Thix *ThixFilterer) FilterPaused(opts *bind.FilterOpts) (*ThixPausedIterator, error)
- func (_Thix *ThixFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*ThixRoleAdminChangedIterator, error)
- func (_Thix *ThixFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*ThixRoleGrantedIterator, error)
- func (_Thix *ThixFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*ThixRoleRevokedIterator, error)
- func (_Thix *ThixFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ThixTransferIterator, error)
- func (_Thix *ThixFilterer) FilterUnpaused(opts *bind.FilterOpts) (*ThixUnpausedIterator, error)
- func (_Thix *ThixFilterer) ParseApproval(log types.Log) (*ThixApproval, error)
- func (_Thix *ThixFilterer) ParseDelegateChanged(log types.Log) (*ThixDelegateChanged, error)
- func (_Thix *ThixFilterer) ParseDelegateVotesChanged(log types.Log) (*ThixDelegateVotesChanged, error)
- func (_Thix *ThixFilterer) ParsePaused(log types.Log) (*ThixPaused, error)
- func (_Thix *ThixFilterer) ParseRoleAdminChanged(log types.Log) (*ThixRoleAdminChanged, error)
- func (_Thix *ThixFilterer) ParseRoleGranted(log types.Log) (*ThixRoleGranted, error)
- func (_Thix *ThixFilterer) ParseRoleRevoked(log types.Log) (*ThixRoleRevoked, error)
- func (_Thix *ThixFilterer) ParseTransfer(log types.Log) (*ThixTransfer, error)
- func (_Thix *ThixFilterer) ParseUnpaused(log types.Log) (*ThixUnpaused, error)
- func (_Thix *ThixFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ThixApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_Thix *ThixFilterer) WatchDelegateChanged(opts *bind.WatchOpts, sink chan<- *ThixDelegateChanged, ...) (event.Subscription, error)
- func (_Thix *ThixFilterer) WatchDelegateVotesChanged(opts *bind.WatchOpts, sink chan<- *ThixDelegateVotesChanged, ...) (event.Subscription, error)
- func (_Thix *ThixFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *ThixPaused) (event.Subscription, error)
- func (_Thix *ThixFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *ThixRoleAdminChanged, role [][32]byte, ...) (event.Subscription, error)
- func (_Thix *ThixFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *ThixRoleGranted, role [][32]byte, ...) (event.Subscription, error)
- func (_Thix *ThixFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *ThixRoleRevoked, role [][32]byte, ...) (event.Subscription, error)
- func (_Thix *ThixFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ThixTransfer, from []common.Address, ...) (event.Subscription, error)
- func (_Thix *ThixFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *ThixUnpaused) (event.Subscription, error)
- type ThixPaused
- type ThixPausedIterator
- type ThixRaw
- func (_Thix *ThixRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Thix *ThixRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Thix *ThixRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ThixRoleAdminChanged
- type ThixRoleAdminChangedIterator
- type ThixRoleGranted
- type ThixRoleGrantedIterator
- type ThixRoleRevoked
- type ThixRoleRevokedIterator
- type ThixSession
- func (_Thix *ThixSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Thix *ThixSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixSession) ApproveAndCall(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixSession) ApproveAndCall0(spender common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
- func (_Thix *ThixSession) BURNERROLE() ([32]byte, error)
- func (_Thix *ThixSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Thix *ThixSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixSession) BurnDelegated(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixSession) Checkpoints(account common.Address, pos uint32) (ERC20VotesCheckpoint, error)
- func (_Thix *ThixSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Thix *ThixSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_Thix *ThixSession) Decimals() (uint8, error)
- func (_Thix *ThixSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_Thix *ThixSession) Delegate(delegatee common.Address) (*types.Transaction, error)
- func (_Thix *ThixSession) DelegateBySig(delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, ...) (*types.Transaction, error)
- func (_Thix *ThixSession) Delegates(account common.Address) (common.Address, error)
- func (_Thix *ThixSession) GetPastTotalSupply(blockNumber *big.Int) (*big.Int, error)
- func (_Thix *ThixSession) GetPastVotes(account common.Address, blockNumber *big.Int) (*big.Int, error)
- func (_Thix *ThixSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Thix *ThixSession) GetVotes(account common.Address) (*big.Int, error)
- func (_Thix *ThixSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Thix *ThixSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Thix *ThixSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_Thix *ThixSession) Name() (string, error)
- func (_Thix *ThixSession) Nonces(owner common.Address) (*big.Int, error)
- func (_Thix *ThixSession) NumCheckpoints(account common.Address) (uint32, error)
- func (_Thix *ThixSession) PAUSERROLE() ([32]byte, error)
- func (_Thix *ThixSession) Pause() (*types.Transaction, error)
- func (_Thix *ThixSession) Paused() (bool, error)
- func (_Thix *ThixSession) PayRewards(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixSession) PayRewardsAndCall(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixSession) PayRewardsAndCall0(to common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
- func (_Thix *ThixSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_Thix *ThixSession) REWARDSCHEQUEPROCESSORROLE() ([32]byte, error)
- func (_Thix *ThixSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Thix *ThixSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Thix *ThixSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Thix *ThixSession) Symbol() (string, error)
- func (_Thix *ThixSession) TRUSTEDFORWARDERROLE() ([32]byte, error)
- func (_Thix *ThixSession) TotalRewardsPaid(arg0 common.Address) (*big.Int, error)
- func (_Thix *ThixSession) TotalSupply() (*big.Int, error)
- func (_Thix *ThixSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixSession) TransferAndCall(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixSession) TransferAndCall0(to common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
- func (_Thix *ThixSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixSession) TransferFromAndCall(from common.Address, to common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
- func (_Thix *ThixSession) TransferFromAndCall0(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixSession) UNPAUSERROLE() ([32]byte, error)
- func (_Thix *ThixSession) Unpause() (*types.Transaction, error)
- type ThixTransactor
- func (_Thix *ThixTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixTransactor) ApproveAndCall(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixTransactor) ApproveAndCall0(opts *bind.TransactOpts, spender common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
- func (_Thix *ThixTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixTransactor) BurnDelegated(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_Thix *ThixTransactor) Delegate(opts *bind.TransactOpts, delegatee common.Address) (*types.Transaction, error)
- func (_Thix *ThixTransactor) DelegateBySig(opts *bind.TransactOpts, delegatee common.Address, nonce *big.Int, ...) (*types.Transaction, error)
- func (_Thix *ThixTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Thix *ThixTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_Thix *ThixTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Thix *ThixTransactor) PayRewards(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixTransactor) PayRewardsAndCall(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixTransactor) PayRewardsAndCall0(opts *bind.TransactOpts, to common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
- func (_Thix *ThixTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, ...) (*types.Transaction, error)
- func (_Thix *ThixTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Thix *ThixTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Thix *ThixTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixTransactor) TransferAndCall(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixTransactor) TransferAndCall0(opts *bind.TransactOpts, to common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
- func (_Thix *ThixTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Thix *ThixTransactor) TransferFromAndCall(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Thix *ThixTransactor) TransferFromAndCall0(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Thix *ThixTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- type ThixTransactorRaw
- type ThixTransactorSession
- func (_Thix *ThixTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixTransactorSession) ApproveAndCall(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixTransactorSession) ApproveAndCall0(spender common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
- func (_Thix *ThixTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixTransactorSession) BurnDelegated(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_Thix *ThixTransactorSession) Delegate(delegatee common.Address) (*types.Transaction, error)
- func (_Thix *ThixTransactorSession) DelegateBySig(delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, ...) (*types.Transaction, error)
- func (_Thix *ThixTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Thix *ThixTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_Thix *ThixTransactorSession) Pause() (*types.Transaction, error)
- func (_Thix *ThixTransactorSession) PayRewards(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixTransactorSession) PayRewardsAndCall(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixTransactorSession) PayRewardsAndCall0(to common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
- func (_Thix *ThixTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_Thix *ThixTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Thix *ThixTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Thix *ThixTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixTransactorSession) TransferAndCall(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixTransactorSession) TransferAndCall0(to common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
- func (_Thix *ThixTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixTransactorSession) TransferFromAndCall(from common.Address, to common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
- func (_Thix *ThixTransactorSession) TransferFromAndCall0(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Thix *ThixTransactorSession) Unpause() (*types.Transaction, error)
- type ThixTransfer
- type ThixTransferIterator
- type ThixUnpaused
- type ThixUnpausedIterator
Constants ¶
This section is empty.
Variables ¶
var ThixABI = ThixMetaData.ABI
ThixABI is the input ABI used to generate the binding from. Deprecated: Use ThixMetaData.ABI instead.
var ThixMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"manager\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"BURNER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PAUSER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"REWARDS_CHEQUE_PROCESSOR_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TRUSTED_FORWARDER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"UNPAUSER_ROLE\",\"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\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"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\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burnDelegated\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burnFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"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\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"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\":[],\"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\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"payRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"payRewardsAndCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"payRewardsAndCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"totalRewardsPaid\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferAndCall\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"transferAndCall\",\"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\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"transferFromAndCall\",\"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\":\"transferFromAndCall\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
ThixMetaData contains all meta data concerning the Thix contract.
Functions ¶
This section is empty.
Types ¶
type ERC20VotesCheckpoint ¶
ERC20VotesCheckpoint is an auto generated low-level Go binding around an user-defined struct.
type Thix ¶
type Thix struct { ThixCaller // Read-only binding to the contract ThixTransactor // Write-only binding to the contract ThixFilterer // Log filterer for contract events }
Thix is an auto generated Go binding around an Ethereum contract.
type ThixApproval ¶
type ThixApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ThixApproval represents a Approval event raised by the Thix contract.
type ThixApprovalIterator ¶
type ThixApprovalIterator struct { Event *ThixApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ThixApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Thix contract.
func (*ThixApprovalIterator) Close ¶
func (it *ThixApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ThixApprovalIterator) Error ¶
func (it *ThixApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ThixApprovalIterator) Next ¶
func (it *ThixApprovalIterator) 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 ThixCaller ¶
type ThixCaller struct {
// contains filtered or unexported fields
}
ThixCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewThixCaller ¶
func NewThixCaller(address common.Address, caller bind.ContractCaller) (*ThixCaller, error)
NewThixCaller creates a new read-only instance of Thix, bound to a specific deployed contract.
func (*ThixCaller) Allowance ¶
func (_Thix *ThixCaller) 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 (*ThixCaller) BURNERROLE ¶
func (_Thix *ThixCaller) BURNERROLE(opts *bind.CallOpts) ([32]byte, error)
BURNERROLE is a free data retrieval call binding the contract method 0x282c51f3.
Solidity: function BURNER_ROLE() view returns(bytes32)
func (*ThixCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ThixCaller) Checkpoints ¶
func (_Thix *ThixCaller) 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 (*ThixCaller) DEFAULTADMINROLE ¶
func (_Thix *ThixCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*ThixCaller) DOMAINSEPARATOR ¶
func (_Thix *ThixCaller) 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 (*ThixCaller) Decimals ¶
func (_Thix *ThixCaller) 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 (*ThixCaller) Delegates ¶
func (_Thix *ThixCaller) 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 (*ThixCaller) GetPastTotalSupply ¶
func (_Thix *ThixCaller) 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 (*ThixCaller) GetPastVotes ¶
func (_Thix *ThixCaller) 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 (*ThixCaller) GetRoleAdmin ¶
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*ThixCaller) GetVotes ¶
GetVotes is a free data retrieval call binding the contract method 0x9ab24eb0.
Solidity: function getVotes(address account) view returns(uint256)
func (*ThixCaller) HasRole ¶
func (_Thix *ThixCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*ThixCaller) Name ¶
func (_Thix *ThixCaller) 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 (*ThixCaller) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address owner) view returns(uint256)
func (*ThixCaller) NumCheckpoints ¶
func (_Thix *ThixCaller) 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 (*ThixCaller) PAUSERROLE ¶
func (_Thix *ThixCaller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
func (*ThixCaller) Paused ¶
func (_Thix *ThixCaller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*ThixCaller) REWARDSCHEQUEPROCESSORROLE ¶
func (_Thix *ThixCaller) REWARDSCHEQUEPROCESSORROLE(opts *bind.CallOpts) ([32]byte, error)
REWARDSCHEQUEPROCESSORROLE is a free data retrieval call binding the contract method 0x0181a0f4.
Solidity: function REWARDS_CHEQUE_PROCESSOR_ROLE() view returns(bytes32)
func (*ThixCaller) SupportsInterface ¶
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*ThixCaller) Symbol ¶
func (_Thix *ThixCaller) 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 (*ThixCaller) TRUSTEDFORWARDERROLE ¶
func (_Thix *ThixCaller) TRUSTEDFORWARDERROLE(opts *bind.CallOpts) ([32]byte, error)
TRUSTEDFORWARDERROLE is a free data retrieval call binding the contract method 0x00cba943.
Solidity: function TRUSTED_FORWARDER_ROLE() view returns(bytes32)
func (*ThixCaller) TotalRewardsPaid ¶
func (_Thix *ThixCaller) TotalRewardsPaid(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
TotalRewardsPaid is a free data retrieval call binding the contract method 0x6845ce1d.
Solidity: function totalRewardsPaid(address ) view returns(uint256)
func (*ThixCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*ThixCaller) UNPAUSERROLE ¶
func (_Thix *ThixCaller) UNPAUSERROLE(opts *bind.CallOpts) ([32]byte, error)
UNPAUSERROLE is a free data retrieval call binding the contract method 0xfb1bb9de.
Solidity: function UNPAUSER_ROLE() view returns(bytes32)
type ThixCallerRaw ¶
type ThixCallerRaw struct {
Contract *ThixCaller // Generic read-only contract binding to access the raw methods on
}
ThixCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ThixCallerRaw) Call ¶
func (_Thix *ThixCallerRaw) 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 ThixCallerSession ¶
type ThixCallerSession struct { Contract *ThixCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ThixCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ThixCallerSession) Allowance ¶
func (_Thix *ThixCallerSession) 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 (*ThixCallerSession) BURNERROLE ¶
func (_Thix *ThixCallerSession) BURNERROLE() ([32]byte, error)
BURNERROLE is a free data retrieval call binding the contract method 0x282c51f3.
Solidity: function BURNER_ROLE() view returns(bytes32)
func (*ThixCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ThixCallerSession) Checkpoints ¶
func (_Thix *ThixCallerSession) 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 (*ThixCallerSession) DEFAULTADMINROLE ¶
func (_Thix *ThixCallerSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*ThixCallerSession) DOMAINSEPARATOR ¶
func (_Thix *ThixCallerSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*ThixCallerSession) Decimals ¶
func (_Thix *ThixCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ThixCallerSession) Delegates ¶
Delegates is a free data retrieval call binding the contract method 0x587cde1e.
Solidity: function delegates(address account) view returns(address)
func (*ThixCallerSession) GetPastTotalSupply ¶
GetPastTotalSupply is a free data retrieval call binding the contract method 0x8e539e8c.
Solidity: function getPastTotalSupply(uint256 blockNumber) view returns(uint256)
func (*ThixCallerSession) GetPastVotes ¶
func (_Thix *ThixCallerSession) 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 (*ThixCallerSession) GetRoleAdmin ¶
func (_Thix *ThixCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*ThixCallerSession) GetVotes ¶
GetVotes is a free data retrieval call binding the contract method 0x9ab24eb0.
Solidity: function getVotes(address account) view returns(uint256)
func (*ThixCallerSession) HasRole ¶
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*ThixCallerSession) Name ¶
func (_Thix *ThixCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ThixCallerSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address owner) view returns(uint256)
func (*ThixCallerSession) NumCheckpoints ¶
func (_Thix *ThixCallerSession) 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 (*ThixCallerSession) PAUSERROLE ¶
func (_Thix *ThixCallerSession) PAUSERROLE() ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
func (*ThixCallerSession) Paused ¶
func (_Thix *ThixCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*ThixCallerSession) REWARDSCHEQUEPROCESSORROLE ¶
func (_Thix *ThixCallerSession) REWARDSCHEQUEPROCESSORROLE() ([32]byte, error)
REWARDSCHEQUEPROCESSORROLE is a free data retrieval call binding the contract method 0x0181a0f4.
Solidity: function REWARDS_CHEQUE_PROCESSOR_ROLE() view returns(bytes32)
func (*ThixCallerSession) SupportsInterface ¶
func (_Thix *ThixCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*ThixCallerSession) Symbol ¶
func (_Thix *ThixCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ThixCallerSession) TRUSTEDFORWARDERROLE ¶
func (_Thix *ThixCallerSession) TRUSTEDFORWARDERROLE() ([32]byte, error)
TRUSTEDFORWARDERROLE is a free data retrieval call binding the contract method 0x00cba943.
Solidity: function TRUSTED_FORWARDER_ROLE() view returns(bytes32)
func (*ThixCallerSession) TotalRewardsPaid ¶
TotalRewardsPaid is a free data retrieval call binding the contract method 0x6845ce1d.
Solidity: function totalRewardsPaid(address ) view returns(uint256)
func (*ThixCallerSession) TotalSupply ¶
func (_Thix *ThixCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*ThixCallerSession) UNPAUSERROLE ¶
func (_Thix *ThixCallerSession) UNPAUSERROLE() ([32]byte, error)
UNPAUSERROLE is a free data retrieval call binding the contract method 0xfb1bb9de.
Solidity: function UNPAUSER_ROLE() view returns(bytes32)
type ThixDelegateChanged ¶
type ThixDelegateChanged struct { Delegator common.Address FromDelegate common.Address ToDelegate common.Address Raw types.Log // Blockchain specific contextual infos }
ThixDelegateChanged represents a DelegateChanged event raised by the Thix contract.
type ThixDelegateChangedIterator ¶
type ThixDelegateChangedIterator struct { Event *ThixDelegateChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ThixDelegateChangedIterator is returned from FilterDelegateChanged and is used to iterate over the raw logs and unpacked data for DelegateChanged events raised by the Thix contract.
func (*ThixDelegateChangedIterator) Close ¶
func (it *ThixDelegateChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ThixDelegateChangedIterator) Error ¶
func (it *ThixDelegateChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ThixDelegateChangedIterator) Next ¶
func (it *ThixDelegateChangedIterator) 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 ThixDelegateVotesChanged ¶
type ThixDelegateVotesChanged struct { Delegate common.Address PreviousBalance *big.Int NewBalance *big.Int Raw types.Log // Blockchain specific contextual infos }
ThixDelegateVotesChanged represents a DelegateVotesChanged event raised by the Thix contract.
type ThixDelegateVotesChangedIterator ¶
type ThixDelegateVotesChangedIterator struct { Event *ThixDelegateVotesChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ThixDelegateVotesChangedIterator is returned from FilterDelegateVotesChanged and is used to iterate over the raw logs and unpacked data for DelegateVotesChanged events raised by the Thix contract.
func (*ThixDelegateVotesChangedIterator) Close ¶
func (it *ThixDelegateVotesChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ThixDelegateVotesChangedIterator) Error ¶
func (it *ThixDelegateVotesChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ThixDelegateVotesChangedIterator) Next ¶
func (it *ThixDelegateVotesChangedIterator) 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 ThixFilterer ¶
type ThixFilterer struct {
// contains filtered or unexported fields
}
ThixFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewThixFilterer ¶
func NewThixFilterer(address common.Address, filterer bind.ContractFilterer) (*ThixFilterer, error)
NewThixFilterer creates a new log filterer instance of Thix, bound to a specific deployed contract.
func (*ThixFilterer) FilterApproval ¶
func (_Thix *ThixFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ThixApprovalIterator, 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 (*ThixFilterer) FilterDelegateChanged ¶
func (_Thix *ThixFilterer) FilterDelegateChanged(opts *bind.FilterOpts, delegator []common.Address, fromDelegate []common.Address, toDelegate []common.Address) (*ThixDelegateChangedIterator, 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 (*ThixFilterer) FilterDelegateVotesChanged ¶
func (_Thix *ThixFilterer) FilterDelegateVotesChanged(opts *bind.FilterOpts, delegate []common.Address) (*ThixDelegateVotesChangedIterator, error)
FilterDelegateVotesChanged is a free log retrieval operation binding the contract event 0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724.
Solidity: event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance)
func (*ThixFilterer) FilterPaused ¶
func (_Thix *ThixFilterer) FilterPaused(opts *bind.FilterOpts) (*ThixPausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*ThixFilterer) FilterRoleAdminChanged ¶
func (_Thix *ThixFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*ThixRoleAdminChangedIterator, error)
FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*ThixFilterer) FilterRoleGranted ¶
func (_Thix *ThixFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*ThixRoleGrantedIterator, error)
FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*ThixFilterer) FilterRoleRevoked ¶
func (_Thix *ThixFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*ThixRoleRevokedIterator, error)
FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*ThixFilterer) FilterTransfer ¶
func (_Thix *ThixFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ThixTransferIterator, 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 (*ThixFilterer) FilterUnpaused ¶
func (_Thix *ThixFilterer) FilterUnpaused(opts *bind.FilterOpts) (*ThixUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*ThixFilterer) ParseApproval ¶
func (_Thix *ThixFilterer) ParseApproval(log types.Log) (*ThixApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ThixFilterer) ParseDelegateChanged ¶
func (_Thix *ThixFilterer) ParseDelegateChanged(log types.Log) (*ThixDelegateChanged, 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 (*ThixFilterer) ParseDelegateVotesChanged ¶
func (_Thix *ThixFilterer) ParseDelegateVotesChanged(log types.Log) (*ThixDelegateVotesChanged, error)
ParseDelegateVotesChanged is a log parse operation binding the contract event 0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724.
Solidity: event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance)
func (*ThixFilterer) ParsePaused ¶
func (_Thix *ThixFilterer) ParsePaused(log types.Log) (*ThixPaused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*ThixFilterer) ParseRoleAdminChanged ¶
func (_Thix *ThixFilterer) ParseRoleAdminChanged(log types.Log) (*ThixRoleAdminChanged, error)
ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*ThixFilterer) ParseRoleGranted ¶
func (_Thix *ThixFilterer) ParseRoleGranted(log types.Log) (*ThixRoleGranted, error)
ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*ThixFilterer) ParseRoleRevoked ¶
func (_Thix *ThixFilterer) ParseRoleRevoked(log types.Log) (*ThixRoleRevoked, error)
ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*ThixFilterer) ParseTransfer ¶
func (_Thix *ThixFilterer) ParseTransfer(log types.Log) (*ThixTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ThixFilterer) ParseUnpaused ¶
func (_Thix *ThixFilterer) ParseUnpaused(log types.Log) (*ThixUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*ThixFilterer) WatchApproval ¶
func (_Thix *ThixFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ThixApproval, 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 (*ThixFilterer) WatchDelegateChanged ¶
func (_Thix *ThixFilterer) WatchDelegateChanged(opts *bind.WatchOpts, sink chan<- *ThixDelegateChanged, 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 (*ThixFilterer) WatchDelegateVotesChanged ¶
func (_Thix *ThixFilterer) WatchDelegateVotesChanged(opts *bind.WatchOpts, sink chan<- *ThixDelegateVotesChanged, 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 (*ThixFilterer) WatchPaused ¶
func (_Thix *ThixFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *ThixPaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*ThixFilterer) WatchRoleAdminChanged ¶
func (_Thix *ThixFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *ThixRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)
WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*ThixFilterer) WatchRoleGranted ¶
func (_Thix *ThixFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *ThixRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*ThixFilterer) WatchRoleRevoked ¶
func (_Thix *ThixFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *ThixRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*ThixFilterer) WatchTransfer ¶
func (_Thix *ThixFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ThixTransfer, 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)
func (*ThixFilterer) WatchUnpaused ¶
func (_Thix *ThixFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *ThixUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
type ThixPaused ¶
type ThixPaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
ThixPaused represents a Paused event raised by the Thix contract.
type ThixPausedIterator ¶
type ThixPausedIterator struct { Event *ThixPaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ThixPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Thix contract.
func (*ThixPausedIterator) Close ¶
func (it *ThixPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ThixPausedIterator) Error ¶
func (it *ThixPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ThixPausedIterator) Next ¶
func (it *ThixPausedIterator) 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 ThixRaw ¶
type ThixRaw struct {
Contract *Thix // Generic contract binding to access the raw methods on
}
ThixRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ThixRaw) Call ¶
func (_Thix *ThixRaw) 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 (*ThixRaw) Transact ¶
func (_Thix *ThixRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ThixRaw) Transfer ¶
func (_Thix *ThixRaw) 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 ThixRoleAdminChanged ¶
type ThixRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
ThixRoleAdminChanged represents a RoleAdminChanged event raised by the Thix contract.
type ThixRoleAdminChangedIterator ¶
type ThixRoleAdminChangedIterator struct { Event *ThixRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ThixRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Thix contract.
func (*ThixRoleAdminChangedIterator) Close ¶
func (it *ThixRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ThixRoleAdminChangedIterator) Error ¶
func (it *ThixRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ThixRoleAdminChangedIterator) Next ¶
func (it *ThixRoleAdminChangedIterator) 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 ThixRoleGranted ¶
type ThixRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
ThixRoleGranted represents a RoleGranted event raised by the Thix contract.
type ThixRoleGrantedIterator ¶
type ThixRoleGrantedIterator struct { Event *ThixRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ThixRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Thix contract.
func (*ThixRoleGrantedIterator) Close ¶
func (it *ThixRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ThixRoleGrantedIterator) Error ¶
func (it *ThixRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ThixRoleGrantedIterator) Next ¶
func (it *ThixRoleGrantedIterator) 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 ThixRoleRevoked ¶
type ThixRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
ThixRoleRevoked represents a RoleRevoked event raised by the Thix contract.
type ThixRoleRevokedIterator ¶
type ThixRoleRevokedIterator struct { Event *ThixRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ThixRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Thix contract.
func (*ThixRoleRevokedIterator) Close ¶
func (it *ThixRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ThixRoleRevokedIterator) Error ¶
func (it *ThixRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ThixRoleRevokedIterator) Next ¶
func (it *ThixRoleRevokedIterator) 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 ThixSession ¶
type ThixSession struct { Contract *Thix // 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 }
ThixSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ThixSession) Allowance ¶
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*ThixSession) Approve ¶
func (_Thix *ThixSession) 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 (*ThixSession) ApproveAndCall ¶
func (_Thix *ThixSession) ApproveAndCall(spender common.Address, amount *big.Int) (*types.Transaction, error)
ApproveAndCall is a paid mutator transaction binding the contract method 0x3177029f.
Solidity: function approveAndCall(address spender, uint256 amount) returns(bool)
func (*ThixSession) ApproveAndCall0 ¶
func (_Thix *ThixSession) ApproveAndCall0(spender common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
ApproveAndCall0 is a paid mutator transaction binding the contract method 0xcae9ca51.
Solidity: function approveAndCall(address spender, uint256 amount, bytes data) returns(bool)
func (*ThixSession) BURNERROLE ¶
func (_Thix *ThixSession) BURNERROLE() ([32]byte, error)
BURNERROLE is a free data retrieval call binding the contract method 0x282c51f3.
Solidity: function BURNER_ROLE() view returns(bytes32)
func (*ThixSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ThixSession) Burn ¶
func (_Thix *ThixSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*ThixSession) BurnDelegated ¶
func (_Thix *ThixSession) BurnDelegated(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnDelegated is a paid mutator transaction binding the contract method 0x6c4b7c42.
Solidity: function burnDelegated(address account, uint256 amount) returns()
func (*ThixSession) BurnFrom ¶
func (_Thix *ThixSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*ThixSession) Checkpoints ¶
func (_Thix *ThixSession) 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 (*ThixSession) DEFAULTADMINROLE ¶
func (_Thix *ThixSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*ThixSession) DOMAINSEPARATOR ¶
func (_Thix *ThixSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*ThixSession) Decimals ¶
func (_Thix *ThixSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ThixSession) DecreaseAllowance ¶
func (_Thix *ThixSession) 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 (*ThixSession) Delegate ¶
func (_Thix *ThixSession) 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 (*ThixSession) DelegateBySig ¶
func (_Thix *ThixSession) 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 (*ThixSession) Delegates ¶
Delegates is a free data retrieval call binding the contract method 0x587cde1e.
Solidity: function delegates(address account) view returns(address)
func (*ThixSession) GetPastTotalSupply ¶
GetPastTotalSupply is a free data retrieval call binding the contract method 0x8e539e8c.
Solidity: function getPastTotalSupply(uint256 blockNumber) view returns(uint256)
func (*ThixSession) GetPastVotes ¶
func (_Thix *ThixSession) 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 (*ThixSession) GetRoleAdmin ¶
func (_Thix *ThixSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*ThixSession) GetVotes ¶
GetVotes is a free data retrieval call binding the contract method 0x9ab24eb0.
Solidity: function getVotes(address account) view returns(uint256)
func (*ThixSession) GrantRole ¶
func (_Thix *ThixSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*ThixSession) HasRole ¶
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*ThixSession) IncreaseAllowance ¶
func (_Thix *ThixSession) 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 (*ThixSession) Name ¶
func (_Thix *ThixSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ThixSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address owner) view returns(uint256)
func (*ThixSession) NumCheckpoints ¶
func (_Thix *ThixSession) 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 (*ThixSession) PAUSERROLE ¶
func (_Thix *ThixSession) PAUSERROLE() ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
func (*ThixSession) Pause ¶
func (_Thix *ThixSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*ThixSession) Paused ¶
func (_Thix *ThixSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*ThixSession) PayRewards ¶
func (_Thix *ThixSession) PayRewards(to common.Address, amount *big.Int) (*types.Transaction, error)
PayRewards is a paid mutator transaction binding the contract method 0x55189100.
Solidity: function payRewards(address to, uint256 amount) returns()
func (*ThixSession) PayRewardsAndCall ¶
func (_Thix *ThixSession) PayRewardsAndCall(to common.Address, amount *big.Int) (*types.Transaction, error)
PayRewardsAndCall is a paid mutator transaction binding the contract method 0x5557175f.
Solidity: function payRewardsAndCall(address to, uint256 amount) returns()
func (*ThixSession) PayRewardsAndCall0 ¶
func (_Thix *ThixSession) PayRewardsAndCall0(to common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
PayRewardsAndCall0 is a paid mutator transaction binding the contract method 0x5ab427fc.
Solidity: function payRewardsAndCall(address to, uint256 amount, bytes data) returns()
func (*ThixSession) Permit ¶
func (_Thix *ThixSession) 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 (*ThixSession) REWARDSCHEQUEPROCESSORROLE ¶
func (_Thix *ThixSession) REWARDSCHEQUEPROCESSORROLE() ([32]byte, error)
REWARDSCHEQUEPROCESSORROLE is a free data retrieval call binding the contract method 0x0181a0f4.
Solidity: function REWARDS_CHEQUE_PROCESSOR_ROLE() view returns(bytes32)
func (*ThixSession) RenounceRole ¶
func (_Thix *ThixSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*ThixSession) RevokeRole ¶
func (_Thix *ThixSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*ThixSession) SupportsInterface ¶
func (_Thix *ThixSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*ThixSession) Symbol ¶
func (_Thix *ThixSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ThixSession) TRUSTEDFORWARDERROLE ¶
func (_Thix *ThixSession) TRUSTEDFORWARDERROLE() ([32]byte, error)
TRUSTEDFORWARDERROLE is a free data retrieval call binding the contract method 0x00cba943.
Solidity: function TRUSTED_FORWARDER_ROLE() view returns(bytes32)
func (*ThixSession) TotalRewardsPaid ¶
TotalRewardsPaid is a free data retrieval call binding the contract method 0x6845ce1d.
Solidity: function totalRewardsPaid(address ) view returns(uint256)
func (*ThixSession) TotalSupply ¶
func (_Thix *ThixSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*ThixSession) Transfer ¶
func (_Thix *ThixSession) 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 (*ThixSession) TransferAndCall ¶
func (_Thix *ThixSession) TransferAndCall(to common.Address, amount *big.Int) (*types.Transaction, error)
TransferAndCall is a paid mutator transaction binding the contract method 0x1296ee62.
Solidity: function transferAndCall(address to, uint256 amount) returns(bool)
func (*ThixSession) TransferAndCall0 ¶
func (_Thix *ThixSession) TransferAndCall0(to common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
TransferAndCall0 is a paid mutator transaction binding the contract method 0x4000aea0.
Solidity: function transferAndCall(address to, uint256 amount, bytes data) returns(bool)
func (*ThixSession) TransferFrom ¶
func (_Thix *ThixSession) 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 (*ThixSession) TransferFromAndCall ¶
func (_Thix *ThixSession) TransferFromAndCall(from common.Address, to common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
TransferFromAndCall is a paid mutator transaction binding the contract method 0xc1d34b89.
Solidity: function transferFromAndCall(address from, address to, uint256 amount, bytes data) returns(bool)
func (*ThixSession) TransferFromAndCall0 ¶
func (_Thix *ThixSession) TransferFromAndCall0(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFromAndCall0 is a paid mutator transaction binding the contract method 0xd8fbe994.
Solidity: function transferFromAndCall(address from, address to, uint256 amount) returns(bool)
func (*ThixSession) UNPAUSERROLE ¶
func (_Thix *ThixSession) UNPAUSERROLE() ([32]byte, error)
UNPAUSERROLE is a free data retrieval call binding the contract method 0xfb1bb9de.
Solidity: function UNPAUSER_ROLE() view returns(bytes32)
func (*ThixSession) Unpause ¶
func (_Thix *ThixSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type ThixTransactor ¶
type ThixTransactor struct {
// contains filtered or unexported fields
}
ThixTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewThixTransactor ¶
func NewThixTransactor(address common.Address, transactor bind.ContractTransactor) (*ThixTransactor, error)
NewThixTransactor creates a new write-only instance of Thix, bound to a specific deployed contract.
func (*ThixTransactor) Approve ¶
func (_Thix *ThixTransactor) 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 (*ThixTransactor) ApproveAndCall ¶
func (_Thix *ThixTransactor) ApproveAndCall(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
ApproveAndCall is a paid mutator transaction binding the contract method 0x3177029f.
Solidity: function approveAndCall(address spender, uint256 amount) returns(bool)
func (*ThixTransactor) ApproveAndCall0 ¶
func (_Thix *ThixTransactor) ApproveAndCall0(opts *bind.TransactOpts, spender common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
ApproveAndCall0 is a paid mutator transaction binding the contract method 0xcae9ca51.
Solidity: function approveAndCall(address spender, uint256 amount, bytes data) returns(bool)
func (*ThixTransactor) Burn ¶
func (_Thix *ThixTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*ThixTransactor) BurnDelegated ¶
func (_Thix *ThixTransactor) BurnDelegated(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
BurnDelegated is a paid mutator transaction binding the contract method 0x6c4b7c42.
Solidity: function burnDelegated(address account, uint256 amount) returns()
func (*ThixTransactor) BurnFrom ¶
func (_Thix *ThixTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*ThixTransactor) DecreaseAllowance ¶
func (_Thix *ThixTransactor) 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 (*ThixTransactor) Delegate ¶
func (_Thix *ThixTransactor) 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 (*ThixTransactor) DelegateBySig ¶
func (_Thix *ThixTransactor) 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 (*ThixTransactor) GrantRole ¶
func (_Thix *ThixTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*ThixTransactor) IncreaseAllowance ¶
func (_Thix *ThixTransactor) 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 (*ThixTransactor) Pause ¶
func (_Thix *ThixTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*ThixTransactor) PayRewards ¶
func (_Thix *ThixTransactor) PayRewards(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
PayRewards is a paid mutator transaction binding the contract method 0x55189100.
Solidity: function payRewards(address to, uint256 amount) returns()
func (*ThixTransactor) PayRewardsAndCall ¶
func (_Thix *ThixTransactor) PayRewardsAndCall(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
PayRewardsAndCall is a paid mutator transaction binding the contract method 0x5557175f.
Solidity: function payRewardsAndCall(address to, uint256 amount) returns()
func (*ThixTransactor) PayRewardsAndCall0 ¶
func (_Thix *ThixTransactor) PayRewardsAndCall0(opts *bind.TransactOpts, to common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
PayRewardsAndCall0 is a paid mutator transaction binding the contract method 0x5ab427fc.
Solidity: function payRewardsAndCall(address to, uint256 amount, bytes data) returns()
func (*ThixTransactor) Permit ¶
func (_Thix *ThixTransactor) 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 (*ThixTransactor) RenounceRole ¶
func (_Thix *ThixTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*ThixTransactor) RevokeRole ¶
func (_Thix *ThixTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*ThixTransactor) Transfer ¶
func (_Thix *ThixTransactor) 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 (*ThixTransactor) TransferAndCall ¶
func (_Thix *ThixTransactor) TransferAndCall(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferAndCall is a paid mutator transaction binding the contract method 0x1296ee62.
Solidity: function transferAndCall(address to, uint256 amount) returns(bool)
func (*ThixTransactor) TransferAndCall0 ¶
func (_Thix *ThixTransactor) TransferAndCall0(opts *bind.TransactOpts, to common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
TransferAndCall0 is a paid mutator transaction binding the contract method 0x4000aea0.
Solidity: function transferAndCall(address to, uint256 amount, bytes data) returns(bool)
func (*ThixTransactor) TransferFrom ¶
func (_Thix *ThixTransactor) 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 (*ThixTransactor) TransferFromAndCall ¶
func (_Thix *ThixTransactor) TransferFromAndCall(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
TransferFromAndCall is a paid mutator transaction binding the contract method 0xc1d34b89.
Solidity: function transferFromAndCall(address from, address to, uint256 amount, bytes data) returns(bool)
func (*ThixTransactor) TransferFromAndCall0 ¶
func (_Thix *ThixTransactor) TransferFromAndCall0(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFromAndCall0 is a paid mutator transaction binding the contract method 0xd8fbe994.
Solidity: function transferFromAndCall(address from, address to, uint256 amount) returns(bool)
func (*ThixTransactor) Unpause ¶
func (_Thix *ThixTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type ThixTransactorRaw ¶
type ThixTransactorRaw struct {
Contract *ThixTransactor // Generic write-only contract binding to access the raw methods on
}
ThixTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ThixTransactorRaw) Transact ¶
func (_Thix *ThixTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ThixTransactorRaw) Transfer ¶
func (_Thix *ThixTransactorRaw) 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 ThixTransactorSession ¶
type ThixTransactorSession struct { Contract *ThixTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ThixTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ThixTransactorSession) Approve ¶
func (_Thix *ThixTransactorSession) 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 (*ThixTransactorSession) ApproveAndCall ¶
func (_Thix *ThixTransactorSession) ApproveAndCall(spender common.Address, amount *big.Int) (*types.Transaction, error)
ApproveAndCall is a paid mutator transaction binding the contract method 0x3177029f.
Solidity: function approveAndCall(address spender, uint256 amount) returns(bool)
func (*ThixTransactorSession) ApproveAndCall0 ¶
func (_Thix *ThixTransactorSession) ApproveAndCall0(spender common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
ApproveAndCall0 is a paid mutator transaction binding the contract method 0xcae9ca51.
Solidity: function approveAndCall(address spender, uint256 amount, bytes data) returns(bool)
func (*ThixTransactorSession) Burn ¶
func (_Thix *ThixTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*ThixTransactorSession) BurnDelegated ¶
func (_Thix *ThixTransactorSession) BurnDelegated(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnDelegated is a paid mutator transaction binding the contract method 0x6c4b7c42.
Solidity: function burnDelegated(address account, uint256 amount) returns()
func (*ThixTransactorSession) BurnFrom ¶
func (_Thix *ThixTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*ThixTransactorSession) DecreaseAllowance ¶
func (_Thix *ThixTransactorSession) 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 (*ThixTransactorSession) Delegate ¶
func (_Thix *ThixTransactorSession) 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 (*ThixTransactorSession) DelegateBySig ¶
func (_Thix *ThixTransactorSession) 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 (*ThixTransactorSession) GrantRole ¶
func (_Thix *ThixTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*ThixTransactorSession) IncreaseAllowance ¶
func (_Thix *ThixTransactorSession) 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 (*ThixTransactorSession) Pause ¶
func (_Thix *ThixTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*ThixTransactorSession) PayRewards ¶
func (_Thix *ThixTransactorSession) PayRewards(to common.Address, amount *big.Int) (*types.Transaction, error)
PayRewards is a paid mutator transaction binding the contract method 0x55189100.
Solidity: function payRewards(address to, uint256 amount) returns()
func (*ThixTransactorSession) PayRewardsAndCall ¶
func (_Thix *ThixTransactorSession) PayRewardsAndCall(to common.Address, amount *big.Int) (*types.Transaction, error)
PayRewardsAndCall is a paid mutator transaction binding the contract method 0x5557175f.
Solidity: function payRewardsAndCall(address to, uint256 amount) returns()
func (*ThixTransactorSession) PayRewardsAndCall0 ¶
func (_Thix *ThixTransactorSession) PayRewardsAndCall0(to common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
PayRewardsAndCall0 is a paid mutator transaction binding the contract method 0x5ab427fc.
Solidity: function payRewardsAndCall(address to, uint256 amount, bytes data) returns()
func (*ThixTransactorSession) Permit ¶
func (_Thix *ThixTransactorSession) 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 (*ThixTransactorSession) RenounceRole ¶
func (_Thix *ThixTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*ThixTransactorSession) RevokeRole ¶
func (_Thix *ThixTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*ThixTransactorSession) Transfer ¶
func (_Thix *ThixTransactorSession) 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 (*ThixTransactorSession) TransferAndCall ¶
func (_Thix *ThixTransactorSession) TransferAndCall(to common.Address, amount *big.Int) (*types.Transaction, error)
TransferAndCall is a paid mutator transaction binding the contract method 0x1296ee62.
Solidity: function transferAndCall(address to, uint256 amount) returns(bool)
func (*ThixTransactorSession) TransferAndCall0 ¶
func (_Thix *ThixTransactorSession) TransferAndCall0(to common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
TransferAndCall0 is a paid mutator transaction binding the contract method 0x4000aea0.
Solidity: function transferAndCall(address to, uint256 amount, bytes data) returns(bool)
func (*ThixTransactorSession) TransferFrom ¶
func (_Thix *ThixTransactorSession) 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 (*ThixTransactorSession) TransferFromAndCall ¶
func (_Thix *ThixTransactorSession) TransferFromAndCall(from common.Address, to common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
TransferFromAndCall is a paid mutator transaction binding the contract method 0xc1d34b89.
Solidity: function transferFromAndCall(address from, address to, uint256 amount, bytes data) returns(bool)
func (*ThixTransactorSession) TransferFromAndCall0 ¶
func (_Thix *ThixTransactorSession) TransferFromAndCall0(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFromAndCall0 is a paid mutator transaction binding the contract method 0xd8fbe994.
Solidity: function transferFromAndCall(address from, address to, uint256 amount) returns(bool)
func (*ThixTransactorSession) Unpause ¶
func (_Thix *ThixTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type ThixTransfer ¶
type ThixTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ThixTransfer represents a Transfer event raised by the Thix contract.
type ThixTransferIterator ¶
type ThixTransferIterator struct { Event *ThixTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ThixTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Thix contract.
func (*ThixTransferIterator) Close ¶
func (it *ThixTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ThixTransferIterator) Error ¶
func (it *ThixTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ThixTransferIterator) Next ¶
func (it *ThixTransferIterator) 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 ThixUnpaused ¶
type ThixUnpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
ThixUnpaused represents a Unpaused event raised by the Thix contract.
type ThixUnpausedIterator ¶
type ThixUnpausedIterator struct { Event *ThixUnpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ThixUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Thix contract.
func (*ThixUnpausedIterator) Close ¶
func (it *ThixUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ThixUnpausedIterator) Error ¶
func (it *ThixUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ThixUnpausedIterator) Next ¶
func (it *ThixUnpausedIterator) 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.