burrow: github.com/hyperledger/burrow/txs/payload Index | Files

package payload

import "github.com/hyperledger/burrow/txs/payload"

Index

Package Files

batch_tx.go bond_tx.go call_tx.go gov_tx.go identify_tx.go name_tx.go payload.go payload.pb.go perms_tx.go proposal_tx.go send_tx.go tx_input.go tx_output.go unbond_tx.go

Constants

const (
    TypeUnknown = Type(0x00)
    // Account transactions
    TypeSend  = Type(0x01)
    TypeCall  = Type(0x02)
    TypeName  = Type(0x03)
    TypeBatch = Type(0x04)

    // Validation transactions
    TypeBond   = Type(0x11)
    TypeUnbond = Type(0x12)

    // Admin transactions
    TypePermissions = Type(0x21)
    TypeGovernance  = Type(0x22)
    TypeProposal    = Type(0x23)
    TypeIdentify    = Type(0x24)
)

Types of Payload implementations

Variables

var (
    ErrInvalidLengthPayload        = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowPayload          = fmt.Errorf("proto: integer overflow")
    ErrUnexpectedEndOfGroupPayload = fmt.Errorf("proto: unexpected end of group")
)
var Ballot_ProposalState_name = map[int32]string{
    0:  "PROPOSED",
    1:  "EXECUTED",
    2:  "FAILED",
}
var Ballot_ProposalState_value = map[string]int32{
    "PROPOSED": 0,
    "EXECUTED": 1,
    "FAILED":   2,
}

func InputsString Uses

func InputsString(inputs []*TxInput) string

type Any Uses

type Any struct {
    CallTx               *CallTx     `protobuf:"bytes,1,opt,name=CallTx,proto3" json:"CallTx,omitempty"`
    SendTx               *SendTx     `protobuf:"bytes,2,opt,name=SendTx,proto3" json:"SendTx,omitempty"`
    NameTx               *NameTx     `protobuf:"bytes,3,opt,name=NameTx,proto3" json:"NameTx,omitempty"`
    PermsTx              *PermsTx    `protobuf:"bytes,4,opt,name=PermsTx,proto3" json:"PermsTx,omitempty"`
    GovTx                *GovTx      `protobuf:"bytes,5,opt,name=GovTx,proto3" json:"GovTx,omitempty"`
    BondTx               *BondTx     `protobuf:"bytes,6,opt,name=BondTx,proto3" json:"BondTx,omitempty"`
    UnbondTx             *UnbondTx   `protobuf:"bytes,7,opt,name=UnbondTx,proto3" json:"UnbondTx,omitempty"`
    BatchTx              *BatchTx    `protobuf:"bytes,8,opt,name=BatchTx,proto3" json:"BatchTx,omitempty"`
    ProposalTx           *ProposalTx `protobuf:"bytes,9,opt,name=ProposalTx,proto3" json:"ProposalTx,omitempty"`
    IdentifyTx           *IdentifyTx `protobuf:"bytes,10,opt,name=IdentifyTx,proto3" json:"IdentifyTx,omitempty"`
    XXX_NoUnkeyedLiteral struct{}    `json:"-"`
    XXX_unrecognized     []byte      `json:"-"`
    XXX_sizecache        int32       `json:"-"`
}

Any encodes a sum type for which only one should be set

func (*Any) Descriptor Uses

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

func (*Any) GetBatchTx Uses

func (m *Any) GetBatchTx() *BatchTx

func (*Any) GetBondTx Uses

func (m *Any) GetBondTx() *BondTx

func (*Any) GetCallTx Uses

func (m *Any) GetCallTx() *CallTx

func (*Any) GetGovTx Uses

func (m *Any) GetGovTx() *GovTx

func (*Any) GetIdentifyTx Uses

func (m *Any) GetIdentifyTx() *IdentifyTx

func (*Any) GetNameTx Uses

func (m *Any) GetNameTx() *NameTx

func (*Any) GetPermsTx Uses

func (m *Any) GetPermsTx() *PermsTx

func (*Any) GetProposalTx Uses

func (m *Any) GetProposalTx() *ProposalTx

func (*Any) GetSendTx Uses

func (m *Any) GetSendTx() *SendTx

func (*Any) GetUnbondTx Uses

func (m *Any) GetUnbondTx() *UnbondTx

func (*Any) GetValue Uses

func (this *Any) GetValue() interface{}

func (*Any) Marshal Uses

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

func (*Any) MarshalTo Uses

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

func (*Any) MarshalToSizedBuffer Uses

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

func (*Any) ProtoMessage Uses

func (*Any) ProtoMessage()

func (*Any) Reset Uses

func (m *Any) Reset()

func (*Any) SetValue Uses

func (this *Any) SetValue(value interface{}) bool

func (*Any) Size Uses

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

func (*Any) String Uses

func (m *Any) String() string

func (*Any) Unmarshal Uses

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

func (*Any) XXX_DiscardUnknown Uses

func (m *Any) XXX_DiscardUnknown()

func (*Any) XXX_Marshal Uses

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

func (*Any) XXX_Merge Uses

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

func (*Any) XXX_MessageName Uses

func (*Any) XXX_MessageName() string

