smartContractResult

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthSmartContractResult        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSmartContractResult          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSmartContractResult = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type SmartContractResult

type SmartContractResult struct {
	Nonce    uint64                                             `protobuf:"varint,1,opt,name=Nonce,proto3" json:"nonce"`
	Value    *math_big.Int                                      `` /* 132-byte string literal not displayed */
	RcvAddr  []byte                                             `protobuf:"bytes,3,opt,name=RcvAddr,proto3" json:"receiver"`
	SndAddr  []byte                                             `protobuf:"bytes,4,opt,name=SndAddr,proto3" json:"sender"`
	Code     []byte                                             `protobuf:"bytes,5,opt,name=Code,proto3" json:"code,omitempty"`
	Data     []byte                                             `protobuf:"bytes,6,opt,name=Data,proto3" json:"data,omitempty"`
	TxHash   []byte                                             `protobuf:"bytes,7,opt,name=TxHash,proto3" json:"txHash"`
	GasLimit uint64                                             `protobuf:"varint,8,opt,name=GasLimit,proto3" json:"gasLimit"`
	GasPrice uint64                                             `protobuf:"varint,9,opt,name=GasPrice,proto3" json:"gasPrice"`
	CallType github_com_ElrondNetwork_elrond_vm_common.CallType `protobuf:"varint,10,opt,name=CallType,proto3,casttype=github.com/ElrondNetwork/elrond-vm-common.CallType" json:"callType"`
}

Transaction holds all the data needed for a value transfer or SC call

func TrimSlicePtr

func TrimSlicePtr(in []*SmartContractResult) []*SmartContractResult

TrimSlicePtr creates a copy of the provided slice without the excess capacity

func (*SmartContractResult) Descriptor

func (*SmartContractResult) Descriptor() ([]byte, []int)

func (*SmartContractResult) Equal

func (this *SmartContractResult) Equal(that interface{}) bool

func (*SmartContractResult) GetCallType

func (*SmartContractResult) GetCode

func (m *SmartContractResult) GetCode() []byte

func (*SmartContractResult) GetData

func (m *SmartContractResult) GetData() []byte

func (*SmartContractResult) GetGasLimit

func (m *SmartContractResult) GetGasLimit() uint64

func (*SmartContractResult) GetGasPrice

func (m *SmartContractResult) GetGasPrice() uint64

func (*SmartContractResult) GetNonce

func (m *SmartContractResult) GetNonce() uint64

func (*SmartContractResult) GetRcvAddr

func (m *SmartContractResult) GetRcvAddr() []byte

func (*SmartContractResult) GetSndAddr

func (m *SmartContractResult) GetSndAddr() []byte

func (*SmartContractResult) GetTxHash

func (m *SmartContractResult) GetTxHash() []byte

func (*SmartContractResult) GetValue

func (m *SmartContractResult) GetValue() *math_big.Int

func (*SmartContractResult) GoString

func (this *SmartContractResult) GoString() string

func (*SmartContractResult) IsInterfaceNil

func (scr *SmartContractResult) IsInterfaceNil() bool

IsInterfaceNil verifies if underlying object is nil

func (*SmartContractResult) Marshal

func (m *SmartContractResult) Marshal() (dAtA []byte, err error)

func (*SmartContractResult) MarshalTo

func (m *SmartContractResult) MarshalTo(dAtA []byte) (int, error)

func (*SmartContractResult) MarshalToSizedBuffer

func (m *SmartContractResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SmartContractResult) ProtoMessage

func (*SmartContractResult) ProtoMessage()

func (*SmartContractResult) Reset

func (m *SmartContractResult) Reset()

func (*SmartContractResult) SetData

func (scr *SmartContractResult) SetData(data []byte)

SetData sets the data of the smart contract result

func (*SmartContractResult) SetRcvAddr

func (scr *SmartContractResult) SetRcvAddr(addr []byte)

SetRcvAddr sets the receiver address of the smart contract result

func (*SmartContractResult) SetSndAddr

func (scr *SmartContractResult) SetSndAddr(addr []byte)

SetSndAddr sets the sender address of the smart contract result

func (*SmartContractResult) SetValue

func (scr *SmartContractResult) SetValue(value *big.Int)

SetValue sets the value of the smart contract result

func (*SmartContractResult) Size

func (m *SmartContractResult) Size() (n int)

func (*SmartContractResult) String

func (this *SmartContractResult) String() string

func (*SmartContractResult) Unmarshal

func (m *SmartContractResult) Unmarshal(dAtA []byte) error

func (*SmartContractResult) XXX_DiscardUnknown

func (m *SmartContractResult) XXX_DiscardUnknown()

func (*SmartContractResult) XXX_Marshal

func (m *SmartContractResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SmartContractResult) XXX_Merge

func (m *SmartContractResult) XXX_Merge(src proto.Message)

func (*SmartContractResult) XXX_Size

func (m *SmartContractResult) XXX_Size() int

func (*SmartContractResult) XXX_Unmarshal

func (m *SmartContractResult) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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