contracts

package
v0.0.0-...-83a6b3d Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2017 License: MIT Imports: 6 Imported by: 3

Documentation

Index

Constants

View Source
const OwnedABI = "" /* 468-byte string literal not displayed */

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

View Source
const OwnedBin = `` /* 818-byte string literal not displayed */

OwnedBin is the compiled bytecode used for deploying new contracts.

View Source
const TobaTokenABI = "" /* 4086-byte string literal not displayed */

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

View Source
const TobaTokenBin = `` /* 6074-byte string literal not displayed */

TobaTokenBin is the compiled bytecode used for deploying new contracts.

View Source
const TokenRecipientABI = "" /* 327-byte string literal not displayed */

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

View Source
const TokenRecipientBin = `0x`

TokenRecipientBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type Owned

type Owned struct {
	OwnedCaller     // Read-only binding to the contract
	OwnedTransactor // Write-only binding to the contract
}

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

func DeployOwned

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

DeployOwned deploys a new Ethereum contract, binding an instance of Owned to it.

func NewOwned

func NewOwned(address common.Address, backend bind.ContractBackend) (*Owned, error)

NewOwned creates a new instance of Owned, bound to a specific deployed contract.

type OwnedCaller

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

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

func NewOwnedCaller

func NewOwnedCaller(address common.Address, caller bind.ContractCaller) (*OwnedCaller, error)

NewOwnedCaller creates a new read-only instance of Owned, bound to a specific deployed contract.

func (*OwnedCaller) Owner

