Documentation ¶
Index ¶
- type Contract
- func (c *Contract) MessageResult(ctx context.Context, evmTxHash string) ([]byte, string, uint32, error)
- func (c *Contract) Query(ctx context.Context, request []byte, resource, namespace string) ([]byte, error)
- func (c *Contract) SendMessage(ctx context.Context, personaTag string, message []byte, messageID string, ...) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contract ¶
type Contract struct { ethprecompile.BaseContract // contains filtered or unexported fields }
func NewPrecompileContract ¶
NewPrecompileContract returns a new instance of the Router precompile.
func (*Contract) MessageResult ¶
Click to show internal directories.
Click to hide internal directories.