huntergovernancetoken

package
v1.0.0-9 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HuntergovernancetokenABI = HuntergovernancetokenMetaData.ABI

HuntergovernancetokenABI is the input ABI used to generate the binding from. Deprecated: Use HuntergovernancetokenMetaData.ABI instead.

View Source
var HuntergovernancetokenMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_premintReceiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_premintAmount\",\"type\":\"uint256\"}],\"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\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"OPERATOR_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SUPPLY_CAP\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"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\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"status\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

HuntergovernancetokenMetaData contains all meta data concerning the Huntergovernancetoken contract.

Functions

This section is empty.

Types

type Huntergovernancetoken

type Huntergovernancetoken struct {
	HuntergovernancetokenCaller     // Read-only binding to the contract
	HuntergovernancetokenTransactor // Write-only binding to the contract
	HuntergovernancetokenFilterer   // Log filterer for contract events
}

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

func NewHuntergovernancetoken

func NewHuntergovernancetoken(address common.Address, backend bind.ContractBackend) (*Huntergovernancetoken, error)

NewHuntergovernancetoken creates a new instance of Huntergovernancetoken, bound to a specific deployed contract.

type HuntergovernancetokenApproval

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

HuntergovernancetokenApproval represents a Approval event raised by the Huntergovernancetoken contract.

type HuntergovernancetokenApprovalIterator

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

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

func (*HuntergovernancetokenApprovalIterator) Close

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

