wrappers

package
Version: v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const HashingTestABI = "" /* 2810-byte string literal not displayed */

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

Variables

View Source
var HashingTestBin = "" /* 4716-byte string literal not displayed */

HashingTestBin is the compiled bytecode used for deploying new contracts.

View Source
var HashingTestFuncSigs = map[string]string{
	"6071cbd9": "ConcatHash(address[],uint256[],uint256,bytes32)",
	"0caff28b": "ConcatHash2(address[],uint256[],uint256,bytes32)",
	"74df6ae4": "IterativeHash(address[],uint256[],uint256,bytes32)",
	"884403e2": "JustSaveEverything(address[],uint256[],uint256)",
	"715dff7e": "JustSaveEverythingAgain(address[],uint256[],uint256)",
	"d32e81a5": "lastCheckpoint()",
	"ccf0e74c": "state_nonce()",
	"2b939281": "state_powers(uint256)",
	"2afbb62e": "state_validators(uint256)",
}

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

Functions

This section is empty.

Types

type HashingTest

type HashingTest struct {
	HashingTestCaller     // Read-only binding to the contract
	HashingTestTransactor // Write-only binding to the contract
	HashingTestFilterer   // Log filterer for contract events
}

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

func DeployHashingTest

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

DeployHashingTest deploys a new Ethereum contract, binding an instance of HashingTest to it.

func NewHashingTest

func NewHashingTest(address common.Address, backend bind.ContractBackend) (*HashingTest, error)

NewHashingTest creates a new instance of HashingTest, bound to a specific deployed contract.

type HashingTestCaller

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

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

func NewHashingTestCaller

func NewHashingTestCaller(address common.Address, caller bind.ContractCaller) (*HashingTestCaller, error)

NewHashingTestCaller creates a new read-only instance of HashingTest, bound to a specific deployed contract.

func (*HashingTestCaller) LastCheckpoint

func (_HashingTest *HashingTestCaller) LastCheckpoint(opts *bind.CallOpts) ([32]byte, error)

LastCheckpoint is a free data retrieval call binding the contract method 0xd32e81a5.

Solidity: function lastCheckpoint() view returns(bytes32)

func (*HashingTestCaller) StateNonce

func (_HashingTest *HashingTestCaller) StateNonce(opts *bind.CallOpts) (*big.Int, error)

StateNonce is a free data retrieval call binding the contract method 0xccf0e74c.

Solidity: function state_nonce() view returns(uint256)

func (*HashingTestCaller) StatePowers

