Documentation ¶
Index ¶
- type Contract
- type CrossTransactionContract
- type CrossTransactionRuntime
- func (r *CrossTransactionRuntime) Arbitrate(ctx protocol.TxSimContext, params map[string][]byte) ([]byte, error)
- func (r *CrossTransactionRuntime) Commit(ctx protocol.TxSimContext, params map[string][]byte) ([]byte, error)
- func (r *CrossTransactionRuntime) Execute(ctx protocol.TxSimContext, params map[string][]byte) ([]byte, error)
- func (r *CrossTransactionRuntime) ReadProof(ctx protocol.TxSimContext, params map[string][]byte) ([]byte, error)
- func (r *CrossTransactionRuntime) ReadState(ctx protocol.TxSimContext, params map[string][]byte) ([]byte, error)
- func (r *CrossTransactionRuntime) Rollback(ctx protocol.TxSimContext, params map[string][]byte) ([]byte, error)
- func (r *CrossTransactionRuntime) SaveProof(ctx protocol.TxSimContext, params map[string][]byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CrossTransactionContract ¶
type CrossTransactionContract struct {
// contains filtered or unexported fields
}
func NewCrossTransactionContract ¶
func NewCrossTransactionContract(log protocol.Logger) *CrossTransactionContract
func (*CrossTransactionContract) GetMethod ¶
func (c *CrossTransactionContract) GetMethod(methodName string) common.ContractFunc
type CrossTransactionRuntime ¶
type CrossTransactionRuntime struct {
// contains filtered or unexported fields
}
func (*CrossTransactionRuntime) Arbitrate ¶
func (r *CrossTransactionRuntime) Arbitrate(ctx protocol.TxSimContext, params map[string][]byte) ([]byte, error)
仲裁
func (*CrossTransactionRuntime) Commit ¶
func (r *CrossTransactionRuntime) Commit(ctx protocol.TxSimContext, params map[string][]byte) ([]byte, error)
func (*CrossTransactionRuntime) Execute ¶
func (r *CrossTransactionRuntime) Execute(ctx protocol.TxSimContext, params map[string][]byte) ([]byte, error)
func (*CrossTransactionRuntime) ReadProof ¶
func (r *CrossTransactionRuntime) ReadProof(ctx protocol.TxSimContext, params map[string][]byte) ([]byte, error)
func (*CrossTransactionRuntime) ReadState ¶
func (r *CrossTransactionRuntime) ReadState(ctx protocol.TxSimContext, params map[string][]byte) ([]byte, error)
func (*CrossTransactionRuntime) Rollback ¶
func (r *CrossTransactionRuntime) Rollback(ctx protocol.TxSimContext, params map[string][]byte) ([]byte, error)
func (*CrossTransactionRuntime) SaveProof ¶
func (r *CrossTransactionRuntime) SaveProof(ctx protocol.TxSimContext, params map[string][]byte) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.