proposalsmt

package
v1.7.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProposalSMTABI = ProposalSMTMetaData.ABI

ProposalSMTABI is the input ABI used to generate the binding from. Deprecated: Use ProposalSMTMetaData.ABI instead.

View Source
var ProposalSMTMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"root\",\"type\":\"bytes32\"}],\"name\":\"RootUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"TREE_SIZE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"proposalsState_\",\"type\":\"address\"}],\"name\":\"__ProposalSMT_init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"keyOfElement_\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"element_\",\"type\":\"bytes32\"}],\"name\":\"add\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"key_\",\"type\":\"bytes32\"}],\"name\":\"getNodeByKey\",\"outputs\":[{\"components\":[{\"internalType\":\"enumSparseMerkleTree.NodeType\",\"name\":\"nodeType\",\"type\":\"uint8\"},{\"internalType\":\"uint64\",\"name\":\"childLeft\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"childRight\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"nodeHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"value\",\"type\":\"bytes32\"}],\"internalType\":\"structSparseMerkleTree.Node\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"key_\",\"type\":\"bytes32\"}],\"name\":\"getProof\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"root\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"siblings\",\"type\":\"bytes32[]\"},{\"internalType\":\"bool\",\"name\":\"existence\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"value\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"auxExistence\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"auxKey\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"auxValue\",\"type\":\"bytes32\"}],\"internalType\":\"structSparseMerkleTree.Proof\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proposalsState\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"keyOfElement_\",\"type\":\"bytes32\"}],\"name\":\"remove\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"keyOfElement_\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"newElement_\",\"type\":\"bytes32\"}],\"name\":\"update\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

ProposalSMTMetaData contains all meta data concerning the ProposalSMT contract.

Functions

This section is empty.

Types

type ProposalSMT

type ProposalSMT struct {
	ProposalSMTCaller     // Read-only binding to the contract
	ProposalSMTTransactor // Write-only binding to the contract
	ProposalSMTFilterer   // Log filterer for contract events
}

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

func NewProposalSMT

func NewProposalSMT(address common.Address, backend bind.ContractBackend) (*ProposalSMT, error)

NewProposalSMT creates a new instance of ProposalSMT, bound to a specific deployed contract.

type ProposalSMTCaller

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

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

func NewProposalSMTCaller

func NewProposalSMTCaller(address common.Address, caller bind.ContractCaller) (*ProposalSMTCaller, error)

NewProposalSMTCaller creates a new read-only instance of ProposalSMT, bound to a specific deployed contract.

func (*ProposalSMTCaller) GetNodeByKey

func (_ProposalSMT *ProposalSMTCaller) GetNodeByKey(opts *bind.CallOpts, key_ [32]byte) (SparseMerkleTreeNode, error)

GetNodeByKey is a free data retrieval call binding the contract method 0x083a8580.

Solidity: function getNodeByKey(bytes32 key_) view returns((uint8,uint64,uint64,bytes32,bytes32,bytes32))

func (*ProposalSMTCaller) GetProof

func (_ProposalSMT *ProposalSMTCaller) GetProof(opts *bind.CallOpts, key_ [32]byte) (SparseMerkleTreeProof, error)

GetProof is a free data retrieval call binding the contract method 0x1b80bb3a.

Solidity: function getProof(bytes32 key_) view returns((bytes32,bytes32[],bool,bytes32,bytes32,bool,bytes32,bytes32))

func (*ProposalSMTCaller) GetRoot

func (_ProposalSMT *ProposalSMTCaller) GetRoot(opts *bind.CallOpts) ([32]byte, error)

GetRoot is a free data retrieval call binding the contract method 0x5ca1e165.

Solidity: function getRoot() view returns(bytes32)

func (*ProposalSMTCaller) ProposalsState

func (_ProposalSMT *ProposalSMTCaller) ProposalsState(opts *bind.CallOpts) (common.Address, error)

ProposalsState is a free data retrieval call binding the contract method 0x3af4e407.

Solidity: function proposalsState() view returns(address)

func (*ProposalSMTCaller) TREESIZE

func (_ProposalSMT *ProposalSMTCaller) TREESIZE(opts *bind.CallOpts) (*big.Int, error)

