valuationprovider

package
v0.0.0-...-2bf0d78 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ICMCABI = "" /* 472-byte string literal not displayed */

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

View Source
const IValuationProviderABI = "" /* 1438-byte string literal not displayed */

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

View Source
const ValuationProviderABI = "" /* 1438-byte string literal not displayed */

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

Variables

View Source
var ICMCFuncSigs = map[string]string{
	"16e17622": "executeEnforcement(bytes32,uint256,address,uint256[])",
}

ICMCFuncSigs maps the 4-byte function signature to its string representation.

View Source
var IValuationProviderFuncSigs = map[string]string{
	"b16b1f9d": "requestValuation()",
	"dca1b843": "submitValuation(address,bytes32,uint256,address,uint256[])",
}

IValuationProviderFuncSigs maps the 4-byte function signature to its string representation.

View Source
var ValuationProviderBin = "" /* 1428-byte string literal not displayed */

ValuationProviderBin is the compiled bytecode used for deploying new contracts.

View Source
var ValuationProviderFuncSigs = map[string]string{
	"b16b1f9d": "requestValuation()",
	"dca1b843": "submitValuation(address,bytes32,uint256,address,uint256[])",
}

ValuationProviderFuncSigs maps the 4-byte function signature to its string representation.

Functions

This section is empty.

Types

type ICMC

type ICMC struct {
	ICMCCaller     // Read-only binding to the contract
	ICMCTransactor // Write-only binding to the contract
	ICMCFilterer   // Log filterer for contract events
}

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

func NewICMC

func NewICMC(address common.Address, backend bind.ContractBackend) (*ICMC, error)

NewICMC creates a new instance of ICMC, bound to a specific deployed contract.

type ICMCCaller

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

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

func NewICMCCaller

func NewICMCCaller(address common.Address, caller bind.ContractCaller) (*ICMCCaller, error)

NewICMCCaller creates a new read-only instance of ICMC, bound to a specific deployed contract.

type ICMCCallerRaw

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

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

func (*ICMCCallerRaw) Call

func (_ICMC *ICMCCallerRaw) 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 ICMCCallerSession

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

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

type ICMCFilterer

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

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

func NewICMCFilterer

func NewICMCFilterer(address common.Address, filterer bind.ContractFilterer) (*ICMCFilterer, error)

NewICMCFilterer creates a new log filterer instance of ICMC, bound to a specific deployed contract.

type ICMCRaw

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

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

func (*ICMCRaw) Call

func (_ICMC *ICMCRaw) 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 (*ICMCRaw) Transact

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

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

func (*ICMCRaw) Transfer

func (_ICMC *ICMCRaw) 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 ICMCSession

type ICMCSession struct {
	Contract     *ICMC             // 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
}

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

func (*ICMCSession) ExecuteEnforcement

func (_ICMC *ICMCSession) ExecuteEnforcement(tradesRootHash [32]byte, variationMargin *big.Int, payee common.Address, exchangeRates []*big.Int) (*types.Transaction, error)

ExecuteEnforcement is a paid mutator transaction binding the contract method 0x16e17622.

Solidity: function executeEnforcement(bytes32 tradesRootHash, uint256 variationMargin, address payee, uint256[] exchangeRates) returns()

type ICMCTransactor

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

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

func NewICMCTransactor

func NewICMCTransactor(address common.Address, transactor bind.ContractTransactor) (*ICMCTransactor, error)

NewICMCTransactor creates a new write-only instance of ICMC, bound to a specific deployed contract.

func (*ICMCTransactor) ExecuteEnforcement

func (_ICMC *ICMCTransactor) ExecuteEnforcement(opts *bind.TransactOpts, tradesRootHash [32]byte, variationMargin *big.Int, payee common.Address, exchangeRates []*big.Int) (*types.Transaction, error)

ExecuteEnforcement is a paid mutator transaction binding the contract method 0x16e17622.

Solidity: function executeEnforcement(bytes32 tradesRootHash, uint256 variationMargin, address payee, uint256[] exchangeRates) returns()

