mocks

package
v1.5.8 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2019 License: GPL-2.0, GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Base64ExporterABI = "" /* 221-byte string literal not displayed */

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

View Source
const Base64ExporterBin = `` /* 6142-byte string literal not displayed */

Base64ExporterBin is the compiled bytecode used for deploying new contracts.

View Source
const NonCompliantTokenABI = "" /* 2372-byte string literal not displayed */

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

View Source
const NonCompliantTokenBin = `` /* 2696-byte string literal not displayed */

NonCompliantTokenBin is the compiled bytecode used for deploying new contracts.

View Source
const OraclizeABI = "" /* 3568-byte string literal not displayed */

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

View Source
const OraclizeAddrResolverABI = "" /* 333-byte string literal not displayed */

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

View Source
const OraclizeAddrResolverBin = `` /* 558-byte string literal not displayed */

OraclizeAddrResolverBin is the compiled bytecode used for deploying new contracts.

View Source
const OraclizeBin = `` /* 2736-byte string literal not displayed */

OraclizeBin is the compiled bytecode used for deploying new contracts.

View Source
const ParseIntScientificExporterABI = "" /* 720-byte string literal not displayed */

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

View Source
const ParseIntScientificExporterBin = `` /* 7234-byte string literal not displayed */

ParseIntScientificExporterBin is the compiled bytecode used for deploying new contracts.

View Source
const TokenABI = "" /* 2471-byte string literal not displayed */

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

View Source
const TokenBin = `` /* 2768-byte string literal not displayed */

TokenBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base64Exporter

type Base64Exporter struct {
	Base64ExporterCaller     // Read-only binding to the contract
	Base64ExporterTransactor // Write-only binding to the contract
	Base64ExporterFilterer   // Log filterer for contract events
}

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

func DeployBase64Exporter

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

DeployBase64Exporter deploys a new Ethereum contract, binding an instance of Base64Exporter to it.

func NewBase64Exporter

func NewBase64Exporter(address common.Address, backend bind.ContractBackend) (*Base64Exporter, error)

NewBase64Exporter creates a new instance of Base64Exporter, bound to a specific deployed contract.

type Base64ExporterCaller

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

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

func NewBase64ExporterCaller

func NewBase64ExporterCaller(address common.Address, caller bind.ContractCaller) (*Base64ExporterCaller, error)

NewBase64ExporterCaller creates a new read-only instance of Base64Exporter, bound to a specific deployed contract.

func (*Base64ExporterCaller) Base64decode

func (_Base64Exporter *Base64ExporterCaller) Base64decode(opts *bind.CallOpts, _encoded []byte) ([]byte, error)

Base64decode is a free data retrieval call binding the contract method 0x3a718bfb.

Solidity: function base64decode(_encoded bytes) constant returns(bytes)

type Base64ExporterCallerRaw

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

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

func (*Base64ExporterCallerRaw) Call

func (_Base64Exporter *Base64ExporterCallerRaw) 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 Base64ExporterCallerSession

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

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

func (*Base64ExporterCallerSession) Base64decode

func (_Base64Exporter *Base64ExporterCallerSession) Base64decode(_encoded []byte) ([]byte, error)

Base64decode is a free data retrieval call binding the contract method 0x3a718bfb.

Solidity: function base64decode(_encoded bytes) constant returns(bytes)

type Base64ExporterFilterer

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

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

func NewBase64ExporterFilterer

func NewBase64ExporterFilterer(address common.Address, filterer bind.ContractFilterer) (*Base64ExporterFilterer, error)

NewBase64ExporterFilterer creates a new log filterer instance of Base64Exporter, bound to a specific deployed contract.

type Base64ExporterRaw

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

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

func (*Base64ExporterRaw) Call

func (_Base64Exporter *Base64ExporterRaw) 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 (*Base64ExporterRaw) Transact

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

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

func (*Base64ExporterRaw) Transfer

func (_Base64Exporter *Base64ExporterRaw) 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 Base64ExporterSession

type Base64ExporterSession struct {
	Contract     *Base64Exporter   // 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
}

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

func (*Base64ExporterSession) Base64decode

func (_Base64Exporter *Base64ExporterSession) Base64decode(_encoded []byte) ([]byte, error)

Base64decode is a free data retrieval call binding the contract method 0x3a718bfb.

Solidity: function base64decode(_encoded bytes) constant returns(bytes)

type Base64ExporterTransactor

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

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

func NewBase64ExporterTransactor

func NewBase64ExporterTransactor(address common.Address, transactor bind.ContractTransactor) (*Base64ExporterTransactor, error)

NewBase64ExporterTransactor creates a new write-only instance of Base64Exporter, bound to a specific deployed contract.

type Base64ExporterTransactorRaw

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

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

func (*Base64ExporterTransactorRaw) Transact

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

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

func (*Base64ExporterTransactorRaw) Transfer

func (_Base64Exporter *Base64ExporterTransactorRaw) 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 Base64ExporterTransactorSession

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

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

type NonCompliantToken added in v1.5.6

type NonCompliantToken struct {
	NonCompliantTokenCaller     // Read-only binding to the contract
	NonCompliantTokenTransactor // Write-only binding to the contract
	NonCompliantTokenFilterer   // Log filterer for contract events
}

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

func DeployNonCompliantToken added in v1.5.6

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

DeployNonCompliantToken deploys a new Ethereum contract, binding an instance of NonCompliantToken to it.

func NewNonCompliantToken added in v1.5.6

func NewNonCompliantToken(address common.Address, backend bind.ContractBackend) (*NonCompliantToken, error)

NewNonCompliantToken creates a new instance of NonCompliantToken, bound to a specific deployed contract.

type NonCompliantTokenApproval added in v1.5.6

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