TREESIZE is a free data retrieval call binding the contract method 0xf9232cb4.

Solidity: function TREE_SIZE() view returns(uint256)

type ProposalSMTCallerRaw

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

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

func (*ProposalSMTCallerRaw) Call

func (_ProposalSMT *ProposalSMTCallerRaw) 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 ProposalSMTCallerSession

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

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

func (*ProposalSMTCallerSession) GetNodeByKey

func (_ProposalSMT *ProposalSMTCallerSession) GetNodeByKey(key_ [32]byte) (SparseMerkleTreeNode, error)

GetNodeByKey is a free data retrieval call binding the contract method 0x083a8580.

Solidity: function getNodeByKey(bytes32 key_) view returns((uint8,uint64,uint64,bytes32,bytes32,bytes32))

func (*ProposalSMTCallerSession) GetProof

func (_ProposalSMT *ProposalSMTCallerSession) GetProof(key_ [32]byte) (SparseMerkleTreeProof, error)

GetProof is a free data retrieval call binding the contract method 0x1b80bb3a.

Solidity: function getProof(bytes32 key_) view returns((bytes32,bytes32[],bool,bytes32,bytes32,bool,bytes32,bytes32))

func (*ProposalSMTCallerSession) GetRoot

func (_ProposalSMT *ProposalSMTCallerSession) GetRoot() ([32]byte, error)

GetRoot is a free data retrieval call binding the contract method 0x5ca1e165.

Solidity: function getRoot() view returns(bytes32)

func (*ProposalSMTCallerSession) ProposalsState

func (_ProposalSMT *ProposalSMTCallerSession) ProposalsState() (common.Address, error)

ProposalsState is a free data retrieval call binding the contract method 0x3af4e407.

Solidity: function proposalsState() view returns(address)

func (*ProposalSMTCallerSession) TREESIZE

func (_ProposalSMT *ProposalSMTCallerSession) TREESIZE() (*big.Int, error)

TREESIZE is a free data retrieval call binding the contract method 0xf9232cb4.

Solidity: function TREE_SIZE() view returns(uint256)

type ProposalSMTFilterer

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

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

func NewProposalSMTFilterer

func NewProposalSMTFilterer(address common.Address, filterer bind.ContractFilterer) (*ProposalSMTFilterer, error)

NewProposalSMTFilterer creates a new log filterer instance of ProposalSMT, bound to a specific deployed contract.

func (*ProposalSMTFilterer) FilterInitialized

func (_ProposalSMT *ProposalSMTFilterer) FilterInitialized(opts *bind.FilterOpts) (*ProposalSMTInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ProposalSMTFilterer) FilterRootUpdated

func (_ProposalSMT *ProposalSMTFilterer) FilterRootUpdated(opts *bind.FilterOpts, root [][32]byte) (*ProposalSMTRootUpdatedIterator, error)

FilterRootUpdated is a free log retrieval operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.

Solidity: event RootUpdated(bytes32 indexed root)

func (*ProposalSMTFilterer) ParseInitialized

func (_ProposalSMT *ProposalSMTFilterer) ParseInitialized(log types.Log) (*ProposalSMTInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ProposalSMTFilterer) ParseRootUpdated

func (_ProposalSMT *ProposalSMTFilterer) ParseRootUpdated(log types.Log) (*ProposalSMTRootUpdated, error)

ParseRootUpdated is a log parse operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.

Solidity: event RootUpdated(bytes32 indexed root)

func (*ProposalSMTFilterer) WatchInitialized

func (_ProposalSMT *ProposalSMTFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ProposalSMTInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ProposalSMTFilterer) WatchRootUpdated

func (_ProposalSMT *ProposalSMTFilterer) WatchRootUpdated(opts *bind.WatchOpts, sink chan<- *ProposalSMTRootUpdated, root [][32]byte) (event.Subscription, error)

WatchRootUpdated is a free log subscription operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.

Solidity: event RootUpdated(bytes32 indexed root)

type ProposalSMTInitialized

type ProposalSMTInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

ProposalSMTInitialized represents a Initialized event raised by the ProposalSMT contract.

type ProposalSMTInitializedIterator

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

ProposalSMTInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the ProposalSMT contract.

func (*ProposalSMTInitializedIterator) Close

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