func (_Owned *OwnedCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

type OwnedCallerRaw

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

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

func (*OwnedCallerRaw) Call

func (_Owned *OwnedCallerRaw) 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 OwnedCallerSession

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

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

func (*OwnedCallerSession) Owner

func (_Owned *OwnedCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

type OwnedRaw

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

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

func (*OwnedRaw) Call

func (_Owned *OwnedRaw) 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 (*OwnedRaw) Transact

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

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

func (*OwnedRaw) Transfer

func (_Owned *OwnedRaw) 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 OwnedSession

type OwnedSession struct {
	Contract     *Owned            // 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
}

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

func (*OwnedSession) Owner

func (_Owned *OwnedSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*OwnedSession) TransferOwnership

func (_Owned *OwnedSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(newOwner address) returns()

type OwnedTransactor

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

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

func NewOwnedTransactor

func NewOwnedTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnedTransactor, error)

NewOwnedTransactor creates a new write-only instance of Owned, bound to a specific deployed contract.

func (*OwnedTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(newOwner address) returns()

type OwnedTransactorRaw

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

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

func (*OwnedTransactorRaw) Transact

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

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

func (*OwnedTransactorRaw) Transfer

func (_Owned *OwnedTransactorRaw) 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 OwnedTransactorSession

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

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

func (*OwnedTransactorSession) TransferOwnership

func (_Owned *OwnedTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(newOwner address) returns()

type TobaToken

type TobaToken struct {
	TobaTokenCaller     // Read-only binding to the contract
	TobaTokenTransactor // Write-only binding to the contract
}

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

func DeployTobaToken

func DeployTobaToken(auth *bind.TransactOpts, backend bind.ContractBackend, initialSupply *big.Int, tokenName string, tokenSymbol string) (common.Address, *types.Transaction, *TobaToken, error)

DeployTobaToken deploys a new Ethereum contract, binding an instance of TobaToken to it.

func NewTobaToken

func NewTobaToken(address common.Address, backend bind.ContractBackend) (*TobaToken, error)

NewTobaToken creates a new instance of TobaToken, bound to a specific deployed contract.

type TobaTokenCaller

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

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

func NewTobaTokenCaller

func NewTobaTokenCaller(address common.Address, caller bind.ContractCaller) (*TobaTokenCaller, error)

NewTobaTokenCaller creates a new read-only instance of TobaToken, bound to a specific deployed contract.

func (*TobaTokenCaller) Allowance

func (_TobaToken *TobaTokenCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

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

Solidity: function allowance( address, address) constant returns(uint256)

func (*TobaTokenCaller) BalanceOf

func (_TobaToken *TobaTokenCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

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

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

func (*TobaTokenCaller) Decimals

func (_TobaToken *TobaTokenCaller) 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 (*TobaTokenCaller) Name

func (_TobaToken *TobaTokenCaller) 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 (*TobaTokenCaller) Owner

func (_TobaToken *TobaTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*TobaTokenCaller) Symbol

func (_TobaToken *TobaTokenCaller) 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 (*TobaTokenCaller) TotalSupply

func (_TobaToken *TobaTokenCaller) 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 TobaTokenCallerRaw

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

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

func (*TobaTokenCallerRaw) Call

func (_TobaToken *TobaTokenCallerRaw) 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 TobaTokenCallerSession

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

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

func (*TobaTokenCallerSession) Allowance

func (_TobaToken *TobaTokenCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

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

Solidity: function allowance( address, address) constant returns(uint256)

func (*TobaTokenCallerSession) BalanceOf

func (_TobaToken *TobaTokenCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

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

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

func (*TobaTokenCallerSession) Decimals

func (_TobaToken *TobaTokenCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

func (*TobaTokenCallerSession) Name

func (_TobaToken *TobaTokenCallerSession) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*TobaTokenCallerSession) Owner

func (_TobaToken *TobaTokenCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*TobaTokenCallerSession) Symbol

func (_TobaToken *TobaTokenCallerSession) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string)

func (*TobaTokenCallerSession) TotalSupply

func (_TobaToken *TobaTokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type TobaTokenRaw

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

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

func (*TobaTokenRaw) Call

func (_TobaToken *TobaTokenRaw) 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 (*TobaTokenRaw) Transact

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

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

func (*TobaTokenRaw) Transfer

func (_TobaToken *TobaTokenRaw) 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 TobaTokenSession

type TobaTokenSession struct {
	Contract     *TobaToken        // 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
}

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

func (*TobaTokenSession) Allowance

func (_TobaToken *TobaTokenSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

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

Solidity: function allowance( address, address) constant returns(uint256)

func (*TobaTokenSession) Approve

func (_TobaToken *TobaTokenSession) 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(success bool)

func (*TobaTokenSession) ApproveAndCall

func (_TobaToken *TobaTokenSession) ApproveAndCall(_spender common.Address, _value *big.Int, _extraData []byte) (*types.Transaction, error)

ApproveAndCall is a paid mutator transaction binding the contract method 0xcae9ca51.

Solidity: function approveAndCall(_spender address, _value uint256, _extraData bytes) returns(success bool)

func (*TobaTokenSession) BalanceOf

func (_TobaToken *TobaTokenSession) BalanceOf(arg0 common.Address) (*big.Int, error)

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

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

func (*TobaTokenSession) Burn

func (_TobaToken *TobaTokenSession) Burn(_value *big.Int) (*types.Transaction, error)

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

Solidity: function burn(_value uint256) returns(success bool)

func (*TobaTokenSession) BurnFrom

func (_TobaToken *TobaTokenSession) BurnFrom(_from common.Address, _value *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(_from address, _value uint256) returns(success bool)

func (*TobaTokenSession) Decimals

func (_TobaToken *TobaTokenSession) Decimals() (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

func (*TobaTokenSession) MintToken

func (_TobaToken *TobaTokenSession) MintToken(target common.Address, mintedAmount *big.Int) (*types.Transaction, error)

MintToken is a paid mutator transaction binding the contract method 0x79c65068.

Solidity: function mintToken(target address, mintedAmount uint256) returns()

func (*TobaTokenSession) Name

func (_TobaToken *TobaTokenSession) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*TobaTokenSession) Owner

func (_TobaToken *TobaTokenSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*TobaTokenSession) Symbol

func (_TobaToken *TobaTokenSession) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string)

func (*TobaTokenSession) TotalSupply

func (_TobaToken *TobaTokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*TobaTokenSession) Transfer

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

func (*TobaTokenSession) TransferFrom

func (_TobaToken *TobaTokenSession) 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(success bool)

func (*TobaTokenSession) TransferOwnership

func (_TobaToken *TobaTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(newOwner address) returns()

type TobaTokenTransactor

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

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

func NewTobaTokenTransactor

func NewTobaTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*TobaTokenTransactor, error)

NewTobaTokenTransactor creates a new write-only instance of TobaToken, bound to a specific deployed contract.

func (*TobaTokenTransactor) Approve

func (_TobaToken *TobaTokenTransactor) 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(success bool)

func (*TobaTokenTransactor) ApproveAndCall

func (_TobaToken *TobaTokenTransactor) ApproveAndCall(opts *bind.TransactOpts, _spender common.Address, _value *big.Int, _extraData []byte) (*types.Transaction, error)

ApproveAndCall is a paid mutator transaction binding the contract method 0xcae9ca51.

Solidity: function approveAndCall(_spender address, _value uint256, _extraData bytes) returns(success bool)

func (*TobaTokenTransactor) Burn

func (_TobaToken *TobaTokenTransactor) Burn(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)

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

Solidity: function burn(_value uint256) returns(success bool)

func (*TobaTokenTransactor) BurnFrom

func (_TobaToken *TobaTokenTransactor) BurnFrom(opts *bind.TransactOpts, _from common.Address, _value *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(_from address, _value uint256) returns(success bool)

func (*TobaTokenTransactor) MintToken

func (_TobaToken *TobaTokenTransactor) MintToken(opts *bind.TransactOpts, target common.Address, mintedAmount *big.Int) (*types.Transaction, error)

MintToken is a paid mutator transaction binding the contract method 0x79c65068.

Solidity: function mintToken(target address, mintedAmount uint256) returns()

func (*TobaTokenTransactor) Transfer

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

func (*TobaTokenTransactor) TransferFrom

func (_TobaToken *TobaTokenTransactor) 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(success bool)

func (*TobaTokenTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(newOwner address) returns()

type TobaTokenTransactorRaw

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

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

func (*TobaTokenTransactorRaw) Transact

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

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

func (*TobaTokenTransactorRaw) Transfer

func (_TobaToken *TobaTokenTransactorRaw) 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 TobaTokenTransactorSession

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

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

func (*TobaTokenTransactorSession) Approve

func (_TobaToken *TobaTokenTransactorSession) 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(success bool)

func (*TobaTokenTransactorSession) ApproveAndCall

func (_TobaToken *TobaTokenTransactorSession) ApproveAndCall(_spender common.Address, _value *big.Int, _extraData []byte) (*types.Transaction, error)

ApproveAndCall is a paid mutator transaction binding the contract method 0xcae9ca51.

Solidity: function approveAndCall(_spender address, _value uint256, _extraData bytes) returns(success bool)

func (*TobaTokenTransactorSession) Burn

func (_TobaToken *TobaTokenTransactorSession) Burn(_value *big.Int) (*types.Transaction, error)

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

Solidity: function burn(_value uint256) returns(success bool)

func (*TobaTokenTransactorSession) BurnFrom

func (_TobaToken *TobaTokenTransactorSession) BurnFrom(_from common.Address, _value *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(_from address, _value uint256) returns(success bool)

func (*TobaTokenTransactorSession) MintToken

func (_TobaToken *TobaTokenTransactorSession) MintToken(target common.Address, mintedAmount *big.Int) (*types.Transaction, error)

MintToken is a paid mutator transaction binding the contract method 0x79c65068.

Solidity: function mintToken(target address, mintedAmount uint256) returns()

func (*TobaTokenTransactorSession) Transfer

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

func (*TobaTokenTransactorSession) TransferFrom

func (_TobaToken *TobaTokenTransactorSession) 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(success bool)

func (*TobaTokenTransactorSession) TransferOwnership

func (_TobaToken *TobaTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(newOwner address) returns()

type TokenRecipient

type TokenRecipient struct {
	TokenRecipientCaller     // Read-only binding to the contract
	TokenRecipientTransactor // Write-only binding to the contract
}

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

func DeployTokenRecipient

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

DeployTokenRecipient deploys a new Ethereum contract, binding an instance of TokenRecipient to it.

func NewTokenRecipient

func NewTokenRecipient(address common.Address, backend bind.ContractBackend) (*TokenRecipient, error)

NewTokenRecipient creates a new instance of TokenRecipient, bound to a specific deployed contract.

type TokenRecipientCaller

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

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

func NewTokenRecipientCaller

func NewTokenRecipientCaller(address common.Address, caller bind.ContractCaller) (*TokenRecipientCaller, error)

NewTokenRecipientCaller creates a new read-only instance of TokenRecipient, bound to a specific deployed contract.

type TokenRecipientCallerRaw

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

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

func (*TokenRecipientCallerRaw) Call

func (_TokenRecipient *TokenRecipientCallerRaw) 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 TokenRecipientCallerSession

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

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

type TokenRecipientRaw

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

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

func (*TokenRecipientRaw) Call

func (_TokenRecipient *TokenRecipientRaw) 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 (*TokenRecipientRaw) Transact

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

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

func (*TokenRecipientRaw) Transfer

func (_TokenRecipient *TokenRecipientRaw) 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 TokenRecipientSession

type TokenRecipientSession struct {
	Contract     *TokenRecipient   // 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
}

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

func (*TokenRecipientSession) ReceiveApproval

func (_TokenRecipient *TokenRecipientSession) ReceiveApproval(_from common.Address, _value *big.Int, _token common.Address, _extraData []byte) (*types.Transaction, error)

ReceiveApproval is a paid mutator transaction binding the contract method 0x8f4ffcb1.

Solidity: function receiveApproval(_from address, _value uint256, _token address, _extraData bytes) returns()

type TokenRecipientTransactor

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

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

func NewTokenRecipientTransactor

func NewTokenRecipientTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenRecipientTransactor, error)

NewTokenRecipientTransactor creates a new write-only instance of TokenRecipient, bound to a specific deployed contract.

func (*TokenRecipientTransactor) ReceiveApproval

func (_TokenRecipient *TokenRecipientTransactor) ReceiveApproval(opts *bind.TransactOpts, _from common.Address, _value *big.Int, _token common.Address, _extraData []byte) (*types.Transaction, error)

ReceiveApproval is a paid mutator transaction binding the contract method 0x8f4ffcb1.

Solidity: function receiveApproval(_from address, _value uint256, _token address, _extraData bytes) returns()

type TokenRecipientTransactorRaw

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

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

func (*TokenRecipientTransactorRaw) Transact

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

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

func (*TokenRecipientTransactorRaw) Transfer

func (_TokenRecipient *TokenRecipientTransactorRaw) 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 TokenRecipientTransactorSession

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

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

func (*TokenRecipientTransactorSession) ReceiveApproval

func (_TokenRecipient *TokenRecipientTransactorSession) ReceiveApproval(_from common.Address, _value *big.Int, _token common.Address, _extraData []byte) (*types.Transaction, error)

ReceiveApproval is a paid mutator transaction binding the contract method 0x8f4ffcb1.

Solidity: function receiveApproval(_from address, _value uint256, _token address, _extraData bytes) returns()

Jump to

Keyboard shortcuts

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