bindings

package
v0.0.0-...-f39f649 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const ECDSAABI = "[]"

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

View Source
const ErdstallABI = "" /* 7044-byte string literal not displayed */

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

View Source
const SigABI = "[]"

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

Variables

View Source
var ECDSABin = "" /* 244-byte string literal not displayed */

ECDSABin is the compiled bytecode used for deploying new contracts.

View Source
var ErdstallBin = "" /* 14352-byte string literal not displayed */

ErdstallBin is the compiled bytecode used for deploying new contracts.

View Source
var ErdstallBinRuntime = `` /* 13402-byte string literal not displayed */

ErdstallBinRuntime is the runtime part of the compiled bytecode used for deploying new contracts.

View Source
var ErdstallFuncSigs = map[string]string{
	"03cf0678": "bigBang()",
	"778a2707": "challenge((uint64,address,uint256),bytes)",
	"0d13fd7b": "challengeDeposit()",
	"234c49a0": "challenges(uint64,address)",
	"d0e30db0": "deposit()",
	"9b7c7725": "deposits(uint64,address)",
	"0b7042d2": "encodeBalanceProof((uint64,address,uint256))",
	"64c38ddd": "ensureFrozen()",
	"63a3a27f": "exit((uint64,address,uint256),bytes)",
	"70e4a2c4": "exits(uint64,address)",
	"585db72a": "frozenEpoch()",
	"3f48a2a8": "frozenWithdrawals(address)",
	"f2910773": "numChallenges(uint64)",
	"ac5553ce": "phaseDuration()",
	"854b86d9": "responseDuration()",
	"67eeb62b": "tee()",
	"a608911d": "verifyBalance((uint64,address,uint256),bytes)",
	"750f0acc": "withdraw(uint64)",
	"3de970e3": "withdrawChallenge()",
	"f4a85043": "withdrawFrozen((uint64,address,uint256),bytes)",
}

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

View Source
var SigBin = "" /* 244-byte string literal not displayed */

SigBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type ECDSA

type ECDSA struct {
	ECDSACaller     // Read-only binding to the contract
	ECDSATransactor // Write-only binding to the contract
	ECDSAFilterer   // Log filterer for contract events
}

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

func DeployECDSA

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

DeployECDSA deploys a new Ethereum contract, binding an instance of ECDSA to it.

func NewECDSA

func NewECDSA(address common.Address, backend bind.ContractBackend) (*ECDSA, error)

NewECDSA creates a new instance of ECDSA, bound to a specific deployed contract.

type ECDSACaller

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

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

func NewECDSACaller

func NewECDSACaller(address common.Address, caller bind.ContractCaller) (*ECDSACaller, error)

NewECDSACaller creates a new read-only instance of ECDSA, bound to a specific deployed contract.

type ECDSACallerRaw

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

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

func (*ECDSACallerRaw) Call

func (_ECDSA *ECDSACallerRaw) 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 ECDSACallerSession

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

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

type ECDSAFilterer

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

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

func NewECDSAFilterer

func NewECDSAFilterer(address common.Address, filterer bind.ContractFilterer) (*ECDSAFilterer, error)

NewECDSAFilterer creates a new log filterer instance of ECDSA, bound to a specific deployed contract.

type ECDSARaw

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

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

func (*ECDSARaw) Call

func (_ECDSA *ECDSARaw) 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 (*ECDSARaw) Transact

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

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

func (*ECDSARaw) Transfer

func (_ECDSA *ECDSARaw) 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 ECDSASession

type ECDSASession struct {
	Contract     *ECDSA            // 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
}

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

type ECDSATransactor

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

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

func NewECDSATransactor

func NewECDSATransactor(address common.Address, transactor bind.ContractTransactor) (*ECDSATransactor, error)

NewECDSATransactor creates a new write-only instance of ECDSA, bound to a specific deployed contract.

type ECDSATransactorRaw

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

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

func (*ECDSATransactorRaw) Transact

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

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

func (*ECDSATransactorRaw) Transfer

func (_ECDSA *ECDSATransactorRaw) 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 ECDSATransactorSession

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

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

type Erdstall

type Erdstall struct {
	ErdstallCaller     // Read-only binding to the contract
	ErdstallTransactor // Write-only binding to the contract
	ErdstallFilterer   // Log filterer for contract events
}

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

func DeployErdstall

func DeployErdstall(auth *bind.TransactOpts, backend bind.ContractBackend, _tee common.Address, _phaseDuration uint64, _responseDuration uint64) (common.Address, *types.Transaction, *Erdstall, error)