func (_HashingTest *HashingTestCaller) StatePowers(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

StatePowers is a free data retrieval call binding the contract method 0x2b939281.

Solidity: function state_powers(uint256 ) view returns(uint256)

func (*HashingTestCaller) StateValidators

func (_HashingTest *HashingTestCaller) StateValidators(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

StateValidators is a free data retrieval call binding the contract method 0x2afbb62e.

Solidity: function state_validators(uint256 ) view returns(address)

type HashingTestCallerRaw

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

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

func (*HashingTestCallerRaw) Call

func (_HashingTest *HashingTestCallerRaw) 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 HashingTestCallerSession

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

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

func (*HashingTestCallerSession) LastCheckpoint

func (_HashingTest *HashingTestCallerSession) LastCheckpoint() ([32]byte, error)

LastCheckpoint is a free data retrieval call binding the contract method 0xd32e81a5.

Solidity: function lastCheckpoint() view returns(bytes32)

func (*HashingTestCallerSession) StateNonce

func (_HashingTest *HashingTestCallerSession) StateNonce() (*big.Int, error)

StateNonce is a free data retrieval call binding the contract method 0xccf0e74c.

Solidity: function state_nonce() view returns(uint256)

func (*HashingTestCallerSession) StatePowers

func (_HashingTest *HashingTestCallerSession) StatePowers(arg0 *big.Int) (*big.Int, error)

StatePowers is a free data retrieval call binding the contract method 0x2b939281.

Solidity: function state_powers(uint256 ) view returns(uint256)

func (*HashingTestCallerSession) StateValidators

func (_HashingTest *HashingTestCallerSession) StateValidators(arg0 *big.Int) (common.Address, error)

StateValidators is a free data retrieval call binding the contract method 0x2afbb62e.

Solidity: function state_validators(uint256 ) view returns(address)

type HashingTestFilterer

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

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

func NewHashingTestFilterer

func NewHashingTestFilterer(address common.Address, filterer bind.ContractFilterer) (*HashingTestFilterer, error)

NewHashingTestFilterer creates a new log filterer instance of HashingTest, bound to a specific deployed contract.

type HashingTestRaw

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

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

func (*HashingTestRaw) Call

func (_HashingTest *HashingTestRaw) 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 (*HashingTestRaw) Transact

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

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

func (*HashingTestRaw) Transfer

func (_HashingTest *HashingTestRaw) 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 HashingTestSession

type HashingTestSession struct {
	Contract     *HashingTest      // 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
}

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

func (*HashingTestSession) ConcatHash

func (_HashingTest *HashingTestSession) ConcatHash(_validators []common.Address, _powers []*big.Int, _valsetNonce *big.Int, _peggyId [32]byte) (*types.Transaction, error)

ConcatHash is a paid mutator transaction binding the contract method 0x6071cbd9.

Solidity: function ConcatHash(address[] _validators, uint256[] _powers, uint256 _valsetNonce, bytes32 _peggyId) returns()

func (*HashingTestSession) ConcatHash2

func (_HashingTest *HashingTestSession) ConcatHash2(_validators []common.Address, _powers []*big.Int, _valsetNonce *big.Int, _peggyId [32]byte) (*types.Transaction, error)

ConcatHash2 is a paid mutator transaction binding the contract method 0x0caff28b.

Solidity: function ConcatHash2(address[] _validators, uint256[] _powers, uint256 _valsetNonce, bytes32 _peggyId) returns()

func (*HashingTestSession) IterativeHash

func (_HashingTest *HashingTestSession) IterativeHash(_validators []common.Address, _powers []*big.Int, _valsetNonce *big.Int, _peggyId [32]byte) (*types.Transaction, error)

IterativeHash is a paid mutator transaction binding the contract method 0x74df6ae4.

Solidity: function IterativeHash(address[] _validators, uint256[] _powers, uint256 _valsetNonce, bytes32 _peggyId) returns()

func (*HashingTestSession) JustSaveEverything

func (_HashingTest *HashingTestSession) JustSaveEverything(_validators []common.Address, _powers []*big.Int, _valsetNonce *big.Int) (*types.Transaction, error)

JustSaveEverything is a paid mutator transaction binding the contract method 0x884403e2.

Solidity: function JustSaveEverything(address[] _validators, uint256[] _powers, uint256 _valsetNonce) returns()

func (*HashingTestSession) JustSaveEverythingAgain

func (_HashingTest *HashingTestSession) JustSaveEverythingAgain(_validators []common.Address, _powers []*big.Int, _valsetNonce *big.Int) (*types.Transaction, error)

JustSaveEverythingAgain is a paid mutator transaction binding the contract method 0x715dff7e.

Solidity: function JustSaveEverythingAgain(address[] _validators, uint256[] _powers, uint256 _valsetNonce) returns()

func (*HashingTestSession) LastCheckpoint

func (_HashingTest *HashingTestSession) LastCheckpoint() ([32]byte, error)

LastCheckpoint is a free data retrieval call binding the contract method 0xd32e81a5.

Solidity: function lastCheckpoint() view returns(bytes32)

func (*HashingTestSession) StateNonce

func (_HashingTest *HashingTestSession) StateNonce() (*big.Int, error)

StateNonce is a free data retrieval call binding the contract method 0xccf0e74c.

Solidity: function state_nonce() view returns(uint256)

func (*HashingTestSession) StatePowers

func (_HashingTest *HashingTestSession) StatePowers(arg0 *big.Int) (*big.Int, error)

StatePowers is a free data retrieval call binding the contract method 0x2b939281.

Solidity: function state_powers(uint256 ) view returns(uint256)

func (*HashingTestSession) StateValidators

func (_HashingTest *HashingTestSession) StateValidators(arg0 *big.Int) (common.Address, error)

StateValidators is a free data retrieval call binding the contract method 0x2afbb62e.

Solidity: function state_validators(uint256 ) view returns(address)

type HashingTestTransactor

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

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

func NewHashingTestTransactor

func NewHashingTestTransactor(address common.Address, transactor bind.ContractTransactor) (*HashingTestTransactor, error)

NewHashingTestTransactor creates a new write-only instance of HashingTest, bound to a specific deployed contract.

func (*HashingTestTransactor) ConcatHash

func (_HashingTest *HashingTestTransactor) ConcatHash(opts *bind.TransactOpts, _validators []common.Address, _powers []*big.Int, _valsetNonce *big.Int, _peggyId [32]byte) (*types.Transaction, error)

ConcatHash is a paid mutator transaction binding the contract method 0x6071cbd9.

Solidity: function ConcatHash(address[] _validators, uint256[] _powers, uint256 _valsetNonce, bytes32 _peggyId) returns()

func (*HashingTestTransactor) ConcatHash2

func (_HashingTest *HashingTestTransactor) ConcatHash2(opts *bind.TransactOpts, _validators []common.Address, _powers []*big.Int, _valsetNonce *big.Int, _peggyId [32]byte) (*types.Transaction, error)

ConcatHash2 is a paid mutator transaction binding the contract method 0x0caff28b.

Solidity: function ConcatHash2(address[] _validators, uint256[] _powers, uint256 _valsetNonce, bytes32 _peggyId) returns()

func (*HashingTestTransactor) IterativeHash

func (_HashingTest *HashingTestTransactor) IterativeHash(opts *bind.TransactOpts, _validators []common.Address, _powers []*big.Int, _valsetNonce *big.Int, _peggyId [32]byte) (*types.Transaction, error)

IterativeHash is a paid mutator transaction binding the contract method 0x74df6ae4.

Solidity: function IterativeHash(address[] _validators, uint256[] _powers, uint256 _valsetNonce, bytes32 _peggyId) returns()

func (*HashingTestTransactor) JustSaveEverything

func (_HashingTest *HashingTestTransactor) JustSaveEverything(opts *bind.TransactOpts, _validators []common.Address, _powers []*big.Int, _valsetNonce *big.Int) (*types.Transaction, error)

JustSaveEverything is a paid mutator transaction binding the contract method 0x884403e2.

Solidity: function JustSaveEverything(address[] _validators, uint256[] _powers, uint256 _valsetNonce) returns()

func (*HashingTestTransactor) JustSaveEverythingAgain

func (_HashingTest *HashingTestTransactor) JustSaveEverythingAgain(opts *bind.TransactOpts, _validators []common.Address, _powers []*big.Int, _valsetNonce *big.Int) (*types.Transaction, error)

JustSaveEverythingAgain is a paid mutator transaction binding the contract method 0x715dff7e.

Solidity: function JustSaveEverythingAgain(address[] _validators, uint256[] _powers, uint256 _valsetNonce) returns()

type HashingTestTransactorRaw

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

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

func (*HashingTestTransactorRaw) Transact

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

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

func (*HashingTestTransactorRaw) Transfer

func (_HashingTest *HashingTestTransactorRaw) 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 HashingTestTransactorSession

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

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

func (*HashingTestTransactorSession) ConcatHash

func (_HashingTest *HashingTestTransactorSession) ConcatHash(_validators []common.Address, _powers []*big.Int, _valsetNonce *big.Int, _peggyId [32]byte) (*types.Transaction, error)

ConcatHash is a paid mutator transaction binding the contract method 0x6071cbd9.

Solidity: function ConcatHash(address[] _validators, uint256[] _powers, uint256 _valsetNonce, bytes32 _peggyId) returns()

func (*HashingTestTransactorSession) ConcatHash2

func (_HashingTest *HashingTestTransactorSession) ConcatHash2(_validators []common.Address, _powers []*big.Int, _valsetNonce *big.Int, _peggyId [32]byte) (*types.Transaction, error)

ConcatHash2 is a paid mutator transaction binding the contract method 0x0caff28b.

Solidity: function ConcatHash2(address[] _validators, uint256[] _powers, uint256 _valsetNonce, bytes32 _peggyId) returns()

func (*HashingTestTransactorSession) IterativeHash

func (_HashingTest *HashingTestTransactorSession) IterativeHash(_validators []common.Address, _powers []*big.Int, _valsetNonce *big.Int, _peggyId [32]byte) (*types.Transaction, error)

IterativeHash is a paid mutator transaction binding the contract method 0x74df6ae4.

Solidity: function IterativeHash(address[] _validators, uint256[] _powers, uint256 _valsetNonce, bytes32 _peggyId) returns()

func (*HashingTestTransactorSession) JustSaveEverything

func (_HashingTest *HashingTestTransactorSession) JustSaveEverything(_validators []common.Address, _powers []*big.Int, _valsetNonce *big.Int) (*types.Transaction, error)

JustSaveEverything is a paid mutator transaction binding the contract method 0x884403e2.

Solidity: function JustSaveEverything(address[] _validators, uint256[] _powers, uint256 _valsetNonce) returns()

func (*HashingTestTransactorSession) JustSaveEverythingAgain

func (_HashingTest *HashingTestTransactorSession) JustSaveEverythingAgain(_validators []common.Address, _powers []*big.Int, _valsetNonce *big.Int) (*types.Transaction, error)

JustSaveEverythingAgain is a paid mutator transaction binding the contract method 0x715dff7e.

Solidity: function JustSaveEverythingAgain(address[] _validators, uint256[] _powers, uint256 _valsetNonce) returns()

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL