tokenether

package
v0.0.0-...-9f791b1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const BasicTokenABI = "" /* 911-byte string literal not displayed */

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

View Source
const BasicTokenBin = `` /* 1334-byte string literal not displayed */

BasicTokenBin is the compiled bytecode used for deploying new contracts.

View Source
const ERC20ABI = "" /* 2003-byte string literal not displayed */

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

View Source
const ERC20BasicABI = "" /* 909-byte string literal not displayed */

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

View Source
const ERC20BasicBin = `0x`

ERC20BasicBin is the compiled bytecode used for deploying new contracts.

View Source
const ERC20Bin = `0x`

ERC20Bin is the compiled bytecode used for deploying new contracts.

View Source
const EtherTokenABI = "" /* 2893-byte string literal not displayed */

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

View Source
const EtherTokenBin = `` /* 4960-byte string literal not displayed */

EtherTokenBin is the compiled bytecode used for deploying new contracts.

View Source
const HumanEtherTokenABI = "" /* 3799-byte string literal not displayed */

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

View Source
const HumanEtherTokenBin = `` /* 6920-byte string literal not displayed */

HumanEtherTokenBin is the compiled bytecode used for deploying new contracts.

View Source
const SafeMathABI = "[]"

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

View Source
const SafeMathBin = `` /* 242-byte string literal not displayed */

SafeMathBin is the compiled bytecode used for deploying new contracts.

View Source
const StandardTokenABI = "" /* 2570-byte string literal not displayed */

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

View Source
const StandardTokenBin = `` /* 4162-byte string literal not displayed */

StandardTokenBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicToken

type BasicToken struct {
	BasicTokenCaller     // Read-only binding to the contract
	BasicTokenTransactor // Write-only binding to the contract
	BasicTokenFilterer   // Log filterer for contract events
}

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

func DeployBasicToken

func DeployBasicToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BasicToken, error)

DeployBasicToken deploys a new Ethereum contract, binding an instance of BasicToken to it.

func NewBasicToken

func NewBasicToken(address common.Address, backend bind.ContractBackend) (*BasicToken, error)

NewBasicToken creates a new instance of BasicToken, bound to a specific deployed contract.

type BasicTokenCaller

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

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

func NewBasicTokenCaller

func NewBasicTokenCaller(address common.Address, caller bind.ContractCaller) (*BasicTokenCaller, error)

NewBasicTokenCaller creates a new read-only instance of BasicToken, bound to a specific deployed contract.

func (*BasicTokenCaller) BalanceOf