type ICMCTransactorRaw

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

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

func (*ICMCTransactorRaw) Transact

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

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

func (*ICMCTransactorRaw) Transfer

func (_ICMC *ICMCTransactorRaw) 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 ICMCTransactorSession

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

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

func (*ICMCTransactorSession) ExecuteEnforcement

func (_ICMC *ICMCTransactorSession) ExecuteEnforcement(tradesRootHash [32]byte, variationMargin *big.Int, payee common.Address, exchangeRates []*big.Int) (*types.Transaction, error)

ExecuteEnforcement is a paid mutator transaction binding the contract method 0x16e17622.

Solidity: function executeEnforcement(bytes32 tradesRootHash, uint256 variationMargin, address payee, uint256[] exchangeRates) returns()

type IValuationProvider

type IValuationProvider struct {
	IValuationProviderCaller     // Read-only binding to the contract
	IValuationProviderTransactor // Write-only binding to the contract
	IValuationProviderFilterer   // Log filterer for contract events
}

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

func NewIValuationProvider

func NewIValuationProvider(address common.Address, backend bind.ContractBackend) (*IValuationProvider, error)

NewIValuationProvider creates a new instance of IValuationProvider, bound to a specific deployed contract.

type IValuationProviderCaller

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

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

func NewIValuationProviderCaller

func NewIValuationProviderCaller(address common.Address, caller bind.ContractCaller) (*IValuationProviderCaller, error)

NewIValuationProviderCaller creates a new read-only instance of IValuationProvider, bound to a specific deployed contract.

type IValuationProviderCallerRaw

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

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

func (*IValuationProviderCallerRaw) Call

func (_IValuationProvider *IValuationProviderCallerRaw) 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 IValuationProviderCallerSession

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

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

type IValuationProviderFilterer

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

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

func NewIValuationProviderFilterer

func NewIValuationProviderFilterer(address common.Address, filterer bind.ContractFilterer) (*IValuationProviderFilterer, error)

NewIValuationProviderFilterer creates a new log filterer instance of IValuationProvider, bound to a specific deployed contract.

func (*IValuationProviderFilterer) FilterValuationRequestReceived

func (_IValuationProvider *IValuationProviderFilterer) FilterValuationRequestReceived(opts *bind.FilterOpts) (*IValuationProviderValuationRequestReceivedIterator, error)

FilterValuationRequestReceived is a free log retrieval operation binding the contract event 0x9112d470c4799e9a8541023cffabd2adbd83b00209706a1516542e741af417af.

Solidity: event ValuationRequestReceived(address from)

func (*IValuationProviderFilterer) FilterValuationRequestSubmitted

func (_IValuationProvider *IValuationProviderFilterer) FilterValuationRequestSubmitted(opts *bind.FilterOpts) (*IValuationProviderValuationRequestSubmittedIterator, error)

FilterValuationRequestSubmitted is a free log retrieval operation binding the contract event 0x83735d147986dc844c29ad9a94d600c1b3514494d5de82c9842b9fbbbf136e91.

Solidity: event ValuationRequestSubmitted(address to, bytes32 tradesRootHash, uint256 variationMargin, address payee, uint256[] exchangeRates)

func (*IValuationProviderFilterer) ParseValuationRequestReceived

func (_IValuationProvider *IValuationProviderFilterer) ParseValuationRequestReceived(log types.Log) (*IValuationProviderValuationRequestReceived, error)

ParseValuationRequestReceived is a log parse operation binding the contract event 0x9112d470c4799e9a8541023cffabd2adbd83b00209706a1516542e741af417af.

Solidity: event ValuationRequestReceived(address from)

func (*IValuationProviderFilterer) ParseValuationRequestSubmitted

func (_IValuationProvider *IValuationProviderFilterer) ParseValuationRequestSubmitted(log types.Log) (*IValuationProviderValuationRequestSubmitted, error)

ParseValuationRequestSubmitted is a log parse operation binding the contract event 0x83735d147986dc844c29ad9a94d600c1b3514494d5de82c9842b9fbbbf136e91.

