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 Contract ¶
Contract comment at next version
type CrossTransactionContract ¶
type CrossTransactionContract struct { common.BaseContract // contains filtered or unexported fields }
CrossTransactionContract comment at next version
func NewCrossTransactionContract ¶
func NewCrossTransactionContract(log protocol.Logger) *CrossTransactionContract
NewCrossTransactionContract comment at next version @param log @return *CrossTransactionContract
type CrossTransactionRuntime ¶
type CrossTransactionRuntime struct {
// contains filtered or unexported fields
}
CrossTransactionRuntime comment at next version
func (*CrossTransactionRuntime) Arbitrate ¶
func (r *CrossTransactionRuntime) Arbitrate(ctx protocol.TxSimContext, params map[string][]byte) ([]byte, error)
Arbitrate 仲裁
func (*CrossTransactionRuntime) Commit ¶
func (r *CrossTransactionRuntime) Commit(ctx protocol.TxSimContext, params map[string][]byte) ([]byte, error)
Commit comment at next version
func (*CrossTransactionRuntime) Execute ¶
func (r *CrossTransactionRuntime) Execute(ctx protocol.TxSimContext, params map[string][]byte) ([]byte, error)
Execute comment at next version
func (*CrossTransactionRuntime) ReadProof ¶
func (r *CrossTransactionRuntime) ReadProof(ctx protocol.TxSimContext, params map[string][]byte) ([]byte, error)
ReadProof comment at next version
func (*CrossTransactionRuntime) ReadState ¶
func (r *CrossTransactionRuntime) ReadState(ctx protocol.TxSimContext, params map[string][]byte) ([]byte, error)
ReadState comment at next version
Click to show internal directories.
Click to hide internal directories.