markettoken

package
v0.0.0-...-f2e8c00 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const MarketTokenABI = "" /* 4706-byte string literal not displayed */

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

View Source
const MarketTokenBin = `` /* 5742-byte string literal not displayed */

MarketTokenBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type MarketToken

type MarketToken struct {
	MarketTokenCaller     // Read-only binding to the contract
	MarketTokenTransactor // Write-only binding to the contract
	MarketTokenFilterer   // Log filterer for contract events
}

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

func DeployMarketToken

func DeployMarketToken(auth *bind.TransactOpts, backend bind.ContractBackend, initial_account common.Address, initial_balance *big.Int) (common.Address, *types.Transaction, *MarketToken, error)

DeployMarketToken deploys a new Ethereum contract, binding an instance of MarketToken to it.

func NewMarketToken

func NewMarketToken(address common.Address, backend bind.ContractBackend) (*MarketToken, error)

NewMarketToken creates a new instance of MarketToken, bound to a specific deployed contract.

type MarketTokenApproval

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

MarketTokenApproval represents a Approval event raised by the MarketToken contract.

type MarketTokenApprovalIterator

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

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

func (*MarketTokenApprovalIterator) Close

func (it *MarketTokenApprovalIterator) Close() error

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

func (*MarketTokenApprovalIterator) Error

func (it *MarketTokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MarketTokenApprovalIterator) Next

func (it *MarketTokenApprovalIterator) 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 MarketTokenBurned

type MarketTokenBurned struct {
	Burner common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

MarketTokenBurned represents a Burned event raised by the MarketToken contract.

type MarketTokenBurnedIterator

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

MarketTokenBurnedIterator is returned from FilterBurned and is used to iterate over the raw logs and unpacked data for Burned events raised by the MarketToken contract.

func (*MarketTokenBurnedIterator) Close

func (it *MarketTokenBurnedIterator) Close() error

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

func (*MarketTokenBurnedIterator) Error

func (it *MarketTokenBurnedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MarketTokenBurnedIterator) Next

func (it *MarketTokenBurnedIterator) 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 MarketTokenCaller

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

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

func NewMarketTokenCaller

func NewMarketTokenCaller(address common.Address, caller bind.ContractCaller) (*MarketTokenCaller, error)

NewMarketTokenCaller creates a new read-only instance of MarketToken, bound to a specific deployed contract.

func (*MarketTokenCaller) Allowance

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

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

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

func (*MarketTokenCaller) BalanceOf

func (_MarketToken *MarketTokenCaller) 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(address owner) constant returns(uint256 out)

func (*MarketTokenCaller) Decimals

func (_MarketToken *MarketTokenCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function decimals() constant returns(uint256 out)

func (*MarketTokenCaller) GetPrivileged

func (_MarketToken *MarketTokenCaller) GetPrivileged(opts *bind.CallOpts) (common.Address, common.Address, error)

GetPrivileged is a free data retrieval call binding the contract method 0xd4c17539.

Solidity: function getPrivileged() constant returns(address out, address out)

func (*MarketTokenCaller) HasPrivilege

func (_MarketToken *MarketTokenCaller) HasPrivilege(opts *bind.CallOpts, sender common.Address) (bool, error)

HasPrivilege is a free data retrieval call binding the contract method 0xb7bf210c.

Solidity: function hasPrivilege(address sender) constant returns(bool out)

func (*MarketTokenCaller) Symbol

func (_MarketToken *MarketTokenCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() constant returns(string out)

func (*MarketTokenCaller) TotalSupply

func (_MarketToken *MarketTokenCaller) 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 out)

type MarketTokenCallerRaw

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

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

func (*MarketTokenCallerRaw) Call

func (_MarketToken *MarketTokenCallerRaw) 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 MarketTokenCallerSession

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

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

func (*MarketTokenCallerSession) Allowance

func (_MarketToken *MarketTokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*MarketTokenCallerSession) BalanceOf

func (_MarketToken *MarketTokenCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address owner) constant returns(uint256 out)

func (*MarketTokenCallerSession) Decimals

func (_MarketToken *MarketTokenCallerSession) Decimals() (*big.Int, error)

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

Solidity: function decimals() constant returns(uint256 out)

func (*MarketTokenCallerSession) GetPrivileged

func (_MarketToken *MarketTokenCallerSession) GetPrivileged() (common.Address, common.Address, error)

GetPrivileged is a free data retrieval call binding the contract method 0xd4c17539.

Solidity: function getPrivileged() constant returns(address out, address out)

func (*MarketTokenCallerSession) HasPrivilege

func (_MarketToken *MarketTokenCallerSession) HasPrivilege(sender common.Address) (bool, error)

HasPrivilege is a free data retrieval call binding the contract method 0xb7bf210c.

Solidity: function hasPrivilege(address sender) constant returns(bool out)

func (*MarketTokenCallerSession) Symbol

func (_MarketToken *MarketTokenCallerSession) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string out)

func (*MarketTokenCallerSession) TotalSupply

func (_MarketToken *MarketTokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256 out)

type MarketTokenFilterer

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

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

func NewMarketTokenFilterer

func NewMarketTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*MarketTokenFilterer, error)