DeployErdstall deploys a new Ethereum contract, binding an instance of Erdstall to it.

func NewErdstall

func NewErdstall(address common.Address, backend bind.ContractBackend) (*Erdstall, error)

NewErdstall creates a new instance of Erdstall, bound to a specific deployed contract.

type ErdstallBalance

type ErdstallBalance struct {
	Epoch   uint64
	Account common.Address
	Value   *big.Int
}

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

type ErdstallCaller

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

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

func NewErdstallCaller

func NewErdstallCaller(address common.Address, caller bind.ContractCaller) (*ErdstallCaller, error)

NewErdstallCaller creates a new read-only instance of Erdstall, bound to a specific deployed contract.

func (*ErdstallCaller) BigBang

func (_Erdstall *ErdstallCaller) BigBang(opts *bind.CallOpts) (uint64, error)

BigBang is a free data retrieval call binding the contract method 0x03cf0678.

Solidity: function bigBang() view returns(uint64)

func (*ErdstallCaller) Challenges

func (_Erdstall *ErdstallCaller) Challenges(opts *bind.CallOpts, arg0 uint64, arg1 common.Address) (*big.Int, error)

Challenges is a free data retrieval call binding the contract method 0x234c49a0.

Solidity: function challenges(uint64 , address ) view returns(uint256)

func (*ErdstallCaller) Deposits

func (_Erdstall *ErdstallCaller) Deposits(opts *bind.CallOpts, arg0 uint64, arg1 common.Address) (*big.Int, error)

Deposits is a free data retrieval call binding the contract method 0x9b7c7725.

Solidity: function deposits(uint64 , address ) view returns(uint256)

func (*ErdstallCaller) EncodeBalanceProof

func (_Erdstall *ErdstallCaller) EncodeBalanceProof(opts *bind.CallOpts, balance ErdstallBalance) ([]byte, error)

EncodeBalanceProof is a free data retrieval call binding the contract method 0x0b7042d2.

Solidity: function encodeBalanceProof((uint64,address,uint256) balance) view returns(bytes)

func (*ErdstallCaller) Exits

func (_Erdstall *ErdstallCaller) Exits(opts *bind.CallOpts, arg0 uint64, arg1 common.Address) (*big.Int, error)

Exits is a free data retrieval call binding the contract method 0x70e4a2c4.

Solidity: function exits(uint64 , address ) view returns(uint256)

func (*ErdstallCaller) FrozenEpoch

func (_Erdstall *ErdstallCaller) FrozenEpoch(opts *bind.CallOpts) (uint64, error)

FrozenEpoch is a free data retrieval call binding the contract method 0x585db72a.

Solidity: function frozenEpoch() view returns(uint64)

func (*ErdstallCaller) FrozenWithdrawals

func (_Erdstall *ErdstallCaller) FrozenWithdrawals(opts *bind.CallOpts, arg0 common.Address) (bool, error)

FrozenWithdrawals is a free data retrieval call binding the contract method 0x3f48a2a8.

Solidity: function frozenWithdrawals(address ) view returns(bool)

func (*ErdstallCaller) NumChallenges

func (_Erdstall *ErdstallCaller) NumChallenges(opts *bind.CallOpts, arg0 uint64) (*big.Int, error)

NumChallenges is a free data retrieval call binding the contract method 0xf2910773.

Solidity: function numChallenges(uint64 ) view returns(uint256)

func (*ErdstallCaller) PhaseDuration

func (_Erdstall *ErdstallCaller) PhaseDuration(opts *bind.CallOpts) (uint64, error)

PhaseDuration is a free data retrieval call binding the contract method 0xac5553ce.

Solidity: function phaseDuration() view returns(uint64)

func (*ErdstallCaller) ResponseDuration

func (_Erdstall *ErdstallCaller) ResponseDuration(opts *bind.CallOpts) (uint64, error)

ResponseDuration is a free data retrieval call binding the contract method 0x854b86d9.

Solidity: function responseDuration() view returns(uint64)

func (*ErdstallCaller) Tee

func (_Erdstall *ErdstallCaller) Tee(opts *bind.CallOpts) (common.Address, error)

Tee is a free data retrieval call binding the contract method 0x67eeb62b.

Solidity: function tee() view returns(address)

func (*ErdstallCaller) VerifyBalance

func (_Erdstall *ErdstallCaller) VerifyBalance(opts *bind.CallOpts, balance ErdstallBalance, sig []byte) error

VerifyBalance is a free data retrieval call binding the contract method 0xa608911d.