func (*HuntergovernancetokenApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HuntergovernancetokenApprovalIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type HuntergovernancetokenCaller

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

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

func NewHuntergovernancetokenCaller

func NewHuntergovernancetokenCaller(address common.Address, caller bind.ContractCaller) (*HuntergovernancetokenCaller, error)

NewHuntergovernancetokenCaller creates a new read-only instance of Huntergovernancetoken, bound to a specific deployed contract.

func (*HuntergovernancetokenCaller) Allowance

func (_Huntergovernancetoken *HuntergovernancetokenCaller) 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 (*HuntergovernancetokenCaller) BalanceOf

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

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

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

func (*HuntergovernancetokenCaller) Decimals

func (_Huntergovernancetoken *HuntergovernancetokenCaller) 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 (*HuntergovernancetokenCaller) Name

func (_Huntergovernancetoken *HuntergovernancetokenCaller) 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 (*HuntergovernancetokenCaller) OPERATORROLE

func (_Huntergovernancetoken *HuntergovernancetokenCaller) OPERATORROLE(opts *bind.CallOpts) ([32]byte, error)

OPERATORROLE is a free data retrieval call binding the contract method 0xf5b541a6.

Solidity: function OPERATOR_ROLE() view returns(bytes32)

func (*HuntergovernancetokenCaller) Owner

func (_Huntergovernancetoken *HuntergovernancetokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*HuntergovernancetokenCaller) SUPPLYCAP

func (_Huntergovernancetoken *HuntergovernancetokenCaller) SUPPLYCAP(opts *bind.CallOpts) (*big.Int, error)

SUPPLYCAP is a free data retrieval call binding the contract method 0x0cfccc83.

Solidity: function SUPPLY_CAP() pure returns(uint256)

func (*HuntergovernancetokenCaller) Symbol

func (_Huntergovernancetoken *HuntergovernancetokenCaller) 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 (*HuntergovernancetokenCaller) TotalSupply

func (_Huntergovernancetoken *HuntergovernancetokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type HuntergovernancetokenCallerRaw

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

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

func (*HuntergovernancetokenCallerRaw) Call

func (_Huntergovernancetoken *HuntergovernancetokenCallerRaw) 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 HuntergovernancetokenCallerSession

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

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

func (*HuntergovernancetokenCallerSession) Allowance

func (_Huntergovernancetoken *HuntergovernancetokenCallerSession) 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 (*HuntergovernancetokenCallerSession) BalanceOf

func (_Huntergovernancetoken *HuntergovernancetokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*HuntergovernancetokenCallerSession) Decimals

func (_Huntergovernancetoken *HuntergovernancetokenCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*HuntergovernancetokenCallerSession) Name

func (_Huntergovernancetoken *HuntergovernancetokenCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*HuntergovernancetokenCallerSession) OPERATORROLE

func (_Huntergovernancetoken *HuntergovernancetokenCallerSession) OPERATORROLE() ([32]byte, error)

OPERATORROLE is a free data retrieval call binding the contract method 0xf5b541a6.

Solidity: function OPERATOR_ROLE() view returns(bytes32)

func (*HuntergovernancetokenCallerSession) Owner

func (_Huntergovernancetoken *HuntergovernancetokenCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*HuntergovernancetokenCallerSession) SUPPLYCAP

func (_Huntergovernancetoken *HuntergovernancetokenCallerSession) SUPPLYCAP() (*big.Int, error)

SUPPLYCAP is a free data retrieval call binding the contract method 0x0cfccc83.

Solidity: function SUPPLY_CAP() pure returns(uint256)

func (*HuntergovernancetokenCallerSession) Symbol

func (_Huntergovernancetoken *HuntergovernancetokenCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*HuntergovernancetokenCallerSession) TotalSupply

func (_Huntergovernancetoken *HuntergovernancetokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type HuntergovernancetokenFilterer

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

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

func NewHuntergovernancetokenFilterer

func NewHuntergovernancetokenFilterer(address common.Address, filterer bind.ContractFilterer) (*HuntergovernancetokenFilterer, error)

NewHuntergovernancetokenFilterer creates a new log filterer instance of Huntergovernancetoken, bound to a specific deployed contract.

func (*HuntergovernancetokenFilterer) FilterApproval

func (_Huntergovernancetoken *HuntergovernancetokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*HuntergovernancetokenApprovalIterator, 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 (*HuntergovernancetokenFilterer) FilterOwnershipTransferred

func (_Huntergovernancetoken *HuntergovernancetokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*HuntergovernancetokenOwnershipTransferredIterator, error)

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

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

func (*HuntergovernancetokenFilterer) FilterTransfer

func (_Huntergovernancetoken *HuntergovernancetokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*HuntergovernancetokenTransferIterator, 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 (*HuntergovernancetokenFilterer) ParseApproval

func (_Huntergovernancetoken *HuntergovernancetokenFilterer) ParseApproval(log types.Log) (*HuntergovernancetokenApproval, error)

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

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

func (*HuntergovernancetokenFilterer) ParseOwnershipTransferred

func (_Huntergovernancetoken *HuntergovernancetokenFilterer) ParseOwnershipTransferred(log types.Log) (*HuntergovernancetokenOwnershipTransferred, error)

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

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

func (*HuntergovernancetokenFilterer) ParseTransfer

func (_Huntergovernancetoken *HuntergovernancetokenFilterer) ParseTransfer(log types.Log) (*HuntergovernancetokenTransfer, error)

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

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

func (*HuntergovernancetokenFilterer) WatchApproval

func (_Huntergovernancetoken *HuntergovernancetokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *HuntergovernancetokenApproval, 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 (*HuntergovernancetokenFilterer) WatchOwnershipTransferred

func (_Huntergovernancetoken *HuntergovernancetokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *HuntergovernancetokenOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

func (*HuntergovernancetokenFilterer) WatchTransfer

func (_Huntergovernancetoken *HuntergovernancetokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *HuntergovernancetokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

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

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

type HuntergovernancetokenOwnershipTransferred

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

HuntergovernancetokenOwnershipTransferred represents a OwnershipTransferred event raised by the Huntergovernancetoken contract.

type HuntergovernancetokenOwnershipTransferredIterator

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

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

func (*HuntergovernancetokenOwnershipTransferredIterator) Close

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

func (*HuntergovernancetokenOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HuntergovernancetokenOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type HuntergovernancetokenRaw

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

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

func (*HuntergovernancetokenRaw) Call

func (_Huntergovernancetoken *HuntergovernancetokenRaw) 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 (*HuntergovernancetokenRaw) Transact

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

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

func (*HuntergovernancetokenRaw) Transfer

func (_Huntergovernancetoken *HuntergovernancetokenRaw) 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 HuntergovernancetokenSession

type HuntergovernancetokenSession struct {
	Contract     *Huntergovernancetoken // 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
}

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

func (*HuntergovernancetokenSession) Allowance

func (_Huntergovernancetoken *HuntergovernancetokenSession) 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 (*HuntergovernancetokenSession) Approve

func (_Huntergovernancetoken *HuntergovernancetokenSession) 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 (*HuntergovernancetokenSession) BalanceOf

func (_Huntergovernancetoken *HuntergovernancetokenSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*HuntergovernancetokenSession) Decimals

func (_Huntergovernancetoken *HuntergovernancetokenSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*HuntergovernancetokenSession) DecreaseAllowance

func (_Huntergovernancetoken *HuntergovernancetokenSession) 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 (*HuntergovernancetokenSession) IncreaseAllowance

func (_Huntergovernancetoken *HuntergovernancetokenSession) 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 (*HuntergovernancetokenSession) Mint

func (_Huntergovernancetoken *HuntergovernancetokenSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address account, uint256 amount) returns(bool status)

func (*HuntergovernancetokenSession) Name

func (_Huntergovernancetoken *HuntergovernancetokenSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*HuntergovernancetokenSession) OPERATORROLE

func (_Huntergovernancetoken *HuntergovernancetokenSession) OPERATORROLE() ([32]byte, error)

OPERATORROLE is a free data retrieval call binding the contract method 0xf5b541a6.

Solidity: function OPERATOR_ROLE() view returns(bytes32)

func (*HuntergovernancetokenSession) Owner

func (_Huntergovernancetoken *HuntergovernancetokenSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*HuntergovernancetokenSession) RenounceOwnership

func (_Huntergovernancetoken *HuntergovernancetokenSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*HuntergovernancetokenSession) SUPPLYCAP

func (_Huntergovernancetoken *HuntergovernancetokenSession) SUPPLYCAP() (*big.Int, error)

SUPPLYCAP is a free data retrieval call binding the contract method 0x0cfccc83.

Solidity: function SUPPLY_CAP() pure returns(uint256)

func (*HuntergovernancetokenSession) Symbol

func (_Huntergovernancetoken *HuntergovernancetokenSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*HuntergovernancetokenSession) TotalSupply

func (_Huntergovernancetoken *HuntergovernancetokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*HuntergovernancetokenSession) Transfer

func (_Huntergovernancetoken *HuntergovernancetokenSession) 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 (*HuntergovernancetokenSession) TransferFrom

func (_Huntergovernancetoken *HuntergovernancetokenSession) 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 (*HuntergovernancetokenSession) TransferOwnership

func (_Huntergovernancetoken *HuntergovernancetokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type HuntergovernancetokenTransactor

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

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

func NewHuntergovernancetokenTransactor

func NewHuntergovernancetokenTransactor(address common.Address, transactor bind.ContractTransactor) (*HuntergovernancetokenTransactor, error)

NewHuntergovernancetokenTransactor creates a new write-only instance of Huntergovernancetoken, bound to a specific deployed contract.

func (*HuntergovernancetokenTransactor) Approve

func (_Huntergovernancetoken *HuntergovernancetokenTransactor) 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 (*HuntergovernancetokenTransactor) DecreaseAllowance

func (_Huntergovernancetoken *HuntergovernancetokenTransactor) 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 (*HuntergovernancetokenTransactor) IncreaseAllowance

func (_Huntergovernancetoken *HuntergovernancetokenTransactor) 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 (*HuntergovernancetokenTransactor) Mint

func (_Huntergovernancetoken *HuntergovernancetokenTransactor) Mint(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address account, uint256 amount) returns(bool status)

func (*HuntergovernancetokenTransactor) RenounceOwnership

func (_Huntergovernancetoken *HuntergovernancetokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*HuntergovernancetokenTransactor) Transfer

func (_Huntergovernancetoken *HuntergovernancetokenTransactor) 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 (*HuntergovernancetokenTransactor) TransferFrom

func (_Huntergovernancetoken *HuntergovernancetokenTransactor) 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 (*HuntergovernancetokenTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

type HuntergovernancetokenTransactorRaw

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

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

func (*HuntergovernancetokenTransactorRaw) Transact

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

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

func (*HuntergovernancetokenTransactorRaw) Transfer

func (_Huntergovernancetoken *HuntergovernancetokenTransactorRaw) 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 HuntergovernancetokenTransactorSession

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

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

func (*HuntergovernancetokenTransactorSession) Approve

func (_Huntergovernancetoken *HuntergovernancetokenTransactorSession) 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 (*HuntergovernancetokenTransactorSession) DecreaseAllowance

func (_Huntergovernancetoken *HuntergovernancetokenTransactorSession) 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 (*HuntergovernancetokenTransactorSession) IncreaseAllowance

func (_Huntergovernancetoken *HuntergovernancetokenTransactorSession) 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 (*HuntergovernancetokenTransactorSession) Mint

func (_Huntergovernancetoken *HuntergovernancetokenTransactorSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address account, uint256 amount) returns(bool status)

func (*HuntergovernancetokenTransactorSession) RenounceOwnership

func (_Huntergovernancetoken *HuntergovernancetokenTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*HuntergovernancetokenTransactorSession) Transfer

func (_Huntergovernancetoken *HuntergovernancetokenTransactorSession) 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 (*HuntergovernancetokenTransactorSession) TransferFrom

func (_Huntergovernancetoken *HuntergovernancetokenTransactorSession) 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 (*HuntergovernancetokenTransactorSession) TransferOwnership

func (_Huntergovernancetoken *HuntergovernancetokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type HuntergovernancetokenTransfer

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

HuntergovernancetokenTransfer represents a Transfer event raised by the Huntergovernancetoken contract.

type HuntergovernancetokenTransferIterator

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

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

func (*HuntergovernancetokenTransferIterator) Close

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

func (*HuntergovernancetokenTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HuntergovernancetokenTransferIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

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