Documentation ¶
Index ¶
- Constants
- Variables
- type Any
- func (*Any) Descriptor() ([]byte, []int)
- func (m *Any) GetBatchTx() *BatchTx
- func (m *Any) GetBondTx() *BondTx
- func (m *Any) GetCallTx() *CallTx
- func (m *Any) GetGovTx() *GovTx
- func (m *Any) GetIdentifyTx() *IdentifyTx
- func (m *Any) GetNameTx() *NameTx
- func (m *Any) GetPermsTx() *PermsTx
- func (m *Any) GetProposalTx() *ProposalTx
- func (m *Any) GetSendTx() *SendTx
- func (m *Any) GetUnbondTx() *UnbondTx
- func (this *Any) GetValue() interface{}
- func (m *Any) Marshal() (dAtA []byte, err error)
- func (m *Any) MarshalTo(dAtA []byte) (int, error)
- func (m *Any) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Any) ProtoMessage()
- func (m *Any) Reset()
- func (this *Any) SetValue(value interface{}) bool
- func (m *Any) Size() (n int)
- func (m *Any) String() string
- func (m *Any) Unmarshal(dAtA []byte) error
- func (m *Any) XXX_DiscardUnknown()
- func (m *Any) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Any) XXX_Merge(src proto.Message)
- func (*Any) XXX_MessageName() string
- func (m *Any) XXX_Size() int
- func (m *Any) XXX_Unmarshal(b []byte) error
- type Ballot
- func (*Ballot) Descriptor() ([]byte, []int)
- func (m *Ballot) GetProposal() *Proposal
- func (m *Ballot) GetProposalState() Ballot_ProposalState
- func (m *Ballot) GetVotes() []*Vote
- func (m *Ballot) Marshal() (dAtA []byte, err error)
- func (m *Ballot) MarshalTo(dAtA []byte) (int, error)
- func (m *Ballot) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Ballot) ProtoMessage()
- func (m *Ballot) Reset()
- func (m *Ballot) Size() (n int)
- func (m *Ballot) String() string
- func (m *Ballot) Unmarshal(dAtA []byte) error
- func (m *Ballot) XXX_DiscardUnknown()
- func (m *Ballot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Ballot) XXX_Merge(src proto.Message)
- func (*Ballot) XXX_MessageName() string
- func (m *Ballot) XXX_Size() int
- func (m *Ballot) XXX_Unmarshal(b []byte) error
- type Ballot_ProposalState
- type BatchTx
- func (tx *BatchTx) Any() *Any
- func (*BatchTx) Descriptor() ([]byte, []int)
- func (tx *BatchTx) GetInputs() []*TxInput
- func (m *BatchTx) Marshal() (dAtA []byte, err error)
- func (m *BatchTx) MarshalTo(dAtA []byte) (int, error)
- func (m *BatchTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BatchTx) ProtoMessage()
- func (m *BatchTx) Reset()
- func (m *BatchTx) Size() (n int)
- func (tx *BatchTx) String() string
- func (tx *BatchTx) Type() Type
- func (m *BatchTx) Unmarshal(dAtA []byte) error
- func (m *BatchTx) XXX_DiscardUnknown()
- func (m *BatchTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchTx) XXX_Merge(src proto.Message)
- func (*BatchTx) XXX_MessageName() string
- func (m *BatchTx) XXX_Size() int
- func (m *BatchTx) XXX_Unmarshal(b []byte) error
- type BondTx
- func (tx *BondTx) AddInput(st acmstate.AccountGetter, pubkey *crypto.PublicKey, amt uint64) error
- func (tx *BondTx) AddInputWithSequence(pubkey *crypto.PublicKey, amt uint64, sequence uint64) error
- func (tx *BondTx) Any() *Any
- func (*BondTx) Descriptor() ([]byte, []int)
- func (tx *BondTx) GetInputs() []*TxInput
- func (m *BondTx) Marshal() (dAtA []byte, err error)
- func (m *BondTx) MarshalTo(dAtA []byte) (int, error)
- func (m *BondTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BondTx) ProtoMessage()
- func (m *BondTx) Reset()
- func (m *BondTx) Size() (n int)
- func (tx *BondTx) String() string
- func (tx *BondTx) Type() Type
- func (m *BondTx) Unmarshal(dAtA []byte) error
- func (m *BondTx) XXX_DiscardUnknown()
- func (m *BondTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BondTx) XXX_Merge(src proto.Message)
- func (*BondTx) XXX_MessageName() string
- func (m *BondTx) XXX_Size() int
- func (m *BondTx) XXX_Unmarshal(b []byte) error
- type CallTx
- func (tx *CallTx) Any() *Any
- func (*CallTx) Descriptor() ([]byte, []int)
- func (m *CallTx) GetContractMeta() []*ContractMeta
- func (m *CallTx) GetFee() uint64
- func (m *CallTx) GetGasLimit() uint64
- func (m *CallTx) GetGasPrice() uint64
- func (m *CallTx) GetInput() *TxInput
- func (tx *CallTx) GetInputs() []*TxInput
- func (m *CallTx) Marshal() (dAtA []byte, err error)
- func (m *CallTx) MarshalTo(dAtA []byte) (int, error)
- func (m *CallTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CallTx) ProtoMessage()
- func (m *CallTx) Reset()
- func (m *CallTx) Size() (n int)
- func (tx *CallTx) String() string
- func (tx *CallTx) Type() Type
- func (m *CallTx) Unmarshal(dAtA []byte) error
- func (m *CallTx) XXX_DiscardUnknown()
- func (m *CallTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CallTx) XXX_Merge(src proto.Message)
- func (*CallTx) XXX_MessageName() string
- func (m *CallTx) XXX_Size() int
- func (m *CallTx) XXX_Unmarshal(b []byte) error
- type ContractMeta
- func (*ContractMeta) Descriptor() ([]byte, []int)
- func (m *ContractMeta) GetMeta() string
- func (m *ContractMeta) Marshal() (dAtA []byte, err error)
- func (m *ContractMeta) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContractMeta) ProtoMessage()
- func (m *ContractMeta) Reset()
- func (m *ContractMeta) Size() (n int)
- func (m *ContractMeta) String() string
- func (m *ContractMeta) Unmarshal(dAtA []byte) error
- func (m *ContractMeta) XXX_DiscardUnknown()
- func (m *ContractMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractMeta) XXX_Merge(src proto.Message)
- func (*ContractMeta) XXX_MessageName() string
- func (m *ContractMeta) XXX_Size() int
- func (m *ContractMeta) XXX_Unmarshal(b []byte) error
- type GovTx
- func AlterBalanceTx(inputAddress crypto.Address, id crypto.Addressable, bal balance.Balances) *GovTx
- func AlterPermissionsTx(inputAddress crypto.Address, id crypto.Addressable, perms permission.PermFlag) *GovTx
- func AlterPowerTx(inputAddress crypto.Address, id crypto.Addressable, power uint64) *GovTx
- func UpdateAccountTx(inputAddress crypto.Address, updates ...*spec.TemplateAccount) *GovTx
- func (tx *GovTx) Any() *Any
- func (*GovTx) Descriptor() ([]byte, []int)
- func (tx *GovTx) GetInputs() []*TxInput
- func (m *GovTx) Marshal() (dAtA []byte, err error)
- func (m *GovTx) MarshalTo(dAtA []byte) (int, error)
- func (m *GovTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GovTx) ProtoMessage()
- func (m *GovTx) Reset()
- func (m *GovTx) Size() (n int)
- func (tx *GovTx) String() string
- func (tx *GovTx) Type() Type
- func (m *GovTx) Unmarshal(dAtA []byte) error
- func (m *GovTx) XXX_DiscardUnknown()
- func (m *GovTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GovTx) XXX_Merge(src proto.Message)
- func (*GovTx) XXX_MessageName() string
- func (m *GovTx) XXX_Size() int
- func (m *GovTx) XXX_Unmarshal(b []byte) error
- type IdentifyTx
- func (tx *IdentifyTx) Any() *Any
- func (*IdentifyTx) Descriptor() ([]byte, []int)
- func (tx *IdentifyTx) GetInputs() []*TxInput
- func (m *IdentifyTx) Marshal() (dAtA []byte, err error)
- func (m *IdentifyTx) MarshalTo(dAtA []byte) (int, error)
- func (m *IdentifyTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IdentifyTx) ProtoMessage()
- func (m *IdentifyTx) Reset()
- func (m *IdentifyTx) Size() (n int)
- func (tx *IdentifyTx) String() string
- func (tx *IdentifyTx) Type() Type
- func (m *IdentifyTx) Unmarshal(dAtA []byte) error
- func (m *IdentifyTx) XXX_DiscardUnknown()
- func (m *IdentifyTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IdentifyTx) XXX_Merge(src proto.Message)
- func (*IdentifyTx) XXX_MessageName() string
- func (m *IdentifyTx) XXX_Size() int
- func (m *IdentifyTx) XXX_Unmarshal(b []byte) error
- type NameTx
- func (tx *NameTx) Any() *Any
- func (*NameTx) Descriptor() ([]byte, []int)
- func (m *NameTx) GetData() string
- func (m *NameTx) GetFee() uint64
- func (m *NameTx) GetInput() *TxInput
- func (tx *NameTx) GetInputs() []*TxInput
- func (m *NameTx) GetName() string
- func (m *NameTx) Marshal() (dAtA []byte, err error)
- func (m *NameTx) MarshalTo(dAtA []byte) (int, error)
- func (m *NameTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NameTx) ProtoMessage()
- func (m *NameTx) Reset()
- func (m *NameTx) Size() (n int)
- func (tx *NameTx) String() string
- func (tx *NameTx) Type() Type
- func (m *NameTx) Unmarshal(dAtA []byte) error
- func (m *NameTx) XXX_DiscardUnknown()
- func (m *NameTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NameTx) XXX_Merge(src proto.Message)
- func (*NameTx) XXX_MessageName() string
- func (m *NameTx) XXX_Size() int
- func (m *NameTx) XXX_Unmarshal(b []byte) error
- type Payload
- type PermsTx
- func (tx *PermsTx) Any() *Any
- func (*PermsTx) Descriptor() ([]byte, []int)
- func (m *PermsTx) GetInput() *TxInput
- func (tx *PermsTx) GetInputs() []*TxInput
- func (m *PermsTx) GetPermArgs() permission.PermArgs
- func (m *PermsTx) Marshal() (dAtA []byte, err error)
- func (m *PermsTx) MarshalTo(dAtA []byte) (int, error)
- func (m *PermsTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PermsTx) ProtoMessage()
- func (m *PermsTx) Reset()
- func (m *PermsTx) Size() (n int)
- func (tx *PermsTx) String() string
- func (tx *PermsTx) Type() Type
- func (m *PermsTx) Unmarshal(dAtA []byte) error
- func (m *PermsTx) XXX_DiscardUnknown()
- func (m *PermsTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PermsTx) XXX_Merge(src proto.Message)
- func (*PermsTx) XXX_MessageName() string
- func (m *PermsTx) XXX_Size() int
- func (m *PermsTx) XXX_Unmarshal(b []byte) error
- type Proposal
- func (*Proposal) Descriptor() ([]byte, []int)
- func (m *Proposal) Marshal() (dAtA []byte, err error)
- func (m *Proposal) MarshalTo(dAtA []byte) (int, error)
- func (m *Proposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Proposal) ProtoMessage()
- func (m *Proposal) Reset()
- func (m *Proposal) Size() (n int)
- func (p *Proposal) String() string
- func (m *Proposal) Unmarshal(dAtA []byte) error
- func (m *Proposal) XXX_DiscardUnknown()
- func (m *Proposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Proposal) XXX_Merge(src proto.Message)
- func (*Proposal) XXX_MessageName() string
- func (m *Proposal) XXX_Size() int
- func (m *Proposal) XXX_Unmarshal(b []byte) error
- type ProposalTx
- func (tx *ProposalTx) Any() *Any
- func (*ProposalTx) Descriptor() ([]byte, []int)
- func (tx *ProposalTx) GetInputs() []*TxInput
- func (m *ProposalTx) Marshal() (dAtA []byte, err error)
- func (m *ProposalTx) MarshalTo(dAtA []byte) (int, error)
- func (m *ProposalTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProposalTx) ProtoMessage()
- func (m *ProposalTx) Reset()
- func (m *ProposalTx) Size() (n int)
- func (tx *ProposalTx) String() string
- func (tx *ProposalTx) Type() Type
- func (m *ProposalTx) Unmarshal(dAtA []byte) error
- func (m *ProposalTx) XXX_DiscardUnknown()
- func (m *ProposalTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposalTx) XXX_Merge(src proto.Message)
- func (*ProposalTx) XXX_MessageName() string
- func (m *ProposalTx) XXX_Size() int
- func (m *ProposalTx) XXX_Unmarshal(b []byte) error
- type SendTx
- func (tx *SendTx) AddInput(st acmstate.AccountGetter, pubkey *crypto.PublicKey, amt uint64) error
- func (tx *SendTx) AddInputWithSequence(pubkey *crypto.PublicKey, amt uint64, sequence uint64) error
- func (tx *SendTx) AddOutput(addr crypto.Address, amt uint64)
- func (tx *SendTx) Any() *Any
- func (*SendTx) Descriptor() ([]byte, []int)
- func (tx *SendTx) GetInputs() []*TxInput
- func (m *SendTx) Marshal() (dAtA []byte, err error)
- func (m *SendTx) MarshalTo(dAtA []byte) (int, error)
- func (m *SendTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SendTx) ProtoMessage()
- func (m *SendTx) Reset()
- func (m *SendTx) Size() (n int)
- func (tx *SendTx) String() string
- func (tx *SendTx) Type() Type
- func (m *SendTx) Unmarshal(dAtA []byte) error
- func (m *SendTx) XXX_DiscardUnknown()
- func (m *SendTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendTx) XXX_Merge(src proto.Message)
- func (*SendTx) XXX_MessageName() string
- func (m *SendTx) XXX_Size() int
- func (m *SendTx) XXX_Unmarshal(b []byte) error
- type TxInput
- func (*TxInput) Descriptor() ([]byte, []int)
- func (m *TxInput) GetAmount() uint64
- func (m *TxInput) GetSequence() uint64
- func (m *TxInput) Marshal() (dAtA []byte, err error)
- func (m *TxInput) MarshalTo(dAtA []byte) (int, error)
- func (m *TxInput) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxInput) ProtoMessage()
- func (m *TxInput) Reset()
- func (m *TxInput) Size() (n int)
- func (input *TxInput) String() string
- func (m *TxInput) Unmarshal(dAtA []byte) error
- func (m *TxInput) XXX_DiscardUnknown()
- func (m *TxInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxInput) XXX_Merge(src proto.Message)
- func (*TxInput) XXX_MessageName() string
- func (m *TxInput) XXX_Size() int
- func (m *TxInput) XXX_Unmarshal(b []byte) error
- type TxOutput
- func (*TxOutput) Descriptor() ([]byte, []int)
- func (m *TxOutput) GetAmount() uint64
- func (m *TxOutput) Marshal() (dAtA []byte, err error)
- func (m *TxOutput) MarshalTo(dAtA []byte) (int, error)
- func (m *TxOutput) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxOutput) ProtoMessage()
- func (m *TxOutput) Reset()
- func (m *TxOutput) Size() (n int)
- func (txOut *TxOutput) String() string
- func (m *TxOutput) Unmarshal(dAtA []byte) error
- func (m *TxOutput) XXX_DiscardUnknown()
- func (m *TxOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxOutput) XXX_Merge(src proto.Message)
- func (*TxOutput) XXX_MessageName() string
- func (m *TxOutput) XXX_Size() int
- func (m *TxOutput) XXX_Unmarshal(b []byte) error
- type Type
- type UnbondTx
- func (tx *UnbondTx) Any() *Any
- func (*UnbondTx) Descriptor() ([]byte, []int)
- func (tx *UnbondTx) GetInputs() []*TxInput
- func (m *UnbondTx) Marshal() (dAtA []byte, err error)
- func (m *UnbondTx) MarshalTo(dAtA []byte) (int, error)
- func (m *UnbondTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UnbondTx) ProtoMessage()
- func (m *UnbondTx) Reset()
- func (m *UnbondTx) Size() (n int)
- func (tx *UnbondTx) String() string
- func (tx *UnbondTx) Type() Type
- func (m *UnbondTx) Unmarshal(dAtA []byte) error
- func (m *UnbondTx) XXX_DiscardUnknown()
- func (m *UnbondTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnbondTx) XXX_Merge(src proto.Message)
- func (*UnbondTx) XXX_MessageName() string
- func (m *UnbondTx) XXX_Size() int
- func (m *UnbondTx) XXX_Unmarshal(b []byte) error
- type Vote
- func (*Vote) Descriptor() ([]byte, []int)
- func (m *Vote) Marshal() (dAtA []byte, err error)
- func (m *Vote) MarshalTo(dAtA []byte) (int, error)
- func (m *Vote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Vote) ProtoMessage()
- func (m *Vote) Reset()
- func (m *Vote) Size() (n int)
- func (v *Vote) String() string
- func (m *Vote) Unmarshal(dAtA []byte) error
- func (m *Vote) XXX_DiscardUnknown()
- func (m *Vote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Vote) XXX_Merge(src proto.Message)
- func (*Vote) XXX_MessageName() string
- func (m *Vote) XXX_Size() int
- func (m *Vote) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
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 ¶
View Source
var ( ErrInvalidLengthPayload = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPayload = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPayload = fmt.Errorf("proto: unexpected end of group") )
View Source
var Ballot_ProposalState_name = map[int32]string{
0: "PROPOSED",
1: "EXECUTED",
2: "FAILED",
}
View Source
var Ballot_ProposalState_value = map[string]int32{
"PROPOSED": 0,
"EXECUTED": 1,
"FAILED": 2,
}
Functions ¶
This section is empty.
Types ¶
type Any ¶ added in v0.20.0
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 ¶ added in v0.20.0
func (*Any) GetBatchTx ¶ added in v0.23.0
func (*Any) GetIdentifyTx ¶ added in v0.29.0
func (m *Any) GetIdentifyTx() *IdentifyTx
func (*Any) GetPermsTx ¶ added in v0.20.0
func (*Any) GetProposalTx ¶ added in v0.23.0
func (m *Any) GetProposalTx() *ProposalTx
func (*Any) GetUnbondTx ¶ added in v0.20.0
func (*Any) MarshalToSizedBuffer ¶ added in v0.30.0
func (*Any) ProtoMessage ¶ added in v0.20.0
func (*Any) ProtoMessage()
func (*Any) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *Any) XXX_DiscardUnknown()
func (*Any) XXX_Marshal ¶ added in v0.23.0
func (*Any) XXX_MessageName ¶ added in v0.20.0
func (*Any) XXX_Unmarshal ¶ added in v0.23.0
type Ballot ¶ added in v0.23.0
type Ballot struct { Proposal *Proposal `protobuf:"bytes,1,opt,name=Proposal,proto3" json:"Proposal,omitempty"` FinalizingTx *github_com_hyperledger_burrow_binary.HexBytes `` /* 134-byte string literal not displayed */ 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 (*Ballot) Descriptor ¶ added in v0.23.0
func (*Ballot) GetProposal ¶ added in v0.23.0
func (*Ballot) GetProposalState ¶ added in v0.23.0
func (m *Ballot) GetProposalState() Ballot_ProposalState
func (*Ballot) MarshalToSizedBuffer ¶ added in v0.30.0
func (*Ballot) ProtoMessage ¶ added in v0.23.0
func (*Ballot) ProtoMessage()
func (*Ballot) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *Ballot) XXX_DiscardUnknown()
func (*Ballot) XXX_Marshal ¶ added in v0.23.0
func (*Ballot) XXX_MessageName ¶ added in v0.23.0
func (*Ballot) XXX_Unmarshal ¶ added in v0.23.0
type Ballot_ProposalState ¶ added in v0.23.0
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 ¶ added in v0.23.0
func (Ballot_ProposalState) EnumDescriptor() ([]byte, []int)
func (Ballot_ProposalState) String ¶ added in v0.23.0
func (x Ballot_ProposalState) String() string
type BatchTx ¶ added in v0.23.0
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) Descriptor ¶ added in v0.23.0
func (*BatchTx) MarshalToSizedBuffer ¶ added in v0.30.0
func (*BatchTx) ProtoMessage ¶ added in v0.23.0
func (*BatchTx) ProtoMessage()
func (*BatchTx) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *BatchTx) XXX_DiscardUnknown()
func (*BatchTx) XXX_Marshal ¶ added in v0.23.0
func (*BatchTx) XXX_MessageName ¶ added in v0.23.0
func (*BatchTx) XXX_Unmarshal ¶ added in v0.23.0
type BondTx ¶
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 (*BondTx) AddInputWithSequence ¶
func (*BondTx) Descriptor ¶ added in v0.20.0
func (*BondTx) MarshalToSizedBuffer ¶ added in v0.30.0
func (*BondTx) ProtoMessage ¶ added in v0.20.0
func (*BondTx) ProtoMessage()
func (*BondTx) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *BondTx) XXX_DiscardUnknown()
func (*BondTx) XXX_Marshal ¶ added in v0.23.0
func (*BondTx) XXX_MessageName ¶ added in v0.20.0
func (*BondTx) XXX_Unmarshal ¶ added in v0.23.0
type CallTx ¶
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 NewCallTxWithSequence ¶
func (*CallTx) Descriptor ¶ added in v0.20.0
func (*CallTx) GetContractMeta ¶ added in v0.28.0
func (m *CallTx) GetContractMeta() []*ContractMeta
func (*CallTx) GetGasLimit ¶ added in v0.20.0
func (*CallTx) GetGasPrice ¶ added in v0.29.0
func (*CallTx) MarshalToSizedBuffer ¶ added in v0.30.0
func (*CallTx) ProtoMessage ¶ added in v0.20.0
func (*CallTx) ProtoMessage()
func (*CallTx) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *CallTx) XXX_DiscardUnknown()
func (*CallTx) XXX_Marshal ¶ added in v0.23.0
func (*CallTx) XXX_MessageName ¶ added in v0.20.0
func (*CallTx) XXX_Unmarshal ¶ added in v0.23.0
type ContractMeta ¶ added in v0.28.0
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 ¶ added in v0.28.0
func (*ContractMeta) Descriptor() ([]byte, []int)
func (*ContractMeta) GetMeta ¶ added in v0.28.0
func (m *ContractMeta) GetMeta() string
func (*ContractMeta) Marshal ¶ added in v0.28.0
func (m *ContractMeta) Marshal() (dAtA []byte, err error)
func (*ContractMeta) MarshalTo ¶ added in v0.28.0
func (m *ContractMeta) MarshalTo(dAtA []byte) (int, error)
func (*ContractMeta) MarshalToSizedBuffer ¶ added in v0.30.0
func (m *ContractMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContractMeta) ProtoMessage ¶ added in v0.28.0
func (*ContractMeta) ProtoMessage()
func (*ContractMeta) Reset ¶ added in v0.28.0
func (m *ContractMeta) Reset()
func (*ContractMeta) Size ¶ added in v0.28.0
func (m *ContractMeta) Size() (n int)
func (*ContractMeta) String ¶ added in v0.28.0
func (m *ContractMeta) String() string
func (*ContractMeta) Unmarshal ¶ added in v0.28.0
func (m *ContractMeta) Unmarshal(dAtA []byte) error
func (*ContractMeta) XXX_DiscardUnknown ¶ added in v0.28.0
func (m *ContractMeta) XXX_DiscardUnknown()
func (*ContractMeta) XXX_Marshal ¶ added in v0.28.0
func (m *ContractMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractMeta) XXX_Merge ¶ added in v0.28.0
func (m *ContractMeta) XXX_Merge(src proto.Message)
func (*ContractMeta) XXX_MessageName ¶ added in v0.28.0
func (*ContractMeta) XXX_MessageName() string
func (*ContractMeta) XXX_Size ¶ added in v0.28.0
func (m *ContractMeta) XXX_Size() int
func (*ContractMeta) XXX_Unmarshal ¶ added in v0.28.0
func (m *ContractMeta) XXX_Unmarshal(b []byte) error
type GovTx ¶ added in v0.20.0
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 ¶ added in v0.29.0
func AlterPermissionsTx ¶ added in v0.29.0
func AlterPermissionsTx(inputAddress crypto.Address, id crypto.Addressable, perms permission.PermFlag) *GovTx
func AlterPowerTx ¶ added in v0.29.0
Creates a GovTx that alters the validator power of id to the power passed
func UpdateAccountTx ¶ added in v0.29.0
func UpdateAccountTx(inputAddress crypto.Address, updates ...*spec.TemplateAccount) *GovTx
func (*GovTx) Descriptor ¶ added in v0.20.0
func (*GovTx) MarshalToSizedBuffer ¶ added in v0.30.0
func (*GovTx) ProtoMessage ¶ added in v0.20.0
func (*GovTx) ProtoMessage()
func (*GovTx) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *GovTx) XXX_DiscardUnknown()
func (*GovTx) XXX_Marshal ¶ added in v0.23.0
func (*GovTx) XXX_MessageName ¶ added in v0.20.0
func (*GovTx) XXX_Unmarshal ¶ added in v0.23.0
type IdentifyTx ¶ added in v0.29.0
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 ¶ added in v0.29.0
func NewIdentifyTx(address crypto.Address, node *registry.NodeIdentity) *IdentifyTx
func (*IdentifyTx) Any ¶ added in v0.29.0
func (tx *IdentifyTx) Any() *Any
func (*IdentifyTx) Descriptor ¶ added in v0.29.0
func (*IdentifyTx) Descriptor() ([]byte, []int)
func (*IdentifyTx) GetInputs ¶ added in v0.29.0
func (tx *IdentifyTx) GetInputs() []*TxInput
func (*IdentifyTx) Marshal ¶ added in v0.29.0
func (m *IdentifyTx) Marshal() (dAtA []byte, err error)
func (*IdentifyTx) MarshalTo ¶ added in v0.29.0
func (m *IdentifyTx) MarshalTo(dAtA []byte) (int, error)
func (*IdentifyTx) MarshalToSizedBuffer ¶ added in v0.30.0
func (m *IdentifyTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IdentifyTx) ProtoMessage ¶ added in v0.29.0
func (*IdentifyTx) ProtoMessage()
func (*IdentifyTx) Reset ¶ added in v0.29.0
func (m *IdentifyTx) Reset()
func (*IdentifyTx) Size ¶ added in v0.29.0
func (m *IdentifyTx) Size() (n int)
func (*IdentifyTx) String ¶ added in v0.29.0
func (tx *IdentifyTx) String() string
func (*IdentifyTx) Type ¶ added in v0.29.0
func (tx *IdentifyTx) Type() Type
func (*IdentifyTx) Unmarshal ¶ added in v0.29.0
func (m *IdentifyTx) Unmarshal(dAtA []byte) error
func (*IdentifyTx) XXX_DiscardUnknown ¶ added in v0.29.0
func (m *IdentifyTx) XXX_DiscardUnknown()
func (*IdentifyTx) XXX_Marshal ¶ added in v0.29.0
func (m *IdentifyTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IdentifyTx) XXX_Merge ¶ added in v0.29.0
func (m *IdentifyTx) XXX_Merge(src proto.Message)
func (*IdentifyTx) XXX_MessageName ¶ added in v0.29.0
func (*IdentifyTx) XXX_MessageName() string
func (*IdentifyTx) XXX_Size ¶ added in v0.29.0
func (m *IdentifyTx) XXX_Size() int
func (*IdentifyTx) XXX_Unmarshal ¶ added in v0.29.0
func (m *IdentifyTx) XXX_Unmarshal(b []byte) error
type NameTx ¶
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 NewNameTxWithSequence ¶
func (*NameTx) Descriptor ¶ added in v0.20.0
func (*NameTx) MarshalToSizedBuffer ¶ added in v0.30.0
func (*NameTx) ProtoMessage ¶ added in v0.20.0
func (*NameTx) ProtoMessage()
func (*NameTx) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *NameTx) XXX_DiscardUnknown()
func (*NameTx) XXX_Marshal ¶ added in v0.23.0
func (*NameTx) XXX_MessageName ¶ added in v0.20.0
func (*NameTx) XXX_Unmarshal ¶ added in v0.23.0
type Payload ¶
type Payload interface { String() string GetInputs() []*TxInput Type() Type Any() *Any // The serialised size in bytes Size() int }
func New ¶
func (tx *CallTx) ProtoReflect() protoreflect.Message { fd, _ := descriptor.ForMessage(tx) ggfd, _ := descriptor.ForMessage() protodesc.NewFiles(&descriptorpb.FileDescriptorSet{File: }) f, err := protodesc.NewFile(fd, nil) if err != nil { panic(err) } mi := &protoimpl.MessageInfo{ GoReflectType: reflect.TypeOf(tx), Desc: f.Messages().Get(0), } m := mi.MessageOf(tx) fmt.Sprint(fd) return m }
type PermsTx ¶ added in v0.20.0
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 ¶ added in v0.20.0
func NewPermsTx(st acmstate.AccountGetter, from *crypto.PublicKey, args permission.PermArgs) (*PermsTx, error)
func NewPermsTxWithSequence ¶ added in v0.20.0
func (*PermsTx) Descriptor ¶ added in v0.20.0
func (*PermsTx) GetPermArgs ¶ added in v0.20.0
func (m *PermsTx) GetPermArgs() permission.PermArgs
func (*PermsTx) MarshalToSizedBuffer ¶ added in v0.30.0
func (*PermsTx) ProtoMessage ¶ added in v0.20.0
func (*PermsTx) ProtoMessage()
func (*PermsTx) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *PermsTx) XXX_DiscardUnknown()
func (*PermsTx) XXX_Marshal ¶ added in v0.23.0
func (*PermsTx) XXX_MessageName ¶ added in v0.20.0
func (*PermsTx) XXX_Unmarshal ¶ added in v0.23.0
type Proposal ¶ added in v0.23.0
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 (*Proposal) Descriptor ¶ added in v0.23.0
func (*Proposal) MarshalToSizedBuffer ¶ added in v0.30.0
func (*Proposal) ProtoMessage ¶ added in v0.23.0
func (*Proposal) ProtoMessage()
func (*Proposal) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *Proposal) XXX_DiscardUnknown()
func (*Proposal) XXX_Marshal ¶ added in v0.23.0
func (*Proposal) XXX_MessageName ¶ added in v0.23.0
func (*Proposal) XXX_Unmarshal ¶ added in v0.23.0
type ProposalTx ¶ added in v0.23.0
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 `` /* 134-byte string literal not displayed */ 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 ¶ added in v0.23.0
func NewProposalTx(propsal *Proposal) *ProposalTx
func (*ProposalTx) Any ¶ added in v0.23.0
func (tx *ProposalTx) Any() *Any
func (*ProposalTx) Descriptor ¶ added in v0.23.0
func (*ProposalTx) Descriptor() ([]byte, []int)
func (*ProposalTx) GetInputs ¶ added in v0.23.0
func (tx *ProposalTx) GetInputs() []*TxInput
func (*ProposalTx) Marshal ¶ added in v0.23.0
func (m *ProposalTx) Marshal() (dAtA []byte, err error)
func (*ProposalTx) MarshalTo ¶ added in v0.23.0
func (m *ProposalTx) MarshalTo(dAtA []byte) (int, error)
func (*ProposalTx) MarshalToSizedBuffer ¶ added in v0.30.0
func (m *ProposalTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProposalTx) ProtoMessage ¶ added in v0.23.0
func (*ProposalTx) ProtoMessage()
func (*ProposalTx) Reset ¶ added in v0.23.0
func (m *ProposalTx) Reset()
func (*ProposalTx) Size ¶ added in v0.23.0
func (m *ProposalTx) Size() (n int)
func (*ProposalTx) String ¶ added in v0.23.0
func (tx *ProposalTx) String() string
func (*ProposalTx) Type ¶ added in v0.23.0
func (tx *ProposalTx) Type() Type
func (*ProposalTx) Unmarshal ¶ added in v0.23.0
func (m *ProposalTx) Unmarshal(dAtA []byte) error
func (*ProposalTx) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *ProposalTx) XXX_DiscardUnknown()
func (*ProposalTx) XXX_Marshal ¶ added in v0.23.0
func (m *ProposalTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposalTx) XXX_Merge ¶ added in v0.23.0
func (m *ProposalTx) XXX_Merge(src proto.Message)
func (*ProposalTx) XXX_MessageName ¶ added in v0.23.0
func (*ProposalTx) XXX_MessageName() string
func (*ProposalTx) XXX_Size ¶ added in v0.23.0
func (m *ProposalTx) XXX_Size() int
func (*ProposalTx) XXX_Unmarshal ¶ added in v0.23.0
func (m *ProposalTx) XXX_Unmarshal(b []byte) error
type SendTx ¶
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 (*SendTx) AddInputWithSequence ¶
func (*SendTx) Descriptor ¶ added in v0.20.0
func (*SendTx) MarshalToSizedBuffer ¶ added in v0.30.0
func (*SendTx) ProtoMessage ¶ added in v0.20.0
func (*SendTx) ProtoMessage()
func (*SendTx) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *SendTx) XXX_DiscardUnknown()
func (*SendTx) XXX_Marshal ¶ added in v0.23.0
func (*SendTx) XXX_MessageName ¶ added in v0.20.0
func (*SendTx) XXX_Unmarshal ¶ added in v0.23.0
type TxInput ¶
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 ¶ added in v0.20.0
func (*TxInput) GetSequence ¶ added in v0.20.0
func (*TxInput) MarshalToSizedBuffer ¶ added in v0.30.0
func (*TxInput) ProtoMessage ¶ added in v0.20.0
func (*TxInput) ProtoMessage()
func (*TxInput) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *TxInput) XXX_DiscardUnknown()
func (*TxInput) XXX_Marshal ¶ added in v0.23.0
func (*TxInput) XXX_MessageName ¶ added in v0.20.0
func (*TxInput) XXX_Unmarshal ¶ added in v0.23.0
type TxOutput ¶
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 ¶ added in v0.20.0
func (*TxOutput) MarshalToSizedBuffer ¶ added in v0.30.0
func (*TxOutput) ProtoMessage ¶ added in v0.20.0
func (*TxOutput) ProtoMessage()
func (*TxOutput) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *TxOutput) XXX_DiscardUnknown()
func (*TxOutput) XXX_Marshal ¶ added in v0.23.0
func (*TxOutput) XXX_MessageName ¶ added in v0.20.0
func (*TxOutput) XXX_Unmarshal ¶ added in v0.23.0
type Type ¶
type Type uint32
func TxTypeFromString ¶
func (Type) MarshalText ¶
func (*Type) UnmarshalText ¶
type UnbondTx ¶
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 (*UnbondTx) Descriptor ¶ added in v0.20.0
func (*UnbondTx) MarshalToSizedBuffer ¶ added in v0.30.0
func (*UnbondTx) ProtoMessage ¶ added in v0.20.0
func (*UnbondTx) ProtoMessage()
func (*UnbondTx) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *UnbondTx) XXX_DiscardUnknown()
func (*UnbondTx) XXX_Marshal ¶ added in v0.23.0
func (*UnbondTx) XXX_MessageName ¶ added in v0.20.0
func (*UnbondTx) XXX_Unmarshal ¶ added in v0.23.0
type Vote ¶ added in v0.23.0
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 ¶ added in v0.23.0
func (*Vote) MarshalToSizedBuffer ¶ added in v0.30.0
func (*Vote) ProtoMessage ¶ added in v0.23.0
func (*Vote) ProtoMessage()
func (*Vote) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *Vote) XXX_DiscardUnknown()
func (*Vote) XXX_Marshal ¶ added in v0.23.0
func (*Vote) XXX_MessageName ¶ added in v0.23.0
func (*Vote) XXX_Unmarshal ¶ added in v0.23.0
Click to show internal directories.
Click to hide internal directories.