func (_Erc20Mock *Erc20MockCaller) IsOwner(opts *bind.CallOpts) (bool, error) {
	var (
		ret0 = new(bool)
	)
	out := ret0
	err := _Erc20Mock.contract.Call(opts, out, "isOwner")
	return *ret0, err
}
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() constant returns(bool)
package api
import (
	"math/big"
	"strings"
	ethereum "github.com/ethereum/go-ethereum"
	"github.com/ethereum/go-ethereum/accounts/abi"
	"github.com/ethereum/go-ethereum/accounts/abi/bind"
	"github.com/ethereum/go-ethereum/common"
	"github.com/ethereum/go-ethereum/core/types"
	"github.com/ethereum/go-ethereum/event"
)
var (
	_ = big.NewInt
	_ = strings.NewReader
	_ = ethereum.NotFound
	_ = abi.U256
	_ = bind.Bind
	_ = common.Big1
	_ = types.BloomLookup
	_ = event.NewSubscription
)
const Erc20MockABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"spender\",\"type\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"from\",\"type\":\"address\"},{\"name\":\"to\",\"type\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"spender\",\"type\":\"address\"},{\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"to\",\"type\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"isOwner\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"account\",\"type\":\"address\"}],\"name\":\"addMinter\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"renounceMinter\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"spender\",\"type\":\"address\"},{\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"to\",\"type\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isMinter\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"owner\",\"type\":\"address\"},{\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"account\",\"type\":\"address\"}],\"name\":\"MinterAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"account\",\"type\":\"address\"}],\"name\":\"MinterRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"}]"
const Erc20MockBin = `0x60c0604052600a60808190527f4d6f636b20746f6b656e0000000000000000000000000000000000000000000060a0908152620000409160059190620001d8565b506040805180820190915260038082527f4d434b000000000000000000000000000000000000000000000000000000000060209092019182526200008791600691620001d8565b506012600755620000a133640100000000620000f3810204565b60048054600160a060020a031916331790819055604051600160a060020a0391909116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36200027d565b6200010e60038264010000000062000b9b6200014582021704565b604051600160a060020a038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b600160a060020a03811615156200015b57600080fd5b620001708282640100000000620001a0810204565b156200017b57600080fd5b600160a060020a0316600090815260209190915260409020805460ff19166001179055565b6000600160a060020a0382161515620001b857600080fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200021b57805160ff19168380011785556200024b565b828001600101855582156200024b579182015b828111156200024b5782518255916020019190600101906200022e565b50620002599291506200025d565b5090565b6200027a91905b8082111562000259576000815560010162000264565b90565b610c61806200028d6000396000f3fe608060405234801561001057600080fd5b506004361061013e576000357c0100000000000000000000000000000000000000000000000000000000900480638da5cb5b116100ca578063a457c2d71161008e578063a457c2d714610342578063a9059cbb1461036e578063aa271e1a1461039a578063dd62ed3e146103c0578063f2fde38b146103ee5761013e565b80638da5cb5b146102e05780638f32d59b1461030457806395d89b411461030c578063983b2d5614610314578063986502751461033a5761013e565b8063313ce56711610111578063313ce56714610250578063395093511461025857806340c10f191461028457806370a08231146102b0578063715018a6146102d65761013e565b806306fdde0314610143578063095ea7b3146101c057806318160ddd1461020057806323b872dd1461021a575b600080fd5b61014b610414565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561018557818101518382015260200161016d565b50505050905090810190601f1680156101b25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101ec600480360360408110156101d657600080fd5b50600160a060020a0381351690602001356104a2565b604080519115158252519081900360200190f35b610208610520565b60408051918252519081900360200190f35b6101ec6004803603606081101561023057600080fd5b50600160a060020a03813581169160208101359091169060400135610526565b6102086105ef565b6101ec6004803603604081101561026e57600080fd5b50600160a060020a0381351690602001356105f5565b6101ec6004803603604081101561029a57600080fd5b50600160a060020a0381351690602001356106a5565b610208600480360360208110156102c657600080fd5b5035600160a060020a03166106ce565b6102de6106e9565b005b6102e8610753565b60408051600160a060020a039092168252519081900360200190f35b6101ec610762565b61014b610773565b6102de6004803603602081101561032a57600080fd5b5035600160a060020a03166107ce565b6102de6107ee565b6101ec6004803603604081101561035857600080fd5b50600160a060020a0381351690602001356107f9565b6101ec6004803603604081101561038457600080fd5b50600160a060020a038135169060200135610844565b6101ec600480360360208110156103b057600080fd5b5035600160a060020a0316610851565b610208600480360360408110156103d657600080fd5b50600160a060020a038135811691602001351661086a565b6102de6004803603602081101561040457600080fd5b5035600160a060020a0316610895565b6005805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561049a5780601f1061046f5761010080835404028352916020019161049a565b820191906000526020600020905b81548152906001019060200180831161047d57829003601f168201915b505050505081565b6000600160a060020a03831615156104b957600080fd5b336000818152600160209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60025490565b600160a060020a038316600090815260016020908152604080832033845290915281205461055a908363ffffffff6108b116565b600160a060020a03851660009081526001602090815260408083203384529091529020556105898484846108c6565b600160a060020a0384166000818152600160209081526040808320338085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b60075481565b6000600160a060020a038316151561060c57600080fd5b336000908152600160209081526040808320600160a060020a0387168452909152902054610640908363ffffffff61099316565b336000818152600160209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b60006106b033610851565b15156106bb57600080fd5b6106c583836109ac565b50600192915050565b600160a060020a031660009081526020819052604090205490565b6106f1610762565b15156106fc57600080fd5b600454604051600091600160a060020a0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36004805473ffffffffffffffffffffffffffffffffffffffff19169055565b600454600160a060020a031690565b600454600160a060020a0316331490565b6006805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561049a5780601f1061046f5761010080835404028352916020019161049a565b6107d733610851565b15156107e257600080fd5b6107eb81610a56565b50565b6107f733610a9e565b565b6000600160a060020a038316151561081057600080fd5b336000908152600160209081526040808320600160a060020a0387168452909152902054610640908363ffffffff6108b116565b60006106c53384846108c6565b600061086460038363ffffffff610ae616565b92915050565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b61089d610762565b15156108a857600080fd5b6107eb81610b1d565b6000828211156108c057600080fd5b50900390565b600160a060020a03821615156108db57600080fd5b600160a060020a038316600090815260208190526040902054610904908263ffffffff6108b116565b600160a060020a038085166000908152602081905260408082209390935590841681522054610939908263ffffffff61099316565b600160a060020a038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000828201838110156109a557600080fd5b9392505050565b600160a060020a03821615156109c157600080fd5b6002546109d4908263ffffffff61099316565b600255600160a060020a038216600090815260208190526040902054610a00908263ffffffff61099316565b600160a060020a0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b610a6760038263ffffffff610b9b16565b604051600160a060020a038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b610aaf60038263ffffffff610be916565b604051600160a060020a038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b6000600160a060020a0382161515610afd57600080fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b600160a060020a0381161515610b3257600080fd5b600454604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a0381161515610bb057600080fd5b610bba8282610ae6565b15610bc457600080fd5b600160a060020a0316600090815260209190915260409020805460ff19166001179055565b600160a060020a0381161515610bfe57600080fd5b610c088282610ae6565b1515610c1357600080fd5b600160a060020a0316600090815260209190915260409020805460ff1916905556fea165627a7a72305820cfb85e1746e162de618a5865cb49aa4a64c7b34c04f3506f0166f6767bb122b50029`
func DeployErc20Mock(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Erc20Mock, error) {
	parsed, err := abi.JSON(strings.NewReader(Erc20MockABI))
	if err != nil {
		return common.Address{}, nil, nil, err
	}
	address, tx, contract, err := bind.DeployContract(auth, parsed, common.FromHex(Erc20MockBin), backend)
	if err != nil {
		return common.Address{}, nil, nil, err
	}
	return address, tx, &Erc20Mock{Erc20MockCaller: Erc20MockCaller{contract: contract}, Erc20MockTransactor: Erc20MockTransactor{contract: contract}, Erc20MockFilterer: Erc20MockFilterer{contract: contract}}, nil
}
type Erc20Mock struct {
	Erc20MockCaller      
	Erc20MockTransactor  
	Erc20MockFilterer    
}
type Erc20MockCaller struct {
	contract *bind.BoundContract  
}
type Erc20MockTransactor struct {
	contract *bind.BoundContract  
}
type Erc20MockFilterer struct {
	contract *bind.BoundContract  
}
type Erc20MockSession struct {
	Contract     *Erc20Mock         
	CallOpts     bind.CallOpts      
	TransactOpts bind.TransactOpts  
}
type Erc20MockCallerSession struct {
	Contract *Erc20MockCaller  
	CallOpts bind.CallOpts     
}
type Erc20MockTransactorSession struct {
	Contract     *Erc20MockTransactor  
	TransactOpts bind.TransactOpts     
}
type Erc20MockRaw struct {
	Contract *Erc20Mock  
}
type Erc20MockCallerRaw struct {
	Contract *Erc20MockCaller  
}
type Erc20MockTransactorRaw struct {
	Contract *Erc20MockTransactor  
}
func NewErc20Mock(address common.Address, backend bind.ContractBackend) (*Erc20Mock, error) {
	contract, err := bindErc20Mock(address, backend, backend, backend)
	if err != nil {
		return nil, err
	}
	return &Erc20Mock{Erc20MockCaller: Erc20MockCaller{contract: contract}, Erc20MockTransactor: Erc20MockTransactor{contract: contract}, Erc20MockFilterer: Erc20MockFilterer{contract: contract}}, nil
}
func NewErc20MockCaller(address common.Address, caller bind.ContractCaller) (*Erc20MockCaller, error) {
	contract, err := bindErc20Mock(address, caller, nil, nil)
	if err != nil {
		return nil, err
	}
	return &Erc20MockCaller{contract: contract}, nil
}
func NewErc20MockTransactor(address common.Address, transactor bind.ContractTransactor) (*Erc20MockTransactor, error) {
	contract, err := bindErc20Mock(address, nil, transactor, nil)
	if err != nil {
		return nil, err
	}
	return &Erc20MockTransactor{contract: contract}, nil
}
func NewErc20MockFilterer(address common.Address, filterer bind.ContractFilterer) (*Erc20MockFilterer, error) {
	contract, err := bindErc20Mock(address, nil, nil, filterer)
	if err != nil {
		return nil, err
	}
	return &Erc20MockFilterer{contract: contract}, nil
}
func bindErc20Mock(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
	parsed, err := abi.JSON(strings.NewReader(Erc20MockABI))
	if err != nil {
		return nil, err
	}
	return bind.NewBoundContract(address, parsed, caller, transactor, filterer), nil
}
func (_Erc20Mock *Erc20MockRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error {
	return _Erc20Mock.Contract.Erc20MockCaller.contract.Call(opts, result, method, params...)
}
func (_Erc20Mock *Erc20MockRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
	return _Erc20Mock.Contract.Erc20MockTransactor.contract.Transfer(opts)
}
func (_Erc20Mock *Erc20MockRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
	return _Erc20Mock.Contract.Erc20MockTransactor.contract.Transact(opts, method, params...)
}
func (_Erc20Mock *Erc20MockCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error {
	return _Erc20Mock.Contract.contract.Call(opts, result, method, params...)
}
func (_Erc20Mock *Erc20MockTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
	return _Erc20Mock.Contract.contract.Transfer(opts)
}
func (_Erc20Mock *Erc20MockTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
	return _Erc20Mock.Contract.contract.Transact(opts, method, params...)
}
func (_Erc20Mock *Erc20MockCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error) {
	var (
		ret0 = new(*big.Int)
	)
	out := ret0
	err := _Erc20Mock.contract.Call(opts, out, "allowance", owner, spender)
	return *ret0, err
}
func (_Erc20Mock *Erc20MockSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error) {
	return _Erc20Mock.Contract.Allowance(&_Erc20Mock.CallOpts, owner, spender)
}
func (_Erc20Mock *Erc20MockCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error) {
	return _Erc20Mock.Contract.Allowance(&_Erc20Mock.CallOpts, owner, spender)
}
func (_Erc20Mock *Erc20MockCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) {
	var (
		ret0 = new(*big.Int)
	)
	out := ret0
	err := _Erc20Mock.contract.Call(opts, out, "balanceOf", owner)
	return *ret0, err
}
func (_Erc20Mock *Erc20MockSession) BalanceOf(owner common.Address) (*big.Int, error) {
	return _Erc20Mock.Contract.BalanceOf(&_Erc20Mock.CallOpts, owner)
}
func (_Erc20Mock *Erc20MockCallerSession) BalanceOf(owner common.Address) (*big.Int, error) {
	return _Erc20Mock.Contract.BalanceOf(&_Erc20Mock.CallOpts, owner)
}
func (_Erc20Mock *Erc20MockCaller) Decimals(opts *bind.CallOpts) (*big.Int, error) {
	var (
		ret0 = new(*big.Int)
	)
	out := ret0
	err := _Erc20Mock.contract.Call(opts, out, "decimals")
	return *ret0, err
}
func (_Erc20Mock *Erc20MockSession) Decimals() (*big.Int, error) {
	return _Erc20Mock.Contract.Decimals(&_Erc20Mock.CallOpts)
}
func (_Erc20Mock *Erc20MockCallerSession) Decimals() (*big.Int, error) {
	return _Erc20Mock.Contract.Decimals(&_Erc20Mock.CallOpts)
}
func (_Erc20Mock *Erc20MockCaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error) {
	var (
		ret0 = new(bool)
	)
	out := ret0
	err := _Erc20Mock.contract.Call(opts, out, "isMinter", account)
	return *ret0, err
}
func (_Erc20Mock *Erc20MockSession) IsMinter(account common.Address) (bool, error) {
	return _Erc20Mock.Contract.IsMinter(&_Erc20Mock.CallOpts, account)
}
func (_Erc20Mock *Erc20MockCallerSession) IsMinter(account common.Address) (bool, error) {
	return _Erc20Mock.Contract.IsMinter(&_Erc20Mock.CallOpts, account)
}