Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client defines wrappers to a remote endpoint
func InitEthConn ¶
Instantiate a connection and bind the go plasma contract wrapper with this client
type Plasma ¶
type Plasma struct {
// contains filtered or unexported fields
}
Plasma holds related unexported members
func InitPlasma ¶
func InitPlasma(contractAddr common.Address, privateKey *ecdsa.PrivateKey, client *Client, logger log.Logger, finalityBound uint64) (*Plasma, error)
InitPlasma binds the go wrapper to the deployed contract. This private key provides authentication for the operator
func (*Plasma) GetDeposit ¶
GetDeposit checks the existence of a deposit nonce
func (*Plasma) HasTXBeenExited ¶
HasTXBeenExited indicates if the position has ever been exited
func (*Plasma) SubmitBlock ¶
SubmitBlock proxy. TODO: handle batching with a timmer interrupt
Click to show internal directories.
Click to hide internal directories.