wrappers

package
v0.0.0-...-da22cf9 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2019 License: Apache-2.0, Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const PlasmaMVPABI = "" /* 7025-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type PlasmaMVP

type PlasmaMVP struct {
	PlasmaMVPCaller     // Read-only binding to the contract
	PlasmaMVPTransactor // Write-only binding to the contract
	PlasmaMVPFilterer   // Log filterer for contract events
}

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

func NewPlasmaMVP

func NewPlasmaMVP(address common.Address, backend bind.ContractBackend) (*PlasmaMVP, error)

NewPlasmaMVP creates a new instance of PlasmaMVP, bound to a specific deployed contract.

type PlasmaMVPAddedToBalances

type PlasmaMVPAddedToBalances struct {
	Owner  common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

PlasmaMVPAddedToBalances represents a AddedToBalances event raised by the PlasmaMVP contract.

type PlasmaMVPAddedToBalancesIterator

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

PlasmaMVPAddedToBalancesIterator is returned from FilterAddedToBalances and is used to iterate over the raw logs and unpacked data for AddedToBalances events raised by the PlasmaMVP contract.

func (*PlasmaMVPAddedToBalancesIterator) Close

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

func (*PlasmaMVPAddedToBalancesIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PlasmaMVPAddedToBalancesIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PlasmaMVPBlockSubmitted

type PlasmaMVPBlockSubmitted struct {
	Root        [32]byte
	BlockNumber *big.Int
	NumTxns     *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

PlasmaMVPBlockSubmitted represents a BlockSubmitted event raised by the PlasmaMVP contract.

type PlasmaMVPBlockSubmittedIterator

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

PlasmaMVPBlockSubmittedIterator is returned from FilterBlockSubmitted and is used to iterate over the raw logs and unpacked data for BlockSubmitted events raised by the PlasmaMVP contract.

func (*PlasmaMVPBlockSubmittedIterator) Close

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

func (*PlasmaMVPBlockSubmittedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PlasmaMVPBlockSubmittedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PlasmaMVPCaller

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

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

func NewPlasmaMVPCaller

func NewPlasmaMVPCaller(address common.Address, caller bind.ContractCaller) (*PlasmaMVPCaller, error)

NewPlasmaMVPCaller creates a new read-only instance of PlasmaMVP, bound to a specific deployed contract.

func (*PlasmaMVPCaller) BalanceOf

func (_PlasmaMVP *PlasmaMVPCaller) BalanceOf(opts *bind.CallOpts, _address common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(_address address) constant returns(uint256)

func (*PlasmaMVPCaller) Balances

func (_PlasmaMVP *PlasmaMVPCaller) Balances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x27e235e3.

Solidity: function balances( address) constant returns(uint256)

func (*PlasmaMVPCaller) BlockIndexFactor

func (_PlasmaMVP *PlasmaMVPCaller) BlockIndexFactor(opts *bind.CallOpts) (*big.Int, error)

BlockIndexFactor is a free data retrieval call binding the contract method 0x89609149.

Solidity: function blockIndexFactor() constant returns(uint256)

func (*PlasmaMVPCaller) ChildChain

func (_PlasmaMVP *PlasmaMVPCaller) ChildChain(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Root      [32]byte
	NumTxns   *big.Int
	CreatedAt *big.Int
}, error)

ChildChain is a free data retrieval call binding the contract method 0xf95643b1.

Solidity: function childChain( uint256) constant returns(root bytes32, numTxns uint256, createdAt uint256)

func (*PlasmaMVPCaller) ChildChainBalance

func (_PlasmaMVP *PlasmaMVPCaller) ChildChainBalance(opts *bind.CallOpts) (*big.Int, error)

ChildChainBalance is a free data retrieval call binding the contract method 0x385e2fd3.

Solidity: function childChainBalance() constant returns(uint256)

func (*PlasmaMVPCaller) DepositExits

func (_PlasmaMVP *PlasmaMVPCaller) DepositExits(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Amount    *big.Int
	CreatedAt *big.Int
	Owner     common.Address
	State     uint8
}, error)

DepositExits is a free data retrieval call binding the contract method 0xce84f906.

Solidity: function depositExits( uint256) constant returns(amount uint256, createdAt uint256, owner address, state uint8)

func (*PlasmaMVPCaller) DepositNonce

func (_PlasmaMVP *PlasmaMVPCaller) DepositNonce(opts *bind.CallOpts) (*big.Int, error)

DepositNonce is a free data retrieval call binding the contract method 0xde35f5cb.

Solidity: function depositNonce() constant returns(uint256)

func (*PlasmaMVPCaller) Deposits

func (_PlasmaMVP *PlasmaMVPCaller) Deposits(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Owner       common.Address
	Amount      *big.Int
	CreatedAt   *big.Int
	EthBlockNum *big.Int
}, error)

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

Solidity: function deposits( uint256) constant returns(owner address, amount uint256, createdAt uint256, ethBlockNum uint256)

func (*PlasmaMVPCaller) LastCommittedBlock

func (_PlasmaMVP *PlasmaMVPCaller) LastCommittedBlock(opts *bind.CallOpts) (*big.Int, error)

LastCommittedBlock is a free data retrieval call binding the contract method 0x3acb097a.

Solidity: function lastCommittedBlock() constant returns(uint256)

func (*PlasmaMVPCaller) MaxTxnsPerBLock

func (_PlasmaMVP *PlasmaMVPCaller) MaxTxnsPerBLock(opts *bind.CallOpts) (*big.Int, error)

MaxTxnsPerBLock is a free data retrieval call binding the contract method 0x338b881c.

Solidity: function maxTxnsPerBLock() constant returns(uint256)

func (*PlasmaMVPCaller) TotalWithdrawBalance

func (_PlasmaMVP *PlasmaMVPCaller) TotalWithdrawBalance(opts *bind.CallOpts) (*big.Int, error)

TotalWithdrawBalance is a free data retrieval call binding the contract method 0xc430c438.

Solidity: function totalWithdrawBalance() constant returns(uint256)

func (*PlasmaMVPCaller) TxExits

func (_PlasmaMVP *PlasmaMVPCaller) TxExits(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Amount    *big.Int
	CreatedAt *big.Int
	Owner     common.Address
	State     uint8
}, error)

TxExits is a free data retrieval call binding the contract method 0x6d3d8b1a.

Solidity: function txExits( uint256) constant returns(amount uint256, createdAt uint256, owner address, state uint8)

func (*PlasmaMVPCaller) TxIndexFactor

func (_PlasmaMVP *PlasmaMVPCaller) TxIndexFactor(opts *bind.CallOpts) (*big.Int, error)

TxIndexFactor is a free data retrieval call binding the contract method 0x00d2980a.

Solidity: function txIndexFactor() constant returns(uint256)

type PlasmaMVPCallerRaw

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

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

func (*PlasmaMVPCallerRaw) Call

func (_PlasmaMVP *PlasmaMVPCallerRaw) 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 PlasmaMVPCallerSession

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

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

func (*PlasmaMVPCallerSession) BalanceOf

func (_PlasmaMVP *PlasmaMVPCallerSession) BalanceOf(_address common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(_address address) constant returns(uint256)

func (*PlasmaMVPCallerSession) Balances

func (_PlasmaMVP *PlasmaMVPCallerSession) Balances(arg0 common.Address) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x27e235e3.

Solidity: function balances( address) constant returns(uint256)

func (*PlasmaMVPCallerSession) BlockIndexFactor

func (_PlasmaMVP *PlasmaMVPCallerSession) BlockIndexFactor() (*big.Int, error)

BlockIndexFactor is a free data retrieval call binding the contract method 0x89609149.

Solidity: function blockIndexFactor() constant returns(uint256)

func (*PlasmaMVPCallerSession) ChildChain

func (_PlasmaMVP *PlasmaMVPCallerSession) ChildChain(arg0 *big.Int) (struct {
	Root      [32]byte
	NumTxns   *big.Int
	CreatedAt *big.Int
}, error)

ChildChain is a free data retrieval call binding the contract method 0xf95643b1.

Solidity: function childChain( uint256) constant returns(root bytes32, numTxns uint256, createdAt uint256)

func (*PlasmaMVPCallerSession) ChildChainBalance

func (_PlasmaMVP *PlasmaMVPCallerSession) ChildChainBalance() (*big.Int, error)

ChildChainBalance is a free data retrieval call binding the contract method 0x385e2fd3.

Solidity: function childChainBalance() constant returns(uint256)

func (*PlasmaMVPCallerSession) DepositExits

func (_PlasmaMVP *PlasmaMVPCallerSession) DepositExits(arg0 *big.Int) (struct {
	Amount    *big.Int
	CreatedAt *big.Int
	Owner     common.Address
	State     uint8
}, error)

DepositExits is a free data retrieval call binding the contract method 0xce84f906.

Solidity: function depositExits( uint256) constant returns(amount uint256, createdAt uint256, owner address, state uint8)

func (*PlasmaMVPCallerSession) DepositNonce

func (_PlasmaMVP *PlasmaMVPCallerSession) DepositNonce() (*big.Int, error)

DepositNonce is a free data retrieval call binding the contract method 0xde35f5cb.

Solidity: function depositNonce() constant returns(uint256)

func (*PlasmaMVPCallerSession) Deposits

func (_PlasmaMVP *PlasmaMVPCallerSession) Deposits(arg0 *big.Int) (struct {
	Owner       common.Address
	Amount      *big.Int
	CreatedAt   *big.Int
	EthBlockNum *big.Int
}, error)

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

Solidity: function deposits( uint256) constant returns(owner address, amount uint256, createdAt uint256, ethBlockNum uint256)

func (*PlasmaMVPCallerSession) LastCommittedBlock

func (_PlasmaMVP *PlasmaMVPCallerSession) LastCommittedBlock() (*big.Int, error)

LastCommittedBlock is a free data retrieval call binding the contract method 0x3acb097a.

Solidity: function lastCommittedBlock() constant returns(uint256)

func (*PlasmaMVPCallerSession) MaxTxnsPerBLock

func (_PlasmaMVP *PlasmaMVPCallerSession) MaxTxnsPerBLock() (*big.Int, error)

MaxTxnsPerBLock is a free data retrieval call binding the contract method 0x338b881c.

Solidity: function maxTxnsPerBLock() constant returns(uint256)

func (*PlasmaMVPCallerSession) TotalWithdrawBalance

func (_PlasmaMVP *PlasmaMVPCallerSession) TotalWithdrawBalance() (*big.Int, error)

TotalWithdrawBalance is a free data retrieval call binding the contract method 0xc430c438.

Solidity: function totalWithdrawBalance() constant returns(uint256)

func (*PlasmaMVPCallerSession) TxExits

func (_PlasmaMVP *PlasmaMVPCallerSession) TxExits(arg0 *big.Int) (struct {
	Amount    *big.Int
	CreatedAt *big.Int
	Owner     common.Address
	State     uint8
}, error)

TxExits is a free data retrieval call binding the contract method 0x6d3d8b1a.

Solidity: function txExits( uint256) constant returns(amount uint256, createdAt uint256, owner address, state uint8)

func (*PlasmaMVPCallerSession) TxIndexFactor

func (_PlasmaMVP *PlasmaMVPCallerSession) TxIndexFactor() (*big.Int, error)

TxIndexFactor is a free data retrieval call binding the contract method 0x00d2980a.

Solidity: function txIndexFactor() constant returns(uint256)

type PlasmaMVPChallengedExit

type PlasmaMVPChallengedExit struct {
	Position [4]*big.Int
	Owner    common.Address
	Amount   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

PlasmaMVPChallengedExit represents a ChallengedExit event raised by the PlasmaMVP contract.

type PlasmaMVPChallengedExitIterator

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

PlasmaMVPChallengedExitIterator is returned from FilterChallengedExit and is used to iterate over the raw logs and unpacked data for ChallengedExit events raised by the PlasmaMVP contract.

func (*PlasmaMVPChallengedExitIterator) Close

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

func (*PlasmaMVPChallengedExitIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PlasmaMVPChallengedExitIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PlasmaMVPDeposit

type PlasmaMVPDeposit struct {
	Depositor    common.Address
	Amount       *big.Int
	DepositNonce *big.Int
	EthBlockNum  *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

PlasmaMVPDeposit represents a Deposit event raised by the PlasmaMVP contract.

type PlasmaMVPDepositIterator

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

PlasmaMVPDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the PlasmaMVP contract.

func (*PlasmaMVPDepositIterator) Close

func (it *PlasmaMVPDepositIterator) Close() error

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

func (*PlasmaMVPDepositIterator) Error

func (it *PlasmaMVPDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PlasmaMVPDepositIterator) Next

func (it *PlasmaMVPDepositIterator) 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 PlasmaMVPFilterer

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

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

func NewPlasmaMVPFilterer

func NewPlasmaMVPFilterer(address common.Address, filterer bind.ContractFilterer) (*PlasmaMVPFilterer, error)

NewPlasmaMVPFilterer creates a new log filterer instance of PlasmaMVP, bound to a specific deployed contract.

func (*PlasmaMVPFilterer) FilterAddedToBalances

func (_PlasmaMVP *PlasmaMVPFilterer) FilterAddedToBalances(opts *bind.FilterOpts) (*PlasmaMVPAddedToBalancesIterator, error)

FilterAddedToBalances is a free log retrieval operation binding the contract event 0xf8552a24c7d58fd05114f6fc9db7b3a354db64d5fc758184af1696ccd8f158f3.

Solidity: e AddedToBalances(owner address, amount uint256)

func (*PlasmaMVPFilterer) FilterBlockSubmitted

func (_PlasmaMVP *PlasmaMVPFilterer) FilterBlockSubmitted(opts *bind.FilterOpts) (*PlasmaMVPBlockSubmittedIterator, error)

FilterBlockSubmitted is a free log retrieval operation binding the contract event 0xc70b6ab6cd7c3bfe1b3c45565f9251d67255acb70d4c03d17947faeb8bfd88e2.

Solidity: e BlockSubmitted(root bytes32, blockNumber uint256, numTxns uint256)

func (*PlasmaMVPFilterer) FilterChallengedExit

func (_PlasmaMVP *PlasmaMVPFilterer) FilterChallengedExit(opts *bind.FilterOpts) (*PlasmaMVPChallengedExitIterator, error)

FilterChallengedExit is a free log retrieval operation binding the contract event 0xe1289dafb1083e540206bcd7d95a9705ba2590d6a9229c35a1c4c4c5efbda901.

Solidity: e ChallengedExit(position uint256[4], owner address, amount uint256)

func (*PlasmaMVPFilterer) FilterDeposit

func (_PlasmaMVP *PlasmaMVPFilterer) FilterDeposit(opts *bind.FilterOpts) (*PlasmaMVPDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0x36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e.

Solidity: e Deposit(depositor address, amount uint256, depositNonce uint256, ethBlockNum uint256)

func (*PlasmaMVPFilterer) FilterFinalizedExit

func (_PlasmaMVP *PlasmaMVPFilterer) FilterFinalizedExit(opts *bind.FilterOpts) (*PlasmaMVPFinalizedExitIterator, error)

FilterFinalizedExit is a free log retrieval operation binding the contract event 0xb5083a27a38f8a9aa999efb3306b7be96dc3f42010a968dd86627880ba7fdbe2.

Solidity: e FinalizedExit(position uint256[4], owner address, amount uint256)

func (*PlasmaMVPFilterer) FilterStartedDepositExit

func (_PlasmaMVP *PlasmaMVPFilterer) FilterStartedDepositExit(opts *bind.FilterOpts) (*PlasmaMVPStartedDepositExitIterator, error)

FilterStartedDepositExit is a free log retrieval operation binding the contract event 0x0bdfdd54dc0a51ef460d31ddf95470493780afed2eee6046199b65c2b1d66b91.

Solidity: e StartedDepositExit(nonce uint256, owner address, amount uint256)

func (*PlasmaMVPFilterer) FilterStartedTransactionExit

func (_PlasmaMVP *PlasmaMVPFilterer) FilterStartedTransactionExit(opts *bind.FilterOpts) (*PlasmaMVPStartedTransactionExitIterator, error)

FilterStartedTransactionExit is a free log retrieval operation binding the contract event 0xb9a20182985ca044806e684b82bcbff288e57bdfffdc1c1148e8de595665eb2c.

Solidity: e StartedTransactionExit(position uint256[3], owner address, amount uint256, confirmSignatures bytes)

func (*PlasmaMVPFilterer) WatchAddedToBalances

func (_PlasmaMVP *PlasmaMVPFilterer) WatchAddedToBalances(opts *bind.WatchOpts, sink chan<- *PlasmaMVPAddedToBalances) (event.Subscription, error)

WatchAddedToBalances is a free log subscription operation binding the contract event 0xf8552a24c7d58fd05114f6fc9db7b3a354db64d5fc758184af1696ccd8f158f3.

Solidity: e AddedToBalances(owner address, amount uint256)

func (*PlasmaMVPFilterer) WatchBlockSubmitted

func (_PlasmaMVP *PlasmaMVPFilterer) WatchBlockSubmitted(opts *bind.WatchOpts, sink chan<- *PlasmaMVPBlockSubmitted) (event.Subscription, error)

WatchBlockSubmitted is a free log subscription operation binding the contract event 0xc70b6ab6cd7c3bfe1b3c45565f9251d67255acb70d4c03d17947faeb8bfd88e2.

Solidity: e BlockSubmitted(root bytes32, blockNumber uint256, numTxns uint256)

func (*PlasmaMVPFilterer) WatchChallengedExit

func (_PlasmaMVP *PlasmaMVPFilterer) WatchChallengedExit(opts *bind.WatchOpts, sink chan<- *PlasmaMVPChallengedExit) (event.Subscription, error)

WatchChallengedExit is a free log subscription operation binding the contract event 0xe1289dafb1083e540206bcd7d95a9705ba2590d6a9229c35a1c4c4c5efbda901.

Solidity: e ChallengedExit(position uint256[4], owner address, amount uint256)

func (*PlasmaMVPFilterer) WatchDeposit

func (_PlasmaMVP *PlasmaMVPFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *PlasmaMVPDeposit) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0x36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e.

Solidity: e Deposit(depositor address, amount uint256, depositNonce uint256, ethBlockNum uint256)

func (*PlasmaMVPFilterer) WatchFinalizedExit

func (_PlasmaMVP *PlasmaMVPFilterer) WatchFinalizedExit(opts *bind.WatchOpts, sink chan<- *PlasmaMVPFinalizedExit) (event.Subscription, error)

WatchFinalizedExit is a free log subscription operation binding the contract event 0xb5083a27a38f8a9aa999efb3306b7be96dc3f42010a968dd86627880ba7fdbe2.

Solidity: e FinalizedExit(position uint256[4], owner address, amount uint256)

func (*PlasmaMVPFilterer) WatchStartedDepositExit

func (_PlasmaMVP *PlasmaMVPFilterer) WatchStartedDepositExit(opts *bind.WatchOpts, sink chan<- *PlasmaMVPStartedDepositExit) (event.Subscription, error)

WatchStartedDepositExit is a free log subscription operation binding the contract event 0x0bdfdd54dc0a51ef460d31ddf95470493780afed2eee6046199b65c2b1d66b91.

Solidity: e StartedDepositExit(nonce uint256, owner address, amount uint256)

func (*PlasmaMVPFilterer) WatchStartedTransactionExit

func (_PlasmaMVP *PlasmaMVPFilterer) WatchStartedTransactionExit(opts *bind.WatchOpts, sink chan<- *PlasmaMVPStartedTransactionExit) (event.Subscription, error)

WatchStartedTransactionExit is a free log subscription operation binding the contract event 0xb9a20182985ca044806e684b82bcbff288e57bdfffdc1c1148e8de595665eb2c.

Solidity: e StartedTransactionExit(position uint256[3], owner address, amount uint256, confirmSignatures bytes)

type PlasmaMVPFinalizedExit

type PlasmaMVPFinalizedExit struct {
	Position [4]*big.Int
	Owner    common.Address
	Amount   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

PlasmaMVPFinalizedExit represents a FinalizedExit event raised by the PlasmaMVP contract.

type PlasmaMVPFinalizedExitIterator

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

PlasmaMVPFinalizedExitIterator is returned from FilterFinalizedExit and is used to iterate over the raw logs and unpacked data for FinalizedExit events raised by the PlasmaMVP contract.

func (*PlasmaMVPFinalizedExitIterator) Close

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

func (*PlasmaMVPFinalizedExitIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PlasmaMVPFinalizedExitIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PlasmaMVPRaw

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

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

func (*PlasmaMVPRaw) Call

func (_PlasmaMVP *PlasmaMVPRaw) 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 (*PlasmaMVPRaw) Transact

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

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

func (*PlasmaMVPRaw) Transfer

func (_PlasmaMVP *PlasmaMVPRaw) 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 PlasmaMVPSession

type PlasmaMVPSession struct {
	Contract     *PlasmaMVP        // 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
}

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

func (*PlasmaMVPSession) BalanceOf

func (_PlasmaMVP *PlasmaMVPSession) BalanceOf(_address common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(_address address) constant returns(uint256)

func (*PlasmaMVPSession) Balances

func (_PlasmaMVP *PlasmaMVPSession) Balances(arg0 common.Address) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x27e235e3.

Solidity: function balances( address) constant returns(uint256)

func (*PlasmaMVPSession) BlockIndexFactor

func (_PlasmaMVP *PlasmaMVPSession) BlockIndexFactor() (*big.Int, error)

BlockIndexFactor is a free data retrieval call binding the contract method 0x89609149.

Solidity: function blockIndexFactor() constant returns(uint256)

func (*PlasmaMVPSession) ChallengeExit

func (_PlasmaMVP *PlasmaMVPSession) ChallengeExit(exitingTxPos [4]*big.Int, challengingTxPos [2]*big.Int, txBytes []byte, proof []byte, confirmSignature []byte) (*types.Transaction, error)

ChallengeExit is a paid mutator transaction binding the contract method 0xd344e8e4.

Solidity: function challengeExit(exitingTxPos uint256[4], challengingTxPos uint256[2], txBytes bytes, proof bytes, confirmSignature bytes) returns()

func (*PlasmaMVPSession) ChildChain

func (_PlasmaMVP *PlasmaMVPSession) ChildChain(arg0 *big.Int) (struct {
	Root      [32]byte
	NumTxns   *big.Int
	CreatedAt *big.Int
}, error)

ChildChain is a free data retrieval call binding the contract method 0xf95643b1.

Solidity: function childChain( uint256) constant returns(root bytes32, numTxns uint256, createdAt uint256)

func (*PlasmaMVPSession) ChildChainBalance

func (_PlasmaMVP *PlasmaMVPSession) ChildChainBalance() (*big.Int, error)

ChildChainBalance is a free data retrieval call binding the contract method 0x385e2fd3.

Solidity: function childChainBalance() constant returns(uint256)

func (*PlasmaMVPSession) Deposit

func (_PlasmaMVP *PlasmaMVPSession) Deposit(owner common.Address) (*types.Transaction, error)

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

Solidity: function deposit(owner address) returns()

func (*PlasmaMVPSession) DepositExits

func (_PlasmaMVP *PlasmaMVPSession) DepositExits(arg0 *big.Int) (struct {
	Amount    *big.Int
	CreatedAt *big.Int
	Owner     common.Address
	State     uint8
}, error)

DepositExits is a free data retrieval call binding the contract method 0xce84f906.

Solidity: function depositExits( uint256) constant returns(amount uint256, createdAt uint256, owner address, state uint8)

func (*PlasmaMVPSession) DepositNonce

func (_PlasmaMVP *PlasmaMVPSession) DepositNonce() (*big.Int, error)

DepositNonce is a free data retrieval call binding the contract method 0xde35f5cb.

Solidity: function depositNonce() constant returns(uint256)

func (*PlasmaMVPSession) Deposits

func (_PlasmaMVP *PlasmaMVPSession) Deposits(arg0 *big.Int) (struct {
	Owner       common.Address
	Amount      *big.Int
	CreatedAt   *big.Int
	EthBlockNum *big.Int
}, error)

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

Solidity: function deposits( uint256) constant returns(owner address, amount uint256, createdAt uint256, ethBlockNum uint256)

func (*PlasmaMVPSession) FinalizeDepositExits

func (_PlasmaMVP *PlasmaMVPSession) FinalizeDepositExits() (*types.Transaction, error)

FinalizeDepositExits is a paid mutator transaction binding the contract method 0xfcf5f9eb.

Solidity: function finalizeDepositExits() returns()

func (*PlasmaMVPSession) FinalizeTransactionExits

func (_PlasmaMVP *PlasmaMVPSession) FinalizeTransactionExits() (*types.Transaction, error)

FinalizeTransactionExits is a paid mutator transaction binding the contract method 0x884fc7d6.

Solidity: function finalizeTransactionExits() returns()

func (*PlasmaMVPSession) LastCommittedBlock

func (_PlasmaMVP *PlasmaMVPSession) LastCommittedBlock() (*big.Int, error)

LastCommittedBlock is a free data retrieval call binding the contract method 0x3acb097a.

Solidity: function lastCommittedBlock() constant returns(uint256)

func (*PlasmaMVPSession) MaxTxnsPerBLock

func (_PlasmaMVP *PlasmaMVPSession) MaxTxnsPerBLock() (*big.Int, error)

MaxTxnsPerBLock is a free data retrieval call binding the contract method 0x338b881c.

Solidity: function maxTxnsPerBLock() constant returns(uint256)

func (*PlasmaMVPSession) StartDepositExit

func (_PlasmaMVP *PlasmaMVPSession) StartDepositExit(nonce *big.Int) (*types.Transaction, error)

StartDepositExit is a paid mutator transaction binding the contract method 0xf5239f64.

Solidity: function startDepositExit(nonce uint256) returns()

func (*PlasmaMVPSession) StartTransactionExit

func (_PlasmaMVP *PlasmaMVPSession) StartTransactionExit(txPos [3]*big.Int, txBytes []byte, proof []byte, confirmSignatures []byte) (*types.Transaction, error)

StartTransactionExit is a paid mutator transaction binding the contract method 0x6621cb3f.

Solidity: function startTransactionExit(txPos uint256[3], txBytes bytes, proof bytes, confirmSignatures bytes) returns()

func (*PlasmaMVPSession) SubmitBlock

func (_PlasmaMVP *PlasmaMVPSession) SubmitBlock(headers [][32]byte, txnsPerBlock []*big.Int, blockNum *big.Int) (*types.Transaction, error)

SubmitBlock is a paid mutator transaction binding the contract method 0xa0e52e7c.

Solidity: function submitBlock(headers bytes32[], txnsPerBlock uint256[], blockNum uint256) returns()

func (*PlasmaMVPSession) TotalWithdrawBalance

func (_PlasmaMVP *PlasmaMVPSession) TotalWithdrawBalance() (*big.Int, error)

TotalWithdrawBalance is a free data retrieval call binding the contract method 0xc430c438.

Solidity: function totalWithdrawBalance() constant returns(uint256)

func (*PlasmaMVPSession) TxExits

func (_PlasmaMVP *PlasmaMVPSession) TxExits(arg0 *big.Int) (struct {
	Amount    *big.Int
	CreatedAt *big.Int
	Owner     common.Address
	State     uint8
}, error)

TxExits is a free data retrieval call binding the contract method 0x6d3d8b1a.

Solidity: function txExits( uint256) constant returns(amount uint256, createdAt uint256, owner address, state uint8)

func (*PlasmaMVPSession) TxIndexFactor

func (_PlasmaMVP *PlasmaMVPSession) TxIndexFactor() (*big.Int, error)

TxIndexFactor is a free data retrieval call binding the contract method 0x00d2980a.

Solidity: function txIndexFactor() constant returns(uint256)

func (*PlasmaMVPSession) Withdraw

func (_PlasmaMVP *PlasmaMVPSession) Withdraw() (*types.Transaction, error)

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

Solidity: function withdraw() returns(uint256)

type PlasmaMVPStartedDepositExit

type PlasmaMVPStartedDepositExit struct {
	Nonce  *big.Int
	Owner  common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

PlasmaMVPStartedDepositExit represents a StartedDepositExit event raised by the PlasmaMVP contract.

type PlasmaMVPStartedDepositExitIterator

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

PlasmaMVPStartedDepositExitIterator is returned from FilterStartedDepositExit and is used to iterate over the raw logs and unpacked data for StartedDepositExit events raised by the PlasmaMVP contract.

func (*PlasmaMVPStartedDepositExitIterator) Close

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

func (*PlasmaMVPStartedDepositExitIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PlasmaMVPStartedDepositExitIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PlasmaMVPStartedTransactionExit

type PlasmaMVPStartedTransactionExit struct {
	Position          [3]*big.Int
	Owner             common.Address
	Amount            *big.Int
	ConfirmSignatures []byte
	Raw               types.Log // Blockchain specific contextual infos
}

PlasmaMVPStartedTransactionExit represents a StartedTransactionExit event raised by the PlasmaMVP contract.

type PlasmaMVPStartedTransactionExitIterator

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

PlasmaMVPStartedTransactionExitIterator is returned from FilterStartedTransactionExit and is used to iterate over the raw logs and unpacked data for StartedTransactionExit events raised by the PlasmaMVP contract.

func (*PlasmaMVPStartedTransactionExitIterator) Close

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

func (*PlasmaMVPStartedTransactionExitIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PlasmaMVPStartedTransactionExitIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PlasmaMVPTransactor

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

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

func NewPlasmaMVPTransactor

func NewPlasmaMVPTransactor(address common.Address, transactor bind.ContractTransactor) (*PlasmaMVPTransactor, error)

NewPlasmaMVPTransactor creates a new write-only instance of PlasmaMVP, bound to a specific deployed contract.

func (*PlasmaMVPTransactor) ChallengeExit

func (_PlasmaMVP *PlasmaMVPTransactor) ChallengeExit(opts *bind.TransactOpts, exitingTxPos [4]*big.Int, challengingTxPos [2]*big.Int, txBytes []byte, proof []byte, confirmSignature []byte) (*types.Transaction, error)

ChallengeExit is a paid mutator transaction binding the contract method 0xd344e8e4.

Solidity: function challengeExit(exitingTxPos uint256[4], challengingTxPos uint256[2], txBytes bytes, proof bytes, confirmSignature bytes) returns()

func (*PlasmaMVPTransactor) Deposit

func (_PlasmaMVP *PlasmaMVPTransactor) Deposit(opts *bind.TransactOpts, owner common.Address) (*types.Transaction, error)

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

Solidity: function deposit(owner address) returns()

func (*PlasmaMVPTransactor) FinalizeDepositExits

func (_PlasmaMVP *PlasmaMVPTransactor) FinalizeDepositExits(opts *bind.TransactOpts) (*types.Transaction, error)

FinalizeDepositExits is a paid mutator transaction binding the contract method 0xfcf5f9eb.

Solidity: function finalizeDepositExits() returns()

func (*PlasmaMVPTransactor) FinalizeTransactionExits

func (_PlasmaMVP *PlasmaMVPTransactor) FinalizeTransactionExits(opts *bind.TransactOpts) (*types.Transaction, error)

FinalizeTransactionExits is a paid mutator transaction binding the contract method 0x884fc7d6.

Solidity: function finalizeTransactionExits() returns()

func (*PlasmaMVPTransactor) StartDepositExit

func (_PlasmaMVP *PlasmaMVPTransactor) StartDepositExit(opts *bind.TransactOpts, nonce *big.Int) (*types.Transaction, error)

StartDepositExit is a paid mutator transaction binding the contract method 0xf5239f64.

Solidity: function startDepositExit(nonce uint256) returns()

func (*PlasmaMVPTransactor) StartTransactionExit

func (_PlasmaMVP *PlasmaMVPTransactor) StartTransactionExit(opts *bind.TransactOpts, txPos [3]*big.Int, txBytes []byte, proof []byte, confirmSignatures []byte) (*types.Transaction, error)

StartTransactionExit is a paid mutator transaction binding the contract method 0x6621cb3f.

Solidity: function startTransactionExit(txPos uint256[3], txBytes bytes, proof bytes, confirmSignatures bytes) returns()

func (*PlasmaMVPTransactor) SubmitBlock

func (_PlasmaMVP *PlasmaMVPTransactor) SubmitBlock(opts *bind.TransactOpts, headers [][32]byte, txnsPerBlock []*big.Int, blockNum *big.Int) (*types.Transaction, error)

SubmitBlock is a paid mutator transaction binding the contract method 0xa0e52e7c.

Solidity: function submitBlock(headers bytes32[], txnsPerBlock uint256[], blockNum uint256) returns()

func (*PlasmaMVPTransactor) Withdraw

func (_PlasmaMVP *PlasmaMVPTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function withdraw() returns(uint256)

type PlasmaMVPTransactorRaw

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

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

func (*PlasmaMVPTransactorRaw) Transact

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

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

func (*PlasmaMVPTransactorRaw) Transfer

func (_PlasmaMVP *PlasmaMVPTransactorRaw) 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 PlasmaMVPTransactorSession

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

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

func (*PlasmaMVPTransactorSession) ChallengeExit

func (_PlasmaMVP *PlasmaMVPTransactorSession) ChallengeExit(exitingTxPos [4]*big.Int, challengingTxPos [2]*big.Int, txBytes []byte, proof []byte, confirmSignature []byte) (*types.Transaction, error)

ChallengeExit is a paid mutator transaction binding the contract method 0xd344e8e4.

Solidity: function challengeExit(exitingTxPos uint256[4], challengingTxPos uint256[2], txBytes bytes, proof bytes, confirmSignature bytes) returns()

func (*PlasmaMVPTransactorSession) Deposit

func (_PlasmaMVP *PlasmaMVPTransactorSession) Deposit(owner common.Address) (*types.Transaction, error)

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

Solidity: function deposit(owner address) returns()

func (*PlasmaMVPTransactorSession) FinalizeDepositExits

func (_PlasmaMVP *PlasmaMVPTransactorSession) FinalizeDepositExits() (*types.Transaction, error)

FinalizeDepositExits is a paid mutator transaction binding the contract method 0xfcf5f9eb.

Solidity: function finalizeDepositExits() returns()

func (*PlasmaMVPTransactorSession) FinalizeTransactionExits

func (_PlasmaMVP *PlasmaMVPTransactorSession) FinalizeTransactionExits() (*types.Transaction, error)

FinalizeTransactionExits is a paid mutator transaction binding the contract method 0x884fc7d6.

Solidity: function finalizeTransactionExits() returns()

func (*PlasmaMVPTransactorSession) StartDepositExit

func (_PlasmaMVP *PlasmaMVPTransactorSession) StartDepositExit(nonce *big.Int) (*types.Transaction, error)

StartDepositExit is a paid mutator transaction binding the contract method 0xf5239f64.

Solidity: function startDepositExit(nonce uint256) returns()

func (*PlasmaMVPTransactorSession) StartTransactionExit

func (_PlasmaMVP *PlasmaMVPTransactorSession) StartTransactionExit(txPos [3]*big.Int, txBytes []byte, proof []byte, confirmSignatures []byte) (*types.Transaction, error)

StartTransactionExit is a paid mutator transaction binding the contract method 0x6621cb3f.

Solidity: function startTransactionExit(txPos uint256[3], txBytes bytes, proof bytes, confirmSignatures bytes) returns()

func (*PlasmaMVPTransactorSession) SubmitBlock

func (_PlasmaMVP *PlasmaMVPTransactorSession) SubmitBlock(headers [][32]byte, txnsPerBlock []*big.Int, blockNum *big.Int) (*types.Transaction, error)

SubmitBlock is a paid mutator transaction binding the contract method 0xa0e52e7c.

Solidity: function submitBlock(headers bytes32[], txnsPerBlock uint256[], blockNum uint256) returns()

func (*PlasmaMVPTransactorSession) Withdraw

func (_PlasmaMVP *PlasmaMVPTransactorSession) Withdraw() (*types.Transaction, error)

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

Solidity: function withdraw() returns(uint256)

Jump to

Keyboard shortcuts

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