Documentation
¶
Overview ¶
Package app links together all the various components to construct the bnsd app.
Index ¶
- Variables
- func Application(name string, h weave.Handler, tx weave.TxDecoder, dbPath string, ...) (app.BaseApp, error)
- func Authenticator() x.Authenticator
- func Chain(authFn x.Authenticator, minFee coin.Coin) app.Decorators
- func CommitKVStore(dbPath string) (weave.CommitKVStore, error)
- func DecorateApp(application app.BaseApp, logger log.Logger) app.BaseApp
- func Examples() []commands.Example
- func GenInitOptions(args []string) (json.RawMessage, error)
- func GenerateApp(options *server.Options) (abci.Application, error)
- func GenerateCoinKey() (weave.Address, string, error)
- func InlineApp(kv weave.CommitKVStore, logger log.Logger, debug bool) abci.Application
- func QueryRouter(minFee coin.Coin) weave.QueryRouter
- func RegisterNft()
- func Router(authFn x.Authenticator, issuer weave.Address, nftBuckets map[string]orm.Bucket) app.Router
- func Stack(issuer weave.Address, nftBuckets map[string]orm.Bucket, minFee coin.Coin) weave.Handler
- func TxDecoder(bz []byte) (weave.Tx, error)
- type BatchMsg
- func (*BatchMsg) Descriptor() ([]byte, []int)
- func (m *BatchMsg) GetMessages() []BatchMsg_Union
- func (m *BatchMsg) Marshal() (dAtA []byte, err error)
- func (m *BatchMsg) MarshalTo(dAtA []byte) (int, error)
- func (msg *BatchMsg) MsgList() ([]weave.Msg, error)
- func (*BatchMsg) Path() string
- func (*BatchMsg) ProtoMessage()
- func (m *BatchMsg) Reset()
- func (m *BatchMsg) Size() (n int)
- func (m *BatchMsg) String() string
- func (m *BatchMsg) Unmarshal(dAtA []byte) error
- func (msg *BatchMsg) Validate() error
- func (m *BatchMsg) XXX_DiscardUnknown()
- func (m *BatchMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchMsg) XXX_Merge(src proto.Message)
- func (m *BatchMsg) XXX_Size() int
- func (m *BatchMsg) XXX_Unmarshal(b []byte) error
- type BatchMsg_Union
- func (*BatchMsg_Union) Descriptor() ([]byte, []int)
- func (m *BatchMsg_Union) GetAddApprovalMsg() *nft.AddApprovalMsg
- func (m *BatchMsg_Union) GetAddUsernameAddressNftMsg() *username.AddChainAddressMsg
- func (m *BatchMsg_Union) GetCreateContractMsg() *multisig.CreateContractMsg
- func (m *BatchMsg_Union) GetCreateEscrowMsg() *escrow.CreateEscrowMsg
- func (m *BatchMsg_Union) GetDistributeMsg() *distribution.DistributeMsg
- func (m *BatchMsg_Union) GetIssueUsernameNftMsg() *username.IssueTokenMsg
- func (m *BatchMsg_Union) GetNewRevenueMsg() *distribution.NewRevenueMsg
- func (m *BatchMsg_Union) GetNewTokenInfoMsg() *currency.NewTokenInfoMsg
- func (m *BatchMsg_Union) GetReleaseEscrowMsg() *escrow.ReleaseEscrowMsg
- func (m *BatchMsg_Union) GetRemoveApprovalMsg() *nft.RemoveApprovalMsg
- func (m *BatchMsg_Union) GetRemoveUsernameAddressMsg() *username.RemoveChainAddressMsg
- func (m *BatchMsg_Union) GetResetRevenueMsg() *distribution.ResetRevenueMsg
- func (m *BatchMsg_Union) GetReturnEscrowMsg() *escrow.ReturnEscrowMsg
- func (m *BatchMsg_Union) GetSendMsg() *cash.SendMsg
- func (m *BatchMsg_Union) GetSetValidatorsMsg() *validators.SetValidatorsMsg
- func (m *BatchMsg_Union) GetSum() isBatchMsg_Union_Sum
- func (m *BatchMsg_Union) GetUpdateContractMsg() *multisig.UpdateContractMsg
- func (m *BatchMsg_Union) GetUpdateEscrowMsg() *escrow.UpdateEscrowPartiesMsg
- func (m *BatchMsg_Union) Marshal() (dAtA []byte, err error)
- func (m *BatchMsg_Union) MarshalTo(dAtA []byte) (int, error)
- func (*BatchMsg_Union) ProtoMessage()
- func (m *BatchMsg_Union) Reset()
- func (m *BatchMsg_Union) Size() (n int)
- func (m *BatchMsg_Union) String() string
- func (m *BatchMsg_Union) Unmarshal(dAtA []byte) error
- func (m *BatchMsg_Union) XXX_DiscardUnknown()
- func (m *BatchMsg_Union) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchMsg_Union) XXX_Merge(src proto.Message)
- func (*BatchMsg_Union) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *BatchMsg_Union) XXX_Size() int
- func (m *BatchMsg_Union) XXX_Unmarshal(b []byte) error
- type BatchMsg_Union_AddApprovalMsg
- type BatchMsg_Union_AddUsernameAddressNftMsg
- type BatchMsg_Union_CreateContractMsg
- type BatchMsg_Union_CreateEscrowMsg
- type BatchMsg_Union_DistributeMsg
- type BatchMsg_Union_IssueUsernameNftMsg
- type BatchMsg_Union_NewRevenueMsg
- type BatchMsg_Union_NewTokenInfoMsg
- type BatchMsg_Union_ReleaseEscrowMsg
- type BatchMsg_Union_RemoveApprovalMsg
- type BatchMsg_Union_RemoveUsernameAddressMsg
- type BatchMsg_Union_ResetRevenueMsg
- type BatchMsg_Union_ReturnEscrowMsg
- type BatchMsg_Union_SendMsg
- type BatchMsg_Union_SetValidatorsMsg
- type BatchMsg_Union_UpdateContractMsg
- type BatchMsg_Union_UpdateEscrowMsg
- type ProposalBatchMsg
- func (*ProposalBatchMsg) Descriptor() ([]byte, []int)
- func (m *ProposalBatchMsg) GetMessages() []ProposalBatchMsg_Union
- func (m *ProposalBatchMsg) Marshal() (dAtA []byte, err error)
- func (m *ProposalBatchMsg) MarshalTo(dAtA []byte) (int, error)
- func (msg *ProposalBatchMsg) MsgList() ([]weave.Msg, error)
- func (*ProposalBatchMsg) Path() string
- func (*ProposalBatchMsg) ProtoMessage()
- func (m *ProposalBatchMsg) Reset()
- func (m *ProposalBatchMsg) Size() (n int)
- func (m *ProposalBatchMsg) String() string
- func (m *ProposalBatchMsg) Unmarshal(dAtA []byte) error
- func (msg *ProposalBatchMsg) Validate() error
- func (m *ProposalBatchMsg) XXX_DiscardUnknown()
- func (m *ProposalBatchMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposalBatchMsg) XXX_Merge(src proto.Message)
- func (m *ProposalBatchMsg) XXX_Size() int
- func (m *ProposalBatchMsg) XXX_Unmarshal(b []byte) error
- type ProposalBatchMsg_Union
- func (*ProposalBatchMsg_Union) Descriptor() ([]byte, []int)
- func (m *ProposalBatchMsg_Union) GetDistributeMsg() *distribution.DistributeMsg
- func (m *ProposalBatchMsg_Union) GetNewRevenueMsg() *distribution.NewRevenueMsg
- func (m *ProposalBatchMsg_Union) GetReleaseEscrowMsg() *escrow.ReleaseEscrowMsg
- func (m *ProposalBatchMsg_Union) GetResetRevenueMsg() *distribution.ResetRevenueMsg
- func (m *ProposalBatchMsg_Union) GetSendMsg() *cash.SendMsg
- func (m *ProposalBatchMsg_Union) GetSetValidatorsMsg() *validators.SetValidatorsMsg
- func (m *ProposalBatchMsg_Union) GetSum() isProposalBatchMsg_Union_Sum
- func (m *ProposalBatchMsg_Union) GetTextResolutionMsg() *gov.TextResolutionMsg
- func (m *ProposalBatchMsg_Union) GetUpdateElectionRuleMsg() *gov.UpdateElectionRuleMsg
- func (m *ProposalBatchMsg_Union) GetUpdateElectorateMsg() *gov.UpdateElectorateMsg
- func (m *ProposalBatchMsg_Union) GetUpdateEscrowMsg() *escrow.UpdateEscrowPartiesMsg
- func (m *ProposalBatchMsg_Union) Marshal() (dAtA []byte, err error)
- func (m *ProposalBatchMsg_Union) MarshalTo(dAtA []byte) (int, error)
- func (*ProposalBatchMsg_Union) ProtoMessage()
- func (m *ProposalBatchMsg_Union) Reset()
- func (m *ProposalBatchMsg_Union) Size() (n int)
- func (m *ProposalBatchMsg_Union) String() string
- func (m *ProposalBatchMsg_Union) Unmarshal(dAtA []byte) error
- func (m *ProposalBatchMsg_Union) XXX_DiscardUnknown()
- func (m *ProposalBatchMsg_Union) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposalBatchMsg_Union) XXX_Merge(src proto.Message)
- func (*ProposalBatchMsg_Union) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *ProposalBatchMsg_Union) XXX_Size() int
- func (m *ProposalBatchMsg_Union) XXX_Unmarshal(b []byte) error
- type ProposalBatchMsg_Union_DistributeMsg
- type ProposalBatchMsg_Union_NewRevenueMsg
- type ProposalBatchMsg_Union_ReleaseEscrowMsg
- type ProposalBatchMsg_Union_ResetRevenueMsg
- type ProposalBatchMsg_Union_SendMsg
- type ProposalBatchMsg_Union_SetValidatorsMsg
- type ProposalBatchMsg_Union_TextResolutionMsg
- type ProposalBatchMsg_Union_UpdateElectionRuleMsg
- type ProposalBatchMsg_Union_UpdateElectorateMsg
- type ProposalBatchMsg_Union_UpdateEscrowMsg
- type ProposalOptions
- func (*ProposalOptions) Descriptor() ([]byte, []int)
- func (m *ProposalOptions) GetBatchMsg() *ProposalBatchMsg
- func (m *ProposalOptions) GetDistributeMsg() *distribution.DistributeMsg
- func (m *ProposalOptions) GetNewRevenueMsg() *distribution.NewRevenueMsg
- func (m *ProposalOptions) GetOption() isProposalOptions_Option
- func (m *ProposalOptions) GetReleaseEscrowMsg() *escrow.ReleaseEscrowMsg
- func (m *ProposalOptions) GetResetRevenueMsg() *distribution.ResetRevenueMsg
- func (m *ProposalOptions) GetSendMsg() *cash.SendMsg
- func (m *ProposalOptions) GetSetValidatorsMsg() *validators.SetValidatorsMsg
- func (m *ProposalOptions) GetTextResolutionMsg() *gov.TextResolutionMsg
- func (m *ProposalOptions) GetUpdateElectionRuleMsg() *gov.UpdateElectionRuleMsg
- func (m *ProposalOptions) GetUpdateElectorateMsg() *gov.UpdateElectorateMsg
- func (m *ProposalOptions) GetUpdateEscrowMsg() *escrow.UpdateEscrowPartiesMsg
- func (m *ProposalOptions) GetUpgradeSchemaMsg() *migration.UpgradeSchemaMsg
- func (m *ProposalOptions) Marshal() (dAtA []byte, err error)
- func (m *ProposalOptions) MarshalTo(dAtA []byte) (int, error)
- func (*ProposalOptions) ProtoMessage()
- func (m *ProposalOptions) Reset()
- func (m *ProposalOptions) Size() (n int)
- func (m *ProposalOptions) String() string
- func (m *ProposalOptions) Unmarshal(dAtA []byte) error
- func (m *ProposalOptions) XXX_DiscardUnknown()
- func (m *ProposalOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposalOptions) XXX_Merge(src proto.Message)
- func (*ProposalOptions) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *ProposalOptions) XXX_Size() int
- func (m *ProposalOptions) XXX_Unmarshal(b []byte) error
- type ProposalOptions_BatchMsg
- type ProposalOptions_DistributeMsg
- type ProposalOptions_NewRevenueMsg
- type ProposalOptions_ReleaseEscrowMsg
- type ProposalOptions_ResetRevenueMsg
- type ProposalOptions_SendMsg
- type ProposalOptions_SetValidatorsMsg
- type ProposalOptions_TextResolutionMsg
- type ProposalOptions_UpdateElectionRuleMsg
- type ProposalOptions_UpdateElectorateMsg
- type ProposalOptions_UpdateEscrowMsg
- type ProposalOptions_UpgradeSchemaMsg
- type Tx
- func (*Tx) Descriptor() ([]byte, []int)
- func (tx *Tx) Fee(payer weave.Address, fee coin.Coin)
- func (m *Tx) GetAddApprovalMsg() *nft.AddApprovalMsg
- func (m *Tx) GetAddUsernameAddressNftMsg() *username.AddChainAddressMsg
- func (m *Tx) GetBatchMsg() *BatchMsg
- func (m *Tx) GetCreateContractMsg() *multisig.CreateContractMsg
- func (m *Tx) GetCreateEscrowMsg() *escrow.CreateEscrowMsg
- func (m *Tx) GetCreateProposalMsg() *gov.CreateProposalMsg
- func (m *Tx) GetCreateSwapMsg() *aswap.CreateSwapMsg
- func (m *Tx) GetDeleteProposalMsg() *gov.DeleteProposalMsg
- func (m *Tx) GetDistributeMsg() *distribution.DistributeMsg
- func (m *Tx) GetFees() *cash.FeeInfo
- func (m *Tx) GetIssueUsernameNftMsg() *username.IssueTokenMsg
- func (tx *Tx) GetMsg() (weave.Msg, error)
- func (m *Tx) GetMultisig() [][]byte
- func (m *Tx) GetNewRevenueMsg() *distribution.NewRevenueMsg
- func (m *Tx) GetNewTokenInfoMsg() *currency.NewTokenInfoMsg
- func (m *Tx) GetReleaseEscrowMsg() *escrow.ReleaseEscrowMsg
- func (m *Tx) GetReleaseSwapMsg() *aswap.ReleaseSwapMsg
- func (m *Tx) GetRemoveApprovalMsg() *nft.RemoveApprovalMsg
- func (m *Tx) GetRemoveUsernameAddressMsg() *username.RemoveChainAddressMsg
- func (m *Tx) GetResetRevenueMsg() *distribution.ResetRevenueMsg
- func (m *Tx) GetReturnEscrowMsg() *escrow.ReturnEscrowMsg
- func (m *Tx) GetReturnSwapMsg() *aswap.ReturnSwapMsg
- func (m *Tx) GetSendMsg() *cash.SendMsg
- func (m *Tx) GetSetValidatorsMsg() *validators.SetValidatorsMsg
- func (tx *Tx) GetSignBytes() ([]byte, error)
- func (m *Tx) GetSignatures() []*sigs.StdSignature
- func (m *Tx) GetSum() isTx_Sum
- func (m *Tx) GetTallyMsg() *gov.TallyMsg
- func (m *Tx) GetUpdateContractMsg() *multisig.UpdateContractMsg
- func (m *Tx) GetUpdateElectionRuleMsg() *gov.UpdateElectionRuleMsg
- func (m *Tx) GetUpdateElectorateMsg() *gov.UpdateElectorateMsg
- func (m *Tx) GetUpdateEscrowMsg() *escrow.UpdateEscrowPartiesMsg
- func (m *Tx) GetUpgradeSchemaMsg() *migration.UpgradeSchemaMsg
- func (m *Tx) GetVoteMsg() *gov.VoteMsg
- func (m *Tx) Marshal() (dAtA []byte, err error)
- func (m *Tx) MarshalTo(dAtA []byte) (int, error)
- func (*Tx) ProtoMessage()
- func (m *Tx) Reset()
- func (m *Tx) Size() (n int)
- func (m *Tx) String() string
- func (m *Tx) Unmarshal(dAtA []byte) error
- func (m *Tx) XXX_DiscardUnknown()
- func (m *Tx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tx) XXX_Merge(src proto.Message)
- func (*Tx) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Tx) XXX_Size() int
- func (m *Tx) XXX_Unmarshal(b []byte) error
- type Tx_AddApprovalMsg
- type Tx_AddUsernameAddressNftMsg
- type Tx_BatchMsg
- type Tx_CreateContractMsg
- type Tx_CreateEscrowMsg
- type Tx_CreateProposalMsg
- type Tx_CreateSwapMsg
- type Tx_DeleteProposalMsg
- type Tx_DistributeMsg
- type Tx_IssueUsernameNftMsg
- type Tx_NewRevenueMsg
- type Tx_NewTokenInfoMsg
- type Tx_ReleaseEscrowMsg
- type Tx_ReleaseSwapMsg
- type Tx_RemoveApprovalMsg
- type Tx_RemoveUsernameAddressMsg
- type Tx_ResetRevenueMsg
- type Tx_ReturnEscrowMsg
- type Tx_ReturnSwapMsg
- type Tx_SendMsg
- type Tx_SetValidatorsMsg
- type Tx_TallyMsg
- type Tx_UpdateContractMsg
- type Tx_UpdateElectionRuleMsg
- type Tx_UpdateElectorateMsg
- type Tx_UpdateEscrowMsg
- type Tx_UpgradeSchemaMsg
- type Tx_VoteMsg
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthCodec = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCodec = fmt.Errorf("proto: integer overflow") )
Functions ¶
func Application ¶
func Application(name string, h weave.Handler, tx weave.TxDecoder, dbPath string, options *server.Options) (app.BaseApp, error)
Application constructs a basic ABCI application with the given arguments. If you are not sure what to use for the Handler, just use Stack().
func Authenticator ¶
func Authenticator() x.Authenticator
Authenticator returns the typical authentication, just using public key signatures
func Chain ¶
func Chain(authFn x.Authenticator, minFee coin.Coin) app.Decorators
Chain returns a chain of decorators, to handle authentication, fees, logging, and recovery
func CommitKVStore ¶
func CommitKVStore(dbPath string) (weave.CommitKVStore, error)
CommitKVStore returns an initialized KVStore that persists the data to the named path.
func DecorateApp ¶ added in v0.11.2
DecorateApp adds initializers and Logger to an Application
func GenInitOptions ¶
func GenInitOptions(args []string) (json.RawMessage, error)
GenInitOptions will produce some basic options for one rich account, to use for dev mode
You can set
func GenerateApp ¶
func GenerateApp(options *server.Options) (abci.Application, error)
GenerateApp is used to create a stub for server/start.go command
func GenerateCoinKey ¶
GenerateCoinKey returns the address of a public key, along with a json representation of the keys. You can give coins to this address and import the keys in the js client to use them
func InlineApp ¶ added in v0.11.2
func InlineApp(kv weave.CommitKVStore, logger log.Logger, debug bool) abci.Application
InlineApp will take a previously prepared CommitStore and return a complete Application
func QueryRouter ¶
func QueryRouter(minFee coin.Coin) weave.QueryRouter
QueryRouter returns a default query router, allowing access to "/wallets", "/auth", "/", "/escrows", "/nft/usernames", "/nft/blockchains", "/nft/tickers", "/validators"
func RegisterNft ¶
func RegisterNft()
Register nft types and actions for shared action handling via base handler
func Router ¶
func Router(authFn x.Authenticator, issuer weave.Address, nftBuckets map[string]orm.Bucket) app.Router
Router returns a default router, only dispatching to the cash.SendMsg
Types ¶
type BatchMsg ¶ added in v0.16.0
type BatchMsg struct {
Messages []BatchMsg_Union `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages"`
}
BatchMsg encapsulates multiple messages to support batch transaction
func (*BatchMsg) Descriptor ¶ added in v0.16.0
func (*BatchMsg) GetMessages ¶ added in v0.16.0
func (m *BatchMsg) GetMessages() []BatchMsg_Union
func (*BatchMsg) ProtoMessage ¶ added in v0.16.0
func (*BatchMsg) ProtoMessage()
func (*BatchMsg) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *BatchMsg) XXX_DiscardUnknown()
func (*BatchMsg) XXX_Marshal ¶ added in v0.16.0
func (*BatchMsg) XXX_Unmarshal ¶ added in v0.16.0
type BatchMsg_Union ¶ added in v0.16.0
type BatchMsg_Union struct {
// Types that are valid to be assigned to Sum:
// *BatchMsg_Union_SendMsg
// *BatchMsg_Union_CreateEscrowMsg
// *BatchMsg_Union_ReleaseEscrowMsg
// *BatchMsg_Union_ReturnEscrowMsg
// *BatchMsg_Union_UpdateEscrowMsg
// *BatchMsg_Union_CreateContractMsg
// *BatchMsg_Union_UpdateContractMsg
// *BatchMsg_Union_SetValidatorsMsg
// *BatchMsg_Union_NewTokenInfoMsg
// *BatchMsg_Union_AddApprovalMsg
// *BatchMsg_Union_RemoveApprovalMsg
// *BatchMsg_Union_IssueUsernameNftMsg
// *BatchMsg_Union_AddUsernameAddressNftMsg
// *BatchMsg_Union_RemoveUsernameAddressMsg
// *BatchMsg_Union_NewRevenueMsg
// *BatchMsg_Union_DistributeMsg
// *BatchMsg_Union_ResetRevenueMsg
Sum isBatchMsg_Union_Sum `protobuf_oneof:"sum"`
}
func (*BatchMsg_Union) Descriptor ¶ added in v0.16.0
func (*BatchMsg_Union) Descriptor() ([]byte, []int)
func (*BatchMsg_Union) GetAddApprovalMsg ¶ added in v0.16.0
func (m *BatchMsg_Union) GetAddApprovalMsg() *nft.AddApprovalMsg
func (*BatchMsg_Union) GetAddUsernameAddressNftMsg ¶ added in v0.16.0
func (m *BatchMsg_Union) GetAddUsernameAddressNftMsg() *username.AddChainAddressMsg
func (*BatchMsg_Union) GetCreateContractMsg ¶ added in v0.16.0
func (m *BatchMsg_Union) GetCreateContractMsg() *multisig.CreateContractMsg
func (*BatchMsg_Union) GetCreateEscrowMsg ¶ added in v0.16.0
func (m *BatchMsg_Union) GetCreateEscrowMsg() *escrow.CreateEscrowMsg
func (*BatchMsg_Union) GetDistributeMsg ¶ added in v0.16.0
func (m *BatchMsg_Union) GetDistributeMsg() *distribution.DistributeMsg
func (*BatchMsg_Union) GetIssueUsernameNftMsg ¶ added in v0.16.0
func (m *BatchMsg_Union) GetIssueUsernameNftMsg() *username.IssueTokenMsg
func (*BatchMsg_Union) GetNewRevenueMsg ¶ added in v0.16.0
func (m *BatchMsg_Union) GetNewRevenueMsg() *distribution.NewRevenueMsg
func (*BatchMsg_Union) GetNewTokenInfoMsg ¶ added in v0.16.0
func (m *BatchMsg_Union) GetNewTokenInfoMsg() *currency.NewTokenInfoMsg
func (*BatchMsg_Union) GetReleaseEscrowMsg ¶ added in v0.16.0
func (m *BatchMsg_Union) GetReleaseEscrowMsg() *escrow.ReleaseEscrowMsg
func (*BatchMsg_Union) GetRemoveApprovalMsg ¶ added in v0.16.0
func (m *BatchMsg_Union) GetRemoveApprovalMsg() *nft.RemoveApprovalMsg
func (*BatchMsg_Union) GetRemoveUsernameAddressMsg ¶ added in v0.16.0
func (m *BatchMsg_Union) GetRemoveUsernameAddressMsg() *username.RemoveChainAddressMsg
func (*BatchMsg_Union) GetResetRevenueMsg ¶ added in v0.16.0
func (m *BatchMsg_Union) GetResetRevenueMsg() *distribution.ResetRevenueMsg
func (*BatchMsg_Union) GetReturnEscrowMsg ¶ added in v0.16.0
func (m *BatchMsg_Union) GetReturnEscrowMsg() *escrow.ReturnEscrowMsg
func (*BatchMsg_Union) GetSendMsg ¶ added in v0.16.0
func (m *BatchMsg_Union) GetSendMsg() *cash.SendMsg
func (*BatchMsg_Union) GetSetValidatorsMsg ¶ added in v0.16.0
func (m *BatchMsg_Union) GetSetValidatorsMsg() *validators.SetValidatorsMsg
func (*BatchMsg_Union) GetSum ¶ added in v0.16.0
func (m *BatchMsg_Union) GetSum() isBatchMsg_Union_Sum
func (*BatchMsg_Union) GetUpdateContractMsg ¶ added in v0.16.0
func (m *BatchMsg_Union) GetUpdateContractMsg() *multisig.UpdateContractMsg
func (*BatchMsg_Union) GetUpdateEscrowMsg ¶ added in v0.16.0
func (m *BatchMsg_Union) GetUpdateEscrowMsg() *escrow.UpdateEscrowPartiesMsg
func (*BatchMsg_Union) Marshal ¶ added in v0.16.0
func (m *BatchMsg_Union) Marshal() (dAtA []byte, err error)
func (*BatchMsg_Union) MarshalTo ¶ added in v0.16.0
func (m *BatchMsg_Union) MarshalTo(dAtA []byte) (int, error)
func (*BatchMsg_Union) ProtoMessage ¶ added in v0.16.0
func (*BatchMsg_Union) ProtoMessage()
func (*BatchMsg_Union) Reset ¶ added in v0.16.0
func (m *BatchMsg_Union) Reset()
func (*BatchMsg_Union) Size ¶ added in v0.16.0
func (m *BatchMsg_Union) Size() (n int)
func (*BatchMsg_Union) String ¶ added in v0.16.0
func (m *BatchMsg_Union) String() string
func (*BatchMsg_Union) Unmarshal ¶ added in v0.16.0
func (m *BatchMsg_Union) Unmarshal(dAtA []byte) error
func (*BatchMsg_Union) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *BatchMsg_Union) XXX_DiscardUnknown()
func (*BatchMsg_Union) XXX_Marshal ¶ added in v0.16.0
func (m *BatchMsg_Union) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchMsg_Union) XXX_Merge ¶ added in v0.16.0
func (m *BatchMsg_Union) XXX_Merge(src proto.Message)
func (*BatchMsg_Union) XXX_OneofFuncs ¶ added in v0.16.0
func (*BatchMsg_Union) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*BatchMsg_Union) XXX_Size ¶ added in v0.16.0
func (m *BatchMsg_Union) XXX_Size() int
func (*BatchMsg_Union) XXX_Unmarshal ¶ added in v0.16.0
func (m *BatchMsg_Union) XXX_Unmarshal(b []byte) error
type BatchMsg_Union_AddApprovalMsg ¶ added in v0.16.0
type BatchMsg_Union_AddApprovalMsg struct {
AddApprovalMsg *nft.AddApprovalMsg `protobuf:"bytes,61,opt,name=add_approval_msg,json=addApprovalMsg,proto3,oneof"`
}
func (*BatchMsg_Union_AddApprovalMsg) MarshalTo ¶ added in v0.16.0
func (m *BatchMsg_Union_AddApprovalMsg) MarshalTo(dAtA []byte) (int, error)
func (*BatchMsg_Union_AddApprovalMsg) Size ¶ added in v0.16.0
func (m *BatchMsg_Union_AddApprovalMsg) Size() (n int)
type BatchMsg_Union_AddUsernameAddressNftMsg ¶ added in v0.16.0
type BatchMsg_Union_AddUsernameAddressNftMsg struct {
AddUsernameAddressNftMsg *username.AddChainAddressMsg `protobuf:"bytes,64,opt,name=add_username_address_nft_msg,json=addUsernameAddressNftMsg,proto3,oneof"`
}
func (*BatchMsg_Union_AddUsernameAddressNftMsg) MarshalTo ¶ added in v0.16.0
func (m *BatchMsg_Union_AddUsernameAddressNftMsg) MarshalTo(dAtA []byte) (int, error)
func (*BatchMsg_Union_AddUsernameAddressNftMsg) Size ¶ added in v0.16.0
func (m *BatchMsg_Union_AddUsernameAddressNftMsg) Size() (n int)
type BatchMsg_Union_CreateContractMsg ¶ added in v0.16.0
type BatchMsg_Union_CreateContractMsg struct {
CreateContractMsg *multisig.CreateContractMsg `protobuf:"bytes,56,opt,name=create_contract_msg,json=createContractMsg,proto3,oneof"`
}
func (*BatchMsg_Union_CreateContractMsg) MarshalTo ¶ added in v0.16.0
func (m *BatchMsg_Union_CreateContractMsg) MarshalTo(dAtA []byte) (int, error)
func (*BatchMsg_Union_CreateContractMsg) Size ¶ added in v0.16.0
func (m *BatchMsg_Union_CreateContractMsg) Size() (n int)
type BatchMsg_Union_CreateEscrowMsg ¶ added in v0.16.0
type BatchMsg_Union_CreateEscrowMsg struct {
CreateEscrowMsg *escrow.CreateEscrowMsg `protobuf:"bytes,52,opt,name=create_escrow_msg,json=createEscrowMsg,proto3,oneof"`
}
func (*BatchMsg_Union_CreateEscrowMsg) MarshalTo ¶ added in v0.16.0
func (m *BatchMsg_Union_CreateEscrowMsg) MarshalTo(dAtA []byte) (int, error)
func (*BatchMsg_Union_CreateEscrowMsg) Size ¶ added in v0.16.0
func (m *BatchMsg_Union_CreateEscrowMsg) Size() (n int)
type BatchMsg_Union_DistributeMsg ¶ added in v0.16.0
type BatchMsg_Union_DistributeMsg struct {
DistributeMsg *distribution.DistributeMsg `protobuf:"bytes,67,opt,name=distribute_msg,json=distributeMsg,proto3,oneof"`
}
func (*BatchMsg_Union_DistributeMsg) MarshalTo ¶ added in v0.16.0
func (m *BatchMsg_Union_DistributeMsg) MarshalTo(dAtA []byte) (int, error)
func (*BatchMsg_Union_DistributeMsg) Size ¶ added in v0.16.0
func (m *BatchMsg_Union_DistributeMsg) Size() (n int)
type BatchMsg_Union_IssueUsernameNftMsg ¶ added in v0.16.0
type BatchMsg_Union_IssueUsernameNftMsg struct {
IssueUsernameNftMsg *username.IssueTokenMsg `protobuf:"bytes,63,opt,name=issue_username_nft_msg,json=issueUsernameNftMsg,proto3,oneof"`
}
func (*BatchMsg_Union_IssueUsernameNftMsg) MarshalTo ¶ added in v0.16.0
func (m *BatchMsg_Union_IssueUsernameNftMsg) MarshalTo(dAtA []byte) (int, error)
func (*BatchMsg_Union_IssueUsernameNftMsg) Size ¶ added in v0.16.0
func (m *BatchMsg_Union_IssueUsernameNftMsg) Size() (n int)
type BatchMsg_Union_NewRevenueMsg ¶ added in v0.16.0
type BatchMsg_Union_NewRevenueMsg struct {
NewRevenueMsg *distribution.NewRevenueMsg `protobuf:"bytes,66,opt,name=new_revenue_msg,json=newRevenueMsg,proto3,oneof"`
}
func (*BatchMsg_Union_NewRevenueMsg) MarshalTo ¶ added in v0.16.0
func (m *BatchMsg_Union_NewRevenueMsg) MarshalTo(dAtA []byte) (int, error)
func (*BatchMsg_Union_NewRevenueMsg) Size ¶ added in v0.16.0
func (m *BatchMsg_Union_NewRevenueMsg) Size() (n int)
type BatchMsg_Union_NewTokenInfoMsg ¶ added in v0.16.0
type BatchMsg_Union_NewTokenInfoMsg struct {
NewTokenInfoMsg *currency.NewTokenInfoMsg `protobuf:"bytes,59,opt,name=new_token_info_msg,json=newTokenInfoMsg,proto3,oneof"`
}
func (*BatchMsg_Union_NewTokenInfoMsg) MarshalTo ¶ added in v0.16.0
func (m *BatchMsg_Union_NewTokenInfoMsg) MarshalTo(dAtA []byte) (int, error)
func (*BatchMsg_Union_NewTokenInfoMsg) Size ¶ added in v0.16.0
func (m *BatchMsg_Union_NewTokenInfoMsg) Size() (n int)
type BatchMsg_Union_ReleaseEscrowMsg ¶ added in v0.16.0
type BatchMsg_Union_ReleaseEscrowMsg struct {
ReleaseEscrowMsg *escrow.ReleaseEscrowMsg `protobuf:"bytes,53,opt,name=release_escrow_msg,json=releaseEscrowMsg,proto3,oneof"`
}
func (*BatchMsg_Union_ReleaseEscrowMsg) MarshalTo ¶ added in v0.16.0
func (m *BatchMsg_Union_ReleaseEscrowMsg) MarshalTo(dAtA []byte) (int, error)
func (*BatchMsg_Union_ReleaseEscrowMsg) Size ¶ added in v0.16.0
func (m *BatchMsg_Union_ReleaseEscrowMsg) Size() (n int)
type BatchMsg_Union_RemoveApprovalMsg ¶ added in v0.16.0
type BatchMsg_Union_RemoveApprovalMsg struct {
RemoveApprovalMsg *nft.RemoveApprovalMsg `protobuf:"bytes,62,opt,name=remove_approval_msg,json=removeApprovalMsg,proto3,oneof"`
}
func (*BatchMsg_Union_RemoveApprovalMsg) MarshalTo ¶ added in v0.16.0
func (m *BatchMsg_Union_RemoveApprovalMsg) MarshalTo(dAtA []byte) (int, error)
func (*BatchMsg_Union_RemoveApprovalMsg) Size ¶ added in v0.16.0
func (m *BatchMsg_Union_RemoveApprovalMsg) Size() (n int)
type BatchMsg_Union_RemoveUsernameAddressMsg ¶ added in v0.16.0
type BatchMsg_Union_RemoveUsernameAddressMsg struct {
RemoveUsernameAddressMsg *username.RemoveChainAddressMsg `protobuf:"bytes,65,opt,name=remove_username_address_msg,json=removeUsernameAddressMsg,proto3,oneof"`
}
func (*BatchMsg_Union_RemoveUsernameAddressMsg) MarshalTo ¶ added in v0.16.0
func (m *BatchMsg_Union_RemoveUsernameAddressMsg) MarshalTo(dAtA []byte) (int, error)
func (*BatchMsg_Union_RemoveUsernameAddressMsg) Size ¶ added in v0.16.0
func (m *BatchMsg_Union_RemoveUsernameAddressMsg) Size() (n int)
type BatchMsg_Union_ResetRevenueMsg ¶ added in v0.16.0
type BatchMsg_Union_ResetRevenueMsg struct {
ResetRevenueMsg *distribution.ResetRevenueMsg `protobuf:"bytes,68,opt,name=reset_revenue_msg,json=resetRevenueMsg,proto3,oneof"`
}
func (*BatchMsg_Union_ResetRevenueMsg) MarshalTo ¶ added in v0.16.0
func (m *BatchMsg_Union_ResetRevenueMsg) MarshalTo(dAtA []byte) (int, error)
func (*BatchMsg_Union_ResetRevenueMsg) Size ¶ added in v0.16.0
func (m *BatchMsg_Union_ResetRevenueMsg) Size() (n int)
type BatchMsg_Union_ReturnEscrowMsg ¶ added in v0.16.0
type BatchMsg_Union_ReturnEscrowMsg struct {
ReturnEscrowMsg *escrow.ReturnEscrowMsg `protobuf:"bytes,54,opt,name=return_escrow_msg,json=returnEscrowMsg,proto3,oneof"`
}
func (*BatchMsg_Union_ReturnEscrowMsg) MarshalTo ¶ added in v0.16.0
func (m *BatchMsg_Union_ReturnEscrowMsg) MarshalTo(dAtA []byte) (int, error)
func (*BatchMsg_Union_ReturnEscrowMsg) Size ¶ added in v0.16.0
func (m *BatchMsg_Union_ReturnEscrowMsg) Size() (n int)
type BatchMsg_Union_SendMsg ¶ added in v0.16.0
type BatchMsg_Union_SendMsg struct {
SendMsg *cash.SendMsg `protobuf:"bytes,51,opt,name=send_msg,json=sendMsg,proto3,oneof"`
}
func (*BatchMsg_Union_SendMsg) MarshalTo ¶ added in v0.16.0
func (m *BatchMsg_Union_SendMsg) MarshalTo(dAtA []byte) (int, error)
func (*BatchMsg_Union_SendMsg) Size ¶ added in v0.16.0
func (m *BatchMsg_Union_SendMsg) Size() (n int)
type BatchMsg_Union_SetValidatorsMsg ¶ added in v0.16.0
type BatchMsg_Union_SetValidatorsMsg struct {
SetValidatorsMsg *validators.SetValidatorsMsg `protobuf:"bytes,58,opt,name=set_validators_msg,json=setValidatorsMsg,proto3,oneof"`
}
func (*BatchMsg_Union_SetValidatorsMsg) MarshalTo ¶ added in v0.16.0
func (m *BatchMsg_Union_SetValidatorsMsg) MarshalTo(dAtA []byte) (int, error)
func (*BatchMsg_Union_SetValidatorsMsg) Size ¶ added in v0.16.0
func (m *BatchMsg_Union_SetValidatorsMsg) Size() (n int)
type BatchMsg_Union_UpdateContractMsg ¶ added in v0.16.0
type BatchMsg_Union_UpdateContractMsg struct {
UpdateContractMsg *multisig.UpdateContractMsg `protobuf:"bytes,57,opt,name=update_contract_msg,json=updateContractMsg,proto3,oneof"`
}
func (*BatchMsg_Union_UpdateContractMsg) MarshalTo ¶ added in v0.16.0
func (m *BatchMsg_Union_UpdateContractMsg) MarshalTo(dAtA []byte) (int, error)
func (*BatchMsg_Union_UpdateContractMsg) Size ¶ added in v0.16.0
func (m *BatchMsg_Union_UpdateContractMsg) Size() (n int)
type BatchMsg_Union_UpdateEscrowMsg ¶ added in v0.16.0
type BatchMsg_Union_UpdateEscrowMsg struct {
UpdateEscrowMsg *escrow.UpdateEscrowPartiesMsg `protobuf:"bytes,55,opt,name=update_escrow_msg,json=updateEscrowMsg,proto3,oneof"`
}
func (*BatchMsg_Union_UpdateEscrowMsg) MarshalTo ¶ added in v0.16.0
func (m *BatchMsg_Union_UpdateEscrowMsg) MarshalTo(dAtA []byte) (int, error)
func (*BatchMsg_Union_UpdateEscrowMsg) Size ¶ added in v0.16.0
func (m *BatchMsg_Union_UpdateEscrowMsg) Size() (n int)
type ProposalBatchMsg ¶ added in v0.16.0
type ProposalBatchMsg struct {
Messages []ProposalBatchMsg_Union `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages"`
}
func (*ProposalBatchMsg) Descriptor ¶ added in v0.16.0
func (*ProposalBatchMsg) Descriptor() ([]byte, []int)
func (*ProposalBatchMsg) GetMessages ¶ added in v0.16.0
func (m *ProposalBatchMsg) GetMessages() []ProposalBatchMsg_Union
func (*ProposalBatchMsg) Marshal ¶ added in v0.16.0
func (m *ProposalBatchMsg) Marshal() (dAtA []byte, err error)
func (*ProposalBatchMsg) MarshalTo ¶ added in v0.16.0
func (m *ProposalBatchMsg) MarshalTo(dAtA []byte) (int, error)
func (*ProposalBatchMsg) MsgList ¶ added in v0.16.0
func (msg *ProposalBatchMsg) MsgList() ([]weave.Msg, error)
func (*ProposalBatchMsg) Path ¶ added in v0.16.0
func (*ProposalBatchMsg) Path() string
func (*ProposalBatchMsg) ProtoMessage ¶ added in v0.16.0
func (*ProposalBatchMsg) ProtoMessage()
func (*ProposalBatchMsg) Reset ¶ added in v0.16.0
func (m *ProposalBatchMsg) Reset()
func (*ProposalBatchMsg) Size ¶ added in v0.16.0
func (m *ProposalBatchMsg) Size() (n int)
func (*ProposalBatchMsg) String ¶ added in v0.16.0
func (m *ProposalBatchMsg) String() string
func (*ProposalBatchMsg) Unmarshal ¶ added in v0.16.0
func (m *ProposalBatchMsg) Unmarshal(dAtA []byte) error
func (*ProposalBatchMsg) Validate ¶ added in v0.16.0
func (msg *ProposalBatchMsg) Validate() error
func (*ProposalBatchMsg) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *ProposalBatchMsg) XXX_DiscardUnknown()
func (*ProposalBatchMsg) XXX_Marshal ¶ added in v0.16.0
func (m *ProposalBatchMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposalBatchMsg) XXX_Merge ¶ added in v0.16.0
func (m *ProposalBatchMsg) XXX_Merge(src proto.Message)
func (*ProposalBatchMsg) XXX_Size ¶ added in v0.16.0
func (m *ProposalBatchMsg) XXX_Size() int
func (*ProposalBatchMsg) XXX_Unmarshal ¶ added in v0.16.0
func (m *ProposalBatchMsg) XXX_Unmarshal(b []byte) error
type ProposalBatchMsg_Union ¶ added in v0.16.0
type ProposalBatchMsg_Union struct {
// Types that are valid to be assigned to Sum:
// *ProposalBatchMsg_Union_SendMsg
// *ProposalBatchMsg_Union_ReleaseEscrowMsg
// *ProposalBatchMsg_Union_UpdateEscrowMsg
// *ProposalBatchMsg_Union_SetValidatorsMsg
// *ProposalBatchMsg_Union_NewRevenueMsg
// *ProposalBatchMsg_Union_DistributeMsg
// *ProposalBatchMsg_Union_ResetRevenueMsg
// *ProposalBatchMsg_Union_UpdateElectorateMsg
// *ProposalBatchMsg_Union_UpdateElectionRuleMsg
// *ProposalBatchMsg_Union_TextResolutionMsg
Sum isProposalBatchMsg_Union_Sum `protobuf_oneof:"sum"`
}
func (*ProposalBatchMsg_Union) Descriptor ¶ added in v0.16.0
func (*ProposalBatchMsg_Union) Descriptor() ([]byte, []int)
func (*ProposalBatchMsg_Union) GetDistributeMsg ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union) GetDistributeMsg() *distribution.DistributeMsg
func (*ProposalBatchMsg_Union) GetNewRevenueMsg ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union) GetNewRevenueMsg() *distribution.NewRevenueMsg
func (*ProposalBatchMsg_Union) GetReleaseEscrowMsg ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union) GetReleaseEscrowMsg() *escrow.ReleaseEscrowMsg
func (*ProposalBatchMsg_Union) GetResetRevenueMsg ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union) GetResetRevenueMsg() *distribution.ResetRevenueMsg
func (*ProposalBatchMsg_Union) GetSendMsg ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union) GetSendMsg() *cash.SendMsg
func (*ProposalBatchMsg_Union) GetSetValidatorsMsg ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union) GetSetValidatorsMsg() *validators.SetValidatorsMsg
func (*ProposalBatchMsg_Union) GetSum ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union) GetSum() isProposalBatchMsg_Union_Sum
func (*ProposalBatchMsg_Union) GetTextResolutionMsg ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union) GetTextResolutionMsg() *gov.TextResolutionMsg
func (*ProposalBatchMsg_Union) GetUpdateElectionRuleMsg ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union) GetUpdateElectionRuleMsg() *gov.UpdateElectionRuleMsg
func (*ProposalBatchMsg_Union) GetUpdateElectorateMsg ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union) GetUpdateElectorateMsg() *gov.UpdateElectorateMsg
func (*ProposalBatchMsg_Union) GetUpdateEscrowMsg ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union) GetUpdateEscrowMsg() *escrow.UpdateEscrowPartiesMsg
func (*ProposalBatchMsg_Union) Marshal ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union) Marshal() (dAtA []byte, err error)
func (*ProposalBatchMsg_Union) MarshalTo ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union) MarshalTo(dAtA []byte) (int, error)
func (*ProposalBatchMsg_Union) ProtoMessage ¶ added in v0.16.0
func (*ProposalBatchMsg_Union) ProtoMessage()
func (*ProposalBatchMsg_Union) Reset ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union) Reset()
func (*ProposalBatchMsg_Union) Size ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union) Size() (n int)
func (*ProposalBatchMsg_Union) String ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union) String() string
func (*ProposalBatchMsg_Union) Unmarshal ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union) Unmarshal(dAtA []byte) error
func (*ProposalBatchMsg_Union) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union) XXX_DiscardUnknown()
func (*ProposalBatchMsg_Union) XXX_Marshal ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposalBatchMsg_Union) XXX_Merge ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union) XXX_Merge(src proto.Message)
func (*ProposalBatchMsg_Union) XXX_OneofFuncs ¶ added in v0.16.0
func (*ProposalBatchMsg_Union) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*ProposalBatchMsg_Union) XXX_Size ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union) XXX_Size() int
func (*ProposalBatchMsg_Union) XXX_Unmarshal ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union) XXX_Unmarshal(b []byte) error
type ProposalBatchMsg_Union_DistributeMsg ¶ added in v0.16.0
type ProposalBatchMsg_Union_DistributeMsg struct {
DistributeMsg *distribution.DistributeMsg `protobuf:"bytes,67,opt,name=distribute_msg,json=distributeMsg,proto3,oneof"`
}
func (*ProposalBatchMsg_Union_DistributeMsg) MarshalTo ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union_DistributeMsg) MarshalTo(dAtA []byte) (int, error)
func (*ProposalBatchMsg_Union_DistributeMsg) Size ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union_DistributeMsg) Size() (n int)
type ProposalBatchMsg_Union_NewRevenueMsg ¶ added in v0.16.0
type ProposalBatchMsg_Union_NewRevenueMsg struct {
NewRevenueMsg *distribution.NewRevenueMsg `protobuf:"bytes,66,opt,name=new_revenue_msg,json=newRevenueMsg,proto3,oneof"`
}
func (*ProposalBatchMsg_Union_NewRevenueMsg) MarshalTo ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union_NewRevenueMsg) MarshalTo(dAtA []byte) (int, error)
func (*ProposalBatchMsg_Union_NewRevenueMsg) Size ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union_NewRevenueMsg) Size() (n int)
type ProposalBatchMsg_Union_ReleaseEscrowMsg ¶ added in v0.16.0
type ProposalBatchMsg_Union_ReleaseEscrowMsg struct {
ReleaseEscrowMsg *escrow.ReleaseEscrowMsg `protobuf:"bytes,53,opt,name=release_escrow_msg,json=releaseEscrowMsg,proto3,oneof"`
}
func (*ProposalBatchMsg_Union_ReleaseEscrowMsg) MarshalTo ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union_ReleaseEscrowMsg) MarshalTo(dAtA []byte) (int, error)
func (*ProposalBatchMsg_Union_ReleaseEscrowMsg) Size ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union_ReleaseEscrowMsg) Size() (n int)
type ProposalBatchMsg_Union_ResetRevenueMsg ¶ added in v0.16.0
type ProposalBatchMsg_Union_ResetRevenueMsg struct {
ResetRevenueMsg *distribution.ResetRevenueMsg `protobuf:"bytes,68,opt,name=reset_revenue_msg,json=resetRevenueMsg,proto3,oneof"`
}
func (*ProposalBatchMsg_Union_ResetRevenueMsg) MarshalTo ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union_ResetRevenueMsg) MarshalTo(dAtA []byte) (int, error)
func (*ProposalBatchMsg_Union_ResetRevenueMsg) Size ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union_ResetRevenueMsg) Size() (n int)
type ProposalBatchMsg_Union_SendMsg ¶ added in v0.16.0
type ProposalBatchMsg_Union_SendMsg struct {
SendMsg *cash.SendMsg `protobuf:"bytes,51,opt,name=send_msg,json=sendMsg,proto3,oneof"`
}
func (*ProposalBatchMsg_Union_SendMsg) MarshalTo ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union_SendMsg) MarshalTo(dAtA []byte) (int, error)
func (*ProposalBatchMsg_Union_SendMsg) Size ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union_SendMsg) Size() (n int)
type ProposalBatchMsg_Union_SetValidatorsMsg ¶ added in v0.16.0
type ProposalBatchMsg_Union_SetValidatorsMsg struct {
SetValidatorsMsg *validators.SetValidatorsMsg `protobuf:"bytes,58,opt,name=set_validators_msg,json=setValidatorsMsg,proto3,oneof"`
}
func (*ProposalBatchMsg_Union_SetValidatorsMsg) MarshalTo ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union_SetValidatorsMsg) MarshalTo(dAtA []byte) (int, error)
func (*ProposalBatchMsg_Union_SetValidatorsMsg) Size ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union_SetValidatorsMsg) Size() (n int)
type ProposalBatchMsg_Union_TextResolutionMsg ¶ added in v0.16.0
type ProposalBatchMsg_Union_TextResolutionMsg struct {
TextResolutionMsg *gov.TextResolutionMsg `protobuf:"bytes,79,opt,name=text_resolution_msg,json=textResolutionMsg,proto3,oneof"`
}
func (*ProposalBatchMsg_Union_TextResolutionMsg) MarshalTo ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union_TextResolutionMsg) MarshalTo(dAtA []byte) (int, error)
func (*ProposalBatchMsg_Union_TextResolutionMsg) Size ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union_TextResolutionMsg) Size() (n int)
type ProposalBatchMsg_Union_UpdateElectionRuleMsg ¶ added in v0.16.0
type ProposalBatchMsg_Union_UpdateElectionRuleMsg struct {
UpdateElectionRuleMsg *gov.UpdateElectionRuleMsg `protobuf:"bytes,78,opt,name=update_election_rule_msg,json=updateElectionRuleMsg,proto3,oneof"`
}
func (*ProposalBatchMsg_Union_UpdateElectionRuleMsg) MarshalTo ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union_UpdateElectionRuleMsg) MarshalTo(dAtA []byte) (int, error)
func (*ProposalBatchMsg_Union_UpdateElectionRuleMsg) Size ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union_UpdateElectionRuleMsg) Size() (n int)
type ProposalBatchMsg_Union_UpdateElectorateMsg ¶ added in v0.16.0
type ProposalBatchMsg_Union_UpdateElectorateMsg struct {
UpdateElectorateMsg *gov.UpdateElectorateMsg `protobuf:"bytes,77,opt,name=update_electorate_msg,json=updateElectorateMsg,proto3,oneof"`
}
func (*ProposalBatchMsg_Union_UpdateElectorateMsg) MarshalTo ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union_UpdateElectorateMsg) MarshalTo(dAtA []byte) (int, error)
func (*ProposalBatchMsg_Union_UpdateElectorateMsg) Size ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union_UpdateElectorateMsg) Size() (n int)
type ProposalBatchMsg_Union_UpdateEscrowMsg ¶ added in v0.16.0
type ProposalBatchMsg_Union_UpdateEscrowMsg struct {
UpdateEscrowMsg *escrow.UpdateEscrowPartiesMsg `protobuf:"bytes,55,opt,name=update_escrow_msg,json=updateEscrowMsg,proto3,oneof"`
}
func (*ProposalBatchMsg_Union_UpdateEscrowMsg) MarshalTo ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union_UpdateEscrowMsg) MarshalTo(dAtA []byte) (int, error)
func (*ProposalBatchMsg_Union_UpdateEscrowMsg) Size ¶ added in v0.16.0
func (m *ProposalBatchMsg_Union_UpdateEscrowMsg) Size() (n int)
type ProposalOptions ¶ added in v0.16.0
type ProposalOptions struct {
// Types that are valid to be assigned to Option:
// *ProposalOptions_SendMsg
// *ProposalOptions_ReleaseEscrowMsg
// *ProposalOptions_UpdateEscrowMsg
// *ProposalOptions_SetValidatorsMsg
// *ProposalOptions_BatchMsg
// *ProposalOptions_NewRevenueMsg
// *ProposalOptions_DistributeMsg
// *ProposalOptions_ResetRevenueMsg
// *ProposalOptions_UpgradeSchemaMsg
// *ProposalOptions_UpdateElectorateMsg
// *ProposalOptions_UpdateElectionRuleMsg
// *ProposalOptions_TextResolutionMsg
Option isProposalOptions_Option `protobuf_oneof:"option"`
}
ProposalOptions are possible items that can be enacted by a governance vote Trimmed down somewhat arbitrary to what is believed to be reasonable
func (*ProposalOptions) Descriptor ¶ added in v0.16.0
func (*ProposalOptions) Descriptor() ([]byte, []int)
func (*ProposalOptions) GetBatchMsg ¶ added in v0.16.0
func (m *ProposalOptions) GetBatchMsg() *ProposalBatchMsg
func (*ProposalOptions) GetDistributeMsg ¶ added in v0.16.0
func (m *ProposalOptions) GetDistributeMsg() *distribution.DistributeMsg
func (*ProposalOptions) GetNewRevenueMsg ¶ added in v0.16.0
func (m *ProposalOptions) GetNewRevenueMsg() *distribution.NewRevenueMsg
func (*ProposalOptions) GetOption ¶ added in v0.16.0
func (m *ProposalOptions) GetOption() isProposalOptions_Option
func (*ProposalOptions) GetReleaseEscrowMsg ¶ added in v0.16.0
func (m *ProposalOptions) GetReleaseEscrowMsg() *escrow.ReleaseEscrowMsg
func (*ProposalOptions) GetResetRevenueMsg ¶ added in v0.16.0
func (m *ProposalOptions) GetResetRevenueMsg() *distribution.ResetRevenueMsg
func (*ProposalOptions) GetSendMsg ¶ added in v0.16.0
func (m *ProposalOptions) GetSendMsg() *cash.SendMsg
func (*ProposalOptions) GetSetValidatorsMsg ¶ added in v0.16.0
func (m *ProposalOptions) GetSetValidatorsMsg() *validators.SetValidatorsMsg
func (*ProposalOptions) GetTextResolutionMsg ¶ added in v0.16.0
func (m *ProposalOptions) GetTextResolutionMsg() *gov.TextResolutionMsg
func (*ProposalOptions) GetUpdateElectionRuleMsg ¶ added in v0.16.0
func (m *ProposalOptions) GetUpdateElectionRuleMsg() *gov.UpdateElectionRuleMsg
func (*ProposalOptions) GetUpdateElectorateMsg ¶ added in v0.16.0
func (m *ProposalOptions) GetUpdateElectorateMsg() *gov.UpdateElectorateMsg
func (*ProposalOptions) GetUpdateEscrowMsg ¶ added in v0.16.0
func (m *ProposalOptions) GetUpdateEscrowMsg() *escrow.UpdateEscrowPartiesMsg
func (*ProposalOptions) GetUpgradeSchemaMsg ¶ added in v0.16.0
func (m *ProposalOptions) GetUpgradeSchemaMsg() *migration.UpgradeSchemaMsg
func (*ProposalOptions) Marshal ¶ added in v0.16.0
func (m *ProposalOptions) Marshal() (dAtA []byte, err error)
func (*ProposalOptions) MarshalTo ¶ added in v0.16.0
func (m *ProposalOptions) MarshalTo(dAtA []byte) (int, error)
func (*ProposalOptions) ProtoMessage ¶ added in v0.16.0
func (*ProposalOptions) ProtoMessage()
func (*ProposalOptions) Reset ¶ added in v0.16.0
func (m *ProposalOptions) Reset()
func (*ProposalOptions) Size ¶ added in v0.16.0
func (m *ProposalOptions) Size() (n int)
func (*ProposalOptions) String ¶ added in v0.16.0
func (m *ProposalOptions) String() string
func (*ProposalOptions) Unmarshal ¶ added in v0.16.0
func (m *ProposalOptions) Unmarshal(dAtA []byte) error
func (*ProposalOptions) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *ProposalOptions) XXX_DiscardUnknown()
func (*ProposalOptions) XXX_Marshal ¶ added in v0.16.0
func (m *ProposalOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposalOptions) XXX_Merge ¶ added in v0.16.0
func (m *ProposalOptions) XXX_Merge(src proto.Message)
func (*ProposalOptions) XXX_OneofFuncs ¶ added in v0.16.0
func (*ProposalOptions) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*ProposalOptions) XXX_Size ¶ added in v0.16.0
func (m *ProposalOptions) XXX_Size() int
func (*ProposalOptions) XXX_Unmarshal ¶ added in v0.16.0
func (m *ProposalOptions) XXX_Unmarshal(b []byte) error
type ProposalOptions_BatchMsg ¶ added in v0.16.0
type ProposalOptions_BatchMsg struct {
BatchMsg *ProposalBatchMsg `protobuf:"bytes,60,opt,name=batch_msg,json=batchMsg,proto3,oneof"`
}
func (*ProposalOptions_BatchMsg) MarshalTo ¶ added in v0.16.0
func (m *ProposalOptions_BatchMsg) MarshalTo(dAtA []byte) (int, error)
func (*ProposalOptions_BatchMsg) Size ¶ added in v0.16.0
func (m *ProposalOptions_BatchMsg) Size() (n int)
type ProposalOptions_DistributeMsg ¶ added in v0.16.0
type ProposalOptions_DistributeMsg struct {
DistributeMsg *distribution.DistributeMsg `protobuf:"bytes,67,opt,name=distribute_msg,json=distributeMsg,proto3,oneof"`
}
func (*ProposalOptions_DistributeMsg) MarshalTo ¶ added in v0.16.0
func (m *ProposalOptions_DistributeMsg) MarshalTo(dAtA []byte) (int, error)
func (*ProposalOptions_DistributeMsg) Size ¶ added in v0.16.0
func (m *ProposalOptions_DistributeMsg) Size() (n int)
type ProposalOptions_NewRevenueMsg ¶ added in v0.16.0
type ProposalOptions_NewRevenueMsg struct {
NewRevenueMsg *distribution.NewRevenueMsg `protobuf:"bytes,66,opt,name=new_revenue_msg,json=newRevenueMsg,proto3,oneof"`
}
func (*ProposalOptions_NewRevenueMsg) MarshalTo ¶ added in v0.16.0
func (m *ProposalOptions_NewRevenueMsg) MarshalTo(dAtA []byte) (int, error)
func (*ProposalOptions_NewRevenueMsg) Size ¶ added in v0.16.0
func (m *ProposalOptions_NewRevenueMsg) Size() (n int)
type ProposalOptions_ReleaseEscrowMsg ¶ added in v0.16.0
type ProposalOptions_ReleaseEscrowMsg struct {
ReleaseEscrowMsg *escrow.ReleaseEscrowMsg `protobuf:"bytes,53,opt,name=release_escrow_msg,json=releaseEscrowMsg,proto3,oneof"`
}
func (*ProposalOptions_ReleaseEscrowMsg) MarshalTo ¶ added in v0.16.0
func (m *ProposalOptions_ReleaseEscrowMsg) MarshalTo(dAtA []byte) (int, error)
func (*ProposalOptions_ReleaseEscrowMsg) Size ¶ added in v0.16.0
func (m *ProposalOptions_ReleaseEscrowMsg) Size() (n int)
type ProposalOptions_ResetRevenueMsg ¶ added in v0.16.0
type ProposalOptions_ResetRevenueMsg struct {
ResetRevenueMsg *distribution.ResetRevenueMsg `protobuf:"bytes,68,opt,name=reset_revenue_msg,json=resetRevenueMsg,proto3,oneof"`
}
func (*ProposalOptions_ResetRevenueMsg) MarshalTo ¶ added in v0.16.0
func (m *ProposalOptions_ResetRevenueMsg) MarshalTo(dAtA []byte) (int, error)
func (*ProposalOptions_ResetRevenueMsg) Size ¶ added in v0.16.0
func (m *ProposalOptions_ResetRevenueMsg) Size() (n int)
type ProposalOptions_SendMsg ¶ added in v0.16.0
type ProposalOptions_SendMsg struct {
SendMsg *cash.SendMsg `protobuf:"bytes,51,opt,name=send_msg,json=sendMsg,proto3,oneof"`
}
func (*ProposalOptions_SendMsg) MarshalTo ¶ added in v0.16.0
func (m *ProposalOptions_SendMsg) MarshalTo(dAtA []byte) (int, error)
func (*ProposalOptions_SendMsg) Size ¶ added in v0.16.0
func (m *ProposalOptions_SendMsg) Size() (n int)
type ProposalOptions_SetValidatorsMsg ¶ added in v0.16.0
type ProposalOptions_SetValidatorsMsg struct {
SetValidatorsMsg *validators.SetValidatorsMsg `protobuf:"bytes,58,opt,name=set_validators_msg,json=setValidatorsMsg,proto3,oneof"`
}
func (*ProposalOptions_SetValidatorsMsg) MarshalTo ¶ added in v0.16.0
func (m *ProposalOptions_SetValidatorsMsg) MarshalTo(dAtA []byte) (int, error)
func (*ProposalOptions_SetValidatorsMsg) Size ¶ added in v0.16.0
func (m *ProposalOptions_SetValidatorsMsg) Size() (n int)
type ProposalOptions_TextResolutionMsg ¶ added in v0.16.0
type ProposalOptions_TextResolutionMsg struct {
TextResolutionMsg *gov.TextResolutionMsg `protobuf:"bytes,79,opt,name=text_resolution_msg,json=textResolutionMsg,proto3,oneof"`
}
func (*ProposalOptions_TextResolutionMsg) MarshalTo ¶ added in v0.16.0
func (m *ProposalOptions_TextResolutionMsg) MarshalTo(dAtA []byte) (int, error)
func (*ProposalOptions_TextResolutionMsg) Size ¶ added in v0.16.0
func (m *ProposalOptions_TextResolutionMsg) Size() (n int)
type ProposalOptions_UpdateElectionRuleMsg ¶ added in v0.16.0
type ProposalOptions_UpdateElectionRuleMsg struct {
UpdateElectionRuleMsg *gov.UpdateElectionRuleMsg `protobuf:"bytes,78,opt,name=update_election_rule_msg,json=updateElectionRuleMsg,proto3,oneof"`
}
func (*ProposalOptions_UpdateElectionRuleMsg) MarshalTo ¶ added in v0.16.0
func (m *ProposalOptions_UpdateElectionRuleMsg) MarshalTo(dAtA []byte) (int, error)
func (*ProposalOptions_UpdateElectionRuleMsg) Size ¶ added in v0.16.0
func (m *ProposalOptions_UpdateElectionRuleMsg) Size() (n int)
type ProposalOptions_UpdateElectorateMsg ¶ added in v0.16.0
type ProposalOptions_UpdateElectorateMsg struct {
UpdateElectorateMsg *gov.UpdateElectorateMsg `protobuf:"bytes,77,opt,name=update_electorate_msg,json=updateElectorateMsg,proto3,oneof"`
}
func (*ProposalOptions_UpdateElectorateMsg) MarshalTo ¶ added in v0.16.0
func (m *ProposalOptions_UpdateElectorateMsg) MarshalTo(dAtA []byte) (int, error)
func (*ProposalOptions_UpdateElectorateMsg) Size ¶ added in v0.16.0
func (m *ProposalOptions_UpdateElectorateMsg) Size() (n int)
type ProposalOptions_UpdateEscrowMsg ¶ added in v0.16.0
type ProposalOptions_UpdateEscrowMsg struct {
UpdateEscrowMsg *escrow.UpdateEscrowPartiesMsg `protobuf:"bytes,55,opt,name=update_escrow_msg,json=updateEscrowMsg,proto3,oneof"`
}
func (*ProposalOptions_UpdateEscrowMsg) MarshalTo ¶ added in v0.16.0
func (m *ProposalOptions_UpdateEscrowMsg) MarshalTo(dAtA []byte) (int, error)
func (*ProposalOptions_UpdateEscrowMsg) Size ¶ added in v0.16.0
func (m *ProposalOptions_UpdateEscrowMsg) Size() (n int)
type ProposalOptions_UpgradeSchemaMsg ¶ added in v0.16.0
type ProposalOptions_UpgradeSchemaMsg struct {
UpgradeSchemaMsg *migration.UpgradeSchemaMsg `protobuf:"bytes,69,opt,name=upgrade_schema_msg,json=upgradeSchemaMsg,proto3,oneof"`
}
func (*ProposalOptions_UpgradeSchemaMsg) MarshalTo ¶ added in v0.16.0
func (m *ProposalOptions_UpgradeSchemaMsg) MarshalTo(dAtA []byte) (int, error)
func (*ProposalOptions_UpgradeSchemaMsg) Size ¶ added in v0.16.0
func (m *ProposalOptions_UpgradeSchemaMsg) Size() (n int)
type Tx ¶
type Tx struct {
Fees *cash.FeeInfo `protobuf:"bytes,1,opt,name=fees,proto3" json:"fees,omitempty"`
Signatures []*sigs.StdSignature `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"`
// ID of a multisig contract.
Multisig [][]byte `protobuf:"bytes,4,rep,name=multisig,proto3" json:"multisig,omitempty"`
// msg is a sum type over all allowed messages on this chain.
//
// Types that are valid to be assigned to Sum:
// *Tx_SendMsg
// *Tx_CreateEscrowMsg
// *Tx_ReleaseEscrowMsg
// *Tx_ReturnEscrowMsg
// *Tx_UpdateEscrowMsg
// *Tx_CreateContractMsg
// *Tx_UpdateContractMsg
// *Tx_SetValidatorsMsg
// *Tx_NewTokenInfoMsg
// *Tx_BatchMsg
// *Tx_AddApprovalMsg
// *Tx_RemoveApprovalMsg
// *Tx_IssueUsernameNftMsg
// *Tx_AddUsernameAddressNftMsg
// *Tx_RemoveUsernameAddressMsg
// *Tx_NewRevenueMsg
// *Tx_DistributeMsg
// *Tx_ResetRevenueMsg
// *Tx_UpgradeSchemaMsg
// *Tx_CreateSwapMsg
// *Tx_ReleaseSwapMsg
// *Tx_ReturnSwapMsg
// *Tx_CreateProposalMsg
// *Tx_DeleteProposalMsg
// *Tx_VoteMsg
// *Tx_TallyMsg
// *Tx_UpdateElectorateMsg
// *Tx_UpdateElectionRuleMsg
Sum isTx_Sum `protobuf_oneof:"sum"`
}
Tx contains the message.
When extending Tx, follow the rules:
- range 1-50 is reserved for middlewares,
- range 51-inf is reserved for different message types,
- keep the same numbers for the same message types in both bcpd and bnsd applications. For example, FeeInfo field is used by both and indexed at first position. Skip unused fields (leave index unused or comment out for clarity).
When there is a gap in message sequence numbers - that most likely means some old fields got deprecated. This is done to maintain binary compatibility.
func (*Tx) Descriptor ¶
func (*Tx) GetAddApprovalMsg ¶
func (m *Tx) GetAddApprovalMsg() *nft.AddApprovalMsg
func (*Tx) GetAddUsernameAddressNftMsg ¶
func (m *Tx) GetAddUsernameAddressNftMsg() *username.AddChainAddressMsg
func (*Tx) GetBatchMsg ¶ added in v0.16.0
func (*Tx) GetCreateContractMsg ¶
func (m *Tx) GetCreateContractMsg() *multisig.CreateContractMsg
func (*Tx) GetCreateEscrowMsg ¶
func (m *Tx) GetCreateEscrowMsg() *escrow.CreateEscrowMsg
func (*Tx) GetCreateProposalMsg ¶ added in v0.16.0
func (m *Tx) GetCreateProposalMsg() *gov.CreateProposalMsg
func (*Tx) GetCreateSwapMsg ¶ added in v0.15.0
func (m *Tx) GetCreateSwapMsg() *aswap.CreateSwapMsg
func (*Tx) GetDeleteProposalMsg ¶ added in v0.16.0
func (m *Tx) GetDeleteProposalMsg() *gov.DeleteProposalMsg
func (*Tx) GetDistributeMsg ¶ added in v0.12.0
func (m *Tx) GetDistributeMsg() *distribution.DistributeMsg
func (*Tx) GetIssueUsernameNftMsg ¶
func (m *Tx) GetIssueUsernameNftMsg() *username.IssueTokenMsg
func (*Tx) GetMultisig ¶
func (*Tx) GetNewRevenueMsg ¶ added in v0.12.0
func (m *Tx) GetNewRevenueMsg() *distribution.NewRevenueMsg
func (*Tx) GetNewTokenInfoMsg ¶ added in v0.10.0
func (m *Tx) GetNewTokenInfoMsg() *currency.NewTokenInfoMsg
func (*Tx) GetReleaseEscrowMsg ¶
func (m *Tx) GetReleaseEscrowMsg() *escrow.ReleaseEscrowMsg
func (*Tx) GetReleaseSwapMsg ¶ added in v0.15.0
func (m *Tx) GetReleaseSwapMsg() *aswap.ReleaseSwapMsg
func (*Tx) GetRemoveApprovalMsg ¶
func (m *Tx) GetRemoveApprovalMsg() *nft.RemoveApprovalMsg
func (*Tx) GetRemoveUsernameAddressMsg ¶
func (m *Tx) GetRemoveUsernameAddressMsg() *username.RemoveChainAddressMsg
func (*Tx) GetResetRevenueMsg ¶ added in v0.12.0
func (m *Tx) GetResetRevenueMsg() *distribution.ResetRevenueMsg
func (*Tx) GetReturnEscrowMsg ¶
func (m *Tx) GetReturnEscrowMsg() *escrow.ReturnEscrowMsg
func (*Tx) GetReturnSwapMsg ¶ added in v0.15.0
func (m *Tx) GetReturnSwapMsg() *aswap.ReturnSwapMsg
func (*Tx) GetSendMsg ¶
func (*Tx) GetSetValidatorsMsg ¶
func (m *Tx) GetSetValidatorsMsg() *validators.SetValidatorsMsg
func (*Tx) GetSignBytes ¶
GetSignBytes returns the bytes to sign...
func (*Tx) GetSignatures ¶
func (m *Tx) GetSignatures() []*sigs.StdSignature
func (*Tx) GetTallyMsg ¶ added in v0.16.0
func (*Tx) GetUpdateContractMsg ¶
func (m *Tx) GetUpdateContractMsg() *multisig.UpdateContractMsg
func (*Tx) GetUpdateElectionRuleMsg ¶ added in v0.16.0
func (m *Tx) GetUpdateElectionRuleMsg() *gov.UpdateElectionRuleMsg
func (*Tx) GetUpdateElectorateMsg ¶ added in v0.16.0
func (m *Tx) GetUpdateElectorateMsg() *gov.UpdateElectorateMsg
func (*Tx) GetUpdateEscrowMsg ¶
func (m *Tx) GetUpdateEscrowMsg() *escrow.UpdateEscrowPartiesMsg
func (*Tx) GetUpgradeSchemaMsg ¶ added in v0.15.0
func (m *Tx) GetUpgradeSchemaMsg() *migration.UpgradeSchemaMsg
func (*Tx) GetVoteMsg ¶ added in v0.16.0
func (*Tx) ProtoMessage ¶
func (*Tx) ProtoMessage()
func (*Tx) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *Tx) XXX_DiscardUnknown()
func (*Tx) XXX_Marshal ¶ added in v0.12.0
func (*Tx) XXX_OneofFuncs ¶
func (*Tx) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Tx) XXX_Unmarshal ¶ added in v0.12.0
type Tx_AddApprovalMsg ¶
type Tx_AddApprovalMsg struct {
AddApprovalMsg *nft.AddApprovalMsg `protobuf:"bytes,61,opt,name=add_approval_msg,json=addApprovalMsg,proto3,oneof"`
}
func (*Tx_AddApprovalMsg) MarshalTo ¶
func (m *Tx_AddApprovalMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_AddApprovalMsg) Size ¶
func (m *Tx_AddApprovalMsg) Size() (n int)
type Tx_AddUsernameAddressNftMsg ¶
type Tx_AddUsernameAddressNftMsg struct {
AddUsernameAddressNftMsg *username.AddChainAddressMsg `protobuf:"bytes,64,opt,name=add_username_address_nft_msg,json=addUsernameAddressNftMsg,proto3,oneof"`
}
func (*Tx_AddUsernameAddressNftMsg) MarshalTo ¶
func (m *Tx_AddUsernameAddressNftMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_AddUsernameAddressNftMsg) Size ¶
func (m *Tx_AddUsernameAddressNftMsg) Size() (n int)
type Tx_BatchMsg ¶ added in v0.16.0
type Tx_BatchMsg struct {
BatchMsg *BatchMsg `protobuf:"bytes,60,opt,name=batch_msg,json=batchMsg,proto3,oneof"`
}
func (*Tx_BatchMsg) MarshalTo ¶ added in v0.16.0
func (m *Tx_BatchMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_BatchMsg) Size ¶ added in v0.16.0
func (m *Tx_BatchMsg) Size() (n int)
type Tx_CreateContractMsg ¶
type Tx_CreateContractMsg struct {
CreateContractMsg *multisig.CreateContractMsg `protobuf:"bytes,56,opt,name=create_contract_msg,json=createContractMsg,proto3,oneof"`
}
func (*Tx_CreateContractMsg) MarshalTo ¶
func (m *Tx_CreateContractMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_CreateContractMsg) Size ¶
func (m *Tx_CreateContractMsg) Size() (n int)
type Tx_CreateEscrowMsg ¶
type Tx_CreateEscrowMsg struct {
CreateEscrowMsg *escrow.CreateEscrowMsg `protobuf:"bytes,52,opt,name=create_escrow_msg,json=createEscrowMsg,proto3,oneof"`
}
func (*Tx_CreateEscrowMsg) MarshalTo ¶
func (m *Tx_CreateEscrowMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_CreateEscrowMsg) Size ¶
func (m *Tx_CreateEscrowMsg) Size() (n int)
type Tx_CreateProposalMsg ¶ added in v0.16.0
type Tx_CreateProposalMsg struct {
CreateProposalMsg *gov.CreateProposalMsg `protobuf:"bytes,73,opt,name=create_proposal_msg,json=createProposalMsg,proto3,oneof"`
}
func (*Tx_CreateProposalMsg) MarshalTo ¶ added in v0.16.0
func (m *Tx_CreateProposalMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_CreateProposalMsg) Size ¶ added in v0.16.0
func (m *Tx_CreateProposalMsg) Size() (n int)
type Tx_CreateSwapMsg ¶ added in v0.15.0
type Tx_CreateSwapMsg struct {
CreateSwapMsg *aswap.CreateSwapMsg `protobuf:"bytes,70,opt,name=create_swap_msg,json=createSwapMsg,proto3,oneof"`
}
func (*Tx_CreateSwapMsg) MarshalTo ¶ added in v0.15.0
func (m *Tx_CreateSwapMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_CreateSwapMsg) Size ¶ added in v0.15.0
func (m *Tx_CreateSwapMsg) Size() (n int)
type Tx_DeleteProposalMsg ¶ added in v0.16.0
type Tx_DeleteProposalMsg struct {
DeleteProposalMsg *gov.DeleteProposalMsg `protobuf:"bytes,74,opt,name=delete_proposal_msg,json=deleteProposalMsg,proto3,oneof"`
}
func (*Tx_DeleteProposalMsg) MarshalTo ¶ added in v0.16.0
func (m *Tx_DeleteProposalMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_DeleteProposalMsg) Size ¶ added in v0.16.0
func (m *Tx_DeleteProposalMsg) Size() (n int)
type Tx_DistributeMsg ¶ added in v0.12.0
type Tx_DistributeMsg struct {
DistributeMsg *distribution.DistributeMsg `protobuf:"bytes,67,opt,name=distribute_msg,json=distributeMsg,proto3,oneof"`
}
func (*Tx_DistributeMsg) MarshalTo ¶ added in v0.12.0
func (m *Tx_DistributeMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_DistributeMsg) Size ¶ added in v0.12.0
func (m *Tx_DistributeMsg) Size() (n int)
type Tx_IssueUsernameNftMsg ¶
type Tx_IssueUsernameNftMsg struct {
IssueUsernameNftMsg *username.IssueTokenMsg `protobuf:"bytes,63,opt,name=issue_username_nft_msg,json=issueUsernameNftMsg,proto3,oneof"`
}
func (*Tx_IssueUsernameNftMsg) MarshalTo ¶
func (m *Tx_IssueUsernameNftMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_IssueUsernameNftMsg) Size ¶
func (m *Tx_IssueUsernameNftMsg) Size() (n int)
type Tx_NewRevenueMsg ¶ added in v0.12.0
type Tx_NewRevenueMsg struct {
NewRevenueMsg *distribution.NewRevenueMsg `protobuf:"bytes,66,opt,name=new_revenue_msg,json=newRevenueMsg,proto3,oneof"`
}
func (*Tx_NewRevenueMsg) MarshalTo ¶ added in v0.12.0
func (m *Tx_NewRevenueMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_NewRevenueMsg) Size ¶ added in v0.12.0
func (m *Tx_NewRevenueMsg) Size() (n int)
type Tx_NewTokenInfoMsg ¶ added in v0.10.0
type Tx_NewTokenInfoMsg struct {
NewTokenInfoMsg *currency.NewTokenInfoMsg `protobuf:"bytes,59,opt,name=new_token_info_msg,json=newTokenInfoMsg,proto3,oneof"`
}
func (*Tx_NewTokenInfoMsg) MarshalTo ¶ added in v0.10.0
func (m *Tx_NewTokenInfoMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_NewTokenInfoMsg) Size ¶ added in v0.10.0
func (m *Tx_NewTokenInfoMsg) Size() (n int)
type Tx_ReleaseEscrowMsg ¶
type Tx_ReleaseEscrowMsg struct {
ReleaseEscrowMsg *escrow.ReleaseEscrowMsg `protobuf:"bytes,53,opt,name=release_escrow_msg,json=releaseEscrowMsg,proto3,oneof"`
}
func (*Tx_ReleaseEscrowMsg) MarshalTo ¶
func (m *Tx_ReleaseEscrowMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_ReleaseEscrowMsg) Size ¶
func (m *Tx_ReleaseEscrowMsg) Size() (n int)
type Tx_ReleaseSwapMsg ¶ added in v0.15.0
type Tx_ReleaseSwapMsg struct {
ReleaseSwapMsg *aswap.ReleaseSwapMsg `protobuf:"bytes,71,opt,name=release_swap_msg,json=releaseSwapMsg,proto3,oneof"`
}
func (*Tx_ReleaseSwapMsg) MarshalTo ¶ added in v0.15.0
func (m *Tx_ReleaseSwapMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_ReleaseSwapMsg) Size ¶ added in v0.15.0
func (m *Tx_ReleaseSwapMsg) Size() (n int)
type Tx_RemoveApprovalMsg ¶
type Tx_RemoveApprovalMsg struct {
RemoveApprovalMsg *nft.RemoveApprovalMsg `protobuf:"bytes,62,opt,name=remove_approval_msg,json=removeApprovalMsg,proto3,oneof"`
}
func (*Tx_RemoveApprovalMsg) MarshalTo ¶
func (m *Tx_RemoveApprovalMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_RemoveApprovalMsg) Size ¶
func (m *Tx_RemoveApprovalMsg) Size() (n int)
type Tx_RemoveUsernameAddressMsg ¶
type Tx_RemoveUsernameAddressMsg struct {
RemoveUsernameAddressMsg *username.RemoveChainAddressMsg `protobuf:"bytes,65,opt,name=remove_username_address_msg,json=removeUsernameAddressMsg,proto3,oneof"`
}
func (*Tx_RemoveUsernameAddressMsg) MarshalTo ¶
func (m *Tx_RemoveUsernameAddressMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_RemoveUsernameAddressMsg) Size ¶
func (m *Tx_RemoveUsernameAddressMsg) Size() (n int)
type Tx_ResetRevenueMsg ¶ added in v0.12.0
type Tx_ResetRevenueMsg struct {
ResetRevenueMsg *distribution.ResetRevenueMsg `protobuf:"bytes,68,opt,name=reset_revenue_msg,json=resetRevenueMsg,proto3,oneof"`
}
func (*Tx_ResetRevenueMsg) MarshalTo ¶ added in v0.12.0
func (m *Tx_ResetRevenueMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_ResetRevenueMsg) Size ¶ added in v0.12.0
func (m *Tx_ResetRevenueMsg) Size() (n int)
type Tx_ReturnEscrowMsg ¶
type Tx_ReturnEscrowMsg struct {
ReturnEscrowMsg *escrow.ReturnEscrowMsg `protobuf:"bytes,54,opt,name=return_escrow_msg,json=returnEscrowMsg,proto3,oneof"`
}
func (*Tx_ReturnEscrowMsg) MarshalTo ¶
func (m *Tx_ReturnEscrowMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_ReturnEscrowMsg) Size ¶
func (m *Tx_ReturnEscrowMsg) Size() (n int)
type Tx_ReturnSwapMsg ¶ added in v0.15.0
type Tx_ReturnSwapMsg struct {
ReturnSwapMsg *aswap.ReturnSwapMsg `protobuf:"bytes,72,opt,name=return_swap_msg,json=returnSwapMsg,proto3,oneof"`
}
func (*Tx_ReturnSwapMsg) MarshalTo ¶ added in v0.15.0
func (m *Tx_ReturnSwapMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_ReturnSwapMsg) Size ¶ added in v0.15.0
func (m *Tx_ReturnSwapMsg) Size() (n int)
type Tx_SendMsg ¶
type Tx_SendMsg struct {
SendMsg *cash.SendMsg `protobuf:"bytes,51,opt,name=send_msg,json=sendMsg,proto3,oneof"`
}
func (*Tx_SendMsg) Size ¶
func (m *Tx_SendMsg) Size() (n int)
type Tx_SetValidatorsMsg ¶
type Tx_SetValidatorsMsg struct {
SetValidatorsMsg *validators.SetValidatorsMsg `protobuf:"bytes,58,opt,name=set_validators_msg,json=setValidatorsMsg,proto3,oneof"`
}
func (*Tx_SetValidatorsMsg) MarshalTo ¶
func (m *Tx_SetValidatorsMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_SetValidatorsMsg) Size ¶
func (m *Tx_SetValidatorsMsg) Size() (n int)
type Tx_TallyMsg ¶ added in v0.16.0
type Tx_TallyMsg struct {
TallyMsg *gov.TallyMsg `protobuf:"bytes,76,opt,name=tally_msg,json=tallyMsg,proto3,oneof"`
}
func (*Tx_TallyMsg) MarshalTo ¶ added in v0.16.0
func (m *Tx_TallyMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_TallyMsg) Size ¶ added in v0.16.0
func (m *Tx_TallyMsg) Size() (n int)
type Tx_UpdateContractMsg ¶
type Tx_UpdateContractMsg struct {
UpdateContractMsg *multisig.UpdateContractMsg `protobuf:"bytes,57,opt,name=update_contract_msg,json=updateContractMsg,proto3,oneof"`
}
func (*Tx_UpdateContractMsg) MarshalTo ¶
func (m *Tx_UpdateContractMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_UpdateContractMsg) Size ¶
func (m *Tx_UpdateContractMsg) Size() (n int)
type Tx_UpdateElectionRuleMsg ¶ added in v0.16.0
type Tx_UpdateElectionRuleMsg struct {
UpdateElectionRuleMsg *gov.UpdateElectionRuleMsg `protobuf:"bytes,78,opt,name=update_election_rule_msg,json=updateElectionRuleMsg,proto3,oneof"`
}
func (*Tx_UpdateElectionRuleMsg) MarshalTo ¶ added in v0.16.0
func (m *Tx_UpdateElectionRuleMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_UpdateElectionRuleMsg) Size ¶ added in v0.16.0
func (m *Tx_UpdateElectionRuleMsg) Size() (n int)
type Tx_UpdateElectorateMsg ¶ added in v0.16.0
type Tx_UpdateElectorateMsg struct {
UpdateElectorateMsg *gov.UpdateElectorateMsg `protobuf:"bytes,77,opt,name=update_electorate_msg,json=updateElectorateMsg,proto3,oneof"`
}
func (*Tx_UpdateElectorateMsg) MarshalTo ¶ added in v0.16.0
func (m *Tx_UpdateElectorateMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_UpdateElectorateMsg) Size ¶ added in v0.16.0
func (m *Tx_UpdateElectorateMsg) Size() (n int)
type Tx_UpdateEscrowMsg ¶
type Tx_UpdateEscrowMsg struct {
UpdateEscrowMsg *escrow.UpdateEscrowPartiesMsg `protobuf:"bytes,55,opt,name=update_escrow_msg,json=updateEscrowMsg,proto3,oneof"`
}
func (*Tx_UpdateEscrowMsg) MarshalTo ¶
func (m *Tx_UpdateEscrowMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_UpdateEscrowMsg) Size ¶
func (m *Tx_UpdateEscrowMsg) Size() (n int)
type Tx_UpgradeSchemaMsg ¶ added in v0.15.0
type Tx_UpgradeSchemaMsg struct {
UpgradeSchemaMsg *migration.UpgradeSchemaMsg `protobuf:"bytes,69,opt,name=upgrade_schema_msg,json=upgradeSchemaMsg,proto3,oneof"`
}
func (*Tx_UpgradeSchemaMsg) MarshalTo ¶ added in v0.15.0
func (m *Tx_UpgradeSchemaMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_UpgradeSchemaMsg) Size ¶ added in v0.15.0
func (m *Tx_UpgradeSchemaMsg) Size() (n int)
type Tx_VoteMsg ¶ added in v0.16.0
type Tx_VoteMsg struct {
VoteMsg *gov.VoteMsg `protobuf:"bytes,75,opt,name=vote_msg,json=voteMsg,proto3,oneof"`
}
func (*Tx_VoteMsg) MarshalTo ¶ added in v0.16.0
func (m *Tx_VoteMsg) MarshalTo(dAtA []byte) (int, error)
func (*Tx_VoteMsg) Size ¶ added in v0.16.0
func (m *Tx_VoteMsg) Size() (n int)