Documentation
¶
Index ¶
- Constants
- Variables
- type Contract
- type ContractApproval
- type ContractApprovalIterator
- type ContractCaller
- func (_Contract *ContractCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_Contract *ContractCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_Contract *ContractCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_Contract *ContractCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Contract *ContractCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Contract *ContractCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_Contract *ContractCaller) StakeOf(opts *bind.CallOpts, _stakeholder common.Address) (*big.Int, error)
- func (_Contract *ContractCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Contract *ContractCaller) TotalStakers(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) TotalStakes(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type ContractCallerRaw
- type ContractCallerSession
- func (_Contract *ContractCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Contract *ContractCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Contract *ContractCallerSession) Decimals() (uint8, error)
- func (_Contract *ContractCallerSession) Name() (string, error)
- func (_Contract *ContractCallerSession) Owner() (common.Address, error)
- func (_Contract *ContractCallerSession) Paused() (bool, error)
- func (_Contract *ContractCallerSession) StakeOf(_stakeholder common.Address) (*big.Int, error)
- func (_Contract *ContractCallerSession) Symbol() (string, error)
- func (_Contract *ContractCallerSession) TotalStakers() (*big.Int, error)
- func (_Contract *ContractCallerSession) TotalStakes() (*big.Int, error)
- func (_Contract *ContractCallerSession) TotalSupply() (*big.Int, error)
- type ContractFilterer
- func (_Contract *ContractFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ContractApprovalIterator, error)
- func (_Contract *ContractFilterer) FilterInitialized(opts *bind.FilterOpts) (*ContractInitializedIterator, error)
- func (_Contract *ContractFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ContractOwnershipTransferredIterator, error)
- func (_Contract *ContractFilterer) FilterPaused(opts *bind.FilterOpts) (*ContractPausedIterator, error)
- func (_Contract *ContractFilterer) FilterStake(opts *bind.FilterOpts) (*ContractStakeIterator, error)
- func (_Contract *ContractFilterer) FilterTATHistory(opts *bind.FilterOpts) (*ContractTATHistoryIterator, error)
- func (_Contract *ContractFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ContractTransferIterator, error)
- func (_Contract *ContractFilterer) FilterUnpaused(opts *bind.FilterOpts) (*ContractUnpausedIterator, error)
- func (_Contract *ContractFilterer) FilterWithdraw(opts *bind.FilterOpts) (*ContractWithdrawIterator, error)
- func (_Contract *ContractFilterer) ParseApproval(log types.Log) (*ContractApproval, error)
- func (_Contract *ContractFilterer) ParseInitialized(log types.Log) (*ContractInitialized, error)
- func (_Contract *ContractFilterer) ParseOwnershipTransferred(log types.Log) (*ContractOwnershipTransferred, error)
- func (_Contract *ContractFilterer) ParsePaused(log types.Log) (*ContractPaused, error)
- func (_Contract *ContractFilterer) ParseStake(log types.Log) (*ContractStake, error)
- func (_Contract *ContractFilterer) ParseTATHistory(log types.Log) (*ContractTATHistory, error)
- func (_Contract *ContractFilterer) ParseTransfer(log types.Log) (*ContractTransfer, error)
- func (_Contract *ContractFilterer) ParseUnpaused(log types.Log) (*ContractUnpaused, error)
- func (_Contract *ContractFilterer) ParseWithdraw(log types.Log) (*ContractWithdraw, error)
- func (_Contract *ContractFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ContractApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ContractInitialized) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ContractOwnershipTransferred, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *ContractPaused) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchStake(opts *bind.WatchOpts, sink chan<- *ContractStake) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchTATHistory(opts *bind.WatchOpts, sink chan<- *ContractTATHistory) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ContractTransfer, from []common.Address, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *ContractUnpaused) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *ContractWithdraw) (event.Subscription, error)
- type ContractInitialized
- type ContractInitializedIterator
- type ContractOwnershipTransferred
- type ContractOwnershipTransferredIterator
- type ContractPaused
- type ContractPausedIterator
- type ContractRaw
- func (_Contract *ContractRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Contract *ContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Contract *ContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ContractSession
- func (_Contract *ContractSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Contract *ContractSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Contract *ContractSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) Burn0(_treasureKind string, tokens *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) Decimals() (uint8, error)
- func (_Contract *ContractSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) Faucet(user common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) Initialize(_name string, _symbol string, _governanceContract common.Address) (*types.Transaction, error)
- func (_Contract *ContractSession) Mint(_treasureKind string, _uniqueId [32]byte, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) Name() (string, error)
- func (_Contract *ContractSession) Owner() (common.Address, error)
- func (_Contract *ContractSession) Pause() (*types.Transaction, error)
- func (_Contract *ContractSession) Paused() (bool, error)
- func (_Contract *ContractSession) RenounceOwnership() (*types.Transaction, error)
- func (_Contract *ContractSession) Stake(account common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) StakeOf(_stakeholder common.Address) (*big.Int, error)
- func (_Contract *ContractSession) Symbol() (string, error)
- func (_Contract *ContractSession) TotalStakers() (*big.Int, error)
- func (_Contract *ContractSession) TotalStakes() (*big.Int, error)
- func (_Contract *ContractSession) TotalSupply() (*big.Int, error)
- func (_Contract *ContractSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Contract *ContractSession) Unpause() (*types.Transaction, error)
- func (_Contract *ContractSession) Withdraw(account common.Address, _amount *big.Int) (*types.Transaction, error)
- type ContractStake
- type ContractStakeIterator
- type ContractTATHistory
- type ContractTATHistoryIterator
- type ContractTransactor
- func (_Contract *ContractTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) Burn0(opts *bind.TransactOpts, _treasureKind string, tokens *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) Faucet(opts *bind.TransactOpts, user common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) Initialize(opts *bind.TransactOpts, _name string, _symbol string, ...) (*types.Transaction, error)
- func (_Contract *ContractTransactor) Mint(opts *bind.TransactOpts, _treasureKind string, _uniqueId [32]byte, ...) (*types.Transaction, error)
- func (_Contract *ContractTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Contract *ContractTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Contract *ContractTransactor) Stake(opts *bind.TransactOpts, account common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Contract *ContractTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Contract *ContractTransactor) Withdraw(opts *bind.TransactOpts, account common.Address, _amount *big.Int) (*types.Transaction, error)
- type ContractTransactorRaw
- type ContractTransactorSession
- func (_Contract *ContractTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) Burn0(_treasureKind string, tokens *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) Faucet(user common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) Initialize(_name string, _symbol string, _governanceContract common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) Mint(_treasureKind string, _uniqueId [32]byte, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) Pause() (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) Stake(account common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) Unpause() (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) Withdraw(account common.Address, _amount *big.Int) (*types.Transaction, error)
- type ContractTransfer
- type ContractTransferIterator
- type ContractUnpaused
- type ContractUnpausedIterator
- type ContractWithdraw
- type ContractWithdrawIterator
Constants ¶
const ContractABI = "" /* 8976-byte string literal not displayed */
ContractABI is the input ABI used to generate the binding from.
Variables ¶
var ContractBin = "" /* 29274-byte string literal not displayed */
ContractBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type Contract ¶
type Contract struct { ContractCaller // Read-only binding to the contract ContractTransactor // Write-only binding to the contract ContractFilterer // Log filterer for contract events }
Contract is an auto generated Go binding around an Ethereum contract.
func DeployContract ¶
func DeployContract(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Contract, error)
DeployContract deploys a new Ethereum contract, binding an instance of Contract to it.
func NewContract ¶
NewContract creates a new instance of Contract, bound to a specific deployed contract.
type ContractApproval ¶
type ContractApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractApproval represents a Approval event raised by the Contract contract.
type ContractApprovalIterator ¶
type ContractApprovalIterator struct { Event *ContractApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Contract contract.
func (*ContractApprovalIterator) Close ¶
func (it *ContractApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractApprovalIterator) Error ¶
func (it *ContractApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractApprovalIterator) Next ¶
func (it *ContractApprovalIterator) 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 ContractCaller ¶
type ContractCaller struct {
// contains filtered or unexported fields
}
ContractCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewContractCaller ¶
func NewContractCaller(address common.Address, caller bind.ContractCaller) (*ContractCaller, error)
NewContractCaller creates a new read-only instance of Contract, bound to a specific deployed contract.
func (*ContractCaller) Allowance ¶
func (_Contract *ContractCaller) 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 (*ContractCaller) BalanceOf ¶
func (_Contract *ContractCaller) 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 (*ContractCaller) Decimals ¶
func (_Contract *ContractCaller) 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 (*ContractCaller) Name ¶
func (_Contract *ContractCaller) 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 (*ContractCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ContractCaller) Paused ¶
func (_Contract *ContractCaller) 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 (*ContractCaller) StakeOf ¶
func (_Contract *ContractCaller) StakeOf(opts *bind.CallOpts, _stakeholder common.Address) (*big.Int, error)
StakeOf is a free data retrieval call binding the contract method 0x42623360.
Solidity: function stakeOf(address _stakeholder) view returns(uint256)
func (*ContractCaller) Symbol ¶
func (_Contract *ContractCaller) 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 (*ContractCaller) TotalStakers ¶
TotalStakers is a free data retrieval call binding the contract method 0x86989038.
Solidity: function totalStakers() view returns(uint256)
func (*ContractCaller) TotalStakes ¶
TotalStakes is a free data retrieval call binding the contract method 0xbf9befb1.
Solidity: function totalStakes() view returns(uint256)
func (*ContractCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ContractCallerRaw ¶
type ContractCallerRaw struct {
Contract *ContractCaller // Generic read-only contract binding to access the raw methods on
}
ContractCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ContractCallerRaw) Call ¶
func (_Contract *ContractCallerRaw) 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 ContractCallerSession ¶
type ContractCallerSession struct { Contract *ContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ContractCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ContractCallerSession) Allowance ¶
func (_Contract *ContractCallerSession) 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 (*ContractCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ContractCallerSession) Decimals ¶
func (_Contract *ContractCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ContractCallerSession) Name ¶
func (_Contract *ContractCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ContractCallerSession) Owner ¶
func (_Contract *ContractCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ContractCallerSession) Paused ¶
func (_Contract *ContractCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*ContractCallerSession) StakeOf ¶
StakeOf is a free data retrieval call binding the contract method 0x42623360.
Solidity: function stakeOf(address _stakeholder) view returns(uint256)
func (*ContractCallerSession) Symbol ¶
func (_Contract *ContractCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ContractCallerSession) TotalStakers ¶
func (_Contract *ContractCallerSession) TotalStakers() (*big.Int, error)
TotalStakers is a free data retrieval call binding the contract method 0x86989038.
Solidity: function totalStakers() view returns(uint256)
func (*ContractCallerSession) TotalStakes ¶
func (_Contract *ContractCallerSession) TotalStakes() (*big.Int, error)
TotalStakes is a free data retrieval call binding the contract method 0xbf9befb1.
Solidity: function totalStakes() view returns(uint256)
func (*ContractCallerSession) TotalSupply ¶
func (_Contract *ContractCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ContractFilterer ¶
type ContractFilterer struct {
// contains filtered or unexported fields
}
ContractFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewContractFilterer ¶
func NewContractFilterer(address common.Address, filterer bind.ContractFilterer) (*ContractFilterer, error)
NewContractFilterer creates a new log filterer instance of Contract, bound to a specific deployed contract.
func (*ContractFilterer) FilterApproval ¶
func (_Contract *ContractFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ContractApprovalIterator, 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 (*ContractFilterer) FilterInitialized ¶
func (_Contract *ContractFilterer) FilterInitialized(opts *bind.FilterOpts) (*ContractInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ContractFilterer) FilterOwnershipTransferred ¶
func (_Contract *ContractFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ContractOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ContractFilterer) FilterPaused ¶
func (_Contract *ContractFilterer) FilterPaused(opts *bind.FilterOpts) (*ContractPausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*ContractFilterer) FilterStake ¶
func (_Contract *ContractFilterer) FilterStake(opts *bind.FilterOpts) (*ContractStakeIterator, error)
FilterStake is a free log retrieval operation binding the contract event 0xebedb8b3c678666e7f36970bc8f57abf6d8fa2e828c0da91ea5b75bf68ed101a.
Solidity: event Stake(address from, uint256 amount)
func (*ContractFilterer) FilterTATHistory ¶
func (_Contract *ContractFilterer) FilterTATHistory(opts *bind.FilterOpts) (*ContractTATHistoryIterator, error)
FilterTATHistory is a free log retrieval operation binding the contract event 0xe26f2ddfe36635a9cf70ce4a8a1e622b404c54c78da20402528df7d94af8bf09.
Solidity: event TATHistory(string kind, bytes32 uniqueId, address from, address to, uint256 amount)
func (*ContractFilterer) FilterTransfer ¶
func (_Contract *ContractFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ContractTransferIterator, 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 (*ContractFilterer) FilterUnpaused ¶
func (_Contract *ContractFilterer) FilterUnpaused(opts *bind.FilterOpts) (*ContractUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*ContractFilterer) FilterWithdraw ¶
func (_Contract *ContractFilterer) FilterWithdraw(opts *bind.FilterOpts) (*ContractWithdrawIterator, error)
FilterWithdraw is a free log retrieval operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.
Solidity: event Withdraw(address from, uint256 amount)
func (*ContractFilterer) ParseApproval ¶
func (_Contract *ContractFilterer) ParseApproval(log types.Log) (*ContractApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ContractFilterer) ParseInitialized ¶
func (_Contract *ContractFilterer) ParseInitialized(log types.Log) (*ContractInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ContractFilterer) ParseOwnershipTransferred ¶
func (_Contract *ContractFilterer) ParseOwnershipTransferred(log types.Log) (*ContractOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ContractFilterer) ParsePaused ¶
func (_Contract *ContractFilterer) ParsePaused(log types.Log) (*ContractPaused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*ContractFilterer) ParseStake ¶
func (_Contract *ContractFilterer) ParseStake(log types.Log) (*ContractStake, error)
ParseStake is a log parse operation binding the contract event 0xebedb8b3c678666e7f36970bc8f57abf6d8fa2e828c0da91ea5b75bf68ed101a.
Solidity: event Stake(address from, uint256 amount)
func (*ContractFilterer) ParseTATHistory ¶
func (_Contract *ContractFilterer) ParseTATHistory(log types.Log) (*ContractTATHistory, error)
ParseTATHistory is a log parse operation binding the contract event 0xe26f2ddfe36635a9cf70ce4a8a1e622b404c54c78da20402528df7d94af8bf09.
Solidity: event TATHistory(string kind, bytes32 uniqueId, address from, address to, uint256 amount)
func (*ContractFilterer) ParseTransfer ¶
func (_Contract *ContractFilterer) ParseTransfer(log types.Log) (*ContractTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ContractFilterer) ParseUnpaused ¶
func (_Contract *ContractFilterer) ParseUnpaused(log types.Log) (*ContractUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*ContractFilterer) ParseWithdraw ¶
func (_Contract *ContractFilterer) ParseWithdraw(log types.Log) (*ContractWithdraw, error)
ParseWithdraw is a log parse operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.
Solidity: event Withdraw(address from, uint256 amount)
func (*ContractFilterer) WatchApproval ¶
func (_Contract *ContractFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ContractApproval, 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 (*ContractFilterer) WatchInitialized ¶
func (_Contract *ContractFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ContractInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ContractFilterer) WatchOwnershipTransferred ¶
func (_Contract *ContractFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ContractOwnershipTransferred, 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 (*ContractFilterer) WatchPaused ¶
func (_Contract *ContractFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *ContractPaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*ContractFilterer) WatchStake ¶
func (_Contract *ContractFilterer) WatchStake(opts *bind.WatchOpts, sink chan<- *ContractStake) (event.Subscription, error)
WatchStake is a free log subscription operation binding the contract event 0xebedb8b3c678666e7f36970bc8f57abf6d8fa2e828c0da91ea5b75bf68ed101a.
Solidity: event Stake(address from, uint256 amount)
func (*ContractFilterer) WatchTATHistory ¶
func (_Contract *ContractFilterer) WatchTATHistory(opts *bind.WatchOpts, sink chan<- *ContractTATHistory) (event.Subscription, error)
WatchTATHistory is a free log subscription operation binding the contract event 0xe26f2ddfe36635a9cf70ce4a8a1e622b404c54c78da20402528df7d94af8bf09.
Solidity: event TATHistory(string kind, bytes32 uniqueId, address from, address to, uint256 amount)
func (*ContractFilterer) WatchTransfer ¶
func (_Contract *ContractFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ContractTransfer, 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 (*ContractFilterer) WatchUnpaused ¶
func (_Contract *ContractFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *ContractUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*ContractFilterer) WatchWithdraw ¶
func (_Contract *ContractFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *ContractWithdraw) (event.Subscription, error)
WatchWithdraw is a free log subscription operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.
Solidity: event Withdraw(address from, uint256 amount)
type ContractInitialized ¶
type ContractInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
ContractInitialized represents a Initialized event raised by the Contract contract.
type ContractInitializedIterator ¶
type ContractInitializedIterator struct { Event *ContractInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Contract contract.
func (*ContractInitializedIterator) Close ¶
func (it *ContractInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractInitializedIterator) Error ¶
func (it *ContractInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractInitializedIterator) Next ¶
func (it *ContractInitializedIterator) 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 ContractOwnershipTransferred ¶
type ContractOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ContractOwnershipTransferred represents a OwnershipTransferred event raised by the Contract contract.
type ContractOwnershipTransferredIterator ¶
type ContractOwnershipTransferredIterator struct { Event *ContractOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Contract contract.
func (*ContractOwnershipTransferredIterator) Close ¶
func (it *ContractOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractOwnershipTransferredIterator) Error ¶
func (it *ContractOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractOwnershipTransferredIterator) Next ¶
func (it *ContractOwnershipTransferredIterator) 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 ContractPaused ¶
type ContractPaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
ContractPaused represents a Paused event raised by the Contract contract.
type ContractPausedIterator ¶
type ContractPausedIterator struct { Event *ContractPaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Contract contract.
func (*ContractPausedIterator) Close ¶
func (it *ContractPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractPausedIterator) Error ¶
func (it *ContractPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractPausedIterator) Next ¶
func (it *ContractPausedIterator) 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 ContractRaw ¶
type ContractRaw struct {
Contract *Contract // Generic contract binding to access the raw methods on
}
ContractRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ContractRaw) Call ¶
func (_Contract *ContractRaw) 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 (*ContractRaw) Transact ¶
func (_Contract *ContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractRaw) Transfer ¶
func (_Contract *ContractRaw) 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 ContractSession ¶
type ContractSession struct { Contract *Contract // 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 }
ContractSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ContractSession) Allowance ¶
func (_Contract *ContractSession) 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 (*ContractSession) Approve ¶
func (_Contract *ContractSession) 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 (*ContractSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ContractSession) Burn ¶
func (_Contract *ContractSession) 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 (*ContractSession) Burn0 ¶
func (_Contract *ContractSession) Burn0(_treasureKind string, tokens *big.Int) (*types.Transaction, error)
Burn0 is a paid mutator transaction binding the contract method 0xb48272cc.
Solidity: function burn(string _treasureKind, uint256 tokens) returns()
func (*ContractSession) BurnFrom ¶
func (_Contract *ContractSession) 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 (*ContractSession) Decimals ¶
func (_Contract *ContractSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ContractSession) DecreaseAllowance ¶
func (_Contract *ContractSession) 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 (*ContractSession) Faucet ¶
func (_Contract *ContractSession) Faucet(user common.Address, amount *big.Int) (*types.Transaction, error)
Faucet is a paid mutator transaction binding the contract method 0x7b56c2b2.
Solidity: function faucet(address user, uint256 amount) returns()
func (*ContractSession) IncreaseAllowance ¶
func (_Contract *ContractSession) 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 (*ContractSession) Initialize ¶
func (_Contract *ContractSession) Initialize(_name string, _symbol string, _governanceContract common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x077f224a.
Solidity: function initialize(string _name, string _symbol, address _governanceContract) returns()
func (*ContractSession) Mint ¶
func (_Contract *ContractSession) Mint(_treasureKind string, _uniqueId [32]byte, to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x1c2e469e.
Solidity: function mint(string _treasureKind, bytes32 _uniqueId, address to, uint256 amount) returns()
func (*ContractSession) Name ¶
func (_Contract *ContractSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ContractSession) Owner ¶
func (_Contract *ContractSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ContractSession) Pause ¶
func (_Contract *ContractSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*ContractSession) Paused ¶
func (_Contract *ContractSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*ContractSession) RenounceOwnership ¶
func (_Contract *ContractSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ContractSession) Stake ¶
func (_Contract *ContractSession) Stake(account common.Address, _amount *big.Int) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xadc9772e.
Solidity: function stake(address account, uint256 _amount) returns()
func (*ContractSession) StakeOf ¶
StakeOf is a free data retrieval call binding the contract method 0x42623360.
Solidity: function stakeOf(address _stakeholder) view returns(uint256)
func (*ContractSession) Symbol ¶
func (_Contract *ContractSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ContractSession) TotalStakers ¶
func (_Contract *ContractSession) TotalStakers() (*big.Int, error)
TotalStakers is a free data retrieval call binding the contract method 0x86989038.
Solidity: function totalStakers() view returns(uint256)
func (*ContractSession) TotalStakes ¶
func (_Contract *ContractSession) TotalStakes() (*big.Int, error)
TotalStakes is a free data retrieval call binding the contract method 0xbf9befb1.
Solidity: function totalStakes() view returns(uint256)
func (*ContractSession) TotalSupply ¶
func (_Contract *ContractSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*ContractSession) Transfer ¶
func (_Contract *ContractSession) 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 (*ContractSession) TransferFrom ¶
func (_Contract *ContractSession) 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 (*ContractSession) TransferOwnership ¶
func (_Contract *ContractSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*ContractSession) Unpause ¶
func (_Contract *ContractSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*ContractSession) Withdraw ¶
func (_Contract *ContractSession) Withdraw(account common.Address, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.
Solidity: function withdraw(address account, uint256 _amount) returns()
type ContractStake ¶
type ContractStake struct { From common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractStake represents a Stake event raised by the Contract contract.
type ContractStakeIterator ¶
type ContractStakeIterator struct { Event *ContractStake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractStakeIterator is returned from FilterStake and is used to iterate over the raw logs and unpacked data for Stake events raised by the Contract contract.
func (*ContractStakeIterator) Close ¶
func (it *ContractStakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractStakeIterator) Error ¶
func (it *ContractStakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractStakeIterator) Next ¶
func (it *ContractStakeIterator) 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 ContractTATHistory ¶
type ContractTATHistory struct { Kind string UniqueId [32]byte From common.Address To common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractTATHistory represents a TATHistory event raised by the Contract contract.
type ContractTATHistoryIterator ¶
type ContractTATHistoryIterator struct { Event *ContractTATHistory // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractTATHistoryIterator is returned from FilterTATHistory and is used to iterate over the raw logs and unpacked data for TATHistory events raised by the Contract contract.
func (*ContractTATHistoryIterator) Close ¶
func (it *ContractTATHistoryIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractTATHistoryIterator) Error ¶
func (it *ContractTATHistoryIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractTATHistoryIterator) Next ¶
func (it *ContractTATHistoryIterator) 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 ContractTransactor ¶
type ContractTransactor struct {
// contains filtered or unexported fields
}
ContractTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewContractTransactor ¶
func NewContractTransactor(address common.Address, transactor bind.ContractTransactor) (*ContractTransactor, error)
NewContractTransactor creates a new write-only instance of Contract, bound to a specific deployed contract.
func (*ContractTransactor) Approve ¶
func (_Contract *ContractTransactor) 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 (*ContractTransactor) Burn ¶
func (_Contract *ContractTransactor) 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 (*ContractTransactor) Burn0 ¶
func (_Contract *ContractTransactor) Burn0(opts *bind.TransactOpts, _treasureKind string, tokens *big.Int) (*types.Transaction, error)
Burn0 is a paid mutator transaction binding the contract method 0xb48272cc.
Solidity: function burn(string _treasureKind, uint256 tokens) returns()
func (*ContractTransactor) BurnFrom ¶
func (_Contract *ContractTransactor) 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 (*ContractTransactor) DecreaseAllowance ¶
func (_Contract *ContractTransactor) 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 (*ContractTransactor) Faucet ¶
func (_Contract *ContractTransactor) Faucet(opts *bind.TransactOpts, user common.Address, amount *big.Int) (*types.Transaction, error)
Faucet is a paid mutator transaction binding the contract method 0x7b56c2b2.
Solidity: function faucet(address user, uint256 amount) returns()
func (*ContractTransactor) IncreaseAllowance ¶
func (_Contract *ContractTransactor) 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 (*ContractTransactor) Initialize ¶
func (_Contract *ContractTransactor) Initialize(opts *bind.TransactOpts, _name string, _symbol string, _governanceContract common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x077f224a.
Solidity: function initialize(string _name, string _symbol, address _governanceContract) returns()
func (*ContractTransactor) Mint ¶
func (_Contract *ContractTransactor) Mint(opts *bind.TransactOpts, _treasureKind string, _uniqueId [32]byte, to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x1c2e469e.
Solidity: function mint(string _treasureKind, bytes32 _uniqueId, address to, uint256 amount) returns()
func (*ContractTransactor) Pause ¶
func (_Contract *ContractTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*ContractTransactor) RenounceOwnership ¶
func (_Contract *ContractTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ContractTransactor) Stake ¶
func (_Contract *ContractTransactor) Stake(opts *bind.TransactOpts, account common.Address, _amount *big.Int) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xadc9772e.
Solidity: function stake(address account, uint256 _amount) returns()
func (*ContractTransactor) Transfer ¶
func (_Contract *ContractTransactor) 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 (*ContractTransactor) TransferFrom ¶
func (_Contract *ContractTransactor) 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 (*ContractTransactor) TransferOwnership ¶
func (_Contract *ContractTransactor) 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()
func (*ContractTransactor) Unpause ¶
func (_Contract *ContractTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*ContractTransactor) Withdraw ¶
func (_Contract *ContractTransactor) Withdraw(opts *bind.TransactOpts, account common.Address, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.
Solidity: function withdraw(address account, uint256 _amount) returns()
type ContractTransactorRaw ¶
type ContractTransactorRaw struct {
Contract *ContractTransactor // Generic write-only contract binding to access the raw methods on
}
ContractTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ContractTransactorRaw) Transact ¶
func (_Contract *ContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractTransactorRaw) Transfer ¶
func (_Contract *ContractTransactorRaw) 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 ContractTransactorSession ¶
type ContractTransactorSession struct { Contract *ContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContractTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ContractTransactorSession) Approve ¶
func (_Contract *ContractTransactorSession) 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 (*ContractTransactorSession) Burn ¶
func (_Contract *ContractTransactorSession) 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 (*ContractTransactorSession) Burn0 ¶
func (_Contract *ContractTransactorSession) Burn0(_treasureKind string, tokens *big.Int) (*types.Transaction, error)
Burn0 is a paid mutator transaction binding the contract method 0xb48272cc.
Solidity: function burn(string _treasureKind, uint256 tokens) returns()
func (*ContractTransactorSession) BurnFrom ¶
func (_Contract *ContractTransactorSession) 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 (*ContractTransactorSession) DecreaseAllowance ¶
func (_Contract *ContractTransactorSession) 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 (*ContractTransactorSession) Faucet ¶
func (_Contract *ContractTransactorSession) Faucet(user common.Address, amount *big.Int) (*types.Transaction, error)
Faucet is a paid mutator transaction binding the contract method 0x7b56c2b2.
Solidity: function faucet(address user, uint256 amount) returns()
func (*ContractTransactorSession) IncreaseAllowance ¶
func (_Contract *ContractTransactorSession) 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 (*ContractTransactorSession) Initialize ¶
func (_Contract *ContractTransactorSession) Initialize(_name string, _symbol string, _governanceContract common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x077f224a.
Solidity: function initialize(string _name, string _symbol, address _governanceContract) returns()
func (*ContractTransactorSession) Mint ¶
func (_Contract *ContractTransactorSession) Mint(_treasureKind string, _uniqueId [32]byte, to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x1c2e469e.
Solidity: function mint(string _treasureKind, bytes32 _uniqueId, address to, uint256 amount) returns()
func (*ContractTransactorSession) Pause ¶
func (_Contract *ContractTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*ContractTransactorSession) RenounceOwnership ¶
func (_Contract *ContractTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ContractTransactorSession) Stake ¶
func (_Contract *ContractTransactorSession) Stake(account common.Address, _amount *big.Int) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xadc9772e.
Solidity: function stake(address account, uint256 _amount) returns()
func (*ContractTransactorSession) Transfer ¶
func (_Contract *ContractTransactorSession) 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 (*ContractTransactorSession) TransferFrom ¶
func (_Contract *ContractTransactorSession) 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 (*ContractTransactorSession) TransferOwnership ¶
func (_Contract *ContractTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*ContractTransactorSession) Unpause ¶
func (_Contract *ContractTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*ContractTransactorSession) Withdraw ¶
func (_Contract *ContractTransactorSession) Withdraw(account common.Address, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.
Solidity: function withdraw(address account, uint256 _amount) returns()
type ContractTransfer ¶
type ContractTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractTransfer represents a Transfer event raised by the Contract contract.
type ContractTransferIterator ¶
type ContractTransferIterator struct { Event *ContractTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Contract contract.
func (*ContractTransferIterator) Close ¶
func (it *ContractTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractTransferIterator) Error ¶
func (it *ContractTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractTransferIterator) Next ¶
func (it *ContractTransferIterator) 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 ContractUnpaused ¶
type ContractUnpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
ContractUnpaused represents a Unpaused event raised by the Contract contract.
type ContractUnpausedIterator ¶
type ContractUnpausedIterator struct { Event *ContractUnpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Contract contract.
func (*ContractUnpausedIterator) Close ¶
func (it *ContractUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractUnpausedIterator) Error ¶
func (it *ContractUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractUnpausedIterator) Next ¶
func (it *ContractUnpausedIterator) 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 ContractWithdraw ¶
type ContractWithdraw struct { From common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractWithdraw represents a Withdraw event raised by the Contract contract.
type ContractWithdrawIterator ¶
type ContractWithdrawIterator struct { Event *ContractWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the Contract contract.
func (*ContractWithdrawIterator) Close ¶
func (it *ContractWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractWithdrawIterator) Error ¶
func (it *ContractWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractWithdrawIterator) Next ¶
func (it *ContractWithdrawIterator) 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.