Documentation ¶
Index ¶
- Constants
- type RootChain
- type RootChainCaller
- func (_RootChain *RootChainCaller) Balances(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- func (_RootChain *RootChainCaller) CheckMembership(opts *bind.CallOpts, txHash [32]byte, root [32]byte, slot uint64, proof []byte) (bool, error)
- func (_RootChain *RootChainCaller) ChildBlockInterval(opts *bind.CallOpts) (*big.Int, error)
- func (_RootChain *RootChainCaller) ChildChain(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_RootChain *RootChainCaller) CurrentBlock(opts *bind.CallOpts) (*big.Int, error)
- func (_RootChain *RootChainCaller) GetBlockRoot(opts *bind.CallOpts, blockNumber *big.Int) ([32]byte, error)
- func (_RootChain *RootChainCaller) GetChallenge(opts *bind.CallOpts, slot uint64, txHash [32]byte) (common.Address, common.Address, [32]byte, *big.Int, error)
- func (_RootChain *RootChainCaller) GetExit(opts *bind.CallOpts, slot uint64) (common.Address, *big.Int, *big.Int, uint8, *big.Int, error)
- func (_RootChain *RootChainCaller) GetPlasmaCoin(opts *bind.CallOpts, slot uint64) (*big.Int, *big.Int, *big.Int, common.Address, uint8, uint8, common.Address, ...)
- func (_RootChain *RootChainCaller) NumCoins(opts *bind.CallOpts) (uint64, error)
- type RootChainCallerRaw
- type RootChainCallerSession
- func (_RootChain *RootChainCallerSession) Balances(arg0 common.Address) (struct{ ... }, error)
- func (_RootChain *RootChainCallerSession) CheckMembership(txHash [32]byte, root [32]byte, slot uint64, proof []byte) (bool, error)
- func (_RootChain *RootChainCallerSession) ChildBlockInterval() (*big.Int, error)
- func (_RootChain *RootChainCallerSession) ChildChain(arg0 *big.Int) (struct{ ... }, error)
- func (_RootChain *RootChainCallerSession) CurrentBlock() (*big.Int, error)
- func (_RootChain *RootChainCallerSession) GetBlockRoot(blockNumber *big.Int) ([32]byte, error)
- func (_RootChain *RootChainCallerSession) GetChallenge(slot uint64, txHash [32]byte) (common.Address, common.Address, [32]byte, *big.Int, error)
- func (_RootChain *RootChainCallerSession) GetExit(slot uint64) (common.Address, *big.Int, *big.Int, uint8, *big.Int, error)
- func (_RootChain *RootChainCallerSession) GetPlasmaCoin(slot uint64) (*big.Int, *big.Int, *big.Int, common.Address, uint8, uint8, common.Address, ...)
- func (_RootChain *RootChainCallerSession) NumCoins() (uint64, error)
- type RootChainChallengedExit
- type RootChainChallengedExitIterator
- type RootChainCoinReset
- type RootChainCoinResetIterator
- type RootChainDeposit
- type RootChainDepositIterator
- type RootChainFilterer
- func (_RootChain *RootChainFilterer) FilterChallengedExit(opts *bind.FilterOpts, slot []uint64) (*RootChainChallengedExitIterator, error)
- func (_RootChain *RootChainFilterer) FilterCoinReset(opts *bind.FilterOpts, slot []uint64, owner []common.Address) (*RootChainCoinResetIterator, error)
- func (_RootChain *RootChainFilterer) FilterDeposit(opts *bind.FilterOpts, slot []uint64, from []common.Address, ...) (*RootChainDepositIterator, error)
- func (_RootChain *RootChainFilterer) FilterFinalizedExit(opts *bind.FilterOpts, slot []uint64) (*RootChainFinalizedExitIterator, error)
- func (_RootChain *RootChainFilterer) FilterFreedBond(opts *bind.FilterOpts, from []common.Address) (*RootChainFreedBondIterator, error)
- func (_RootChain *RootChainFilterer) FilterPaused(opts *bind.FilterOpts) (*RootChainPausedIterator, error)
- func (_RootChain *RootChainFilterer) FilterRespondedExitChallenge(opts *bind.FilterOpts, slot []uint64) (*RootChainRespondedExitChallengeIterator, error)
- func (_RootChain *RootChainFilterer) FilterSlashedBond(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*RootChainSlashedBondIterator, error)
- func (_RootChain *RootChainFilterer) FilterStartedExit(opts *bind.FilterOpts, slot []uint64, owner []common.Address) (*RootChainStartedExitIterator, error)
- func (_RootChain *RootChainFilterer) FilterSubmittedBlock(opts *bind.FilterOpts) (*RootChainSubmittedBlockIterator, error)
- func (_RootChain *RootChainFilterer) FilterWithdrew(opts *bind.FilterOpts, owner []common.Address, slot []uint64) (*RootChainWithdrewIterator, error)
- func (_RootChain *RootChainFilterer) FilterWithdrewBonds(opts *bind.FilterOpts, from []common.Address) (*RootChainWithdrewBondsIterator, error)
- func (_RootChain *RootChainFilterer) WatchChallengedExit(opts *bind.WatchOpts, sink chan<- *RootChainChallengedExit, slot []uint64) (event.Subscription, error)
- func (_RootChain *RootChainFilterer) WatchCoinReset(opts *bind.WatchOpts, sink chan<- *RootChainCoinReset, slot []uint64, ...) (event.Subscription, error)
- func (_RootChain *RootChainFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *RootChainDeposit, slot []uint64, ...) (event.Subscription, error)
- func (_RootChain *RootChainFilterer) WatchFinalizedExit(opts *bind.WatchOpts, sink chan<- *RootChainFinalizedExit, slot []uint64) (event.Subscription, error)
- func (_RootChain *RootChainFilterer) WatchFreedBond(opts *bind.WatchOpts, sink chan<- *RootChainFreedBond, from []common.Address) (event.Subscription, error)
- func (_RootChain *RootChainFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *RootChainPaused) (event.Subscription, error)
- func (_RootChain *RootChainFilterer) WatchRespondedExitChallenge(opts *bind.WatchOpts, sink chan<- *RootChainRespondedExitChallenge, ...) (event.Subscription, error)
- func (_RootChain *RootChainFilterer) WatchSlashedBond(opts *bind.WatchOpts, sink chan<- *RootChainSlashedBond, from []common.Address, ...) (event.Subscription, error)
- func (_RootChain *RootChainFilterer) WatchStartedExit(opts *bind.WatchOpts, sink chan<- *RootChainStartedExit, slot []uint64, ...) (event.Subscription, error)
- func (_RootChain *RootChainFilterer) WatchSubmittedBlock(opts *bind.WatchOpts, sink chan<- *RootChainSubmittedBlock) (event.Subscription, error)
- func (_RootChain *RootChainFilterer) WatchWithdrew(opts *bind.WatchOpts, sink chan<- *RootChainWithdrew, owner []common.Address, ...) (event.Subscription, error)
- func (_RootChain *RootChainFilterer) WatchWithdrewBonds(opts *bind.WatchOpts, sink chan<- *RootChainWithdrewBonds, ...) (event.Subscription, error)
- type RootChainFinalizedExit
- type RootChainFinalizedExitIterator
- type RootChainFreedBond
- type RootChainFreedBondIterator
- type RootChainPaused
- type RootChainPausedIterator
- 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 RootChainRespondedExitChallenge
- type RootChainRespondedExitChallengeIterator
- type RootChainSession
- func (_RootChain *RootChainSession) Balances(arg0 common.Address) (struct{ ... }, error)
- func (_RootChain *RootChainSession) CancelExit(slot uint64) (*types.Transaction, error)
- func (_RootChain *RootChainSession) CancelExits(slots []uint64) (*types.Transaction, error)
- func (_RootChain *RootChainSession) ChallengeAfter(slot uint64, challengingBlockNumber *big.Int, challengingTransaction []byte, ...) (*types.Transaction, error)
- func (_RootChain *RootChainSession) ChallengeBefore(slot uint64, txBytes []byte, txInclusionProof []byte, signature []byte, ...) (*types.Transaction, error)
- func (_RootChain *RootChainSession) ChallengeBetween(slot uint64, challengingBlockNumber *big.Int, challengingTransaction []byte, ...) (*types.Transaction, error)
- func (_RootChain *RootChainSession) CheckMembership(txHash [32]byte, root [32]byte, slot uint64, proof []byte) (bool, error)
- func (_RootChain *RootChainSession) ChildBlockInterval() (*big.Int, error)
- func (_RootChain *RootChainSession) ChildChain(arg0 *big.Int) (struct{ ... }, error)
- func (_RootChain *RootChainSession) CurrentBlock() (*big.Int, error)
- func (_RootChain *RootChainSession) DepositERC20(amount *big.Int, contractAddress common.Address) (*types.Transaction, error)
- func (_RootChain *RootChainSession) DepositERC721(uid *big.Int, contractAddress common.Address) (*types.Transaction, error)
- func (_RootChain *RootChainSession) FinalizeExit(slot uint64) (*types.Transaction, error)
- func (_RootChain *RootChainSession) FinalizeExits(slots []uint64) (*types.Transaction, error)
- func (_RootChain *RootChainSession) GetBlockRoot(blockNumber *big.Int) ([32]byte, error)
- func (_RootChain *RootChainSession) GetChallenge(slot uint64, txHash [32]byte) (common.Address, common.Address, [32]byte, *big.Int, error)
- func (_RootChain *RootChainSession) GetExit(slot uint64) (common.Address, *big.Int, *big.Int, uint8, *big.Int, error)
- func (_RootChain *RootChainSession) GetPlasmaCoin(slot uint64) (*big.Int, *big.Int, *big.Int, common.Address, uint8, uint8, common.Address, ...)
- func (_RootChain *RootChainSession) NumCoins() (uint64, error)
- func (_RootChain *RootChainSession) OnERC20Received(_from common.Address, _amount *big.Int, arg2 []byte) (*types.Transaction, error)
- func (_RootChain *RootChainSession) OnERC721Received(_from common.Address, _uid *big.Int, arg2 []byte) (*types.Transaction, error)
- func (_RootChain *RootChainSession) Pause() (*types.Transaction, error)
- func (_RootChain *RootChainSession) RespondChallengeBefore(slot uint64, challengingTxHash [32]byte, respondingBlockNumber *big.Int, ...) (*types.Transaction, error)
- func (_RootChain *RootChainSession) StartExit(slot uint64, prevTxBytes []byte, exitingTxBytes []byte, ...) (*types.Transaction, error)
- func (_RootChain *RootChainSession) SubmitBlock(blockNumber *big.Int, root [32]byte) (*types.Transaction, error)
- func (_RootChain *RootChainSession) Unpause() (*types.Transaction, error)
- func (_RootChain *RootChainSession) Withdraw(slot uint64) (*types.Transaction, error)
- func (_RootChain *RootChainSession) WithdrawBonds() (*types.Transaction, error)
- type RootChainSlashedBond
- type RootChainSlashedBondIterator
- type RootChainStartedExit
- type RootChainStartedExitIterator
- type RootChainSubmittedBlock
- type RootChainSubmittedBlockIterator
- type RootChainTransactor
- func (_RootChain *RootChainTransactor) CancelExit(opts *bind.TransactOpts, slot uint64) (*types.Transaction, error)
- func (_RootChain *RootChainTransactor) CancelExits(opts *bind.TransactOpts, slots []uint64) (*types.Transaction, error)
- func (_RootChain *RootChainTransactor) ChallengeAfter(opts *bind.TransactOpts, slot uint64, challengingBlockNumber *big.Int, ...) (*types.Transaction, error)
- func (_RootChain *RootChainTransactor) ChallengeBefore(opts *bind.TransactOpts, slot uint64, txBytes []byte, txInclusionProof []byte, ...) (*types.Transaction, error)
- func (_RootChain *RootChainTransactor) ChallengeBetween(opts *bind.TransactOpts, slot uint64, challengingBlockNumber *big.Int, ...) (*types.Transaction, error)
- func (_RootChain *RootChainTransactor) DepositERC20(opts *bind.TransactOpts, amount *big.Int, contractAddress common.Address) (*types.Transaction, error)
- func (_RootChain *RootChainTransactor) DepositERC721(opts *bind.TransactOpts, uid *big.Int, contractAddress common.Address) (*types.Transaction, error)
- func (_RootChain *RootChainTransactor) FinalizeExit(opts *bind.TransactOpts, slot uint64) (*types.Transaction, error)
- func (_RootChain *RootChainTransactor) FinalizeExits(opts *bind.TransactOpts, slots []uint64) (*types.Transaction, error)
- func (_RootChain *RootChainTransactor) OnERC20Received(opts *bind.TransactOpts, _from common.Address, _amount *big.Int, arg2 []byte) (*types.Transaction, error)
- func (_RootChain *RootChainTransactor) OnERC721Received(opts *bind.TransactOpts, _from common.Address, _uid *big.Int, arg2 []byte) (*types.Transaction, error)
- func (_RootChain *RootChainTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_RootChain *RootChainTransactor) RespondChallengeBefore(opts *bind.TransactOpts, slot uint64, challengingTxHash [32]byte, ...) (*types.Transaction, error)
- func (_RootChain *RootChainTransactor) StartExit(opts *bind.TransactOpts, slot uint64, prevTxBytes []byte, ...) (*types.Transaction, error)
- func (_RootChain *RootChainTransactor) SubmitBlock(opts *bind.TransactOpts, blockNumber *big.Int, root [32]byte) (*types.Transaction, error)
- func (_RootChain *RootChainTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_RootChain *RootChainTransactor) Withdraw(opts *bind.TransactOpts, slot uint64) (*types.Transaction, error)
- func (_RootChain *RootChainTransactor) WithdrawBonds(opts *bind.TransactOpts) (*types.Transaction, error)
- type RootChainTransactorRaw
- type RootChainTransactorSession
- func (_RootChain *RootChainTransactorSession) CancelExit(slot uint64) (*types.Transaction, error)
- func (_RootChain *RootChainTransactorSession) CancelExits(slots []uint64) (*types.Transaction, error)
- func (_RootChain *RootChainTransactorSession) ChallengeAfter(slot uint64, challengingBlockNumber *big.Int, challengingTransaction []byte, ...) (*types.Transaction, error)
- func (_RootChain *RootChainTransactorSession) ChallengeBefore(slot uint64, txBytes []byte, txInclusionProof []byte, signature []byte, ...) (*types.Transaction, error)
- func (_RootChain *RootChainTransactorSession) ChallengeBetween(slot uint64, challengingBlockNumber *big.Int, challengingTransaction []byte, ...) (*types.Transaction, error)
- func (_RootChain *RootChainTransactorSession) DepositERC20(amount *big.Int, contractAddress common.Address) (*types.Transaction, error)
- func (_RootChain *RootChainTransactorSession) DepositERC721(uid *big.Int, contractAddress common.Address) (*types.Transaction, error)
- func (_RootChain *RootChainTransactorSession) FinalizeExit(slot uint64) (*types.Transaction, error)
- func (_RootChain *RootChainTransactorSession) FinalizeExits(slots []uint64) (*types.Transaction, error)
- func (_RootChain *RootChainTransactorSession) OnERC20Received(_from common.Address, _amount *big.Int, arg2 []byte) (*types.Transaction, error)
- func (_RootChain *RootChainTransactorSession) OnERC721Received(_from common.Address, _uid *big.Int, arg2 []byte) (*types.Transaction, error)
- func (_RootChain *RootChainTransactorSession) Pause() (*types.Transaction, error)
- func (_RootChain *RootChainTransactorSession) RespondChallengeBefore(slot uint64, challengingTxHash [32]byte, respondingBlockNumber *big.Int, ...) (*types.Transaction, error)
- func (_RootChain *RootChainTransactorSession) StartExit(slot uint64, prevTxBytes []byte, exitingTxBytes []byte, ...) (*types.Transaction, error)
- func (_RootChain *RootChainTransactorSession) SubmitBlock(blockNumber *big.Int, root [32]byte) (*types.Transaction, error)
- func (_RootChain *RootChainTransactorSession) Unpause() (*types.Transaction, error)
- func (_RootChain *RootChainTransactorSession) Withdraw(slot uint64) (*types.Transaction, error)
- func (_RootChain *RootChainTransactorSession) WithdrawBonds() (*types.Transaction, error)
- type RootChainWithdrew
- type RootChainWithdrewBonds
- type RootChainWithdrewBondsIterator
- type RootChainWithdrewIterator
Constants ¶
const RootChainABI = "" /* 10751-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 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) Balances ¶
func (_RootChain *RootChainCaller) Balances(opts *bind.CallOpts, arg0 common.Address) (struct { Bonded *big.Int Withdrawable *big.Int }, error)
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances( address) constant returns(bonded uint256, withdrawable uint256)
func (*RootChainCaller) CheckMembership ¶
func (_RootChain *RootChainCaller) CheckMembership(opts *bind.CallOpts, txHash [32]byte, root [32]byte, slot uint64, proof []byte) (bool, error)
CheckMembership is a free data retrieval call binding the contract method 0xf586df65.
Solidity: function checkMembership(txHash bytes32, root bytes32, slot uint64, proof bytes) constant returns(bool)
func (*RootChainCaller) ChildBlockInterval ¶
ChildBlockInterval is a free data retrieval call binding the contract method 0x38a9e0bc.
Solidity: function childBlockInterval() constant returns(uint256)
func (*RootChainCaller) ChildChain ¶
func (_RootChain *RootChainCaller) ChildChain(opts *bind.CallOpts, arg0 *big.Int) (struct { Root [32]byte CreatedAt *big.Int }, error)
ChildChain is a free data retrieval call binding the contract method 0xf95643b1.
Solidity: function childChain( uint256) constant returns(root bytes32, createdAt uint256)
func (*RootChainCaller) CurrentBlock ¶
CurrentBlock is a free data retrieval call binding the contract method 0xe12ed13c.
Solidity: function currentBlock() constant returns(uint256)
func (*RootChainCaller) GetBlockRoot ¶
func (_RootChain *RootChainCaller) GetBlockRoot(opts *bind.CallOpts, blockNumber *big.Int) ([32]byte, error)
GetBlockRoot is a free data retrieval call binding the contract method 0xe41a5d17.
Solidity: function getBlockRoot(blockNumber uint256) constant returns(root bytes32)
func (*RootChainCaller) GetChallenge ¶
func (_RootChain *RootChainCaller) GetChallenge(opts *bind.CallOpts, slot uint64, txHash [32]byte) (common.Address, common.Address, [32]byte, *big.Int, error)
GetChallenge is a free data retrieval call binding the contract method 0x81686e6b.
Solidity: function getChallenge(slot uint64, txHash bytes32) constant returns(address, address, bytes32, uint256)
func (*RootChainCaller) GetExit ¶
func (_RootChain *RootChainCaller) GetExit(opts *bind.CallOpts, slot uint64) (common.Address, *big.Int, *big.Int, uint8, *big.Int, error)
GetExit is a free data retrieval call binding the contract method 0xd157796e.
Solidity: function getExit(slot uint64) constant returns(address, uint256, uint256, uint8, uint256)
func (*RootChainCaller) GetPlasmaCoin ¶
func (_RootChain *RootChainCaller) GetPlasmaCoin(opts *bind.CallOpts, slot uint64) (*big.Int, *big.Int, *big.Int, common.Address, uint8, uint8, common.Address, error)
GetPlasmaCoin is a free data retrieval call binding the contract method 0xf8353cf0.
Solidity: function getPlasmaCoin(slot uint64) constant returns(uint256, uint256, uint256, address, uint8, uint8, address)
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) Balances ¶
func (_RootChain *RootChainCallerSession) Balances(arg0 common.Address) (struct { Bonded *big.Int Withdrawable *big.Int }, error)
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances( address) constant returns(bonded uint256, withdrawable uint256)
func (*RootChainCallerSession) CheckMembership ¶
func (_RootChain *RootChainCallerSession) CheckMembership(txHash [32]byte, root [32]byte, slot uint64, proof []byte) (bool, error)
CheckMembership is a free data retrieval call binding the contract method 0xf586df65.
Solidity: function checkMembership(txHash bytes32, root bytes32, slot uint64, proof bytes) constant returns(bool)
func (*RootChainCallerSession) ChildBlockInterval ¶
func (_RootChain *RootChainCallerSession) ChildBlockInterval() (*big.Int, error)
ChildBlockInterval is a free data retrieval call binding the contract method 0x38a9e0bc.
Solidity: function childBlockInterval() constant returns(uint256)
func (*RootChainCallerSession) ChildChain ¶
func (_RootChain *RootChainCallerSession) ChildChain(arg0 *big.Int) (struct { Root [32]byte CreatedAt *big.Int }, error)
ChildChain is a free data retrieval call binding the contract method 0xf95643b1.
Solidity: function childChain( uint256) constant returns(root bytes32, createdAt uint256)
func (*RootChainCallerSession) CurrentBlock ¶
func (_RootChain *RootChainCallerSession) CurrentBlock() (*big.Int, error)
CurrentBlock is a free data retrieval call binding the contract method 0xe12ed13c.
Solidity: function currentBlock() constant returns(uint256)
func (*RootChainCallerSession) GetBlockRoot ¶
func (_RootChain *RootChainCallerSession) GetBlockRoot(blockNumber *big.Int) ([32]byte, error)
GetBlockRoot is a free data retrieval call binding the contract method 0xe41a5d17.
Solidity: function getBlockRoot(blockNumber uint256) constant returns(root bytes32)
func (*RootChainCallerSession) GetChallenge ¶
func (_RootChain *RootChainCallerSession) GetChallenge(slot uint64, txHash [32]byte) (common.Address, common.Address, [32]byte, *big.Int, error)
GetChallenge is a free data retrieval call binding the contract method 0x81686e6b.
Solidity: function getChallenge(slot uint64, txHash bytes32) constant returns(address, address, bytes32, uint256)
func (*RootChainCallerSession) GetExit ¶
func (_RootChain *RootChainCallerSession) GetExit(slot uint64) (common.Address, *big.Int, *big.Int, uint8, *big.Int, error)
GetExit is a free data retrieval call binding the contract method 0xd157796e.
Solidity: function getExit(slot uint64) constant returns(address, uint256, uint256, uint8, uint256)
func (*RootChainCallerSession) GetPlasmaCoin ¶
func (_RootChain *RootChainCallerSession) GetPlasmaCoin(slot uint64) (*big.Int, *big.Int, *big.Int, common.Address, uint8, uint8, common.Address, error)
GetPlasmaCoin is a free data retrieval call binding the contract method 0xf8353cf0.
Solidity: function getPlasmaCoin(slot uint64) constant returns(uint256, uint256, uint256, address, uint8, uint8, address)
func (*RootChainCallerSession) NumCoins ¶
func (_RootChain *RootChainCallerSession) NumCoins() (uint64, error)
NumCoins is a free data retrieval call binding the contract method 0xa9737595.
Solidity: function numCoins() constant returns(uint64)
type RootChainChallengedExit ¶
type RootChainChallengedExit struct { Slot uint64 TxHash [32]byte ChallengingBlockNumber *big.Int Raw types.Log // Blockchain specific contextual infos }
RootChainChallengedExit represents a ChallengedExit event raised by the RootChain contract.
type RootChainChallengedExitIterator ¶
type RootChainChallengedExitIterator struct { Event *RootChainChallengedExit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RootChainChallengedExitIterator is returned from FilterChallengedExit and is used to iterate over the raw logs and unpacked data for ChallengedExit events raised by the RootChain contract.
func (*RootChainChallengedExitIterator) Close ¶
func (it *RootChainChallengedExitIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RootChainChallengedExitIterator) Error ¶
func (it *RootChainChallengedExitIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RootChainChallengedExitIterator) Next ¶
func (it *RootChainChallengedExitIterator) 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 RootChainCoinReset ¶
type RootChainCoinReset struct { Slot uint64 Owner common.Address Raw types.Log // Blockchain specific contextual infos }
RootChainCoinReset represents a CoinReset event raised by the RootChain contract.
type RootChainCoinResetIterator ¶
type RootChainCoinResetIterator struct { Event *RootChainCoinReset // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RootChainCoinResetIterator is returned from FilterCoinReset and is used to iterate over the raw logs and unpacked data for CoinReset events raised by the RootChain contract.
func (*RootChainCoinResetIterator) Close ¶
func (it *RootChainCoinResetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RootChainCoinResetIterator) Error ¶
func (it *RootChainCoinResetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RootChainCoinResetIterator) Next ¶
func (it *RootChainCoinResetIterator) 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 RootChainDeposit ¶
type RootChainDeposit struct { Slot uint64 BlockNumber *big.Int Denomination *big.Int From common.Address ContractAddress common.Address Raw types.Log // Blockchain specific contextual infos }
RootChainDeposit represents a Deposit event raised by the RootChain contract.
type RootChainDepositIterator ¶
type RootChainDepositIterator struct { Event *RootChainDeposit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RootChainDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the RootChain contract.
func (*RootChainDepositIterator) Close ¶
func (it *RootChainDepositIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RootChainDepositIterator) Error ¶
func (it *RootChainDepositIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RootChainDepositIterator) Next ¶
func (it *RootChainDepositIterator) 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) FilterChallengedExit ¶
func (_RootChain *RootChainFilterer) FilterChallengedExit(opts *bind.FilterOpts, slot []uint64) (*RootChainChallengedExitIterator, error)
FilterChallengedExit is a free log retrieval operation binding the contract event 0x057d34b2360e71f2764a7189966401bc058621905c0bef7123a6bdfe9a13284b.
Solidity: e ChallengedExit(slot indexed uint64, txHash bytes32, challengingBlockNumber uint256)
func (*RootChainFilterer) FilterCoinReset ¶
func (_RootChain *RootChainFilterer) FilterCoinReset(opts *bind.FilterOpts, slot []uint64, owner []common.Address) (*RootChainCoinResetIterator, error)
FilterCoinReset is a free log retrieval operation binding the contract event 0x35cc9c4d0d9a2ce748d131382582af17dbf1f0d72167ea7906ea3f18597b31a4.
Solidity: e CoinReset(slot indexed uint64, owner indexed address)
func (*RootChainFilterer) FilterDeposit ¶
func (_RootChain *RootChainFilterer) FilterDeposit(opts *bind.FilterOpts, slot []uint64, from []common.Address, contractAddress []common.Address) (*RootChainDepositIterator, error)
FilterDeposit is a free log retrieval operation binding the contract event 0xaa231413cf2b61ec7d73eeef7c722cd8ef6ed7a76e4d9e533867281e94f9a823.
Solidity: e Deposit(slot indexed uint64, blockNumber uint256, denomination uint256, from indexed address, contractAddress indexed address)
func (*RootChainFilterer) FilterFinalizedExit ¶
func (_RootChain *RootChainFilterer) FilterFinalizedExit(opts *bind.FilterOpts, slot []uint64) (*RootChainFinalizedExitIterator, error)
FilterFinalizedExit is a free log retrieval operation binding the contract event 0x432647a5fb9bdea356d78f8e3d83b6ddc2e78b4e4a702ac7eb968f7fe03d9dda.
Solidity: e FinalizedExit(slot indexed uint64, owner address)
func (*RootChainFilterer) FilterFreedBond ¶
func (_RootChain *RootChainFilterer) FilterFreedBond(opts *bind.FilterOpts, from []common.Address) (*RootChainFreedBondIterator, error)
FilterFreedBond is a free log retrieval operation binding the contract event 0x5406cdbb33189b887da81a90c7ff307f3af1854b2504d0bde438b8bb5b7d8b52.
Solidity: e FreedBond(from indexed address, amount uint256)
func (*RootChainFilterer) FilterPaused ¶
func (_RootChain *RootChainFilterer) FilterPaused(opts *bind.FilterOpts) (*RootChainPausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x0e2fb031ee032dc02d8011dc50b816eb450cf856abd8261680dac74f72165bd2.
Solidity: e Paused(status bool)
func (*RootChainFilterer) FilterRespondedExitChallenge ¶
func (_RootChain *RootChainFilterer) FilterRespondedExitChallenge(opts *bind.FilterOpts, slot []uint64) (*RootChainRespondedExitChallengeIterator, error)
FilterRespondedExitChallenge is a free log retrieval operation binding the contract event 0x7deeb80e1644537d3ba4f917cfcbaba62b54354e9f2598d6885d52e359885e25.
Solidity: e RespondedExitChallenge(slot indexed uint64)
func (*RootChainFilterer) FilterSlashedBond ¶
func (_RootChain *RootChainFilterer) FilterSlashedBond(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*RootChainSlashedBondIterator, error)
FilterSlashedBond is a free log retrieval operation binding the contract event 0xbd6bf2f753dc1a7dee94a7abd7645adc6c228c2af17fd72d9104674cc5d21273.
Solidity: e SlashedBond(from indexed address, to indexed address, amount uint256)
func (*RootChainFilterer) FilterStartedExit ¶
func (_RootChain *RootChainFilterer) FilterStartedExit(opts *bind.FilterOpts, slot []uint64, owner []common.Address) (*RootChainStartedExitIterator, error)
FilterStartedExit is a free log retrieval operation binding the contract event 0xbaf912dedc1b0ee4647f945b0432e694bce1aa2c4e21052d9776876415874956.
Solidity: e StartedExit(slot indexed uint64, owner indexed address)
func (*RootChainFilterer) FilterSubmittedBlock ¶
func (_RootChain *RootChainFilterer) FilterSubmittedBlock(opts *bind.FilterOpts) (*RootChainSubmittedBlockIterator, error)
FilterSubmittedBlock is a free log retrieval operation binding the contract event 0x6d91cd6ccac8368394df514e6aee19a55264f5ab49a891af91ca86da27bedd4f.
Solidity: e SubmittedBlock(blockNumber uint256, root bytes32, timestamp uint256)
func (*RootChainFilterer) FilterWithdrew ¶
func (_RootChain *RootChainFilterer) FilterWithdrew(opts *bind.FilterOpts, owner []common.Address, slot []uint64) (*RootChainWithdrewIterator, error)
FilterWithdrew is a free log retrieval operation binding the contract event 0xc753e3ccb1413ef7152e8d33fd0abfb140e236ce17bf9ae40a2a6940bcb7ed7b.
Solidity: e Withdrew(owner indexed address, slot indexed uint64, mode uint8, contractAddress address, uid uint256, denomination uint256)
func (*RootChainFilterer) FilterWithdrewBonds ¶
func (_RootChain *RootChainFilterer) FilterWithdrewBonds(opts *bind.FilterOpts, from []common.Address) (*RootChainWithdrewBondsIterator, error)
FilterWithdrewBonds is a free log retrieval operation binding the contract event 0xba49a755e2e4831fb6ef34b384178b03af45679532c9ac5a2199b27b4dddea8d.
Solidity: e WithdrewBonds(from indexed address, amount uint256)
func (*RootChainFilterer) WatchChallengedExit ¶
func (_RootChain *RootChainFilterer) WatchChallengedExit(opts *bind.WatchOpts, sink chan<- *RootChainChallengedExit, slot []uint64) (event.Subscription, error)
WatchChallengedExit is a free log subscription operation binding the contract event 0x057d34b2360e71f2764a7189966401bc058621905c0bef7123a6bdfe9a13284b.
Solidity: e ChallengedExit(slot indexed uint64, txHash bytes32, challengingBlockNumber uint256)
func (*RootChainFilterer) WatchCoinReset ¶
func (_RootChain *RootChainFilterer) WatchCoinReset(opts *bind.WatchOpts, sink chan<- *RootChainCoinReset, slot []uint64, owner []common.Address) (event.Subscription, error)
WatchCoinReset is a free log subscription operation binding the contract event 0x35cc9c4d0d9a2ce748d131382582af17dbf1f0d72167ea7906ea3f18597b31a4.
Solidity: e CoinReset(slot indexed uint64, owner indexed address)
func (*RootChainFilterer) WatchDeposit ¶
func (_RootChain *RootChainFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *RootChainDeposit, slot []uint64, from []common.Address, contractAddress []common.Address) (event.Subscription, error)
WatchDeposit is a free log subscription operation binding the contract event 0xaa231413cf2b61ec7d73eeef7c722cd8ef6ed7a76e4d9e533867281e94f9a823.
Solidity: e Deposit(slot indexed uint64, blockNumber uint256, denomination uint256, from indexed address, contractAddress indexed address)
func (*RootChainFilterer) WatchFinalizedExit ¶
func (_RootChain *RootChainFilterer) WatchFinalizedExit(opts *bind.WatchOpts, sink chan<- *RootChainFinalizedExit, slot []uint64) (event.Subscription, error)
WatchFinalizedExit is a free log subscription operation binding the contract event 0x432647a5fb9bdea356d78f8e3d83b6ddc2e78b4e4a702ac7eb968f7fe03d9dda.
Solidity: e FinalizedExit(slot indexed uint64, owner address)
func (*RootChainFilterer) WatchFreedBond ¶
func (_RootChain *RootChainFilterer) WatchFreedBond(opts *bind.WatchOpts, sink chan<- *RootChainFreedBond, from []common.Address) (event.Subscription, error)
WatchFreedBond is a free log subscription operation binding the contract event 0x5406cdbb33189b887da81a90c7ff307f3af1854b2504d0bde438b8bb5b7d8b52.
Solidity: e FreedBond(from indexed address, amount uint256)
func (*RootChainFilterer) WatchPaused ¶
func (_RootChain *RootChainFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *RootChainPaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x0e2fb031ee032dc02d8011dc50b816eb450cf856abd8261680dac74f72165bd2.
Solidity: e Paused(status bool)
func (*RootChainFilterer) WatchRespondedExitChallenge ¶
func (_RootChain *RootChainFilterer) WatchRespondedExitChallenge(opts *bind.WatchOpts, sink chan<- *RootChainRespondedExitChallenge, slot []uint64) (event.Subscription, error)
WatchRespondedExitChallenge is a free log subscription operation binding the contract event 0x7deeb80e1644537d3ba4f917cfcbaba62b54354e9f2598d6885d52e359885e25.
Solidity: e RespondedExitChallenge(slot indexed uint64)
func (*RootChainFilterer) WatchSlashedBond ¶
func (_RootChain *RootChainFilterer) WatchSlashedBond(opts *bind.WatchOpts, sink chan<- *RootChainSlashedBond, from []common.Address, to []common.Address) (event.Subscription, error)
WatchSlashedBond is a free log subscription operation binding the contract event 0xbd6bf2f753dc1a7dee94a7abd7645adc6c228c2af17fd72d9104674cc5d21273.
Solidity: e SlashedBond(from indexed address, to indexed address, amount uint256)
func (*RootChainFilterer) WatchStartedExit ¶
func (_RootChain *RootChainFilterer) WatchStartedExit(opts *bind.WatchOpts, sink chan<- *RootChainStartedExit, slot []uint64, owner []common.Address) (event.Subscription, error)
WatchStartedExit is a free log subscription operation binding the contract event 0xbaf912dedc1b0ee4647f945b0432e694bce1aa2c4e21052d9776876415874956.
Solidity: e StartedExit(slot indexed uint64, owner indexed address)
func (*RootChainFilterer) WatchSubmittedBlock ¶
func (_RootChain *RootChainFilterer) WatchSubmittedBlock(opts *bind.WatchOpts, sink chan<- *RootChainSubmittedBlock) (event.Subscription, error)
WatchSubmittedBlock is a free log subscription operation binding the contract event 0x6d91cd6ccac8368394df514e6aee19a55264f5ab49a891af91ca86da27bedd4f.
Solidity: e SubmittedBlock(blockNumber uint256, root bytes32, timestamp uint256)
func (*RootChainFilterer) WatchWithdrew ¶
func (_RootChain *RootChainFilterer) WatchWithdrew(opts *bind.WatchOpts, sink chan<- *RootChainWithdrew, owner []common.Address, slot []uint64) (event.Subscription, error)
WatchWithdrew is a free log subscription operation binding the contract event 0xc753e3ccb1413ef7152e8d33fd0abfb140e236ce17bf9ae40a2a6940bcb7ed7b.
Solidity: e Withdrew(owner indexed address, slot indexed uint64, mode uint8, contractAddress address, uid uint256, denomination uint256)
func (*RootChainFilterer) WatchWithdrewBonds ¶
func (_RootChain *RootChainFilterer) WatchWithdrewBonds(opts *bind.WatchOpts, sink chan<- *RootChainWithdrewBonds, from []common.Address) (event.Subscription, error)
WatchWithdrewBonds is a free log subscription operation binding the contract event 0xba49a755e2e4831fb6ef34b384178b03af45679532c9ac5a2199b27b4dddea8d.
Solidity: e WithdrewBonds(from indexed address, amount uint256)
type RootChainFinalizedExit ¶
type RootChainFinalizedExit struct { Slot uint64 Owner common.Address Raw types.Log // Blockchain specific contextual infos }
RootChainFinalizedExit represents a FinalizedExit event raised by the RootChain contract.
type RootChainFinalizedExitIterator ¶
type RootChainFinalizedExitIterator struct { Event *RootChainFinalizedExit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RootChainFinalizedExitIterator is returned from FilterFinalizedExit and is used to iterate over the raw logs and unpacked data for FinalizedExit events raised by the RootChain contract.
func (*RootChainFinalizedExitIterator) Close ¶
func (it *RootChainFinalizedExitIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RootChainFinalizedExitIterator) Error ¶
func (it *RootChainFinalizedExitIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RootChainFinalizedExitIterator) Next ¶
func (it *RootChainFinalizedExitIterator) 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 RootChainFreedBond ¶
type RootChainFreedBond struct { From common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
RootChainFreedBond represents a FreedBond event raised by the RootChain contract.
type RootChainFreedBondIterator ¶
type RootChainFreedBondIterator struct { Event *RootChainFreedBond // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RootChainFreedBondIterator is returned from FilterFreedBond and is used to iterate over the raw logs and unpacked data for FreedBond events raised by the RootChain contract.
func (*RootChainFreedBondIterator) Close ¶
func (it *RootChainFreedBondIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RootChainFreedBondIterator) Error ¶
func (it *RootChainFreedBondIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RootChainFreedBondIterator) Next ¶
func (it *RootChainFreedBondIterator) 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 RootChainPaused ¶
RootChainPaused represents a Paused event raised by the RootChain contract.
type RootChainPausedIterator ¶
type RootChainPausedIterator struct { Event *RootChainPaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RootChainPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the RootChain contract.
func (*RootChainPausedIterator) Close ¶
func (it *RootChainPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RootChainPausedIterator) Error ¶
func (it *RootChainPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RootChainPausedIterator) Next ¶
func (it *RootChainPausedIterator) 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 RootChainRespondedExitChallenge ¶
type RootChainRespondedExitChallenge struct { Slot uint64 Raw types.Log // Blockchain specific contextual infos }
RootChainRespondedExitChallenge represents a RespondedExitChallenge event raised by the RootChain contract.
type RootChainRespondedExitChallengeIterator ¶
type RootChainRespondedExitChallengeIterator struct { Event *RootChainRespondedExitChallenge // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RootChainRespondedExitChallengeIterator is returned from FilterRespondedExitChallenge and is used to iterate over the raw logs and unpacked data for RespondedExitChallenge events raised by the RootChain contract.
func (*RootChainRespondedExitChallengeIterator) Close ¶
func (it *RootChainRespondedExitChallengeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RootChainRespondedExitChallengeIterator) Error ¶
func (it *RootChainRespondedExitChallengeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RootChainRespondedExitChallengeIterator) Next ¶
func (it *RootChainRespondedExitChallengeIterator) 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 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) Balances ¶
func (_RootChain *RootChainSession) Balances(arg0 common.Address) (struct { Bonded *big.Int Withdrawable *big.Int }, error)
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances( address) constant returns(bonded uint256, withdrawable uint256)
func (*RootChainSession) CancelExit ¶
func (_RootChain *RootChainSession) CancelExit(slot uint64) (*types.Transaction, error)
CancelExit is a paid mutator transaction binding the contract method 0xcbd8da63.
Solidity: function cancelExit(slot uint64) returns()
func (*RootChainSession) CancelExits ¶
func (_RootChain *RootChainSession) CancelExits(slots []uint64) (*types.Transaction, error)
CancelExits is a paid mutator transaction binding the contract method 0xdf3b8377.
Solidity: function cancelExits(slots uint64[]) returns()
func (*RootChainSession) ChallengeAfter ¶
func (_RootChain *RootChainSession) ChallengeAfter(slot uint64, challengingBlockNumber *big.Int, challengingTransaction []byte, proof []byte, signature []byte) (*types.Transaction, error)
ChallengeAfter is a paid mutator transaction binding the contract method 0x058a6508.
Solidity: function challengeAfter(slot uint64, challengingBlockNumber uint256, challengingTransaction bytes, proof bytes, signature bytes) returns()
func (*RootChainSession) ChallengeBefore ¶
func (_RootChain *RootChainSession) ChallengeBefore(slot uint64, txBytes []byte, txInclusionProof []byte, signature []byte, blockNumber *big.Int) (*types.Transaction, error)
ChallengeBefore is a paid mutator transaction binding the contract method 0x7eb7b0f6.
Solidity: function challengeBefore(slot uint64, txBytes bytes, txInclusionProof bytes, signature bytes, blockNumber uint256) returns()
func (*RootChainSession) ChallengeBetween ¶
func (_RootChain *RootChainSession) ChallengeBetween(slot uint64, challengingBlockNumber *big.Int, challengingTransaction []byte, proof []byte, signature []byte) (*types.Transaction, error)
ChallengeBetween is a paid mutator transaction binding the contract method 0xf6d0ba1a.
Solidity: function challengeBetween(slot uint64, challengingBlockNumber uint256, challengingTransaction bytes, proof bytes, signature bytes) returns()
func (*RootChainSession) CheckMembership ¶
func (_RootChain *RootChainSession) CheckMembership(txHash [32]byte, root [32]byte, slot uint64, proof []byte) (bool, error)
CheckMembership is a free data retrieval call binding the contract method 0xf586df65.
Solidity: function checkMembership(txHash bytes32, root bytes32, slot uint64, proof bytes) constant returns(bool)
func (*RootChainSession) ChildBlockInterval ¶
func (_RootChain *RootChainSession) ChildBlockInterval() (*big.Int, error)
ChildBlockInterval is a free data retrieval call binding the contract method 0x38a9e0bc.
Solidity: function childBlockInterval() constant returns(uint256)
func (*RootChainSession) ChildChain ¶
func (_RootChain *RootChainSession) ChildChain(arg0 *big.Int) (struct { Root [32]byte CreatedAt *big.Int }, error)
ChildChain is a free data retrieval call binding the contract method 0xf95643b1.
Solidity: function childChain( uint256) constant returns(root bytes32, createdAt uint256)
func (*RootChainSession) CurrentBlock ¶
func (_RootChain *RootChainSession) CurrentBlock() (*big.Int, error)
CurrentBlock is a free data retrieval call binding the contract method 0xe12ed13c.
Solidity: function currentBlock() constant returns(uint256)
func (*RootChainSession) DepositERC20 ¶
func (_RootChain *RootChainSession) DepositERC20(amount *big.Int, contractAddress common.Address) (*types.Transaction, error)
DepositERC20 is a paid mutator transaction binding the contract method 0x392d661c.
Solidity: function depositERC20(amount uint256, contractAddress address) returns()
func (*RootChainSession) DepositERC721 ¶
func (_RootChain *RootChainSession) DepositERC721(uid *big.Int, contractAddress common.Address) (*types.Transaction, error)
DepositERC721 is a paid mutator transaction binding the contract method 0xc8ac6542.
Solidity: function depositERC721(uid uint256, contractAddress address) returns()
func (*RootChainSession) FinalizeExit ¶
func (_RootChain *RootChainSession) FinalizeExit(slot uint64) (*types.Transaction, error)
FinalizeExit is a paid mutator transaction binding the contract method 0x78417214.
Solidity: function finalizeExit(slot uint64) returns()
func (*RootChainSession) FinalizeExits ¶
func (_RootChain *RootChainSession) FinalizeExits(slots []uint64) (*types.Transaction, error)
FinalizeExits is a paid mutator transaction binding the contract method 0x74c0a56f.
Solidity: function finalizeExits(slots uint64[]) returns()
func (*RootChainSession) GetBlockRoot ¶
func (_RootChain *RootChainSession) GetBlockRoot(blockNumber *big.Int) ([32]byte, error)
GetBlockRoot is a free data retrieval call binding the contract method 0xe41a5d17.
Solidity: function getBlockRoot(blockNumber uint256) constant returns(root bytes32)
func (*RootChainSession) GetChallenge ¶
func (_RootChain *RootChainSession) GetChallenge(slot uint64, txHash [32]byte) (common.Address, common.Address, [32]byte, *big.Int, error)
GetChallenge is a free data retrieval call binding the contract method 0x81686e6b.
Solidity: function getChallenge(slot uint64, txHash bytes32) constant returns(address, address, bytes32, uint256)
func (*RootChainSession) GetExit ¶
func (_RootChain *RootChainSession) GetExit(slot uint64) (common.Address, *big.Int, *big.Int, uint8, *big.Int, error)
GetExit is a free data retrieval call binding the contract method 0xd157796e.
Solidity: function getExit(slot uint64) constant returns(address, uint256, uint256, uint8, uint256)
func (*RootChainSession) GetPlasmaCoin ¶
func (_RootChain *RootChainSession) GetPlasmaCoin(slot uint64) (*big.Int, *big.Int, *big.Int, common.Address, uint8, uint8, common.Address, error)
GetPlasmaCoin is a free data retrieval call binding the contract method 0xf8353cf0.
Solidity: function getPlasmaCoin(slot uint64) constant returns(uint256, uint256, uint256, address, uint8, uint8, address)
func (*RootChainSession) NumCoins ¶
func (_RootChain *RootChainSession) NumCoins() (uint64, error)
NumCoins is a free data retrieval call binding the contract method 0xa9737595.
Solidity: function numCoins() constant returns(uint64)
func (*RootChainSession) OnERC20Received ¶
func (_RootChain *RootChainSession) OnERC20Received(_from common.Address, _amount *big.Int, arg2 []byte) (*types.Transaction, error)
OnERC20Received is a paid mutator transaction binding the contract method 0x65d83056.
Solidity: function onERC20Received(_from address, _amount uint256, bytes) returns(bytes4)
func (*RootChainSession) OnERC721Received ¶
func (_RootChain *RootChainSession) OnERC721Received(_from common.Address, _uid *big.Int, arg2 []byte) (*types.Transaction, error)
OnERC721Received is a paid mutator transaction binding the contract method 0xf0b9e5ba.
Solidity: function onERC721Received(_from address, _uid uint256, bytes) returns(bytes4)
func (*RootChainSession) Pause ¶
func (_RootChain *RootChainSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*RootChainSession) RespondChallengeBefore ¶
func (_RootChain *RootChainSession) RespondChallengeBefore(slot uint64, challengingTxHash [32]byte, respondingBlockNumber *big.Int, respondingTransaction []byte, proof []byte, signature []byte) (*types.Transaction, error)
RespondChallengeBefore is a paid mutator transaction binding the contract method 0x4d69a8a1.
Solidity: function respondChallengeBefore(slot uint64, challengingTxHash bytes32, respondingBlockNumber uint256, respondingTransaction bytes, proof bytes, signature bytes) returns()
func (*RootChainSession) StartExit ¶
func (_RootChain *RootChainSession) StartExit(slot uint64, prevTxBytes []byte, exitingTxBytes []byte, prevTxInclusionProof []byte, exitingTxInclusionProof []byte, signature []byte, blocks [2]*big.Int) (*types.Transaction, error)
StartExit is a paid mutator transaction binding the contract method 0xe9a067c0.
Solidity: function startExit(slot uint64, prevTxBytes bytes, exitingTxBytes bytes, prevTxInclusionProof bytes, exitingTxInclusionProof bytes, signature bytes, blocks uint256[2]) returns()
func (*RootChainSession) SubmitBlock ¶
func (_RootChain *RootChainSession) SubmitBlock(blockNumber *big.Int, root [32]byte) (*types.Transaction, error)
SubmitBlock is a paid mutator transaction binding the contract method 0x149be19f.
Solidity: function submitBlock(blockNumber uint256, root bytes32) returns()
func (*RootChainSession) Unpause ¶
func (_RootChain *RootChainSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*RootChainSession) Withdraw ¶
func (_RootChain *RootChainSession) Withdraw(slot uint64) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x750f0acc.
Solidity: function withdraw(slot uint64) returns()
func (*RootChainSession) WithdrawBonds ¶
func (_RootChain *RootChainSession) WithdrawBonds() (*types.Transaction, error)
WithdrawBonds is a paid mutator transaction binding the contract method 0x1cc6ffa0.
Solidity: function withdrawBonds() returns()
type RootChainSlashedBond ¶
type RootChainSlashedBond struct { From common.Address To common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
RootChainSlashedBond represents a SlashedBond event raised by the RootChain contract.
type RootChainSlashedBondIterator ¶
type RootChainSlashedBondIterator struct { Event *RootChainSlashedBond // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RootChainSlashedBondIterator is returned from FilterSlashedBond and is used to iterate over the raw logs and unpacked data for SlashedBond events raised by the RootChain contract.
func (*RootChainSlashedBondIterator) Close ¶
func (it *RootChainSlashedBondIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RootChainSlashedBondIterator) Error ¶
func (it *RootChainSlashedBondIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RootChainSlashedBondIterator) Next ¶
func (it *RootChainSlashedBondIterator) 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 RootChainStartedExit ¶
type RootChainStartedExit struct { Slot uint64 Owner common.Address Raw types.Log // Blockchain specific contextual infos }
RootChainStartedExit represents a StartedExit event raised by the RootChain contract.
type RootChainStartedExitIterator ¶
type RootChainStartedExitIterator struct { Event *RootChainStartedExit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RootChainStartedExitIterator is returned from FilterStartedExit and is used to iterate over the raw logs and unpacked data for StartedExit events raised by the RootChain contract.
func (*RootChainStartedExitIterator) Close ¶
func (it *RootChainStartedExitIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RootChainStartedExitIterator) Error ¶
func (it *RootChainStartedExitIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RootChainStartedExitIterator) Next ¶
func (it *RootChainStartedExitIterator) 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 RootChainSubmittedBlock ¶
type RootChainSubmittedBlock struct { BlockNumber *big.Int Root [32]byte Timestamp *big.Int Raw types.Log // Blockchain specific contextual infos }
RootChainSubmittedBlock represents a SubmittedBlock event raised by the RootChain contract.
type RootChainSubmittedBlockIterator ¶
type RootChainSubmittedBlockIterator struct { Event *RootChainSubmittedBlock // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RootChainSubmittedBlockIterator is returned from FilterSubmittedBlock and is used to iterate over the raw logs and unpacked data for SubmittedBlock events raised by the RootChain contract.
func (*RootChainSubmittedBlockIterator) Close ¶
func (it *RootChainSubmittedBlockIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RootChainSubmittedBlockIterator) Error ¶
func (it *RootChainSubmittedBlockIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RootChainSubmittedBlockIterator) Next ¶
func (it *RootChainSubmittedBlockIterator) 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) CancelExit ¶
func (_RootChain *RootChainTransactor) CancelExit(opts *bind.TransactOpts, slot uint64) (*types.Transaction, error)
CancelExit is a paid mutator transaction binding the contract method 0xcbd8da63.
Solidity: function cancelExit(slot uint64) returns()
func (*RootChainTransactor) CancelExits ¶
func (_RootChain *RootChainTransactor) CancelExits(opts *bind.TransactOpts, slots []uint64) (*types.Transaction, error)
CancelExits is a paid mutator transaction binding the contract method 0xdf3b8377.
Solidity: function cancelExits(slots uint64[]) returns()
func (*RootChainTransactor) ChallengeAfter ¶
func (_RootChain *RootChainTransactor) ChallengeAfter(opts *bind.TransactOpts, slot uint64, challengingBlockNumber *big.Int, challengingTransaction []byte, proof []byte, signature []byte) (*types.Transaction, error)
ChallengeAfter is a paid mutator transaction binding the contract method 0x058a6508.
Solidity: function challengeAfter(slot uint64, challengingBlockNumber uint256, challengingTransaction bytes, proof bytes, signature bytes) returns()
func (*RootChainTransactor) ChallengeBefore ¶
func (_RootChain *RootChainTransactor) ChallengeBefore(opts *bind.TransactOpts, slot uint64, txBytes []byte, txInclusionProof []byte, signature []byte, blockNumber *big.Int) (*types.Transaction, error)
ChallengeBefore is a paid mutator transaction binding the contract method 0x7eb7b0f6.
Solidity: function challengeBefore(slot uint64, txBytes bytes, txInclusionProof bytes, signature bytes, blockNumber uint256) returns()
func (*RootChainTransactor) ChallengeBetween ¶
func (_RootChain *RootChainTransactor) ChallengeBetween(opts *bind.TransactOpts, slot uint64, challengingBlockNumber *big.Int, challengingTransaction []byte, proof []byte, signature []byte) (*types.Transaction, error)
ChallengeBetween is a paid mutator transaction binding the contract method 0xf6d0ba1a.
Solidity: function challengeBetween(slot uint64, challengingBlockNumber uint256, challengingTransaction bytes, proof bytes, signature bytes) returns()
func (*RootChainTransactor) DepositERC20 ¶
func (_RootChain *RootChainTransactor) DepositERC20(opts *bind.TransactOpts, amount *big.Int, contractAddress common.Address) (*types.Transaction, error)
DepositERC20 is a paid mutator transaction binding the contract method 0x392d661c.
Solidity: function depositERC20(amount uint256, contractAddress address) returns()
func (*RootChainTransactor) DepositERC721 ¶
func (_RootChain *RootChainTransactor) DepositERC721(opts *bind.TransactOpts, uid *big.Int, contractAddress common.Address) (*types.Transaction, error)
DepositERC721 is a paid mutator transaction binding the contract method 0xc8ac6542.
Solidity: function depositERC721(uid uint256, contractAddress address) returns()
func (*RootChainTransactor) FinalizeExit ¶
func (_RootChain *RootChainTransactor) FinalizeExit(opts *bind.TransactOpts, slot uint64) (*types.Transaction, error)
FinalizeExit is a paid mutator transaction binding the contract method 0x78417214.
Solidity: function finalizeExit(slot uint64) returns()
func (*RootChainTransactor) FinalizeExits ¶
func (_RootChain *RootChainTransactor) FinalizeExits(opts *bind.TransactOpts, slots []uint64) (*types.Transaction, error)
FinalizeExits is a paid mutator transaction binding the contract method 0x74c0a56f.
Solidity: function finalizeExits(slots uint64[]) returns()
func (*RootChainTransactor) OnERC20Received ¶
func (_RootChain *RootChainTransactor) OnERC20Received(opts *bind.TransactOpts, _from common.Address, _amount *big.Int, arg2 []byte) (*types.Transaction, error)
OnERC20Received is a paid mutator transaction binding the contract method 0x65d83056.
Solidity: function onERC20Received(_from address, _amount uint256, bytes) returns(bytes4)
func (*RootChainTransactor) OnERC721Received ¶
func (_RootChain *RootChainTransactor) OnERC721Received(opts *bind.TransactOpts, _from common.Address, _uid *big.Int, arg2 []byte) (*types.Transaction, error)
OnERC721Received is a paid mutator transaction binding the contract method 0xf0b9e5ba.
Solidity: function onERC721Received(_from address, _uid uint256, bytes) returns(bytes4)
func (*RootChainTransactor) Pause ¶
func (_RootChain *RootChainTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*RootChainTransactor) RespondChallengeBefore ¶
func (_RootChain *RootChainTransactor) RespondChallengeBefore(opts *bind.TransactOpts, slot uint64, challengingTxHash [32]byte, respondingBlockNumber *big.Int, respondingTransaction []byte, proof []byte, signature []byte) (*types.Transaction, error)
RespondChallengeBefore is a paid mutator transaction binding the contract method 0x4d69a8a1.
Solidity: function respondChallengeBefore(slot uint64, challengingTxHash bytes32, respondingBlockNumber uint256, respondingTransaction bytes, proof bytes, signature bytes) returns()
func (*RootChainTransactor) StartExit ¶
func (_RootChain *RootChainTransactor) StartExit(opts *bind.TransactOpts, slot uint64, prevTxBytes []byte, exitingTxBytes []byte, prevTxInclusionProof []byte, exitingTxInclusionProof []byte, signature []byte, blocks [2]*big.Int) (*types.Transaction, error)
StartExit is a paid mutator transaction binding the contract method 0xe9a067c0.
Solidity: function startExit(slot uint64, prevTxBytes bytes, exitingTxBytes bytes, prevTxInclusionProof bytes, exitingTxInclusionProof bytes, signature bytes, blocks uint256[2]) returns()
func (*RootChainTransactor) SubmitBlock ¶
func (_RootChain *RootChainTransactor) SubmitBlock(opts *bind.TransactOpts, blockNumber *big.Int, root [32]byte) (*types.Transaction, error)
SubmitBlock is a paid mutator transaction binding the contract method 0x149be19f.
Solidity: function submitBlock(blockNumber uint256, root bytes32) returns()
func (*RootChainTransactor) Unpause ¶
func (_RootChain *RootChainTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*RootChainTransactor) Withdraw ¶
func (_RootChain *RootChainTransactor) Withdraw(opts *bind.TransactOpts, slot uint64) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x750f0acc.
Solidity: function withdraw(slot uint64) returns()
func (*RootChainTransactor) WithdrawBonds ¶
func (_RootChain *RootChainTransactor) WithdrawBonds(opts *bind.TransactOpts) (*types.Transaction, error)
WithdrawBonds is a paid mutator transaction binding the contract method 0x1cc6ffa0.
Solidity: function withdrawBonds() 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) CancelExit ¶
func (_RootChain *RootChainTransactorSession) CancelExit(slot uint64) (*types.Transaction, error)
CancelExit is a paid mutator transaction binding the contract method 0xcbd8da63.
Solidity: function cancelExit(slot uint64) returns()
func (*RootChainTransactorSession) CancelExits ¶
func (_RootChain *RootChainTransactorSession) CancelExits(slots []uint64) (*types.Transaction, error)
CancelExits is a paid mutator transaction binding the contract method 0xdf3b8377.
Solidity: function cancelExits(slots uint64[]) returns()
func (*RootChainTransactorSession) ChallengeAfter ¶
func (_RootChain *RootChainTransactorSession) ChallengeAfter(slot uint64, challengingBlockNumber *big.Int, challengingTransaction []byte, proof []byte, signature []byte) (*types.Transaction, error)
ChallengeAfter is a paid mutator transaction binding the contract method 0x058a6508.
Solidity: function challengeAfter(slot uint64, challengingBlockNumber uint256, challengingTransaction bytes, proof bytes, signature bytes) returns()
func (*RootChainTransactorSession) ChallengeBefore ¶
func (_RootChain *RootChainTransactorSession) ChallengeBefore(slot uint64, txBytes []byte, txInclusionProof []byte, signature []byte, blockNumber *big.Int) (*types.Transaction, error)
ChallengeBefore is a paid mutator transaction binding the contract method 0x7eb7b0f6.
Solidity: function challengeBefore(slot uint64, txBytes bytes, txInclusionProof bytes, signature bytes, blockNumber uint256) returns()
func (*RootChainTransactorSession) ChallengeBetween ¶
func (_RootChain *RootChainTransactorSession) ChallengeBetween(slot uint64, challengingBlockNumber *big.Int, challengingTransaction []byte, proof []byte, signature []byte) (*types.Transaction, error)
ChallengeBetween is a paid mutator transaction binding the contract method 0xf6d0ba1a.
Solidity: function challengeBetween(slot uint64, challengingBlockNumber uint256, challengingTransaction bytes, proof bytes, signature bytes) returns()
func (*RootChainTransactorSession) DepositERC20 ¶
func (_RootChain *RootChainTransactorSession) DepositERC20(amount *big.Int, contractAddress common.Address) (*types.Transaction, error)
DepositERC20 is a paid mutator transaction binding the contract method 0x392d661c.
Solidity: function depositERC20(amount uint256, contractAddress address) returns()
func (*RootChainTransactorSession) DepositERC721 ¶
func (_RootChain *RootChainTransactorSession) DepositERC721(uid *big.Int, contractAddress common.Address) (*types.Transaction, error)
DepositERC721 is a paid mutator transaction binding the contract method 0xc8ac6542.
Solidity: function depositERC721(uid uint256, contractAddress address) returns()
func (*RootChainTransactorSession) FinalizeExit ¶
func (_RootChain *RootChainTransactorSession) FinalizeExit(slot uint64) (*types.Transaction, error)
FinalizeExit is a paid mutator transaction binding the contract method 0x78417214.
Solidity: function finalizeExit(slot uint64) returns()
func (*RootChainTransactorSession) FinalizeExits ¶
func (_RootChain *RootChainTransactorSession) FinalizeExits(slots []uint64) (*types.Transaction, error)
FinalizeExits is a paid mutator transaction binding the contract method 0x74c0a56f.
Solidity: function finalizeExits(slots uint64[]) returns()
func (*RootChainTransactorSession) OnERC20Received ¶
func (_RootChain *RootChainTransactorSession) OnERC20Received(_from common.Address, _amount *big.Int, arg2 []byte) (*types.Transaction, error)
OnERC20Received is a paid mutator transaction binding the contract method 0x65d83056.
Solidity: function onERC20Received(_from address, _amount uint256, bytes) returns(bytes4)
func (*RootChainTransactorSession) OnERC721Received ¶
func (_RootChain *RootChainTransactorSession) OnERC721Received(_from common.Address, _uid *big.Int, arg2 []byte) (*types.Transaction, error)
OnERC721Received is a paid mutator transaction binding the contract method 0xf0b9e5ba.
Solidity: function onERC721Received(_from address, _uid uint256, bytes) returns(bytes4)
func (*RootChainTransactorSession) Pause ¶
func (_RootChain *RootChainTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*RootChainTransactorSession) RespondChallengeBefore ¶
func (_RootChain *RootChainTransactorSession) RespondChallengeBefore(slot uint64, challengingTxHash [32]byte, respondingBlockNumber *big.Int, respondingTransaction []byte, proof []byte, signature []byte) (*types.Transaction, error)
RespondChallengeBefore is a paid mutator transaction binding the contract method 0x4d69a8a1.
Solidity: function respondChallengeBefore(slot uint64, challengingTxHash bytes32, respondingBlockNumber uint256, respondingTransaction bytes, proof bytes, signature bytes) returns()
func (*RootChainTransactorSession) StartExit ¶
func (_RootChain *RootChainTransactorSession) StartExit(slot uint64, prevTxBytes []byte, exitingTxBytes []byte, prevTxInclusionProof []byte, exitingTxInclusionProof []byte, signature []byte, blocks [2]*big.Int) (*types.Transaction, error)
StartExit is a paid mutator transaction binding the contract method 0xe9a067c0.
Solidity: function startExit(slot uint64, prevTxBytes bytes, exitingTxBytes bytes, prevTxInclusionProof bytes, exitingTxInclusionProof bytes, signature bytes, blocks uint256[2]) returns()
func (*RootChainTransactorSession) SubmitBlock ¶
func (_RootChain *RootChainTransactorSession) SubmitBlock(blockNumber *big.Int, root [32]byte) (*types.Transaction, error)
SubmitBlock is a paid mutator transaction binding the contract method 0x149be19f.
Solidity: function submitBlock(blockNumber uint256, root bytes32) returns()
func (*RootChainTransactorSession) Unpause ¶
func (_RootChain *RootChainTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*RootChainTransactorSession) Withdraw ¶
func (_RootChain *RootChainTransactorSession) Withdraw(slot uint64) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x750f0acc.
Solidity: function withdraw(slot uint64) returns()
func (*RootChainTransactorSession) WithdrawBonds ¶
func (_RootChain *RootChainTransactorSession) WithdrawBonds() (*types.Transaction, error)
WithdrawBonds is a paid mutator transaction binding the contract method 0x1cc6ffa0.
Solidity: function withdrawBonds() returns()
type RootChainWithdrew ¶
type RootChainWithdrew struct { Owner common.Address Slot uint64 Mode uint8 ContractAddress common.Address Uid *big.Int Denomination *big.Int Raw types.Log // Blockchain specific contextual infos }
RootChainWithdrew represents a Withdrew event raised by the RootChain contract.
type RootChainWithdrewBonds ¶
type RootChainWithdrewBonds struct { From common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
RootChainWithdrewBonds represents a WithdrewBonds event raised by the RootChain contract.
type RootChainWithdrewBondsIterator ¶
type RootChainWithdrewBondsIterator struct { Event *RootChainWithdrewBonds // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RootChainWithdrewBondsIterator is returned from FilterWithdrewBonds and is used to iterate over the raw logs and unpacked data for WithdrewBonds events raised by the RootChain contract.
func (*RootChainWithdrewBondsIterator) Close ¶
func (it *RootChainWithdrewBondsIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RootChainWithdrewBondsIterator) Error ¶
func (it *RootChainWithdrewBondsIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RootChainWithdrewBondsIterator) Next ¶
func (it *RootChainWithdrewBondsIterator) 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 RootChainWithdrewIterator ¶
type RootChainWithdrewIterator struct { Event *RootChainWithdrew // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RootChainWithdrewIterator is returned from FilterWithdrew and is used to iterate over the raw logs and unpacked data for Withdrew events raised by the RootChain contract.
func (*RootChainWithdrewIterator) Close ¶
func (it *RootChainWithdrewIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RootChainWithdrewIterator) Error ¶
func (it *RootChainWithdrewIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RootChainWithdrewIterator) Next ¶
func (it *RootChainWithdrewIterator) 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.