func (*ProposalSMTInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProposalSMTInitializedIterator) 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 ProposalSMTRaw

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

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

func (*ProposalSMTRaw) Call

func (_ProposalSMT *ProposalSMTRaw) 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 (*ProposalSMTRaw) Transact

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

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

func (*ProposalSMTRaw) Transfer

func (_ProposalSMT *ProposalSMTRaw) 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 ProposalSMTRootUpdated

type ProposalSMTRootUpdated struct {
	Root [32]byte
	Raw  types.Log // Blockchain specific contextual infos
}

ProposalSMTRootUpdated represents a RootUpdated event raised by the ProposalSMT contract.

type ProposalSMTRootUpdatedIterator

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

ProposalSMTRootUpdatedIterator is returned from FilterRootUpdated and is used to iterate over the raw logs and unpacked data for RootUpdated events raised by the ProposalSMT contract.

func (*ProposalSMTRootUpdatedIterator) Close

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

func (*ProposalSMTRootUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProposalSMTRootUpdatedIterator) 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 ProposalSMTSession

type ProposalSMTSession struct {
	Contract     *ProposalSMT      // 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
}

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

func (*ProposalSMTSession) Add

func (_ProposalSMT *ProposalSMTSession) Add(keyOfElement_ [32]byte, element_ [32]byte) (*types.Transaction, error)

Add is a paid mutator transaction binding the contract method 0xd1de592a.

Solidity: function add(bytes32 keyOfElement_, bytes32 element_) returns()

func (*ProposalSMTSession) GetNodeByKey

func (_ProposalSMT *ProposalSMTSession) GetNodeByKey(key_ [32]byte) (SparseMerkleTreeNode, error)

GetNodeByKey is a free data retrieval call binding the contract method 0x083a8580.

Solidity: function getNodeByKey(bytes32 key_) view returns((uint8,uint64,uint64,bytes32,bytes32,bytes32))

func (*ProposalSMTSession) GetProof

func (_ProposalSMT *ProposalSMTSession) GetProof(key_ [32]byte) (SparseMerkleTreeProof, error)

GetProof is a free data retrieval call binding the contract method 0x1b80bb3a.

Solidity: function getProof(bytes32 key_) view returns((bytes32,bytes32[],bool,bytes32,bytes32,bool,bytes32,bytes32))

func (*ProposalSMTSession) GetRoot

func (_ProposalSMT *ProposalSMTSession) GetRoot() ([32]byte, error)

GetRoot is a free data retrieval call binding the contract method 0x5ca1e165.

Solidity: function getRoot() view returns(bytes32)

func (*ProposalSMTSession) ProposalSMTInit

func (_ProposalSMT *ProposalSMTSession) ProposalSMTInit(proposalsState_ common.Address) (*types.Transaction, error)

ProposalSMTInit is a paid mutator transaction binding the contract method 0x4662d2f7.

Solidity: function __ProposalSMT_init(address proposalsState_) returns()

func (*ProposalSMTSession) ProposalsState

func (_ProposalSMT *ProposalSMTSession) ProposalsState() (common.Address, error)

ProposalsState is a free data retrieval call binding the contract method 0x3af4e407.

Solidity: function proposalsState() view returns(address)

func (*ProposalSMTSession) Remove

func (_ProposalSMT *ProposalSMTSession) Remove(keyOfElement_ [32]byte) (*types.Transaction, error)

Remove is a paid mutator transaction binding the contract method 0x95bc2673.

Solidity: function remove(bytes32 keyOfElement_) returns()

func (*ProposalSMTSession) TREESIZE

func (_ProposalSMT *ProposalSMTSession) TREESIZE() (*big.Int, error)

TREESIZE is a free data retrieval call binding the contract method 0xf9232cb4.

Solidity: function TREE_SIZE() view returns(uint256)

func (*ProposalSMTSession) Update

func (_ProposalSMT *ProposalSMTSession) Update(keyOfElement_ [32]byte, newElement_ [32]byte) (*types.Transaction, error)

Update is a paid mutator transaction binding the contract method 0x13f57c3e.

Solidity: function update(bytes32 keyOfElement_, bytes32 newElement_) returns()

type ProposalSMTTransactor

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

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