Solidity: function verifyBalance((uint64,address,uint256) balance, bytes sig) view returns()

type ErdstallCallerRaw

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

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

func (*ErdstallCallerRaw) Call

func (_Erdstall *ErdstallCallerRaw) 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 ErdstallCallerSession

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

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

func (*ErdstallCallerSession) BigBang

func (_Erdstall *ErdstallCallerSession) BigBang() (uint64, error)

BigBang is a free data retrieval call binding the contract method 0x03cf0678.

Solidity: function bigBang() view returns(uint64)

func (*ErdstallCallerSession) Challenges

func (_Erdstall *ErdstallCallerSession) Challenges(arg0 uint64, arg1 common.Address) (*big.Int, error)

Challenges is a free data retrieval call binding the contract method 0x234c49a0.

Solidity: function challenges(uint64 , address ) view returns(uint256)

func (*ErdstallCallerSession) Deposits

func (_Erdstall *ErdstallCallerSession) Deposits(arg0 uint64, arg1 common.Address) (*big.Int, error)

Deposits is a free data retrieval call binding the contract method 0x9b7c7725.

Solidity: function deposits(uint64 , address ) view returns(uint256)

func (*ErdstallCallerSession) EncodeBalanceProof

func (_Erdstall *ErdstallCallerSession) EncodeBalanceProof(balance ErdstallBalance) ([]byte, error)

EncodeBalanceProof is a free data retrieval call binding the contract method 0x0b7042d2.

Solidity: function encodeBalanceProof((uint64,address,uint256) balance) view returns(bytes)

func (*ErdstallCallerSession) Exits

func (_Erdstall *ErdstallCallerSession) Exits(arg0 uint64, arg1 common.Address) (*big.Int, error)

Exits is a free data retrieval call binding the contract method 0x70e4a2c4.

Solidity: function exits(uint64 , address ) view returns(uint256)

func (*ErdstallCallerSession) FrozenEpoch

func (_Erdstall *ErdstallCallerSession) FrozenEpoch() (uint64, error)

FrozenEpoch is a free data retrieval call binding the contract method 0x585db72a.

Solidity: function frozenEpoch() view returns(uint64)

func (*ErdstallCallerSession) FrozenWithdrawals

func (_Erdstall *ErdstallCallerSession) FrozenWithdrawals(arg0 common.Address) (bool, error)

FrozenWithdrawals is a free data retrieval call binding the contract method 0x3f48a2a8.

Solidity: function frozenWithdrawals(address ) view returns(bool)

func (*ErdstallCallerSession) NumChallenges

func (_Erdstall *ErdstallCallerSession) NumChallenges(arg0 uint64) (*big.Int, error)

NumChallenges is a free data retrieval call binding the contract method 0xf2910773.

Solidity: function numChallenges(uint64 ) view returns(uint256)

func (*ErdstallCallerSession) PhaseDuration

func (_Erdstall *ErdstallCallerSession) PhaseDuration() (uint64, error)

PhaseDuration is a free data retrieval call binding the contract method 0xac5553ce.

Solidity: function phaseDuration() view returns(uint64)

func (*ErdstallCallerSession) ResponseDuration

func (_Erdstall *ErdstallCallerSession) ResponseDuration() (uint64, error)

ResponseDuration is a free data retrieval call binding the contract method 0x854b86d9.

Solidity: function responseDuration() view returns(uint64)

func (*ErdstallCallerSession) Tee

func (_Erdstall *ErdstallCallerSession) Tee() (common.Address, error)

Tee is a free data retrieval call binding the contract method 0x67eeb62b.

Solidity: function tee() view returns(address)

func (*ErdstallCallerSession) VerifyBalance

func (_Erdstall *ErdstallCallerSession) VerifyBalance(balance ErdstallBalance, sig []byte) error

VerifyBalance is a free data retrieval call binding the contract method 0xa608911d.

Solidity: function verifyBalance((uint64,address,uint256) balance, bytes sig) view returns()

type ErdstallChallenged