NewMarketTokenFilterer creates a new log filterer instance of MarketToken, bound to a specific deployed contract.

func (*MarketTokenFilterer) FilterApproval

func (_MarketToken *MarketTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*MarketTokenApprovalIterator, error)

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

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

func (*MarketTokenFilterer) FilterBurned

func (_MarketToken *MarketTokenFilterer) FilterBurned(opts *bind.FilterOpts, burner []common.Address) (*MarketTokenBurnedIterator, error)

FilterBurned is a free log retrieval operation binding the contract event 0x696de425f79f4a40bc6d2122ca50507f0efbeabbff86a84871b7196ab8ea8df7.

Solidity: event Burned(address indexed burner, uint256 amount)

func (*MarketTokenFilterer) FilterMinted

func (_MarketToken *MarketTokenFilterer) FilterMinted(opts *bind.FilterOpts, to []common.Address) (*MarketTokenMintedIterator, error)

FilterMinted is a free log retrieval operation binding the contract event 0x30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe.

Solidity: event Minted(address indexed to, uint256 amount)

func (*MarketTokenFilterer) FilterTransfer

func (_MarketToken *MarketTokenFilterer) FilterTransfer(opts *bind.FilterOpts, source []common.Address, to []common.Address) (*MarketTokenTransferIterator, error)

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

Solidity: event Transfer(address indexed source, address indexed to, uint256 amount)

func (*MarketTokenFilterer) WatchApproval