func (*Any) XXX_Size Uses

func (m *Any) XXX_Size() int

func (*Any) XXX_Unmarshal Uses

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

type Ballot Uses

type Ballot struct {
    Proposal             *Proposal                                      `protobuf:"bytes,1,opt,name=Proposal,proto3" json:"Proposal,omitempty"`
    FinalizingTx         *github_com_hyperledger_burrow_binary.HexBytes `protobuf:"bytes,2,opt,name=FinalizingTx,proto3,customtype=github.com/hyperledger/burrow/binary.HexBytes" json:"FinalizingTx,omitempty"`
    ProposalState        Ballot_ProposalState                           `protobuf:"varint,4,opt,name=proposalState,proto3,enum=payload.Ballot_ProposalState" json:"proposalState,omitempty"`
    Votes                []*Vote                                        `protobuf:"bytes,5,rep,name=Votes,proto3" json:"Votes,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                                       `json:"-"`
    XXX_unrecognized     []byte                                         `json:"-"`
    XXX_sizecache        int32                                          `json:"-"`
}

func DecodeBallot Uses

func DecodeBallot(ballotBytes []byte) (*Ballot, error)

func (*Ballot) Descriptor Uses

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

func (*Ballot) Encode Uses

func (p *Ballot) Encode() ([]byte, error)

func (*Ballot) GetProposal Uses

func (m *Ballot) GetProposal() *Proposal

func (*Ballot) GetProposalState Uses

func (m *Ballot) GetProposalState() Ballot_ProposalState

func (*Ballot) GetVotes Uses

func (m *Ballot) GetVotes() []*Vote

func (*Ballot) Marshal Uses

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

func (*Ballot) MarshalTo Uses

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

func (*Ballot) MarshalToSizedBuffer Uses

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

func (*Ballot) ProtoMessage Uses

func (*Ballot) ProtoMessage()

func (*Ballot) Reset Uses

func (m *Ballot) Reset()

func (*Ballot) Size Uses

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

func (*Ballot) String Uses

func (m *Ballot) String() string

func (*Ballot) Unmarshal Uses

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

func (*Ballot) XXX_DiscardUnknown Uses

func (m *Ballot) XXX_DiscardUnknown()

func (*Ballot) XXX_Marshal Uses

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

func (*Ballot) XXX_Merge Uses

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

func (*Ballot) XXX_MessageName Uses

func (*Ballot) XXX_MessageName() string

func (*Ballot) XXX_Size Uses

func (m *Ballot) XXX_Size() int

func (*Ballot) XXX_Unmarshal Uses

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

type Ballot_ProposalState Uses

type Ballot_ProposalState int32
const (
    // PROPOSED might be expired, if sequence number of any of the input accounts are out of date
    Ballot_PROPOSED Ballot_ProposalState = 0
    Ballot_EXECUTED Ballot_ProposalState = 1
    Ballot_FAILED   Ballot_ProposalState = 2
)

func (Ballot_ProposalState) EnumDescriptor Uses

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

func (Ballot_ProposalState) String Uses

func (x Ballot_ProposalState) String() string

type BatchTx Uses

type BatchTx struct {
    Inputs               []*TxInput `protobuf:"bytes,1,rep,name=Inputs,proto3" json:"Inputs,omitempty"`
    Txs                  []*Any     `protobuf:"bytes,2,rep,name=Txs,proto3" json:"Txs,omitempty"`
    XXX_NoUnkeyedLiteral struct{}   `json:"-"`
    XXX_unrecognized     []byte     `json:"-"`
    XXX_sizecache        int32      `json:"-"`
}

func (*BatchTx) Any Uses

func (tx *BatchTx) Any() *Any

func (*BatchTx) Descriptor Uses

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

func (*BatchTx) GetInputs Uses

func (tx *BatchTx) GetInputs() []*TxInput

func (*BatchTx) Marshal Uses

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

func (*BatchTx) MarshalTo Uses

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

func (*BatchTx) MarshalToSizedBuffer Uses

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

func (*BatchTx) ProtoMessage Uses

func (*BatchTx) ProtoMessage()

func (*BatchTx) Reset Uses

func (m *BatchTx) Reset()

func (*BatchTx) Size Uses

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

func (*BatchTx) String Uses

func (tx *BatchTx) String() string

func (*BatchTx) Type Uses

func (tx *BatchTx) Type() Type

func (*BatchTx) Unmarshal Uses

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

func (*BatchTx) XXX_DiscardUnknown Uses

func (m *BatchTx) XXX_DiscardUnknown()

func (*BatchTx) XXX_Marshal Uses

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

func (*BatchTx) XXX_Merge Uses

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

func (*BatchTx) XXX_MessageName Uses

func (*BatchTx) XXX_MessageName() string

func (*BatchTx) XXX_Size Uses

func (m *BatchTx) XXX_Size() int

func (*BatchTx) XXX_Unmarshal Uses

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

type BondTx Uses

type BondTx struct {
    // Input must be the validator that desires to bond
    Input                *TxInput `protobuf:"bytes,1,opt,name=Input,proto3" json:"Input,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func NewBondTx Uses

func NewBondTx(address crypto.Address, amount uint64) *BondTx

func (*BondTx) AddInput Uses

func (tx *BondTx) AddInput(st acmstate.AccountGetter, pubkey crypto.PublicKey, amt uint64) error

func (*BondTx) AddInputWithSequence Uses

func (tx *BondTx) AddInputWithSequence(pubkey crypto.PublicKey, amt uint64, sequence uint64) error

func (*BondTx) Any Uses

func (tx *BondTx) Any() *Any

func (*BondTx) Descriptor Uses

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

func (*BondTx) GetInputs Uses

func (tx *BondTx) GetInputs() []*TxInput

func (*BondTx) Marshal Uses

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

func (*BondTx) MarshalTo Uses

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

func (*BondTx) MarshalToSizedBuffer Uses

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

func (*BondTx) ProtoMessage Uses

func (*BondTx) ProtoMessage()

func (*BondTx) Reset Uses

func (m *BondTx) Reset()

func (*BondTx) Size Uses

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

func (*BondTx) String Uses

func (tx *BondTx) String() string

func (*BondTx) Type Uses

func (tx *BondTx) Type() Type

func (*BondTx) Unmarshal Uses

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

func (*BondTx) XXX_DiscardUnknown Uses

func (m *BondTx) XXX_DiscardUnknown()

func (*BondTx) XXX_Marshal Uses

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

func (*BondTx) XXX_Merge Uses

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

func (*BondTx) XXX_MessageName Uses

func (*BondTx) XXX_MessageName() string

func (*BondTx) XXX_Size Uses

func (m *BondTx) XXX_Size() int

func (*BondTx) XXX_Unmarshal Uses

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

type CallTx Uses

type CallTx struct {
    // The caller's input
    Input *TxInput `protobuf:"bytes,1,opt,name=Input,proto3" json:"Input,omitempty"`
    // The contract address to call or nil if we are creating a contract
    Address *github_com_hyperledger_burrow_crypto.Address `protobuf:"bytes,2,opt,name=Address,proto3,customtype=github.com/hyperledger/burrow/crypto.Address" json:"Address,omitempty"`
    // The upper bound on the amount of gas (and therefore EVM execution steps) this CallTx may generate
    GasLimit uint64 `protobuf:"varint,3,opt,name=GasLimit,proto3" json:"GasLimit,omitempty"`
    // Fee to offer validators for processing transaction
    Fee uint64 `protobuf:"varint,4,opt,name=Fee,proto3" json:"Fee,omitempty"`
    // EVM bytecode
    Data github_com_hyperledger_burrow_binary.HexBytes `protobuf:"bytes,5,opt,name=Data,proto3,customtype=github.com/hyperledger/burrow/binary.HexBytes" json:"Data"`
    // WASM bytecode
    WASM github_com_hyperledger_burrow_binary.HexBytes `protobuf:"bytes,6,opt,name=WASM,proto3,customtype=github.com/hyperledger/burrow/binary.HexBytes" json:"tags,omitempty"`
    // Set of contracts this code will deploy
    ContractMeta []*ContractMeta `protobuf:"bytes,7,rep,name=ContractMeta,proto3" json:"ContractMeta,omitempty"`
    // The upper bound on the price per unit of gas
    GasPrice             uint64   `protobuf:"varint,8,opt,name=GasPrice,proto3" json:"GasPrice,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A instruction to run smart contract code in the EVM

func NewCallTx Uses

func NewCallTx(st acmstate.AccountGetter, from crypto.PublicKey, to *crypto.Address, data []byte,
    amt, gasLimit, fee uint64) (*CallTx, error)

func NewCallTxWithSequence Uses

func NewCallTxWithSequence(from crypto.PublicKey, to *crypto.Address, data []byte,
    amt, gasLimit, fee, sequence uint64) *CallTx

func (*CallTx) Any Uses

func (tx *CallTx) Any() *Any

func (*CallTx) Descriptor Uses

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

func (*CallTx) GetContractMeta Uses

func (m *CallTx) GetContractMeta() []*ContractMeta

func (*CallTx) GetFee Uses

func (m *CallTx) GetFee() uint64

func (*CallTx) GetGasLimit Uses

func (m *CallTx) GetGasLimit() uint64

func (*CallTx) GetGasPrice Uses

func (m *CallTx) GetGasPrice() uint64

func (*CallTx) GetInput Uses

func (m *CallTx) GetInput() *TxInput

func (*CallTx) GetInputs Uses

func (tx *CallTx) GetInputs() []*TxInput

func (*CallTx) Marshal Uses

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

func (*CallTx) MarshalTo Uses

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

func (*CallTx) MarshalToSizedBuffer Uses

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

func (*CallTx) ProtoMessage Uses

func (*CallTx) ProtoMessage()

func (*CallTx) Reset Uses

func (m *CallTx) Reset()

func (*CallTx) Size Uses

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

func (*CallTx) String Uses

func (tx *CallTx) String() string

func (*CallTx) Type Uses

func (tx *CallTx) Type() Type

func (*CallTx) Unmarshal Uses

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

func (*CallTx) XXX_DiscardUnknown Uses

func (m *CallTx) XXX_DiscardUnknown()

func (*CallTx) XXX_Marshal Uses

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

func (*CallTx) XXX_Merge Uses

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

func (*CallTx) XXX_MessageName Uses

func (*CallTx) XXX_MessageName() string

func (*CallTx) XXX_Size Uses

func (m *CallTx) XXX_Size() int

func (*CallTx) XXX_Unmarshal Uses

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

type ContractMeta Uses

type ContractMeta struct {
    CodeHash             github_com_hyperledger_burrow_binary.HexBytes `protobuf:"bytes,1,opt,name=CodeHash,proto3,customtype=github.com/hyperledger/burrow/binary.HexBytes" json:"CodeHash"`
    Meta                 string                                        `protobuf:"bytes,2,opt,name=Meta,proto3" json:"Meta,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                                      `json:"-"`
    XXX_unrecognized     []byte                                        `json:"-"`
    XXX_sizecache        int32                                         `json:"-"`
}

func (*ContractMeta) Descriptor Uses

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

func (*ContractMeta) GetMeta Uses

func (m *ContractMeta) GetMeta() string

func (*ContractMeta) Marshal Uses

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

func (*ContractMeta) MarshalTo Uses

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

func (*ContractMeta) MarshalToSizedBuffer Uses

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

func (*ContractMeta) ProtoMessage Uses

func (*ContractMeta) ProtoMessage()

func (*ContractMeta) Reset Uses

func (m *ContractMeta) Reset()

func (*ContractMeta) Size Uses

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

func (*ContractMeta) String Uses

func (m *ContractMeta) String() string

func (*ContractMeta) Unmarshal Uses

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

func (*ContractMeta) XXX_DiscardUnknown Uses

func (m *ContractMeta) XXX_DiscardUnknown()

func (*ContractMeta) XXX_Marshal Uses

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

func (*ContractMeta) XXX_Merge Uses

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

func (*ContractMeta) XXX_MessageName Uses

func (*ContractMeta) XXX_MessageName() string

func (*ContractMeta) XXX_Size Uses

func (m *ContractMeta) XXX_Size() int

func (*ContractMeta) XXX_Unmarshal Uses

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

type GovTx Uses

type GovTx struct {
    Inputs               []*TxInput              `protobuf:"bytes,1,rep,name=Inputs,proto3" json:"Inputs,omitempty"`
    AccountUpdates       []*spec.TemplateAccount `protobuf:"bytes,2,rep,name=AccountUpdates,proto3" json:"AccountUpdates,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                `json:"-"`
    XXX_unrecognized     []byte                  `json:"-"`
    XXX_sizecache        int32                   `json:"-"`
}

func AlterBalanceTx Uses

func AlterBalanceTx(inputAddress crypto.Address, id crypto.Addressable, bal balance.Balances) *GovTx

func AlterPermissionsTx Uses

func AlterPermissionsTx(inputAddress crypto.Address, id crypto.Addressable, perms permission.PermFlag) *GovTx

func AlterPowerTx Uses

func AlterPowerTx(inputAddress crypto.Address, id crypto.Addressable, power uint64) *GovTx

Creates a GovTx that alters the validator power of id to the power passed

func UpdateAccountTx Uses

func UpdateAccountTx(inputAddress crypto.Address, updates ...*spec.TemplateAccount) *GovTx

func (*GovTx) Any Uses

func (tx *GovTx) Any() *Any

func (*GovTx) Descriptor Uses

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

func (*GovTx) GetInputs Uses

func (tx *GovTx) GetInputs() []*TxInput

func (*GovTx) Marshal Uses

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

func (*GovTx) MarshalTo Uses

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

func (*GovTx) MarshalToSizedBuffer Uses

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

func (*GovTx) ProtoMessage Uses

func (*GovTx) ProtoMessage()

func (*GovTx) Reset Uses

func (m *GovTx) Reset()

func (*GovTx) Size Uses

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

func (*GovTx) String Uses

func (tx *GovTx) String() string

func (*GovTx) Type Uses

func (tx *GovTx) Type() Type

func (*GovTx) Unmarshal Uses

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

func (*GovTx) XXX_DiscardUnknown Uses

func (m *GovTx) XXX_DiscardUnknown()

func (*GovTx) XXX_Marshal Uses

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

func (*GovTx) XXX_Merge Uses

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

func (*GovTx) XXX_MessageName Uses

func (*GovTx) XXX_MessageName() string

func (*GovTx) XXX_Size Uses

func (m *GovTx) XXX_Size() int

func (*GovTx) XXX_Unmarshal Uses

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

type IdentifyTx Uses

type IdentifyTx struct {
    // Senders
    Inputs []*TxInput `protobuf:"bytes,1,rep,name=Inputs,proto3" json:"Inputs,omitempty"`
    // Node to register
    Node                 *registry.NodeIdentity `protobuf:"bytes,2,opt,name=Node,proto3" json:"Node,omitempty"`
    XXX_NoUnkeyedLiteral struct{}               `json:"-"`
    XXX_unrecognized     []byte                 `json:"-"`
    XXX_sizecache        int32                  `json:"-"`
}

func NewIdentifyTx Uses

func NewIdentifyTx(address crypto.Address, node *registry.NodeIdentity) *IdentifyTx

func (*IdentifyTx) Any Uses

func (tx *IdentifyTx) Any() *Any

func (*IdentifyTx) Descriptor Uses

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

func (*IdentifyTx) GetInputs Uses

func (tx *IdentifyTx) GetInputs() []*TxInput

func (*IdentifyTx) Marshal Uses

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

func (*IdentifyTx) MarshalTo Uses

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

func (*IdentifyTx) MarshalToSizedBuffer Uses

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

func (*IdentifyTx) ProtoMessage Uses

func (*IdentifyTx) ProtoMessage()

func (*IdentifyTx) Reset Uses

func (m *IdentifyTx) Reset()

func (*IdentifyTx) Size Uses

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

func (*IdentifyTx) String Uses

func (tx *IdentifyTx) String() string

func (*IdentifyTx) Type Uses

func (tx *IdentifyTx) Type() Type

func (*IdentifyTx) Unmarshal Uses

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

func (*IdentifyTx) XXX_DiscardUnknown Uses

func (m *IdentifyTx) XXX_DiscardUnknown()

func (*IdentifyTx) XXX_Marshal Uses

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

func (*IdentifyTx) XXX_Merge Uses

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

func (*IdentifyTx) XXX_MessageName Uses

func (*IdentifyTx) XXX_MessageName() string

func (*IdentifyTx) XXX_Size Uses

func (m *IdentifyTx) XXX_Size() int

func (*IdentifyTx) XXX_Unmarshal Uses

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

type NameTx Uses

type NameTx struct {
    // The name updater
    Input *TxInput `protobuf:"bytes,1,opt,name=Input,proto3" json:"Input,omitempty"`
    // The name to update or create
    Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
    // The data to store against the name
    Data string `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"`
    // The fee to provide that will determine the length of the name lease
    Fee                  uint64   `protobuf:"varint,4,opt,name=Fee,proto3" json:"Fee,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request to claim a globally unique name across the entire chain with some optional data storage leased for a fee

func NewNameTx Uses

func NewNameTx(st acmstate.AccountGetter, from crypto.PublicKey, name, data string, amt, fee uint64) (*NameTx, error)

func NewNameTxWithSequence Uses

func NewNameTxWithSequence(from crypto.PublicKey, name, data string, amt, fee, sequence uint64) *NameTx

func (*NameTx) Any Uses

func (tx *NameTx) Any() *Any

func (*NameTx) Descriptor Uses

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

func (*NameTx) GetData Uses

func (m *NameTx) GetData() string

func (*NameTx) GetFee Uses

func (m *NameTx) GetFee() uint64

func (*NameTx) GetInput Uses

func (m *NameTx) GetInput() *TxInput

func (*NameTx) GetInputs Uses

func (tx *NameTx) GetInputs() []*TxInput

func (*NameTx) GetName Uses

func (m *NameTx) GetName() string

func (*NameTx) Marshal Uses

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

func (*NameTx) MarshalTo Uses

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

func (*NameTx) MarshalToSizedBuffer Uses

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

func (*NameTx) ProtoMessage Uses

func (*NameTx) ProtoMessage()

func (*NameTx) Reset Uses

func (m *NameTx) Reset()

func (*NameTx) Size Uses

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

func (*NameTx) String Uses

func (tx *NameTx) String() string

func (*NameTx) Type Uses

func (tx *NameTx) Type() Type

func (*NameTx) Unmarshal Uses

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

func (*NameTx) XXX_DiscardUnknown Uses

func (m *NameTx) XXX_DiscardUnknown()

func (*NameTx) XXX_Marshal Uses

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

func (*NameTx) XXX_Merge Uses

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

func (*NameTx) XXX_MessageName Uses

func (*NameTx) XXX_MessageName() string

func (*NameTx) XXX_Size Uses

func (m *NameTx) XXX_Size() int

func (*NameTx) XXX_Unmarshal Uses

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

type Payload Uses

type Payload interface {
    String() string
    GetInputs() []*TxInput
    Type() Type
    Any() *Any
    // The serialised size in bytes
    Size() int
}

func New Uses

func New(txType Type) (Payload, error)

type PermsTx Uses

type PermsTx struct {
    // The permission moderator
    Input *TxInput `protobuf:"bytes,1,opt,name=Input,proto3" json:"Input,omitempty"`
    // The modified permissions
    PermArgs             permission.PermArgs `protobuf:"bytes,2,opt,name=PermArgs,proto3" json:"PermArgs"`
    XXX_NoUnkeyedLiteral struct{}            `json:"-"`
    XXX_unrecognized     []byte              `json:"-"`
    XXX_sizecache        int32               `json:"-"`
}

An update to the on-chain permissions

func NewPermsTx Uses

func NewPermsTx(st acmstate.AccountGetter, from crypto.PublicKey, args permission.PermArgs) (*PermsTx, error)

func NewPermsTxWithSequence Uses

func NewPermsTxWithSequence(from crypto.PublicKey, args permission.PermArgs, sequence uint64) *PermsTx

func (*PermsTx) Any Uses

func (tx *PermsTx) Any() *Any

func (*PermsTx) Descriptor Uses

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

func (*PermsTx) GetInput Uses

func (m *PermsTx) GetInput() *TxInput

func (*PermsTx) GetInputs Uses

func (tx *PermsTx) GetInputs() []*TxInput

func (*PermsTx) GetPermArgs Uses

func (m *PermsTx) GetPermArgs() permission.PermArgs

func (*PermsTx) Marshal Uses

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

func (*PermsTx) MarshalTo Uses

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

func (*PermsTx) MarshalToSizedBuffer Uses

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

func (*PermsTx) ProtoMessage Uses

func (*PermsTx) ProtoMessage()

func (*PermsTx) Reset Uses

func (m *PermsTx) Reset()

func (*PermsTx) Size Uses

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

func (*PermsTx) String Uses

func (tx *PermsTx) String() string

func (*PermsTx) Type Uses

func (tx *PermsTx) Type() Type

func (*PermsTx) Unmarshal Uses

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

func (*PermsTx) XXX_DiscardUnknown Uses

func (m *PermsTx) XXX_DiscardUnknown()

func (*PermsTx) XXX_Marshal Uses

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

func (*PermsTx) XXX_Merge Uses

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

func (*PermsTx) XXX_MessageName Uses

func (*PermsTx) XXX_MessageName() string

func (*PermsTx) XXX_Size Uses

func (m *PermsTx) XXX_Size() int

func (*PermsTx) XXX_Unmarshal Uses

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

type Proposal Uses

type Proposal struct {
    Name                 string   `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
    Description          string   `protobuf:"bytes,2,opt,name=Description,proto3" json:"Description,omitempty"`
    BatchTx              *BatchTx `protobuf:"bytes,3,opt,name=BatchTx,proto3" json:"BatchTx,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func DecodeProposal Uses

func DecodeProposal(proposalBytes []byte) (*Proposal, error)

func (*Proposal) Descriptor Uses

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

func (*Proposal) Encode Uses

func (p *Proposal) Encode() ([]byte, error)

func (*Proposal) Hash Uses

func (p *Proposal) Hash() []byte

func (*Proposal) Marshal Uses

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

func (*Proposal) MarshalTo Uses

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

func (*Proposal) MarshalToSizedBuffer Uses

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

func (*Proposal) ProtoMessage Uses

func (*Proposal) ProtoMessage()

func (*Proposal) Reset Uses

func (m *Proposal) Reset()

func (*Proposal) Size Uses

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

func (*Proposal) String Uses

func (p *Proposal) String() string

func (*Proposal) Unmarshal Uses

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

func (*Proposal) XXX_DiscardUnknown Uses

func (m *Proposal) XXX_DiscardUnknown()

func (*Proposal) XXX_Marshal Uses

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

func (*Proposal) XXX_Merge Uses

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

func (*Proposal) XXX_MessageName Uses

func (*Proposal) XXX_MessageName() string

func (*Proposal) XXX_Size Uses

func (m *Proposal) XXX_Size() int

func (*Proposal) XXX_Unmarshal Uses

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

type ProposalTx Uses

type ProposalTx struct {
    Input                *TxInput                                       `protobuf:"bytes,1,opt,name=Input,proto3" json:"Input,omitempty"`
    VotingWeight         int64                                          `protobuf:"varint,2,opt,name=VotingWeight,proto3" json:"VotingWeight,omitempty"`
    ProposalHash         *github_com_hyperledger_burrow_binary.HexBytes `protobuf:"bytes,3,opt,name=ProposalHash,proto3,customtype=github.com/hyperledger/burrow/binary.HexBytes" json:"ProposalHash,omitempty"`
    Proposal             *Proposal                                      `protobuf:"bytes,4,opt,name=Proposal,proto3" json:"Proposal,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                                       `json:"-"`
    XXX_unrecognized     []byte                                         `json:"-"`
    XXX_sizecache        int32                                          `json:"-"`
}

func NewProposalTx Uses

func NewProposalTx(propsal *Proposal) *ProposalTx

func (*ProposalTx) Any Uses

func (tx *ProposalTx) Any() *Any

func (*ProposalTx) Descriptor Uses

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

func (*ProposalTx) GetInputs Uses

func (tx *ProposalTx) GetInputs() []*TxInput

func (*ProposalTx) Marshal Uses

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

func (*ProposalTx) MarshalTo Uses

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

func (*ProposalTx) MarshalToSizedBuffer Uses

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

func (*ProposalTx) ProtoMessage Uses

func (*ProposalTx) ProtoMessage()

func (*ProposalTx) Reset Uses

func (m *ProposalTx) Reset()

func (*ProposalTx) Size Uses

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

func (*ProposalTx) String Uses

func (tx *ProposalTx) String() string

func (*ProposalTx) Type Uses

func (tx *ProposalTx) Type() Type

func (*ProposalTx) Unmarshal Uses

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

func (*ProposalTx) XXX_DiscardUnknown Uses

func (m *ProposalTx) XXX_DiscardUnknown()

func (*ProposalTx) XXX_Marshal Uses

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

func (*ProposalTx) XXX_Merge Uses

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

func (*ProposalTx) XXX_MessageName Uses

func (*ProposalTx) XXX_MessageName() string

func (*ProposalTx) XXX_Size Uses

func (m *ProposalTx) XXX_Size() int

func (*ProposalTx) XXX_Unmarshal Uses

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

type SendTx Uses

type SendTx struct {
    // The payers
    Inputs []*TxInput `protobuf:"bytes,1,rep,name=Inputs,proto3" json:"Inputs,omitempty"`
    // The payees
    Outputs              []*TxOutput `protobuf:"bytes,2,rep,name=Outputs,proto3" json:"Outputs,omitempty"`
    XXX_NoUnkeyedLiteral struct{}    `json:"-"`
    XXX_unrecognized     []byte      `json:"-"`
    XXX_sizecache        int32       `json:"-"`
}

A payment between two sets of parties

func NewSendTx Uses

func NewSendTx() *SendTx

func (*SendTx) AddInput Uses

func (tx *SendTx) AddInput(st acmstate.AccountGetter, pubkey crypto.PublicKey, amt uint64) error

func (*SendTx) AddInputWithSequence Uses

func (tx *SendTx) AddInputWithSequence(pubkey crypto.PublicKey, amt uint64, sequence uint64) error

func (*SendTx) AddOutput Uses

func (tx *SendTx) AddOutput(addr crypto.Address, amt uint64) error

func (*SendTx) Any Uses

func (tx *SendTx) Any() *Any

func (*SendTx) Descriptor Uses

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

func (*SendTx) GetInputs Uses

func (tx *SendTx) GetInputs() []*TxInput

func (*SendTx) Marshal Uses

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

func (*SendTx) MarshalTo Uses

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

func (*SendTx) MarshalToSizedBuffer Uses

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

func (*SendTx) ProtoMessage Uses

func (*SendTx) ProtoMessage()

func (*SendTx) Reset Uses

func (m *SendTx) Reset()

func (*SendTx) Size Uses

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

func (*SendTx) String Uses

func (tx *SendTx) String() string

func (*SendTx) Type Uses

func (tx *SendTx) Type() Type

func (*SendTx) Unmarshal Uses

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

func (*SendTx) XXX_DiscardUnknown Uses

func (m *SendTx) XXX_DiscardUnknown()

func (*SendTx) XXX_Marshal Uses

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

func (*SendTx) XXX_Merge Uses

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

func (*SendTx) XXX_MessageName Uses

func (*SendTx) XXX_MessageName() string

func (*SendTx) XXX_Size Uses

func (m *SendTx) XXX_Size() int

func (*SendTx) XXX_Unmarshal Uses

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

type TxInput Uses

type TxInput struct {
    // The address from which this input flows
    Address github_com_hyperledger_burrow_crypto.Address `protobuf:"bytes,1,opt,name=Address,proto3,customtype=github.com/hyperledger/burrow/crypto.Address" json:"Address"`
    // The amount of native token to transfer from the input address
    Amount uint64 `protobuf:"varint,2,opt,name=Amount,proto3" json:"Amount,omitempty"`
    // The sequence number that this transaction will induce (i.e. one greater than the input account's current sequence)
    Sequence             uint64   `protobuf:"varint,3,opt,name=Sequence,proto3" json:"Sequence,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

An input to a transaction that may carry an Amount as a charge and whose sequence number must be one greater than that associated with the account at Address at the time of being received

func (*TxInput) Descriptor Uses

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

func (*TxInput) GetAmount Uses

func (m *TxInput) GetAmount() uint64

func (*TxInput) GetSequence Uses

func (m *TxInput) GetSequence() uint64

func (*TxInput) Marshal Uses

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

func (*TxInput) MarshalTo Uses

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

func (*TxInput) MarshalToSizedBuffer Uses

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

func (*TxInput) ProtoMessage Uses

func (*TxInput) ProtoMessage()

func (*TxInput) Reset Uses

func (m *TxInput) Reset()

func (*TxInput) Size Uses

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

func (*TxInput) String Uses

func (input *TxInput) String() string

func (*TxInput) Unmarshal Uses

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

func (*TxInput) XXX_DiscardUnknown Uses

func (m *TxInput) XXX_DiscardUnknown()

func (*TxInput) XXX_Marshal Uses

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

func (*TxInput) XXX_Merge Uses

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

func (*TxInput) XXX_MessageName Uses

func (*TxInput) XXX_MessageName() string

func (*TxInput) XXX_Size Uses

func (m *TxInput) XXX_Size() int

func (*TxInput) XXX_Unmarshal Uses

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

type TxOutput Uses

type TxOutput struct {
    // The address to which this output flows
    Address github_com_hyperledger_burrow_crypto.Address `protobuf:"bytes,1,opt,name=Address,proto3,customtype=github.com/hyperledger/burrow/crypto.Address" json:"Address"`
    // The amount of native token to transfer to the output address
    Amount               uint64   `protobuf:"varint,2,opt,name=Amount,proto3" json:"Amount,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

An output from a transaction that may carry an amount as a charge

func (*TxOutput) Descriptor Uses

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

func (*TxOutput) GetAmount Uses

func (m *TxOutput) GetAmount() uint64

func (*TxOutput) Marshal Uses

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

func (*TxOutput) MarshalTo Uses

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

func (*TxOutput) MarshalToSizedBuffer Uses

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

func (*TxOutput) ProtoMessage Uses

func (*TxOutput) ProtoMessage()

func (*TxOutput) Reset Uses

func (m *TxOutput) Reset()

func (*TxOutput) Size Uses

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

func (*TxOutput) String Uses

func (txOut *TxOutput) String() string

func (*TxOutput) Unmarshal Uses

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

func (*TxOutput) XXX_DiscardUnknown Uses

func (m *TxOutput) XXX_DiscardUnknown()

func (*TxOutput) XXX_Marshal Uses

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

func (*TxOutput) XXX_Merge Uses

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

func (*TxOutput) XXX_MessageName Uses

func (*TxOutput) XXX_MessageName() string

func (*TxOutput) XXX_Size Uses

func (m *TxOutput) XXX_Size() int

func (*TxOutput) XXX_Unmarshal Uses

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

type Type Uses

type Type uint32

func TxTypeFromString Uses

func TxTypeFromString(name string) Type

func (Type) Marshal Uses

func (typ Type) Marshal() ([]byte, error)

Protobuf support

func (Type) MarshalText Uses

func (typ Type) MarshalText() ([]byte, error)

func (Type) String Uses

func (typ Type) String() string

func (*Type) Unmarshal Uses

func (typ *Type) Unmarshal(data []byte) error

func (*Type) UnmarshalText Uses

func (typ *Type) UnmarshalText(data []byte) error

type UnbondTx Uses

type UnbondTx struct {
    Input *TxInput `protobuf:"bytes,1,opt,name=Input,proto3" json:"Input,omitempty"`
    // Account to unbond
    Output               *TxOutput `protobuf:"bytes,2,opt,name=Output,proto3" json:"Output,omitempty"`
    XXX_NoUnkeyedLiteral struct{}  `json:"-"`
    XXX_unrecognized     []byte    `json:"-"`
    XXX_sizecache        int32     `json:"-"`
}

func NewUnbondTx Uses

func NewUnbondTx(address crypto.Address, amount uint64) *UnbondTx

func (*UnbondTx) Any Uses

func (tx *UnbondTx) Any() *Any

func (*UnbondTx) Descriptor Uses

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

func (*UnbondTx) GetInputs Uses

func (tx *UnbondTx) GetInputs() []*TxInput

func (*UnbondTx) Marshal Uses

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

func (*UnbondTx) MarshalTo Uses

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

func (*UnbondTx) MarshalToSizedBuffer Uses

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

func (*UnbondTx) ProtoMessage Uses

func (*UnbondTx) ProtoMessage()

func (*UnbondTx) Reset Uses

func (m *UnbondTx) Reset()

func (*UnbondTx) Size Uses

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

func (*UnbondTx) String Uses

func (tx *UnbondTx) String() string

func (*UnbondTx) Type Uses

func (tx *UnbondTx) Type() Type

func (*UnbondTx) Unmarshal Uses

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

func (*UnbondTx) XXX_DiscardUnknown Uses

func (m *UnbondTx) XXX_DiscardUnknown()

func (*UnbondTx) XXX_Marshal Uses

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

func (*UnbondTx) XXX_Merge Uses

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

func (*UnbondTx) XXX_MessageName Uses

func (*UnbondTx) XXX_MessageName() string

func (*UnbondTx) XXX_Size Uses

func (m *UnbondTx) XXX_Size() int

func (*UnbondTx) XXX_Unmarshal Uses

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

type Vote Uses

type Vote struct {
    Address              github_com_hyperledger_burrow_crypto.Address `protobuf:"bytes,1,opt,name=Address,proto3,customtype=github.com/hyperledger/burrow/crypto.Address" json:"Address"`
    VotingWeight         int64                                        `protobuf:"varint,2,opt,name=VotingWeight,proto3" json:"VotingWeight,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                                     `json:"-"`
    XXX_unrecognized     []byte                                       `json:"-"`
    XXX_sizecache        int32                                        `json:"-"`
}

func (*Vote) Descriptor Uses

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

func (*Vote) Marshal Uses

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

func (*Vote) MarshalTo Uses

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

func (*Vote) MarshalToSizedBuffer Uses

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

func (*Vote) ProtoMessage Uses

func (*Vote) ProtoMessage()

func (*Vote) Reset Uses

func (m *Vote) Reset()

func (*Vote) Size Uses

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

func (*Vote) String Uses

func (v *Vote) String() string

func (*Vote) Unmarshal Uses

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

func (*Vote) XXX_DiscardUnknown Uses

func (m *Vote) XXX_DiscardUnknown()

func (*Vote) XXX_Marshal Uses

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

func (*Vote) XXX_Merge Uses

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

func (*Vote) XXX_MessageName Uses

func (*Vote) XXX_MessageName() string

func (*Vote) XXX_Size Uses

func (m *Vote) XXX_Size() int

func (*Vote) XXX_Unmarshal Uses

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

Package payload imports 17 packages (graph) and is imported by 65 packages. Updated 2020-04-12. Refresh now. Tools for package owners.