Documentation
¶
Index ¶
- Constants
- Variables
- func ParseMPTVerifierABI() (*abi.ABI, error)
- type MPTVerifier
- type MPTVerifierCaller
- func (_MPTVerifier *MPTVerifierCaller) ValidateMPTProof(opts *bind.CallOpts, rootHash [32]byte, mptPath []byte, rlpStack []byte) ([]byte, error)
- func (_MPTVerifier *MPTVerifierCaller) ValidateMPTValueInclusion(opts *bind.CallOpts, rootHash [32]byte, mptPath []byte, rlpStack []byte, ...) (bool, error)
- type MPTVerifierCallerRaw
- type MPTVerifierCallerSession
- type MPTVerifierFilterer
- type MPTVerifierRaw
- func (_MPTVerifier *MPTVerifierRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_MPTVerifier *MPTVerifierRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MPTVerifier *MPTVerifierRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MPTVerifierSession
- type MPTVerifierTransactor
- type MPTVerifierTransactorRaw
- type MPTVerifierTransactorSession
Constants ¶
const MPTVerifierABI = "" /* 904-byte string literal not displayed */
MPTVerifierABI is the input ABI used to generate the binding from.
Variables ¶
var MPTVerifierBin = "" /* 8692-byte string literal not displayed */
MPTVerifierBin is the compiled bytecode used for deploying new contracts.
Functions ¶
func ParseMPTVerifierABI ¶
ParseMPTVerifierABI parses the ABI
Types ¶
type MPTVerifier ¶
type MPTVerifier struct { MPTVerifierCaller // Read-only binding to the contract MPTVerifierTransactor // Write-only binding to the contract MPTVerifierFilterer // Log filterer for contract events }
MPTVerifier is an auto generated Go binding around an Ethereum contract.
func DeployMPTVerifier ¶
func DeployMPTVerifier(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *MPTVerifier, error)
DeployMPTVerifier deploys a new Ethereum contract, binding an instance of MPTVerifier to it.
func NewMPTVerifier ¶
func NewMPTVerifier(address common.Address, backend bind.ContractBackend) (*MPTVerifier, error)
NewMPTVerifier creates a new instance of MPTVerifier, bound to a specific deployed contract.
type MPTVerifierCaller ¶
type MPTVerifierCaller struct {
// contains filtered or unexported fields
}
MPTVerifierCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMPTVerifierCaller ¶
func NewMPTVerifierCaller(address common.Address, caller bind.ContractCaller) (*MPTVerifierCaller, error)
NewMPTVerifierCaller creates a new read-only instance of MPTVerifier, bound to a specific deployed contract.
func (*MPTVerifierCaller) ValidateMPTProof ¶
func (_MPTVerifier *MPTVerifierCaller) ValidateMPTProof(opts *bind.CallOpts, rootHash [32]byte, mptPath []byte, rlpStack []byte) ([]byte, error)
ValidateMPTProof is a free data retrieval call binding the contract method 0x93d70bf0.
Solidity: function validateMPTProof(bytes32 rootHash, bytes mptPath, bytes rlpStack) constant returns(bytes value)
func (*MPTVerifierCaller) ValidateMPTValueInclusion ¶
func (_MPTVerifier *MPTVerifierCaller) ValidateMPTValueInclusion(opts *bind.CallOpts, rootHash [32]byte, mptPath []byte, rlpStack []byte, valueHash [32]byte) (bool, error)
ValidateMPTValueInclusion is a free data retrieval call binding the contract method 0xb941472d.
Solidity: function validateMPTValueInclusion(bytes32 rootHash, bytes mptPath, bytes rlpStack, bytes32 valueHash) constant returns(bool isIncluded)
type MPTVerifierCallerRaw ¶
type MPTVerifierCallerRaw struct {
Contract *MPTVerifierCaller // Generic read-only contract binding to access the raw methods on
}
MPTVerifierCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MPTVerifierCallerRaw) Call ¶
func (_MPTVerifier *MPTVerifierCallerRaw) 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 MPTVerifierCallerSession ¶
type MPTVerifierCallerSession struct { Contract *MPTVerifierCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MPTVerifierCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MPTVerifierCallerSession) ValidateMPTProof ¶
func (_MPTVerifier *MPTVerifierCallerSession) ValidateMPTProof(rootHash [32]byte, mptPath []byte, rlpStack []byte) ([]byte, error)
ValidateMPTProof is a free data retrieval call binding the contract method 0x93d70bf0.
Solidity: function validateMPTProof(bytes32 rootHash, bytes mptPath, bytes rlpStack) constant returns(bytes value)
func (*MPTVerifierCallerSession) ValidateMPTValueInclusion ¶
func (_MPTVerifier *MPTVerifierCallerSession) ValidateMPTValueInclusion(rootHash [32]byte, mptPath []byte, rlpStack []byte, valueHash [32]byte) (bool, error)
ValidateMPTValueInclusion is a free data retrieval call binding the contract method 0xb941472d.
Solidity: function validateMPTValueInclusion(bytes32 rootHash, bytes mptPath, bytes rlpStack, bytes32 valueHash) constant returns(bool isIncluded)
type MPTVerifierFilterer ¶
type MPTVerifierFilterer struct {
// contains filtered or unexported fields
}
MPTVerifierFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMPTVerifierFilterer ¶
func NewMPTVerifierFilterer(address common.Address, filterer bind.ContractFilterer) (*MPTVerifierFilterer, error)
NewMPTVerifierFilterer creates a new log filterer instance of MPTVerifier, bound to a specific deployed contract.
func (*MPTVerifierFilterer) TryParseLog ¶
func (_MPTVerifier *MPTVerifierFilterer) TryParseLog(log types.Log) (eventName string, event interface{}, ok bool, err error)
TryParseLog attempts to parse a log. Returns the parsed log, evenName and whether it was succesfull
type MPTVerifierRaw ¶
type MPTVerifierRaw struct {
Contract *MPTVerifier // Generic contract binding to access the raw methods on
}
MPTVerifierRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MPTVerifierRaw) Call ¶
func (_MPTVerifier *MPTVerifierRaw) 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 (*MPTVerifierRaw) Transact ¶
func (_MPTVerifier *MPTVerifierRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MPTVerifierRaw) Transfer ¶
func (_MPTVerifier *MPTVerifierRaw) 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 MPTVerifierSession ¶
type MPTVerifierSession struct { Contract *MPTVerifier // 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 }
MPTVerifierSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MPTVerifierSession) ValidateMPTProof ¶
func (_MPTVerifier *MPTVerifierSession) ValidateMPTProof(rootHash [32]byte, mptPath []byte, rlpStack []byte) ([]byte, error)
ValidateMPTProof is a free data retrieval call binding the contract method 0x93d70bf0.
Solidity: function validateMPTProof(bytes32 rootHash, bytes mptPath, bytes rlpStack) constant returns(bytes value)
func (*MPTVerifierSession) ValidateMPTValueInclusion ¶
func (_MPTVerifier *MPTVerifierSession) ValidateMPTValueInclusion(rootHash [32]byte, mptPath []byte, rlpStack []byte, valueHash [32]byte) (bool, error)
ValidateMPTValueInclusion is a free data retrieval call binding the contract method 0xb941472d.
Solidity: function validateMPTValueInclusion(bytes32 rootHash, bytes mptPath, bytes rlpStack, bytes32 valueHash) constant returns(bool isIncluded)
type MPTVerifierTransactor ¶
type MPTVerifierTransactor struct {
// contains filtered or unexported fields
}
MPTVerifierTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMPTVerifierTransactor ¶
func NewMPTVerifierTransactor(address common.Address, transactor bind.ContractTransactor) (*MPTVerifierTransactor, error)
NewMPTVerifierTransactor creates a new write-only instance of MPTVerifier, bound to a specific deployed contract.
type MPTVerifierTransactorRaw ¶
type MPTVerifierTransactorRaw struct {
Contract *MPTVerifierTransactor // Generic write-only contract binding to access the raw methods on
}
MPTVerifierTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MPTVerifierTransactorRaw) Transact ¶
func (_MPTVerifier *MPTVerifierTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MPTVerifierTransactorRaw) Transfer ¶
func (_MPTVerifier *MPTVerifierTransactorRaw) 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 MPTVerifierTransactorSession ¶
type MPTVerifierTransactorSession struct { Contract *MPTVerifierTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MPTVerifierTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.