func NewProposalSMTTransactor

func NewProposalSMTTransactor(address common.Address, transactor bind.ContractTransactor) (*ProposalSMTTransactor, error)

NewProposalSMTTransactor creates a new write-only instance of ProposalSMT, bound to a specific deployed contract.

func (*ProposalSMTTransactor) Add

func (_ProposalSMT *ProposalSMTTransactor) Add(opts *bind.TransactOpts, keyOfElement_ [32]byte, element_ [32]byte) (*types.Transaction, error)

Add is a paid mutator transaction binding the contract method 0xd1de592a.

Solidity: function add(bytes32 keyOfElement_, bytes32 element_) returns()

func (*ProposalSMTTransactor) ProposalSMTInit

func (_ProposalSMT *ProposalSMTTransactor) ProposalSMTInit(opts *bind.TransactOpts, proposalsState_ common.Address) (*types.Transaction, error)

ProposalSMTInit is a paid mutator transaction binding the contract method 0x4662d2f7.

Solidity: function __ProposalSMT_init(address proposalsState_) returns()

func (*ProposalSMTTransactor) Remove

func (_ProposalSMT *ProposalSMTTransactor) Remove(opts *bind.TransactOpts, keyOfElement_ [32]byte) (*types.Transaction, error)

Remove is a paid mutator transaction binding the contract method 0x95bc2673.

Solidity: function remove(bytes32 keyOfElement_) returns()

func (*ProposalSMTTransactor) Update

func (_ProposalSMT *ProposalSMTTransactor) Update(opts *bind.TransactOpts, keyOfElement_ [32]byte, newElement_ [32]byte) (*types.Transaction, error)

Update is a paid mutator transaction binding the contract method 0x13f57c3e.

Solidity: function update(bytes32 keyOfElement_, bytes32 newElement_) returns()

type ProposalSMTTransactorRaw

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

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

func (*ProposalSMTTransactorRaw) Transact

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

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

func (*ProposalSMTTransactorRaw) Transfer

func (_ProposalSMT *ProposalSMTTransactorRaw) 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 ProposalSMTTransactorSession

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

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

func (*ProposalSMTTransactorSession) Add

func (_ProposalSMT *ProposalSMTTransactorSession) Add(keyOfElement_ [32]byte, element_ [32]byte) (*types.Transaction, error)

Add is a paid mutator transaction binding the contract method 0xd1de592a.

Solidity: function add(bytes32 keyOfElement_, bytes32 element_) returns()

func (*ProposalSMTTransactorSession) ProposalSMTInit

func (_ProposalSMT *ProposalSMTTransactorSession) ProposalSMTInit(proposalsState_ common.Address) (*types.Transaction, error)

ProposalSMTInit is a paid mutator transaction binding the contract method 0x4662d2f7.

Solidity: function __ProposalSMT_init(address proposalsState_) returns()

func (*ProposalSMTTransactorSession) Remove

func (_ProposalSMT *ProposalSMTTransactorSession) Remove(keyOfElement_ [32]byte) (*types.Transaction, error)

Remove is a paid mutator transaction binding the contract method 0x95bc2673.

Solidity: function remove(bytes32 keyOfElement_) returns()

func (*ProposalSMTTransactorSession) Update

func (_ProposalSMT *ProposalSMTTransactorSession) Update(keyOfElement_ [32]byte, newElement_ [32]byte) (*types.Transaction, error)

Update is a paid mutator transaction binding the contract method 0x13f57c3e.

Solidity: function update(bytes32 keyOfElement_, bytes32 newElement_) returns()

type SparseMerkleTreeNode

type SparseMerkleTreeNode struct {
	NodeType   uint8
	ChildLeft  uint64
	ChildRight uint64
	NodeHash   [32]byte
	Key        [32]byte
	Value      [32]byte
}

SparseMerkleTreeNode is an auto generated low-level Go binding around an user-defined struct.

type SparseMerkleTreeProof

type SparseMerkleTreeProof struct {
	Root         [32]byte
	Siblings     [][32]byte
	Existence    bool
	Key          [32]byte
	Value        [32]byte
	AuxExistence bool
	AuxKey       [32]byte
	AuxValue     [32]byte
}

SparseMerkleTreeProof is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

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