NonCompliantTokenApproval represents a Approval event raised by the NonCompliantToken contract.

type NonCompliantTokenApprovalIterator added in v1.5.6

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

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

func (*NonCompliantTokenApprovalIterator) Close added in v1.5.6

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

func (*NonCompliantTokenApprovalIterator) Error added in v1.5.6

Error returns any retrieval or parsing error occurred during filtering.

func (*NonCompliantTokenApprovalIterator) Next added in v1.5.6

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 NonCompliantTokenCaller added in v1.5.6

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

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

func NewNonCompliantTokenCaller added in v1.5.6

func NewNonCompliantTokenCaller(address common.Address, caller bind.ContractCaller) (*NonCompliantTokenCaller, error)

NewNonCompliantTokenCaller creates a new read-only instance of NonCompliantToken, bound to a specific deployed contract.

func (*NonCompliantTokenCaller) Allowance added in v1.5.6

func (_NonCompliantToken *NonCompliantTokenCaller) 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 (*NonCompliantTokenCaller) BalanceOf added in v1.5.6

func (_NonCompliantToken *NonCompliantTokenCaller) 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 (*NonCompliantTokenCaller) TotalSupply added in v1.5.6

func (_NonCompliantToken *NonCompliantTokenCaller) 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 NonCompliantTokenCallerRaw added in v1.5.6

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

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

func (*NonCompliantTokenCallerRaw) Call added in v1.5.6

func (_NonCompliantToken *NonCompliantTokenCallerRaw) 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 NonCompliantTokenCallerSession added in v1.5.6

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

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

func (*NonCompliantTokenCallerSession) Allowance added in v1.5.6

func (_NonCompliantToken *NonCompliantTokenCallerSession) 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 (*NonCompliantTokenCallerSession) BalanceOf added in v1.5.6

func (_NonCompliantToken *NonCompliantTokenCallerSession) 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 (*NonCompliantTokenCallerSession) TotalSupply added in v1.5.6

func (_NonCompliantToken *NonCompliantTokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type NonCompliantTokenFilterer added in v1.5.6

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

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

func NewNonCompliantTokenFilterer added in v1.5.6

func NewNonCompliantTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*NonCompliantTokenFilterer, error)

NewNonCompliantTokenFilterer creates a new log filterer instance of NonCompliantToken, bound to a specific deployed contract.

func (*NonCompliantTokenFilterer) FilterApproval added in v1.5.6

