types

package
v0.0.0-...-7d2f2d7 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const Default_CoinType_AddressType uint32 = 0
View Source
const Default_CoinType_AddressTypeP2Sh uint32 = 5
View Source
const Default_CoinType_XprvMagic uint32 = 76066276
View Source
const Default_CoinType_XpubMagic uint32 = 76067358
View Source
const Default_IdentityType_Index uint32 = 0
View Source
const Default_TxInputType_Sequence uint32 = 4294967295

Variables

View Source
var ButtonRequestType_name = map[int32]string{
	1:  "ButtonRequest_Other",
	2:  "ButtonRequest_FeeOverThreshold",
	3:  "ButtonRequest_ConfirmOutput",
	4:  "ButtonRequest_ResetDevice",
	5:  "ButtonRequest_ConfirmWord",
	6:  "ButtonRequest_WipeDevice",
	7:  "ButtonRequest_ProtectCall",
	8:  "ButtonRequest_SignTx",
	9:  "ButtonRequest_FirmwareCheck",
	10: "ButtonRequest_Address",
	11: "ButtonRequest_PublicKey",
}
View Source
var ButtonRequestType_value = map[string]int32{
	"ButtonRequest_Other":            1,
	"ButtonRequest_FeeOverThreshold": 2,
	"ButtonRequest_ConfirmOutput":    3,
	"ButtonRequest_ResetDevice":      4,
	"ButtonRequest_ConfirmWord":      5,
	"ButtonRequest_WipeDevice":       6,
	"ButtonRequest_ProtectCall":      7,
	"ButtonRequest_SignTx":           8,
	"ButtonRequest_FirmwareCheck":    9,
	"ButtonRequest_Address":          10,
	"ButtonRequest_PublicKey":        11,
}
View Source
var E_WireBootloader = &proto.ExtensionDesc{
	ExtendedType:  (*protobuf.EnumValueOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         50007,
	Name:          "wire_bootloader",
	Tag:           "varint,50007,opt,name=wire_bootloader,json=wireBootloader",
	Filename:      "types.proto",
}
View Source
var E_WireDebugIn = &proto.ExtensionDesc{
	ExtendedType:  (*protobuf.EnumValueOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         50004,
	Name:          "wire_debug_in",
	Tag:           "varint,50004,opt,name=wire_debug_in,json=wireDebugIn",
	Filename:      "types.proto",
}
View Source
var E_WireDebugOut = &proto.ExtensionDesc{
	ExtendedType:  (*protobuf.EnumValueOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         50005,
	Name:          "wire_debug_out",
	Tag:           "varint,50005,opt,name=wire_debug_out,json=wireDebugOut",
	Filename:      "types.proto",
}
View Source
var E_WireIn = &proto.ExtensionDesc{
	ExtendedType:  (*protobuf.EnumValueOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         50002,
	Name:          "wire_in",
	Tag:           "varint,50002,opt,name=wire_in,json=wireIn",
	Filename:      "types.proto",
}
View Source
var E_WireOut = &proto.ExtensionDesc{
	ExtendedType:  (*protobuf.EnumValueOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         50003,
	Name:          "wire_out",
	Tag:           "varint,50003,opt,name=wire_out,json=wireOut",
	Filename:      "types.proto",
}
View Source
var E_WireTiny = &proto.ExtensionDesc{
	ExtendedType:  (*protobuf.EnumValueOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         50006,
	Name:          "wire_tiny",
	Tag:           "varint,50006,opt,name=wire_tiny,json=wireTiny",
	Filename:      "types.proto",
}
View Source
var FailureType_name = map[int32]string{
	1:  "Failure_UnexpectedMessage",
	2:  "Failure_ButtonExpected",
	3:  "Failure_DataError",
	4:  "Failure_ActionCancelled",
	5:  "Failure_PinExpected",
	6:  "Failure_PinCancelled",
	7:  "Failure_PinInvalid",
	8:  "Failure_InvalidSignature",
	9:  "Failure_ProcessError",
	10: "Failure_NotEnoughFunds",
	11: "Failure_NotInitialized",
	99: "Failure_FirmwareError",
}
View Source
var FailureType_value = map[string]int32{
	"Failure_UnexpectedMessage": 1,
	"Failure_ButtonExpected":    2,
	"Failure_DataError":         3,
	"Failure_ActionCancelled":   4,
	"Failure_PinExpected":       5,
	"Failure_PinCancelled":      6,
	"Failure_PinInvalid":        7,
	"Failure_InvalidSignature":  8,
	"Failure_ProcessError":      9,
	"Failure_NotEnoughFunds":    10,
	"Failure_NotInitialized":    11,
	"Failure_FirmwareError":     99,
}
View Source
var InputScriptType_name = map[int32]string{
	0: "SPENDADDRESS",
	1: "SPENDMULTISIG",
	2: "EXTERNAL",
	3: "SPENDWITNESS",
	4: "SPENDP2SHWITNESS",
}
View Source
var InputScriptType_value = map[string]int32{
	"SPENDADDRESS":     0,
	"SPENDMULTISIG":    1,
	"EXTERNAL":         2,
	"SPENDWITNESS":     3,
	"SPENDP2SHWITNESS": 4,
}
View Source
var NEMImportanceTransferMode_name = map[int32]string{
	1: "ImportanceTransfer_Activate",
	2: "ImportanceTransfer_Deactivate",
}
View Source
var NEMImportanceTransferMode_value = map[string]int32{
	"ImportanceTransfer_Activate":   1,
	"ImportanceTransfer_Deactivate": 2,
}
View Source
var NEMModificationType_name = map[int32]string{
	1: "CosignatoryModification_Add",
	2: "CosignatoryModification_Delete",
}
View Source
var NEMModificationType_value = map[string]int32{
	"CosignatoryModification_Add":    1,
	"CosignatoryModification_Delete": 2,
}
View Source
var NEMMosaicLevy_name = map[int32]string{
	1: "MosaicLevy_Absolute",
	2: "MosaicLevy_Percentile",
}
View Source
var NEMMosaicLevy_value = map[string]int32{
	"MosaicLevy_Absolute":   1,
	"MosaicLevy_Percentile": 2,
}
View Source
var NEMSupplyChangeType_name = map[int32]string{
	1: "SupplyChange_Increase",
	2: "SupplyChange_Decrease",
}
View Source
var NEMSupplyChangeType_value = map[string]int32{
	"SupplyChange_Increase": 1,
	"SupplyChange_Decrease": 2,
}
View Source
var OutputScriptType_name = map[int32]string{
	0: "PAYTOADDRESS",
	1: "PAYTOSCRIPTHASH",
	2: "PAYTOMULTISIG",
	3: "PAYTOOPRETURN",
	4: "PAYTOWITNESS",
	5: "PAYTOP2SHWITNESS",
}
View Source
var OutputScriptType_value = map[string]int32{
	"PAYTOADDRESS":     0,
	"PAYTOSCRIPTHASH":  1,
	"PAYTOMULTISIG":    2,
	"PAYTOOPRETURN":    3,
	"PAYTOWITNESS":     4,
	"PAYTOP2SHWITNESS": 5,
}
View Source
var PinMatrixRequestType_name = map[int32]string{
	1: "PinMatrixRequestType_Current",
	2: "PinMatrixRequestType_NewFirst",
	3: "PinMatrixRequestType_NewSecond",
}
View Source
var PinMatrixRequestType_value = map[string]int32{
	"PinMatrixRequestType_Current":   1,
	"PinMatrixRequestType_NewFirst":  2,
	"PinMatrixRequestType_NewSecond": 3,
}
View Source
var RecoveryDeviceType_name = map[int32]string{
	0: "RecoveryDeviceType_ScrambledWords",
	1: "RecoveryDeviceType_Matrix",
}
View Source
var RecoveryDeviceType_value = map[string]int32{
	"RecoveryDeviceType_ScrambledWords": 0,
	"RecoveryDeviceType_Matrix":         1,
}
View Source
var RequestType_name = map[int32]string{
	0: "TXINPUT",
	1: "TXOUTPUT",
	2: "TXMETA",
	3: "TXFINISHED",
	4: "TXEXTRADATA",
}
View Source
var RequestType_value = map[string]int32{
	"TXINPUT":     0,
	"TXOUTPUT":    1,
	"TXMETA":      2,
	"TXFINISHED":  3,
	"TXEXTRADATA": 4,
}
View Source
var WordRequestType_name = map[int32]string{
	0: "WordRequestType_Plain",
	1: "WordRequestType_Matrix9",
	2: "WordRequestType_Matrix6",
}
View Source
var WordRequestType_value = map[string]int32{
	"WordRequestType_Plain":   0,
	"WordRequestType_Matrix9": 1,
	"WordRequestType_Matrix6": 2,
}

Functions

This section is empty.

Types

type ButtonRequestType

type ButtonRequestType int32

* Type of button request @used_in ButtonRequest

const (
	ButtonRequestType_ButtonRequest_Other            ButtonRequestType = 1
	ButtonRequestType_ButtonRequest_FeeOverThreshold ButtonRequestType = 2
	ButtonRequestType_ButtonRequest_ConfirmOutput    ButtonRequestType = 3
	ButtonRequestType_ButtonRequest_ResetDevice      ButtonRequestType = 4
	ButtonRequestType_ButtonRequest_ConfirmWord      ButtonRequestType = 5
	ButtonRequestType_ButtonRequest_WipeDevice       ButtonRequestType = 6
	ButtonRequestType_ButtonRequest_ProtectCall      ButtonRequestType = 7
	ButtonRequestType_ButtonRequest_SignTx           ButtonRequestType = 8
	ButtonRequestType_ButtonRequest_FirmwareCheck    ButtonRequestType = 9
	ButtonRequestType_ButtonRequest_Address          ButtonRequestType = 10
	ButtonRequestType_ButtonRequest_PublicKey        ButtonRequestType = 11
)

func (ButtonRequestType) Enum

func (ButtonRequestType) EnumDescriptor

func (ButtonRequestType) EnumDescriptor() ([]byte, []int)

func (ButtonRequestType) String

func (x ButtonRequestType) String() string

func (*ButtonRequestType) UnmarshalJSON

func (x *ButtonRequestType) UnmarshalJSON(data []byte) error

type CoinType

type CoinType struct {
	CoinName             *string  `protobuf:"bytes,1,opt,name=coin_name,json=coinName" json:"coin_name,omitempty"`
	CoinShortcut         *string  `protobuf:"bytes,2,opt,name=coin_shortcut,json=coinShortcut" json:"coin_shortcut,omitempty"`
	AddressType          *uint32  `protobuf:"varint,3,opt,name=address_type,json=addressType,def=0" json:"address_type,omitempty"`
	MaxfeeKb             *uint64  `protobuf:"varint,4,opt,name=maxfee_kb,json=maxfeeKb" json:"maxfee_kb,omitempty"`
	AddressTypeP2Sh      *uint32  `protobuf:"varint,5,opt,name=address_type_p2sh,json=addressTypeP2sh,def=5" json:"address_type_p2sh,omitempty"`
	SignedMessageHeader  *string  `protobuf:"bytes,8,opt,name=signed_message_header,json=signedMessageHeader" json:"signed_message_header,omitempty"`
	XpubMagic            *uint32  `protobuf:"varint,9,opt,name=xpub_magic,json=xpubMagic,def=76067358" json:"xpub_magic,omitempty"`
	XprvMagic            *uint32  `protobuf:"varint,10,opt,name=xprv_magic,json=xprvMagic,def=76066276" json:"xprv_magic,omitempty"`
	Segwit               *bool    `protobuf:"varint,11,opt,name=segwit" json:"segwit,omitempty"`
	Forkid               *uint32  `protobuf:"varint,12,opt,name=forkid" json:"forkid,omitempty"`
	ForceBip143          *bool    `protobuf:"varint,13,opt,name=force_bip143,json=forceBip143" json:"force_bip143,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Structure representing Coin @used_in Features

func (*CoinType) Descriptor

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

func (*CoinType) GetAddressType

func (m *CoinType) GetAddressType() uint32

func (*CoinType) GetAddressTypeP2Sh

func (m *CoinType) GetAddressTypeP2Sh() uint32

func (*CoinType) GetCoinName

func (m *CoinType) GetCoinName() string

func (*CoinType) GetCoinShortcut

func (m *CoinType) GetCoinShortcut() string

func (*CoinType) GetForceBip143

func (m *CoinType) GetForceBip143() bool

func (*CoinType) GetForkid

func (m *CoinType) GetForkid() uint32

func (*CoinType) GetMaxfeeKb

func (m *CoinType) GetMaxfeeKb() uint64

func (*CoinType) GetSegwit

func (m *CoinType) GetSegwit() bool

func (*CoinType) GetSignedMessageHeader

func (m *CoinType) GetSignedMessageHeader() string

func (*CoinType) GetXprvMagic

func (m *CoinType) GetXprvMagic() uint32

func (*CoinType) GetXpubMagic

func (m *CoinType) GetXpubMagic() uint32

func (*CoinType) ProtoMessage

func (*CoinType) ProtoMessage()

func (*CoinType) Reset

func (m *CoinType) Reset()

func (*CoinType) String

func (m *CoinType) String() string

func (*CoinType) XXX_DiscardUnknown

func (m *CoinType) XXX_DiscardUnknown()

func (*CoinType) XXX_Marshal

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

func (*CoinType) XXX_Merge

func (dst *CoinType) XXX_Merge(src proto.Message)

func (*CoinType) XXX_Size

func (m *CoinType) XXX_Size() int

func (*CoinType) XXX_Unmarshal

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

type FailureType

type FailureType int32

* Type of failures returned by Failure message @used_in Failure

const (
	FailureType_Failure_UnexpectedMessage FailureType = 1
	FailureType_Failure_ButtonExpected    FailureType = 2
	FailureType_Failure_DataError         FailureType = 3
	FailureType_Failure_ActionCancelled   FailureType = 4
	FailureType_Failure_PinExpected       FailureType = 5
	FailureType_Failure_PinCancelled      FailureType = 6
	FailureType_Failure_PinInvalid        FailureType = 7
	FailureType_Failure_InvalidSignature  FailureType = 8
	FailureType_Failure_ProcessError      FailureType = 9
	FailureType_Failure_NotEnoughFunds    FailureType = 10
	FailureType_Failure_NotInitialized    FailureType = 11
	FailureType_Failure_FirmwareError     FailureType = 99
)

func (FailureType) Enum

func (x FailureType) Enum() *FailureType

func (FailureType) EnumDescriptor

func (FailureType) EnumDescriptor() ([]byte, []int)

func (FailureType) String

func (x FailureType) String() string

func (*FailureType) UnmarshalJSON

func (x *FailureType) UnmarshalJSON(data []byte) error

type HDNodePathType

type HDNodePathType struct {
	Node                 *HDNodeType `protobuf:"bytes,1,req,name=node" json:"node,omitempty"`
	AddressN             []uint32    `protobuf:"varint,2,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*HDNodePathType) Descriptor

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

func (*HDNodePathType) GetAddressN

func (m *HDNodePathType) GetAddressN() []uint32

func (*HDNodePathType) GetNode

func (m *HDNodePathType) GetNode() *HDNodeType

func (*HDNodePathType) ProtoMessage

func (*HDNodePathType) ProtoMessage()

func (*HDNodePathType) Reset

func (m *HDNodePathType) Reset()

func (*HDNodePathType) String

func (m *HDNodePathType) String() string

func (*HDNodePathType) XXX_DiscardUnknown

func (m *HDNodePathType) XXX_DiscardUnknown()

func (*HDNodePathType) XXX_Marshal

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

func (*HDNodePathType) XXX_Merge

func (dst *HDNodePathType) XXX_Merge(src proto.Message)

func (*HDNodePathType) XXX_Size

func (m *HDNodePathType) XXX_Size() int

func (*HDNodePathType) XXX_Unmarshal

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

type HDNodeType

type HDNodeType struct {
	Depth                *uint32  `protobuf:"varint,1,req,name=depth" json:"depth,omitempty"`
	Fingerprint          *uint32  `protobuf:"varint,2,req,name=fingerprint" json:"fingerprint,omitempty"`
	ChildNum             *uint32  `protobuf:"varint,3,req,name=child_num,json=childNum" json:"child_num,omitempty"`
	ChainCode            []byte   `protobuf:"bytes,4,req,name=chain_code,json=chainCode" json:"chain_code,omitempty"`
	PrivateKey           []byte   `protobuf:"bytes,5,opt,name=private_key,json=privateKey" json:"private_key,omitempty"`
	PublicKey            []byte   `protobuf:"bytes,6,opt,name=public_key,json=publicKey" json:"public_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Structure representing BIP32 (hierarchical deterministic) node Used for imports of private key into the device and exporting public key out of device @used_in PublicKey @used_in LoadDevice @used_in DebugLinkState @used_in Storage

func (*HDNodeType) Descriptor

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

func (*HDNodeType) GetChainCode

func (m *HDNodeType) GetChainCode() []byte

func (*HDNodeType) GetChildNum

func (m *HDNodeType) GetChildNum() uint32

func (*HDNodeType) GetDepth

func (m *HDNodeType) GetDepth() uint32

func (*HDNodeType) GetFingerprint

func (m *HDNodeType) GetFingerprint() uint32

func (*HDNodeType) GetPrivateKey

func (m *HDNodeType) GetPrivateKey() []byte

func (*HDNodeType) GetPublicKey

func (m *HDNodeType) GetPublicKey() []byte

func (*HDNodeType) ProtoMessage

func (*HDNodeType) ProtoMessage()

func (*HDNodeType) Reset

func (m *HDNodeType) Reset()

func (*HDNodeType) String

func (m *HDNodeType) String() string

func (*HDNodeType) XXX_DiscardUnknown

func (m *HDNodeType) XXX_DiscardUnknown()

func (*HDNodeType) XXX_Marshal

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

func (*HDNodeType) XXX_Merge

func (dst *HDNodeType) XXX_Merge(src proto.Message)

func (*HDNodeType) XXX_Size

func (m *HDNodeType) XXX_Size() int

func (*HDNodeType) XXX_Unmarshal

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

type IdentityType

type IdentityType struct {
	Proto                *string  `protobuf:"bytes,1,opt,name=proto" json:"proto,omitempty"`
	User                 *string  `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"`
	Host                 *string  `protobuf:"bytes,3,opt,name=host" json:"host,omitempty"`
	Port                 *string  `protobuf:"bytes,4,opt,name=port" json:"port,omitempty"`
	Path                 *string  `protobuf:"bytes,5,opt,name=path" json:"path,omitempty"`
	Index                *uint32  `protobuf:"varint,6,opt,name=index,def=0" json:"index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Structure representing identity data @used_in IdentityType

func (*IdentityType) Descriptor

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

func (*IdentityType) GetHost

func (m *IdentityType) GetHost() string

func (*IdentityType) GetIndex

func (m *IdentityType) GetIndex() uint32

func (*IdentityType) GetPath

func (m *IdentityType) GetPath() string

func (*IdentityType) GetPort

func (m *IdentityType) GetPort() string

func (*IdentityType) GetProto

func (m *IdentityType) GetProto() string

func (*IdentityType) GetUser

func (m *IdentityType) GetUser() string

func (*IdentityType) ProtoMessage

func (*IdentityType) ProtoMessage()

func (*IdentityType) Reset

func (m *IdentityType) Reset()

func (*IdentityType) String

func (m *IdentityType) String() string

func (*IdentityType) XXX_DiscardUnknown

func (m *IdentityType) XXX_DiscardUnknown()

func (*IdentityType) XXX_Marshal

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

func (*IdentityType) XXX_Merge

func (dst *IdentityType) XXX_Merge(src proto.Message)

func (*IdentityType) XXX_Size

func (m *IdentityType) XXX_Size() int

func (*IdentityType) XXX_Unmarshal

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

type InputScriptType

type InputScriptType int32

* Type of script which will be used for transaction output @used_in TxInputType

const (
	InputScriptType_SPENDADDRESS     InputScriptType = 0
	InputScriptType_SPENDMULTISIG    InputScriptType = 1
	InputScriptType_EXTERNAL         InputScriptType = 2
	InputScriptType_SPENDWITNESS     InputScriptType = 3
	InputScriptType_SPENDP2SHWITNESS InputScriptType = 4
)
const Default_TxInputType_ScriptType InputScriptType = InputScriptType_SPENDADDRESS

func (InputScriptType) Enum

func (x InputScriptType) Enum() *InputScriptType

func (InputScriptType) EnumDescriptor

func (InputScriptType) EnumDescriptor() ([]byte, []int)

func (InputScriptType) String

func (x InputScriptType) String() string

func (*InputScriptType) UnmarshalJSON

func (x *InputScriptType) UnmarshalJSON(data []byte) error

type MultisigRedeemScriptType

type MultisigRedeemScriptType struct {
	Pubkeys              []*HDNodePathType `protobuf:"bytes,1,rep,name=pubkeys" json:"pubkeys,omitempty"`
	Signatures           [][]byte          `protobuf:"bytes,2,rep,name=signatures" json:"signatures,omitempty"`
	M                    *uint32           `protobuf:"varint,3,opt,name=m" json:"m,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

* Type of redeem script used in input @used_in TxInputType

func (*MultisigRedeemScriptType) Descriptor

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

func (*MultisigRedeemScriptType) GetM

func (m *MultisigRedeemScriptType) GetM() uint32

func (*MultisigRedeemScriptType) GetPubkeys

func (m *MultisigRedeemScriptType) GetPubkeys() []*HDNodePathType

func (*MultisigRedeemScriptType) GetSignatures

func (m *MultisigRedeemScriptType) GetSignatures() [][]byte

func (*MultisigRedeemScriptType) ProtoMessage

func (*MultisigRedeemScriptType) ProtoMessage()

func (*MultisigRedeemScriptType) Reset

func (m *MultisigRedeemScriptType) Reset()

func (*MultisigRedeemScriptType) String

func (m *MultisigRedeemScriptType) String() string

func (*MultisigRedeemScriptType) XXX_DiscardUnknown

func (m *MultisigRedeemScriptType) XXX_DiscardUnknown()

func (*MultisigRedeemScriptType) XXX_Marshal

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

func (*MultisigRedeemScriptType) XXX_Merge

func (dst *MultisigRedeemScriptType) XXX_Merge(src proto.Message)

func (*MultisigRedeemScriptType) XXX_Size

func (m *MultisigRedeemScriptType) XXX_Size() int

func (*MultisigRedeemScriptType) XXX_Unmarshal

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

type NEMAggregateModification

type NEMAggregateModification struct {
	Modifications        []*NEMCosignatoryModification `protobuf:"bytes,1,rep,name=modifications" json:"modifications,omitempty"`
	RelativeChange       *int32                        `protobuf:"zigzag32,2,opt,name=relative_change,json=relativeChange" json:"relative_change,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

* Structure representing the aggregate modification part for NEM transactions @used_in NEMSignTx

func (*NEMAggregateModification) Descriptor

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

func (*NEMAggregateModification) GetModifications

func (m *NEMAggregateModification) GetModifications() []*NEMCosignatoryModification

func (*NEMAggregateModification) GetRelativeChange

func (m *NEMAggregateModification) GetRelativeChange() int32

func (*NEMAggregateModification) ProtoMessage

func (*NEMAggregateModification) ProtoMessage()

func (*NEMAggregateModification) Reset

func (m *NEMAggregateModification) Reset()

func (*NEMAggregateModification) String

func (m *NEMAggregateModification) String() string

func (*NEMAggregateModification) XXX_DiscardUnknown

func (m *NEMAggregateModification) XXX_DiscardUnknown()

func (*NEMAggregateModification) XXX_Marshal

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

func (*NEMAggregateModification) XXX_Merge

func (dst *NEMAggregateModification) XXX_Merge(src proto.Message)

func (*NEMAggregateModification) XXX_Size

func (m *NEMAggregateModification) XXX_Size() int

func (*NEMAggregateModification) XXX_Unmarshal

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

type NEMCosignatoryModification

type NEMCosignatoryModification struct {
	Type                 *NEMModificationType `protobuf:"varint,1,opt,name=type,enum=NEMModificationType" json:"type,omitempty"`
	PublicKey            []byte               `protobuf:"bytes,2,opt,name=public_key,json=publicKey" json:"public_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

* Structure representing the cosignatory modification for aggregate modification transactions @used_in NEMAggregateMdofiication

func (*NEMCosignatoryModification) Descriptor

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

func (*NEMCosignatoryModification) GetPublicKey

func (m *NEMCosignatoryModification) GetPublicKey() []byte

func (*NEMCosignatoryModification) GetType

func (*NEMCosignatoryModification) ProtoMessage

func (*NEMCosignatoryModification) ProtoMessage()

func (*NEMCosignatoryModification) Reset

func (m *NEMCosignatoryModification) Reset()

func (*NEMCosignatoryModification) String

func (m *NEMCosignatoryModification) String() string

func (*NEMCosignatoryModification) XXX_DiscardUnknown

func (m *NEMCosignatoryModification) XXX_DiscardUnknown()

func (*NEMCosignatoryModification) XXX_Marshal

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

func (*NEMCosignatoryModification) XXX_Merge

func (dst *NEMCosignatoryModification) XXX_Merge(src proto.Message)

func (*NEMCosignatoryModification) XXX_Size

func (m *NEMCosignatoryModification) XXX_Size() int

func (*NEMCosignatoryModification) XXX_Unmarshal

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

type NEMImportanceTransfer

type NEMImportanceTransfer struct {
	Mode                 *NEMImportanceTransferMode `protobuf:"varint,1,opt,name=mode,enum=NEMImportanceTransferMode" json:"mode,omitempty"`
	PublicKey            []byte                     `protobuf:"bytes,2,opt,name=public_key,json=publicKey" json:"public_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

* Structure representing the importance transfer part for NEM transactions @used_in NEMSignTx

func (*NEMImportanceTransfer) Descriptor

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

func (*NEMImportanceTransfer) GetMode

func (*NEMImportanceTransfer) GetPublicKey

func (m *NEMImportanceTransfer) GetPublicKey() []byte

func (*NEMImportanceTransfer) ProtoMessage

func (*NEMImportanceTransfer) ProtoMessage()

func (*NEMImportanceTransfer) Reset

func (m *NEMImportanceTransfer) Reset()

func (*NEMImportanceTransfer) String

func (m *NEMImportanceTransfer) String() string

func (*NEMImportanceTransfer) XXX_DiscardUnknown

func (m *NEMImportanceTransfer) XXX_DiscardUnknown()

func (*NEMImportanceTransfer) XXX_Marshal

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

func (*NEMImportanceTransfer) XXX_Merge

func (dst *NEMImportanceTransfer) XXX_Merge(src proto.Message)

func (*NEMImportanceTransfer) XXX_Size

func (m *NEMImportanceTransfer) XXX_Size() int

func (*NEMImportanceTransfer) XXX_Unmarshal

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

type NEMImportanceTransferMode

type NEMImportanceTransferMode int32

* Mode of importance transfer @used_in NEMModificationType

const (
	NEMImportanceTransferMode_ImportanceTransfer_Activate   NEMImportanceTransferMode = 1
	NEMImportanceTransferMode_ImportanceTransfer_Deactivate NEMImportanceTransferMode = 2
)

func (NEMImportanceTransferMode) Enum

func (NEMImportanceTransferMode) EnumDescriptor

func (NEMImportanceTransferMode) EnumDescriptor() ([]byte, []int)

func (NEMImportanceTransferMode) String

func (x NEMImportanceTransferMode) String() string

func (*NEMImportanceTransferMode) UnmarshalJSON

func (x *NEMImportanceTransferMode) UnmarshalJSON(data []byte) error

type NEMModificationType

type NEMModificationType int32

* Type of cosignatory modification @used_in NEMCosignatoryModification

const (
	NEMModificationType_CosignatoryModification_Add    NEMModificationType = 1
	NEMModificationType_CosignatoryModification_Delete NEMModificationType = 2
)

func (NEMModificationType) Enum

func (NEMModificationType) EnumDescriptor

func (NEMModificationType) EnumDescriptor() ([]byte, []int)

func (NEMModificationType) String

func (x NEMModificationType) String() string

func (*NEMModificationType) UnmarshalJSON

func (x *NEMModificationType) UnmarshalJSON(data []byte) error

type NEMMosaic

type NEMMosaic struct {
	Namespace            *string  `protobuf:"bytes,1,opt,name=namespace" json:"namespace,omitempty"`
	Mosaic               *string  `protobuf:"bytes,2,opt,name=mosaic" json:"mosaic,omitempty"`
	Quantity             *uint64  `protobuf:"varint,3,opt,name=quantity" json:"quantity,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Structure representing the mosaic attachment for NEM transfer transactions @used_in NEMTransfer

func (*NEMMosaic) Descriptor

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

func (*NEMMosaic) GetMosaic

func (m *NEMMosaic) GetMosaic() string

func (*NEMMosaic) GetNamespace

func (m *NEMMosaic) GetNamespace() string

func (*NEMMosaic) GetQuantity

func (m *NEMMosaic) GetQuantity() uint64

func (*NEMMosaic) ProtoMessage

func (*NEMMosaic) ProtoMessage()

func (*NEMMosaic) Reset

func (m *NEMMosaic) Reset()

func (*NEMMosaic) String

func (m *NEMMosaic) String() string

func (*NEMMosaic) XXX_DiscardUnknown

func (m *NEMMosaic) XXX_DiscardUnknown()

func (*NEMMosaic) XXX_Marshal

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

func (*NEMMosaic) XXX_Merge

func (dst *NEMMosaic) XXX_Merge(src proto.Message)

func (*NEMMosaic) XXX_Size

func (m *NEMMosaic) XXX_Size() int

func (*NEMMosaic) XXX_Unmarshal

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

type NEMMosaicCreation

type NEMMosaicCreation struct {
	Definition           *NEMMosaicDefinition `protobuf:"bytes,1,opt,name=definition" json:"definition,omitempty"`
	Sink                 *string              `protobuf:"bytes,2,opt,name=sink" json:"sink,omitempty"`
	Fee                  *uint64              `protobuf:"varint,3,opt,name=fee" json:"fee,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

* Structure representing the mosaic definition creation part for NEM transactions @used_in NEMSignTx

func (*NEMMosaicCreation) Descriptor

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

func (*NEMMosaicCreation) GetDefinition

func (m *NEMMosaicCreation) GetDefinition() *NEMMosaicDefinition

func (*NEMMosaicCreation) GetFee

func (m *NEMMosaicCreation) GetFee() uint64

func (*NEMMosaicCreation) GetSink

func (m *NEMMosaicCreation) GetSink() string

func (*NEMMosaicCreation) ProtoMessage

func (*NEMMosaicCreation) ProtoMessage()

func (*NEMMosaicCreation) Reset

func (m *NEMMosaicCreation) Reset()

func (*NEMMosaicCreation) String

func (m *NEMMosaicCreation) String() string

func (*NEMMosaicCreation) XXX_DiscardUnknown

func (m *NEMMosaicCreation) XXX_DiscardUnknown()

func (*NEMMosaicCreation) XXX_Marshal

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

func (*NEMMosaicCreation) XXX_Merge

func (dst *NEMMosaicCreation) XXX_Merge(src proto.Message)

func (*NEMMosaicCreation) XXX_Size

func (m *NEMMosaicCreation) XXX_Size() int

func (*NEMMosaicCreation) XXX_Unmarshal

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

type NEMMosaicDefinition

type NEMMosaicDefinition struct {
	Name                 *string        `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Ticker               *string        `protobuf:"bytes,2,opt,name=ticker" json:"ticker,omitempty"`
	Namespace            *string        `protobuf:"bytes,3,opt,name=namespace" json:"namespace,omitempty"`
	Mosaic               *string        `protobuf:"bytes,4,opt,name=mosaic" json:"mosaic,omitempty"`
	Divisibility         *uint32        `protobuf:"varint,5,opt,name=divisibility" json:"divisibility,omitempty"`
	Levy                 *NEMMosaicLevy `protobuf:"varint,6,opt,name=levy,enum=NEMMosaicLevy" json:"levy,omitempty"`
	Fee                  *uint64        `protobuf:"varint,7,opt,name=fee" json:"fee,omitempty"`
	LevyAddress          *string        `protobuf:"bytes,8,opt,name=levy_address,json=levyAddress" json:"levy_address,omitempty"`
	LevyNamespace        *string        `protobuf:"bytes,9,opt,name=levy_namespace,json=levyNamespace" json:"levy_namespace,omitempty"`
	LevyMosaic           *string        `protobuf:"bytes,10,opt,name=levy_mosaic,json=levyMosaic" json:"levy_mosaic,omitempty"`
	Supply               *uint64        `protobuf:"varint,11,opt,name=supply" json:"supply,omitempty"`
	MutableSupply        *bool          `protobuf:"varint,12,opt,name=mutable_supply,json=mutableSupply" json:"mutable_supply,omitempty"`
	Transferable         *bool          `protobuf:"varint,13,opt,name=transferable" json:"transferable,omitempty"`
	Description          *string        `protobuf:"bytes,14,opt,name=description" json:"description,omitempty"`
	Networks             []uint32       `protobuf:"varint,15,rep,name=networks" json:"networks,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

* Structure representing a mosaic definition @used_in NEMMosaicCreation

func (*NEMMosaicDefinition) Descriptor

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

func (*NEMMosaicDefinition) GetDescription

func (m *NEMMosaicDefinition) GetDescription() string

func (*NEMMosaicDefinition) GetDivisibility

func (m *NEMMosaicDefinition) GetDivisibility() uint32

func (*NEMMosaicDefinition) GetFee

func (m *NEMMosaicDefinition) GetFee() uint64

func (*NEMMosaicDefinition) GetLevy

func (m *NEMMosaicDefinition) GetLevy() NEMMosaicLevy

func (*NEMMosaicDefinition) GetLevyAddress

func (m *NEMMosaicDefinition) GetLevyAddress() string

func (*NEMMosaicDefinition) GetLevyMosaic

func (m *NEMMosaicDefinition) GetLevyMosaic() string

func (*NEMMosaicDefinition) GetLevyNamespace

func (m *NEMMosaicDefinition) GetLevyNamespace() string

func (*NEMMosaicDefinition) GetMosaic

func (m *NEMMosaicDefinition) GetMosaic() string

func (*NEMMosaicDefinition) GetMutableSupply

func (m *NEMMosaicDefinition) GetMutableSupply() bool

func (*NEMMosaicDefinition) GetName

func (m *NEMMosaicDefinition) GetName() string

func (*NEMMosaicDefinition) GetNamespace

func (m *NEMMosaicDefinition) GetNamespace() string

func (*NEMMosaicDefinition) GetNetworks

func (m *NEMMosaicDefinition) GetNetworks() []uint32

func (*NEMMosaicDefinition) GetSupply

func (m *NEMMosaicDefinition) GetSupply() uint64

func (*NEMMosaicDefinition) GetTicker

func (m *NEMMosaicDefinition) GetTicker() string

func (*NEMMosaicDefinition) GetTransferable

func (m *NEMMosaicDefinition) GetTransferable() bool

func (*NEMMosaicDefinition) ProtoMessage

func (*NEMMosaicDefinition) ProtoMessage()

func (*NEMMosaicDefinition) Reset

func (m *NEMMosaicDefinition) Reset()

func (*NEMMosaicDefinition) String

func (m *NEMMosaicDefinition) String() string

func (*NEMMosaicDefinition) XXX_DiscardUnknown

func (m *NEMMosaicDefinition) XXX_DiscardUnknown()

func (*NEMMosaicDefinition) XXX_Marshal

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

func (*NEMMosaicDefinition) XXX_Merge

func (dst *NEMMosaicDefinition) XXX_Merge(src proto.Message)

func (*NEMMosaicDefinition) XXX_Size

func (m *NEMMosaicDefinition) XXX_Size() int

func (*NEMMosaicDefinition) XXX_Unmarshal

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

type NEMMosaicLevy

type NEMMosaicLevy int32

* Type of levy which will be used for mosaic @used_in NEMMosaicDefinition

const (
	NEMMosaicLevy_MosaicLevy_Absolute   NEMMosaicLevy = 1
	NEMMosaicLevy_MosaicLevy_Percentile NEMMosaicLevy = 2
)

func (NEMMosaicLevy) Enum

func (x NEMMosaicLevy) Enum() *NEMMosaicLevy

func (NEMMosaicLevy) EnumDescriptor

func (NEMMosaicLevy) EnumDescriptor() ([]byte, []int)

func (NEMMosaicLevy) String

func (x NEMMosaicLevy) String() string

func (*NEMMosaicLevy) UnmarshalJSON

func (x *NEMMosaicLevy) UnmarshalJSON(data []byte) error

type NEMMosaicSupplyChange

type NEMMosaicSupplyChange struct {
	Namespace            *string              `protobuf:"bytes,1,opt,name=namespace" json:"namespace,omitempty"`
	Mosaic               *string              `protobuf:"bytes,2,opt,name=mosaic" json:"mosaic,omitempty"`
	Type                 *NEMSupplyChangeType `protobuf:"varint,3,opt,name=type,enum=NEMSupplyChangeType" json:"type,omitempty"`
	Delta                *uint64              `protobuf:"varint,4,opt,name=delta" json:"delta,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

* Structure representing the mosaic supply change part for NEM transactions @used_in NEMSignTx

func (*NEMMosaicSupplyChange) Descriptor

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

func (*NEMMosaicSupplyChange) GetDelta

func (m *NEMMosaicSupplyChange) GetDelta() uint64

func (*NEMMosaicSupplyChange) GetMosaic

func (m *NEMMosaicSupplyChange) GetMosaic() string

func (*NEMMosaicSupplyChange) GetNamespace

func (m *NEMMosaicSupplyChange) GetNamespace() string

func (*NEMMosaicSupplyChange) GetType

func (*NEMMosaicSupplyChange) ProtoMessage

func (*NEMMosaicSupplyChange) ProtoMessage()

func (*NEMMosaicSupplyChange) Reset

func (m *NEMMosaicSupplyChange) Reset()

func (*NEMMosaicSupplyChange) String

func (m *NEMMosaicSupplyChange) String() string

func (*NEMMosaicSupplyChange) XXX_DiscardUnknown

func (m *NEMMosaicSupplyChange) XXX_DiscardUnknown()

func (*NEMMosaicSupplyChange) XXX_Marshal

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

func (*NEMMosaicSupplyChange) XXX_Merge

func (dst *NEMMosaicSupplyChange) XXX_Merge(src proto.Message)

func (*NEMMosaicSupplyChange) XXX_Size

func (m *NEMMosaicSupplyChange) XXX_Size() int

func (*NEMMosaicSupplyChange) XXX_Unmarshal

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

type NEMProvisionNamespace

type NEMProvisionNamespace struct {
	Namespace            *string  `protobuf:"bytes,1,opt,name=namespace" json:"namespace,omitempty"`
	Parent               *string  `protobuf:"bytes,2,opt,name=parent" json:"parent,omitempty"`
	Sink                 *string  `protobuf:"bytes,3,opt,name=sink" json:"sink,omitempty"`
	Fee                  *uint64  `protobuf:"varint,4,opt,name=fee" json:"fee,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Structure representing the provision namespace part for NEM transactions @used_in NEMSignTx

func (*NEMProvisionNamespace) Descriptor

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

func (*NEMProvisionNamespace) GetFee

func (m *NEMProvisionNamespace) GetFee() uint64

func (*NEMProvisionNamespace) GetNamespace

func (m *NEMProvisionNamespace) GetNamespace() string

func (*NEMProvisionNamespace) GetParent

func (m *NEMProvisionNamespace) GetParent() string

func (*NEMProvisionNamespace) GetSink

func (m *NEMProvisionNamespace) GetSink() string

func (*NEMProvisionNamespace) ProtoMessage

func (*NEMProvisionNamespace) ProtoMessage()

func (*NEMProvisionNamespace) Reset

func (m *NEMProvisionNamespace) Reset()

func (*NEMProvisionNamespace) String

func (m *NEMProvisionNamespace) String() string

func (*NEMProvisionNamespace) XXX_DiscardUnknown

func (m *NEMProvisionNamespace) XXX_DiscardUnknown()

func (*NEMProvisionNamespace) XXX_Marshal

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

func (*NEMProvisionNamespace) XXX_Merge

func (dst *NEMProvisionNamespace) XXX_Merge(src proto.Message)

func (*NEMProvisionNamespace) XXX_Size

func (m *NEMProvisionNamespace) XXX_Size() int

func (*NEMProvisionNamespace) XXX_Unmarshal

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

type NEMSupplyChangeType

type NEMSupplyChangeType int32

* Type of supply change which will be applied to mosaic @used_in NEMMosaicSupplyChange

const (
	NEMSupplyChangeType_SupplyChange_Increase NEMSupplyChangeType = 1
	NEMSupplyChangeType_SupplyChange_Decrease NEMSupplyChangeType = 2
)

func (NEMSupplyChangeType) Enum

func (NEMSupplyChangeType) EnumDescriptor

func (NEMSupplyChangeType) EnumDescriptor() ([]byte, []int)

func (NEMSupplyChangeType) String

func (x NEMSupplyChangeType) String() string

func (*NEMSupplyChangeType) UnmarshalJSON

func (x *NEMSupplyChangeType) UnmarshalJSON(data []byte) error

type NEMTransactionCommon

type NEMTransactionCommon struct {
	AddressN             []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
	Network              *uint32  `protobuf:"varint,2,opt,name=network" json:"network,omitempty"`
	Timestamp            *uint32  `protobuf:"varint,3,opt,name=timestamp" json:"timestamp,omitempty"`
	Fee                  *uint64  `protobuf:"varint,4,opt,name=fee" json:"fee,omitempty"`
	Deadline             *uint32  `protobuf:"varint,5,opt,name=deadline" json:"deadline,omitempty"`
	Signer               []byte   `protobuf:"bytes,6,opt,name=signer" json:"signer,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Structure representing the common part for NEM transactions @used_in NEMSignTx

func (*NEMTransactionCommon) Descriptor

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

func (*NEMTransactionCommon) GetAddressN

func (m *NEMTransactionCommon) GetAddressN() []uint32

func (*NEMTransactionCommon) GetDeadline

func (m *NEMTransactionCommon) GetDeadline() uint32

func (*NEMTransactionCommon) GetFee

func (m *NEMTransactionCommon) GetFee() uint64

func (*NEMTransactionCommon) GetNetwork

func (m *NEMTransactionCommon) GetNetwork() uint32

func (*NEMTransactionCommon) GetSigner

func (m *NEMTransactionCommon) GetSigner() []byte

func (*NEMTransactionCommon) GetTimestamp

func (m *NEMTransactionCommon) GetTimestamp() uint32

func (*NEMTransactionCommon) ProtoMessage

func (*NEMTransactionCommon) ProtoMessage()

func (*NEMTransactionCommon) Reset

func (m *NEMTransactionCommon) Reset()

func (*NEMTransactionCommon) String

func (m *NEMTransactionCommon) String() string

func (*NEMTransactionCommon) XXX_DiscardUnknown

func (m *NEMTransactionCommon) XXX_DiscardUnknown()

func (*NEMTransactionCommon) XXX_Marshal

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

func (*NEMTransactionCommon) XXX_Merge

func (dst *NEMTransactionCommon) XXX_Merge(src proto.Message)

func (*NEMTransactionCommon) XXX_Size

func (m *NEMTransactionCommon) XXX_Size() int

func (*NEMTransactionCommon) XXX_Unmarshal

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

type NEMTransfer

type NEMTransfer struct {
	Recipient            *string      `protobuf:"bytes,1,opt,name=recipient" json:"recipient,omitempty"`
	Amount               *uint64      `protobuf:"varint,2,opt,name=amount" json:"amount,omitempty"`
	Payload              []byte       `protobuf:"bytes,3,opt,name=payload" json:"payload,omitempty"`
	PublicKey            []byte       `protobuf:"bytes,4,opt,name=public_key,json=publicKey" json:"public_key,omitempty"`
	Mosaics              []*NEMMosaic `protobuf:"bytes,5,rep,name=mosaics" json:"mosaics,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

* Structure representing the transfer transaction part for NEM transactions @used_in NEMSignTx

func (*NEMTransfer) Descriptor

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

func (*NEMTransfer) GetAmount

func (m *NEMTransfer) GetAmount() uint64

func (*NEMTransfer) GetMosaics

func (m *NEMTransfer) GetMosaics() []*NEMMosaic

func (*NEMTransfer) GetPayload

func (m *NEMTransfer) GetPayload() []byte

func (*NEMTransfer) GetPublicKey

func (m *NEMTransfer) GetPublicKey() []byte

func (*NEMTransfer) GetRecipient

func (m *NEMTransfer) GetRecipient() string

func (*NEMTransfer) ProtoMessage

func (*NEMTransfer) ProtoMessage()

func (*NEMTransfer) Reset

func (m *NEMTransfer) Reset()

func (*NEMTransfer) String

func (m *NEMTransfer) String() string

func (*NEMTransfer) XXX_DiscardUnknown

func (m *NEMTransfer) XXX_DiscardUnknown()

func (*NEMTransfer) XXX_Marshal

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

func (*NEMTransfer) XXX_Merge

func (dst *NEMTransfer) XXX_Merge(src proto.Message)

func (*NEMTransfer) XXX_Size

func (m *NEMTransfer) XXX_Size() int

func (*NEMTransfer) XXX_Unmarshal

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

type OutputScriptType

type OutputScriptType int32

* Type of script which will be used for transaction output @used_in TxOutputType

const (
	OutputScriptType_PAYTOADDRESS     OutputScriptType = 0
	OutputScriptType_PAYTOSCRIPTHASH  OutputScriptType = 1
	OutputScriptType_PAYTOMULTISIG    OutputScriptType = 2
	OutputScriptType_PAYTOOPRETURN    OutputScriptType = 3
	OutputScriptType_PAYTOWITNESS     OutputScriptType = 4
	OutputScriptType_PAYTOP2SHWITNESS OutputScriptType = 5
)

func (OutputScriptType) Enum

func (OutputScriptType) EnumDescriptor

func (OutputScriptType) EnumDescriptor() ([]byte, []int)

func (OutputScriptType) String

func (x OutputScriptType) String() string

func (*OutputScriptType) UnmarshalJSON

func (x *OutputScriptType) UnmarshalJSON(data []byte) error

type PinMatrixRequestType

type PinMatrixRequestType int32

* Type of PIN request @used_in PinMatrixRequest

const (
	PinMatrixRequestType_PinMatrixRequestType_Current   PinMatrixRequestType = 1
	PinMatrixRequestType_PinMatrixRequestType_NewFirst  PinMatrixRequestType = 2
	PinMatrixRequestType_PinMatrixRequestType_NewSecond PinMatrixRequestType = 3
)

func (PinMatrixRequestType) Enum

func (PinMatrixRequestType) EnumDescriptor

func (PinMatrixRequestType) EnumDescriptor() ([]byte, []int)

func (PinMatrixRequestType) String

func (x PinMatrixRequestType) String() string

func (*PinMatrixRequestType) UnmarshalJSON

func (x *PinMatrixRequestType) UnmarshalJSON(data []byte) error

type RecoveryDeviceType

type RecoveryDeviceType int32

* Type of recovery procedure. These should be used as bitmask, e.g., `RecoveryDeviceType_ScrambledWords | RecoveryDeviceType_Matrix` listing every method supported by the host computer.

Note that ScrambledWords must be supported by every implementation for backward compatibility; there is no way to not support it.

@used_in RecoveryDevice

const (
	// use powers of two when extending this field
	RecoveryDeviceType_RecoveryDeviceType_ScrambledWords RecoveryDeviceType = 0
	RecoveryDeviceType_RecoveryDeviceType_Matrix         RecoveryDeviceType = 1
)

func (RecoveryDeviceType) Enum

func (RecoveryDeviceType) EnumDescriptor

func (RecoveryDeviceType) EnumDescriptor() ([]byte, []int)

func (RecoveryDeviceType) String

func (x RecoveryDeviceType) String() string

func (*RecoveryDeviceType) UnmarshalJSON

func (x *RecoveryDeviceType) UnmarshalJSON(data []byte) error

type RequestType

type RequestType int32

* Type of information required by transaction signing process @used_in TxRequest

const (
	RequestType_TXINPUT     RequestType = 0
	RequestType_TXOUTPUT    RequestType = 1
	RequestType_TXMETA      RequestType = 2
	RequestType_TXFINISHED  RequestType = 3
	RequestType_TXEXTRADATA RequestType = 4
)

func (RequestType) Enum

func (x RequestType) Enum() *RequestType

func (RequestType) EnumDescriptor

func (RequestType) EnumDescriptor() ([]byte, []int)

func (RequestType) String

func (x RequestType) String() string

func (*RequestType) UnmarshalJSON

func (x *RequestType) UnmarshalJSON(data []byte) error

type TransactionType

type TransactionType struct {
	Version              *uint32            `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
	Inputs               []*TxInputType     `protobuf:"bytes,2,rep,name=inputs" json:"inputs,omitempty"`
	BinOutputs           []*TxOutputBinType `protobuf:"bytes,3,rep,name=bin_outputs,json=binOutputs" json:"bin_outputs,omitempty"`
	Outputs              []*TxOutputType    `protobuf:"bytes,5,rep,name=outputs" json:"outputs,omitempty"`
	LockTime             *uint32            `protobuf:"varint,4,opt,name=lock_time,json=lockTime" json:"lock_time,omitempty"`
	InputsCnt            *uint32            `protobuf:"varint,6,opt,name=inputs_cnt,json=inputsCnt" json:"inputs_cnt,omitempty"`
	OutputsCnt           *uint32            `protobuf:"varint,7,opt,name=outputs_cnt,json=outputsCnt" json:"outputs_cnt,omitempty"`
	ExtraData            []byte             `protobuf:"bytes,8,opt,name=extra_data,json=extraData" json:"extra_data,omitempty"`
	ExtraDataLen         *uint32            `protobuf:"varint,9,opt,name=extra_data_len,json=extraDataLen" json:"extra_data_len,omitempty"`
	DecredExpiry         *uint32            `protobuf:"varint,10,opt,name=decred_expiry,json=decredExpiry" json:"decred_expiry,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

* Structure representing transaction @used_in SimpleSignTx

func (*TransactionType) Descriptor

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

func (*TransactionType) GetBinOutputs

func (m *TransactionType) GetBinOutputs() []*TxOutputBinType

func (*TransactionType) GetDecredExpiry

func (m *TransactionType) GetDecredExpiry() uint32

func (*TransactionType) GetExtraData

func (m *TransactionType) GetExtraData() []byte

func (*TransactionType) GetExtraDataLen

func (m *TransactionType) GetExtraDataLen() uint32

func (*TransactionType) GetInputs

func (m *TransactionType) GetInputs() []*TxInputType

func (*TransactionType) GetInputsCnt

func (m *TransactionType) GetInputsCnt() uint32

func (*TransactionType) GetLockTime

func (m *TransactionType) GetLockTime() uint32

func (*TransactionType) GetOutputs

func (m *TransactionType) GetOutputs() []*TxOutputType

func (*TransactionType) GetOutputsCnt

func (m *TransactionType) GetOutputsCnt() uint32

func (*TransactionType) GetVersion

func (m *TransactionType) GetVersion() uint32

func (*TransactionType) ProtoMessage

func (*TransactionType) ProtoMessage()

func (*TransactionType) Reset

func (m *TransactionType) Reset()

func (*TransactionType) String

func (m *TransactionType) String() string

func (*TransactionType) XXX_DiscardUnknown

func (m *TransactionType) XXX_DiscardUnknown()

func (*TransactionType) XXX_Marshal

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

func (*TransactionType) XXX_Merge

func (dst *TransactionType) XXX_Merge(src proto.Message)

func (*TransactionType) XXX_Size

func (m *TransactionType) XXX_Size() int

func (*TransactionType) XXX_Unmarshal

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

type TxInputType

type TxInputType struct {
	AddressN             []uint32                  `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
	PrevHash             []byte                    `protobuf:"bytes,2,req,name=prev_hash,json=prevHash" json:"prev_hash,omitempty"`
	PrevIndex            *uint32                   `protobuf:"varint,3,req,name=prev_index,json=prevIndex" json:"prev_index,omitempty"`
	ScriptSig            []byte                    `protobuf:"bytes,4,opt,name=script_sig,json=scriptSig" json:"script_sig,omitempty"`
	Sequence             *uint32                   `protobuf:"varint,5,opt,name=sequence,def=4294967295" json:"sequence,omitempty"`
	ScriptType           *InputScriptType          `protobuf:"varint,6,opt,name=script_type,json=scriptType,enum=InputScriptType,def=0" json:"script_type,omitempty"`
	Multisig             *MultisigRedeemScriptType `protobuf:"bytes,7,opt,name=multisig" json:"multisig,omitempty"`
	Amount               *uint64                   `protobuf:"varint,8,opt,name=amount" json:"amount,omitempty"`
	DecredTree           *uint32                   `protobuf:"varint,9,opt,name=decred_tree,json=decredTree" json:"decred_tree,omitempty"`
	DecredScriptVersion  *uint32                   `protobuf:"varint,10,opt,name=decred_script_version,json=decredScriptVersion" json:"decred_script_version,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

* Structure representing transaction input @used_in SimpleSignTx @used_in TransactionType

func (*TxInputType) Descriptor

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

func (*TxInputType) GetAddressN

func (m *TxInputType) GetAddressN() []uint32

func (*TxInputType) GetAmount

func (m *TxInputType) GetAmount() uint64

func (*TxInputType) GetDecredScriptVersion

func (m *TxInputType) GetDecredScriptVersion() uint32

func (*TxInputType) GetDecredTree

func (m *TxInputType) GetDecredTree() uint32

func (*TxInputType) GetMultisig

func (m *TxInputType) GetMultisig() *MultisigRedeemScriptType

func (*TxInputType) GetPrevHash

func (m *TxInputType) GetPrevHash() []byte

func (*TxInputType) GetPrevIndex

func (m *TxInputType) GetPrevIndex() uint32

func (*TxInputType) GetScriptSig

func (m *TxInputType) GetScriptSig() []byte

func (*TxInputType) GetScriptType

func (m *TxInputType) GetScriptType() InputScriptType

func (*TxInputType) GetSequence

func (m *TxInputType) GetSequence() uint32

func (*TxInputType) ProtoMessage

func (*TxInputType) ProtoMessage()

func (*TxInputType) Reset

func (m *TxInputType) Reset()

func (*TxInputType) String

func (m *TxInputType) String() string

func (*TxInputType) XXX_DiscardUnknown

func (m *TxInputType) XXX_DiscardUnknown()

func (*TxInputType) XXX_Marshal

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

func (*TxInputType) XXX_Merge

func (dst *TxInputType) XXX_Merge(src proto.Message)

func (*TxInputType) XXX_Size

func (m *TxInputType) XXX_Size() int

func (*TxInputType) XXX_Unmarshal

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

type TxOutputBinType

type TxOutputBinType struct {
	Amount               *uint64  `protobuf:"varint,1,req,name=amount" json:"amount,omitempty"`
	ScriptPubkey         []byte   `protobuf:"bytes,2,req,name=script_pubkey,json=scriptPubkey" json:"script_pubkey,omitempty"`
	DecredScriptVersion  *uint32  `protobuf:"varint,3,opt,name=decred_script_version,json=decredScriptVersion" json:"decred_script_version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Structure representing compiled transaction output @used_in TransactionType

func (*TxOutputBinType) Descriptor

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

func (*TxOutputBinType) GetAmount

func (m *TxOutputBinType) GetAmount() uint64

func (*TxOutputBinType) GetDecredScriptVersion

func (m *TxOutputBinType) GetDecredScriptVersion() uint32

func (*TxOutputBinType) GetScriptPubkey

func (m *TxOutputBinType) GetScriptPubkey() []byte

func (*TxOutputBinType) ProtoMessage

func (*TxOutputBinType) ProtoMessage()

func (*TxOutputBinType) Reset

func (m *TxOutputBinType) Reset()

func (*TxOutputBinType) String

func (m *TxOutputBinType) String() string

func (*TxOutputBinType) XXX_DiscardUnknown

func (m *TxOutputBinType) XXX_DiscardUnknown()

func (*TxOutputBinType) XXX_Marshal

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

func (*TxOutputBinType) XXX_Merge

func (dst *TxOutputBinType) XXX_Merge(src proto.Message)

func (*TxOutputBinType) XXX_Size

func (m *TxOutputBinType) XXX_Size() int

func (*TxOutputBinType) XXX_Unmarshal

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

type TxOutputType

type TxOutputType struct {
	Address              *string                   `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
	AddressN             []uint32                  `protobuf:"varint,2,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
	Amount               *uint64                   `protobuf:"varint,3,req,name=amount" json:"amount,omitempty"`
	ScriptType           *OutputScriptType         `protobuf:"varint,4,req,name=script_type,json=scriptType,enum=OutputScriptType" json:"script_type,omitempty"`
	Multisig             *MultisigRedeemScriptType `protobuf:"bytes,5,opt,name=multisig" json:"multisig,omitempty"`
	OpReturnData         []byte                    `protobuf:"bytes,6,opt,name=op_return_data,json=opReturnData" json:"op_return_data,omitempty"`
	DecredScriptVersion  *uint32                   `protobuf:"varint,7,opt,name=decred_script_version,json=decredScriptVersion" json:"decred_script_version,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

* Structure representing transaction output @used_in SimpleSignTx @used_in TransactionType

func (*TxOutputType) Descriptor

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

func (*TxOutputType) GetAddress

func (m *TxOutputType) GetAddress() string

func (*TxOutputType) GetAddressN

func (m *TxOutputType) GetAddressN() []uint32

func (*TxOutputType) GetAmount

func (m *TxOutputType) GetAmount() uint64

func (*TxOutputType) GetDecredScriptVersion

func (m *TxOutputType) GetDecredScriptVersion() uint32

func (*TxOutputType) GetMultisig

func (m *TxOutputType) GetMultisig() *MultisigRedeemScriptType

func (*TxOutputType) GetOpReturnData

func (m *TxOutputType) GetOpReturnData() []byte

func (*TxOutputType) GetScriptType

func (m *TxOutputType) GetScriptType() OutputScriptType

func (*TxOutputType) ProtoMessage

func (*TxOutputType) ProtoMessage()

func (*TxOutputType) Reset

func (m *TxOutputType) Reset()

func (*TxOutputType) String

func (m *TxOutputType) String() string

func (*TxOutputType) XXX_DiscardUnknown

func (m *TxOutputType) XXX_DiscardUnknown()

func (*TxOutputType) XXX_Marshal

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

func (*TxOutputType) XXX_Merge

func (dst *TxOutputType) XXX_Merge(src proto.Message)

func (*TxOutputType) XXX_Size

func (m *TxOutputType) XXX_Size() int

func (*TxOutputType) XXX_Unmarshal

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

type TxRequestDetailsType

type TxRequestDetailsType struct {
	RequestIndex         *uint32  `protobuf:"varint,1,opt,name=request_index,json=requestIndex" json:"request_index,omitempty"`
	TxHash               []byte   `protobuf:"bytes,2,opt,name=tx_hash,json=txHash" json:"tx_hash,omitempty"`
	ExtraDataLen         *uint32  `protobuf:"varint,3,opt,name=extra_data_len,json=extraDataLen" json:"extra_data_len,omitempty"`
	ExtraDataOffset      *uint32  `protobuf:"varint,4,opt,name=extra_data_offset,json=extraDataOffset" json:"extra_data_offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Structure representing request details @used_in TxRequest

func (*TxRequestDetailsType) Descriptor

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

func (*TxRequestDetailsType) GetExtraDataLen

func (m *TxRequestDetailsType) GetExtraDataLen() uint32

func (*TxRequestDetailsType) GetExtraDataOffset

func (m *TxRequestDetailsType) GetExtraDataOffset() uint32

func (*TxRequestDetailsType) GetRequestIndex

func (m *TxRequestDetailsType) GetRequestIndex() uint32

func (*TxRequestDetailsType) GetTxHash

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

func (*TxRequestDetailsType) ProtoMessage

func (*TxRequestDetailsType) ProtoMessage()

func (*TxRequestDetailsType) Reset

func (m *TxRequestDetailsType) Reset()

func (*TxRequestDetailsType) String

func (m *TxRequestDetailsType) String() string

func (*TxRequestDetailsType) XXX_DiscardUnknown

func (m *TxRequestDetailsType) XXX_DiscardUnknown()

func (*TxRequestDetailsType) XXX_Marshal

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

func (*TxRequestDetailsType) XXX_Merge

func (dst *TxRequestDetailsType) XXX_Merge(src proto.Message)

func (*TxRequestDetailsType) XXX_Size

func (m *TxRequestDetailsType) XXX_Size() int

func (*TxRequestDetailsType) XXX_Unmarshal

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

type TxRequestSerializedType

type TxRequestSerializedType struct {
	SignatureIndex       *uint32  `protobuf:"varint,1,opt,name=signature_index,json=signatureIndex" json:"signature_index,omitempty"`
	Signature            []byte   `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
	SerializedTx         []byte   `protobuf:"bytes,3,opt,name=serialized_tx,json=serializedTx" json:"serialized_tx,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Structure representing serialized data @used_in TxRequest

func (*TxRequestSerializedType) Descriptor

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

func (*TxRequestSerializedType) GetSerializedTx

func (m *TxRequestSerializedType) GetSerializedTx() []byte

func (*TxRequestSerializedType) GetSignature

func (m *TxRequestSerializedType) GetSignature() []byte

func (*TxRequestSerializedType) GetSignatureIndex

func (m *TxRequestSerializedType) GetSignatureIndex() uint32

func (*TxRequestSerializedType) ProtoMessage

func (*TxRequestSerializedType) ProtoMessage()

func (*TxRequestSerializedType) Reset

func (m *TxRequestSerializedType) Reset()

func (*TxRequestSerializedType) String

func (m *TxRequestSerializedType) String() string

func (*TxRequestSerializedType) XXX_DiscardUnknown

func (m *TxRequestSerializedType) XXX_DiscardUnknown()

func (*TxRequestSerializedType) XXX_Marshal

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

func (*TxRequestSerializedType) XXX_Merge

func (dst *TxRequestSerializedType) XXX_Merge(src proto.Message)

func (*TxRequestSerializedType) XXX_Size

func (m *TxRequestSerializedType) XXX_Size() int

func (*TxRequestSerializedType) XXX_Unmarshal

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

type WordRequestType

type WordRequestType int32

* Type of Recovery Word request @used_in WordRequest

const (
	WordRequestType_WordRequestType_Plain   WordRequestType = 0
	WordRequestType_WordRequestType_Matrix9 WordRequestType = 1
	WordRequestType_WordRequestType_Matrix6 WordRequestType = 2
)

func (WordRequestType) Enum

func (x WordRequestType) Enum() *WordRequestType

func (WordRequestType) EnumDescriptor

func (WordRequestType) EnumDescriptor() ([]byte, []int)

func (WordRequestType) String

func (x WordRequestType) String() string

func (*WordRequestType) UnmarshalJSON

func (x *WordRequestType) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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