Documentation ¶
Index ¶
- Constants
- type Rootchain
- type RootchainBlockSubmitted
- type RootchainBlockSubmittedIterator
- type RootchainCaller
- func (_Rootchain *RootchainCaller) Blocks(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Rootchain *RootchainCaller) CHILDBLOCKINTERVAL(opts *bind.CallOpts) (*big.Int, error)
- func (_Rootchain *RootchainCaller) ClearFlag(opts *bind.CallOpts, _value *big.Int) (*big.Int, error)
- func (_Rootchain *RootchainCaller) Exits(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Rootchain *RootchainCaller) ExitsQueues(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)
- func (_Rootchain *RootchainCaller) Flagged(opts *bind.CallOpts, _value *big.Int) (bool, error)
- func (_Rootchain *RootchainCaller) GetDepositBlockNumber(opts *bind.CallOpts) (*big.Int, error)
- func (_Rootchain *RootchainCaller) GetExitableTimestamp(opts *bind.CallOpts, _outputId *big.Int) (*big.Int, error)
- func (_Rootchain *RootchainCaller) GetFeeExitPriority(opts *bind.CallOpts, _feeExitId *big.Int) (*big.Int, error)
- func (_Rootchain *RootchainCaller) GetInFlightExitId(opts *bind.CallOpts, _tx []byte) (*big.Int, error)
- func (_Rootchain *RootchainCaller) GetInFlightExitOutput(opts *bind.CallOpts, _tx []byte, _outputIndex *big.Int) (common.Address, common.Address, *big.Int, error)
- func (_Rootchain *RootchainCaller) GetInFlightExitPriority(opts *bind.CallOpts, _outputId *big.Int, _tx []byte) (*big.Int, error)
- func (_Rootchain *RootchainCaller) GetNextExit(opts *bind.CallOpts, _token common.Address) (uint64, *big.Int, bool, error)
- func (_Rootchain *RootchainCaller) GetStandardExitId(opts *bind.CallOpts, _outputId *big.Int) (*big.Int, error)
- func (_Rootchain *RootchainCaller) GetStandardExitPriority(opts *bind.CallOpts, _exitId *big.Int, _outputId *big.Int) (*big.Int, error)
- func (_Rootchain *RootchainCaller) HasToken(opts *bind.CallOpts, _token common.Address) (bool, error)
- func (_Rootchain *RootchainCaller) InFlightExitBond(opts *bind.CallOpts) (*big.Int, error)
- func (_Rootchain *RootchainCaller) InFlightExits(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Rootchain *RootchainCaller) IsMature(opts *bind.CallOpts, exitableTimestamp uint64) (bool, error)
- func (_Rootchain *RootchainCaller) MINEXITPERIOD(opts *bind.CallOpts) (*big.Int, error)
- func (_Rootchain *RootchainCaller) MarkInFlight(opts *bind.CallOpts, priority *big.Int) (*big.Int, error)
- func (_Rootchain *RootchainCaller) MarkStandard(opts *bind.CallOpts, priority *big.Int) (*big.Int, error)
- func (_Rootchain *RootchainCaller) NextChildBlock(opts *bind.CallOpts) (*big.Int, error)
- func (_Rootchain *RootchainCaller) NextDepositBlock(opts *bind.CallOpts) (*big.Int, error)
- func (_Rootchain *RootchainCaller) NextFeeExit(opts *bind.CallOpts) (*big.Int, error)
- func (_Rootchain *RootchainCaller) Operator(opts *bind.CallOpts) (common.Address, error)
- func (_Rootchain *RootchainCaller) PiggybackBond(opts *bind.CallOpts) (*big.Int, error)
- func (_Rootchain *RootchainCaller) SetFlag(opts *bind.CallOpts, _value *big.Int) (*big.Int, error)
- func (_Rootchain *RootchainCaller) StandardExitBond(opts *bind.CallOpts) (*big.Int, error)
- type RootchainCallerRaw
- type RootchainCallerSession
- func (_Rootchain *RootchainCallerSession) Blocks(arg0 *big.Int) (struct{ ... }, error)
- func (_Rootchain *RootchainCallerSession) CHILDBLOCKINTERVAL() (*big.Int, error)
- func (_Rootchain *RootchainCallerSession) ClearFlag(_value *big.Int) (*big.Int, error)
- func (_Rootchain *RootchainCallerSession) Exits(arg0 *big.Int) (struct{ ... }, error)
- func (_Rootchain *RootchainCallerSession) ExitsQueues(arg0 common.Address) (common.Address, error)
- func (_Rootchain *RootchainCallerSession) Flagged(_value *big.Int) (bool, error)
- func (_Rootchain *RootchainCallerSession) GetDepositBlockNumber() (*big.Int, error)
- func (_Rootchain *RootchainCallerSession) GetExitableTimestamp(_outputId *big.Int) (*big.Int, error)
- func (_Rootchain *RootchainCallerSession) GetFeeExitPriority(_feeExitId *big.Int) (*big.Int, error)
- func (_Rootchain *RootchainCallerSession) GetInFlightExitId(_tx []byte) (*big.Int, error)
- func (_Rootchain *RootchainCallerSession) GetInFlightExitOutput(_tx []byte, _outputIndex *big.Int) (common.Address, common.Address, *big.Int, error)
- func (_Rootchain *RootchainCallerSession) GetInFlightExitPriority(_outputId *big.Int, _tx []byte) (*big.Int, error)
- func (_Rootchain *RootchainCallerSession) GetNextExit(_token common.Address) (uint64, *big.Int, bool, error)
- func (_Rootchain *RootchainCallerSession) GetStandardExitId(_outputId *big.Int) (*big.Int, error)
- func (_Rootchain *RootchainCallerSession) GetStandardExitPriority(_exitId *big.Int, _outputId *big.Int) (*big.Int, error)
- func (_Rootchain *RootchainCallerSession) HasToken(_token common.Address) (bool, error)
- func (_Rootchain *RootchainCallerSession) InFlightExitBond() (*big.Int, error)
- func (_Rootchain *RootchainCallerSession) InFlightExits(arg0 *big.Int) (struct{ ... }, error)
- func (_Rootchain *RootchainCallerSession) IsMature(exitableTimestamp uint64) (bool, error)
- func (_Rootchain *RootchainCallerSession) MINEXITPERIOD() (*big.Int, error)
- func (_Rootchain *RootchainCallerSession) MarkInFlight(priority *big.Int) (*big.Int, error)
- func (_Rootchain *RootchainCallerSession) MarkStandard(priority *big.Int) (*big.Int, error)
- func (_Rootchain *RootchainCallerSession) NextChildBlock() (*big.Int, error)
- func (_Rootchain *RootchainCallerSession) NextDepositBlock() (*big.Int, error)
- func (_Rootchain *RootchainCallerSession) NextFeeExit() (*big.Int, error)
- func (_Rootchain *RootchainCallerSession) Operator() (common.Address, error)
- func (_Rootchain *RootchainCallerSession) PiggybackBond() (*big.Int, error)
- func (_Rootchain *RootchainCallerSession) SetFlag(_value *big.Int) (*big.Int, error)
- func (_Rootchain *RootchainCallerSession) StandardExitBond() (*big.Int, error)
- type RootchainDepositCreated
- type RootchainDepositCreatedIterator
- type RootchainExitChallenged
- type RootchainExitChallengedIterator
- type RootchainExitFinalized
- type RootchainExitFinalizedIterator
- type RootchainExitStarted
- type RootchainExitStartedIterator
- type RootchainFilterer
- func (_Rootchain *RootchainFilterer) FilterBlockSubmitted(opts *bind.FilterOpts) (*RootchainBlockSubmittedIterator, error)
- func (_Rootchain *RootchainFilterer) FilterDepositCreated(opts *bind.FilterOpts, depositor []common.Address, blknum []*big.Int, ...) (*RootchainDepositCreatedIterator, error)
- func (_Rootchain *RootchainFilterer) FilterExitChallenged(opts *bind.FilterOpts, utxoPos []*big.Int) (*RootchainExitChallengedIterator, error)
- func (_Rootchain *RootchainFilterer) FilterExitFinalized(opts *bind.FilterOpts, utxoPos []*big.Int) (*RootchainExitFinalizedIterator, error)
- func (_Rootchain *RootchainFilterer) FilterExitStarted(opts *bind.FilterOpts, owner []common.Address) (*RootchainExitStartedIterator, error)
- func (_Rootchain *RootchainFilterer) FilterInFlightExitChallengeResponded(opts *bind.FilterOpts) (*RootchainInFlightExitChallengeRespondedIterator, error)
- func (_Rootchain *RootchainFilterer) FilterInFlightExitChallenged(opts *bind.FilterOpts, challenger []common.Address) (*RootchainInFlightExitChallengedIterator, error)
- func (_Rootchain *RootchainFilterer) FilterInFlightExitFinalized(opts *bind.FilterOpts) (*RootchainInFlightExitFinalizedIterator, error)
- func (_Rootchain *RootchainFilterer) FilterInFlightExitOutputBlocked(opts *bind.FilterOpts, challenger []common.Address) (*RootchainInFlightExitOutputBlockedIterator, error)
- func (_Rootchain *RootchainFilterer) FilterInFlightExitPiggybacked(opts *bind.FilterOpts, owner []common.Address) (*RootchainInFlightExitPiggybackedIterator, error)
- func (_Rootchain *RootchainFilterer) FilterInFlightExitStarted(opts *bind.FilterOpts, initiator []common.Address) (*RootchainInFlightExitStartedIterator, error)
- func (_Rootchain *RootchainFilterer) FilterTokenAdded(opts *bind.FilterOpts) (*RootchainTokenAddedIterator, error)
- func (_Rootchain *RootchainFilterer) WatchBlockSubmitted(opts *bind.WatchOpts, sink chan<- *RootchainBlockSubmitted) (event.Subscription, error)
- func (_Rootchain *RootchainFilterer) WatchDepositCreated(opts *bind.WatchOpts, sink chan<- *RootchainDepositCreated, ...) (event.Subscription, error)
- func (_Rootchain *RootchainFilterer) WatchExitChallenged(opts *bind.WatchOpts, sink chan<- *RootchainExitChallenged, utxoPos []*big.Int) (event.Subscription, error)
- func (_Rootchain *RootchainFilterer) WatchExitFinalized(opts *bind.WatchOpts, sink chan<- *RootchainExitFinalized, utxoPos []*big.Int) (event.Subscription, error)
- func (_Rootchain *RootchainFilterer) WatchExitStarted(opts *bind.WatchOpts, sink chan<- *RootchainExitStarted, ...) (event.Subscription, error)
- func (_Rootchain *RootchainFilterer) WatchInFlightExitChallengeResponded(opts *bind.WatchOpts, sink chan<- *RootchainInFlightExitChallengeResponded) (event.Subscription, error)
- func (_Rootchain *RootchainFilterer) WatchInFlightExitChallenged(opts *bind.WatchOpts, sink chan<- *RootchainInFlightExitChallenged, ...) (event.Subscription, error)
- func (_Rootchain *RootchainFilterer) WatchInFlightExitFinalized(opts *bind.WatchOpts, sink chan<- *RootchainInFlightExitFinalized) (event.Subscription, error)
- func (_Rootchain *RootchainFilterer) WatchInFlightExitOutputBlocked(opts *bind.WatchOpts, sink chan<- *RootchainInFlightExitOutputBlocked, ...) (event.Subscription, error)
- func (_Rootchain *RootchainFilterer) WatchInFlightExitPiggybacked(opts *bind.WatchOpts, sink chan<- *RootchainInFlightExitPiggybacked, ...) (event.Subscription, error)
- func (_Rootchain *RootchainFilterer) WatchInFlightExitStarted(opts *bind.WatchOpts, sink chan<- *RootchainInFlightExitStarted, ...) (event.Subscription, error)
- func (_Rootchain *RootchainFilterer) WatchTokenAdded(opts *bind.WatchOpts, sink chan<- *RootchainTokenAdded) (event.Subscription, error)
- type RootchainInFlightExitChallengeResponded
- type RootchainInFlightExitChallengeRespondedIterator
- type RootchainInFlightExitChallenged
- type RootchainInFlightExitChallengedIterator
- type RootchainInFlightExitFinalized
- type RootchainInFlightExitFinalizedIterator
- type RootchainInFlightExitOutputBlocked
- type RootchainInFlightExitOutputBlockedIterator
- type RootchainInFlightExitPiggybacked
- type RootchainInFlightExitPiggybackedIterator
- type RootchainInFlightExitStarted
- type RootchainInFlightExitStartedIterator
- type RootchainRaw
- func (_Rootchain *RootchainRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Rootchain *RootchainRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Rootchain *RootchainRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type RootchainSession
- func (_Rootchain *RootchainSession) AddToken(_token common.Address) (*types.Transaction, error)
- func (_Rootchain *RootchainSession) Blocks(arg0 *big.Int) (struct{ ... }, error)
- func (_Rootchain *RootchainSession) CHILDBLOCKINTERVAL() (*big.Int, error)
- func (_Rootchain *RootchainSession) ChallengeInFlightExitInputSpent(_inFlightTx []byte, _inFlightTxInputIndex uint8, _spendingTx []byte, ...) (*types.Transaction, error)
- func (_Rootchain *RootchainSession) ChallengeInFlightExitNotCanonical(_inFlightTx []byte, _inFlightTxInputIndex uint8, _competingTx []byte, ...) (*types.Transaction, error)
- func (_Rootchain *RootchainSession) ChallengeInFlightExitOutputSpent(_inFlightTx []byte, _inFlightTxOutputId *big.Int, ...) (*types.Transaction, error)
- func (_Rootchain *RootchainSession) ChallengeStandardExit(_outputId *big.Int, _challengeTx []byte, _inputIndex uint8, ...) (*types.Transaction, error)
- func (_Rootchain *RootchainSession) ClearFlag(_value *big.Int) (*big.Int, error)
- func (_Rootchain *RootchainSession) Deposit(_depositTx []byte) (*types.Transaction, error)
- func (_Rootchain *RootchainSession) DepositFrom(_depositTx []byte) (*types.Transaction, error)
- func (_Rootchain *RootchainSession) Exits(arg0 *big.Int) (struct{ ... }, error)
- func (_Rootchain *RootchainSession) ExitsQueues(arg0 common.Address) (common.Address, error)
- func (_Rootchain *RootchainSession) Flagged(_value *big.Int) (bool, error)
- func (_Rootchain *RootchainSession) GetDepositBlockNumber() (*big.Int, error)
- func (_Rootchain *RootchainSession) GetExitableTimestamp(_outputId *big.Int) (*big.Int, error)
- func (_Rootchain *RootchainSession) GetFeeExitPriority(_feeExitId *big.Int) (*big.Int, error)
- func (_Rootchain *RootchainSession) GetInFlightExitId(_tx []byte) (*big.Int, error)
- func (_Rootchain *RootchainSession) GetInFlightExitOutput(_tx []byte, _outputIndex *big.Int) (common.Address, common.Address, *big.Int, error)
- func (_Rootchain *RootchainSession) GetInFlightExitPriority(_outputId *big.Int, _tx []byte) (*big.Int, error)
- func (_Rootchain *RootchainSession) GetNextExit(_token common.Address) (uint64, *big.Int, bool, error)
- func (_Rootchain *RootchainSession) GetStandardExitId(_outputId *big.Int) (*big.Int, error)
- func (_Rootchain *RootchainSession) GetStandardExitPriority(_exitId *big.Int, _outputId *big.Int) (*big.Int, error)
- func (_Rootchain *RootchainSession) HasToken(_token common.Address) (bool, error)
- func (_Rootchain *RootchainSession) InFlightExitBond() (*big.Int, error)
- func (_Rootchain *RootchainSession) InFlightExits(arg0 *big.Int) (struct{ ... }, error)
- func (_Rootchain *RootchainSession) Init() (*types.Transaction, error)
- func (_Rootchain *RootchainSession) InitOperator() (*types.Transaction, error)
- func (_Rootchain *RootchainSession) IsMature(exitableTimestamp uint64) (bool, error)
- func (_Rootchain *RootchainSession) MINEXITPERIOD() (*big.Int, error)
- func (_Rootchain *RootchainSession) MarkInFlight(priority *big.Int) (*big.Int, error)
- func (_Rootchain *RootchainSession) MarkStandard(priority *big.Int) (*big.Int, error)
- func (_Rootchain *RootchainSession) NextChildBlock() (*big.Int, error)
- func (_Rootchain *RootchainSession) NextDepositBlock() (*big.Int, error)
- func (_Rootchain *RootchainSession) NextFeeExit() (*big.Int, error)
- func (_Rootchain *RootchainSession) Operator() (common.Address, error)
- func (_Rootchain *RootchainSession) PiggybackBond() (*big.Int, error)
- func (_Rootchain *RootchainSession) PiggybackInFlightExit(_inFlightTx []byte, _outputIndex uint8) (*types.Transaction, error)
- func (_Rootchain *RootchainSession) ProcessExits(_token common.Address, _topUtxoPos *big.Int, _exitsToProcess *big.Int) (*types.Transaction, error)
- func (_Rootchain *RootchainSession) RespondToNonCanonicalChallenge(_inFlightTx []byte, _inFlightTxPos *big.Int, _inFlightTxInclusionProof []byte) (*types.Transaction, error)
- func (_Rootchain *RootchainSession) SetFlag(_value *big.Int) (*big.Int, error)
- func (_Rootchain *RootchainSession) StandardExitBond() (*big.Int, error)
- func (_Rootchain *RootchainSession) StartFeeExit(_token common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Rootchain *RootchainSession) StartInFlightExit(_inFlightTx []byte, _inputTxs []byte, _inputTxsInclusionProofs []byte, ...) (*types.Transaction, error)
- func (_Rootchain *RootchainSession) StartStandardExit(_outputId *big.Int, _outputTx []byte, _outputTxInclusionProof []byte) (*types.Transaction, error)
- func (_Rootchain *RootchainSession) SubmitBlock(_blockRoot [32]byte) (*types.Transaction, error)
- type RootchainTokenAdded
- type RootchainTokenAddedIterator
- type RootchainTransactor
- func (_Rootchain *RootchainTransactor) AddToken(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactor) ChallengeInFlightExitInputSpent(opts *bind.TransactOpts, _inFlightTx []byte, _inFlightTxInputIndex uint8, ...) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactor) ChallengeInFlightExitNotCanonical(opts *bind.TransactOpts, _inFlightTx []byte, _inFlightTxInputIndex uint8, ...) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactor) ChallengeInFlightExitOutputSpent(opts *bind.TransactOpts, _inFlightTx []byte, _inFlightTxOutputId *big.Int, ...) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactor) ChallengeStandardExit(opts *bind.TransactOpts, _outputId *big.Int, _challengeTx []byte, ...) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactor) Deposit(opts *bind.TransactOpts, _depositTx []byte) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactor) DepositFrom(opts *bind.TransactOpts, _depositTx []byte) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactor) Init(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactor) InitOperator(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactor) PiggybackInFlightExit(opts *bind.TransactOpts, _inFlightTx []byte, _outputIndex uint8) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactor) ProcessExits(opts *bind.TransactOpts, _token common.Address, _topUtxoPos *big.Int, ...) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactor) RespondToNonCanonicalChallenge(opts *bind.TransactOpts, _inFlightTx []byte, _inFlightTxPos *big.Int, ...) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactor) StartFeeExit(opts *bind.TransactOpts, _token common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactor) StartInFlightExit(opts *bind.TransactOpts, _inFlightTx []byte, _inputTxs []byte, ...) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactor) StartStandardExit(opts *bind.TransactOpts, _outputId *big.Int, _outputTx []byte, ...) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactor) SubmitBlock(opts *bind.TransactOpts, _blockRoot [32]byte) (*types.Transaction, error)
- type RootchainTransactorRaw
- type RootchainTransactorSession
- func (_Rootchain *RootchainTransactorSession) AddToken(_token common.Address) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactorSession) ChallengeInFlightExitInputSpent(_inFlightTx []byte, _inFlightTxInputIndex uint8, _spendingTx []byte, ...) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactorSession) ChallengeInFlightExitNotCanonical(_inFlightTx []byte, _inFlightTxInputIndex uint8, _competingTx []byte, ...) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactorSession) ChallengeInFlightExitOutputSpent(_inFlightTx []byte, _inFlightTxOutputId *big.Int, ...) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactorSession) ChallengeStandardExit(_outputId *big.Int, _challengeTx []byte, _inputIndex uint8, ...) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactorSession) Deposit(_depositTx []byte) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactorSession) DepositFrom(_depositTx []byte) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactorSession) Init() (*types.Transaction, error)
- func (_Rootchain *RootchainTransactorSession) InitOperator() (*types.Transaction, error)
- func (_Rootchain *RootchainTransactorSession) PiggybackInFlightExit(_inFlightTx []byte, _outputIndex uint8) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactorSession) ProcessExits(_token common.Address, _topUtxoPos *big.Int, _exitsToProcess *big.Int) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactorSession) RespondToNonCanonicalChallenge(_inFlightTx []byte, _inFlightTxPos *big.Int, _inFlightTxInclusionProof []byte) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactorSession) StartFeeExit(_token common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactorSession) StartInFlightExit(_inFlightTx []byte, _inputTxs []byte, _inputTxsInclusionProofs []byte, ...) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactorSession) StartStandardExit(_outputId *big.Int, _outputTx []byte, _outputTxInclusionProof []byte) (*types.Transaction, error)
- func (_Rootchain *RootchainTransactorSession) SubmitBlock(_blockRoot [32]byte) (*types.Transaction, error)
Constants ¶
const RootchainABI = "" /* 14123-byte string literal not displayed */
RootchainABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rootchain ¶
type Rootchain struct { RootchainCaller // Read-only binding to the contract RootchainTransactor // Write-only binding to the contract RootchainFilterer // Log filterer for contract events }
Rootchain is an auto generated Go binding around an Ethereum contract.
func NewRootchain ¶
NewRootchain creates a new instance of Rootchain, bound to a specific deployed contract.
type RootchainBlockSubmitted ¶
type RootchainBlockSubmitted struct { BlockNumber *big.Int Raw types.Log // Blockchain specific contextual infos }
RootchainBlockSubmitted represents a BlockSubmitted event raised by the Rootchain contract.
type RootchainBlockSubmittedIterator ¶
type RootchainBlockSubmittedIterator struct { Event *RootchainBlockSubmitted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RootchainBlockSubmittedIterator is returned from FilterBlockSubmitted and is used to iterate over the raw logs and unpacked data for BlockSubmitted events raised by the Rootchain contract.
func (*RootchainBlockSubmittedIterator) Close ¶
func (it *RootchainBlockSubmittedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RootchainBlockSubmittedIterator) Error ¶
func (it *RootchainBlockSubmittedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RootchainBlockSubmittedIterator) Next ¶
func (it *RootchainBlockSubmittedIterator) 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 RootchainCaller ¶
type RootchainCaller struct {
// contains filtered or unexported fields
}
RootchainCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewRootchainCaller ¶
func NewRootchainCaller(address common.Address, caller bind.ContractCaller) (*RootchainCaller, error)
NewRootchainCaller creates a new read-only instance of Rootchain, bound to a specific deployed contract.
func (*RootchainCaller) Blocks ¶
func (_Rootchain *RootchainCaller) Blocks(opts *bind.CallOpts, arg0 *big.Int) (struct { Root [32]byte Timestamp *big.Int }, error)
Blocks is a free data retrieval call binding the contract method 0xf25b3f99.
Solidity: function blocks( uint256) constant returns(root bytes32, timestamp uint256)
func (*RootchainCaller) CHILDBLOCKINTERVAL ¶
CHILDBLOCKINTERVAL is a free data retrieval call binding the contract method 0xa831fa07.
Solidity: function CHILD_BLOCK_INTERVAL() constant returns(uint256)
func (*RootchainCaller) ClearFlag ¶
func (_Rootchain *RootchainCaller) ClearFlag(opts *bind.CallOpts, _value *big.Int) (*big.Int, error)
ClearFlag is a free data retrieval call binding the contract method 0x739471ca.
Solidity: function clearFlag(_value uint256) constant returns(uint256)
func (*RootchainCaller) Exits ¶
func (_Rootchain *RootchainCaller) Exits(opts *bind.CallOpts, arg0 *big.Int) (struct { Owner common.Address Token common.Address Amount *big.Int }, error)
Exits is a free data retrieval call binding the contract method 0x178914ca.
Solidity: function exits( uint192) constant returns(owner address, token address, amount uint256)
func (*RootchainCaller) ExitsQueues ¶
func (_Rootchain *RootchainCaller) ExitsQueues(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)
ExitsQueues is a free data retrieval call binding the contract method 0xd11f045c.
Solidity: function exitsQueues( address) constant returns(address)
func (*RootchainCaller) Flagged ¶
Flagged is a free data retrieval call binding the contract method 0xa370c668.
Solidity: function flagged(_value uint256) constant returns(bool)
func (*RootchainCaller) GetDepositBlockNumber ¶
GetDepositBlockNumber is a free data retrieval call binding the contract method 0xe24c1f36.
Solidity: function getDepositBlockNumber() constant returns(uint256)
func (*RootchainCaller) GetExitableTimestamp ¶
func (_Rootchain *RootchainCaller) GetExitableTimestamp(opts *bind.CallOpts, _outputId *big.Int) (*big.Int, error)
GetExitableTimestamp is a free data retrieval call binding the contract method 0x3ed39580.
Solidity: function getExitableTimestamp(_outputId uint256) constant returns(uint256)
func (*RootchainCaller) GetFeeExitPriority ¶
func (_Rootchain *RootchainCaller) GetFeeExitPriority(opts *bind.CallOpts, _feeExitId *big.Int) (*big.Int, error)
GetFeeExitPriority is a free data retrieval call binding the contract method 0x46fdfa7b.
Solidity: function getFeeExitPriority(_feeExitId uint256) constant returns(uint256)
func (*RootchainCaller) GetInFlightExitId ¶
func (_Rootchain *RootchainCaller) GetInFlightExitId(opts *bind.CallOpts, _tx []byte) (*big.Int, error)
GetInFlightExitId is a free data retrieval call binding the contract method 0x839c78f9.
Solidity: function getInFlightExitId(_tx bytes) constant returns(uint192)
func (*RootchainCaller) GetInFlightExitOutput ¶
func (_Rootchain *RootchainCaller) GetInFlightExitOutput(opts *bind.CallOpts, _tx []byte, _outputIndex *big.Int) (common.Address, common.Address, *big.Int, error)
GetInFlightExitOutput is a free data retrieval call binding the contract method 0x31294253.
Solidity: function getInFlightExitOutput(_tx bytes, _outputIndex uint256) constant returns(address, address, uint256)
func (*RootchainCaller) GetInFlightExitPriority ¶
func (_Rootchain *RootchainCaller) GetInFlightExitPriority(opts *bind.CallOpts, _outputId *big.Int, _tx []byte) (*big.Int, error)
GetInFlightExitPriority is a free data retrieval call binding the contract method 0xf53d04be.
Solidity: function getInFlightExitPriority(_outputId uint256, _tx bytes) constant returns(uint256)
func (*RootchainCaller) GetNextExit ¶
func (_Rootchain *RootchainCaller) GetNextExit(opts *bind.CallOpts, _token common.Address) (uint64, *big.Int, bool, error)
GetNextExit is a free data retrieval call binding the contract method 0x8bfe0aec.
Solidity: function getNextExit(_token address) constant returns(uint64, uint192, bool)
func (*RootchainCaller) GetStandardExitId ¶
func (_Rootchain *RootchainCaller) GetStandardExitId(opts *bind.CallOpts, _outputId *big.Int) (*big.Int, error)
GetStandardExitId is a free data retrieval call binding the contract method 0xdef3c897.
Solidity: function getStandardExitId(_outputId uint256) constant returns(uint192)
func (*RootchainCaller) GetStandardExitPriority ¶
func (_Rootchain *RootchainCaller) GetStandardExitPriority(opts *bind.CallOpts, _exitId *big.Int, _outputId *big.Int) (*big.Int, error)
GetStandardExitPriority is a free data retrieval call binding the contract method 0x4cf307db.
Solidity: function getStandardExitPriority(_exitId uint192, _outputId uint256) constant returns(uint256)
func (*RootchainCaller) HasToken ¶
func (_Rootchain *RootchainCaller) HasToken(opts *bind.CallOpts, _token common.Address) (bool, error)
HasToken is a free data retrieval call binding the contract method 0x9bb0f599.
Solidity: function hasToken(_token address) constant returns(bool)
func (*RootchainCaller) InFlightExitBond ¶
InFlightExitBond is a free data retrieval call binding the contract method 0xb55dfc08.
Solidity: function inFlightExitBond() constant returns(uint256)
func (*RootchainCaller) InFlightExits ¶
func (_Rootchain *RootchainCaller) InFlightExits(opts *bind.CallOpts, arg0 *big.Int) (struct { ExitStartTimestamp *big.Int ExitMap *big.Int BondOwner common.Address OldestCompetitor *big.Int }, error)
InFlightExits is a free data retrieval call binding the contract method 0x17a10af3.
Solidity: function inFlightExits( uint192) constant returns(exitStartTimestamp uint256, exitMap uint256, bondOwner address, oldestCompetitor uint256)
func (*RootchainCaller) IsMature ¶
func (_Rootchain *RootchainCaller) IsMature(opts *bind.CallOpts, exitableTimestamp uint64) (bool, error)
IsMature is a free data retrieval call binding the contract method 0x52817086.
Solidity: function isMature(exitableTimestamp uint64) constant returns(bool)
func (*RootchainCaller) MINEXITPERIOD ¶
MINEXITPERIOD is a free data retrieval call binding the contract method 0xdf49c648.
Solidity: function MIN_EXIT_PERIOD() constant returns(uint256)
func (*RootchainCaller) MarkInFlight ¶
func (_Rootchain *RootchainCaller) MarkInFlight(opts *bind.CallOpts, priority *big.Int) (*big.Int, error)
MarkInFlight is a free data retrieval call binding the contract method 0xdb48110f.
Solidity: function markInFlight(priority uint256) constant returns(uint256)
func (*RootchainCaller) MarkStandard ¶
func (_Rootchain *RootchainCaller) MarkStandard(opts *bind.CallOpts, priority *big.Int) (*big.Int, error)
MarkStandard is a free data retrieval call binding the contract method 0xc0158b86.
Solidity: function markStandard(priority uint256) constant returns(uint256)
func (*RootchainCaller) NextChildBlock ¶
NextChildBlock is a free data retrieval call binding the contract method 0x4ca8714f.
Solidity: function nextChildBlock() constant returns(uint256)
func (*RootchainCaller) NextDepositBlock ¶
NextDepositBlock is a free data retrieval call binding the contract method 0x8701fc5d.
Solidity: function nextDepositBlock() constant returns(uint256)
func (*RootchainCaller) NextFeeExit ¶
NextFeeExit is a free data retrieval call binding the contract method 0x03f3536e.
Solidity: function nextFeeExit() constant returns(uint256)
func (*RootchainCaller) Operator ¶
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() constant returns(address)
func (*RootchainCaller) PiggybackBond ¶
PiggybackBond is a free data retrieval call binding the contract method 0x45ab91e2.
Solidity: function piggybackBond() constant returns(uint256)
func (*RootchainCaller) SetFlag ¶
SetFlag is a free data retrieval call binding the contract method 0xd40c79f0.
Solidity: function setFlag(_value uint256) constant returns(uint256)
func (*RootchainCaller) StandardExitBond ¶
StandardExitBond is a free data retrieval call binding the contract method 0x97ecc2eb.
Solidity: function standardExitBond() constant returns(uint256)
type RootchainCallerRaw ¶
type RootchainCallerRaw struct {
Contract *RootchainCaller // Generic read-only contract binding to access the raw methods on
}
RootchainCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*RootchainCallerRaw) Call ¶
func (_Rootchain *RootchainCallerRaw) 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 RootchainCallerSession ¶
type RootchainCallerSession struct { Contract *RootchainCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
RootchainCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*RootchainCallerSession) Blocks ¶
func (_Rootchain *RootchainCallerSession) Blocks(arg0 *big.Int) (struct { Root [32]byte Timestamp *big.Int }, error)
Blocks is a free data retrieval call binding the contract method 0xf25b3f99.
Solidity: function blocks( uint256) constant returns(root bytes32, timestamp uint256)
func (*RootchainCallerSession) CHILDBLOCKINTERVAL ¶
func (_Rootchain *RootchainCallerSession) CHILDBLOCKINTERVAL() (*big.Int, error)
CHILDBLOCKINTERVAL is a free data retrieval call binding the contract method 0xa831fa07.
Solidity: function CHILD_BLOCK_INTERVAL() constant returns(uint256)
func (*RootchainCallerSession) ClearFlag ¶
ClearFlag is a free data retrieval call binding the contract method 0x739471ca.
Solidity: function clearFlag(_value uint256) constant returns(uint256)
func (*RootchainCallerSession) Exits ¶
func (_Rootchain *RootchainCallerSession) Exits(arg0 *big.Int) (struct { Owner common.Address Token common.Address Amount *big.Int }, error)
Exits is a free data retrieval call binding the contract method 0x178914ca.
Solidity: function exits( uint192) constant returns(owner address, token address, amount uint256)
func (*RootchainCallerSession) ExitsQueues ¶
ExitsQueues is a free data retrieval call binding the contract method 0xd11f045c.
Solidity: function exitsQueues( address) constant returns(address)
func (*RootchainCallerSession) Flagged ¶
func (_Rootchain *RootchainCallerSession) Flagged(_value *big.Int) (bool, error)
Flagged is a free data retrieval call binding the contract method 0xa370c668.
Solidity: function flagged(_value uint256) constant returns(bool)
func (*RootchainCallerSession) GetDepositBlockNumber ¶
func (_Rootchain *RootchainCallerSession) GetDepositBlockNumber() (*big.Int, error)
GetDepositBlockNumber is a free data retrieval call binding the contract method 0xe24c1f36.
Solidity: function getDepositBlockNumber() constant returns(uint256)
func (*RootchainCallerSession) GetExitableTimestamp ¶
func (_Rootchain *RootchainCallerSession) GetExitableTimestamp(_outputId *big.Int) (*big.Int, error)
GetExitableTimestamp is a free data retrieval call binding the contract method 0x3ed39580.
Solidity: function getExitableTimestamp(_outputId uint256) constant returns(uint256)
func (*RootchainCallerSession) GetFeeExitPriority ¶
GetFeeExitPriority is a free data retrieval call binding the contract method 0x46fdfa7b.
Solidity: function getFeeExitPriority(_feeExitId uint256) constant returns(uint256)
func (*RootchainCallerSession) GetInFlightExitId ¶
func (_Rootchain *RootchainCallerSession) GetInFlightExitId(_tx []byte) (*big.Int, error)
GetInFlightExitId is a free data retrieval call binding the contract method 0x839c78f9.
Solidity: function getInFlightExitId(_tx bytes) constant returns(uint192)
func (*RootchainCallerSession) GetInFlightExitOutput ¶
func (_Rootchain *RootchainCallerSession) GetInFlightExitOutput(_tx []byte, _outputIndex *big.Int) (common.Address, common.Address, *big.Int, error)
GetInFlightExitOutput is a free data retrieval call binding the contract method 0x31294253.
Solidity: function getInFlightExitOutput(_tx bytes, _outputIndex uint256) constant returns(address, address, uint256)
func (*RootchainCallerSession) GetInFlightExitPriority ¶
func (_Rootchain *RootchainCallerSession) GetInFlightExitPriority(_outputId *big.Int, _tx []byte) (*big.Int, error)
GetInFlightExitPriority is a free data retrieval call binding the contract method 0xf53d04be.
Solidity: function getInFlightExitPriority(_outputId uint256, _tx bytes) constant returns(uint256)
func (*RootchainCallerSession) GetNextExit ¶
func (_Rootchain *RootchainCallerSession) GetNextExit(_token common.Address) (uint64, *big.Int, bool, error)
GetNextExit is a free data retrieval call binding the contract method 0x8bfe0aec.
Solidity: function getNextExit(_token address) constant returns(uint64, uint192, bool)
func (*RootchainCallerSession) GetStandardExitId ¶
GetStandardExitId is a free data retrieval call binding the contract method 0xdef3c897.
Solidity: function getStandardExitId(_outputId uint256) constant returns(uint192)
func (*RootchainCallerSession) GetStandardExitPriority ¶
func (_Rootchain *RootchainCallerSession) GetStandardExitPriority(_exitId *big.Int, _outputId *big.Int) (*big.Int, error)
GetStandardExitPriority is a free data retrieval call binding the contract method 0x4cf307db.
Solidity: function getStandardExitPriority(_exitId uint192, _outputId uint256) constant returns(uint256)
func (*RootchainCallerSession) HasToken ¶
func (_Rootchain *RootchainCallerSession) HasToken(_token common.Address) (bool, error)
HasToken is a free data retrieval call binding the contract method 0x9bb0f599.
Solidity: function hasToken(_token address) constant returns(bool)
func (*RootchainCallerSession) InFlightExitBond ¶
func (_Rootchain *RootchainCallerSession) InFlightExitBond() (*big.Int, error)
InFlightExitBond is a free data retrieval call binding the contract method 0xb55dfc08.
Solidity: function inFlightExitBond() constant returns(uint256)
func (*RootchainCallerSession) InFlightExits ¶
func (_Rootchain *RootchainCallerSession) InFlightExits(arg0 *big.Int) (struct { ExitStartTimestamp *big.Int ExitMap *big.Int BondOwner common.Address OldestCompetitor *big.Int }, error)
InFlightExits is a free data retrieval call binding the contract method 0x17a10af3.
Solidity: function inFlightExits( uint192) constant returns(exitStartTimestamp uint256, exitMap uint256, bondOwner address, oldestCompetitor uint256)
func (*RootchainCallerSession) IsMature ¶
func (_Rootchain *RootchainCallerSession) IsMature(exitableTimestamp uint64) (bool, error)
IsMature is a free data retrieval call binding the contract method 0x52817086.
Solidity: function isMature(exitableTimestamp uint64) constant returns(bool)
func (*RootchainCallerSession) MINEXITPERIOD ¶
func (_Rootchain *RootchainCallerSession) MINEXITPERIOD() (*big.Int, error)
MINEXITPERIOD is a free data retrieval call binding the contract method 0xdf49c648.
Solidity: function MIN_EXIT_PERIOD() constant returns(uint256)
func (*RootchainCallerSession) MarkInFlight ¶
MarkInFlight is a free data retrieval call binding the contract method 0xdb48110f.
Solidity: function markInFlight(priority uint256) constant returns(uint256)
func (*RootchainCallerSession) MarkStandard ¶
MarkStandard is a free data retrieval call binding the contract method 0xc0158b86.
Solidity: function markStandard(priority uint256) constant returns(uint256)
func (*RootchainCallerSession) NextChildBlock ¶
func (_Rootchain *RootchainCallerSession) NextChildBlock() (*big.Int, error)
NextChildBlock is a free data retrieval call binding the contract method 0x4ca8714f.
Solidity: function nextChildBlock() constant returns(uint256)
func (*RootchainCallerSession) NextDepositBlock ¶
func (_Rootchain *RootchainCallerSession) NextDepositBlock() (*big.Int, error)
NextDepositBlock is a free data retrieval call binding the contract method 0x8701fc5d.
Solidity: function nextDepositBlock() constant returns(uint256)
func (*RootchainCallerSession) NextFeeExit ¶
func (_Rootchain *RootchainCallerSession) NextFeeExit() (*big.Int, error)
NextFeeExit is a free data retrieval call binding the contract method 0x03f3536e.
Solidity: function nextFeeExit() constant returns(uint256)
func (*RootchainCallerSession) Operator ¶
func (_Rootchain *RootchainCallerSession) Operator() (common.Address, error)
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() constant returns(address)
func (*RootchainCallerSession) PiggybackBond ¶
func (_Rootchain *RootchainCallerSession) PiggybackBond() (*big.Int, error)
PiggybackBond is a free data retrieval call binding the contract method 0x45ab91e2.
Solidity: function piggybackBond() constant returns(uint256)
func (*RootchainCallerSession) SetFlag ¶
SetFlag is a free data retrieval call binding the contract method 0xd40c79f0.
Solidity: function setFlag(_value uint256) constant returns(uint256)
func (*RootchainCallerSession) StandardExitBond ¶
func (_Rootchain *RootchainCallerSession) StandardExitBond() (*big.Int, error)
StandardExitBond is a free data retrieval call binding the contract method 0x97ecc2eb.
Solidity: function standardExitBond() constant returns(uint256)
type RootchainDepositCreated ¶
type RootchainDepositCreated struct { Depositor common.Address Blknum *big.Int Token common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
RootchainDepositCreated represents a DepositCreated event raised by the Rootchain contract.
type RootchainDepositCreatedIterator ¶
type RootchainDepositCreatedIterator struct { Event *RootchainDepositCreated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RootchainDepositCreatedIterator is returned from FilterDepositCreated and is used to iterate over the raw logs and unpacked data for DepositCreated events raised by the Rootchain contract.
func (*RootchainDepositCreatedIterator) Close ¶
func (it *RootchainDepositCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RootchainDepositCreatedIterator) Error ¶
func (it *RootchainDepositCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RootchainDepositCreatedIterator) Next ¶
func (it *RootchainDepositCreatedIterator) 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 RootchainExitChallenged ¶
type RootchainExitChallenged struct { UtxoPos *big.Int Raw types.Log // Blockchain specific contextual infos }
RootchainExitChallenged represents a ExitChallenged event raised by the Rootchain contract.
type RootchainExitChallengedIterator ¶
type RootchainExitChallengedIterator struct { Event *RootchainExitChallenged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RootchainExitChallengedIterator is returned from FilterExitChallenged and is used to iterate over the raw logs and unpacked data for ExitChallenged events raised by the Rootchain contract.
func (*RootchainExitChallengedIterator) Close ¶
func (it *RootchainExitChallengedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RootchainExitChallengedIterator) Error ¶
func (it *RootchainExitChallengedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RootchainExitChallengedIterator) Next ¶
func (it *RootchainExitChallengedIterator) 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 RootchainExitFinalized ¶
type RootchainExitFinalized struct { UtxoPos *big.Int Raw types.Log // Blockchain specific contextual infos }
RootchainExitFinalized represents a ExitFinalized event raised by the Rootchain contract.
type RootchainExitFinalizedIterator ¶
type RootchainExitFinalizedIterator struct { Event *RootchainExitFinalized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RootchainExitFinalizedIterator is returned from FilterExitFinalized and is used to iterate over the raw logs and unpacked data for ExitFinalized events raised by the Rootchain contract.
func (*RootchainExitFinalizedIterator) Close ¶
func (it *RootchainExitFinalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RootchainExitFinalizedIterator) Error ¶
func (it *RootchainExitFinalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RootchainExitFinalizedIterator) Next ¶
func (it *RootchainExitFinalizedIterator) 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 RootchainExitStarted ¶
type RootchainExitStarted struct { Owner common.Address OutputId *big.Int Amount *big.Int Token common.Address Raw types.Log // Blockchain specific contextual infos }
RootchainExitStarted represents a ExitStarted event raised by the Rootchain contract.
type RootchainExitStartedIterator ¶
type RootchainExitStartedIterator struct { Event *RootchainExitStarted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RootchainExitStartedIterator is returned from FilterExitStarted and is used to iterate over the raw logs and unpacked data for ExitStarted events raised by the Rootchain contract.
func (*RootchainExitStartedIterator) Close ¶
func (it *RootchainExitStartedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RootchainExitStartedIterator) Error ¶
func (it *RootchainExitStartedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RootchainExitStartedIterator) Next ¶
func (it *RootchainExitStartedIterator) 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 RootchainFilterer ¶
type RootchainFilterer struct {
// contains filtered or unexported fields
}
RootchainFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewRootchainFilterer ¶
func NewRootchainFilterer(address common.Address, filterer bind.ContractFilterer) (*RootchainFilterer, error)
NewRootchainFilterer creates a new log filterer instance of Rootchain, bound to a specific deployed contract.
func (*RootchainFilterer) FilterBlockSubmitted ¶
func (_Rootchain *RootchainFilterer) FilterBlockSubmitted(opts *bind.FilterOpts) (*RootchainBlockSubmittedIterator, error)
FilterBlockSubmitted is a free log retrieval operation binding the contract event 0x5a978f4723b249ccf79cd7a658a8601ce1ff8b89fc770251a6be35216351ce32.
Solidity: e BlockSubmitted(blockNumber uint256)
func (*RootchainFilterer) FilterDepositCreated ¶
func (_Rootchain *RootchainFilterer) FilterDepositCreated(opts *bind.FilterOpts, depositor []common.Address, blknum []*big.Int, token []common.Address) (*RootchainDepositCreatedIterator, error)
FilterDepositCreated is a free log retrieval operation binding the contract event 0x18569122d84f30025bb8dffb33563f1bdbfb9637f21552b11b8305686e9cb307.
Solidity: e DepositCreated(depositor indexed address, blknum indexed uint256, token indexed address, amount uint256)
func (*RootchainFilterer) FilterExitChallenged ¶
func (_Rootchain *RootchainFilterer) FilterExitChallenged(opts *bind.FilterOpts, utxoPos []*big.Int) (*RootchainExitChallengedIterator, error)
FilterExitChallenged is a free log retrieval operation binding the contract event 0x5dfba526c59b25f899f935c5b0d5b8739e97e4d89c38c158eca3192ea34b87d8.
Solidity: e ExitChallenged(utxoPos indexed uint256)
func (*RootchainFilterer) FilterExitFinalized ¶
func (_Rootchain *RootchainFilterer) FilterExitFinalized(opts *bind.FilterOpts, utxoPos []*big.Int) (*RootchainExitFinalizedIterator, error)
FilterExitFinalized is a free log retrieval operation binding the contract event 0x36805ae734d39c3675a2dfe79c18d15a03680ff0589e7119958435a3bdd61b36.
Solidity: e ExitFinalized(utxoPos indexed uint256)
func (*RootchainFilterer) FilterExitStarted ¶
func (_Rootchain *RootchainFilterer) FilterExitStarted(opts *bind.FilterOpts, owner []common.Address) (*RootchainExitStartedIterator, error)
FilterExitStarted is a free log retrieval operation binding the contract event 0x774f4dfa540020b406b2c42f8c27303b81aa155dc7e197270ec27ba79e33d250.
Solidity: e ExitStarted(owner indexed address, outputId uint256, amount uint256, token address)
func (*RootchainFilterer) FilterInFlightExitChallengeResponded ¶
func (_Rootchain *RootchainFilterer) FilterInFlightExitChallengeResponded(opts *bind.FilterOpts) (*RootchainInFlightExitChallengeRespondedIterator, error)
FilterInFlightExitChallengeResponded is a free log retrieval operation binding the contract event 0x637cc4a7148767df19331a5c7dfb6d31f0a7e159a3dbb28a716be18c8c74f768.
Solidity: e InFlightExitChallengeResponded(challenger address, txHash bytes32, challengeTxPosition uint256)
func (*RootchainFilterer) FilterInFlightExitChallenged ¶
func (_Rootchain *RootchainFilterer) FilterInFlightExitChallenged(opts *bind.FilterOpts, challenger []common.Address) (*RootchainInFlightExitChallengedIterator, error)
FilterInFlightExitChallenged is a free log retrieval operation binding the contract event 0x687401968e501bda2d2d6f880dd1a0a56ff50b1787185ee0b6f4c3fb9fc417ab.
Solidity: e InFlightExitChallenged(challenger indexed address, txHash bytes32, challengeTxPosition uint256)
func (*RootchainFilterer) FilterInFlightExitFinalized ¶
func (_Rootchain *RootchainFilterer) FilterInFlightExitFinalized(opts *bind.FilterOpts) (*RootchainInFlightExitFinalizedIterator, error)
FilterInFlightExitFinalized is a free log retrieval operation binding the contract event 0xe79fbb7bdf83c454ec9bd621a4e216dda59abe8837976fc9c848cab9f4a9c181.
Solidity: e InFlightExitFinalized(inFlightExitId uint192, outputId uint256)
func (*RootchainFilterer) FilterInFlightExitOutputBlocked ¶
func (_Rootchain *RootchainFilterer) FilterInFlightExitOutputBlocked(opts *bind.FilterOpts, challenger []common.Address) (*RootchainInFlightExitOutputBlockedIterator, error)
FilterInFlightExitOutputBlocked is a free log retrieval operation binding the contract event 0x23540ff515aa4f71173bfad1bdd9d0af58ead4a8bf5e1f3ad0ae9f3696802784.
Solidity: e InFlightExitOutputBlocked(challenger indexed address, txHash bytes32, outputId uint256)
func (*RootchainFilterer) FilterInFlightExitPiggybacked ¶
func (_Rootchain *RootchainFilterer) FilterInFlightExitPiggybacked(opts *bind.FilterOpts, owner []common.Address) (*RootchainInFlightExitPiggybackedIterator, error)
FilterInFlightExitPiggybacked is a free log retrieval operation binding the contract event 0x07e1a98d5a6eb9c83cdc6ab7d8862424f9ea3f5f414f8e19c9d6fdda0c073533.
Solidity: e InFlightExitPiggybacked(owner indexed address, txHash bytes32, outputIndex uint256)
func (*RootchainFilterer) FilterInFlightExitStarted ¶
func (_Rootchain *RootchainFilterer) FilterInFlightExitStarted(opts *bind.FilterOpts, initiator []common.Address) (*RootchainInFlightExitStartedIterator, error)
FilterInFlightExitStarted is a free log retrieval operation binding the contract event 0xd5f1fe9d48880b57daa227004b16d320c0eb885d6c49d472d54c16a05fa3179e.
Solidity: e InFlightExitStarted(initiator indexed address, txHash bytes32)
func (*RootchainFilterer) FilterTokenAdded ¶
func (_Rootchain *RootchainFilterer) FilterTokenAdded(opts *bind.FilterOpts) (*RootchainTokenAddedIterator, error)
FilterTokenAdded is a free log retrieval operation binding the contract event 0x784c8f4dbf0ffedd6e72c76501c545a70f8b203b30a26ce542bf92ba87c248a4.
Solidity: e TokenAdded(token address)
func (*RootchainFilterer) WatchBlockSubmitted ¶
func (_Rootchain *RootchainFilterer) WatchBlockSubmitted(opts *bind.WatchOpts, sink chan<- *RootchainBlockSubmitted) (event.Subscription, error)
WatchBlockSubmitted is a free log subscription operation binding the contract event 0x5a978f4723b249ccf79cd7a658a8601ce1ff8b89fc770251a6be35216351ce32.
Solidity: e BlockSubmitted(blockNumber uint256)
func (*RootchainFilterer) WatchDepositCreated ¶
func (_Rootchain *RootchainFilterer) WatchDepositCreated(opts *bind.WatchOpts, sink chan<- *RootchainDepositCreated, depositor []common.Address, blknum []*big.Int, token []common.Address) (event.Subscription, error)
WatchDepositCreated is a free log subscription operation binding the contract event 0x18569122d84f30025bb8dffb33563f1bdbfb9637f21552b11b8305686e9cb307.
Solidity: e DepositCreated(depositor indexed address, blknum indexed uint256, token indexed address, amount uint256)
func (*RootchainFilterer) WatchExitChallenged ¶
func (_Rootchain *RootchainFilterer) WatchExitChallenged(opts *bind.WatchOpts, sink chan<- *RootchainExitChallenged, utxoPos []*big.Int) (event.Subscription, error)
WatchExitChallenged is a free log subscription operation binding the contract event 0x5dfba526c59b25f899f935c5b0d5b8739e97e4d89c38c158eca3192ea34b87d8.
Solidity: e ExitChallenged(utxoPos indexed uint256)
func (*RootchainFilterer) WatchExitFinalized ¶
func (_Rootchain *RootchainFilterer) WatchExitFinalized(opts *bind.WatchOpts, sink chan<- *RootchainExitFinalized, utxoPos []*big.Int) (event.Subscription, error)
WatchExitFinalized is a free log subscription operation binding the contract event 0x36805ae734d39c3675a2dfe79c18d15a03680ff0589e7119958435a3bdd61b36.
Solidity: e ExitFinalized(utxoPos indexed uint256)
func (*RootchainFilterer) WatchExitStarted ¶
func (_Rootchain *RootchainFilterer) WatchExitStarted(opts *bind.WatchOpts, sink chan<- *RootchainExitStarted, owner []common.Address) (event.Subscription, error)
WatchExitStarted is a free log subscription operation binding the contract event 0x774f4dfa540020b406b2c42f8c27303b81aa155dc7e197270ec27ba79e33d250.
Solidity: e ExitStarted(owner indexed address, outputId uint256, amount uint256, token address)
func (*RootchainFilterer) WatchInFlightExitChallengeResponded ¶
func (_Rootchain *RootchainFilterer) WatchInFlightExitChallengeResponded(opts *bind.WatchOpts, sink chan<- *RootchainInFlightExitChallengeResponded) (event.Subscription, error)
WatchInFlightExitChallengeResponded is a free log subscription operation binding the contract event 0x637cc4a7148767df19331a5c7dfb6d31f0a7e159a3dbb28a716be18c8c74f768.
Solidity: e InFlightExitChallengeResponded(challenger address, txHash bytes32, challengeTxPosition uint256)
func (*RootchainFilterer) WatchInFlightExitChallenged ¶
func (_Rootchain *RootchainFilterer) WatchInFlightExitChallenged(opts *bind.WatchOpts, sink chan<- *RootchainInFlightExitChallenged, challenger []common.Address) (event.Subscription, error)
WatchInFlightExitChallenged is a free log subscription operation binding the contract event 0x687401968e501bda2d2d6f880dd1a0a56ff50b1787185ee0b6f4c3fb9fc417ab.
Solidity: e InFlightExitChallenged(challenger indexed address, txHash bytes32, challengeTxPosition uint256)
func (*RootchainFilterer) WatchInFlightExitFinalized ¶
func (_Rootchain *RootchainFilterer) WatchInFlightExitFinalized(opts *bind.WatchOpts, sink chan<- *RootchainInFlightExitFinalized) (event.Subscription, error)
WatchInFlightExitFinalized is a free log subscription operation binding the contract event 0xe79fbb7bdf83c454ec9bd621a4e216dda59abe8837976fc9c848cab9f4a9c181.
Solidity: e InFlightExitFinalized(inFlightExitId uint192, outputId uint256)
func (*RootchainFilterer) WatchInFlightExitOutputBlocked ¶
func (_Rootchain *RootchainFilterer) WatchInFlightExitOutputBlocked(opts *bind.WatchOpts, sink chan<- *RootchainInFlightExitOutputBlocked, challenger []common.Address) (event.Subscription, error)
WatchInFlightExitOutputBlocked is a free log subscription operation binding the contract event 0x23540ff515aa4f71173bfad1bdd9d0af58ead4a8bf5e1f3ad0ae9f3696802784.
Solidity: e InFlightExitOutputBlocked(challenger indexed address, txHash bytes32, outputId uint256)
func (*RootchainFilterer) WatchInFlightExitPiggybacked ¶
func (_Rootchain *RootchainFilterer) WatchInFlightExitPiggybacked(opts *bind.WatchOpts, sink chan<- *RootchainInFlightExitPiggybacked, owner []common.Address) (event.Subscription, error)
WatchInFlightExitPiggybacked is a free log subscription operation binding the contract event 0x07e1a98d5a6eb9c83cdc6ab7d8862424f9ea3f5f414f8e19c9d6fdda0c073533.
Solidity: e InFlightExitPiggybacked(owner indexed address, txHash bytes32, outputIndex uint256)
func (*RootchainFilterer) WatchInFlightExitStarted ¶
func (_Rootchain *RootchainFilterer) WatchInFlightExitStarted(opts *bind.WatchOpts, sink chan<- *RootchainInFlightExitStarted, initiator []common.Address) (event.Subscription, error)
WatchInFlightExitStarted is a free log subscription operation binding the contract event 0xd5f1fe9d48880b57daa227004b16d320c0eb885d6c49d472d54c16a05fa3179e.
Solidity: e InFlightExitStarted(initiator indexed address, txHash bytes32)
func (*RootchainFilterer) WatchTokenAdded ¶
func (_Rootchain *RootchainFilterer) WatchTokenAdded(opts *bind.WatchOpts, sink chan<- *RootchainTokenAdded) (event.Subscription, error)
WatchTokenAdded is a free log subscription operation binding the contract event 0x784c8f4dbf0ffedd6e72c76501c545a70f8b203b30a26ce542bf92ba87c248a4.
Solidity: e TokenAdded(token address)
type RootchainInFlightExitChallengeResponded ¶
type RootchainInFlightExitChallengeResponded struct { Challenger common.Address TxHash [32]byte ChallengeTxPosition *big.Int Raw types.Log // Blockchain specific contextual infos }
RootchainInFlightExitChallengeResponded represents a InFlightExitChallengeResponded event raised by the Rootchain contract.
type RootchainInFlightExitChallengeRespondedIterator ¶
type RootchainInFlightExitChallengeRespondedIterator struct { Event *RootchainInFlightExitChallengeResponded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RootchainInFlightExitChallengeRespondedIterator is returned from FilterInFlightExitChallengeResponded and is used to iterate over the raw logs and unpacked data for InFlightExitChallengeResponded events raised by the Rootchain contract.
func (*RootchainInFlightExitChallengeRespondedIterator) Close ¶
func (it *RootchainInFlightExitChallengeRespondedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RootchainInFlightExitChallengeRespondedIterator) Error ¶
func (it *RootchainInFlightExitChallengeRespondedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RootchainInFlightExitChallengeRespondedIterator) Next ¶
func (it *RootchainInFlightExitChallengeRespondedIterator) 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 RootchainInFlightExitChallenged ¶
type RootchainInFlightExitChallenged struct { Challenger common.Address TxHash [32]byte ChallengeTxPosition *big.Int Raw types.Log // Blockchain specific contextual infos }
RootchainInFlightExitChallenged represents a InFlightExitChallenged event raised by the Rootchain contract.
type RootchainInFlightExitChallengedIterator ¶
type RootchainInFlightExitChallengedIterator struct { Event *RootchainInFlightExitChallenged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RootchainInFlightExitChallengedIterator is returned from FilterInFlightExitChallenged and is used to iterate over the raw logs and unpacked data for InFlightExitChallenged events raised by the Rootchain contract.
func (*RootchainInFlightExitChallengedIterator) Close ¶
func (it *RootchainInFlightExitChallengedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RootchainInFlightExitChallengedIterator) Error ¶
func (it *RootchainInFlightExitChallengedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RootchainInFlightExitChallengedIterator) Next ¶
func (it *RootchainInFlightExitChallengedIterator) 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 RootchainInFlightExitFinalized ¶
type RootchainInFlightExitFinalized struct { InFlightExitId *big.Int OutputId *big.Int Raw types.Log // Blockchain specific contextual infos }
RootchainInFlightExitFinalized represents a InFlightExitFinalized event raised by the Rootchain contract.
type RootchainInFlightExitFinalizedIterator ¶
type RootchainInFlightExitFinalizedIterator struct { Event *RootchainInFlightExitFinalized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RootchainInFlightExitFinalizedIterator is returned from FilterInFlightExitFinalized and is used to iterate over the raw logs and unpacked data for InFlightExitFinalized events raised by the Rootchain contract.
func (*RootchainInFlightExitFinalizedIterator) Close ¶
func (it *RootchainInFlightExitFinalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RootchainInFlightExitFinalizedIterator) Error ¶
func (it *RootchainInFlightExitFinalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RootchainInFlightExitFinalizedIterator) Next ¶
func (it *RootchainInFlightExitFinalizedIterator) 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 RootchainInFlightExitOutputBlocked ¶
type RootchainInFlightExitOutputBlocked struct { Challenger common.Address TxHash [32]byte OutputId *big.Int Raw types.Log // Blockchain specific contextual infos }
RootchainInFlightExitOutputBlocked represents a InFlightExitOutputBlocked event raised by the Rootchain contract.
type RootchainInFlightExitOutputBlockedIterator ¶
type RootchainInFlightExitOutputBlockedIterator struct { Event *RootchainInFlightExitOutputBlocked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RootchainInFlightExitOutputBlockedIterator is returned from FilterInFlightExitOutputBlocked and is used to iterate over the raw logs and unpacked data for InFlightExitOutputBlocked events raised by the Rootchain contract.
func (*RootchainInFlightExitOutputBlockedIterator) Close ¶
func (it *RootchainInFlightExitOutputBlockedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RootchainInFlightExitOutputBlockedIterator) Error ¶
func (it *RootchainInFlightExitOutputBlockedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RootchainInFlightExitOutputBlockedIterator) Next ¶
func (it *RootchainInFlightExitOutputBlockedIterator) 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 RootchainInFlightExitPiggybacked ¶
type RootchainInFlightExitPiggybacked struct { Owner common.Address TxHash [32]byte OutputIndex *big.Int Raw types.Log // Blockchain specific contextual infos }
RootchainInFlightExitPiggybacked represents a InFlightExitPiggybacked event raised by the Rootchain contract.
type RootchainInFlightExitPiggybackedIterator ¶
type RootchainInFlightExitPiggybackedIterator struct { Event *RootchainInFlightExitPiggybacked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RootchainInFlightExitPiggybackedIterator is returned from FilterInFlightExitPiggybacked and is used to iterate over the raw logs and unpacked data for InFlightExitPiggybacked events raised by the Rootchain contract.
func (*RootchainInFlightExitPiggybackedIterator) Close ¶
func (it *RootchainInFlightExitPiggybackedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RootchainInFlightExitPiggybackedIterator) Error ¶
func (it *RootchainInFlightExitPiggybackedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RootchainInFlightExitPiggybackedIterator) Next ¶
func (it *RootchainInFlightExitPiggybackedIterator) 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 RootchainInFlightExitStarted ¶
type RootchainInFlightExitStarted struct { Initiator common.Address TxHash [32]byte Raw types.Log // Blockchain specific contextual infos }
RootchainInFlightExitStarted represents a InFlightExitStarted event raised by the Rootchain contract.
type RootchainInFlightExitStartedIterator ¶
type RootchainInFlightExitStartedIterator struct { Event *RootchainInFlightExitStarted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RootchainInFlightExitStartedIterator is returned from FilterInFlightExitStarted and is used to iterate over the raw logs and unpacked data for InFlightExitStarted events raised by the Rootchain contract.
func (*RootchainInFlightExitStartedIterator) Close ¶
func (it *RootchainInFlightExitStartedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RootchainInFlightExitStartedIterator) Error ¶
func (it *RootchainInFlightExitStartedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RootchainInFlightExitStartedIterator) Next ¶
func (it *RootchainInFlightExitStartedIterator) 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 RootchainRaw ¶
type RootchainRaw struct {
Contract *Rootchain // Generic contract binding to access the raw methods on
}
RootchainRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*RootchainRaw) Call ¶
func (_Rootchain *RootchainRaw) 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 (*RootchainRaw) Transact ¶
func (_Rootchain *RootchainRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RootchainRaw) Transfer ¶
func (_Rootchain *RootchainRaw) 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 RootchainSession ¶
type RootchainSession struct { Contract *Rootchain // 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 }
RootchainSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*RootchainSession) AddToken ¶
func (_Rootchain *RootchainSession) AddToken(_token common.Address) (*types.Transaction, error)
AddToken is a paid mutator transaction binding the contract method 0xd48bfca7.
Solidity: function addToken(_token address) returns()
func (*RootchainSession) Blocks ¶
func (_Rootchain *RootchainSession) Blocks(arg0 *big.Int) (struct { Root [32]byte Timestamp *big.Int }, error)
Blocks is a free data retrieval call binding the contract method 0xf25b3f99.
Solidity: function blocks( uint256) constant returns(root bytes32, timestamp uint256)
func (*RootchainSession) CHILDBLOCKINTERVAL ¶
func (_Rootchain *RootchainSession) CHILDBLOCKINTERVAL() (*big.Int, error)
CHILDBLOCKINTERVAL is a free data retrieval call binding the contract method 0xa831fa07.
Solidity: function CHILD_BLOCK_INTERVAL() constant returns(uint256)
func (*RootchainSession) ChallengeInFlightExitInputSpent ¶
func (_Rootchain *RootchainSession) ChallengeInFlightExitInputSpent(_inFlightTx []byte, _inFlightTxInputIndex uint8, _spendingTx []byte, _spendingTxInputIndex uint8, _spendingTxSig []byte) (*types.Transaction, error)
ChallengeInFlightExitInputSpent is a paid mutator transaction binding the contract method 0x40823bb7.
Solidity: function challengeInFlightExitInputSpent(_inFlightTx bytes, _inFlightTxInputIndex uint8, _spendingTx bytes, _spendingTxInputIndex uint8, _spendingTxSig bytes) returns()
func (*RootchainSession) ChallengeInFlightExitNotCanonical ¶
func (_Rootchain *RootchainSession) ChallengeInFlightExitNotCanonical(_inFlightTx []byte, _inFlightTxInputIndex uint8, _competingTx []byte, _competingTxInputIndex uint8, _competingTxId *big.Int, _competingTxInclusionProof []byte, _competingTxSig []byte) (*types.Transaction, error)
ChallengeInFlightExitNotCanonical is a paid mutator transaction binding the contract method 0x4ffa32cf.
Solidity: function challengeInFlightExitNotCanonical(_inFlightTx bytes, _inFlightTxInputIndex uint8, _competingTx bytes, _competingTxInputIndex uint8, _competingTxId uint256, _competingTxInclusionProof bytes, _competingTxSig bytes) returns()
func (*RootchainSession) ChallengeInFlightExitOutputSpent ¶
func (_Rootchain *RootchainSession) ChallengeInFlightExitOutputSpent(_inFlightTx []byte, _inFlightTxOutputId *big.Int, _inFlightTxInclusionProof []byte, _spendingTx []byte, _spendingTxInputIndex *big.Int, _spendingTxSig []byte) (*types.Transaction, error)
ChallengeInFlightExitOutputSpent is a paid mutator transaction binding the contract method 0x6c5bada0.
Solidity: function challengeInFlightExitOutputSpent(_inFlightTx bytes, _inFlightTxOutputId uint256, _inFlightTxInclusionProof bytes, _spendingTx bytes, _spendingTxInputIndex uint256, _spendingTxSig bytes) returns()
func (*RootchainSession) ChallengeStandardExit ¶
func (_Rootchain *RootchainSession) ChallengeStandardExit(_outputId *big.Int, _challengeTx []byte, _inputIndex uint8, _challengeTxSig []byte) (*types.Transaction, error)
ChallengeStandardExit is a paid mutator transaction binding the contract method 0xe5d99629.
Solidity: function challengeStandardExit(_outputId uint192, _challengeTx bytes, _inputIndex uint8, _challengeTxSig bytes) returns()
func (*RootchainSession) ClearFlag ¶
ClearFlag is a free data retrieval call binding the contract method 0x739471ca.
Solidity: function clearFlag(_value uint256) constant returns(uint256)
func (*RootchainSession) Deposit ¶
func (_Rootchain *RootchainSession) Deposit(_depositTx []byte) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x98b1e06a.
Solidity: function deposit(_depositTx bytes) returns()
func (*RootchainSession) DepositFrom ¶
func (_Rootchain *RootchainSession) DepositFrom(_depositTx []byte) (*types.Transaction, error)
DepositFrom is a paid mutator transaction binding the contract method 0xf8cbd6d2.
Solidity: function depositFrom(_depositTx bytes) returns()
func (*RootchainSession) Exits ¶
func (_Rootchain *RootchainSession) Exits(arg0 *big.Int) (struct { Owner common.Address Token common.Address Amount *big.Int }, error)
Exits is a free data retrieval call binding the contract method 0x178914ca.
Solidity: function exits( uint192) constant returns(owner address, token address, amount uint256)
func (*RootchainSession) ExitsQueues ¶
ExitsQueues is a free data retrieval call binding the contract method 0xd11f045c.
Solidity: function exitsQueues( address) constant returns(address)
func (*RootchainSession) Flagged ¶
func (_Rootchain *RootchainSession) Flagged(_value *big.Int) (bool, error)
Flagged is a free data retrieval call binding the contract method 0xa370c668.
Solidity: function flagged(_value uint256) constant returns(bool)
func (*RootchainSession) GetDepositBlockNumber ¶
func (_Rootchain *RootchainSession) GetDepositBlockNumber() (*big.Int, error)
GetDepositBlockNumber is a free data retrieval call binding the contract method 0xe24c1f36.
Solidity: function getDepositBlockNumber() constant returns(uint256)
func (*RootchainSession) GetExitableTimestamp ¶
GetExitableTimestamp is a free data retrieval call binding the contract method 0x3ed39580.
Solidity: function getExitableTimestamp(_outputId uint256) constant returns(uint256)
func (*RootchainSession) GetFeeExitPriority ¶
GetFeeExitPriority is a free data retrieval call binding the contract method 0x46fdfa7b.
Solidity: function getFeeExitPriority(_feeExitId uint256) constant returns(uint256)
func (*RootchainSession) GetInFlightExitId ¶
func (_Rootchain *RootchainSession) GetInFlightExitId(_tx []byte) (*big.Int, error)
GetInFlightExitId is a free data retrieval call binding the contract method 0x839c78f9.
Solidity: function getInFlightExitId(_tx bytes) constant returns(uint192)
func (*RootchainSession) GetInFlightExitOutput ¶
func (_Rootchain *RootchainSession) GetInFlightExitOutput(_tx []byte, _outputIndex *big.Int) (common.Address, common.Address, *big.Int, error)
GetInFlightExitOutput is a free data retrieval call binding the contract method 0x31294253.
Solidity: function getInFlightExitOutput(_tx bytes, _outputIndex uint256) constant returns(address, address, uint256)
func (*RootchainSession) GetInFlightExitPriority ¶
func (_Rootchain *RootchainSession) GetInFlightExitPriority(_outputId *big.Int, _tx []byte) (*big.Int, error)
GetInFlightExitPriority is a free data retrieval call binding the contract method 0xf53d04be.
Solidity: function getInFlightExitPriority(_outputId uint256, _tx bytes) constant returns(uint256)
func (*RootchainSession) GetNextExit ¶
func (_Rootchain *RootchainSession) GetNextExit(_token common.Address) (uint64, *big.Int, bool, error)
GetNextExit is a free data retrieval call binding the contract method 0x8bfe0aec.
Solidity: function getNextExit(_token address) constant returns(uint64, uint192, bool)
func (*RootchainSession) GetStandardExitId ¶
GetStandardExitId is a free data retrieval call binding the contract method 0xdef3c897.
Solidity: function getStandardExitId(_outputId uint256) constant returns(uint192)
func (*RootchainSession) GetStandardExitPriority ¶
func (_Rootchain *RootchainSession) GetStandardExitPriority(_exitId *big.Int, _outputId *big.Int) (*big.Int, error)
GetStandardExitPriority is a free data retrieval call binding the contract method 0x4cf307db.
Solidity: function getStandardExitPriority(_exitId uint192, _outputId uint256) constant returns(uint256)
func (*RootchainSession) HasToken ¶
func (_Rootchain *RootchainSession) HasToken(_token common.Address) (bool, error)
HasToken is a free data retrieval call binding the contract method 0x9bb0f599.
Solidity: function hasToken(_token address) constant returns(bool)
func (*RootchainSession) InFlightExitBond ¶
func (_Rootchain *RootchainSession) InFlightExitBond() (*big.Int, error)
InFlightExitBond is a free data retrieval call binding the contract method 0xb55dfc08.
Solidity: function inFlightExitBond() constant returns(uint256)
func (*RootchainSession) InFlightExits ¶
func (_Rootchain *RootchainSession) InFlightExits(arg0 *big.Int) (struct { ExitStartTimestamp *big.Int ExitMap *big.Int BondOwner common.Address OldestCompetitor *big.Int }, error)
InFlightExits is a free data retrieval call binding the contract method 0x17a10af3.
Solidity: function inFlightExits( uint192) constant returns(exitStartTimestamp uint256, exitMap uint256, bondOwner address, oldestCompetitor uint256)
func (*RootchainSession) Init ¶
func (_Rootchain *RootchainSession) Init() (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0xe1c7392a.
Solidity: function init() returns()
func (*RootchainSession) InitOperator ¶
func (_Rootchain *RootchainSession) InitOperator() (*types.Transaction, error)
InitOperator is a paid mutator transaction binding the contract method 0x2cc5034f.
Solidity: function _initOperator() returns()
func (*RootchainSession) IsMature ¶
func (_Rootchain *RootchainSession) IsMature(exitableTimestamp uint64) (bool, error)
IsMature is a free data retrieval call binding the contract method 0x52817086.
Solidity: function isMature(exitableTimestamp uint64) constant returns(bool)
func (*RootchainSession) MINEXITPERIOD ¶
func (_Rootchain *RootchainSession) MINEXITPERIOD() (*big.Int, error)
MINEXITPERIOD is a free data retrieval call binding the contract method 0xdf49c648.
Solidity: function MIN_EXIT_PERIOD() constant returns(uint256)
func (*RootchainSession) MarkInFlight ¶
MarkInFlight is a free data retrieval call binding the contract method 0xdb48110f.
Solidity: function markInFlight(priority uint256) constant returns(uint256)
func (*RootchainSession) MarkStandard ¶
MarkStandard is a free data retrieval call binding the contract method 0xc0158b86.
Solidity: function markStandard(priority uint256) constant returns(uint256)
func (*RootchainSession) NextChildBlock ¶
func (_Rootchain *RootchainSession) NextChildBlock() (*big.Int, error)
NextChildBlock is a free data retrieval call binding the contract method 0x4ca8714f.
Solidity: function nextChildBlock() constant returns(uint256)
func (*RootchainSession) NextDepositBlock ¶
func (_Rootchain *RootchainSession) NextDepositBlock() (*big.Int, error)
NextDepositBlock is a free data retrieval call binding the contract method 0x8701fc5d.
Solidity: function nextDepositBlock() constant returns(uint256)
func (*RootchainSession) NextFeeExit ¶
func (_Rootchain *RootchainSession) NextFeeExit() (*big.Int, error)
NextFeeExit is a free data retrieval call binding the contract method 0x03f3536e.
Solidity: function nextFeeExit() constant returns(uint256)
func (*RootchainSession) Operator ¶
func (_Rootchain *RootchainSession) Operator() (common.Address, error)
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() constant returns(address)
func (*RootchainSession) PiggybackBond ¶
func (_Rootchain *RootchainSession) PiggybackBond() (*big.Int, error)
PiggybackBond is a free data retrieval call binding the contract method 0x45ab91e2.
Solidity: function piggybackBond() constant returns(uint256)
func (*RootchainSession) PiggybackInFlightExit ¶
func (_Rootchain *RootchainSession) PiggybackInFlightExit(_inFlightTx []byte, _outputIndex uint8) (*types.Transaction, error)
PiggybackInFlightExit is a paid mutator transaction binding the contract method 0x750b05ac.
Solidity: function piggybackInFlightExit(_inFlightTx bytes, _outputIndex uint8) returns()
func (*RootchainSession) ProcessExits ¶
func (_Rootchain *RootchainSession) ProcessExits(_token common.Address, _topUtxoPos *big.Int, _exitsToProcess *big.Int) (*types.Transaction, error)
ProcessExits is a paid mutator transaction binding the contract method 0x90d45ef5.
Solidity: function processExits(_token address, _topUtxoPos uint256, _exitsToProcess uint256) returns()
func (*RootchainSession) RespondToNonCanonicalChallenge ¶
func (_Rootchain *RootchainSession) RespondToNonCanonicalChallenge(_inFlightTx []byte, _inFlightTxPos *big.Int, _inFlightTxInclusionProof []byte) (*types.Transaction, error)
RespondToNonCanonicalChallenge is a paid mutator transaction binding the contract method 0x36660de4.
Solidity: function respondToNonCanonicalChallenge(_inFlightTx bytes, _inFlightTxPos uint256, _inFlightTxInclusionProof bytes) returns()
func (*RootchainSession) SetFlag ¶
SetFlag is a free data retrieval call binding the contract method 0xd40c79f0.
Solidity: function setFlag(_value uint256) constant returns(uint256)
func (*RootchainSession) StandardExitBond ¶
func (_Rootchain *RootchainSession) StandardExitBond() (*big.Int, error)
StandardExitBond is a free data retrieval call binding the contract method 0x97ecc2eb.
Solidity: function standardExitBond() constant returns(uint256)
func (*RootchainSession) StartFeeExit ¶
func (_Rootchain *RootchainSession) StartFeeExit(_token common.Address, _amount *big.Int) (*types.Transaction, error)
StartFeeExit is a paid mutator transaction binding the contract method 0x40b8d53a.
Solidity: function startFeeExit(_token address, _amount uint256) returns()
func (*RootchainSession) StartInFlightExit ¶
func (_Rootchain *RootchainSession) StartInFlightExit(_inFlightTx []byte, _inputTxs []byte, _inputTxsInclusionProofs []byte, _inFlightTxSigs []byte) (*types.Transaction, error)
StartInFlightExit is a paid mutator transaction binding the contract method 0x84612195.
Solidity: function startInFlightExit(_inFlightTx bytes, _inputTxs bytes, _inputTxsInclusionProofs bytes, _inFlightTxSigs bytes) returns()
func (*RootchainSession) StartStandardExit ¶
func (_Rootchain *RootchainSession) StartStandardExit(_outputId *big.Int, _outputTx []byte, _outputTxInclusionProof []byte) (*types.Transaction, error)
StartStandardExit is a paid mutator transaction binding the contract method 0xa86e0efb.
Solidity: function startStandardExit(_outputId uint192, _outputTx bytes, _outputTxInclusionProof bytes) returns()
func (*RootchainSession) SubmitBlock ¶
func (_Rootchain *RootchainSession) SubmitBlock(_blockRoot [32]byte) (*types.Transaction, error)
SubmitBlock is a paid mutator transaction binding the contract method 0xbaa47694.
Solidity: function submitBlock(_blockRoot bytes32) returns()
type RootchainTokenAdded ¶
type RootchainTokenAdded struct { Token common.Address Raw types.Log // Blockchain specific contextual infos }
RootchainTokenAdded represents a TokenAdded event raised by the Rootchain contract.
type RootchainTokenAddedIterator ¶
type RootchainTokenAddedIterator struct { Event *RootchainTokenAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RootchainTokenAddedIterator is returned from FilterTokenAdded and is used to iterate over the raw logs and unpacked data for TokenAdded events raised by the Rootchain contract.
func (*RootchainTokenAddedIterator) Close ¶
func (it *RootchainTokenAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RootchainTokenAddedIterator) Error ¶
func (it *RootchainTokenAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RootchainTokenAddedIterator) Next ¶
func (it *RootchainTokenAddedIterator) 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 RootchainTransactor ¶
type RootchainTransactor struct {
// contains filtered or unexported fields
}
RootchainTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewRootchainTransactor ¶
func NewRootchainTransactor(address common.Address, transactor bind.ContractTransactor) (*RootchainTransactor, error)
NewRootchainTransactor creates a new write-only instance of Rootchain, bound to a specific deployed contract.
func (*RootchainTransactor) AddToken ¶
func (_Rootchain *RootchainTransactor) AddToken(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)
AddToken is a paid mutator transaction binding the contract method 0xd48bfca7.
Solidity: function addToken(_token address) returns()
func (*RootchainTransactor) ChallengeInFlightExitInputSpent ¶
func (_Rootchain *RootchainTransactor) ChallengeInFlightExitInputSpent(opts *bind.TransactOpts, _inFlightTx []byte, _inFlightTxInputIndex uint8, _spendingTx []byte, _spendingTxInputIndex uint8, _spendingTxSig []byte) (*types.Transaction, error)
ChallengeInFlightExitInputSpent is a paid mutator transaction binding the contract method 0x40823bb7.
Solidity: function challengeInFlightExitInputSpent(_inFlightTx bytes, _inFlightTxInputIndex uint8, _spendingTx bytes, _spendingTxInputIndex uint8, _spendingTxSig bytes) returns()
func (*RootchainTransactor) ChallengeInFlightExitNotCanonical ¶
func (_Rootchain *RootchainTransactor) ChallengeInFlightExitNotCanonical(opts *bind.TransactOpts, _inFlightTx []byte, _inFlightTxInputIndex uint8, _competingTx []byte, _competingTxInputIndex uint8, _competingTxId *big.Int, _competingTxInclusionProof []byte, _competingTxSig []byte) (*types.Transaction, error)
ChallengeInFlightExitNotCanonical is a paid mutator transaction binding the contract method 0x4ffa32cf.
Solidity: function challengeInFlightExitNotCanonical(_inFlightTx bytes, _inFlightTxInputIndex uint8, _competingTx bytes, _competingTxInputIndex uint8, _competingTxId uint256, _competingTxInclusionProof bytes, _competingTxSig bytes) returns()
func (*RootchainTransactor) ChallengeInFlightExitOutputSpent ¶
func (_Rootchain *RootchainTransactor) ChallengeInFlightExitOutputSpent(opts *bind.TransactOpts, _inFlightTx []byte, _inFlightTxOutputId *big.Int, _inFlightTxInclusionProof []byte, _spendingTx []byte, _spendingTxInputIndex *big.Int, _spendingTxSig []byte) (*types.Transaction, error)
ChallengeInFlightExitOutputSpent is a paid mutator transaction binding the contract method 0x6c5bada0.
Solidity: function challengeInFlightExitOutputSpent(_inFlightTx bytes, _inFlightTxOutputId uint256, _inFlightTxInclusionProof bytes, _spendingTx bytes, _spendingTxInputIndex uint256, _spendingTxSig bytes) returns()
func (*RootchainTransactor) ChallengeStandardExit ¶
func (_Rootchain *RootchainTransactor) ChallengeStandardExit(opts *bind.TransactOpts, _outputId *big.Int, _challengeTx []byte, _inputIndex uint8, _challengeTxSig []byte) (*types.Transaction, error)
ChallengeStandardExit is a paid mutator transaction binding the contract method 0xe5d99629.
Solidity: function challengeStandardExit(_outputId uint192, _challengeTx bytes, _inputIndex uint8, _challengeTxSig bytes) returns()
func (*RootchainTransactor) Deposit ¶
func (_Rootchain *RootchainTransactor) Deposit(opts *bind.TransactOpts, _depositTx []byte) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x98b1e06a.
Solidity: function deposit(_depositTx bytes) returns()
func (*RootchainTransactor) DepositFrom ¶
func (_Rootchain *RootchainTransactor) DepositFrom(opts *bind.TransactOpts, _depositTx []byte) (*types.Transaction, error)
DepositFrom is a paid mutator transaction binding the contract method 0xf8cbd6d2.
Solidity: function depositFrom(_depositTx bytes) returns()
func (*RootchainTransactor) Init ¶
func (_Rootchain *RootchainTransactor) Init(opts *bind.TransactOpts) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0xe1c7392a.
Solidity: function init() returns()
func (*RootchainTransactor) InitOperator ¶
func (_Rootchain *RootchainTransactor) InitOperator(opts *bind.TransactOpts) (*types.Transaction, error)
InitOperator is a paid mutator transaction binding the contract method 0x2cc5034f.
Solidity: function _initOperator() returns()
func (*RootchainTransactor) PiggybackInFlightExit ¶
func (_Rootchain *RootchainTransactor) PiggybackInFlightExit(opts *bind.TransactOpts, _inFlightTx []byte, _outputIndex uint8) (*types.Transaction, error)
PiggybackInFlightExit is a paid mutator transaction binding the contract method 0x750b05ac.
Solidity: function piggybackInFlightExit(_inFlightTx bytes, _outputIndex uint8) returns()
func (*RootchainTransactor) ProcessExits ¶
func (_Rootchain *RootchainTransactor) ProcessExits(opts *bind.TransactOpts, _token common.Address, _topUtxoPos *big.Int, _exitsToProcess *big.Int) (*types.Transaction, error)
ProcessExits is a paid mutator transaction binding the contract method 0x90d45ef5.
Solidity: function processExits(_token address, _topUtxoPos uint256, _exitsToProcess uint256) returns()
func (*RootchainTransactor) RespondToNonCanonicalChallenge ¶
func (_Rootchain *RootchainTransactor) RespondToNonCanonicalChallenge(opts *bind.TransactOpts, _inFlightTx []byte, _inFlightTxPos *big.Int, _inFlightTxInclusionProof []byte) (*types.Transaction, error)
RespondToNonCanonicalChallenge is a paid mutator transaction binding the contract method 0x36660de4.
Solidity: function respondToNonCanonicalChallenge(_inFlightTx bytes, _inFlightTxPos uint256, _inFlightTxInclusionProof bytes) returns()
func (*RootchainTransactor) StartFeeExit ¶
func (_Rootchain *RootchainTransactor) StartFeeExit(opts *bind.TransactOpts, _token common.Address, _amount *big.Int) (*types.Transaction, error)
StartFeeExit is a paid mutator transaction binding the contract method 0x40b8d53a.
Solidity: function startFeeExit(_token address, _amount uint256) returns()
func (*RootchainTransactor) StartInFlightExit ¶
func (_Rootchain *RootchainTransactor) StartInFlightExit(opts *bind.TransactOpts, _inFlightTx []byte, _inputTxs []byte, _inputTxsInclusionProofs []byte, _inFlightTxSigs []byte) (*types.Transaction, error)
StartInFlightExit is a paid mutator transaction binding the contract method 0x84612195.
Solidity: function startInFlightExit(_inFlightTx bytes, _inputTxs bytes, _inputTxsInclusionProofs bytes, _inFlightTxSigs bytes) returns()
func (*RootchainTransactor) StartStandardExit ¶
func (_Rootchain *RootchainTransactor) StartStandardExit(opts *bind.TransactOpts, _outputId *big.Int, _outputTx []byte, _outputTxInclusionProof []byte) (*types.Transaction, error)
StartStandardExit is a paid mutator transaction binding the contract method 0xa86e0efb.
Solidity: function startStandardExit(_outputId uint192, _outputTx bytes, _outputTxInclusionProof bytes) returns()
func (*RootchainTransactor) SubmitBlock ¶
func (_Rootchain *RootchainTransactor) SubmitBlock(opts *bind.TransactOpts, _blockRoot [32]byte) (*types.Transaction, error)
SubmitBlock is a paid mutator transaction binding the contract method 0xbaa47694.
Solidity: function submitBlock(_blockRoot bytes32) returns()
type RootchainTransactorRaw ¶
type RootchainTransactorRaw struct {
Contract *RootchainTransactor // Generic write-only contract binding to access the raw methods on
}
RootchainTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*RootchainTransactorRaw) Transact ¶
func (_Rootchain *RootchainTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RootchainTransactorRaw) Transfer ¶
func (_Rootchain *RootchainTransactorRaw) 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 RootchainTransactorSession ¶
type RootchainTransactorSession struct { Contract *RootchainTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
RootchainTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*RootchainTransactorSession) AddToken ¶
func (_Rootchain *RootchainTransactorSession) AddToken(_token common.Address) (*types.Transaction, error)
AddToken is a paid mutator transaction binding the contract method 0xd48bfca7.
Solidity: function addToken(_token address) returns()
func (*RootchainTransactorSession) ChallengeInFlightExitInputSpent ¶
func (_Rootchain *RootchainTransactorSession) ChallengeInFlightExitInputSpent(_inFlightTx []byte, _inFlightTxInputIndex uint8, _spendingTx []byte, _spendingTxInputIndex uint8, _spendingTxSig []byte) (*types.Transaction, error)
ChallengeInFlightExitInputSpent is a paid mutator transaction binding the contract method 0x40823bb7.
Solidity: function challengeInFlightExitInputSpent(_inFlightTx bytes, _inFlightTxInputIndex uint8, _spendingTx bytes, _spendingTxInputIndex uint8, _spendingTxSig bytes) returns()
func (*RootchainTransactorSession) ChallengeInFlightExitNotCanonical ¶
func (_Rootchain *RootchainTransactorSession) ChallengeInFlightExitNotCanonical(_inFlightTx []byte, _inFlightTxInputIndex uint8, _competingTx []byte, _competingTxInputIndex uint8, _competingTxId *big.Int, _competingTxInclusionProof []byte, _competingTxSig []byte) (*types.Transaction, error)
ChallengeInFlightExitNotCanonical is a paid mutator transaction binding the contract method 0x4ffa32cf.
Solidity: function challengeInFlightExitNotCanonical(_inFlightTx bytes, _inFlightTxInputIndex uint8, _competingTx bytes, _competingTxInputIndex uint8, _competingTxId uint256, _competingTxInclusionProof bytes, _competingTxSig bytes) returns()
func (*RootchainTransactorSession) ChallengeInFlightExitOutputSpent ¶
func (_Rootchain *RootchainTransactorSession) ChallengeInFlightExitOutputSpent(_inFlightTx []byte, _inFlightTxOutputId *big.Int, _inFlightTxInclusionProof []byte, _spendingTx []byte, _spendingTxInputIndex *big.Int, _spendingTxSig []byte) (*types.Transaction, error)
ChallengeInFlightExitOutputSpent is a paid mutator transaction binding the contract method 0x6c5bada0.
Solidity: function challengeInFlightExitOutputSpent(_inFlightTx bytes, _inFlightTxOutputId uint256, _inFlightTxInclusionProof bytes, _spendingTx bytes, _spendingTxInputIndex uint256, _spendingTxSig bytes) returns()
func (*RootchainTransactorSession) ChallengeStandardExit ¶
func (_Rootchain *RootchainTransactorSession) ChallengeStandardExit(_outputId *big.Int, _challengeTx []byte, _inputIndex uint8, _challengeTxSig []byte) (*types.Transaction, error)
ChallengeStandardExit is a paid mutator transaction binding the contract method 0xe5d99629.
Solidity: function challengeStandardExit(_outputId uint192, _challengeTx bytes, _inputIndex uint8, _challengeTxSig bytes) returns()
func (*RootchainTransactorSession) Deposit ¶
func (_Rootchain *RootchainTransactorSession) Deposit(_depositTx []byte) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x98b1e06a.
Solidity: function deposit(_depositTx bytes) returns()
func (*RootchainTransactorSession) DepositFrom ¶
func (_Rootchain *RootchainTransactorSession) DepositFrom(_depositTx []byte) (*types.Transaction, error)
DepositFrom is a paid mutator transaction binding the contract method 0xf8cbd6d2.
Solidity: function depositFrom(_depositTx bytes) returns()
func (*RootchainTransactorSession) Init ¶
func (_Rootchain *RootchainTransactorSession) Init() (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0xe1c7392a.
Solidity: function init() returns()
func (*RootchainTransactorSession) InitOperator ¶
func (_Rootchain *RootchainTransactorSession) InitOperator() (*types.Transaction, error)
InitOperator is a paid mutator transaction binding the contract method 0x2cc5034f.
Solidity: function _initOperator() returns()
func (*RootchainTransactorSession) PiggybackInFlightExit ¶
func (_Rootchain *RootchainTransactorSession) PiggybackInFlightExit(_inFlightTx []byte, _outputIndex uint8) (*types.Transaction, error)
PiggybackInFlightExit is a paid mutator transaction binding the contract method 0x750b05ac.
Solidity: function piggybackInFlightExit(_inFlightTx bytes, _outputIndex uint8) returns()
func (*RootchainTransactorSession) ProcessExits ¶
func (_Rootchain *RootchainTransactorSession) ProcessExits(_token common.Address, _topUtxoPos *big.Int, _exitsToProcess *big.Int) (*types.Transaction, error)
ProcessExits is a paid mutator transaction binding the contract method 0x90d45ef5.
Solidity: function processExits(_token address, _topUtxoPos uint256, _exitsToProcess uint256) returns()
func (*RootchainTransactorSession) RespondToNonCanonicalChallenge ¶
func (_Rootchain *RootchainTransactorSession) RespondToNonCanonicalChallenge(_inFlightTx []byte, _inFlightTxPos *big.Int, _inFlightTxInclusionProof []byte) (*types.Transaction, error)
RespondToNonCanonicalChallenge is a paid mutator transaction binding the contract method 0x36660de4.
Solidity: function respondToNonCanonicalChallenge(_inFlightTx bytes, _inFlightTxPos uint256, _inFlightTxInclusionProof bytes) returns()
func (*RootchainTransactorSession) StartFeeExit ¶
func (_Rootchain *RootchainTransactorSession) StartFeeExit(_token common.Address, _amount *big.Int) (*types.Transaction, error)
StartFeeExit is a paid mutator transaction binding the contract method 0x40b8d53a.
Solidity: function startFeeExit(_token address, _amount uint256) returns()
func (*RootchainTransactorSession) StartInFlightExit ¶
func (_Rootchain *RootchainTransactorSession) StartInFlightExit(_inFlightTx []byte, _inputTxs []byte, _inputTxsInclusionProofs []byte, _inFlightTxSigs []byte) (*types.Transaction, error)
StartInFlightExit is a paid mutator transaction binding the contract method 0x84612195.
Solidity: function startInFlightExit(_inFlightTx bytes, _inputTxs bytes, _inputTxsInclusionProofs bytes, _inFlightTxSigs bytes) returns()
func (*RootchainTransactorSession) StartStandardExit ¶
func (_Rootchain *RootchainTransactorSession) StartStandardExit(_outputId *big.Int, _outputTx []byte, _outputTxInclusionProof []byte) (*types.Transaction, error)
StartStandardExit is a paid mutator transaction binding the contract method 0xa86e0efb.
Solidity: function startStandardExit(_outputId uint192, _outputTx bytes, _outputTxInclusionProof bytes) returns()
func (*RootchainTransactorSession) SubmitBlock ¶
func (_Rootchain *RootchainTransactorSession) SubmitBlock(_blockRoot [32]byte) (*types.Transaction, error)
SubmitBlock is a paid mutator transaction binding the contract method 0xbaa47694.
Solidity: function submitBlock(_blockRoot bytes32) returns()