Solidity: event ValuationRequestSubmitted(address to, bytes32 tradesRootHash, uint256 variationMargin, address payee, uint256[] exchangeRates)

func (*IValuationProviderFilterer) WatchValuationRequestReceived

func (_IValuationProvider *IValuationProviderFilterer) WatchValuationRequestReceived(opts *bind.WatchOpts, sink chan<- *IValuationProviderValuationRequestReceived) (event.Subscription, error)

WatchValuationRequestReceived is a free log subscription operation binding the contract event 0x9112d470c4799e9a8541023cffabd2adbd83b00209706a1516542e741af417af.

Solidity: event ValuationRequestReceived(address from)

func (*IValuationProviderFilterer) WatchValuationRequestSubmitted

func (_IValuationProvider *IValuationProviderFilterer) WatchValuationRequestSubmitted(opts *bind.WatchOpts, sink chan<- *IValuationProviderValuationRequestSubmitted) (event.Subscription, error)

WatchValuationRequestSubmitted is a free log subscription operation binding the contract event 0x83735d147986dc844c29ad9a94d600c1b3514494d5de82c9842b9fbbbf136e91.

Solidity: event ValuationRequestSubmitted(address to, bytes32 tradesRootHash, uint256 variationMargin, address payee, uint256[] exchangeRates)

type IValuationProviderRaw

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

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

func (*IValuationProviderRaw) Call

func (_IValuationProvider *IValuationProviderRaw) 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 (*IValuationProviderRaw) Transact

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

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

func (*IValuationProviderRaw) Transfer

func (_IValuationProvider *IValuationProviderRaw) 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 IValuationProviderSession

type IValuationProviderSession struct {
	Contract     *IValuationProvider // 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
}

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

func (*IValuationProviderSession) RequestValuation

func (_IValuationProvider *IValuationProviderSession) RequestValuation() (*types.Transaction, error)

RequestValuation is a paid mutator transaction binding the contract method 0xb16b1f9d.

Solidity: function requestValuation() returns()

func (*IValuationProviderSession) SubmitValuation

func (_IValuationProvider *IValuationProviderSession) SubmitValuation(to common.Address, tradesRootHash [32]byte, variationMargin *big.Int, payee common.Address, exchangeRates []*big.Int) (*types.Transaction, error)

SubmitValuation is a paid mutator transaction binding the contract method 0xdca1b843.

Solidity: function submitValuation(address to, bytes32 tradesRootHash, uint256 variationMargin, address payee, uint256[] exchangeRates) returns()

type IValuationProviderTransactor

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

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

func NewIValuationProviderTransactor

func NewIValuationProviderTransactor(address common.Address, transactor bind.ContractTransactor) (*IValuationProviderTransactor, error)

NewIValuationProviderTransactor creates a new write-only instance of IValuationProvider, bound to a specific deployed contract.

func (*IValuationProviderTransactor) RequestValuation

func (_IValuationProvider *IValuationProviderTransactor) RequestValuation(opts *bind.TransactOpts) (*types.Transaction, error)

RequestValuation is a paid mutator transaction binding the contract method 0xb16b1f9d.

Solidity: function requestValuation() returns()

func (*IValuationProviderTransactor) SubmitValuation

func (_IValuationProvider *IValuationProviderTransactor) SubmitValuation(opts *bind.TransactOpts, to common.Address, tradesRootHash [32]byte, variationMargin *big.Int, payee common.Address, exchangeRates []*big.Int) (*types.Transaction, error)

SubmitValuation is a paid mutator transaction binding the contract method 0xdca1b843.

Solidity: function submitValuation(address to, bytes32 tradesRootHash, uint256 variationMargin, address payee, uint256[] exchangeRates) returns()

type IValuationProviderTransactorRaw

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

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

func (*IValuationProviderTransactorRaw) Transact

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

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

func (*IValuationProviderTransactorRaw) Transfer

func (_IValuationProvider *IValuationProviderTransactorRaw) 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 IValuationProviderTransactorSession

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

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