func (_NonCompliantToken *NonCompliantTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*NonCompliantTokenApprovalIterator, 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 (*NonCompliantTokenFilterer) FilterTransfer added in v1.5.6

func (_NonCompliantToken *NonCompliantTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*NonCompliantTokenTransferIterator, error)

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

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

func (*NonCompliantTokenFilterer) WatchApproval added in v1.5.6

func (_NonCompliantToken *NonCompliantTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *NonCompliantTokenApproval, 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 (*NonCompliantTokenFilterer) WatchTransfer added in v1.5.6

func (_NonCompliantToken *NonCompliantTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *NonCompliantTokenTransfer, 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, amount uint256)

type NonCompliantTokenRaw added in v1.5.6

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

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

func (*NonCompliantTokenRaw) Call added in v1.5.6

func (_NonCompliantToken *NonCompliantTokenRaw) 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 (*NonCompliantTokenRaw) Transact added in v1.5.6

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

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

func (*NonCompliantTokenRaw) Transfer added in v1.5.6

func (_NonCompliantToken *NonCompliantTokenRaw) 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 NonCompliantTokenSession added in v1.5.6

type NonCompliantTokenSession struct {
	Contract     *NonCompliantToken // 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
}

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

func (*NonCompliantTokenSession) Allowance added in v1.5.6

func (_NonCompliantToken *NonCompliantTokenSession) 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 (*NonCompliantTokenSession) Approve added in v1.5.6

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

func (*NonCompliantTokenSession) BalanceOf added in v1.5.6

func (_NonCompliantToken *NonCompliantTokenSession) 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 (*NonCompliantTokenSession) Credit added in v1.5.6

func (_NonCompliantToken *NonCompliantTokenSession) Credit(to common.Address, amount *big.Int) (*types.Transaction, error)

Credit is a paid mutator transaction binding the contract method 0xef6506db.

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

func (*NonCompliantTokenSession) Debit added in v1.5.6

func (_NonCompliantToken *NonCompliantTokenSession) Debit(from common.Address, amount *big.Int) (*types.Transaction, error)

Debit is a paid mutator transaction binding the contract method 0x636be27a.

Solidity: function debit(from address, amount uint256) returns()

func (*NonCompliantTokenSession) TotalSupply added in v1.5.6

func (_NonCompliantToken *NonCompliantTokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*NonCompliantTokenSession) Transfer added in v1.5.6

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

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

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

func (*NonCompliantTokenSession) TransferFrom added in v1.5.6

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

type NonCompliantTokenTransactor added in v1.5.6

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

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

func NewNonCompliantTokenTransactor added in v1.5.6

func NewNonCompliantTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*NonCompliantTokenTransactor, error)

NewNonCompliantTokenTransactor creates a new write-only instance of NonCompliantToken, bound to a specific deployed contract.

func (*NonCompliantTokenTransactor) Approve added in v1.5.6

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

func (*NonCompliantTokenTransactor) Credit added in v1.5.6

func (_NonCompliantToken *NonCompliantTokenTransactor) Credit(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Credit is a paid mutator transaction binding the contract method 0xef6506db.

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

func (*NonCompliantTokenTransactor) Debit added in v1.5.6

func (_NonCompliantToken *NonCompliantTokenTransactor) Debit(opts *bind.TransactOpts, from common.Address, amount *big.Int) (*types.Transaction, error)

Debit is a paid mutator transaction binding the contract method 0x636be27a.

Solidity: function debit(from address, amount uint256) returns()

func (*NonCompliantTokenTransactor) Transfer added in v1.5.6

func (_NonCompliantToken *NonCompliantTokenTransactor) 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(to address, amount uint256) returns()

func (*NonCompliantTokenTransactor) TransferFrom added in v1.5.6

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

type NonCompliantTokenTransactorRaw added in v1.5.6

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

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

func (*NonCompliantTokenTransactorRaw) Transact added in v1.5.6

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

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

func (*NonCompliantTokenTransactorRaw) Transfer added in v1.5.6

func (_NonCompliantToken *NonCompliantTokenTransactorRaw) 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 NonCompliantTokenTransactorSession added in v1.5.6

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

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

func (*NonCompliantTokenTransactorSession) Approve added in v1.5.6

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

func (*NonCompliantTokenTransactorSession) Credit added in v1.5.6

func (_NonCompliantToken *NonCompliantTokenTransactorSession) Credit(to common.Address, amount *big.Int) (*types.Transaction, error)

Credit is a paid mutator transaction binding the contract method 0xef6506db.

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

func (*NonCompliantTokenTransactorSession) Debit added in v1.5.6

func (_NonCompliantToken *NonCompliantTokenTransactorSession) Debit(from common.Address, amount *big.Int) (*types.Transaction, error)

Debit is a paid mutator transaction binding the contract method 0x636be27a.

Solidity: function debit(from address, amount uint256) returns()

func (*NonCompliantTokenTransactorSession) Transfer added in v1.5.6

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

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

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

func (*NonCompliantTokenTransactorSession) TransferFrom added in v1.5.6

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

type NonCompliantTokenTransfer added in v1.5.6

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

NonCompliantTokenTransfer represents a Transfer event raised by the NonCompliantToken contract.

type NonCompliantTokenTransferIterator added in v1.5.6

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

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

func (*NonCompliantTokenTransferIterator) Close added in v1.5.6

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

func (*NonCompliantTokenTransferIterator) Error added in v1.5.6

Error returns any retrieval or parsing error occurred during filtering.

func (*NonCompliantTokenTransferIterator) Next added in v1.5.6

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 Oraclize

type Oraclize struct {
	OraclizeCaller     // Read-only binding to the contract
	OraclizeTransactor // Write-only binding to the contract
	OraclizeFilterer   // Log filterer for contract events
}

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

func DeployOraclize

func DeployOraclize(auth *bind.TransactOpts, backend bind.ContractBackend, _cbAddress common.Address) (common.Address, *types.Transaction, *Oraclize, error)

DeployOraclize deploys a new Ethereum contract, binding an instance of Oraclize to it.

func NewOraclize

func NewOraclize(address common.Address, backend bind.ContractBackend) (*Oraclize, error)

NewOraclize creates a new instance of Oraclize, bound to a specific deployed contract.

type OraclizeAddrResolver

type OraclizeAddrResolver struct {
	OraclizeAddrResolverCaller     // Read-only binding to the contract
	OraclizeAddrResolverTransactor // Write-only binding to the contract
	OraclizeAddrResolverFilterer   // Log filterer for contract events
}

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

func DeployOraclizeAddrResolver

func DeployOraclizeAddrResolver(auth *bind.TransactOpts, backend bind.ContractBackend, _oraclizedAddress common.Address) (common.Address, *types.Transaction, *OraclizeAddrResolver, error)

DeployOraclizeAddrResolver deploys a new Ethereum contract, binding an instance of OraclizeAddrResolver to it.

func NewOraclizeAddrResolver

func NewOraclizeAddrResolver(address common.Address, backend bind.ContractBackend) (*OraclizeAddrResolver, error)

NewOraclizeAddrResolver creates a new instance of OraclizeAddrResolver, bound to a specific deployed contract.

type OraclizeAddrResolverCaller

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

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

func NewOraclizeAddrResolverCaller

func NewOraclizeAddrResolverCaller(address common.Address, caller bind.ContractCaller) (*OraclizeAddrResolverCaller, error)

NewOraclizeAddrResolverCaller creates a new read-only instance of OraclizeAddrResolver, bound to a specific deployed contract.

type OraclizeAddrResolverCallerRaw

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

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

func (*OraclizeAddrResolverCallerRaw) Call

func (_OraclizeAddrResolver *OraclizeAddrResolverCallerRaw) 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 OraclizeAddrResolverCallerSession

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

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

type OraclizeAddrResolverFilterer

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

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

func NewOraclizeAddrResolverFilterer

func NewOraclizeAddrResolverFilterer(address common.Address, filterer bind.ContractFilterer) (*OraclizeAddrResolverFilterer, error)

NewOraclizeAddrResolverFilterer creates a new log filterer instance of OraclizeAddrResolver, bound to a specific deployed contract.

type OraclizeAddrResolverRaw

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

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

func (*OraclizeAddrResolverRaw) Call

func (_OraclizeAddrResolver *OraclizeAddrResolverRaw) 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 (*OraclizeAddrResolverRaw) Transact

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

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

func (*OraclizeAddrResolverRaw) Transfer

func (_OraclizeAddrResolver *OraclizeAddrResolverRaw) 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 OraclizeAddrResolverSession

type OraclizeAddrResolverSession struct {
	Contract     *OraclizeAddrResolver // 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
}

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

func (*OraclizeAddrResolverSession) GetAddress

func (_OraclizeAddrResolver *OraclizeAddrResolverSession) GetAddress() (*types.Transaction, error)

GetAddress is a paid mutator transaction binding the contract method 0x38cc4831.

Solidity: function getAddress() returns(address)

type OraclizeAddrResolverTransactor

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

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

func NewOraclizeAddrResolverTransactor

func NewOraclizeAddrResolverTransactor(address common.Address, transactor bind.ContractTransactor) (*OraclizeAddrResolverTransactor, error)

NewOraclizeAddrResolverTransactor creates a new write-only instance of OraclizeAddrResolver, bound to a specific deployed contract.

func (*OraclizeAddrResolverTransactor) GetAddress

func (_OraclizeAddrResolver *OraclizeAddrResolverTransactor) GetAddress(opts *bind.TransactOpts) (*types.Transaction, error)

GetAddress is a paid mutator transaction binding the contract method 0x38cc4831.

Solidity: function getAddress() returns(address)

type OraclizeAddrResolverTransactorRaw

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

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

func (*OraclizeAddrResolverTransactorRaw) Transact

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

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

func (*OraclizeAddrResolverTransactorRaw) Transfer

func (_OraclizeAddrResolver *OraclizeAddrResolverTransactorRaw) 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 OraclizeAddrResolverTransactorSession

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

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

func (*OraclizeAddrResolverTransactorSession) GetAddress

func (_OraclizeAddrResolver *OraclizeAddrResolverTransactorSession) GetAddress() (*types.Transaction, error)

GetAddress is a paid mutator transaction binding the contract method 0x38cc4831.

Solidity: function getAddress() returns(address)

type OraclizeCaller

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

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

func NewOraclizeCaller

func NewOraclizeCaller(address common.Address, caller bind.ContractCaller) (*OraclizeCaller, error)

NewOraclizeCaller creates a new read-only instance of Oraclize, bound to a specific deployed contract.

func (*OraclizeCaller) CbAddress

func (_Oraclize *OraclizeCaller) CbAddress(opts *bind.CallOpts) (common.Address, error)

CbAddress is a free data retrieval call binding the contract method 0xc281d19e.

Solidity: function cbAddress() constant returns(address)

func (*OraclizeCaller) RandomDSGetSessionPubKeyHash

func (_Oraclize *OraclizeCaller) RandomDSGetSessionPubKeyHash(opts *bind.CallOpts) ([32]byte, error)

RandomDSGetSessionPubKeyHash is a free data retrieval call binding the contract method 0xabaa5f3e.

Solidity: function randomDS_getSessionPubKeyHash() constant returns(bytes32)

type OraclizeCallerRaw

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

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

func (*OraclizeCallerRaw) Call

func (_Oraclize *OraclizeCallerRaw) 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 OraclizeCallerSession

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

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

func (*OraclizeCallerSession) CbAddress

func (_Oraclize *OraclizeCallerSession) CbAddress() (common.Address, error)

CbAddress is a free data retrieval call binding the contract method 0xc281d19e.

Solidity: function cbAddress() constant returns(address)

func (*OraclizeCallerSession) RandomDSGetSessionPubKeyHash

func (_Oraclize *OraclizeCallerSession) RandomDSGetSessionPubKeyHash() ([32]byte, error)

RandomDSGetSessionPubKeyHash is a free data retrieval call binding the contract method 0xabaa5f3e.

Solidity: function randomDS_getSessionPubKeyHash() constant returns(bytes32)

type OraclizeFilterer

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

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

func NewOraclizeFilterer

func NewOraclizeFilterer(address common.Address, filterer bind.ContractFilterer) (*OraclizeFilterer, error)

NewOraclizeFilterer creates a new log filterer instance of Oraclize, bound to a specific deployed contract.

type OraclizeRaw

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

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

func (*OraclizeRaw) Call

func (_Oraclize *OraclizeRaw) 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 (*OraclizeRaw) Transact

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

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

func (*OraclizeRaw) Transfer

func (_Oraclize *OraclizeRaw) 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 OraclizeSession

type OraclizeSession struct {
	Contract     *Oraclize         // 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
}

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

func (*OraclizeSession) CbAddress

func (_Oraclize *OraclizeSession) CbAddress() (common.Address, error)

CbAddress is a free data retrieval call binding the contract method 0xc281d19e.

Solidity: function cbAddress() constant returns(address)

func (*OraclizeSession) GetPrice

func (_Oraclize *OraclizeSession) GetPrice(_datasource string) (*types.Transaction, error)

GetPrice is a paid mutator transaction binding the contract method 0x524f3889.

Solidity: function getPrice(_datasource string) returns(_dsprice uint256)

func (*OraclizeSession) Query

func (_Oraclize *OraclizeSession) Query(_timestamp *big.Int, _datasource string, _arg string) (*types.Transaction, error)

Query is a paid mutator transaction binding the contract method 0xadf59f99.

Solidity: function query(_timestamp uint256, _datasource string, _arg string) returns(_id bytes32)

func (*OraclizeSession) Query2

func (_Oraclize *OraclizeSession) Query2(_timestamp *big.Int, _datasource string, _arg1 string, _arg2 string) (*types.Transaction, error)

Query2 is a paid mutator transaction binding the contract method 0x77228659.

Solidity: function query2(_timestamp uint256, _datasource string, _arg1 string, _arg2 string) returns(_id bytes32)

func (*OraclizeSession) Query2WithGasLimit

func (_Oraclize *OraclizeSession) Query2WithGasLimit(_timestamp *big.Int, _datasource string, _arg1 string, _arg2 string, _gaslimit *big.Int) (*types.Transaction, error)

Query2WithGasLimit is a paid mutator transaction binding the contract method 0x85dee34c.

Solidity: function query2_withGasLimit(_timestamp uint256, _datasource string, _arg1 string, _arg2 string, _gaslimit uint256) returns(_id bytes32)

func (*OraclizeSession) QueryN

func (_Oraclize *OraclizeSession) QueryN(_timestamp *big.Int, _datasource string, _argN []byte) (*types.Transaction, error)

QueryN is a paid mutator transaction binding the contract method 0x83eed3d5.

Solidity: function queryN(_timestamp uint256, _datasource string, _argN bytes) returns(_id bytes32)

func (*OraclizeSession) QueryNWithGasLimit

func (_Oraclize *OraclizeSession) QueryNWithGasLimit(_timestamp *big.Int, _datasource string, _argN []byte, _gaslimit *big.Int) (*types.Transaction, error)

QueryNWithGasLimit is a paid mutator transaction binding the contract method 0xc55c1cb6.

Solidity: function queryN_withGasLimit(_timestamp uint256, _datasource string, _argN bytes, _gaslimit uint256) returns(_id bytes32)

func (*OraclizeSession) QueryWithGasLimit

func (_Oraclize *OraclizeSession) QueryWithGasLimit(_timestamp *big.Int, _datasource string, _arg string, _gaslimit *big.Int) (*types.Transaction, error)

QueryWithGasLimit is a paid mutator transaction binding the contract method 0xc51be90f.

Solidity: function query_withGasLimit(_timestamp uint256, _datasource string, _arg string, _gaslimit uint256) returns(_id bytes32)

func (*OraclizeSession) RandomDSGetSessionPubKeyHash

func (_Oraclize *OraclizeSession) RandomDSGetSessionPubKeyHash() ([32]byte, error)

RandomDSGetSessionPubKeyHash is a free data retrieval call binding the contract method 0xabaa5f3e.

Solidity: function randomDS_getSessionPubKeyHash() constant returns(bytes32)

func (*OraclizeSession) SetCustomGasPrice

func (_Oraclize *OraclizeSession) SetCustomGasPrice(_gasPrice *big.Int) (*types.Transaction, error)

SetCustomGasPrice is a paid mutator transaction binding the contract method 0xca6ad1e4.

Solidity: function setCustomGasPrice(_gasPrice uint256) returns()

func (*OraclizeSession) SetProofType

func (_Oraclize *OraclizeSession) SetProofType(_proofType [1]byte) (*types.Transaction, error)

SetProofType is a paid mutator transaction binding the contract method 0x688dcfd7.

Solidity: function setProofType(_proofType bytes1) returns()

type OraclizeTransactor

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

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

func NewOraclizeTransactor

func NewOraclizeTransactor(address common.Address, transactor bind.ContractTransactor) (*OraclizeTransactor, error)

NewOraclizeTransactor creates a new write-only instance of Oraclize, bound to a specific deployed contract.

func (*OraclizeTransactor) GetPrice

func (_Oraclize *OraclizeTransactor) GetPrice(opts *bind.TransactOpts, _datasource string) (*types.Transaction, error)

GetPrice is a paid mutator transaction binding the contract method 0x524f3889.

Solidity: function getPrice(_datasource string) returns(_dsprice uint256)

func (*OraclizeTransactor) Query

func (_Oraclize *OraclizeTransactor) Query(opts *bind.TransactOpts, _timestamp *big.Int, _datasource string, _arg string) (*types.Transaction, error)

Query is a paid mutator transaction binding the contract method 0xadf59f99.

Solidity: function query(_timestamp uint256, _datasource string, _arg string) returns(_id bytes32)

func (*OraclizeTransactor) Query2

func (_Oraclize *OraclizeTransactor) Query2(opts *bind.TransactOpts, _timestamp *big.Int, _datasource string, _arg1 string, _arg2 string) (*types.Transaction, error)

Query2 is a paid mutator transaction binding the contract method 0x77228659.

Solidity: function query2(_timestamp uint256, _datasource string, _arg1 string, _arg2 string) returns(_id bytes32)

func (*OraclizeTransactor) Query2WithGasLimit

func (_Oraclize *OraclizeTransactor) Query2WithGasLimit(opts *bind.TransactOpts, _timestamp *big.Int, _datasource string, _arg1 string, _arg2 string, _gaslimit *big.Int) (*types.Transaction, error)

Query2WithGasLimit is a paid mutator transaction binding the contract method 0x85dee34c.

Solidity: function query2_withGasLimit(_timestamp uint256, _datasource string, _arg1 string, _arg2 string, _gaslimit uint256) returns(_id bytes32)

func (*OraclizeTransactor) QueryN

func (_Oraclize *OraclizeTransactor) QueryN(opts *bind.TransactOpts, _timestamp *big.Int, _datasource string, _argN []byte) (*types.Transaction, error)

QueryN is a paid mutator transaction binding the contract method 0x83eed3d5.

Solidity: function queryN(_timestamp uint256, _datasource string, _argN bytes) returns(_id bytes32)

func (*OraclizeTransactor) QueryNWithGasLimit

func (_Oraclize *OraclizeTransactor) QueryNWithGasLimit(opts *bind.TransactOpts, _timestamp *big.Int, _datasource string, _argN []byte, _gaslimit *big.Int) (*types.Transaction, error)

QueryNWithGasLimit is a paid mutator transaction binding the contract method 0xc55c1cb6.

Solidity: function queryN_withGasLimit(_timestamp uint256, _datasource string, _argN bytes, _gaslimit uint256) returns(_id bytes32)

func (*OraclizeTransactor) QueryWithGasLimit

func (_Oraclize *OraclizeTransactor) QueryWithGasLimit(opts *bind.TransactOpts, _timestamp *big.Int, _datasource string, _arg string, _gaslimit *big.Int) (*types.Transaction, error)

QueryWithGasLimit is a paid mutator transaction binding the contract method 0xc51be90f.

Solidity: function query_withGasLimit(_timestamp uint256, _datasource string, _arg string, _gaslimit uint256) returns(_id bytes32)

func (*OraclizeTransactor) SetCustomGasPrice

func (_Oraclize *OraclizeTransactor) SetCustomGasPrice(opts *bind.TransactOpts, _gasPrice *big.Int) (*types.Transaction, error)

SetCustomGasPrice is a paid mutator transaction binding the contract method 0xca6ad1e4.

Solidity: function setCustomGasPrice(_gasPrice uint256) returns()

func (*OraclizeTransactor) SetProofType

func (_Oraclize *OraclizeTransactor) SetProofType(opts *bind.TransactOpts, _proofType [1]byte) (*types.Transaction, error)

SetProofType is a paid mutator transaction binding the contract method 0x688dcfd7.

Solidity: function setProofType(_proofType bytes1) returns()

type OraclizeTransactorRaw

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

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

func (*OraclizeTransactorRaw) Transact

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

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

func (*OraclizeTransactorRaw) Transfer

func (_Oraclize *OraclizeTransactorRaw) 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 OraclizeTransactorSession

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

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

func (*OraclizeTransactorSession) GetPrice

func (_Oraclize *OraclizeTransactorSession) GetPrice(_datasource string) (*types.Transaction, error)

GetPrice is a paid mutator transaction binding the contract method 0x524f3889.

Solidity: function getPrice(_datasource string) returns(_dsprice uint256)

func (*OraclizeTransactorSession) Query

func (_Oraclize *OraclizeTransactorSession) Query(_timestamp *big.Int, _datasource string, _arg string) (*types.Transaction, error)

Query is a paid mutator transaction binding the contract method 0xadf59f99.

Solidity: function query(_timestamp uint256, _datasource string, _arg string) returns(_id bytes32)

func (*OraclizeTransactorSession) Query2

func (_Oraclize *OraclizeTransactorSession) Query2(_timestamp *big.Int, _datasource string, _arg1 string, _arg2 string) (*types.Transaction, error)

Query2 is a paid mutator transaction binding the contract method 0x77228659.

Solidity: function query2(_timestamp uint256, _datasource string, _arg1 string, _arg2 string) returns(_id bytes32)

func (*OraclizeTransactorSession) Query2WithGasLimit

func (_Oraclize *OraclizeTransactorSession) Query2WithGasLimit(_timestamp *big.Int, _datasource string, _arg1 string, _arg2 string, _gaslimit *big.Int) (*types.Transaction, error)

Query2WithGasLimit is a paid mutator transaction binding the contract method 0x85dee34c.

Solidity: function query2_withGasLimit(_timestamp uint256, _datasource string, _arg1 string, _arg2 string, _gaslimit uint256) returns(_id bytes32)

func (*OraclizeTransactorSession) QueryN

func (_Oraclize *OraclizeTransactorSession) QueryN(_timestamp *big.Int, _datasource string, _argN []byte) (*types.Transaction, error)

QueryN is a paid mutator transaction binding the contract method 0x83eed3d5.

Solidity: function queryN(_timestamp uint256, _datasource string, _argN bytes) returns(_id bytes32)

func (*OraclizeTransactorSession) QueryNWithGasLimit

func (_Oraclize *OraclizeTransactorSession) QueryNWithGasLimit(_timestamp *big.Int, _datasource string, _argN []byte, _gaslimit *big.Int) (*types.Transaction, error)

QueryNWithGasLimit is a paid mutator transaction binding the contract method 0xc55c1cb6.

Solidity: function queryN_withGasLimit(_timestamp uint256, _datasource string, _argN bytes, _gaslimit uint256) returns(_id bytes32)

func (*OraclizeTransactorSession) QueryWithGasLimit

func (_Oraclize *OraclizeTransactorSession) QueryWithGasLimit(_timestamp *big.Int, _datasource string, _arg string, _gaslimit *big.Int) (*types.Transaction, error)

QueryWithGasLimit is a paid mutator transaction binding the contract method 0xc51be90f.

Solidity: function query_withGasLimit(_timestamp uint256, _datasource string, _arg string, _gaslimit uint256) returns(_id bytes32)

func (*OraclizeTransactorSession) SetCustomGasPrice

func (_Oraclize *OraclizeTransactorSession) SetCustomGasPrice(_gasPrice *big.Int) (*types.Transaction, error)

SetCustomGasPrice is a paid mutator transaction binding the contract method 0xca6ad1e4.

Solidity: function setCustomGasPrice(_gasPrice uint256) returns()

func (*OraclizeTransactorSession) SetProofType

func (_Oraclize *OraclizeTransactorSession) SetProofType(_proofType [1]byte) (*types.Transaction, error)

SetProofType is a paid mutator transaction binding the contract method 0x688dcfd7.

Solidity: function setProofType(_proofType bytes1) returns()

type ParseIntScientificExporter

type ParseIntScientificExporter struct {
	ParseIntScientificExporterCaller     // Read-only binding to the contract
	ParseIntScientificExporterTransactor // Write-only binding to the contract
	ParseIntScientificExporterFilterer   // Log filterer for contract events
}

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

func DeployParseIntScientificExporter

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

DeployParseIntScientificExporter deploys a new Ethereum contract, binding an instance of ParseIntScientificExporter to it.

func NewParseIntScientificExporter

func NewParseIntScientificExporter(address common.Address, backend bind.ContractBackend) (*ParseIntScientificExporter, error)

NewParseIntScientificExporter creates a new instance of ParseIntScientificExporter, bound to a specific deployed contract.

type ParseIntScientificExporterCaller

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

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

func NewParseIntScientificExporterCaller

func NewParseIntScientificExporterCaller(address common.Address, caller bind.ContractCaller) (*ParseIntScientificExporterCaller, error)

NewParseIntScientificExporterCaller creates a new read-only instance of ParseIntScientificExporter, bound to a specific deployed contract.

func (*ParseIntScientificExporterCaller) ParseIntScientific

func (_ParseIntScientificExporter *ParseIntScientificExporterCaller) ParseIntScientific(opts *bind.CallOpts, _a string) (*big.Int, error)

ParseIntScientific is a free data retrieval call binding the contract method 0xba070695.

Solidity: function parseIntScientific(_a string) constant returns(uint256)

func (*ParseIntScientificExporterCaller) ParseIntScientificDecimals

func (_ParseIntScientificExporter *ParseIntScientificExporterCaller) ParseIntScientificDecimals(opts *bind.CallOpts, _a string, _b *big.Int) (*big.Int, error)

ParseIntScientificDecimals is a free data retrieval call binding the contract method 0x87c8da5e.

Solidity: function parseIntScientificDecimals(_a string, _b uint256) constant returns(uint256)

func (*ParseIntScientificExporterCaller) ParseIntScientificWei

func (_ParseIntScientificExporter *ParseIntScientificExporterCaller) ParseIntScientificWei(opts *bind.CallOpts, _a string) (*big.Int, error)

ParseIntScientificWei is a free data retrieval call binding the contract method 0x61f7e0ac.

Solidity: function parseIntScientificWei(_a string) constant returns(uint256)

type ParseIntScientificExporterCallerRaw

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

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

func (*ParseIntScientificExporterCallerRaw) Call

func (_ParseIntScientificExporter *ParseIntScientificExporterCallerRaw) 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 ParseIntScientificExporterCallerSession

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

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

func (*ParseIntScientificExporterCallerSession) ParseIntScientific

func (_ParseIntScientificExporter *ParseIntScientificExporterCallerSession) ParseIntScientific(_a string) (*big.Int, error)

ParseIntScientific is a free data retrieval call binding the contract method 0xba070695.

Solidity: function parseIntScientific(_a string) constant returns(uint256)

func (*ParseIntScientificExporterCallerSession) ParseIntScientificDecimals

func (_ParseIntScientificExporter *ParseIntScientificExporterCallerSession) ParseIntScientificDecimals(_a string, _b *big.Int) (*big.Int, error)

ParseIntScientificDecimals is a free data retrieval call binding the contract method 0x87c8da5e.

Solidity: function parseIntScientificDecimals(_a string, _b uint256) constant returns(uint256)

func (*ParseIntScientificExporterCallerSession) ParseIntScientificWei

func (_ParseIntScientificExporter *ParseIntScientificExporterCallerSession) ParseIntScientificWei(_a string) (*big.Int, error)

ParseIntScientificWei is a free data retrieval call binding the contract method 0x61f7e0ac.

Solidity: function parseIntScientificWei(_a string) constant returns(uint256)

type ParseIntScientificExporterFilterer

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

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

func NewParseIntScientificExporterFilterer

func NewParseIntScientificExporterFilterer(address common.Address, filterer bind.ContractFilterer) (*ParseIntScientificExporterFilterer, error)

NewParseIntScientificExporterFilterer creates a new log filterer instance of ParseIntScientificExporter, bound to a specific deployed contract.

type ParseIntScientificExporterRaw

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

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

func (*ParseIntScientificExporterRaw) Call

func (_ParseIntScientificExporter *ParseIntScientificExporterRaw) 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 (*ParseIntScientificExporterRaw) Transact

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

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

func (*ParseIntScientificExporterRaw) Transfer

func (_ParseIntScientificExporter *ParseIntScientificExporterRaw) 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 ParseIntScientificExporterSession

type ParseIntScientificExporterSession struct {
	Contract     *ParseIntScientificExporter // 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
}

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

func (*ParseIntScientificExporterSession) ParseIntScientific

func (_ParseIntScientificExporter *ParseIntScientificExporterSession) ParseIntScientific(_a string) (*big.Int, error)

ParseIntScientific is a free data retrieval call binding the contract method 0xba070695.

Solidity: function parseIntScientific(_a string) constant returns(uint256)

func (*ParseIntScientificExporterSession) ParseIntScientificDecimals

func (_ParseIntScientificExporter *ParseIntScientificExporterSession) ParseIntScientificDecimals(_a string, _b *big.Int) (*big.Int, error)

ParseIntScientificDecimals is a free data retrieval call binding the contract method 0x87c8da5e.

Solidity: function parseIntScientificDecimals(_a string, _b uint256) constant returns(uint256)

func (*ParseIntScientificExporterSession) ParseIntScientificWei

func (_ParseIntScientificExporter *ParseIntScientificExporterSession) ParseIntScientificWei(_a string) (*big.Int, error)

ParseIntScientificWei is a free data retrieval call binding the contract method 0x61f7e0ac.

Solidity: function parseIntScientificWei(_a string) constant returns(uint256)

type ParseIntScientificExporterTransactor

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

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

func NewParseIntScientificExporterTransactor

func NewParseIntScientificExporterTransactor(address common.Address, transactor bind.ContractTransactor) (*ParseIntScientificExporterTransactor, error)

NewParseIntScientificExporterTransactor creates a new write-only instance of ParseIntScientificExporter, bound to a specific deployed contract.

type ParseIntScientificExporterTransactorRaw

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

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

func (*ParseIntScientificExporterTransactorRaw) Transact

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

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

func (*ParseIntScientificExporterTransactorRaw) Transfer

func (_ParseIntScientificExporter *ParseIntScientificExporterTransactorRaw) 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 ParseIntScientificExporterTransactorSession

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

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

type Token

type Token struct {
	TokenCaller     // Read-only binding to the contract
	TokenTransactor // Write-only binding to the contract
	TokenFilterer   // Log filterer for contract events
}

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

func DeployToken

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

DeployToken deploys a new Ethereum contract, binding an instance of Token to it.

func NewToken

func NewToken(address common.Address, backend bind.ContractBackend) (*Token, error)

NewToken creates a new instance of Token, bound to a specific deployed contract.

type TokenApproval added in v1.5.6

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

TokenApproval represents a Approval event raised by the Token contract.

type TokenApprovalIterator added in v1.5.6

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

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

func (*TokenApprovalIterator) Close added in v1.5.6

func (it *TokenApprovalIterator) Close() error

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

func (*TokenApprovalIterator) Error added in v1.5.6

func (it *TokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenApprovalIterator) Next added in v1.5.6

func (it *TokenApprovalIterator) 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 TokenCaller

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

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

func NewTokenCaller

func NewTokenCaller(address common.Address, caller bind.ContractCaller) (*TokenCaller, error)

NewTokenCaller creates a new read-only instance of Token, bound to a specific deployed contract.

func (*TokenCaller) Allowance added in v1.5.6

func (_Token *TokenCaller) 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 (*TokenCaller) BalanceOf

func (_Token *TokenCaller) 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 (*TokenCaller) TotalSupply

func (_Token *TokenCaller) 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 TokenCallerRaw

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

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

func (*TokenCallerRaw) Call

func (_Token *TokenCallerRaw) 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 TokenCallerSession

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

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

func (*TokenCallerSession) Allowance added in v1.5.6

func (_Token *TokenCallerSession) 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 (*TokenCallerSession) BalanceOf

func (_Token *TokenCallerSession) 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 (*TokenCallerSession) TotalSupply

func (_Token *TokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type TokenFilterer

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

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

func NewTokenFilterer

func NewTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenFilterer, error)

NewTokenFilterer creates a new log filterer instance of Token, bound to a specific deployed contract.

func (*TokenFilterer) FilterApproval added in v1.5.6

func (_Token *TokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*TokenApprovalIterator, 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 (*TokenFilterer) FilterTransfer

func (_Token *TokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TokenTransferIterator, error)

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

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

func (*TokenFilterer) WatchApproval added in v1.5.6

func (_Token *TokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TokenApproval, 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 (*TokenFilterer) WatchTransfer

func (_Token *TokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TokenTransfer, 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, amount uint256)

type TokenRaw

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

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

func (*TokenRaw) Call

func (_Token *TokenRaw) 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 (*TokenRaw) Transact

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

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

func (*TokenRaw) Transfer

func (_Token *TokenRaw) 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 TokenSession

type TokenSession struct {
	Contract     *Token            // 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
}

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

func (*TokenSession) Allowance added in v1.5.6

func (_Token *TokenSession) 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 (*TokenSession) Approve added in v1.5.6

func (_Token *TokenSession) 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 (*TokenSession) BalanceOf

func (_Token *TokenSession) 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 (*TokenSession) Credit

func (_Token *TokenSession) Credit(to common.Address, amount *big.Int) (*types.Transaction, error)

Credit is a paid mutator transaction binding the contract method 0xef6506db.

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

func (*TokenSession) Debit

func (_Token *TokenSession) Debit(from common.Address, amount *big.Int) (*types.Transaction, error)

Debit is a paid mutator transaction binding the contract method 0x636be27a.

Solidity: function debit(from address, amount uint256) returns()

func (*TokenSession) TotalSupply

func (_Token *TokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*TokenSession) Transfer

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

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

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

func (*TokenSession) TransferFrom added in v1.5.6

func (_Token *TokenSession) 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 TokenTransactor

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

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

func NewTokenTransactor

func NewTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenTransactor, error)

NewTokenTransactor creates a new write-only instance of Token, bound to a specific deployed contract.

func (*TokenTransactor) Approve added in v1.5.6

func (_Token *TokenTransactor) 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 (*TokenTransactor) Credit

func (_Token *TokenTransactor) Credit(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Credit is a paid mutator transaction binding the contract method 0xef6506db.

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

func (*TokenTransactor) Debit

func (_Token *TokenTransactor) Debit(opts *bind.TransactOpts, from common.Address, amount *big.Int) (*types.Transaction, error)

Debit is a paid mutator transaction binding the contract method 0x636be27a.

Solidity: function debit(from address, amount uint256) returns()

func (*TokenTransactor) Transfer

func (_Token *TokenTransactor) 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(to address, amount uint256) returns(bool)

func (*TokenTransactor) TransferFrom added in v1.5.6

func (_Token *TokenTransactor) 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 TokenTransactorRaw

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

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

func (*TokenTransactorRaw) Transact

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

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

func (*TokenTransactorRaw) Transfer

func (_Token *TokenTransactorRaw) 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 TokenTransactorSession

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

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

func (*TokenTransactorSession) Approve added in v1.5.6

func (_Token *TokenTransactorSession) 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 (*TokenTransactorSession) Credit

func (_Token *TokenTransactorSession) Credit(to common.Address, amount *big.Int) (*types.Transaction, error)

Credit is a paid mutator transaction binding the contract method 0xef6506db.

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

func (*TokenTransactorSession) Debit

func (_Token *TokenTransactorSession) Debit(from common.Address, amount *big.Int) (*types.Transaction, error)

Debit is a paid mutator transaction binding the contract method 0x636be27a.

Solidity: function debit(from address, amount uint256) returns()

func (*TokenTransactorSession) Transfer

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

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

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

func (*TokenTransactorSession) TransferFrom added in v1.5.6

func (_Token *TokenTransactorSession) 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 TokenTransfer

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

TokenTransfer represents a Transfer event raised by the Token contract.

type TokenTransferIterator

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

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

func (*TokenTransferIterator) Close

func (it *TokenTransferIterator) Close() error

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

func (*TokenTransferIterator) Error

func (it *TokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenTransferIterator) Next

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