func (_BasicToken *BasicTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

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

Solidity: function balanceOf(_owner address) constant returns(uint256)

func (*BasicTokenCaller) TotalSupply

func (_BasicToken *BasicTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type BasicTokenCallerRaw

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

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

func (*BasicTokenCallerRaw) Call

func (_BasicToken *BasicTokenCallerRaw) 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 BasicTokenCallerSession

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

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

func (*BasicTokenCallerSession) BalanceOf

func (_BasicToken *BasicTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

Solidity: function balanceOf(_owner address) constant returns(uint256)

func (*BasicTokenCallerSession) TotalSupply

func (_BasicToken *BasicTokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type BasicTokenFilterer

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

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

func NewBasicTokenFilterer

func NewBasicTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*BasicTokenFilterer, error)

NewBasicTokenFilterer creates a new log filterer instance of BasicToken, bound to a specific deployed contract.

func (*BasicTokenFilterer) FilterTransfer

func (_BasicToken *BasicTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BasicTokenTransferIterator, error)

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

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

func (*BasicTokenFilterer) WatchTransfer

func (_BasicToken *BasicTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BasicTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

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

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

type BasicTokenRaw

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

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

func (*BasicTokenRaw) Call

func (_BasicToken *BasicTokenRaw) 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 (*BasicTokenRaw) Transact

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

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

func (*BasicTokenRaw) Transfer

func (_BasicToken *BasicTokenRaw) 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 BasicTokenSession

type BasicTokenSession struct {
	Contract     *BasicToken       // 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
}

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

func (*BasicTokenSession) BalanceOf

func (_BasicToken *BasicTokenSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

Solidity: function balanceOf(_owner address) constant returns(uint256)

func (*BasicTokenSession) TotalSupply

func (_BasicToken *BasicTokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*BasicTokenSession) Transfer

func (_BasicToken *BasicTokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(_to address, _value uint256) returns(bool)

type BasicTokenTransactor

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

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

func NewBasicTokenTransactor

func NewBasicTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*BasicTokenTransactor, error)

NewBasicTokenTransactor creates a new write-only instance of BasicToken, bound to a specific deployed contract.

func (*BasicTokenTransactor) Transfer

func (_BasicToken *BasicTokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(_to address, _value uint256) returns(bool)

type BasicTokenTransactorRaw

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

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

func (*BasicTokenTransactorRaw) Transact

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

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

func (*BasicTokenTransactorRaw) Transfer

func (_BasicToken *BasicTokenTransactorRaw) 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 BasicTokenTransactorSession

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

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

func (*BasicTokenTransactorSession) Transfer

func (_BasicToken *BasicTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(_to address, _value uint256) returns(bool)

type BasicTokenTransfer

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

BasicTokenTransfer represents a Transfer event raised by the BasicToken contract.

type BasicTokenTransferIterator

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

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

func (*BasicTokenTransferIterator) Close

func (it *BasicTokenTransferIterator) Close() error

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

func (*BasicTokenTransferIterator) Error

func (it *BasicTokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasicTokenTransferIterator) Next

func (it *BasicTokenTransferIterator) 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 ERC20

type ERC20 struct {
	ERC20Caller     // Read-only binding to the contract
	ERC20Transactor // Write-only binding to the contract
	ERC20Filterer   // Log filterer for contract events
}

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

func DeployERC20

func DeployERC20(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC20, error)

DeployERC20 deploys a new Ethereum contract, binding an instance of ERC20 to it.

func NewERC20

func NewERC20(address common.Address, backend bind.ContractBackend) (*ERC20, error)

NewERC20 creates a new instance of ERC20, bound to a specific deployed contract.

type ERC20Approval

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

ERC20Approval represents a Approval event raised by the ERC20 contract.

type ERC20ApprovalIterator

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

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

func (*ERC20ApprovalIterator) Close

func (it *ERC20ApprovalIterator) Close() error

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

func (*ERC20ApprovalIterator) Error

func (it *ERC20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20ApprovalIterator) Next

func (it *ERC20ApprovalIterator) 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 ERC20Basic

type ERC20Basic struct {
	ERC20BasicCaller     // Read-only binding to the contract
	ERC20BasicTransactor // Write-only binding to the contract
	ERC20BasicFilterer   // Log filterer for contract events
}

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

func DeployERC20Basic

func DeployERC20Basic(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC20Basic, error)

DeployERC20Basic deploys a new Ethereum contract, binding an instance of ERC20Basic to it.

func NewERC20Basic

func NewERC20Basic(address common.Address, backend bind.ContractBackend) (*ERC20Basic, error)

NewERC20Basic creates a new instance of ERC20Basic, bound to a specific deployed contract.

type ERC20BasicCaller

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

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

func NewERC20BasicCaller

func NewERC20BasicCaller(address common.Address, caller bind.ContractCaller) (*ERC20BasicCaller, error)

NewERC20BasicCaller creates a new read-only instance of ERC20Basic, bound to a specific deployed contract.

func (*ERC20BasicCaller) BalanceOf

func (_ERC20Basic *ERC20BasicCaller) BalanceOf(opts *bind.CallOpts, _who common.Address) (*big.Int, error)

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

Solidity: function balanceOf(_who address) constant returns(uint256)

func (*ERC20BasicCaller) TotalSupply

func (_ERC20Basic *ERC20BasicCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type ERC20BasicCallerRaw

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

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

func (*ERC20BasicCallerRaw) Call

func (_ERC20Basic *ERC20BasicCallerRaw) 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 ERC20BasicCallerSession

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

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

func (*ERC20BasicCallerSession) BalanceOf

func (_ERC20Basic *ERC20BasicCallerSession) BalanceOf(_who common.Address) (*big.Int, error)

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

Solidity: function balanceOf(_who address) constant returns(uint256)

func (*ERC20BasicCallerSession) TotalSupply

func (_ERC20Basic *ERC20BasicCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type ERC20BasicFilterer

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

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

func NewERC20BasicFilterer

func NewERC20BasicFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20BasicFilterer, error)

NewERC20BasicFilterer creates a new log filterer instance of ERC20Basic, bound to a specific deployed contract.

func (*ERC20BasicFilterer) FilterTransfer

func (_ERC20Basic *ERC20BasicFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20BasicTransferIterator, error)

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

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

func (*ERC20BasicFilterer) WatchTransfer

func (_ERC20Basic *ERC20BasicFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20BasicTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

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

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

type ERC20BasicRaw

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

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

func (*ERC20BasicRaw) Call

func (_ERC20Basic *ERC20BasicRaw) 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 (*ERC20BasicRaw) Transact

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

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

func (*ERC20BasicRaw) Transfer

func (_ERC20Basic *ERC20BasicRaw) 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 ERC20BasicSession

type ERC20BasicSession struct {
	Contract     *ERC20Basic       // 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
}

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

func (*ERC20BasicSession) BalanceOf

func (_ERC20Basic *ERC20BasicSession) BalanceOf(_who common.Address) (*big.Int, error)

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

Solidity: function balanceOf(_who address) constant returns(uint256)

func (*ERC20BasicSession) TotalSupply

func (_ERC20Basic *ERC20BasicSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*ERC20BasicSession) Transfer

func (_ERC20Basic *ERC20BasicSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(_to address, _value uint256) returns(bool)

type ERC20BasicTransactor

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

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

func NewERC20BasicTransactor

func NewERC20BasicTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20BasicTransactor, error)

NewERC20BasicTransactor creates a new write-only instance of ERC20Basic, bound to a specific deployed contract.

func (*ERC20BasicTransactor) Transfer

func (_ERC20Basic *ERC20BasicTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(_to address, _value uint256) returns(bool)

type ERC20BasicTransactorRaw

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

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

func (*ERC20BasicTransactorRaw) Transact

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

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

func (*ERC20BasicTransactorRaw) Transfer

func (_ERC20Basic *ERC20BasicTransactorRaw) 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 ERC20BasicTransactorSession

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

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

func (*ERC20BasicTransactorSession) Transfer

func (_ERC20Basic *ERC20BasicTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(_to address, _value uint256) returns(bool)

type ERC20BasicTransfer

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

ERC20BasicTransfer represents a Transfer event raised by the ERC20Basic contract.

type ERC20BasicTransferIterator

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

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

func (*ERC20BasicTransferIterator) Close

func (it *ERC20BasicTransferIterator) Close() error

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

func (*ERC20BasicTransferIterator) Error

func (it *ERC20BasicTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20BasicTransferIterator) Next

func (it *ERC20BasicTransferIterator) 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 ERC20Caller

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

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

func NewERC20Caller

func NewERC20Caller(address common.Address, caller bind.ContractCaller) (*ERC20Caller, error)

NewERC20Caller creates a new read-only instance of ERC20, bound to a specific deployed contract.

func (*ERC20Caller) Allowance

func (_ERC20 *ERC20Caller) 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(_owner address, _spender address) constant returns(uint256)

func (*ERC20Caller) BalanceOf

func (_ERC20 *ERC20Caller) BalanceOf(opts *bind.CallOpts, _who common.Address) (*big.Int, error)

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

Solidity: function balanceOf(_who address) constant returns(uint256)

func (*ERC20Caller) TotalSupply

func (_ERC20 *ERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type ERC20CallerRaw

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

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

func (*ERC20CallerRaw) Call

func (_ERC20 *ERC20CallerRaw) 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 ERC20CallerSession

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

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

func (*ERC20CallerSession) Allowance

func (_ERC20 *ERC20CallerSession) 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(_owner address, _spender address) constant returns(uint256)

func (*ERC20CallerSession) BalanceOf

func (_ERC20 *ERC20CallerSession) BalanceOf(_who common.Address) (*big.Int, error)

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

Solidity: function balanceOf(_who address) constant returns(uint256)

func (*ERC20CallerSession) TotalSupply

func (_ERC20 *ERC20CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type ERC20Filterer

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

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

func NewERC20Filterer

func NewERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC20Filterer, error)

NewERC20Filterer creates a new log filterer instance of ERC20, bound to a specific deployed contract.

func (*ERC20Filterer) FilterApproval

func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error)

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

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

func (*ERC20Filterer) FilterTransfer

func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error)

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

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

func (*ERC20Filterer) WatchApproval

func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)

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

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

func (*ERC20Filterer) WatchTransfer

func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)

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

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

type ERC20Raw

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

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

func (*ERC20Raw) Call

func (_ERC20 *ERC20Raw) 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 (*ERC20Raw) Transact

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

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

func (*ERC20Raw) Transfer

func (_ERC20 *ERC20Raw) 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 ERC20Session

type ERC20Session struct {
	Contract     *ERC20            // 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
}

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

func (*ERC20Session) Allowance

func (_ERC20 *ERC20Session) 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(_owner address, _spender address) constant returns(uint256)

func (*ERC20Session) Approve

func (_ERC20 *ERC20Session) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(_spender address, _value uint256) returns(bool)

func (*ERC20Session) BalanceOf

func (_ERC20 *ERC20Session) BalanceOf(_who common.Address) (*big.Int, error)

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

Solidity: function balanceOf(_who address) constant returns(uint256)

func (*ERC20Session) TotalSupply

func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*ERC20Session) Transfer

func (_ERC20 *ERC20Session) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(_to address, _value uint256) returns(bool)

func (*ERC20Session) TransferFrom

func (_ERC20 *ERC20Session) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)

type ERC20Transactor

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

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

func NewERC20Transactor

func NewERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC20Transactor, error)

NewERC20Transactor creates a new write-only instance of ERC20, bound to a specific deployed contract.

func (*ERC20Transactor) Approve

func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(_spender address, _value uint256) returns(bool)

func (*ERC20Transactor) Transfer

func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(_to address, _value uint256) returns(bool)

func (*ERC20Transactor) TransferFrom

func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)

type ERC20TransactorRaw

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

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

func (*ERC20TransactorRaw) Transact

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

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

func (*ERC20TransactorRaw) Transfer

func (_ERC20 *ERC20TransactorRaw) 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 ERC20TransactorSession

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

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

func (*ERC20TransactorSession) Approve

func (_ERC20 *ERC20TransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(_spender address, _value uint256) returns(bool)

func (*ERC20TransactorSession) Transfer

func (_ERC20 *ERC20TransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(_to address, _value uint256) returns(bool)

func (*ERC20TransactorSession) TransferFrom

func (_ERC20 *ERC20TransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)

type ERC20Transfer

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

ERC20Transfer represents a Transfer event raised by the ERC20 contract.

type ERC20TransferIterator

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

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

func (*ERC20TransferIterator) Close

func (it *ERC20TransferIterator) Close() error

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

func (*ERC20TransferIterator) Error

func (it *ERC20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20TransferIterator) Next

func (it *ERC20TransferIterator) 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 EtherToken

type EtherToken struct {
	EtherTokenCaller     // Read-only binding to the contract
	EtherTokenTransactor // Write-only binding to the contract
	EtherTokenFilterer   // Log filterer for contract events
}

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

func DeployEtherToken

func DeployEtherToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *EtherToken, error)

DeployEtherToken deploys a new Ethereum contract, binding an instance of EtherToken to it.

func NewEtherToken

func NewEtherToken(address common.Address, backend bind.ContractBackend) (*EtherToken, error)

NewEtherToken creates a new instance of EtherToken, bound to a specific deployed contract.

type EtherTokenApproval

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

EtherTokenApproval represents a Approval event raised by the EtherToken contract.

type EtherTokenApprovalIterator

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

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

func (*EtherTokenApprovalIterator) Close

func (it *EtherTokenApprovalIterator) Close() error

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

func (*EtherTokenApprovalIterator) Error

func (it *EtherTokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EtherTokenApprovalIterator) Next

func (it *EtherTokenApprovalIterator) 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 EtherTokenCaller

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

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

func NewEtherTokenCaller

func NewEtherTokenCaller(address common.Address, caller bind.ContractCaller) (*EtherTokenCaller, error)

NewEtherTokenCaller creates a new read-only instance of EtherToken, bound to a specific deployed contract.

func (*EtherTokenCaller) Allowance

func (_EtherToken *EtherTokenCaller) 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(_owner address, _spender address) constant returns(uint256)

func (*EtherTokenCaller) BalanceOf

func (_EtherToken *EtherTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

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

Solidity: function balanceOf(_owner address) constant returns(uint256)

func (*EtherTokenCaller) TotalSupply

func (_EtherToken *EtherTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type EtherTokenCallerRaw

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

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

func (*EtherTokenCallerRaw) Call

func (_EtherToken *EtherTokenCallerRaw) 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 EtherTokenCallerSession

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

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

func (*EtherTokenCallerSession) Allowance

func (_EtherToken *EtherTokenCallerSession) 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(_owner address, _spender address) constant returns(uint256)

func (*EtherTokenCallerSession) BalanceOf

func (_EtherToken *EtherTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

Solidity: function balanceOf(_owner address) constant returns(uint256)

func (*EtherTokenCallerSession) TotalSupply

func (_EtherToken *EtherTokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type EtherTokenFilterer

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

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

func NewEtherTokenFilterer

func NewEtherTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*EtherTokenFilterer, error)

NewEtherTokenFilterer creates a new log filterer instance of EtherToken, bound to a specific deployed contract.

func (*EtherTokenFilterer) FilterApproval

func (_EtherToken *EtherTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*EtherTokenApprovalIterator, error)

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

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

func (*EtherTokenFilterer) FilterTransfer

func (_EtherToken *EtherTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*EtherTokenTransferIterator, error)

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

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

func (*EtherTokenFilterer) WatchApproval

func (_EtherToken *EtherTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *EtherTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

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

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

func (*EtherTokenFilterer) WatchTransfer

func (_EtherToken *EtherTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *EtherTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

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

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

type EtherTokenRaw

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

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

func (*EtherTokenRaw) Call

func (_EtherToken *EtherTokenRaw) 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 (*EtherTokenRaw) Transact

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

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

func (*EtherTokenRaw) Transfer

func (_EtherToken *EtherTokenRaw) 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 EtherTokenSession

type EtherTokenSession struct {
	Contract     *EtherToken       // 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
}

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

func (*EtherTokenSession) Allowance

func (_EtherToken *EtherTokenSession) 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(_owner address, _spender address) constant returns(uint256)

func (*EtherTokenSession) Approve

func (_EtherToken *EtherTokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(_spender address, _value uint256) returns(bool)

func (*EtherTokenSession) BalanceOf

func (_EtherToken *EtherTokenSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

Solidity: function balanceOf(_owner address) constant returns(uint256)

func (*EtherTokenSession) Buy

func (_EtherToken *EtherTokenSession) Buy() (*types.Transaction, error)

Buy is a paid mutator transaction binding the contract method 0xa6f2ae3a.

Solidity: function buy() returns()

func (*EtherTokenSession) DecreaseApproval

func (_EtherToken *EtherTokenSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)

func (*EtherTokenSession) IncreaseApproval

func (_EtherToken *EtherTokenSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)

func (*EtherTokenSession) Sell

func (_EtherToken *EtherTokenSession) Sell(amount *big.Int) (*types.Transaction, error)

Sell is a paid mutator transaction binding the contract method 0xe4849b32.

Solidity: function sell(amount uint256) returns()

func (*EtherTokenSession) TotalSupply

func (_EtherToken *EtherTokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*EtherTokenSession) Transfer

func (_EtherToken *EtherTokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(_to address, _value uint256) returns(bool)

func (*EtherTokenSession) TransferFrom

func (_EtherToken *EtherTokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)

type EtherTokenTransactor

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

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

func NewEtherTokenTransactor

func NewEtherTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*EtherTokenTransactor, error)

NewEtherTokenTransactor creates a new write-only instance of EtherToken, bound to a specific deployed contract.

func (*EtherTokenTransactor) Approve

func (_EtherToken *EtherTokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(_spender address, _value uint256) returns(bool)

func (*EtherTokenTransactor) Buy

func (_EtherToken *EtherTokenTransactor) Buy(opts *bind.TransactOpts) (*types.Transaction, error)

Buy is a paid mutator transaction binding the contract method 0xa6f2ae3a.

Solidity: function buy() returns()

func (*EtherTokenTransactor) DecreaseApproval

func (_EtherToken *EtherTokenTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)

func (*EtherTokenTransactor) IncreaseApproval

func (_EtherToken *EtherTokenTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)

func (*EtherTokenTransactor) Sell

func (_EtherToken *EtherTokenTransactor) Sell(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Sell is a paid mutator transaction binding the contract method 0xe4849b32.

Solidity: function sell(amount uint256) returns()

func (*EtherTokenTransactor) Transfer

func (_EtherToken *EtherTokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(_to address, _value uint256) returns(bool)

func (*EtherTokenTransactor) TransferFrom

func (_EtherToken *EtherTokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)

type EtherTokenTransactorRaw

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

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

func (*EtherTokenTransactorRaw) Transact

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

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

func (*EtherTokenTransactorRaw) Transfer

func (_EtherToken *EtherTokenTransactorRaw) 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 EtherTokenTransactorSession

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

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

func (*EtherTokenTransactorSession) Approve

func (_EtherToken *EtherTokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(_spender address, _value uint256) returns(bool)

func (*EtherTokenTransactorSession) Buy

func (_EtherToken *EtherTokenTransactorSession) Buy() (*types.Transaction, error)

Buy is a paid mutator transaction binding the contract method 0xa6f2ae3a.

Solidity: function buy() returns()

func (*EtherTokenTransactorSession) DecreaseApproval

func (_EtherToken *EtherTokenTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)

func (*EtherTokenTransactorSession) IncreaseApproval

func (_EtherToken *EtherTokenTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)

func (*EtherTokenTransactorSession) Sell

func (_EtherToken *EtherTokenTransactorSession) Sell(amount *big.Int) (*types.Transaction, error)

Sell is a paid mutator transaction binding the contract method 0xe4849b32.

Solidity: function sell(amount uint256) returns()

func (*EtherTokenTransactorSession) Transfer

func (_EtherToken *EtherTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(_to address, _value uint256) returns(bool)

func (*EtherTokenTransactorSession) TransferFrom

func (_EtherToken *EtherTokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)

type EtherTokenTransfer

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

EtherTokenTransfer represents a Transfer event raised by the EtherToken contract.

type EtherTokenTransferIterator

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

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

func (*EtherTokenTransferIterator) Close

func (it *EtherTokenTransferIterator) Close() error

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

func (*EtherTokenTransferIterator) Error

func (it *EtherTokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EtherTokenTransferIterator) Next

func (it *EtherTokenTransferIterator) 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 HumanEtherToken

type HumanEtherToken struct {
	HumanEtherTokenCaller     // Read-only binding to the contract
	HumanEtherTokenTransactor // Write-only binding to the contract
	HumanEtherTokenFilterer   // Log filterer for contract events
}

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

func DeployHumanEtherToken

func DeployHumanEtherToken(auth *bind.TransactOpts, backend bind.ContractBackend, _tokenSymbol string) (common.Address, *types.Transaction, *HumanEtherToken, error)

DeployHumanEtherToken deploys a new Ethereum contract, binding an instance of HumanEtherToken to it.

func NewHumanEtherToken

func NewHumanEtherToken(address common.Address, backend bind.ContractBackend) (*HumanEtherToken, error)

NewHumanEtherToken creates a new instance of HumanEtherToken, bound to a specific deployed contract.

type HumanEtherTokenApproval

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

HumanEtherTokenApproval represents a Approval event raised by the HumanEtherToken contract.

type HumanEtherTokenApprovalIterator

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

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

func (*HumanEtherTokenApprovalIterator) Close

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

func (*HumanEtherTokenApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HumanEtherTokenApprovalIterator) 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 HumanEtherTokenCaller

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

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

func NewHumanEtherTokenCaller

func NewHumanEtherTokenCaller(address common.Address, caller bind.ContractCaller) (*HumanEtherTokenCaller, error)

NewHumanEtherTokenCaller creates a new read-only instance of HumanEtherToken, bound to a specific deployed contract.

func (*HumanEtherTokenCaller) Allowance

func (_HumanEtherToken *HumanEtherTokenCaller) 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(_owner address, _spender address) constant returns(uint256)

func (*HumanEtherTokenCaller) BalanceOf

func (_HumanEtherToken *HumanEtherTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

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

Solidity: function balanceOf(_owner address) constant returns(uint256)

func (*HumanEtherTokenCaller) Decimals

func (_HumanEtherToken *HumanEtherTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

func (*HumanEtherTokenCaller) Name

func (_HumanEtherToken *HumanEtherTokenCaller) Name(opts *bind.CallOpts) (string, error)

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

Solidity: function name() constant returns(string)

func (*HumanEtherTokenCaller) Symbol

func (_HumanEtherToken *HumanEtherTokenCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() constant returns(string)

func (*HumanEtherTokenCaller) TotalSupply

func (_HumanEtherToken *HumanEtherTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*HumanEtherTokenCaller) Version

func (_HumanEtherToken *HumanEtherTokenCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() constant returns(string)

type HumanEtherTokenCallerRaw

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

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

func (*HumanEtherTokenCallerRaw) Call

func (_HumanEtherToken *HumanEtherTokenCallerRaw) 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 HumanEtherTokenCallerSession

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

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

func (*HumanEtherTokenCallerSession) Allowance

func (_HumanEtherToken *HumanEtherTokenCallerSession) 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(_owner address, _spender address) constant returns(uint256)

func (*HumanEtherTokenCallerSession) BalanceOf

func (_HumanEtherToken *HumanEtherTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

Solidity: function balanceOf(_owner address) constant returns(uint256)

func (*HumanEtherTokenCallerSession) Decimals

func (_HumanEtherToken *HumanEtherTokenCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

func (*HumanEtherTokenCallerSession) Name

func (_HumanEtherToken *HumanEtherTokenCallerSession) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*HumanEtherTokenCallerSession) Symbol

func (_HumanEtherToken *HumanEtherTokenCallerSession) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string)

func (*HumanEtherTokenCallerSession) TotalSupply

func (_HumanEtherToken *HumanEtherTokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*HumanEtherTokenCallerSession) Version

func (_HumanEtherToken *HumanEtherTokenCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() constant returns(string)

type HumanEtherTokenFilterer

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

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

func NewHumanEtherTokenFilterer

func NewHumanEtherTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*HumanEtherTokenFilterer, error)

NewHumanEtherTokenFilterer creates a new log filterer instance of HumanEtherToken, bound to a specific deployed contract.

func (*HumanEtherTokenFilterer) FilterApproval

func (_HumanEtherToken *HumanEtherTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*HumanEtherTokenApprovalIterator, error)

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

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

func (*HumanEtherTokenFilterer) FilterTransfer

func (_HumanEtherToken *HumanEtherTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*HumanEtherTokenTransferIterator, error)

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

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

func (*HumanEtherTokenFilterer) WatchApproval

func (_HumanEtherToken *HumanEtherTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *HumanEtherTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

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

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

func (*HumanEtherTokenFilterer) WatchTransfer

func (_HumanEtherToken *HumanEtherTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *HumanEtherTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

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

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

type HumanEtherTokenRaw

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

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

func (*HumanEtherTokenRaw) Call

func (_HumanEtherToken *HumanEtherTokenRaw) 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 (*HumanEtherTokenRaw) Transact

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

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

func (*HumanEtherTokenRaw) Transfer

func (_HumanEtherToken *HumanEtherTokenRaw) 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 HumanEtherTokenSession

type HumanEtherTokenSession struct {
	Contract     *HumanEtherToken  // 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
}

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

func (*HumanEtherTokenSession) Allowance

func (_HumanEtherToken *HumanEtherTokenSession) 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(_owner address, _spender address) constant returns(uint256)

func (*HumanEtherTokenSession) Approve

func (_HumanEtherToken *HumanEtherTokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(_spender address, _value uint256) returns(bool)

func (*HumanEtherTokenSession) BalanceOf

func (_HumanEtherToken *HumanEtherTokenSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

Solidity: function balanceOf(_owner address) constant returns(uint256)

func (*HumanEtherTokenSession) Buy

func (_HumanEtherToken *HumanEtherTokenSession) Buy() (*types.Transaction, error)

Buy is a paid mutator transaction binding the contract method 0xa6f2ae3a.

Solidity: function buy() returns()

func (*HumanEtherTokenSession) Decimals

func (_HumanEtherToken *HumanEtherTokenSession) Decimals() (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

func (*HumanEtherTokenSession) DecreaseApproval

func (_HumanEtherToken *HumanEtherTokenSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)

func (*HumanEtherTokenSession) IncreaseApproval

func (_HumanEtherToken *HumanEtherTokenSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)

func (*HumanEtherTokenSession) Name

func (_HumanEtherToken *HumanEtherTokenSession) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*HumanEtherTokenSession) Sell

func (_HumanEtherToken *HumanEtherTokenSession) Sell(amount *big.Int) (*types.Transaction, error)

Sell is a paid mutator transaction binding the contract method 0xe4849b32.

Solidity: function sell(amount uint256) returns()

func (*HumanEtherTokenSession) Symbol

func (_HumanEtherToken *HumanEtherTokenSession) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string)

func (*HumanEtherTokenSession) TotalSupply

func (_HumanEtherToken *HumanEtherTokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*HumanEtherTokenSession) Transfer

func (_HumanEtherToken *HumanEtherTokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(_to address, _value uint256) returns(bool)

func (*HumanEtherTokenSession) TransferFrom

func (_HumanEtherToken *HumanEtherTokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)

func (*HumanEtherTokenSession) Version

func (_HumanEtherToken *HumanEtherTokenSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() constant returns(string)

type HumanEtherTokenTransactor

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

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

func NewHumanEtherTokenTransactor

func NewHumanEtherTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*HumanEtherTokenTransactor, error)

NewHumanEtherTokenTransactor creates a new write-only instance of HumanEtherToken, bound to a specific deployed contract.

func (*HumanEtherTokenTransactor) Approve

func (_HumanEtherToken *HumanEtherTokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(_spender address, _value uint256) returns(bool)

func (*HumanEtherTokenTransactor) Buy

func (_HumanEtherToken *HumanEtherTokenTransactor) Buy(opts *bind.TransactOpts) (*types.Transaction, error)

Buy is a paid mutator transaction binding the contract method 0xa6f2ae3a.

Solidity: function buy() returns()

func (*HumanEtherTokenTransactor) DecreaseApproval

func (_HumanEtherToken *HumanEtherTokenTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)

func (*HumanEtherTokenTransactor) IncreaseApproval

func (_HumanEtherToken *HumanEtherTokenTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)

func (*HumanEtherTokenTransactor) Sell

func (_HumanEtherToken *HumanEtherTokenTransactor) Sell(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Sell is a paid mutator transaction binding the contract method 0xe4849b32.

Solidity: function sell(amount uint256) returns()

func (*HumanEtherTokenTransactor) Transfer

func (_HumanEtherToken *HumanEtherTokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(_to address, _value uint256) returns(bool)

func (*HumanEtherTokenTransactor) TransferFrom

func (_HumanEtherToken *HumanEtherTokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)

type HumanEtherTokenTransactorRaw

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

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

func (*HumanEtherTokenTransactorRaw) Transact

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

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

func (*HumanEtherTokenTransactorRaw) Transfer

func (_HumanEtherToken *HumanEtherTokenTransactorRaw) 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 HumanEtherTokenTransactorSession

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

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

func (*HumanEtherTokenTransactorSession) Approve

func (_HumanEtherToken *HumanEtherTokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(_spender address, _value uint256) returns(bool)

func (*HumanEtherTokenTransactorSession) Buy

func (_HumanEtherToken *HumanEtherTokenTransactorSession) Buy() (*types.Transaction, error)

Buy is a paid mutator transaction binding the contract method 0xa6f2ae3a.

Solidity: function buy() returns()

func (*HumanEtherTokenTransactorSession) DecreaseApproval

func (_HumanEtherToken *HumanEtherTokenTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)

func (*HumanEtherTokenTransactorSession) IncreaseApproval

func (_HumanEtherToken *HumanEtherTokenTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)

func (*HumanEtherTokenTransactorSession) Sell

func (_HumanEtherToken *HumanEtherTokenTransactorSession) Sell(amount *big.Int) (*types.Transaction, error)

Sell is a paid mutator transaction binding the contract method 0xe4849b32.

Solidity: function sell(amount uint256) returns()

func (*HumanEtherTokenTransactorSession) Transfer

func (_HumanEtherToken *HumanEtherTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(_to address, _value uint256) returns(bool)

func (*HumanEtherTokenTransactorSession) TransferFrom

func (_HumanEtherToken *HumanEtherTokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)

type HumanEtherTokenTransfer

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

HumanEtherTokenTransfer represents a Transfer event raised by the HumanEtherToken contract.

type HumanEtherTokenTransferIterator

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

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

func (*HumanEtherTokenTransferIterator) Close

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

func (*HumanEtherTokenTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HumanEtherTokenTransferIterator) 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 SafeMath

type SafeMath struct {
	SafeMathCaller     // Read-only binding to the contract
	SafeMathTransactor // Write-only binding to the contract
	SafeMathFilterer   // Log filterer for contract events
}

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

func DeploySafeMath

func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error)

DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.

func NewSafeMath

func NewSafeMath(address common.Address, backend bind.ContractBackend) (*SafeMath, error)

NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.

type SafeMathCaller

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

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

func NewSafeMathCaller

func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error)

NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.

type SafeMathCallerRaw

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

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

func (*SafeMathCallerRaw) Call

func (_SafeMath *SafeMathCallerRaw) 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 SafeMathCallerSession

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

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

type SafeMathFilterer

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

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

func NewSafeMathFilterer

func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error)

NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.

type SafeMathRaw

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

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

func (*SafeMathRaw) Call

func (_SafeMath *SafeMathRaw) 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 (*SafeMathRaw) Transact

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

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

func (*SafeMathRaw) Transfer

func (_SafeMath *SafeMathRaw) 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 SafeMathSession

type SafeMathSession struct {
	Contract     *SafeMath         // 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
}

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

type SafeMathTransactor

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

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

func NewSafeMathTransactor

func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error)

NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.

type SafeMathTransactorRaw

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

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

func (*SafeMathTransactorRaw) Transact

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

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

func (*SafeMathTransactorRaw) Transfer

func (_SafeMath *SafeMathTransactorRaw) 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 SafeMathTransactorSession

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

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

type StandardToken

type StandardToken struct {
	StandardTokenCaller     // Read-only binding to the contract
	StandardTokenTransactor // Write-only binding to the contract
	StandardTokenFilterer   // Log filterer for contract events
}

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

func DeployStandardToken

func DeployStandardToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *StandardToken, error)

DeployStandardToken deploys a new Ethereum contract, binding an instance of StandardToken to it.

func NewStandardToken

func NewStandardToken(address common.Address, backend bind.ContractBackend) (*StandardToken, error)

NewStandardToken creates a new instance of StandardToken, bound to a specific deployed contract.

type StandardTokenApproval

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

StandardTokenApproval represents a Approval event raised by the StandardToken contract.

type StandardTokenApprovalIterator

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

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

func (*StandardTokenApprovalIterator) Close

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

func (*StandardTokenApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StandardTokenApprovalIterator) 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 StandardTokenCaller

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

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

func NewStandardTokenCaller

func NewStandardTokenCaller(address common.Address, caller bind.ContractCaller) (*StandardTokenCaller, error)

NewStandardTokenCaller creates a new read-only instance of StandardToken, bound to a specific deployed contract.

func (*StandardTokenCaller) Allowance

func (_StandardToken *StandardTokenCaller) 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(_owner address, _spender address) constant returns(uint256)

func (*StandardTokenCaller) BalanceOf

func (_StandardToken *StandardTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

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

Solidity: function balanceOf(_owner address) constant returns(uint256)

func (*StandardTokenCaller) TotalSupply

func (_StandardToken *StandardTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type StandardTokenCallerRaw

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

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

func (*StandardTokenCallerRaw) Call

func (_StandardToken *StandardTokenCallerRaw) 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 StandardTokenCallerSession

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

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

func (*StandardTokenCallerSession) Allowance

func (_StandardToken *StandardTokenCallerSession) 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(_owner address, _spender address) constant returns(uint256)

func (*StandardTokenCallerSession) BalanceOf

func (_StandardToken *StandardTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

Solidity: function balanceOf(_owner address) constant returns(uint256)

func (*StandardTokenCallerSession) TotalSupply

func (_StandardToken *StandardTokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type StandardTokenFilterer

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

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

func NewStandardTokenFilterer

func NewStandardTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*StandardTokenFilterer, error)

NewStandardTokenFilterer creates a new log filterer instance of StandardToken, bound to a specific deployed contract.

func (*StandardTokenFilterer) FilterApproval

func (_StandardToken *StandardTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*StandardTokenApprovalIterator, error)

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

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

func (*StandardTokenFilterer) FilterTransfer

func (_StandardToken *StandardTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*StandardTokenTransferIterator, error)

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

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

func (*StandardTokenFilterer) WatchApproval

func (_StandardToken *StandardTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *StandardTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

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

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

func (*StandardTokenFilterer) WatchTransfer

func (_StandardToken *StandardTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *StandardTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

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

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

type StandardTokenRaw

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

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

func (*StandardTokenRaw) Call

func (_StandardToken *StandardTokenRaw) 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 (*StandardTokenRaw) Transact

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

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

func (*StandardTokenRaw) Transfer

func (_StandardToken *StandardTokenRaw) 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 StandardTokenSession

type StandardTokenSession struct {
	Contract     *StandardToken    // 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
}

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

func (*StandardTokenSession) Allowance

func (_StandardToken *StandardTokenSession) 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(_owner address, _spender address) constant returns(uint256)

func (*StandardTokenSession) Approve

func (_StandardToken *StandardTokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(_spender address, _value uint256) returns(bool)

func (*StandardTokenSession) BalanceOf

func (_StandardToken *StandardTokenSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

Solidity: function balanceOf(_owner address) constant returns(uint256)

func (*StandardTokenSession) DecreaseApproval

func (_StandardToken *StandardTokenSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)

func (*StandardTokenSession) IncreaseApproval

func (_StandardToken *StandardTokenSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)

func (*StandardTokenSession) TotalSupply

func (_StandardToken *StandardTokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*StandardTokenSession) Transfer

func (_StandardToken *StandardTokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(_to address, _value uint256) returns(bool)

func (*StandardTokenSession) TransferFrom

func (_StandardToken *StandardTokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)

type StandardTokenTransactor

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

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

func NewStandardTokenTransactor

func NewStandardTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*StandardTokenTransactor, error)

NewStandardTokenTransactor creates a new write-only instance of StandardToken, bound to a specific deployed contract.

func (*StandardTokenTransactor) Approve

func (_StandardToken *StandardTokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(_spender address, _value uint256) returns(bool)

func (*StandardTokenTransactor) DecreaseApproval

func (_StandardToken *StandardTokenTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)

func (*StandardTokenTransactor) IncreaseApproval

func (_StandardToken *StandardTokenTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)

func (*StandardTokenTransactor) Transfer

func (_StandardToken *StandardTokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(_to address, _value uint256) returns(bool)

func (*StandardTokenTransactor) TransferFrom

func (_StandardToken *StandardTokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)

type StandardTokenTransactorRaw

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

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

func (*StandardTokenTransactorRaw) Transact

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

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

func (*StandardTokenTransactorRaw) Transfer

func (_StandardToken *StandardTokenTransactorRaw) 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 StandardTokenTransactorSession

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

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

func (*StandardTokenTransactorSession) Approve

func (_StandardToken *StandardTokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(_spender address, _value uint256) returns(bool)

func (*StandardTokenTransactorSession) DecreaseApproval

func (_StandardToken *StandardTokenTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)

func (*StandardTokenTransactorSession) IncreaseApproval

func (_StandardToken *StandardTokenTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)

func (*StandardTokenTransactorSession) Transfer

func (_StandardToken *StandardTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(_to address, _value uint256) returns(bool)

func (*StandardTokenTransactorSession) TransferFrom

func (_StandardToken *StandardTokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)

type StandardTokenTransfer

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

StandardTokenTransfer represents a Transfer event raised by the StandardToken contract.

type StandardTokenTransferIterator

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

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

func (*StandardTokenTransferIterator) Close

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

func (*StandardTokenTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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