func (*IValuationProviderTransactorSession) RequestValuation

func (_IValuationProvider *IValuationProviderTransactorSession) RequestValuation() (*types.Transaction, error)

RequestValuation is a paid mutator transaction binding the contract method 0xb16b1f9d.

Solidity: function requestValuation() returns()

func (*IValuationProviderTransactorSession) SubmitValuation

func (_IValuationProvider *IValuationProviderTransactorSession) SubmitValuation(to common.Address, tradesRootHash [32]byte, variationMargin *big.Int, payee common.Address, exchangeRates []*big.Int) (*types.Transaction, error)

SubmitValuation is a paid mutator transaction binding the contract method 0xdca1b843.

Solidity: function submitValuation(address to, bytes32 tradesRootHash, uint256 variationMargin, address payee, uint256[] exchangeRates) returns()

type IValuationProviderValuationRequestReceived

type IValuationProviderValuationRequestReceived struct {
	From common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

IValuationProviderValuationRequestReceived represents a ValuationRequestReceived event raised by the IValuationProvider contract.

type IValuationProviderValuationRequestReceivedIterator

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

IValuationProviderValuationRequestReceivedIterator is returned from FilterValuationRequestReceived and is used to iterate over the raw logs and unpacked data for ValuationRequestReceived events raised by the IValuationProvider contract.

func (*IValuationProviderValuationRequestReceivedIterator) Close

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

func (*IValuationProviderValuationRequestReceivedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IValuationProviderValuationRequestReceivedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IValuationProviderValuationRequestSubmitted

type IValuationProviderValuationRequestSubmitted struct {
	To              common.Address
	TradesRootHash  [32]byte
	VariationMargin *big.Int
	Payee           common.Address
	ExchangeRates   []*big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

IValuationProviderValuationRequestSubmitted represents a ValuationRequestSubmitted event raised by the IValuationProvider contract.

type IValuationProviderValuationRequestSubmittedIterator

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

IValuationProviderValuationRequestSubmittedIterator is returned from FilterValuationRequestSubmitted and is used to iterate over the raw logs and unpacked data for ValuationRequestSubmitted events raised by the IValuationProvider contract.

func (*IValuationProviderValuationRequestSubmittedIterator) Close

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

func (*IValuationProviderValuationRequestSubmittedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IValuationProviderValuationRequestSubmittedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ValuationProvider

type ValuationProvider struct {
	ValuationProviderCaller     // Read-only binding to the contract
	ValuationProviderTransactor // Write-only binding to the contract
	ValuationProviderFilterer   // Log filterer for contract events
}

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

func DeployValuationProvider

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

DeployValuationProvider deploys a new Ethereum contract, binding an instance of ValuationProvider to it.

func NewValuationProvider

func NewValuationProvider(address common.Address, backend bind.ContractBackend) (*ValuationProvider, error)

NewValuationProvider creates a new instance of ValuationProvider, bound to a specific deployed contract.

type ValuationProviderCaller

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

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

func NewValuationProviderCaller

func NewValuationProviderCaller(address common.Address, caller bind.ContractCaller) (*ValuationProviderCaller, error)

NewValuationProviderCaller creates a new read-only instance of ValuationProvider, bound to a specific deployed contract.

type ValuationProviderCallerRaw

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

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

func (*ValuationProviderCallerRaw) Call

func (_ValuationProvider *ValuationProviderCallerRaw) 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 ValuationProviderCallerSession

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

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

type ValuationProviderFilterer

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

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

func NewValuationProviderFilterer

func NewValuationProviderFilterer(address common.Address, filterer bind.ContractFilterer) (*ValuationProviderFilterer, error)

NewValuationProviderFilterer creates a new log filterer instance of ValuationProvider, bound to a specific deployed contract.

func (*ValuationProviderFilterer) FilterValuationRequestReceived

func (_ValuationProvider *ValuationProviderFilterer) FilterValuationRequestReceived(opts *bind.FilterOpts) (*ValuationProviderValuationRequestReceivedIterator, error)

FilterValuationRequestReceived is a free log retrieval operation binding the contract event 0x9112d470c4799e9a8541023cffabd2adbd83b00209706a1516542e741af417af.

Solidity: event ValuationRequestReceived(address from)

func (*ValuationProviderFilterer) FilterValuationRequestSubmitted

func (_ValuationProvider *ValuationProviderFilterer) FilterValuationRequestSubmitted(opts *bind.FilterOpts) (*ValuationProviderValuationRequestSubmittedIterator, error)

FilterValuationRequestSubmitted is a free log retrieval operation binding the contract event 0x83735d147986dc844c29ad9a94d600c1b3514494d5de82c9842b9fbbbf136e91.

Solidity: event ValuationRequestSubmitted(address to, bytes32 tradesRootHash, uint256 variationMargin, address payee, uint256[] exchangeRates)

func (*ValuationProviderFilterer) ParseValuationRequestReceived

func (_ValuationProvider *ValuationProviderFilterer) ParseValuationRequestReceived(log types.Log) (*ValuationProviderValuationRequestReceived, error)

ParseValuationRequestReceived is a log parse operation binding the contract event 0x9112d470c4799e9a8541023cffabd2adbd83b00209706a1516542e741af417af.

Solidity: event ValuationRequestReceived(address from)

func (*ValuationProviderFilterer) ParseValuationRequestSubmitted

func (_ValuationProvider *ValuationProviderFilterer) ParseValuationRequestSubmitted(log types.Log) (*ValuationProviderValuationRequestSubmitted, error)

ParseValuationRequestSubmitted is a log parse operation binding the contract event 0x83735d147986dc844c29ad9a94d600c1b3514494d5de82c9842b9fbbbf136e91.

Solidity: event ValuationRequestSubmitted(address to, bytes32 tradesRootHash, uint256 variationMargin, address payee, uint256[] exchangeRates)

func (*ValuationProviderFilterer) WatchValuationRequestReceived

func (_ValuationProvider *ValuationProviderFilterer) WatchValuationRequestReceived(opts *bind.WatchOpts, sink chan<- *ValuationProviderValuationRequestReceived) (event.Subscription, error)

WatchValuationRequestReceived is a free log subscription operation binding the contract event 0x9112d470c4799e9a8541023cffabd2adbd83b00209706a1516542e741af417af.

Solidity: event ValuationRequestReceived(address from)

func (*ValuationProviderFilterer) WatchValuationRequestSubmitted

func (_ValuationProvider *ValuationProviderFilterer) WatchValuationRequestSubmitted(opts *bind.WatchOpts, sink chan<- *ValuationProviderValuationRequestSubmitted) (event.Subscription, error)

WatchValuationRequestSubmitted is a free log subscription operation binding the contract event 0x83735d147986dc844c29ad9a94d600c1b3514494d5de82c9842b9fbbbf136e91.

Solidity: event ValuationRequestSubmitted(address to, bytes32 tradesRootHash, uint256 variationMargin, address payee, uint256[] exchangeRates)

type ValuationProviderRaw

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

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

func (*ValuationProviderRaw) Call

func (_ValuationProvider *ValuationProviderRaw) 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 (*ValuationProviderRaw) Transact

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

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

func (*ValuationProviderRaw) Transfer

func (_ValuationProvider *ValuationProviderRaw) 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 ValuationProviderSession

type ValuationProviderSession struct {
	Contract     *ValuationProvider // 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
}

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

func (*ValuationProviderSession) RequestValuation

func (_ValuationProvider *ValuationProviderSession) RequestValuation() (*types.Transaction, error)

RequestValuation is a paid mutator transaction binding the contract method 0xb16b1f9d.

Solidity: function requestValuation() returns()

func (*ValuationProviderSession) SubmitValuation

func (_ValuationProvider *ValuationProviderSession) SubmitValuation(to common.Address, tradesRootHash [32]byte, variationMargin *big.Int, payee common.Address, exchangeRates []*big.Int) (*types.Transaction, error)

SubmitValuation is a paid mutator transaction binding the contract method 0xdca1b843.

Solidity: function submitValuation(address to, bytes32 tradesRootHash, uint256 variationMargin, address payee, uint256[] exchangeRates) returns()

type ValuationProviderTransactor

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

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

func NewValuationProviderTransactor

func NewValuationProviderTransactor(address common.Address, transactor bind.ContractTransactor) (*ValuationProviderTransactor, error)

NewValuationProviderTransactor creates a new write-only instance of ValuationProvider, bound to a specific deployed contract.

func (*ValuationProviderTransactor) RequestValuation

func (_ValuationProvider *ValuationProviderTransactor) RequestValuation(opts *bind.TransactOpts) (*types.Transaction, error)

RequestValuation is a paid mutator transaction binding the contract method 0xb16b1f9d.

Solidity: function requestValuation() returns()

func (*ValuationProviderTransactor) SubmitValuation

func (_ValuationProvider *ValuationProviderTransactor) SubmitValuation(opts *bind.TransactOpts, to common.Address, tradesRootHash [32]byte, variationMargin *big.Int, payee common.Address, exchangeRates []*big.Int) (*types.Transaction, error)

SubmitValuation is a paid mutator transaction binding the contract method 0xdca1b843.

Solidity: function submitValuation(address to, bytes32 tradesRootHash, uint256 variationMargin, address payee, uint256[] exchangeRates) returns()

type ValuationProviderTransactorRaw

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

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

func (*ValuationProviderTransactorRaw) Transact

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

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

func (*ValuationProviderTransactorRaw) Transfer

func (_ValuationProvider *ValuationProviderTransactorRaw) 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 ValuationProviderTransactorSession

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

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

func (*ValuationProviderTransactorSession) RequestValuation

func (_ValuationProvider *ValuationProviderTransactorSession) RequestValuation() (*types.Transaction, error)

RequestValuation is a paid mutator transaction binding the contract method 0xb16b1f9d.

Solidity: function requestValuation() returns()

func (*ValuationProviderTransactorSession) SubmitValuation

func (_ValuationProvider *ValuationProviderTransactorSession) SubmitValuation(to common.Address, tradesRootHash [32]byte, variationMargin *big.Int, payee common.Address, exchangeRates []*big.Int) (*types.Transaction, error)

SubmitValuation is a paid mutator transaction binding the contract method 0xdca1b843.

Solidity: function submitValuation(address to, bytes32 tradesRootHash, uint256 variationMargin, address payee, uint256[] exchangeRates) returns()

type ValuationProviderValuationRequestReceived

type ValuationProviderValuationRequestReceived struct {
	From common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

ValuationProviderValuationRequestReceived represents a ValuationRequestReceived event raised by the ValuationProvider contract.

type ValuationProviderValuationRequestReceivedIterator

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

ValuationProviderValuationRequestReceivedIterator is returned from FilterValuationRequestReceived and is used to iterate over the raw logs and unpacked data for ValuationRequestReceived events raised by the ValuationProvider contract.

func (*ValuationProviderValuationRequestReceivedIterator) Close

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

func (*ValuationProviderValuationRequestReceivedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValuationProviderValuationRequestReceivedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ValuationProviderValuationRequestSubmitted

type ValuationProviderValuationRequestSubmitted struct {
	To              common.Address
	TradesRootHash  [32]byte
	VariationMargin *big.Int
	Payee           common.Address
	ExchangeRates   []*big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

ValuationProviderValuationRequestSubmitted represents a ValuationRequestSubmitted event raised by the ValuationProvider contract.

type ValuationProviderValuationRequestSubmittedIterator

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

ValuationProviderValuationRequestSubmittedIterator is returned from FilterValuationRequestSubmitted and is used to iterate over the raw logs and unpacked data for ValuationRequestSubmitted events raised by the ValuationProvider contract.

func (*ValuationProviderValuationRequestSubmittedIterator) Close

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

func (*ValuationProviderValuationRequestSubmittedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValuationProviderValuationRequestSubmittedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

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