func (_MarketToken *MarketTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MarketTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

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

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

func (*MarketTokenFilterer) WatchBurned

func (_MarketToken *MarketTokenFilterer) WatchBurned(opts *bind.WatchOpts, sink chan<- *MarketTokenBurned, burner []common.Address) (event.Subscription, error)

WatchBurned is a free log subscription operation binding the contract event 0x696de425f79f4a40bc6d2122ca50507f0efbeabbff86a84871b7196ab8ea8df7.

Solidity: event Burned(address indexed burner, uint256 amount)

func (*MarketTokenFilterer) WatchMinted

func (_MarketToken *MarketTokenFilterer) WatchMinted(opts *bind.WatchOpts, sink chan<- *MarketTokenMinted, to []common.Address) (event.Subscription, error)

WatchMinted is a free log subscription operation binding the contract event 0x30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe.

Solidity: event Minted(address indexed to, uint256 amount)

func (*MarketTokenFilterer) WatchTransfer

func (_MarketToken *MarketTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MarketTokenTransfer, source []common.Address, to []common.Address) (event.Subscription, error)

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

Solidity: event Transfer(address indexed source, address indexed to, uint256 amount)

type MarketTokenMinted

type MarketTokenMinted struct {
	To     common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

MarketTokenMinted represents a Minted event raised by the MarketToken contract.

type MarketTokenMintedIterator

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

MarketTokenMintedIterator is returned from FilterMinted and is used to iterate over the raw logs and unpacked data for Minted events raised by the MarketToken contract.

func (*MarketTokenMintedIterator) Close

func (it *MarketTokenMintedIterator) Close() error

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

func (*MarketTokenMintedIterator) Error

func (it *MarketTokenMintedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MarketTokenMintedIterator) Next

func (it *MarketTokenMintedIterator) 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 MarketTokenRaw

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

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

func (*MarketTokenRaw) Call

func (_MarketToken *MarketTokenRaw) 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 (*MarketTokenRaw) Transact

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

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

func (*MarketTokenRaw) Transfer

func (_MarketToken *MarketTokenRaw) 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 MarketTokenSession

type MarketTokenSession struct {
	Contract     *MarketToken      // 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
}

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

func (*MarketTokenSession) Allowance

func (_MarketToken *MarketTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*MarketTokenSession) Approve

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

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

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

func (*MarketTokenSession) BalanceOf

func (_MarketToken *MarketTokenSession) BalanceOf(owner common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address owner) constant returns(uint256 out)

func (*MarketTokenSession) Burn

func (_MarketToken *MarketTokenSession) Burn(amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 amount) returns()

func (*MarketTokenSession) BurnAll

func (_MarketToken *MarketTokenSession) BurnAll(owner common.Address) (*types.Transaction, error)

BurnAll is a paid mutator transaction binding the contract method 0x7e9d2ac1.

Solidity: function burnAll(address owner) returns()

func (*MarketTokenSession) Decimals

func (_MarketToken *MarketTokenSession) Decimals() (*big.Int, error)

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

Solidity: function decimals() constant returns(uint256 out)

func (*MarketTokenSession) DecreaseAllowance

func (_MarketToken *MarketTokenSession) DecreaseAllowance(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*MarketTokenSession) GetPrivileged

func (_MarketToken *MarketTokenSession) GetPrivileged() (common.Address, common.Address, error)

GetPrivileged is a free data retrieval call binding the contract method 0xd4c17539.

Solidity: function getPrivileged() constant returns(address out, address out)

func (*MarketTokenSession) HasPrivilege

func (_MarketToken *MarketTokenSession) HasPrivilege(sender common.Address) (bool, error)

HasPrivilege is a free data retrieval call binding the contract method 0xb7bf210c.

Solidity: function hasPrivilege(address sender) constant returns(bool out)

func (*MarketTokenSession) IncreaseAllowance

func (_MarketToken *MarketTokenSession) IncreaseAllowance(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*MarketTokenSession) Mint

func (_MarketToken *MarketTokenSession) Mint(amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(uint256 amount) returns()

func (*MarketTokenSession) SetPrivileged

func (_MarketToken *MarketTokenSession) SetPrivileged(reserve common.Address, listing common.Address) (*types.Transaction, error)

SetPrivileged is a paid mutator transaction binding the contract method 0xb01e369f.

Solidity: function setPrivileged(address reserve, address listing) returns()

func (*MarketTokenSession) Symbol

func (_MarketToken *MarketTokenSession) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string out)

func (*MarketTokenSession) TotalSupply

func (_MarketToken *MarketTokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256 out)

func (*MarketTokenSession) Transfer

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

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

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

func (*MarketTokenSession) TransferFrom

func (_MarketToken *MarketTokenSession) TransferFrom(source common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

type MarketTokenTransactor

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

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

func NewMarketTokenTransactor

func NewMarketTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*MarketTokenTransactor, error)

NewMarketTokenTransactor creates a new write-only instance of MarketToken, bound to a specific deployed contract.

func (*MarketTokenTransactor) Approve

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

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

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

func (*MarketTokenTransactor) Burn

func (_MarketToken *MarketTokenTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 amount) returns()

func (*MarketTokenTransactor) BurnAll

func (_MarketToken *MarketTokenTransactor) BurnAll(opts *bind.TransactOpts, owner common.Address) (*types.Transaction, error)

BurnAll is a paid mutator transaction binding the contract method 0x7e9d2ac1.

Solidity: function burnAll(address owner) returns()

func (*MarketTokenTransactor) DecreaseAllowance

func (_MarketToken *MarketTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*MarketTokenTransactor) IncreaseAllowance

func (_MarketToken *MarketTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*MarketTokenTransactor) Mint

func (_MarketToken *MarketTokenTransactor) Mint(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(uint256 amount) returns()

func (*MarketTokenTransactor) SetPrivileged

func (_MarketToken *MarketTokenTransactor) SetPrivileged(opts *bind.TransactOpts, reserve common.Address, listing common.Address) (*types.Transaction, error)

SetPrivileged is a paid mutator transaction binding the contract method 0xb01e369f.

Solidity: function setPrivileged(address reserve, address listing) returns()

func (*MarketTokenTransactor) Transfer

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

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

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

func (*MarketTokenTransactor) TransferFrom

func (_MarketToken *MarketTokenTransactor) TransferFrom(opts *bind.TransactOpts, source common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

type MarketTokenTransactorRaw

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

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

func (*MarketTokenTransactorRaw) Transact

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

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

func (*MarketTokenTransactorRaw) Transfer

func (_MarketToken *MarketTokenTransactorRaw) 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 MarketTokenTransactorSession

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

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

func (*MarketTokenTransactorSession) Approve

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

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

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

func (*MarketTokenTransactorSession) Burn

func (_MarketToken *MarketTokenTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 amount) returns()

func (*MarketTokenTransactorSession) BurnAll

func (_MarketToken *MarketTokenTransactorSession) BurnAll(owner common.Address) (*types.Transaction, error)

BurnAll is a paid mutator transaction binding the contract method 0x7e9d2ac1.

Solidity: function burnAll(address owner) returns()

func (*MarketTokenTransactorSession) DecreaseAllowance

func (_MarketToken *MarketTokenTransactorSession) DecreaseAllowance(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*MarketTokenTransactorSession) IncreaseAllowance

func (_MarketToken *MarketTokenTransactorSession) IncreaseAllowance(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*MarketTokenTransactorSession) Mint

func (_MarketToken *MarketTokenTransactorSession) Mint(amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(uint256 amount) returns()

func (*MarketTokenTransactorSession) SetPrivileged

func (_MarketToken *MarketTokenTransactorSession) SetPrivileged(reserve common.Address, listing common.Address) (*types.Transaction, error)

SetPrivileged is a paid mutator transaction binding the contract method 0xb01e369f.

Solidity: function setPrivileged(address reserve, address listing) returns()

func (*MarketTokenTransactorSession) Transfer

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

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

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

func (*MarketTokenTransactorSession) TransferFrom

func (_MarketToken *MarketTokenTransactorSession) TransferFrom(source common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

type MarketTokenTransfer

type MarketTokenTransfer struct {
	Source common.Address
	To     common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

MarketTokenTransfer represents a Transfer event raised by the MarketToken contract.

type MarketTokenTransferIterator

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

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

func (*MarketTokenTransferIterator) Close

func (it *MarketTokenTransferIterator) Close() error

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

func (*MarketTokenTransferIterator) Error

func (it *MarketTokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MarketTokenTransferIterator) Next

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

Jump to

Keyboard shortcuts

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