type ErdstallChallenged struct {
	Epoch   uint64
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

ErdstallChallenged represents a Challenged event raised by the Erdstall contract.

type ErdstallChallengedIterator

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

ErdstallChallengedIterator is returned from FilterChallenged and is used to iterate over the raw logs and unpacked data for Challenged events raised by the Erdstall contract.

func (*ErdstallChallengedIterator) Close

func (it *ErdstallChallengedIterator) Close() error

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

func (*ErdstallChallengedIterator) Error

func (it *ErdstallChallengedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ErdstallChallengedIterator) Next

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

type ErdstallDeposited struct {
	Epoch   uint64
	Account common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ErdstallDeposited represents a Deposited event raised by the Erdstall contract.

type ErdstallDepositedIterator

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

ErdstallDepositedIterator is returned from FilterDeposited and is used to iterate over the raw logs and unpacked data for Deposited events raised by the Erdstall contract.

func (*ErdstallDepositedIterator) Close

func (it *ErdstallDepositedIterator) Close() error

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

func (*ErdstallDepositedIterator) Error

func (it *ErdstallDepositedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ErdstallDepositedIterator) Next

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

type ErdstallExiting struct {
	Epoch   uint64
	Account common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ErdstallExiting represents a Exiting event raised by the Erdstall contract.

type ErdstallExitingIterator

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

ErdstallExitingIterator is returned from FilterExiting and is used to iterate over the raw logs and unpacked data for Exiting events raised by the Erdstall contract.

func (*ErdstallExitingIterator) Close

func (it *ErdstallExitingIterator) Close() error

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

func (*ErdstallExitingIterator) Error

func (it *ErdstallExitingIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ErdstallExitingIterator) Next

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

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

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

func NewErdstallFilterer

func NewErdstallFilterer(address common.Address, filterer bind.ContractFilterer) (*ErdstallFilterer, error)

NewErdstallFilterer creates a new log filterer instance of Erdstall, bound to a specific deployed contract.

func (*ErdstallFilterer) FilterChallenged

func (_Erdstall *ErdstallFilterer) FilterChallenged(opts *bind.FilterOpts, epoch []uint64, account []common.Address) (*ErdstallChallengedIterator, error)

FilterChallenged is a free log retrieval operation binding the contract event 0x9f71686e9e2eed0a0a99340b1c3b230369f255b1d452130cead54f8308654dfd.

Solidity: event Challenged(uint64 indexed epoch, address indexed account)

func (*ErdstallFilterer) FilterDeposited

func (_Erdstall *ErdstallFilterer) FilterDeposited(opts *bind.FilterOpts, epoch []uint64, account []common.Address) (*ErdstallDepositedIterator, error)

FilterDeposited is a free log retrieval operation binding the contract event 0xe007c38a05fbf2010d1c1ed20f91e675c91d41699926124738a8c3fe9fc791b4.

Solidity: event Deposited(uint64 indexed epoch, address indexed account, uint256 value)

func (*ErdstallFilterer) FilterExiting

func (_Erdstall *ErdstallFilterer) FilterExiting(opts *bind.FilterOpts, epoch []uint64, account []common.Address) (*ErdstallExitingIterator, error)

FilterExiting is a free log retrieval operation binding the contract event 0x874e6a4ac09c210cf4cd123caaf949f43c3c6f07f2f46f26ccc5b0fd881c3d04.

Solidity: event Exiting(uint64 indexed epoch, address indexed account, uint256 value)

func (*ErdstallFilterer) FilterFrozen

func (_Erdstall *ErdstallFilterer) FilterFrozen(opts *bind.FilterOpts, epoch []uint64) (*ErdstallFrozenIterator, error)

FilterFrozen is a free log retrieval operation binding the contract event 0x5e20151a99b0432a9ac06d33b91b77d3134ce0638cc70d7df042947ca48a2caf.

Solidity: event Frozen(uint64 indexed epoch)

func (*ErdstallFilterer) FilterWithdrawn

func (_Erdstall *ErdstallFilterer) FilterWithdrawn(opts *bind.FilterOpts, epoch []uint64, account []common.Address) (*ErdstallWithdrawnIterator, error)

FilterWithdrawn is a free log retrieval operation binding the contract event 0x0ff23c4cdc2733f56d8f04d7a351c4332a1cd3334287ed5b2e9c6a28da9d3533.

Solidity: event Withdrawn(uint64 indexed epoch, address indexed account, uint256 value)

func (*ErdstallFilterer) ParseChallenged

func (_Erdstall *ErdstallFilterer) ParseChallenged(log types.Log) (*ErdstallChallenged, error)

ParseChallenged is a log parse operation binding the contract event 0x9f71686e9e2eed0a0a99340b1c3b230369f255b1d452130cead54f8308654dfd.

Solidity: event Challenged(uint64 indexed epoch, address indexed account)

func (*ErdstallFilterer) ParseDeposited

func (_Erdstall *ErdstallFilterer) ParseDeposited(log types.Log) (*ErdstallDeposited, error)

ParseDeposited is a log parse operation binding the contract event 0xe007c38a05fbf2010d1c1ed20f91e675c91d41699926124738a8c3fe9fc791b4.

Solidity: event Deposited(uint64 indexed epoch, address indexed account, uint256 value)

func (*ErdstallFilterer) ParseExiting

func (_Erdstall *ErdstallFilterer) ParseExiting(log types.Log) (*ErdstallExiting, error)

ParseExiting is a log parse operation binding the contract event 0x874e6a4ac09c210cf4cd123caaf949f43c3c6f07f2f46f26ccc5b0fd881c3d04.

Solidity: event Exiting(uint64 indexed epoch, address indexed account, uint256 value)

func (*ErdstallFilterer) ParseFrozen

func (_Erdstall *ErdstallFilterer) ParseFrozen(log types.Log) (*ErdstallFrozen, error)

ParseFrozen is a log parse operation binding the contract event 0x5e20151a99b0432a9ac06d33b91b77d3134ce0638cc70d7df042947ca48a2caf.

Solidity: event Frozen(uint64 indexed epoch)

func (*ErdstallFilterer) ParseWithdrawn

func (_Erdstall *ErdstallFilterer) ParseWithdrawn(log types.Log) (*ErdstallWithdrawn, error)

ParseWithdrawn is a log parse operation binding the contract event 0x0ff23c4cdc2733f56d8f04d7a351c4332a1cd3334287ed5b2e9c6a28da9d3533.

Solidity: event Withdrawn(uint64 indexed epoch, address indexed account, uint256 value)

func (*ErdstallFilterer) WatchChallenged

func (_Erdstall *ErdstallFilterer) WatchChallenged(opts *bind.WatchOpts, sink chan<- *ErdstallChallenged, epoch []uint64, account []common.Address) (event.Subscription, error)

WatchChallenged is a free log subscription operation binding the contract event 0x9f71686e9e2eed0a0a99340b1c3b230369f255b1d452130cead54f8308654dfd.

Solidity: event Challenged(uint64 indexed epoch, address indexed account)

func (*ErdstallFilterer) WatchDeposited

func (_Erdstall *ErdstallFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *ErdstallDeposited, epoch []uint64, account []common.Address) (event.Subscription, error)

WatchDeposited is a free log subscription operation binding the contract event 0xe007c38a05fbf2010d1c1ed20f91e675c91d41699926124738a8c3fe9fc791b4.

Solidity: event Deposited(uint64 indexed epoch, address indexed account, uint256 value)

func (*ErdstallFilterer) WatchExiting

func (_Erdstall *ErdstallFilterer) WatchExiting(opts *bind.WatchOpts, sink chan<- *ErdstallExiting, epoch []uint64, account []common.Address) (event.Subscription, error)

WatchExiting is a free log subscription operation binding the contract event 0x874e6a4ac09c210cf4cd123caaf949f43c3c6f07f2f46f26ccc5b0fd881c3d04.

Solidity: event Exiting(uint64 indexed epoch, address indexed account, uint256 value)

func (*ErdstallFilterer) WatchFrozen

func (_Erdstall *ErdstallFilterer) WatchFrozen(opts *bind.WatchOpts, sink chan<- *ErdstallFrozen, epoch []uint64) (event.Subscription, error)

WatchFrozen is a free log subscription operation binding the contract event 0x5e20151a99b0432a9ac06d33b91b77d3134ce0638cc70d7df042947ca48a2caf.

Solidity: event Frozen(uint64 indexed epoch)

func (*ErdstallFilterer) WatchWithdrawn

func (_Erdstall *ErdstallFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *ErdstallWithdrawn, epoch []uint64, account []common.Address) (event.Subscription, error)

WatchWithdrawn is a free log subscription operation binding the contract event 0x0ff23c4cdc2733f56d8f04d7a351c4332a1cd3334287ed5b2e9c6a28da9d3533.

Solidity: event Withdrawn(uint64 indexed epoch, address indexed account, uint256 value)

type ErdstallFrozen

type ErdstallFrozen struct {
	Epoch uint64
	Raw   types.Log // Blockchain specific contextual infos
}

ErdstallFrozen represents a Frozen event raised by the Erdstall contract.

type ErdstallFrozenIterator

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

ErdstallFrozenIterator is returned from FilterFrozen and is used to iterate over the raw logs and unpacked data for Frozen events raised by the Erdstall contract.

func (*ErdstallFrozenIterator) Close

func (it *ErdstallFrozenIterator) Close() error

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

func (*ErdstallFrozenIterator) Error

func (it *ErdstallFrozenIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ErdstallFrozenIterator) Next

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

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

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

func (*ErdstallRaw) Call

func (_Erdstall *ErdstallRaw) 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 (*ErdstallRaw) Transact

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

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

func (*ErdstallRaw) Transfer

func (_Erdstall *ErdstallRaw) 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 ErdstallSession

type ErdstallSession struct {
	Contract     *Erdstall         // 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
}

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

func (*ErdstallSession) BigBang

func (_Erdstall *ErdstallSession) BigBang() (uint64, error)

BigBang is a free data retrieval call binding the contract method 0x03cf0678.

Solidity: function bigBang() view returns(uint64)

func (*ErdstallSession) Challenge

func (_Erdstall *ErdstallSession) Challenge(balance ErdstallBalance, sig []byte) (*types.Transaction, error)

Challenge is a paid mutator transaction binding the contract method 0x778a2707.

Solidity: function challenge((uint64,address,uint256) balance, bytes sig) returns()

func (*ErdstallSession) ChallengeDeposit

func (_Erdstall *ErdstallSession) ChallengeDeposit() (*types.Transaction, error)

ChallengeDeposit is a paid mutator transaction binding the contract method 0x0d13fd7b.

Solidity: function challengeDeposit() returns()

func (*ErdstallSession) Challenges

func (_Erdstall *ErdstallSession) Challenges(arg0 uint64, arg1 common.Address) (*big.Int, error)

Challenges is a free data retrieval call binding the contract method 0x234c49a0.

Solidity: function challenges(uint64 , address ) view returns(uint256)

func (*ErdstallSession) Deposit

func (_Erdstall *ErdstallSession) Deposit() (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*ErdstallSession) Deposits

func (_Erdstall *ErdstallSession) Deposits(arg0 uint64, arg1 common.Address) (*big.Int, error)

Deposits is a free data retrieval call binding the contract method 0x9b7c7725.

Solidity: function deposits(uint64 , address ) view returns(uint256)

func (*ErdstallSession) EncodeBalanceProof

func (_Erdstall *ErdstallSession) EncodeBalanceProof(balance ErdstallBalance) ([]byte, error)

EncodeBalanceProof is a free data retrieval call binding the contract method 0x0b7042d2.

Solidity: function encodeBalanceProof((uint64,address,uint256) balance) view returns(bytes)

func (*ErdstallSession) EnsureFrozen

func (_Erdstall *ErdstallSession) EnsureFrozen() (*types.Transaction, error)

EnsureFrozen is a paid mutator transaction binding the contract method 0x64c38ddd.

Solidity: function ensureFrozen() returns()

func (*ErdstallSession) Exit

func (_Erdstall *ErdstallSession) Exit(balance ErdstallBalance, sig []byte) (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0x63a3a27f.

Solidity: function exit((uint64,address,uint256) balance, bytes sig) returns()

func (*ErdstallSession) Exits

func (_Erdstall *ErdstallSession) Exits(arg0 uint64, arg1 common.Address) (*big.Int, error)

Exits is a free data retrieval call binding the contract method 0x70e4a2c4.

Solidity: function exits(uint64 , address ) view returns(uint256)

func (*ErdstallSession) FrozenEpoch

func (_Erdstall *ErdstallSession) FrozenEpoch() (uint64, error)

FrozenEpoch is a free data retrieval call binding the contract method 0x585db72a.

Solidity: function frozenEpoch() view returns(uint64)

func (*ErdstallSession) FrozenWithdrawals

func (_Erdstall *ErdstallSession) FrozenWithdrawals(arg0 common.Address) (bool, error)

FrozenWithdrawals is a free data retrieval call binding the contract method 0x3f48a2a8.

Solidity: function frozenWithdrawals(address ) view returns(bool)

func (*ErdstallSession) NumChallenges

func (_Erdstall *ErdstallSession) NumChallenges(arg0 uint64) (*big.Int, error)

NumChallenges is a free data retrieval call binding the contract method 0xf2910773.

Solidity: function numChallenges(uint64 ) view returns(uint256)

func (*ErdstallSession) PhaseDuration

func (_Erdstall *ErdstallSession) PhaseDuration() (uint64, error)

PhaseDuration is a free data retrieval call binding the contract method 0xac5553ce.

Solidity: function phaseDuration() view returns(uint64)

func (*ErdstallSession) ResponseDuration

func (_Erdstall *ErdstallSession) ResponseDuration() (uint64, error)

ResponseDuration is a free data retrieval call binding the contract method 0x854b86d9.

Solidity: function responseDuration() view returns(uint64)

func (*ErdstallSession) Tee

func (_Erdstall *ErdstallSession) Tee() (common.Address, error)

Tee is a free data retrieval call binding the contract method 0x67eeb62b.

Solidity: function tee() view returns(address)

func (*ErdstallSession) VerifyBalance

func (_Erdstall *ErdstallSession) VerifyBalance(balance ErdstallBalance, sig []byte) error

VerifyBalance is a free data retrieval call binding the contract method 0xa608911d.

Solidity: function verifyBalance((uint64,address,uint256) balance, bytes sig) view returns()

func (*ErdstallSession) Withdraw

func (_Erdstall *ErdstallSession) Withdraw(epoch uint64) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x750f0acc.

Solidity: function withdraw(uint64 epoch) returns()

func (*ErdstallSession) WithdrawChallenge

func (_Erdstall *ErdstallSession) WithdrawChallenge() (*types.Transaction, error)

WithdrawChallenge is a paid mutator transaction binding the contract method 0x3de970e3.

Solidity: function withdrawChallenge() returns()

func (*ErdstallSession) WithdrawFrozen

func (_Erdstall *ErdstallSession) WithdrawFrozen(balance ErdstallBalance, sig []byte) (*types.Transaction, error)

WithdrawFrozen is a paid mutator transaction binding the contract method 0xf4a85043.

Solidity: function withdrawFrozen((uint64,address,uint256) balance, bytes sig) returns()

type ErdstallTransactor

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

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

func NewErdstallTransactor

func NewErdstallTransactor(address common.Address, transactor bind.ContractTransactor) (*ErdstallTransactor, error)

NewErdstallTransactor creates a new write-only instance of Erdstall, bound to a specific deployed contract.

func (*ErdstallTransactor) Challenge

func (_Erdstall *ErdstallTransactor) Challenge(opts *bind.TransactOpts, balance ErdstallBalance, sig []byte) (*types.Transaction, error)

Challenge is a paid mutator transaction binding the contract method 0x778a2707.

Solidity: function challenge((uint64,address,uint256) balance, bytes sig) returns()

func (*ErdstallTransactor) ChallengeDeposit

func (_Erdstall *ErdstallTransactor) ChallengeDeposit(opts *bind.TransactOpts) (*types.Transaction, error)

ChallengeDeposit is a paid mutator transaction binding the contract method 0x0d13fd7b.

Solidity: function challengeDeposit() returns()

func (*ErdstallTransactor) Deposit

func (_Erdstall *ErdstallTransactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*ErdstallTransactor) EnsureFrozen

func (_Erdstall *ErdstallTransactor) EnsureFrozen(opts *bind.TransactOpts) (*types.Transaction, error)

EnsureFrozen is a paid mutator transaction binding the contract method 0x64c38ddd.

Solidity: function ensureFrozen() returns()

func (*ErdstallTransactor) Exit

func (_Erdstall *ErdstallTransactor) Exit(opts *bind.TransactOpts, balance ErdstallBalance, sig []byte) (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0x63a3a27f.

Solidity: function exit((uint64,address,uint256) balance, bytes sig) returns()

func (*ErdstallTransactor) Withdraw

func (_Erdstall *ErdstallTransactor) Withdraw(opts *bind.TransactOpts, epoch uint64) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x750f0acc.

Solidity: function withdraw(uint64 epoch) returns()

func (*ErdstallTransactor) WithdrawChallenge

func (_Erdstall *ErdstallTransactor) WithdrawChallenge(opts *bind.TransactOpts) (*types.Transaction, error)

WithdrawChallenge is a paid mutator transaction binding the contract method 0x3de970e3.

Solidity: function withdrawChallenge() returns()

func (*ErdstallTransactor) WithdrawFrozen

func (_Erdstall *ErdstallTransactor) WithdrawFrozen(opts *bind.TransactOpts, balance ErdstallBalance, sig []byte) (*types.Transaction, error)

WithdrawFrozen is a paid mutator transaction binding the contract method 0xf4a85043.

Solidity: function withdrawFrozen((uint64,address,uint256) balance, bytes sig) returns()

type ErdstallTransactorRaw

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

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

func (*ErdstallTransactorRaw) Transact

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

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

func (*ErdstallTransactorRaw) Transfer

func (_Erdstall *ErdstallTransactorRaw) 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 ErdstallTransactorSession

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

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

func (*ErdstallTransactorSession) Challenge

func (_Erdstall *ErdstallTransactorSession) Challenge(balance ErdstallBalance, sig []byte) (*types.Transaction, error)

Challenge is a paid mutator transaction binding the contract method 0x778a2707.

Solidity: function challenge((uint64,address,uint256) balance, bytes sig) returns()

func (*ErdstallTransactorSession) ChallengeDeposit

func (_Erdstall *ErdstallTransactorSession) ChallengeDeposit() (*types.Transaction, error)

ChallengeDeposit is a paid mutator transaction binding the contract method 0x0d13fd7b.

Solidity: function challengeDeposit() returns()

func (*ErdstallTransactorSession) Deposit

func (_Erdstall *ErdstallTransactorSession) Deposit() (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*ErdstallTransactorSession) EnsureFrozen

func (_Erdstall *ErdstallTransactorSession) EnsureFrozen() (*types.Transaction, error)

EnsureFrozen is a paid mutator transaction binding the contract method 0x64c38ddd.

Solidity: function ensureFrozen() returns()

func (*ErdstallTransactorSession) Exit

func (_Erdstall *ErdstallTransactorSession) Exit(balance ErdstallBalance, sig []byte) (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0x63a3a27f.

Solidity: function exit((uint64,address,uint256) balance, bytes sig) returns()

func (*ErdstallTransactorSession) Withdraw

func (_Erdstall *ErdstallTransactorSession) Withdraw(epoch uint64) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x750f0acc.

Solidity: function withdraw(uint64 epoch) returns()

func (*ErdstallTransactorSession) WithdrawChallenge

func (_Erdstall *ErdstallTransactorSession) WithdrawChallenge() (*types.Transaction, error)

WithdrawChallenge is a paid mutator transaction binding the contract method 0x3de970e3.

Solidity: function withdrawChallenge() returns()

func (*ErdstallTransactorSession) WithdrawFrozen

func (_Erdstall *ErdstallTransactorSession) WithdrawFrozen(balance ErdstallBalance, sig []byte) (*types.Transaction, error)

WithdrawFrozen is a paid mutator transaction binding the contract method 0xf4a85043.

Solidity: function withdrawFrozen((uint64,address,uint256) balance, bytes sig) returns()

type ErdstallWithdrawn

type ErdstallWithdrawn struct {
	Epoch   uint64
	Account common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ErdstallWithdrawn represents a Withdrawn event raised by the Erdstall contract.

type ErdstallWithdrawnIterator

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

ErdstallWithdrawnIterator is returned from FilterWithdrawn and is used to iterate over the raw logs and unpacked data for Withdrawn events raised by the Erdstall contract.

func (*ErdstallWithdrawnIterator) Close

func (it *ErdstallWithdrawnIterator) Close() error

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

func (*ErdstallWithdrawnIterator) Error

func (it *ErdstallWithdrawnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ErdstallWithdrawnIterator) Next

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

type Sig struct {
	SigCaller     // Read-only binding to the contract
	SigTransactor // Write-only binding to the contract
	SigFilterer   // Log filterer for contract events
}

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

func DeploySig

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

DeploySig deploys a new Ethereum contract, binding an instance of Sig to it.

func NewSig

func NewSig(address common.Address, backend bind.ContractBackend) (*Sig, error)

NewSig creates a new instance of Sig, bound to a specific deployed contract.

type SigCaller

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

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

func NewSigCaller

func NewSigCaller(address common.Address, caller bind.ContractCaller) (*SigCaller, error)

NewSigCaller creates a new read-only instance of Sig, bound to a specific deployed contract.

type SigCallerRaw

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

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

func (*SigCallerRaw) Call

func (_Sig *SigCallerRaw) 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 SigCallerSession

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

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

type SigFilterer

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

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

func NewSigFilterer

func NewSigFilterer(address common.Address, filterer bind.ContractFilterer) (*SigFilterer, error)

NewSigFilterer creates a new log filterer instance of Sig, bound to a specific deployed contract.

type SigRaw

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

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

func (*SigRaw) Call

func (_Sig *SigRaw) 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 (*SigRaw) Transact

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

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

func (*SigRaw) Transfer

func (_Sig *SigRaw) 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 SigSession

type SigSession struct {
	Contract     *Sig              // 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
}

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

type SigTransactor

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

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

func NewSigTransactor

func NewSigTransactor(address common.Address, transactor bind.ContractTransactor) (*SigTransactor, error)

NewSigTransactor creates a new write-only instance of Sig, bound to a specific deployed contract.

type SigTransactorRaw

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

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

func (*SigTransactorRaw) Transact

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

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

func (*SigTransactorRaw) Transfer

func (_Sig *SigTransactorRaw) 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 SigTransactorSession

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

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

Jump to

Keyboard shortcuts

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