Documentation
¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func AddAmount(a, b sdk.Coin) (sdk.Coin, error)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func ValidateAmount(coin sdk.Coin) error
- func ValidateReason(reason string) error
- func ValidateRecipient(recipient SolanaAddress, vaults []SolanaAddress) error
- func ValidateReporters(members []string, threshold math.LegacyDec) error
- func ZeroAmount() sdk.Coin
- type AccountUsage
- func (u AccountUsage) At(epoch uint64) (AccountUsage, error)
- func (*AccountUsage) Descriptor() ([]byte, []int)
- func (m *AccountUsage) GetEpochSent() types.Coin
- func (m *AccountUsage) GetLastEpoch() int64
- func (m *AccountUsage) GetTotalSent() types.Coin
- func (m *AccountUsage) Marshal() (dAtA []byte, err error)
- func (m *AccountUsage) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountUsage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountUsage) ProtoMessage()
- func (m *AccountUsage) Reset()
- func (m *AccountUsage) Size() (n int)
- func (m *AccountUsage) String() string
- func (m *AccountUsage) Unmarshal(dAtA []byte) error
- func (u AccountUsage) Validate() error
- func (m *AccountUsage) XXX_DiscardUnknown()
- func (m *AccountUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountUsage) XXX_Merge(src proto.Message)
- func (m *AccountUsage) XXX_Size() int
- func (m *AccountUsage) XXX_Unmarshal(b []byte) error
- type Decision
- type DestType
- type EpochUsage
- func (u EpochUsage) At(epoch uint64) (EpochUsage, error)
- func (*EpochUsage) Descriptor() ([]byte, []int)
- func (m *EpochUsage) GetAmount() types.Coin
- func (m *EpochUsage) GetEpoch() uint64
- func (m *EpochUsage) Marshal() (dAtA []byte, err error)
- func (m *EpochUsage) MarshalTo(dAtA []byte) (int, error)
- func (m *EpochUsage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EpochUsage) ProtoMessage()
- func (m *EpochUsage) Reset()
- func (m *EpochUsage) Size() (n int)
- func (m *EpochUsage) String() string
- func (m *EpochUsage) Unmarshal(dAtA []byte) error
- func (u EpochUsage) Validate() error
- func (m *EpochUsage) XXX_DiscardUnknown()
- func (m *EpochUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EpochUsage) XXX_Merge(src proto.Message)
- func (m *EpochUsage) XXX_Size() int
- func (m *EpochUsage) XXX_Unmarshal(b []byte) error
- type EventGuardianPaused
- func (*EventGuardianPaused) Descriptor() ([]byte, []int)
- func (this *EventGuardianPaused) Equal(that interface{}) bool
- func (m *EventGuardianPaused) GetDeposits() bool
- func (m *EventGuardianPaused) GetEnabled() bool
- func (m *EventGuardianPaused) GetGuardian() string
- func (m *EventGuardianPaused) GetRefunds() bool
- func (m *EventGuardianPaused) GetRefundsEnabled() bool
- func (m *EventGuardianPaused) Marshal() (dAtA []byte, err error)
- func (m *EventGuardianPaused) MarshalTo(dAtA []byte) (int, error)
- func (m *EventGuardianPaused) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventGuardianPaused) ProtoMessage()
- func (m *EventGuardianPaused) Reset()
- func (m *EventGuardianPaused) Size() (n int)
- func (m *EventGuardianPaused) String() string
- func (m *EventGuardianPaused) Unmarshal(dAtA []byte) error
- func (m *EventGuardianPaused) XXX_DiscardUnknown()
- func (m *EventGuardianPaused) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventGuardianPaused) XXX_Merge(src proto.Message)
- func (m *EventGuardianPaused) XXX_Size() int
- func (m *EventGuardianPaused) XXX_Unmarshal(b []byte) error
- type EventMintConfirmed
- func (*EventMintConfirmed) Descriptor() ([]byte, []int)
- func (this *EventMintConfirmed) Equal(that interface{}) bool
- func (m *EventMintConfirmed) GetID() ID
- func (m *EventMintConfirmed) Marshal() (dAtA []byte, err error)
- func (m *EventMintConfirmed) MarshalTo(dAtA []byte) (int, error)
- func (m *EventMintConfirmed) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventMintConfirmed) ProtoMessage()
- func (m *EventMintConfirmed) Reset()
- func (m *EventMintConfirmed) Size() (n int)
- func (m *EventMintConfirmed) String() string
- func (m *EventMintConfirmed) Unmarshal(dAtA []byte) error
- func (m *EventMintConfirmed) XXX_DiscardUnknown()
- func (m *EventMintConfirmed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventMintConfirmed) XXX_Merge(src proto.Message)
- func (m *EventMintConfirmed) XXX_Size() int
- func (m *EventMintConfirmed) XXX_Unmarshal(b []byte) error
- type EventOutcomeReported
- func (*EventOutcomeReported) Descriptor() ([]byte, []int)
- func (this *EventOutcomeReported) Equal(that interface{}) bool
- func (m *EventOutcomeReported) GetID() ID
- func (m *EventOutcomeReported) GetOutcome() Outcome
- func (m *EventOutcomeReported) GetReporter() string
- func (m *EventOutcomeReported) Marshal() (dAtA []byte, err error)
- func (m *EventOutcomeReported) MarshalTo(dAtA []byte) (int, error)
- func (m *EventOutcomeReported) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventOutcomeReported) ProtoMessage()
- func (m *EventOutcomeReported) Reset()
- func (m *EventOutcomeReported) Size() (n int)
- func (m *EventOutcomeReported) String() string
- func (m *EventOutcomeReported) Unmarshal(dAtA []byte) error
- func (m *EventOutcomeReported) XXX_DiscardUnknown()
- func (m *EventOutcomeReported) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventOutcomeReported) XXX_Merge(src proto.Message)
- func (m *EventOutcomeReported) XXX_Size() int
- func (m *EventOutcomeReported) XXX_Unmarshal(b []byte) error
- type EventPreexistingBalanceMoved
- func (*EventPreexistingBalanceMoved) Descriptor() ([]byte, []int)
- func (this *EventPreexistingBalanceMoved) Equal(that interface{}) bool
- func (m *EventPreexistingBalanceMoved) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *EventPreexistingBalanceMoved) GetRecipient() string
- func (m *EventPreexistingBalanceMoved) Marshal() (dAtA []byte, err error)
- func (m *EventPreexistingBalanceMoved) MarshalTo(dAtA []byte) (int, error)
- func (m *EventPreexistingBalanceMoved) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventPreexistingBalanceMoved) ProtoMessage()
- func (m *EventPreexistingBalanceMoved) Reset()
- func (m *EventPreexistingBalanceMoved) Size() (n int)
- func (m *EventPreexistingBalanceMoved) String() string
- func (m *EventPreexistingBalanceMoved) Unmarshal(dAtA []byte) error
- func (m *EventPreexistingBalanceMoved) XXX_DiscardUnknown()
- func (m *EventPreexistingBalanceMoved) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventPreexistingBalanceMoved) XXX_Merge(src proto.Message)
- func (m *EventPreexistingBalanceMoved) XXX_Size() int
- func (m *EventPreexistingBalanceMoved) XXX_Unmarshal(b []byte) error
- type EventReportConflict
- func (*EventReportConflict) Descriptor() ([]byte, []int)
- func (this *EventReportConflict) Equal(that interface{}) bool
- func (m *EventReportConflict) GetID() ID
- func (m *EventReportConflict) GetReporter() string
- func (m *EventReportConflict) Marshal() (dAtA []byte, err error)
- func (m *EventReportConflict) MarshalTo(dAtA []byte) (int, error)
- func (m *EventReportConflict) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventReportConflict) ProtoMessage()
- func (m *EventReportConflict) Reset()
- func (m *EventReportConflict) Size() (n int)
- func (m *EventReportConflict) String() string
- func (m *EventReportConflict) Unmarshal(dAtA []byte) error
- func (m *EventReportConflict) XXX_DiscardUnknown()
- func (m *EventReportConflict) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventReportConflict) XXX_Merge(src proto.Message)
- func (m *EventReportConflict) XXX_Size() int
- func (m *EventReportConflict) XXX_Unmarshal(b []byte) error
- type EventTotalsUpdated
- func (*EventTotalsUpdated) Descriptor() ([]byte, []int)
- func (m *EventTotalsUpdated) GetMintedAmount() types.Coin
- func (m *EventTotalsUpdated) GetMintedCount() uint64
- func (m *EventTotalsUpdated) GetPendingAmount() types.Coin
- func (m *EventTotalsUpdated) GetPendingCount() uint64
- func (m *EventTotalsUpdated) GetRefundPendingAmount() types.Coin
- func (m *EventTotalsUpdated) GetRefundPendingCount() uint64
- func (m *EventTotalsUpdated) GetRefundedAmount() types.Coin
- func (m *EventTotalsUpdated) GetRefundedCount() uint64
- func (m *EventTotalsUpdated) GetRefundedInEpoch() types.Coin
- func (m *EventTotalsUpdated) GetVoidedAmount() types.Coin
- func (m *EventTotalsUpdated) GetVoidedCount() uint64
- func (m *EventTotalsUpdated) Marshal() (dAtA []byte, err error)
- func (m *EventTotalsUpdated) MarshalTo(dAtA []byte) (int, error)
- func (m *EventTotalsUpdated) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventTotalsUpdated) ProtoMessage()
- func (m *EventTotalsUpdated) Reset()
- func (m *EventTotalsUpdated) Size() (n int)
- func (m *EventTotalsUpdated) String() string
- func (m *EventTotalsUpdated) Unmarshal(dAtA []byte) error
- func (m *EventTotalsUpdated) XXX_DiscardUnknown()
- func (m *EventTotalsUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventTotalsUpdated) XXX_Merge(src proto.Message)
- func (m *EventTotalsUpdated) XXX_Size() int
- func (m *EventTotalsUpdated) XXX_Unmarshal(b []byte) error
- type EventTransferCreated
- func (*EventTransferCreated) Descriptor() ([]byte, []int)
- func (this *EventTransferCreated) Equal(that interface{}) bool
- func (m *EventTransferCreated) GetAmount() types.Coin
- func (m *EventTransferCreated) GetHeight() int64
- func (m *EventTransferCreated) GetID() ID
- func (m *EventTransferCreated) GetRecipient() string
- func (m *EventTransferCreated) GetSender() string
- func (m *EventTransferCreated) Marshal() (dAtA []byte, err error)
- func (m *EventTransferCreated) MarshalTo(dAtA []byte) (int, error)
- func (m *EventTransferCreated) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventTransferCreated) ProtoMessage()
- func (m *EventTransferCreated) Reset()
- func (m *EventTransferCreated) Size() (n int)
- func (m *EventTransferCreated) String() string
- func (m *EventTransferCreated) Unmarshal(dAtA []byte) error
- func (m *EventTransferCreated) XXX_DiscardUnknown()
- func (m *EventTransferCreated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventTransferCreated) XXX_Merge(src proto.Message)
- func (m *EventTransferCreated) XXX_Size() int
- func (m *EventTransferCreated) XXX_Unmarshal(b []byte) error
- type EventTransferRefunded
- func (*EventTransferRefunded) Descriptor() ([]byte, []int)
- func (this *EventTransferRefunded) Equal(that interface{}) bool
- func (m *EventTransferRefunded) GetAmount() types.Coin
- func (m *EventTransferRefunded) GetID() ID
- func (m *EventTransferRefunded) GetSender() string
- func (m *EventTransferRefunded) Marshal() (dAtA []byte, err error)
- func (m *EventTransferRefunded) MarshalTo(dAtA []byte) (int, error)
- func (m *EventTransferRefunded) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventTransferRefunded) ProtoMessage()
- func (m *EventTransferRefunded) Reset()
- func (m *EventTransferRefunded) Size() (n int)
- func (m *EventTransferRefunded) String() string
- func (m *EventTransferRefunded) Unmarshal(dAtA []byte) error
- func (m *EventTransferRefunded) XXX_DiscardUnknown()
- func (m *EventTransferRefunded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventTransferRefunded) XXX_Merge(src proto.Message)
- func (m *EventTransferRefunded) XXX_Size() int
- func (m *EventTransferRefunded) XXX_Unmarshal(b []byte) error
- type EventTransferResolved
- func (*EventTransferResolved) Descriptor() ([]byte, []int)
- func (this *EventTransferResolved) Equal(that interface{}) bool
- func (m *EventTransferResolved) GetDecision() Decision
- func (m *EventTransferResolved) GetID() ID
- func (m *EventTransferResolved) GetReason() string
- func (m *EventTransferResolved) Marshal() (dAtA []byte, err error)
- func (m *EventTransferResolved) MarshalTo(dAtA []byte) (int, error)
- func (m *EventTransferResolved) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventTransferResolved) ProtoMessage()
- func (m *EventTransferResolved) Reset()
- func (m *EventTransferResolved) Size() (n int)
- func (m *EventTransferResolved) String() string
- func (m *EventTransferResolved) Unmarshal(dAtA []byte) error
- func (m *EventTransferResolved) XXX_DiscardUnknown()
- func (m *EventTransferResolved) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventTransferResolved) XXX_Merge(src proto.Message)
- func (m *EventTransferResolved) XXX_Size() int
- func (m *EventTransferResolved) XXX_Unmarshal(b []byte) error
- type EventVoidConfirmed
- func (*EventVoidConfirmed) Descriptor() ([]byte, []int)
- func (this *EventVoidConfirmed) Equal(that interface{}) bool
- func (m *EventVoidConfirmed) GetChallengeEnd() time.Time
- func (m *EventVoidConfirmed) GetID() ID
- func (m *EventVoidConfirmed) Marshal() (dAtA []byte, err error)
- func (m *EventVoidConfirmed) MarshalTo(dAtA []byte) (int, error)
- func (m *EventVoidConfirmed) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventVoidConfirmed) ProtoMessage()
- func (m *EventVoidConfirmed) Reset()
- func (m *EventVoidConfirmed) Size() (n int)
- func (m *EventVoidConfirmed) String() string
- func (m *EventVoidConfirmed) Unmarshal(dAtA []byte) error
- func (m *EventVoidConfirmed) XXX_DiscardUnknown()
- func (m *EventVoidConfirmed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventVoidConfirmed) XXX_Merge(src proto.Message)
- func (m *EventVoidConfirmed) XXX_Size() int
- func (m *EventVoidConfirmed) XXX_Unmarshal(b []byte) error
- type EventVoidOrdered
- func (*EventVoidOrdered) Descriptor() ([]byte, []int)
- func (this *EventVoidOrdered) Equal(that interface{}) bool
- func (m *EventVoidOrdered) GetID() ID
- func (m *EventVoidOrdered) Marshal() (dAtA []byte, err error)
- func (m *EventVoidOrdered) MarshalTo(dAtA []byte) (int, error)
- func (m *EventVoidOrdered) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventVoidOrdered) ProtoMessage()
- func (m *EventVoidOrdered) Reset()
- func (m *EventVoidOrdered) Size() (n int)
- func (m *EventVoidOrdered) String() string
- func (m *EventVoidOrdered) Unmarshal(dAtA []byte) error
- func (m *EventVoidOrdered) XXX_DiscardUnknown()
- func (m *EventVoidOrdered) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventVoidOrdered) XXX_Merge(src proto.Message)
- func (m *EventVoidOrdered) XXX_Size() int
- func (m *EventVoidOrdered) XXX_Unmarshal(b []byte) error
- type EventVoidVetoed
- func (*EventVoidVetoed) Descriptor() ([]byte, []int)
- func (this *EventVoidVetoed) Equal(that interface{}) bool
- func (m *EventVoidVetoed) GetID() ID
- func (m *EventVoidVetoed) GetReason() string
- func (m *EventVoidVetoed) GetSigner() string
- func (m *EventVoidVetoed) Marshal() (dAtA []byte, err error)
- func (m *EventVoidVetoed) MarshalTo(dAtA []byte) (int, error)
- func (m *EventVoidVetoed) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventVoidVetoed) ProtoMessage()
- func (m *EventVoidVetoed) Reset()
- func (m *EventVoidVetoed) Size() (n int)
- func (m *EventVoidVetoed) String() string
- func (m *EventVoidVetoed) Unmarshal(dAtA []byte) error
- func (m *EventVoidVetoed) XXX_DiscardUnknown()
- func (m *EventVoidVetoed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventVoidVetoed) XXX_Merge(src proto.Message)
- func (m *EventVoidVetoed) XXX_Size() int
- func (m *EventVoidVetoed) XXX_Unmarshal(b []byte) error
- type GenesisAccount
- func (*GenesisAccount) Descriptor() ([]byte, []int)
- func (m *GenesisAccount) GetOwner() string
- func (m *GenesisAccount) GetUsage() AccountUsage
- func (m *GenesisAccount) Marshal() (dAtA []byte, err error)
- func (m *GenesisAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisAccount) ProtoMessage()
- func (m *GenesisAccount) Reset()
- func (m *GenesisAccount) Size() (n int)
- func (m *GenesisAccount) String() string
- func (m *GenesisAccount) Unmarshal(dAtA []byte) error
- func (m *GenesisAccount) XXX_DiscardUnknown()
- func (m *GenesisAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisAccount) XXX_Merge(src proto.Message)
- func (m *GenesisAccount) XXX_Size() int
- func (m *GenesisAccount) XXX_Unmarshal(b []byte) error
- type GenesisRecord
- func (*GenesisRecord) Descriptor() ([]byte, []int)
- func (m *GenesisRecord) GetData() RecordData
- func (m *GenesisRecord) GetID() ID
- func (m *GenesisRecord) GetSettlement() SettlementData
- func (m *GenesisRecord) GetStatus() Status
- func (m *GenesisRecord) Marshal() (dAtA []byte, err error)
- func (m *GenesisRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisRecord) ProtoMessage()
- func (m *GenesisRecord) Reset()
- func (m *GenesisRecord) Size() (n int)
- func (m *GenesisRecord) String() string
- func (m *GenesisRecord) Unmarshal(dAtA []byte) error
- func (m *GenesisRecord) XXX_DiscardUnknown()
- func (m *GenesisRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisRecord) XXX_Merge(src proto.Message)
- func (m *GenesisRecord) XXX_Size() int
- func (m *GenesisRecord) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetAccounts() []GenesisAccount
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetPolicies() []ReporterPolicy
- func (m *GenesisState) GetPolicySequence() uint64
- func (m *GenesisState) GetRecords() []GenesisRecord
- func (m *GenesisState) GetRefundUsage() EpochUsage
- func (m *GenesisState) GetSendUsage() EpochUsage
- func (m *GenesisState) GetTotals() Totals
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (g *GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type Hold
- type ID
- func (*ID) Descriptor() ([]byte, []int)
- func (this *ID) Equal(that interface{}) bool
- func (m *ID) GetHeight() int64
- func (m *ID) GetOwner() string
- func (m *ID) GetSequence() uint64
- func (m *ID) Marshal() (dAtA []byte, err error)
- func (m *ID) MarshalTo(dAtA []byte) (int, error)
- func (m *ID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ID) ProtoMessage()
- func (m *ID) Reset()
- func (m *ID) Size() (n int)
- func (id *ID) String() string
- func (m *ID) Unmarshal(dAtA []byte) error
- func (id *ID) ValidateBasic() error
- func (m *ID) XXX_DiscardUnknown()
- func (m *ID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ID) XXX_Merge(src proto.Message)
- func (m *ID) XXX_Size() int
- func (m *ID) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgConfirmMint
- func (*MsgConfirmMint) Descriptor() ([]byte, []int)
- func (m *MsgConfirmMint) GetAuthority() string
- func (m *MsgConfirmMint) GetEvidence() SolanaEvidence
- func (m *MsgConfirmMint) GetExpectedRound() uint64
- func (m *MsgConfirmMint) GetID() ID
- func (m *MsgConfirmMint) GetReason() string
- func (m *MsgConfirmMint) Marshal() (dAtA []byte, err error)
- func (m *MsgConfirmMint) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgConfirmMint) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgConfirmMint) ProtoMessage()
- func (m *MsgConfirmMint) Reset()
- func (m *MsgConfirmMint) Size() (n int)
- func (m *MsgConfirmMint) String() string
- func (m *MsgConfirmMint) Unmarshal(dAtA []byte) error
- func (m *MsgConfirmMint) ValidateBasic() error
- func (m *MsgConfirmMint) XXX_DiscardUnknown()
- func (m *MsgConfirmMint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgConfirmMint) XXX_Merge(src proto.Message)
- func (m *MsgConfirmMint) XXX_Size() int
- func (m *MsgConfirmMint) XXX_Unmarshal(b []byte) error
- type MsgConfirmMintResponse
- func (*MsgConfirmMintResponse) Descriptor() ([]byte, []int)
- func (m *MsgConfirmMintResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgConfirmMintResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgConfirmMintResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgConfirmMintResponse) ProtoMessage()
- func (m *MsgConfirmMintResponse) Reset()
- func (m *MsgConfirmMintResponse) Size() (n int)
- func (m *MsgConfirmMintResponse) String() string
- func (m *MsgConfirmMintResponse) Unmarshal(dAtA []byte) error
- func (m *MsgConfirmMintResponse) XXX_DiscardUnknown()
- func (m *MsgConfirmMintResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgConfirmMintResponse) XXX_Merge(src proto.Message)
- func (m *MsgConfirmMintResponse) XXX_Size() int
- func (m *MsgConfirmMintResponse) XXX_Unmarshal(b []byte) error
- type MsgConfirmVoid
- func (*MsgConfirmVoid) Descriptor() ([]byte, []int)
- func (m *MsgConfirmVoid) GetAuthority() string
- func (m *MsgConfirmVoid) GetEvidence() SolanaEvidence
- func (m *MsgConfirmVoid) GetExpectedRound() uint64
- func (m *MsgConfirmVoid) GetID() ID
- func (m *MsgConfirmVoid) GetReason() string
- func (m *MsgConfirmVoid) Marshal() (dAtA []byte, err error)
- func (m *MsgConfirmVoid) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgConfirmVoid) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgConfirmVoid) ProtoMessage()
- func (m *MsgConfirmVoid) Reset()
- func (m *MsgConfirmVoid) Size() (n int)
- func (m *MsgConfirmVoid) String() string
- func (m *MsgConfirmVoid) Unmarshal(dAtA []byte) error
- func (m *MsgConfirmVoid) ValidateBasic() error
- func (m *MsgConfirmVoid) XXX_DiscardUnknown()
- func (m *MsgConfirmVoid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgConfirmVoid) XXX_Merge(src proto.Message)
- func (m *MsgConfirmVoid) XXX_Size() int
- func (m *MsgConfirmVoid) XXX_Unmarshal(b []byte) error
- type MsgConfirmVoidResponse
- func (*MsgConfirmVoidResponse) Descriptor() ([]byte, []int)
- func (m *MsgConfirmVoidResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgConfirmVoidResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgConfirmVoidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgConfirmVoidResponse) ProtoMessage()
- func (m *MsgConfirmVoidResponse) Reset()
- func (m *MsgConfirmVoidResponse) Size() (n int)
- func (m *MsgConfirmVoidResponse) String() string
- func (m *MsgConfirmVoidResponse) Unmarshal(dAtA []byte) error
- func (m *MsgConfirmVoidResponse) XXX_DiscardUnknown()
- func (m *MsgConfirmVoidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgConfirmVoidResponse) XXX_Merge(src proto.Message)
- func (m *MsgConfirmVoidResponse) XXX_Size() int
- func (m *MsgConfirmVoidResponse) XXX_Unmarshal(b []byte) error
- type MsgFinalizeRefund
- func (*MsgFinalizeRefund) Descriptor() ([]byte, []int)
- func (m *MsgFinalizeRefund) GetExecutor() string
- func (m *MsgFinalizeRefund) GetID() ID
- func (m *MsgFinalizeRefund) Marshal() (dAtA []byte, err error)
- func (m *MsgFinalizeRefund) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgFinalizeRefund) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgFinalizeRefund) ProtoMessage()
- func (m *MsgFinalizeRefund) Reset()
- func (m *MsgFinalizeRefund) Size() (n int)
- func (m *MsgFinalizeRefund) String() string
- func (m *MsgFinalizeRefund) Unmarshal(dAtA []byte) error
- func (m *MsgFinalizeRefund) ValidateBasic() error
- func (m *MsgFinalizeRefund) XXX_DiscardUnknown()
- func (m *MsgFinalizeRefund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgFinalizeRefund) XXX_Merge(src proto.Message)
- func (m *MsgFinalizeRefund) XXX_Size() int
- func (m *MsgFinalizeRefund) XXX_Unmarshal(b []byte) error
- type MsgFinalizeRefundResponse
- func (*MsgFinalizeRefundResponse) Descriptor() ([]byte, []int)
- func (m *MsgFinalizeRefundResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgFinalizeRefundResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgFinalizeRefundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgFinalizeRefundResponse) ProtoMessage()
- func (m *MsgFinalizeRefundResponse) Reset()
- func (m *MsgFinalizeRefundResponse) Size() (n int)
- func (m *MsgFinalizeRefundResponse) String() string
- func (m *MsgFinalizeRefundResponse) Unmarshal(dAtA []byte) error
- func (m *MsgFinalizeRefundResponse) XXX_DiscardUnknown()
- func (m *MsgFinalizeRefundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgFinalizeRefundResponse) XXX_Merge(src proto.Message)
- func (m *MsgFinalizeRefundResponse) XXX_Size() int
- func (m *MsgFinalizeRefundResponse) XXX_Unmarshal(b []byte) error
- type MsgGuardianPause
- func (*MsgGuardianPause) Descriptor() ([]byte, []int)
- func (m *MsgGuardianPause) GetDeposits() bool
- func (m *MsgGuardianPause) GetGuardian() string
- func (m *MsgGuardianPause) GetRefunds() bool
- func (m *MsgGuardianPause) Marshal() (dAtA []byte, err error)
- func (m *MsgGuardianPause) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGuardianPause) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGuardianPause) ProtoMessage()
- func (m *MsgGuardianPause) Reset()
- func (m *MsgGuardianPause) Size() (n int)
- func (m *MsgGuardianPause) String() string
- func (m *MsgGuardianPause) Unmarshal(dAtA []byte) error
- func (m *MsgGuardianPause) ValidateBasic() error
- func (m *MsgGuardianPause) XXX_DiscardUnknown()
- func (m *MsgGuardianPause) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGuardianPause) XXX_Merge(src proto.Message)
- func (m *MsgGuardianPause) XXX_Size() int
- func (m *MsgGuardianPause) XXX_Unmarshal(b []byte) error
- type MsgGuardianPauseResponse
- func (*MsgGuardianPauseResponse) Descriptor() ([]byte, []int)
- func (m *MsgGuardianPauseResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgGuardianPauseResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGuardianPauseResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGuardianPauseResponse) ProtoMessage()
- func (m *MsgGuardianPauseResponse) Reset()
- func (m *MsgGuardianPauseResponse) Size() (n int)
- func (m *MsgGuardianPauseResponse) String() string
- func (m *MsgGuardianPauseResponse) Unmarshal(dAtA []byte) error
- func (m *MsgGuardianPauseResponse) XXX_DiscardUnknown()
- func (m *MsgGuardianPauseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGuardianPauseResponse) XXX_Merge(src proto.Message)
- func (m *MsgGuardianPauseResponse) XXX_Size() int
- func (m *MsgGuardianPauseResponse) XXX_Unmarshal(b []byte) error
- type MsgReportOutcome
- func (*MsgReportOutcome) Descriptor() ([]byte, []int)
- func (m *MsgReportOutcome) GetID() ID
- func (m *MsgReportOutcome) GetObservation() Observation
- func (m *MsgReportOutcome) GetPolicyVersion() uint64
- func (m *MsgReportOutcome) GetReporter() string
- func (m *MsgReportOutcome) GetRound() uint64
- func (m *MsgReportOutcome) Marshal() (dAtA []byte, err error)
- func (m *MsgReportOutcome) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgReportOutcome) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgReportOutcome) ProtoMessage()
- func (m *MsgReportOutcome) Reset()
- func (m *MsgReportOutcome) Size() (n int)
- func (m *MsgReportOutcome) String() string
- func (m *MsgReportOutcome) Unmarshal(dAtA []byte) error
- func (m *MsgReportOutcome) ValidateBasic() error
- func (m *MsgReportOutcome) XXX_DiscardUnknown()
- func (m *MsgReportOutcome) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgReportOutcome) XXX_Merge(src proto.Message)
- func (m *MsgReportOutcome) XXX_Size() int
- func (m *MsgReportOutcome) XXX_Unmarshal(b []byte) error
- type MsgReportOutcomeResponse
- func (*MsgReportOutcomeResponse) Descriptor() ([]byte, []int)
- func (m *MsgReportOutcomeResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgReportOutcomeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgReportOutcomeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgReportOutcomeResponse) ProtoMessage()
- func (m *MsgReportOutcomeResponse) Reset()
- func (m *MsgReportOutcomeResponse) Size() (n int)
- func (m *MsgReportOutcomeResponse) String() string
- func (m *MsgReportOutcomeResponse) Unmarshal(dAtA []byte) error
- func (m *MsgReportOutcomeResponse) XXX_DiscardUnknown()
- func (m *MsgReportOutcomeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgReportOutcomeResponse) XXX_Merge(src proto.Message)
- func (m *MsgReportOutcomeResponse) XXX_Size() int
- func (m *MsgReportOutcomeResponse) XXX_Unmarshal(b []byte) error
- type MsgRequestVoid
- func (*MsgRequestVoid) Descriptor() ([]byte, []int)
- func (m *MsgRequestVoid) GetAuthority() string
- func (m *MsgRequestVoid) GetExpectedRound() uint64
- func (m *MsgRequestVoid) GetID() ID
- func (m *MsgRequestVoid) Marshal() (dAtA []byte, err error)
- func (m *MsgRequestVoid) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRequestVoid) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRequestVoid) ProtoMessage()
- func (m *MsgRequestVoid) Reset()
- func (m *MsgRequestVoid) Size() (n int)
- func (m *MsgRequestVoid) String() string
- func (m *MsgRequestVoid) Unmarshal(dAtA []byte) error
- func (m *MsgRequestVoid) ValidateBasic() error
- func (m *MsgRequestVoid) XXX_DiscardUnknown()
- func (m *MsgRequestVoid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRequestVoid) XXX_Merge(src proto.Message)
- func (m *MsgRequestVoid) XXX_Size() int
- func (m *MsgRequestVoid) XXX_Unmarshal(b []byte) error
- type MsgRequestVoidResponse
- func (*MsgRequestVoidResponse) Descriptor() ([]byte, []int)
- func (m *MsgRequestVoidResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRequestVoidResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRequestVoidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRequestVoidResponse) ProtoMessage()
- func (m *MsgRequestVoidResponse) Reset()
- func (m *MsgRequestVoidResponse) Size() (n int)
- func (m *MsgRequestVoidResponse) String() string
- func (m *MsgRequestVoidResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRequestVoidResponse) XXX_DiscardUnknown()
- func (m *MsgRequestVoidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRequestVoidResponse) XXX_Merge(src proto.Message)
- func (m *MsgRequestVoidResponse) XXX_Size() int
- func (m *MsgRequestVoidResponse) XXX_Unmarshal(b []byte) error
- type MsgRestartTransfer
- func (*MsgRestartTransfer) Descriptor() ([]byte, []int)
- func (m *MsgRestartTransfer) GetAuthority() string
- func (m *MsgRestartTransfer) GetExpectedRound() uint64
- func (m *MsgRestartTransfer) GetID() ID
- func (m *MsgRestartTransfer) GetReason() string
- func (m *MsgRestartTransfer) Marshal() (dAtA []byte, err error)
- func (m *MsgRestartTransfer) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRestartTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRestartTransfer) ProtoMessage()
- func (m *MsgRestartTransfer) Reset()
- func (m *MsgRestartTransfer) Size() (n int)
- func (m *MsgRestartTransfer) String() string
- func (m *MsgRestartTransfer) Unmarshal(dAtA []byte) error
- func (m *MsgRestartTransfer) ValidateBasic() error
- func (m *MsgRestartTransfer) XXX_DiscardUnknown()
- func (m *MsgRestartTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRestartTransfer) XXX_Merge(src proto.Message)
- func (m *MsgRestartTransfer) XXX_Size() int
- func (m *MsgRestartTransfer) XXX_Unmarshal(b []byte) error
- type MsgRestartTransferResponse
- func (*MsgRestartTransferResponse) Descriptor() ([]byte, []int)
- func (m *MsgRestartTransferResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRestartTransferResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRestartTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRestartTransferResponse) ProtoMessage()
- func (m *MsgRestartTransferResponse) Reset()
- func (m *MsgRestartTransferResponse) Size() (n int)
- func (m *MsgRestartTransferResponse) String() string
- func (m *MsgRestartTransferResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRestartTransferResponse) XXX_DiscardUnknown()
- func (m *MsgRestartTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRestartTransferResponse) XXX_Merge(src proto.Message)
- func (m *MsgRestartTransferResponse) XXX_Size() int
- func (m *MsgRestartTransferResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSink
- func (*MsgSink) Descriptor() ([]byte, []int)
- func (m *MsgSink) GetAmount() types.Coin
- func (m *MsgSink) GetDest() string
- func (m *MsgSink) GetDestType() DestType
- func (m *MsgSink) GetSender() string
- func (m *MsgSink) Marshal() (dAtA []byte, err error)
- func (m *MsgSink) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSink) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSink) ProtoMessage()
- func (m *MsgSink) Reset()
- func (m *MsgSink) Size() (n int)
- func (m *MsgSink) String() string
- func (m *MsgSink) Unmarshal(dAtA []byte) error
- func (m *MsgSink) ValidateBasic() error
- func (m *MsgSink) XXX_DiscardUnknown()
- func (m *MsgSink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSink) XXX_Merge(src proto.Message)
- func (m *MsgSink) XXX_Size() int
- func (m *MsgSink) XXX_Unmarshal(b []byte) error
- type MsgSinkResponse
- func (*MsgSinkResponse) Descriptor() ([]byte, []int)
- func (m *MsgSinkResponse) GetID() ID
- func (m *MsgSinkResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSinkResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSinkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSinkResponse) ProtoMessage()
- func (m *MsgSinkResponse) Reset()
- func (m *MsgSinkResponse) Size() (n int)
- func (m *MsgSinkResponse) String() string
- func (m *MsgSinkResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSinkResponse) XXX_DiscardUnknown()
- func (m *MsgSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSinkResponse) XXX_Merge(src proto.Message)
- func (m *MsgSinkResponse) XXX_Size() int
- func (m *MsgSinkResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParams) ValidateBasic() error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type MsgVetoVoid
- func (*MsgVetoVoid) Descriptor() ([]byte, []int)
- func (m *MsgVetoVoid) GetID() ID
- func (m *MsgVetoVoid) GetReason() string
- func (m *MsgVetoVoid) GetSigner() string
- func (m *MsgVetoVoid) Marshal() (dAtA []byte, err error)
- func (m *MsgVetoVoid) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVetoVoid) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVetoVoid) ProtoMessage()
- func (m *MsgVetoVoid) Reset()
- func (m *MsgVetoVoid) Size() (n int)
- func (m *MsgVetoVoid) String() string
- func (m *MsgVetoVoid) Unmarshal(dAtA []byte) error
- func (m *MsgVetoVoid) ValidateBasic() error
- func (m *MsgVetoVoid) XXX_DiscardUnknown()
- func (m *MsgVetoVoid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVetoVoid) XXX_Merge(src proto.Message)
- func (m *MsgVetoVoid) XXX_Size() int
- func (m *MsgVetoVoid) XXX_Unmarshal(b []byte) error
- type MsgVetoVoidResponse
- func (*MsgVetoVoidResponse) Descriptor() ([]byte, []int)
- func (m *MsgVetoVoidResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgVetoVoidResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVetoVoidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVetoVoidResponse) ProtoMessage()
- func (m *MsgVetoVoidResponse) Reset()
- func (m *MsgVetoVoidResponse) Size() (n int)
- func (m *MsgVetoVoidResponse) String() string
- func (m *MsgVetoVoidResponse) Unmarshal(dAtA []byte) error
- func (m *MsgVetoVoidResponse) XXX_DiscardUnknown()
- func (m *MsgVetoVoidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVetoVoidResponse) XXX_Merge(src proto.Message)
- func (m *MsgVetoVoidResponse) XXX_Size() int
- func (m *MsgVetoVoidResponse) XXX_Unmarshal(b []byte) error
- type Observation
- func (*Observation) Descriptor() ([]byte, []int)
- func (m *Observation) GetOutcome() Outcome
- func (m *Observation) GetSlot() uint64
- func (m *Observation) GetTransactionSignature() []byte
- func (m *Observation) Marshal() (dAtA []byte, err error)
- func (m *Observation) MarshalTo(dAtA []byte) (int, error)
- func (m *Observation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Observation) ProtoMessage()
- func (m *Observation) Reset()
- func (m *Observation) Size() (n int)
- func (m *Observation) String() string
- func (m *Observation) Unmarshal(dAtA []byte) error
- func (o *Observation) Validate() error
- func (m *Observation) XXX_DiscardUnknown()
- func (m *Observation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Observation) XXX_Merge(src proto.Message)
- func (m *Observation) XXX_Size() int
- func (m *Observation) XXX_Unmarshal(b []byte) error
- type Outcome
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetAllowedDestinationVaults() []string
- func (m *Params) GetEnabled() bool
- func (m *Params) GetMaxAmountPerTransfer() types.Coin
- func (m *Params) GetMaxEpochAmountPerAccount() types.Coin
- func (m *Params) GetMaxEpochRefund() types.Coin
- func (m *Params) GetMaxTransferAmountPerEpoch() types.Coin
- func (m *Params) GetMinAmountPerTransfer() types.Coin
- func (m *Params) GetPauseGuardian() string
- func (m *Params) GetRefundsEnabled() bool
- func (m *Params) GetReporterChallengePeriod() time.Duration
- func (m *Params) GetReporters() []string
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p *Params) ValidateBasic() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryAccountRequest
- func (*QueryAccountRequest) Descriptor() ([]byte, []int)
- func (m *QueryAccountRequest) GetOwner() string
- func (m *QueryAccountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAccountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAccountRequest) ProtoMessage()
- func (m *QueryAccountRequest) Reset()
- func (m *QueryAccountRequest) Size() (n int)
- func (m *QueryAccountRequest) String() string
- func (m *QueryAccountRequest) Unmarshal(dAtA []byte) error
- func (q *QueryAccountRequest) ValidateBasic() error
- func (m *QueryAccountRequest) XXX_DiscardUnknown()
- func (m *QueryAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAccountRequest) XXX_Merge(src proto.Message)
- func (m *QueryAccountRequest) XXX_Size() int
- func (m *QueryAccountRequest) XXX_Unmarshal(b []byte) error
- type QueryAccountResponse
- func (*QueryAccountResponse) Descriptor() ([]byte, []int)
- func (m *QueryAccountResponse) GetEpoch() uint64
- func (m *QueryAccountResponse) GetUsage() AccountUsage
- func (m *QueryAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAccountResponse) ProtoMessage()
- func (m *QueryAccountResponse) Reset()
- func (m *QueryAccountResponse) Size() (n int)
- func (m *QueryAccountResponse) String() string
- func (m *QueryAccountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAccountResponse) XXX_DiscardUnknown()
- func (m *QueryAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAccountResponse) XXX_Merge(src proto.Message)
- func (m *QueryAccountResponse) XXX_Size() int
- func (m *QueryAccountResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryDisputesRequest
- func (*QueryDisputesRequest) Descriptor() ([]byte, []int)
- func (m *QueryDisputesRequest) GetPagination() *query.PageRequest
- func (m *QueryDisputesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDisputesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDisputesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDisputesRequest) ProtoMessage()
- func (m *QueryDisputesRequest) Reset()
- func (m *QueryDisputesRequest) Size() (n int)
- func (m *QueryDisputesRequest) String() string
- func (m *QueryDisputesRequest) Unmarshal(dAtA []byte) error
- func (q *QueryDisputesRequest) ValidateBasic() error
- func (m *QueryDisputesRequest) XXX_DiscardUnknown()
- func (m *QueryDisputesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDisputesRequest) XXX_Merge(src proto.Message)
- func (m *QueryDisputesRequest) XXX_Size() int
- func (m *QueryDisputesRequest) XXX_Unmarshal(b []byte) error
- type QueryDisputesResponse
- func (*QueryDisputesResponse) Descriptor() ([]byte, []int)
- func (m *QueryDisputesResponse) GetPagination() *query.PageResponse
- func (m *QueryDisputesResponse) GetTransfers() []TransferState
- func (m *QueryDisputesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDisputesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDisputesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDisputesResponse) ProtoMessage()
- func (m *QueryDisputesResponse) Reset()
- func (m *QueryDisputesResponse) Size() (n int)
- func (m *QueryDisputesResponse) String() string
- func (m *QueryDisputesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDisputesResponse) XXX_DiscardUnknown()
- func (m *QueryDisputesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDisputesResponse) XXX_Merge(src proto.Message)
- func (m *QueryDisputesResponse) XXX_Size() int
- func (m *QueryDisputesResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryReportersRequest
- func (*QueryReportersRequest) Descriptor() ([]byte, []int)
- func (m *QueryReportersRequest) GetVersion() uint64
- func (m *QueryReportersRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryReportersRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryReportersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryReportersRequest) ProtoMessage()
- func (m *QueryReportersRequest) Reset()
- func (m *QueryReportersRequest) Size() (n int)
- func (m *QueryReportersRequest) String() string
- func (m *QueryReportersRequest) Unmarshal(dAtA []byte) error
- func (m *QueryReportersRequest) XXX_DiscardUnknown()
- func (m *QueryReportersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryReportersRequest) XXX_Merge(src proto.Message)
- func (m *QueryReportersRequest) XXX_Size() int
- func (m *QueryReportersRequest) XXX_Unmarshal(b []byte) error
- type QueryReportersResponse
- func (*QueryReportersResponse) Descriptor() ([]byte, []int)
- func (m *QueryReportersResponse) GetReporters() []ReporterPolicy
- func (m *QueryReportersResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryReportersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryReportersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryReportersResponse) ProtoMessage()
- func (m *QueryReportersResponse) Reset()
- func (m *QueryReportersResponse) Size() (n int)
- func (m *QueryReportersResponse) String() string
- func (m *QueryReportersResponse) Unmarshal(dAtA []byte) error
- func (m *QueryReportersResponse) XXX_DiscardUnknown()
- func (m *QueryReportersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryReportersResponse) XXX_Merge(src proto.Message)
- func (m *QueryReportersResponse) XXX_Size() int
- func (m *QueryReportersResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryStateRequest
- func (*QueryStateRequest) Descriptor() ([]byte, []int)
- func (m *QueryStateRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryStateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStateRequest) ProtoMessage()
- func (m *QueryStateRequest) Reset()
- func (m *QueryStateRequest) Size() (n int)
- func (m *QueryStateRequest) String() string
- func (m *QueryStateRequest) Unmarshal(dAtA []byte) error
- func (m *QueryStateRequest) XXX_DiscardUnknown()
- func (m *QueryStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStateRequest) XXX_Merge(src proto.Message)
- func (m *QueryStateRequest) XXX_Size() int
- func (m *QueryStateRequest) XXX_Unmarshal(b []byte) error
- type QueryStateResponse
- func (*QueryStateResponse) Descriptor() ([]byte, []int)
- func (m *QueryStateResponse) GetEpoch() uint64
- func (m *QueryStateResponse) GetRefundHead() *ID
- func (m *QueryStateResponse) GetRefundUsage() EpochUsage
- func (m *QueryStateResponse) GetSendUsage() EpochUsage
- func (m *QueryStateResponse) GetTotals() Totals
- func (m *QueryStateResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryStateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStateResponse) ProtoMessage()
- func (m *QueryStateResponse) Reset()
- func (m *QueryStateResponse) Size() (n int)
- func (m *QueryStateResponse) String() string
- func (m *QueryStateResponse) Unmarshal(dAtA []byte) error
- func (m *QueryStateResponse) XXX_DiscardUnknown()
- func (m *QueryStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStateResponse) XXX_Merge(src proto.Message)
- func (m *QueryStateResponse) XXX_Size() int
- func (m *QueryStateResponse) XXX_Unmarshal(b []byte) error
- type QueryTransferRequest
- func (*QueryTransferRequest) Descriptor() ([]byte, []int)
- func (m *QueryTransferRequest) GetID() ID
- func (m *QueryTransferRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTransferRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTransferRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTransferRequest) ProtoMessage()
- func (m *QueryTransferRequest) Reset()
- func (m *QueryTransferRequest) Size() (n int)
- func (m *QueryTransferRequest) String() string
- func (m *QueryTransferRequest) Unmarshal(dAtA []byte) error
- func (q *QueryTransferRequest) ValidateBasic() error
- func (m *QueryTransferRequest) XXX_DiscardUnknown()
- func (m *QueryTransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTransferRequest) XXX_Merge(src proto.Message)
- func (m *QueryTransferRequest) XXX_Size() int
- func (m *QueryTransferRequest) XXX_Unmarshal(b []byte) error
- type QueryTransferResponse
- func (*QueryTransferResponse) Descriptor() ([]byte, []int)
- func (m *QueryTransferResponse) GetTransfer() TransferState
- func (m *QueryTransferResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTransferResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTransferResponse) ProtoMessage()
- func (m *QueryTransferResponse) Reset()
- func (m *QueryTransferResponse) Size() (n int)
- func (m *QueryTransferResponse) String() string
- func (m *QueryTransferResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTransferResponse) XXX_DiscardUnknown()
- func (m *QueryTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTransferResponse) XXX_Merge(src proto.Message)
- func (m *QueryTransferResponse) XXX_Size() int
- func (m *QueryTransferResponse) XXX_Unmarshal(b []byte) error
- type QueryTransfersRequest
- func (*QueryTransfersRequest) Descriptor() ([]byte, []int)
- func (m *QueryTransfersRequest) GetOwner() string
- func (m *QueryTransfersRequest) GetPagination() *query.PageRequest
- func (m *QueryTransfersRequest) GetStatus() Status
- func (m *QueryTransfersRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTransfersRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTransfersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTransfersRequest) ProtoMessage()
- func (m *QueryTransfersRequest) Reset()
- func (m *QueryTransfersRequest) Size() (n int)
- func (m *QueryTransfersRequest) String() string
- func (m *QueryTransfersRequest) Unmarshal(dAtA []byte) error
- func (q *QueryTransfersRequest) ValidateBasic() error
- func (m *QueryTransfersRequest) XXX_DiscardUnknown()
- func (m *QueryTransfersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTransfersRequest) XXX_Merge(src proto.Message)
- func (m *QueryTransfersRequest) XXX_Size() int
- func (m *QueryTransfersRequest) XXX_Unmarshal(b []byte) error
- type QueryTransfersResponse
- func (*QueryTransfersResponse) Descriptor() ([]byte, []int)
- func (m *QueryTransfersResponse) GetPagination() *query.PageResponse
- func (m *QueryTransfersResponse) GetTransfers() []TransferState
- func (m *QueryTransfersResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTransfersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTransfersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTransfersResponse) ProtoMessage()
- func (m *QueryTransfersResponse) Reset()
- func (m *QueryTransfersResponse) Size() (n int)
- func (m *QueryTransfersResponse) String() string
- func (m *QueryTransfersResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTransfersResponse) XXX_DiscardUnknown()
- func (m *QueryTransfersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTransfersResponse) XXX_Merge(src proto.Message)
- func (m *QueryTransfersResponse) XXX_Size() int
- func (m *QueryTransfersResponse) XXX_Unmarshal(b []byte) error
- type RecordData
- func (*RecordData) Descriptor() ([]byte, []int)
- func (m *RecordData) GetAmount() types.Coin
- func (m *RecordData) GetDest() string
- func (m *RecordData) Marshal() (dAtA []byte, err error)
- func (m *RecordData) MarshalTo(dAtA []byte) (int, error)
- func (m *RecordData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RecordData) ProtoMessage()
- func (m *RecordData) Reset()
- func (m *RecordData) Size() (n int)
- func (m *RecordData) String() string
- func (m *RecordData) Unmarshal(dAtA []byte) error
- func (r RecordData) ValidateBasic() error
- func (m *RecordData) XXX_DiscardUnknown()
- func (m *RecordData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RecordData) XXX_Merge(src proto.Message)
- func (m *RecordData) XXX_Size() int
- func (m *RecordData) XXX_Unmarshal(b []byte) error
- type ReporterPolicy
- func (*ReporterPolicy) Descriptor() ([]byte, []int)
- func (p *ReporterPolicy) Equal(other ReporterPolicy) bool
- func (m *ReporterPolicy) GetMembers() []string
- func (m *ReporterPolicy) GetVersion() uint64
- func (m *ReporterPolicy) Marshal() (dAtA []byte, err error)
- func (m *ReporterPolicy) MarshalTo(dAtA []byte) (int, error)
- func (m *ReporterPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReporterPolicy) ProtoMessage()
- func (m *ReporterPolicy) Reset()
- func (m *ReporterPolicy) Size() (n int)
- func (m *ReporterPolicy) String() string
- func (m *ReporterPolicy) Unmarshal(dAtA []byte) error
- func (p *ReporterPolicy) Validate() error
- func (m *ReporterPolicy) XXX_DiscardUnknown()
- func (m *ReporterPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReporterPolicy) XXX_Merge(src proto.Message)
- func (m *ReporterPolicy) XXX_Size() int
- func (m *ReporterPolicy) XXX_Unmarshal(b []byte) error
- type Resolution
- type SettlementData
- func (*SettlementData) Descriptor() ([]byte, []int)
- func (m *SettlementData) GetChallengeEnd() int64
- func (m *SettlementData) GetGovernanceObservation() *Observation
- func (m *SettlementData) GetHold() Hold
- func (m *SettlementData) GetPolicy() ReporterPolicy
- func (m *SettlementData) GetRound() uint64
- func (m *SettlementData) GetVetoBy() string
- func (m *SettlementData) GetVetoPolicyVersion() uint64
- func (m *SettlementData) GetVetoReason() string
- func (m *SettlementData) GetVoidAuthorization() *VoidAuthorization
- func (m *SettlementData) GetVotes() []Vote
- func (s *SettlementData) HasVoidAuthorization() bool
- func (m *SettlementData) Marshal() (dAtA []byte, err error)
- func (m *SettlementData) MarshalTo(dAtA []byte) (int, error)
- func (m *SettlementData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (s *SettlementData) Payable(status Status, current uint64) bool
- func (*SettlementData) ProtoMessage()
- func (m *SettlementData) Reset()
- func (m *SettlementData) Size() (n int)
- func (m *SettlementData) String() string
- func (s *SettlementData) Tallies() (minted, voided uint32)
- func (m *SettlementData) Unmarshal(dAtA []byte) error
- func (s *SettlementData) Validate(id ID, status Status, policies map[uint64]ReporterPolicy) error
- func (m *SettlementData) XXX_DiscardUnknown()
- func (m *SettlementData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SettlementData) XXX_Merge(src proto.Message)
- func (m *SettlementData) XXX_Size() int
- func (m *SettlementData) XXX_Unmarshal(b []byte) error
- type SettlementID
- func (*SettlementID) Descriptor() ([]byte, []int)
- func (m *SettlementID) GetHeight() int64
- func (key *SettlementID) GetID() *ID
- func (m *SettlementID) GetOwner() string
- func (m *SettlementID) GetSequence() uint64
- func (m *SettlementID) GetStatus() Status
- func (m *SettlementID) Marshal() (dAtA []byte, err error)
- func (m *SettlementID) MarshalTo(dAtA []byte) (int, error)
- func (m *SettlementID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SettlementID) ProtoMessage()
- func (m *SettlementID) Reset()
- func (m *SettlementID) Size() (n int)
- func (m *SettlementID) String() string
- func (m *SettlementID) Unmarshal(dAtA []byte) error
- func (key *SettlementID) ValidateBasic() error
- func (m *SettlementID) XXX_DiscardUnknown()
- func (m *SettlementID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SettlementID) XXX_Merge(src proto.Message)
- func (m *SettlementID) XXX_Size() int
- func (m *SettlementID) XXX_Unmarshal(b []byte) error
- type SolanaAddress
- type SolanaEvidence
- func (*SolanaEvidence) Descriptor() ([]byte, []int)
- func (m *SolanaEvidence) GetSlot() uint64
- func (m *SolanaEvidence) GetTransactionSignature() []byte
- func (m *SolanaEvidence) Marshal() (dAtA []byte, err error)
- func (m *SolanaEvidence) MarshalTo(dAtA []byte) (int, error)
- func (m *SolanaEvidence) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SolanaEvidence) ProtoMessage()
- func (m *SolanaEvidence) Reset()
- func (m *SolanaEvidence) Size() (n int)
- func (m *SolanaEvidence) String() string
- func (m *SolanaEvidence) Unmarshal(dAtA []byte) error
- func (e SolanaEvidence) Validate() error
- func (m *SolanaEvidence) XXX_DiscardUnknown()
- func (m *SolanaEvidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SolanaEvidence) XXX_Merge(src proto.Message)
- func (m *SolanaEvidence) XXX_Size() int
- func (m *SolanaEvidence) XXX_Unmarshal(b []byte) error
- type Status
- type Totals
- func (t *Totals) Add(status Status, amount sdk.Coin) error
- func (t Totals) DepositedAmount() (sdk.Coin, error)
- func (*Totals) Descriptor() ([]byte, []int)
- func (t Totals) Equal(other Totals) bool
- func (t Totals) EscrowAmount() (sdk.Coin, error)
- func (m *Totals) GetMintedAmount() types.Coin
- func (m *Totals) GetMintedCount() uint64
- func (m *Totals) GetPendingAmount() types.Coin
- func (m *Totals) GetPendingCount() uint64
- func (m *Totals) GetRefundPendingAmount() types.Coin
- func (m *Totals) GetRefundPendingCount() uint64
- func (m *Totals) GetRefundedAmount() types.Coin
- func (m *Totals) GetRefundedCount() uint64
- func (m *Totals) GetVoidedAmount() types.Coin
- func (m *Totals) GetVoidedCount() uint64
- func (m *Totals) Marshal() (dAtA []byte, err error)
- func (m *Totals) MarshalTo(dAtA []byte) (int, error)
- func (m *Totals) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Totals) ProtoMessage()
- func (m *Totals) Reset()
- func (m *Totals) Size() (n int)
- func (m *Totals) String() string
- func (t *Totals) Sub(status Status, amount sdk.Coin) error
- func (m *Totals) Unmarshal(dAtA []byte) error
- func (t Totals) Validate() error
- func (m *Totals) XXX_DiscardUnknown()
- func (m *Totals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Totals) XXX_Merge(src proto.Message)
- func (m *Totals) XXX_Size() int
- func (m *Totals) XXX_Unmarshal(b []byte) error
- type TransferState
- func (*TransferState) Descriptor() ([]byte, []int)
- func (m *TransferState) GetData() RecordData
- func (m *TransferState) GetID() ID
- func (m *TransferState) GetSettlement() SettlementData
- func (m *TransferState) GetStatus() Status
- func (m *TransferState) Marshal() (dAtA []byte, err error)
- func (m *TransferState) MarshalTo(dAtA []byte) (int, error)
- func (m *TransferState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TransferState) ProtoMessage()
- func (m *TransferState) Reset()
- func (m *TransferState) Size() (n int)
- func (m *TransferState) String() string
- func (m *TransferState) Unmarshal(dAtA []byte) error
- func (m *TransferState) XXX_DiscardUnknown()
- func (m *TransferState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransferState) XXX_Merge(src proto.Message)
- func (m *TransferState) XXX_Size() int
- func (m *TransferState) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) ConfirmMint(ctx context.Context, req *MsgConfirmMint) (*MsgConfirmMintResponse, error)
- func (*UnimplementedMsgServer) ConfirmVoid(ctx context.Context, req *MsgConfirmVoid) (*MsgConfirmVoidResponse, error)
- func (*UnimplementedMsgServer) FinalizeRefund(ctx context.Context, req *MsgFinalizeRefund) (*MsgFinalizeRefundResponse, error)
- func (*UnimplementedMsgServer) GuardianPause(ctx context.Context, req *MsgGuardianPause) (*MsgGuardianPauseResponse, error)
- func (*UnimplementedMsgServer) ReportOutcome(ctx context.Context, req *MsgReportOutcome) (*MsgReportOutcomeResponse, error)
- func (*UnimplementedMsgServer) RequestVoid(ctx context.Context, req *MsgRequestVoid) (*MsgRequestVoidResponse, error)
- func (*UnimplementedMsgServer) RestartTransfer(ctx context.Context, req *MsgRestartTransfer) (*MsgRestartTransferResponse, error)
- func (*UnimplementedMsgServer) Sink(ctx context.Context, req *MsgSink) (*MsgSinkResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- func (*UnimplementedMsgServer) VetoVoid(ctx context.Context, req *MsgVetoVoid) (*MsgVetoVoidResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Account(ctx context.Context, req *QueryAccountRequest) (*QueryAccountResponse, error)
- func (*UnimplementedQueryServer) Disputes(ctx context.Context, req *QueryDisputesRequest) (*QueryDisputesResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) Reporters(ctx context.Context, req *QueryReportersRequest) (*QueryReportersResponse, error)
- func (*UnimplementedQueryServer) State(ctx context.Context, req *QueryStateRequest) (*QueryStateResponse, error)
- func (*UnimplementedQueryServer) Transfer(ctx context.Context, req *QueryTransferRequest) (*QueryTransferResponse, error)
- func (*UnimplementedQueryServer) Transfers(ctx context.Context, req *QueryTransfersRequest) (*QueryTransfersResponse, error)
- type VoidAuthorization
- func (*VoidAuthorization) Descriptor() ([]byte, []int)
- func (m *VoidAuthorization) GetRequestedHeight() int64
- func (m *VoidAuthorization) GetRequestedRound() uint64
- func (m *VoidAuthorization) Marshal() (dAtA []byte, err error)
- func (m *VoidAuthorization) MarshalTo(dAtA []byte) (int, error)
- func (m *VoidAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VoidAuthorization) ProtoMessage()
- func (m *VoidAuthorization) Reset()
- func (m *VoidAuthorization) Size() (n int)
- func (m *VoidAuthorization) String() string
- func (m *VoidAuthorization) Unmarshal(dAtA []byte) error
- func (m *VoidAuthorization) XXX_DiscardUnknown()
- func (m *VoidAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VoidAuthorization) XXX_Merge(src proto.Message)
- func (m *VoidAuthorization) XXX_Size() int
- func (m *VoidAuthorization) XXX_Unmarshal(b []byte) error
- type Vote
- func (*Vote) Descriptor() ([]byte, []int)
- func (m *Vote) GetObservation() Observation
- func (m *Vote) GetPolicyVersion() uint64
- func (m *Vote) GetReporter() string
- 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 (m *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 (m *Vote) XXX_Size() int
- func (m *Vote) XXX_Unmarshal(b []byte) error
Constants ¶
const ( SolanaAddressSize = solana.PublicKeyLength SolanaAddressSizeStr = 44 )
const ( // ModuleName is the module name constant used in many places ModuleName = "sink" // StoreKey is the store key for sink StoreKey = ModuleName // RouterKey is the message route for sink RouterKey = ModuleName TStoreKey = "sink_transient" )
const DefaultChallengePeriodSeconds uint64 = 72 * 60 * 60
const (
// DerivedAccountLength is the length of a derived account address, such as a group policy.
DerivedAccountLength = 32
)
const GovernanceRefundScope uint64 = 0
const MaxChallengePeriod = time.Duration(aminojson.MaxDurationSeconds)*time.Second + time.Second - time.Nanosecond
MaxChallengePeriod includes the final fractional second accepted by native Amino signing.
const MinChallengePeriodSeconds uint64 = 72 * 60 * 60
MinChallengePeriodSeconds is the shortest void challenge window parameters may set. AEP-95 sizes the defense against a false void quorum on 72 hours.
Variables ¶
var ( // ErrInvalidParam is the error when a module parameter is invalid ErrInvalidParam = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeInvalidParam, codes.InvalidArgument, "invalid parameter") // ErrInvalidDestination is the error when a Solana address is invalid ErrInvalidDestination = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeInvalidDestination, codes.InvalidArgument, "invalid destination") // ErrInvalidRecord is the error when a transfer record cannot be encoded or decoded ErrInvalidRecord = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeInvalidRecord, codes.InvalidArgument, "invalid transfer record") // ErrInvalidObservation is the error when a Solana observation is invalid ErrInvalidObservation = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeInvalidObservation, codes.InvalidArgument, "invalid observation") // ErrInvalidReason is the error when a veto or governance reason is empty or too long ErrInvalidReason = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeInvalidReason, codes.InvalidArgument, "invalid reason") // ErrInvalidReporters is the error when the reporter set or threshold is invalid ErrInvalidReporters = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeInvalidReporters, codes.InvalidArgument, "invalid reporter set") // ErrInvalidSettlement is the error when a settlement is internally inconsistent ErrInvalidSettlement = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeInvalidSettlement, codes.InvalidArgument, "invalid settlement") // ErrInvalidGenesis is the error when the genesis state is inconsistent ErrInvalidGenesis = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeInvalidGenesis, codes.InvalidArgument, "invalid genesis") // ErrInvalidGuardianPause is the error when a guardian pause turns nothing off ErrInvalidGuardianPause = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeInvalidGuardianPause, codes.InvalidArgument, "guardian pause must disable deposits, refunds or both") // ErrInvalidResolution is the error when a governance resolution is invalid for the transfer ErrInvalidResolution = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeInvalidResolution, codes.InvalidArgument, "invalid resolution") // ErrOverflow is the error when an amount or counter would overflow ErrOverflow = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeOverflow, codes.OutOfRange, "overflow") // ErrTransferNotFound is the error when a transfer does not exist ErrTransferNotFound = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeTransferNotFound, codes.NotFound, "transfer not found") // ErrTransferExists is the error when a transfer record already exists ErrTransferExists = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeTransferExists, codes.AlreadyExists, "transfer already exists") // ErrTransferClosed is the error when a transfer is already minted or refunded ErrTransferClosed = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeTransferClosed, codes.FailedPrecondition, "transfer closed") // ErrDepositsDisabled is the error when deposits are disabled ErrDepositsDisabled = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeDepositsDisabled, codes.FailedPrecondition, "deposits disabled") // ErrRefundsDisabled is the error when refunds are disabled ErrRefundsDisabled = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeRefundsDisabled, codes.FailedPrecondition, "refunds disabled") // ErrBelowMinTransfer is the error when a deposit is below the minimum transfer ErrBelowMinTransfer = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeBelowMinTransfer, codes.FailedPrecondition, "amount below minimum transfer") // ErrAboveMaxTransfer is the error when a deposit is above the maximum transfer ErrAboveMaxTransfer = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeAboveMaxTransfer, codes.FailedPrecondition, "amount above maximum transfer") // ErrAccountLimitReached retains the code for removed account count limits. ErrAccountLimitReached = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeAccountLimitReached, codes.ResourceExhausted, "account deposit limit reached") // ErrAccountDailyAmountExceeded is the error when a deposit exceeds the account's remaining epoch amount ErrAccountDailyAmountExceeded = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeAccountDailyAmountExceeded, codes.ResourceExhausted, "account epoch amount exceeded") // ErrRefundCapReached is the error when a refund exceeds the remaining epoch refund cap ErrRefundCapReached = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeRefundCapReached, codes.ResourceExhausted, "epoch refund cap reached") // ErrNotReporter is the error when the signer is not a current reporter ErrNotReporter = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeNotReporter, codes.PermissionDenied, "not a current reporter") // ErrNotGuardian is the error when the signer is not the pause guardian ErrNotGuardian = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeNotGuardian, codes.PermissionDenied, "not the pause guardian") // ErrStaleReport is the error when a report or authorization is from an earlier reporter policy version or round ErrStaleReport = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeStaleReport, codes.FailedPrecondition, "stale reporter policy or round") // ErrNoPendingVoid is the error when a transfer has no confirmed void to veto ErrNoPendingVoid = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeNoPendingVoid, codes.FailedPrecondition, "no pending void") // ErrChallengeWindowEnded is the error when the void challenge window has ended ErrChallengeWindowEnded = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeChallengeWindowEnded, codes.FailedPrecondition, "challenge window ended") // ErrChallengeWindowNotElapsed is the error when the void challenge window has not elapsed ErrChallengeWindowNotElapsed = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeChallengeWindowNotElapsed, codes.FailedPrecondition, "challenge window has not elapsed") // ErrRefundOutOfOrder is the error when an older refund must be paid first ErrRefundOutOfOrder = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeRefundOutOfOrder, codes.FailedPrecondition, "older refund must be paid first") // ErrDepositNotSole is the error when a deposit is not the only top-level transaction message ErrDepositNotSole = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeDepositNotSole, codes.InvalidArgument, "deposit must be the only transaction message") // ErrSenderNotSigningAccount is the error when the sender is a module account or has no public key ErrSenderNotSigningAccount = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeSenderNotSigningAccount, codes.PermissionDenied, "sender must be an ordinary signing account") // ErrEscrowTransferNotAuthorized is the error when a bank send into or out of the sink escrow is not authorized ErrEscrowTransferNotAuthorized = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeEscrowTransferNotAuthorized, codes.PermissionDenied, "escrow transfer not authorized") // ErrBalanceMismatch is the error when the sink bank balance does not match the escrow totals ErrBalanceMismatch = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeBalanceMismatch, codes.Internal, "bank balance does not match escrow") // ErrInternal is the error for internal error ErrInternal = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeInternal, codes.Internal, "internal error") // ErrInvalidID is the error when a composite identity is malformed. ErrInvalidID = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeInvalidID, codes.InvalidArgument, "invalid transfer ID") // ErrInvalidClock is the error for a negative time or backward epoch. ErrInvalidClock = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeInvalidClock, codes.InvalidArgument, "invalid epoch clock") // ErrSendCapReached is the error when aggregate sending exhausts its epoch cap. ErrSendCapReached = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeSendCapReached, codes.ResourceExhausted, "send epoch cap reached") // ErrInvalidPagination is the error for unsupported limits or cursor scans. ErrInvalidPagination = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeInvalidPagination, codes.InvalidArgument, "invalid pagination") // ErrSettlementHeld is the error when a settlement hold requires governance resolution. ErrSettlementHeld = sdkerrors.RegisterWithGRPCCode(ModuleName, errCodeSettlementHeld, codes.FailedPrecondition, "settlement requires governance resolution") )
var ( ErrInvalidLengthEvent = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvent = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgs = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgs = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgs = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") )
var Decision_name = map[int32]string{
0: "DECISION_UNSPECIFIED",
1: "DECISION_RESTART",
2: "DECISION_CONFIRM_MINT",
3: "DECISION_CONFIRM_VOID",
}
var Decision_value = map[string]int32{
"DECISION_UNSPECIFIED": 0,
"DECISION_RESTART": 1,
"DECISION_CONFIRM_MINT": 2,
"DECISION_CONFIRM_VOID": 3,
}
var DestType_name = map[int32]string{
0: "DEST_TYPE_INVALID",
1: "DEST_TYPE_SOLANA",
}
var DestType_value = map[string]int32{
"DEST_TYPE_INVALID": 0,
"DEST_TYPE_SOLANA": 1,
}
var Hold_name = map[int32]string{
0: "HOLD_NONE",
1: "HOLD_VETO",
2: "HOLD_CONFLICT",
}
var Hold_value = map[string]int32{
"HOLD_NONE": 0,
"HOLD_VETO": 1,
"HOLD_CONFLICT": 2,
}
var Msg_serviceDesc = _Msg_serviceDesc
var Outcome_name = map[int32]string{
0: "OUTCOME_UNSPECIFIED",
1: "OUTCOME_MINTED",
2: "OUTCOME_VOIDED",
}
var Outcome_value = map[string]int32{
"OUTCOME_UNSPECIFIED": 0,
"OUTCOME_MINTED": 1,
"OUTCOME_VOIDED": 2,
}
var Query_serviceDesc = _Query_serviceDesc
var Status_name = map[int32]string{
0: "STATUS_INVALID",
1: "STATUS_TRANSFER_PENDING",
2: "STATUS_MINTED",
3: "STATUS_VOIDED",
4: "STATUS_REFUND_PENDING",
5: "STATUS_REFUNDED",
}
var Status_value = map[string]int32{
"STATUS_INVALID": 0,
"STATUS_TRANSFER_PENDING": 1,
"STATUS_MINTED": 2,
"STATUS_VOIDED": 3,
"STATUS_REFUND_PENDING": 4,
"STATUS_REFUNDED": 5,
}
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
RegisterInterfaces registers the sink messages and their response descriptors.
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers sink messages using their original signing names.
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func ValidateAmount ¶
ValidateAmount accepts initialized nonnegative uakt Coins, including usage counters.
func ValidateReason ¶
func ValidateRecipient ¶
func ValidateRecipient(recipient SolanaAddress, vaults []SolanaAddress) error
func ZeroAmount ¶
Types ¶
type AccountUsage ¶
type AccountUsage struct {
TotalSent types.Coin `protobuf:"bytes,1,opt,name=total_sent,json=totalSent,proto3" json:"total_sent" yaml:"total_sent"`
EpochSent types.Coin `protobuf:"bytes,2,opt,name=epoch_sent,json=epochSent,proto3" json:"epoch_sent" yaml:"epoch_sent"`
LastEpoch int64 `protobuf:"varint,3,opt,name=last_epoch,json=lastEpoch,proto3" json:"last_epoch" yaml:"last_epoch"`
}
AccountUsage counts lifetime deposits and deposits within the native "day" last_epoch.
func (AccountUsage) At ¶
func (u AccountUsage) At(epoch uint64) (AccountUsage, error)
func (*AccountUsage) Descriptor ¶
func (*AccountUsage) Descriptor() ([]byte, []int)
func (*AccountUsage) GetEpochSent ¶
func (m *AccountUsage) GetEpochSent() types.Coin
func (*AccountUsage) GetLastEpoch ¶
func (m *AccountUsage) GetLastEpoch() int64
func (*AccountUsage) GetTotalSent ¶
func (m *AccountUsage) GetTotalSent() types.Coin
func (*AccountUsage) Marshal ¶
func (m *AccountUsage) Marshal() (dAtA []byte, err error)
func (*AccountUsage) MarshalToSizedBuffer ¶
func (m *AccountUsage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountUsage) ProtoMessage ¶
func (*AccountUsage) ProtoMessage()
func (*AccountUsage) Reset ¶
func (m *AccountUsage) Reset()
func (*AccountUsage) Size ¶
func (m *AccountUsage) Size() (n int)
func (*AccountUsage) String ¶
func (m *AccountUsage) String() string
func (*AccountUsage) Unmarshal ¶
func (m *AccountUsage) Unmarshal(dAtA []byte) error
func (AccountUsage) Validate ¶
func (u AccountUsage) Validate() error
func (*AccountUsage) XXX_DiscardUnknown ¶
func (m *AccountUsage) XXX_DiscardUnknown()
func (*AccountUsage) XXX_Marshal ¶
func (m *AccountUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountUsage) XXX_Merge ¶
func (m *AccountUsage) XXX_Merge(src proto.Message)
func (*AccountUsage) XXX_Size ¶
func (m *AccountUsage) XXX_Size() int
func (*AccountUsage) XXX_Unmarshal ¶
func (m *AccountUsage) XXX_Unmarshal(b []byte) error
type Decision ¶
type Decision int32
Decision labels resolution events.
const ( // No governance resolution was recorded. DecisionUnspecified Decision = 0 // Governance restarted an unpaid transfer. DecisionRestart Decision = 1 // Governance confirmed the mint. DecisionConfirmMint Decision = 2 // Governance confirmed the void or resolved a paid transfer dispute. DecisionConfirmVoid Decision = 3 )
func (Decision) EnumDescriptor ¶
type DestType ¶
type DestType int32
DestType selects the network that receives a transfer.
func (DestType) EnumDescriptor ¶
type EpochUsage ¶
type EpochUsage struct {
Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch" yaml:"epoch"`
Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount" yaml:"amount"`
}
EpochUsage preserves raw consumption for a native "day" epoch number.
func (EpochUsage) At ¶
func (u EpochUsage) At(epoch uint64) (EpochUsage, error)
func (*EpochUsage) Descriptor ¶
func (*EpochUsage) Descriptor() ([]byte, []int)
func (*EpochUsage) GetAmount ¶
func (m *EpochUsage) GetAmount() types.Coin
func (*EpochUsage) GetEpoch ¶
func (m *EpochUsage) GetEpoch() uint64
func (*EpochUsage) Marshal ¶
func (m *EpochUsage) Marshal() (dAtA []byte, err error)
func (*EpochUsage) MarshalToSizedBuffer ¶
func (m *EpochUsage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EpochUsage) ProtoMessage ¶
func (*EpochUsage) ProtoMessage()
func (*EpochUsage) Reset ¶
func (m *EpochUsage) Reset()
func (*EpochUsage) Size ¶
func (m *EpochUsage) Size() (n int)
func (*EpochUsage) String ¶
func (m *EpochUsage) String() string
func (*EpochUsage) Unmarshal ¶
func (m *EpochUsage) Unmarshal(dAtA []byte) error
func (EpochUsage) Validate ¶
func (u EpochUsage) Validate() error
func (*EpochUsage) XXX_DiscardUnknown ¶
func (m *EpochUsage) XXX_DiscardUnknown()
func (*EpochUsage) XXX_Marshal ¶
func (m *EpochUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EpochUsage) XXX_Merge ¶
func (m *EpochUsage) XXX_Merge(src proto.Message)
func (*EpochUsage) XXX_Size ¶
func (m *EpochUsage) XXX_Size() int
func (*EpochUsage) XXX_Unmarshal ¶
func (m *EpochUsage) XXX_Unmarshal(b []byte) error
type EventGuardianPaused ¶
type EventGuardianPaused struct {
// Guardian is the pause guardian account.
Guardian string `protobuf:"bytes,1,opt,name=guardian,proto3" json:"guardian" yaml:"guardian"`
// Deposits is set when the pause requested deposits off.
Deposits bool `protobuf:"varint,2,opt,name=deposits,proto3" json:"deposits" yaml:"deposits"`
// Refunds is set when the pause requested refunds off.
Refunds bool `protobuf:"varint,3,opt,name=refunds,proto3" json:"refunds" yaml:"refunds"`
// Enabled is whether deposits are enabled after the pause.
Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled" yaml:"enabled"`
// RefundsEnabled is whether refunds are enabled after the pause.
RefundsEnabled bool `protobuf:"varint,5,opt,name=refunds_enabled,json=refundsEnabled,proto3" json:"refunds_enabled" yaml:"refunds_enabled"`
}
EventGuardianPaused is emitted when the pause guardian turns deposits, refunds or both off.
func (*EventGuardianPaused) Descriptor ¶
func (*EventGuardianPaused) Descriptor() ([]byte, []int)
func (*EventGuardianPaused) Equal ¶
func (this *EventGuardianPaused) Equal(that interface{}) bool
func (*EventGuardianPaused) GetDeposits ¶
func (m *EventGuardianPaused) GetDeposits() bool
func (*EventGuardianPaused) GetEnabled ¶
func (m *EventGuardianPaused) GetEnabled() bool
func (*EventGuardianPaused) GetGuardian ¶
func (m *EventGuardianPaused) GetGuardian() string
func (*EventGuardianPaused) GetRefunds ¶
func (m *EventGuardianPaused) GetRefunds() bool
func (*EventGuardianPaused) GetRefundsEnabled ¶
func (m *EventGuardianPaused) GetRefundsEnabled() bool
func (*EventGuardianPaused) Marshal ¶
func (m *EventGuardianPaused) Marshal() (dAtA []byte, err error)
func (*EventGuardianPaused) MarshalTo ¶
func (m *EventGuardianPaused) MarshalTo(dAtA []byte) (int, error)
func (*EventGuardianPaused) MarshalToSizedBuffer ¶
func (m *EventGuardianPaused) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventGuardianPaused) ProtoMessage ¶
func (*EventGuardianPaused) ProtoMessage()
func (*EventGuardianPaused) Reset ¶
func (m *EventGuardianPaused) Reset()
func (*EventGuardianPaused) Size ¶
func (m *EventGuardianPaused) Size() (n int)
func (*EventGuardianPaused) String ¶
func (m *EventGuardianPaused) String() string
func (*EventGuardianPaused) Unmarshal ¶
func (m *EventGuardianPaused) Unmarshal(dAtA []byte) error
func (*EventGuardianPaused) XXX_DiscardUnknown ¶
func (m *EventGuardianPaused) XXX_DiscardUnknown()
func (*EventGuardianPaused) XXX_Marshal ¶
func (m *EventGuardianPaused) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventGuardianPaused) XXX_Merge ¶
func (m *EventGuardianPaused) XXX_Merge(src proto.Message)
func (*EventGuardianPaused) XXX_Size ¶
func (m *EventGuardianPaused) XXX_Size() int
func (*EventGuardianPaused) XXX_Unmarshal ¶
func (m *EventGuardianPaused) XXX_Unmarshal(b []byte) error
type EventMintConfirmed ¶
type EventMintConfirmed struct {
// ID is the transfer record identifier.
ID ID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"`
}
EventMintConfirmed is emitted when reporters confirm that Solana minted a transfer. The locked AKT stays in the sink module.
func (*EventMintConfirmed) Descriptor ¶
func (*EventMintConfirmed) Descriptor() ([]byte, []int)
func (*EventMintConfirmed) Equal ¶
func (this *EventMintConfirmed) Equal(that interface{}) bool
func (*EventMintConfirmed) GetID ¶
func (m *EventMintConfirmed) GetID() ID
func (*EventMintConfirmed) Marshal ¶
func (m *EventMintConfirmed) Marshal() (dAtA []byte, err error)
func (*EventMintConfirmed) MarshalTo ¶
func (m *EventMintConfirmed) MarshalTo(dAtA []byte) (int, error)
func (*EventMintConfirmed) MarshalToSizedBuffer ¶
func (m *EventMintConfirmed) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventMintConfirmed) ProtoMessage ¶
func (*EventMintConfirmed) ProtoMessage()
func (*EventMintConfirmed) Reset ¶
func (m *EventMintConfirmed) Reset()
func (*EventMintConfirmed) Size ¶
func (m *EventMintConfirmed) Size() (n int)
func (*EventMintConfirmed) String ¶
func (m *EventMintConfirmed) String() string
func (*EventMintConfirmed) Unmarshal ¶
func (m *EventMintConfirmed) Unmarshal(dAtA []byte) error
func (*EventMintConfirmed) XXX_DiscardUnknown ¶
func (m *EventMintConfirmed) XXX_DiscardUnknown()
func (*EventMintConfirmed) XXX_Marshal ¶
func (m *EventMintConfirmed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventMintConfirmed) XXX_Merge ¶
func (m *EventMintConfirmed) XXX_Merge(src proto.Message)
func (*EventMintConfirmed) XXX_Size ¶
func (m *EventMintConfirmed) XXX_Size() int
func (*EventMintConfirmed) XXX_Unmarshal ¶
func (m *EventMintConfirmed) XXX_Unmarshal(b []byte) error
type EventOutcomeReported ¶
type EventOutcomeReported struct {
// ID is the transfer record identifier.
ID ID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"`
// Reporter is the reporter account that sent the report.
Reporter string `protobuf:"bytes,2,opt,name=reporter,proto3" json:"reporter" yaml:"reporter"`
// Outcome is the reported Solana outcome.
Outcome Outcome `protobuf:"varint,3,opt,name=outcome,proto3,enum=akash.sink.v1.Outcome" json:"outcome" yaml:"outcome"`
}
EventOutcomeReported is emitted when a reporter records what happened to a transfer on Solana.
func (*EventOutcomeReported) Descriptor ¶
func (*EventOutcomeReported) Descriptor() ([]byte, []int)
func (*EventOutcomeReported) Equal ¶
func (this *EventOutcomeReported) Equal(that interface{}) bool
func (*EventOutcomeReported) GetID ¶
func (m *EventOutcomeReported) GetID() ID
func (*EventOutcomeReported) GetOutcome ¶
func (m *EventOutcomeReported) GetOutcome() Outcome
func (*EventOutcomeReported) GetReporter ¶
func (m *EventOutcomeReported) GetReporter() string
func (*EventOutcomeReported) Marshal ¶
func (m *EventOutcomeReported) Marshal() (dAtA []byte, err error)
func (*EventOutcomeReported) MarshalTo ¶
func (m *EventOutcomeReported) MarshalTo(dAtA []byte) (int, error)
func (*EventOutcomeReported) MarshalToSizedBuffer ¶
func (m *EventOutcomeReported) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventOutcomeReported) ProtoMessage ¶
func (*EventOutcomeReported) ProtoMessage()
func (*EventOutcomeReported) Reset ¶
func (m *EventOutcomeReported) Reset()
func (*EventOutcomeReported) Size ¶
func (m *EventOutcomeReported) Size() (n int)
func (*EventOutcomeReported) String ¶
func (m *EventOutcomeReported) String() string
func (*EventOutcomeReported) Unmarshal ¶
func (m *EventOutcomeReported) Unmarshal(dAtA []byte) error
func (*EventOutcomeReported) XXX_DiscardUnknown ¶
func (m *EventOutcomeReported) XXX_DiscardUnknown()
func (*EventOutcomeReported) XXX_Marshal ¶
func (m *EventOutcomeReported) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventOutcomeReported) XXX_Merge ¶
func (m *EventOutcomeReported) XXX_Merge(src proto.Message)
func (*EventOutcomeReported) XXX_Size ¶
func (m *EventOutcomeReported) XXX_Size() int
func (*EventOutcomeReported) XXX_Unmarshal ¶
func (m *EventOutcomeReported) XXX_Unmarshal(b []byte) error
type EventPreexistingBalanceMoved ¶
type EventPreexistingBalanceMoved struct {
// Amount is the balance moved.
Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount" yaml:"amount"`
// Recipient is the community pool's module account.
Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient" yaml:"recipient"`
}
EventPreexistingBalanceMoved is emitted at installation when the sink address already held coins, which move to the community pool.
func (*EventPreexistingBalanceMoved) Descriptor ¶
func (*EventPreexistingBalanceMoved) Descriptor() ([]byte, []int)
func (*EventPreexistingBalanceMoved) Equal ¶
func (this *EventPreexistingBalanceMoved) Equal(that interface{}) bool
func (*EventPreexistingBalanceMoved) GetAmount ¶
func (m *EventPreexistingBalanceMoved) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*EventPreexistingBalanceMoved) GetRecipient ¶
func (m *EventPreexistingBalanceMoved) GetRecipient() string
func (*EventPreexistingBalanceMoved) Marshal ¶
func (m *EventPreexistingBalanceMoved) Marshal() (dAtA []byte, err error)
func (*EventPreexistingBalanceMoved) MarshalTo ¶
func (m *EventPreexistingBalanceMoved) MarshalTo(dAtA []byte) (int, error)
func (*EventPreexistingBalanceMoved) MarshalToSizedBuffer ¶
func (m *EventPreexistingBalanceMoved) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventPreexistingBalanceMoved) ProtoMessage ¶
func (*EventPreexistingBalanceMoved) ProtoMessage()
func (*EventPreexistingBalanceMoved) Reset ¶
func (m *EventPreexistingBalanceMoved) Reset()
func (*EventPreexistingBalanceMoved) Size ¶
func (m *EventPreexistingBalanceMoved) Size() (n int)
func (*EventPreexistingBalanceMoved) String ¶
func (m *EventPreexistingBalanceMoved) String() string
func (*EventPreexistingBalanceMoved) Unmarshal ¶
func (m *EventPreexistingBalanceMoved) Unmarshal(dAtA []byte) error
func (*EventPreexistingBalanceMoved) XXX_DiscardUnknown ¶
func (m *EventPreexistingBalanceMoved) XXX_DiscardUnknown()
func (*EventPreexistingBalanceMoved) XXX_Marshal ¶
func (m *EventPreexistingBalanceMoved) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventPreexistingBalanceMoved) XXX_Merge ¶
func (m *EventPreexistingBalanceMoved) XXX_Merge(src proto.Message)
func (*EventPreexistingBalanceMoved) XXX_Size ¶
func (m *EventPreexistingBalanceMoved) XXX_Size() int
func (*EventPreexistingBalanceMoved) XXX_Unmarshal ¶
func (m *EventPreexistingBalanceMoved) XXX_Unmarshal(b []byte) error
type EventReportConflict ¶
type EventReportConflict struct {
// ID is the transfer record identifier.
ID ID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"`
// Reporter is the reporter account whose report conflicted.
Reporter string `protobuf:"bytes,2,opt,name=reporter,proto3" json:"reporter" yaml:"reporter"`
}
EventReportConflict is emitted when a report contradicts the reporter's earlier vote, holding the transfer for governance.
func (*EventReportConflict) Descriptor ¶
func (*EventReportConflict) Descriptor() ([]byte, []int)
func (*EventReportConflict) Equal ¶
func (this *EventReportConflict) Equal(that interface{}) bool
func (*EventReportConflict) GetID ¶
func (m *EventReportConflict) GetID() ID
func (*EventReportConflict) GetReporter ¶
func (m *EventReportConflict) GetReporter() string
func (*EventReportConflict) Marshal ¶
func (m *EventReportConflict) Marshal() (dAtA []byte, err error)
func (*EventReportConflict) MarshalTo ¶
func (m *EventReportConflict) MarshalTo(dAtA []byte) (int, error)
func (*EventReportConflict) MarshalToSizedBuffer ¶
func (m *EventReportConflict) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventReportConflict) ProtoMessage ¶
func (*EventReportConflict) ProtoMessage()
func (*EventReportConflict) Reset ¶
func (m *EventReportConflict) Reset()
func (*EventReportConflict) Size ¶
func (m *EventReportConflict) Size() (n int)
func (*EventReportConflict) String ¶
func (m *EventReportConflict) String() string
func (*EventReportConflict) Unmarshal ¶
func (m *EventReportConflict) Unmarshal(dAtA []byte) error
func (*EventReportConflict) XXX_DiscardUnknown ¶
func (m *EventReportConflict) XXX_DiscardUnknown()
func (*EventReportConflict) XXX_Marshal ¶
func (m *EventReportConflict) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventReportConflict) XXX_Merge ¶
func (m *EventReportConflict) XXX_Merge(src proto.Message)
func (*EventReportConflict) XXX_Size ¶
func (m *EventReportConflict) XXX_Size() int
func (*EventReportConflict) XXX_Unmarshal ¶
func (m *EventReportConflict) XXX_Unmarshal(b []byte) error
type EventTotalsUpdated ¶
type EventTotalsUpdated struct {
PendingAmount types.Coin `protobuf:"bytes,1,opt,name=pending_amount,json=pendingAmount,proto3" json:"pending_amount" yaml:"pending_amount"`
PendingCount uint64 `protobuf:"varint,2,opt,name=pending_count,json=pendingCount,proto3" json:"pending_count" yaml:"pending_count"`
MintedAmount types.Coin `protobuf:"bytes,3,opt,name=minted_amount,json=mintedAmount,proto3" json:"minted_amount" yaml:"minted_amount"`
MintedCount uint64 `protobuf:"varint,4,opt,name=minted_count,json=mintedCount,proto3" json:"minted_count" yaml:"minted_count"`
VoidedAmount types.Coin `protobuf:"bytes,5,opt,name=voided_amount,json=voidedAmount,proto3" json:"voided_amount" yaml:"voided_amount"`
VoidedCount uint64 `protobuf:"varint,6,opt,name=voided_count,json=voidedCount,proto3" json:"voided_count" yaml:"voided_count"`
RefundPendingAmount types.Coin `` /* 139-byte string literal not displayed */
RefundPendingCount uint64 `` /* 136-byte string literal not displayed */
RefundedAmount types.Coin `protobuf:"bytes,9,opt,name=refunded_amount,json=refundedAmount,proto3" json:"refunded_amount" yaml:"refunded_amount"`
RefundedCount uint64 `protobuf:"varint,10,opt,name=refunded_count,json=refundedCount,proto3" json:"refunded_count" yaml:"refunded_count"`
RefundedInEpoch types.Coin `protobuf:"bytes,11,opt,name=refunded_in_epoch,json=refundedInEpoch,proto3" json:"refunded_in_epoch" yaml:"refunded_in_epoch"`
}
EventTotalsUpdated records the five financial populations and normalized refund usage.
func (*EventTotalsUpdated) Descriptor ¶
func (*EventTotalsUpdated) Descriptor() ([]byte, []int)
func (*EventTotalsUpdated) GetMintedAmount ¶
func (m *EventTotalsUpdated) GetMintedAmount() types.Coin
func (*EventTotalsUpdated) GetMintedCount ¶
func (m *EventTotalsUpdated) GetMintedCount() uint64
func (*EventTotalsUpdated) GetPendingAmount ¶
func (m *EventTotalsUpdated) GetPendingAmount() types.Coin
func (*EventTotalsUpdated) GetPendingCount ¶
func (m *EventTotalsUpdated) GetPendingCount() uint64
func (*EventTotalsUpdated) GetRefundPendingAmount ¶
func (m *EventTotalsUpdated) GetRefundPendingAmount() types.Coin
func (*EventTotalsUpdated) GetRefundPendingCount ¶
func (m *EventTotalsUpdated) GetRefundPendingCount() uint64
func (*EventTotalsUpdated) GetRefundedAmount ¶
func (m *EventTotalsUpdated) GetRefundedAmount() types.Coin
func (*EventTotalsUpdated) GetRefundedCount ¶
func (m *EventTotalsUpdated) GetRefundedCount() uint64
func (*EventTotalsUpdated) GetRefundedInEpoch ¶
func (m *EventTotalsUpdated) GetRefundedInEpoch() types.Coin
func (*EventTotalsUpdated) GetVoidedAmount ¶
func (m *EventTotalsUpdated) GetVoidedAmount() types.Coin
func (*EventTotalsUpdated) GetVoidedCount ¶
func (m *EventTotalsUpdated) GetVoidedCount() uint64
func (*EventTotalsUpdated) Marshal ¶
func (m *EventTotalsUpdated) Marshal() (dAtA []byte, err error)
func (*EventTotalsUpdated) MarshalTo ¶
func (m *EventTotalsUpdated) MarshalTo(dAtA []byte) (int, error)
func (*EventTotalsUpdated) MarshalToSizedBuffer ¶
func (m *EventTotalsUpdated) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventTotalsUpdated) ProtoMessage ¶
func (*EventTotalsUpdated) ProtoMessage()
func (*EventTotalsUpdated) Reset ¶
func (m *EventTotalsUpdated) Reset()
func (*EventTotalsUpdated) Size ¶
func (m *EventTotalsUpdated) Size() (n int)
func (*EventTotalsUpdated) String ¶
func (m *EventTotalsUpdated) String() string
func (*EventTotalsUpdated) Unmarshal ¶
func (m *EventTotalsUpdated) Unmarshal(dAtA []byte) error
func (*EventTotalsUpdated) XXX_DiscardUnknown ¶
func (m *EventTotalsUpdated) XXX_DiscardUnknown()
func (*EventTotalsUpdated) XXX_Marshal ¶
func (m *EventTotalsUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventTotalsUpdated) XXX_Merge ¶
func (m *EventTotalsUpdated) XXX_Merge(src proto.Message)
func (*EventTotalsUpdated) XXX_Size ¶
func (m *EventTotalsUpdated) XXX_Size() int
func (*EventTotalsUpdated) XXX_Unmarshal ¶
func (m *EventTotalsUpdated) XXX_Unmarshal(b []byte) error
type EventTransferCreated ¶
type EventTransferCreated struct {
// ID is the transfer record identifier.
ID ID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"`
// Sender is the Akash account that deposited the AKT.
Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender" yaml:"sender"`
// Recipient is the Solana address, base58, that receives the minted AKT.
Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient" yaml:"recipient"`
// Amount is the locked AKT.
Amount types.Coin `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount" yaml:"amount"`
// Height is the block height that committed the record.
Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height" yaml:"height"`
}
EventTransferCreated is emitted when a deposit locks AKT and creates a transfer record for Solana to prove.
func (*EventTransferCreated) Descriptor ¶
func (*EventTransferCreated) Descriptor() ([]byte, []int)
func (*EventTransferCreated) Equal ¶
func (this *EventTransferCreated) Equal(that interface{}) bool
func (*EventTransferCreated) GetAmount ¶
func (m *EventTransferCreated) GetAmount() types.Coin
func (*EventTransferCreated) GetHeight ¶
func (m *EventTransferCreated) GetHeight() int64
func (*EventTransferCreated) GetID ¶
func (m *EventTransferCreated) GetID() ID
func (*EventTransferCreated) GetRecipient ¶
func (m *EventTransferCreated) GetRecipient() string
func (*EventTransferCreated) GetSender ¶
func (m *EventTransferCreated) GetSender() string
func (*EventTransferCreated) Marshal ¶
func (m *EventTransferCreated) Marshal() (dAtA []byte, err error)
func (*EventTransferCreated) MarshalTo ¶
func (m *EventTransferCreated) MarshalTo(dAtA []byte) (int, error)
func (*EventTransferCreated) MarshalToSizedBuffer ¶
func (m *EventTransferCreated) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventTransferCreated) ProtoMessage ¶
func (*EventTransferCreated) ProtoMessage()
func (*EventTransferCreated) Reset ¶
func (m *EventTransferCreated) Reset()
func (*EventTransferCreated) Size ¶
func (m *EventTransferCreated) Size() (n int)
func (*EventTransferCreated) String ¶
func (m *EventTransferCreated) String() string
func (*EventTransferCreated) Unmarshal ¶
func (m *EventTransferCreated) Unmarshal(dAtA []byte) error
func (*EventTransferCreated) XXX_DiscardUnknown ¶
func (m *EventTransferCreated) XXX_DiscardUnknown()
func (*EventTransferCreated) XXX_Marshal ¶
func (m *EventTransferCreated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventTransferCreated) XXX_Merge ¶
func (m *EventTransferCreated) XXX_Merge(src proto.Message)
func (*EventTransferCreated) XXX_Size ¶
func (m *EventTransferCreated) XXX_Size() int
func (*EventTransferCreated) XXX_Unmarshal ¶
func (m *EventTransferCreated) XXX_Unmarshal(b []byte) error
type EventTransferRefunded ¶
type EventTransferRefunded struct {
// ID is the transfer record identifier.
ID ID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"`
// Sender is the original sender, who receives the refund.
Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender" yaml:"sender"`
// Amount is the refunded AKT.
Amount types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount" yaml:"amount"`
}
EventTransferRefunded is emitted when a voided transfer's AKT is returned to its sender.
func (*EventTransferRefunded) Descriptor ¶
func (*EventTransferRefunded) Descriptor() ([]byte, []int)
func (*EventTransferRefunded) Equal ¶
func (this *EventTransferRefunded) Equal(that interface{}) bool
func (*EventTransferRefunded) GetAmount ¶
func (m *EventTransferRefunded) GetAmount() types.Coin
func (*EventTransferRefunded) GetID ¶
func (m *EventTransferRefunded) GetID() ID
func (*EventTransferRefunded) GetSender ¶
func (m *EventTransferRefunded) GetSender() string
func (*EventTransferRefunded) Marshal ¶
func (m *EventTransferRefunded) Marshal() (dAtA []byte, err error)
func (*EventTransferRefunded) MarshalTo ¶
func (m *EventTransferRefunded) MarshalTo(dAtA []byte) (int, error)
func (*EventTransferRefunded) MarshalToSizedBuffer ¶
func (m *EventTransferRefunded) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventTransferRefunded) ProtoMessage ¶
func (*EventTransferRefunded) ProtoMessage()
func (*EventTransferRefunded) Reset ¶
func (m *EventTransferRefunded) Reset()
func (*EventTransferRefunded) Size ¶
func (m *EventTransferRefunded) Size() (n int)
func (*EventTransferRefunded) String ¶
func (m *EventTransferRefunded) String() string
func (*EventTransferRefunded) Unmarshal ¶
func (m *EventTransferRefunded) Unmarshal(dAtA []byte) error
func (*EventTransferRefunded) XXX_DiscardUnknown ¶
func (m *EventTransferRefunded) XXX_DiscardUnknown()
func (*EventTransferRefunded) XXX_Marshal ¶
func (m *EventTransferRefunded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventTransferRefunded) XXX_Merge ¶
func (m *EventTransferRefunded) XXX_Merge(src proto.Message)
func (*EventTransferRefunded) XXX_Size ¶
func (m *EventTransferRefunded) XXX_Size() int
func (*EventTransferRefunded) XXX_Unmarshal ¶
func (m *EventTransferRefunded) XXX_Unmarshal(b []byte) error
type EventTransferResolved ¶
type EventTransferResolved struct {
// ID is the transfer record identifier.
ID ID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"`
// Decision is the governance decision.
Decision Decision `protobuf:"varint,2,opt,name=decision,proto3,enum=akash.sink.v1.Decision" json:"decision" yaml:"decision"`
// Reason is the governance reason.
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason" yaml:"reason"`
}
EventTransferResolved is emitted when governance resolves a held transfer.
func (*EventTransferResolved) Descriptor ¶
func (*EventTransferResolved) Descriptor() ([]byte, []int)
func (*EventTransferResolved) Equal ¶
func (this *EventTransferResolved) Equal(that interface{}) bool
func (*EventTransferResolved) GetDecision ¶
func (m *EventTransferResolved) GetDecision() Decision
func (*EventTransferResolved) GetID ¶
func (m *EventTransferResolved) GetID() ID
func (*EventTransferResolved) GetReason ¶
func (m *EventTransferResolved) GetReason() string
func (*EventTransferResolved) Marshal ¶
func (m *EventTransferResolved) Marshal() (dAtA []byte, err error)
func (*EventTransferResolved) MarshalTo ¶
func (m *EventTransferResolved) MarshalTo(dAtA []byte) (int, error)
func (*EventTransferResolved) MarshalToSizedBuffer ¶
func (m *EventTransferResolved) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventTransferResolved) ProtoMessage ¶
func (*EventTransferResolved) ProtoMessage()
func (*EventTransferResolved) Reset ¶
func (m *EventTransferResolved) Reset()
func (*EventTransferResolved) Size ¶
func (m *EventTransferResolved) Size() (n int)
func (*EventTransferResolved) String ¶
func (m *EventTransferResolved) String() string
func (*EventTransferResolved) Unmarshal ¶
func (m *EventTransferResolved) Unmarshal(dAtA []byte) error
func (*EventTransferResolved) XXX_DiscardUnknown ¶
func (m *EventTransferResolved) XXX_DiscardUnknown()
func (*EventTransferResolved) XXX_Marshal ¶
func (m *EventTransferResolved) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventTransferResolved) XXX_Merge ¶
func (m *EventTransferResolved) XXX_Merge(src proto.Message)
func (*EventTransferResolved) XXX_Size ¶
func (m *EventTransferResolved) XXX_Size() int
func (*EventTransferResolved) XXX_Unmarshal ¶
func (m *EventTransferResolved) XXX_Unmarshal(b []byte) error
type EventVoidConfirmed ¶
type EventVoidConfirmed struct {
// ID is the transfer record identifier.
ID ID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"`
// ChallengeEnd is when the refund becomes payable unless vetoed.
ChallengeEnd time.Time `protobuf:"bytes,2,opt,name=challenge_end,json=challengeEnd,proto3,stdtime" json:"challenge_end" yaml:"challenge_end"`
}
EventVoidConfirmed is emitted when reporters confirm that Solana voided a transfer, starting its challenge period.
func (*EventVoidConfirmed) Descriptor ¶
func (*EventVoidConfirmed) Descriptor() ([]byte, []int)
func (*EventVoidConfirmed) Equal ¶
func (this *EventVoidConfirmed) Equal(that interface{}) bool
func (*EventVoidConfirmed) GetChallengeEnd ¶
func (m *EventVoidConfirmed) GetChallengeEnd() time.Time
func (*EventVoidConfirmed) GetID ¶
func (m *EventVoidConfirmed) GetID() ID
func (*EventVoidConfirmed) Marshal ¶
func (m *EventVoidConfirmed) Marshal() (dAtA []byte, err error)
func (*EventVoidConfirmed) MarshalTo ¶
func (m *EventVoidConfirmed) MarshalTo(dAtA []byte) (int, error)
func (*EventVoidConfirmed) MarshalToSizedBuffer ¶
func (m *EventVoidConfirmed) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventVoidConfirmed) ProtoMessage ¶
func (*EventVoidConfirmed) ProtoMessage()
func (*EventVoidConfirmed) Reset ¶
func (m *EventVoidConfirmed) Reset()
func (*EventVoidConfirmed) Size ¶
func (m *EventVoidConfirmed) Size() (n int)
func (*EventVoidConfirmed) String ¶
func (m *EventVoidConfirmed) String() string
func (*EventVoidConfirmed) Unmarshal ¶
func (m *EventVoidConfirmed) Unmarshal(dAtA []byte) error
func (*EventVoidConfirmed) XXX_DiscardUnknown ¶
func (m *EventVoidConfirmed) XXX_DiscardUnknown()
func (*EventVoidConfirmed) XXX_Marshal ¶
func (m *EventVoidConfirmed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventVoidConfirmed) XXX_Merge ¶
func (m *EventVoidConfirmed) XXX_Merge(src proto.Message)
func (*EventVoidConfirmed) XXX_Size ¶
func (m *EventVoidConfirmed) XXX_Size() int
func (*EventVoidConfirmed) XXX_Unmarshal ¶
func (m *EventVoidConfirmed) XXX_Unmarshal(b []byte) error
type EventVoidOrdered ¶
type EventVoidOrdered struct {
// ID is the transfer record identifier.
ID ID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"`
}
EventVoidOrdered is emitted when governance orders a transfer voided.
func (*EventVoidOrdered) Descriptor ¶
func (*EventVoidOrdered) Descriptor() ([]byte, []int)
func (*EventVoidOrdered) Equal ¶
func (this *EventVoidOrdered) Equal(that interface{}) bool
func (*EventVoidOrdered) GetID ¶
func (m *EventVoidOrdered) GetID() ID
func (*EventVoidOrdered) Marshal ¶
func (m *EventVoidOrdered) Marshal() (dAtA []byte, err error)
func (*EventVoidOrdered) MarshalToSizedBuffer ¶
func (m *EventVoidOrdered) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventVoidOrdered) ProtoMessage ¶
func (*EventVoidOrdered) ProtoMessage()
func (*EventVoidOrdered) Reset ¶
func (m *EventVoidOrdered) Reset()
func (*EventVoidOrdered) Size ¶
func (m *EventVoidOrdered) Size() (n int)
func (*EventVoidOrdered) String ¶
func (m *EventVoidOrdered) String() string
func (*EventVoidOrdered) Unmarshal ¶
func (m *EventVoidOrdered) Unmarshal(dAtA []byte) error
func (*EventVoidOrdered) XXX_DiscardUnknown ¶
func (m *EventVoidOrdered) XXX_DiscardUnknown()
func (*EventVoidOrdered) XXX_Marshal ¶
func (m *EventVoidOrdered) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventVoidOrdered) XXX_Merge ¶
func (m *EventVoidOrdered) XXX_Merge(src proto.Message)
func (*EventVoidOrdered) XXX_Size ¶
func (m *EventVoidOrdered) XXX_Size() int
func (*EventVoidOrdered) XXX_Unmarshal ¶
func (m *EventVoidOrdered) XXX_Unmarshal(b []byte) error
type EventVoidVetoed ¶
type EventVoidVetoed struct {
// ID is the transfer record identifier.
ID ID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"`
// Signer is the reporter account that vetoed.
Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer" yaml:"signer"`
// Reason is the veto reason.
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason" yaml:"reason"`
}
EventVoidVetoed is emitted when a reporter vetoes a confirmed void during its challenge period, holding the transfer for governance.
func (*EventVoidVetoed) Descriptor ¶
func (*EventVoidVetoed) Descriptor() ([]byte, []int)
func (*EventVoidVetoed) Equal ¶
func (this *EventVoidVetoed) Equal(that interface{}) bool
func (*EventVoidVetoed) GetID ¶
func (m *EventVoidVetoed) GetID() ID
func (*EventVoidVetoed) GetReason ¶
func (m *EventVoidVetoed) GetReason() string
func (*EventVoidVetoed) GetSigner ¶
func (m *EventVoidVetoed) GetSigner() string
func (*EventVoidVetoed) Marshal ¶
func (m *EventVoidVetoed) Marshal() (dAtA []byte, err error)
func (*EventVoidVetoed) MarshalToSizedBuffer ¶
func (m *EventVoidVetoed) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventVoidVetoed) ProtoMessage ¶
func (*EventVoidVetoed) ProtoMessage()
func (*EventVoidVetoed) Reset ¶
func (m *EventVoidVetoed) Reset()
func (*EventVoidVetoed) Size ¶
func (m *EventVoidVetoed) Size() (n int)
func (*EventVoidVetoed) String ¶
func (m *EventVoidVetoed) String() string
func (*EventVoidVetoed) Unmarshal ¶
func (m *EventVoidVetoed) Unmarshal(dAtA []byte) error
func (*EventVoidVetoed) XXX_DiscardUnknown ¶
func (m *EventVoidVetoed) XXX_DiscardUnknown()
func (*EventVoidVetoed) XXX_Marshal ¶
func (m *EventVoidVetoed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventVoidVetoed) XXX_Merge ¶
func (m *EventVoidVetoed) XXX_Merge(src proto.Message)
func (*EventVoidVetoed) XXX_Size ¶
func (m *EventVoidVetoed) XXX_Size() int
func (*EventVoidVetoed) XXX_Unmarshal ¶
func (m *EventVoidVetoed) XXX_Unmarshal(b []byte) error
type GenesisAccount ¶
type GenesisAccount struct {
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner" yaml:"owner"`
Usage AccountUsage `protobuf:"bytes,2,opt,name=usage,proto3" json:"usage" yaml:"usage"`
}
GenesisAccount preserves one owner's lifetime and raw epoch usage.
func (*GenesisAccount) Descriptor ¶
func (*GenesisAccount) Descriptor() ([]byte, []int)
func (*GenesisAccount) GetOwner ¶
func (m *GenesisAccount) GetOwner() string
func (*GenesisAccount) GetUsage ¶
func (m *GenesisAccount) GetUsage() AccountUsage
func (*GenesisAccount) Marshal ¶
func (m *GenesisAccount) Marshal() (dAtA []byte, err error)
func (*GenesisAccount) MarshalToSizedBuffer ¶
func (m *GenesisAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisAccount) ProtoMessage ¶
func (*GenesisAccount) ProtoMessage()
func (*GenesisAccount) Reset ¶
func (m *GenesisAccount) Reset()
func (*GenesisAccount) Size ¶
func (m *GenesisAccount) Size() (n int)
func (*GenesisAccount) String ¶
func (m *GenesisAccount) String() string
func (*GenesisAccount) Unmarshal ¶
func (m *GenesisAccount) Unmarshal(dAtA []byte) error
func (*GenesisAccount) XXX_DiscardUnknown ¶
func (m *GenesisAccount) XXX_DiscardUnknown()
func (*GenesisAccount) XXX_Marshal ¶
func (m *GenesisAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisAccount) XXX_Merge ¶
func (m *GenesisAccount) XXX_Merge(src proto.Message)
func (*GenesisAccount) XXX_Size ¶
func (m *GenesisAccount) XXX_Size() int
func (*GenesisAccount) XXX_Unmarshal ¶
func (m *GenesisAccount) XXX_Unmarshal(b []byte) error
type GenesisRecord ¶
type GenesisRecord struct {
ID ID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"`
Data RecordData `protobuf:"bytes,2,opt,name=data,proto3" json:"data" yaml:"data"`
Settlement SettlementData `protobuf:"bytes,3,opt,name=settlement,proto3" json:"settlement" yaml:"settlement"`
Status Status `protobuf:"varint,5,opt,name=status,proto3,enum=akash.sink.v1.Status" json:"status" yaml:"status"`
}
GenesisRecord preserves the immutable record and complete canonical settlement key.
func (*GenesisRecord) Descriptor ¶
func (*GenesisRecord) Descriptor() ([]byte, []int)
func (*GenesisRecord) GetData ¶
func (m *GenesisRecord) GetData() RecordData
func (*GenesisRecord) GetID ¶
func (m *GenesisRecord) GetID() ID
func (*GenesisRecord) GetSettlement ¶
func (m *GenesisRecord) GetSettlement() SettlementData
func (*GenesisRecord) GetStatus ¶
func (m *GenesisRecord) GetStatus() Status
func (*GenesisRecord) Marshal ¶
func (m *GenesisRecord) Marshal() (dAtA []byte, err error)
func (*GenesisRecord) MarshalToSizedBuffer ¶
func (m *GenesisRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisRecord) ProtoMessage ¶
func (*GenesisRecord) ProtoMessage()
func (*GenesisRecord) Reset ¶
func (m *GenesisRecord) Reset()
func (*GenesisRecord) Size ¶
func (m *GenesisRecord) Size() (n int)
func (*GenesisRecord) String ¶
func (m *GenesisRecord) String() string
func (*GenesisRecord) Unmarshal ¶
func (m *GenesisRecord) Unmarshal(dAtA []byte) error
func (*GenesisRecord) XXX_DiscardUnknown ¶
func (m *GenesisRecord) XXX_DiscardUnknown()
func (*GenesisRecord) XXX_Marshal ¶
func (m *GenesisRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisRecord) XXX_Merge ¶
func (m *GenesisRecord) XXX_Merge(src proto.Message)
func (*GenesisRecord) XXX_Size ¶
func (m *GenesisRecord) XXX_Size() int
func (*GenesisRecord) XXX_Unmarshal ¶
func (m *GenesisRecord) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params" yaml:"params"`
Totals Totals `protobuf:"bytes,2,opt,name=totals,proto3" json:"totals" yaml:"totals"`
PolicySequence uint64 `protobuf:"varint,3,opt,name=policy_sequence,json=policySequence,proto3" json:"policy_sequence" yaml:"policy_sequence"`
// Current policy and every additional policy referenced by retained evidence.
Policies []ReporterPolicy `protobuf:"bytes,4,rep,name=policies,proto3" json:"policies" yaml:"policies"`
SendUsage EpochUsage `protobuf:"bytes,5,opt,name=send_usage,json=sendUsage,proto3" json:"send_usage" yaml:"send_usage"`
RefundUsage EpochUsage `protobuf:"bytes,6,opt,name=refund_usage,json=refundUsage,proto3" json:"refund_usage" yaml:"refund_usage"`
Records []GenesisRecord `protobuf:"bytes,7,rep,name=records,proto3" json:"records" yaml:"records"`
// One record per owner, including any retained empty usage records.
Accounts []GenesisAccount `protobuf:"bytes,8,rep,name=accounts,proto3" json:"accounts" yaml:"accounts"`
}
GenesisState exports the complete sink state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetAccounts ¶
func (m *GenesisState) GetAccounts() []GenesisAccount
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetPolicies ¶
func (m *GenesisState) GetPolicies() []ReporterPolicy
func (*GenesisState) GetPolicySequence ¶
func (m *GenesisState) GetPolicySequence() uint64
func (*GenesisState) GetRecords ¶
func (m *GenesisState) GetRecords() []GenesisRecord
func (*GenesisState) GetRefundUsage ¶
func (m *GenesisState) GetRefundUsage() EpochUsage
func (*GenesisState) GetSendUsage ¶
func (m *GenesisState) GetSendUsage() EpochUsage
func (*GenesisState) GetTotals ¶
func (m *GenesisState) GetTotals() Totals
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) Validate ¶
func (g *GenesisState) Validate() error
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type Hold ¶
type Hold int32
Hold records a veto or conflict requiring governance resolution.
func (Hold) EnumDescriptor ¶
type ID ¶
type ID struct {
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner" yaml:"owner"`
// Positive creating block height; genesis imports require a later initial_height.
Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height" yaml:"height"`
// Positive globally allocated sequence within the creating block.
Sequence uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence" yaml:"sequence"`
}
ID identifies a transfer by owner, block height and sequence.
func (*ID) Descriptor ¶
func (*ID) GetSequence ¶
func (*ID) ProtoMessage ¶
func (*ID) ProtoMessage()
func (*ID) ValidateBasic ¶
func (*ID) XXX_DiscardUnknown ¶
func (m *ID) XXX_DiscardUnknown()
func (*ID) XXX_Unmarshal ¶
type MsgClient ¶
type MsgClient interface {
// Sink locks uakt and allocates a composite transfer ID.
Sink(ctx context.Context, in *MsgSink, opts ...grpc.CallOption) (*MsgSinkResponse, error)
// UpdateParams updates governed parameters while preserving consumed capacity.
UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
// RequestVoid creates an immutable governance void order; it does not authorize a refund.
RequestVoid(ctx context.Context, in *MsgRequestVoid, opts ...grpc.CallOption) (*MsgRequestVoidResponse, error)
// ReportOutcome records a report for the current policy and exact settlement round.
ReportOutcome(ctx context.Context, in *MsgReportOutcome, opts ...grpc.CallOption) (*MsgReportOutcomeResponse, error)
// VetoVoid holds an unpaid refund authorization for governance.
VetoVoid(ctx context.Context, in *MsgVetoVoid, opts ...grpc.CallOption) (*MsgVetoVoidResponse, error)
// RestartTransfer starts the next round of an unpaid transfer.
RestartTransfer(ctx context.Context, in *MsgRestartTransfer, opts ...grpc.CallOption) (*MsgRestartTransferResponse, error)
// ConfirmMint records governance mint evidence in the next settlement round.
ConfirmMint(ctx context.Context, in *MsgConfirmMint, opts ...grpc.CallOption) (*MsgConfirmMintResponse, error)
// ConfirmVoid records governance void evidence or resolves a paid transfer dispute.
ConfirmVoid(ctx context.Context, in *MsgConfirmVoid, opts ...grpc.CallOption) (*MsgConfirmVoidResponse, error)
// FinalizeRefund pays the eligible queue head once to its original owner.
FinalizeRefund(ctx context.Context, in *MsgFinalizeRefund, opts ...grpc.CallOption) (*MsgFinalizeRefundResponse, error)
// GuardianPause disables deposits, refunds or both.
GuardianPause(ctx context.Context, in *MsgGuardianPause, opts ...grpc.CallOption) (*MsgGuardianPauseResponse, error)
}
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgConfirmMint ¶
type MsgConfirmMint struct {
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority" yaml:"authority"`
ID ID `protobuf:"bytes,2,opt,name=id,proto3" json:"id" yaml:"id"`
Evidence SolanaEvidence `protobuf:"bytes,3,opt,name=evidence,proto3" json:"evidence" yaml:"evidence"`
Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason" yaml:"reason"`
// Must match the current round; a successful resolution increments it.
ExpectedRound uint64 `protobuf:"varint,5,opt,name=expected_round,json=expectedRound,proto3" json:"expected_round" yaml:"expected_round"`
}
MsgConfirmMint records governance confirmation of a Solana mint.
func (*MsgConfirmMint) Descriptor ¶
func (*MsgConfirmMint) Descriptor() ([]byte, []int)
func (*MsgConfirmMint) GetAuthority ¶
func (m *MsgConfirmMint) GetAuthority() string
func (*MsgConfirmMint) GetEvidence ¶
func (m *MsgConfirmMint) GetEvidence() SolanaEvidence
func (*MsgConfirmMint) GetExpectedRound ¶
func (m *MsgConfirmMint) GetExpectedRound() uint64
func (*MsgConfirmMint) GetID ¶
func (m *MsgConfirmMint) GetID() ID
func (*MsgConfirmMint) GetReason ¶
func (m *MsgConfirmMint) GetReason() string
func (*MsgConfirmMint) Marshal ¶
func (m *MsgConfirmMint) Marshal() (dAtA []byte, err error)
func (*MsgConfirmMint) MarshalToSizedBuffer ¶
func (m *MsgConfirmMint) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgConfirmMint) ProtoMessage ¶
func (*MsgConfirmMint) ProtoMessage()
func (*MsgConfirmMint) Reset ¶
func (m *MsgConfirmMint) Reset()
func (*MsgConfirmMint) Size ¶
func (m *MsgConfirmMint) Size() (n int)
func (*MsgConfirmMint) String ¶
func (m *MsgConfirmMint) String() string
func (*MsgConfirmMint) Unmarshal ¶
func (m *MsgConfirmMint) Unmarshal(dAtA []byte) error
func (*MsgConfirmMint) ValidateBasic ¶
func (m *MsgConfirmMint) ValidateBasic() error
func (*MsgConfirmMint) XXX_DiscardUnknown ¶
func (m *MsgConfirmMint) XXX_DiscardUnknown()
func (*MsgConfirmMint) XXX_Marshal ¶
func (m *MsgConfirmMint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgConfirmMint) XXX_Merge ¶
func (m *MsgConfirmMint) XXX_Merge(src proto.Message)
func (*MsgConfirmMint) XXX_Size ¶
func (m *MsgConfirmMint) XXX_Size() int
func (*MsgConfirmMint) XXX_Unmarshal ¶
func (m *MsgConfirmMint) XXX_Unmarshal(b []byte) error
type MsgConfirmMintResponse ¶
type MsgConfirmMintResponse struct {
}
MsgConfirmMintResponse acknowledges the transaction.
func (*MsgConfirmMintResponse) Descriptor ¶
func (*MsgConfirmMintResponse) Descriptor() ([]byte, []int)
func (*MsgConfirmMintResponse) Marshal ¶
func (m *MsgConfirmMintResponse) Marshal() (dAtA []byte, err error)
func (*MsgConfirmMintResponse) MarshalTo ¶
func (m *MsgConfirmMintResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgConfirmMintResponse) MarshalToSizedBuffer ¶
func (m *MsgConfirmMintResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgConfirmMintResponse) ProtoMessage ¶
func (*MsgConfirmMintResponse) ProtoMessage()
func (*MsgConfirmMintResponse) Reset ¶
func (m *MsgConfirmMintResponse) Reset()
func (*MsgConfirmMintResponse) Size ¶
func (m *MsgConfirmMintResponse) Size() (n int)
func (*MsgConfirmMintResponse) String ¶
func (m *MsgConfirmMintResponse) String() string
func (*MsgConfirmMintResponse) Unmarshal ¶
func (m *MsgConfirmMintResponse) Unmarshal(dAtA []byte) error
func (*MsgConfirmMintResponse) XXX_DiscardUnknown ¶
func (m *MsgConfirmMintResponse) XXX_DiscardUnknown()
func (*MsgConfirmMintResponse) XXX_Marshal ¶
func (m *MsgConfirmMintResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgConfirmMintResponse) XXX_Merge ¶
func (m *MsgConfirmMintResponse) XXX_Merge(src proto.Message)
func (*MsgConfirmMintResponse) XXX_Size ¶
func (m *MsgConfirmMintResponse) XXX_Size() int
func (*MsgConfirmMintResponse) XXX_Unmarshal ¶
func (m *MsgConfirmMintResponse) XXX_Unmarshal(b []byte) error
type MsgConfirmVoid ¶
type MsgConfirmVoid struct {
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority" yaml:"authority"`
ID ID `protobuf:"bytes,2,opt,name=id,proto3" json:"id" yaml:"id"`
Evidence SolanaEvidence `protobuf:"bytes,3,opt,name=evidence,proto3" json:"evidence" yaml:"evidence"`
Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason" yaml:"reason"`
// Must match the current round; a successful resolution increments it.
ExpectedRound uint64 `protobuf:"varint,5,opt,name=expected_round,json=expectedRound,proto3" json:"expected_round" yaml:"expected_round"`
}
MsgConfirmVoid records governance confirmation of a Solana void.
func (*MsgConfirmVoid) Descriptor ¶
func (*MsgConfirmVoid) Descriptor() ([]byte, []int)
func (*MsgConfirmVoid) GetAuthority ¶
func (m *MsgConfirmVoid) GetAuthority() string
func (*MsgConfirmVoid) GetEvidence ¶
func (m *MsgConfirmVoid) GetEvidence() SolanaEvidence
func (*MsgConfirmVoid) GetExpectedRound ¶
func (m *MsgConfirmVoid) GetExpectedRound() uint64
func (*MsgConfirmVoid) GetID ¶
func (m *MsgConfirmVoid) GetID() ID
func (*MsgConfirmVoid) GetReason ¶
func (m *MsgConfirmVoid) GetReason() string
func (*MsgConfirmVoid) Marshal ¶
func (m *MsgConfirmVoid) Marshal() (dAtA []byte, err error)
func (*MsgConfirmVoid) MarshalToSizedBuffer ¶
func (m *MsgConfirmVoid) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgConfirmVoid) ProtoMessage ¶
func (*MsgConfirmVoid) ProtoMessage()
func (*MsgConfirmVoid) Reset ¶
func (m *MsgConfirmVoid) Reset()
func (*MsgConfirmVoid) Size ¶
func (m *MsgConfirmVoid) Size() (n int)
func (*MsgConfirmVoid) String ¶
func (m *MsgConfirmVoid) String() string
func (*MsgConfirmVoid) Unmarshal ¶
func (m *MsgConfirmVoid) Unmarshal(dAtA []byte) error
func (*MsgConfirmVoid) ValidateBasic ¶
func (m *MsgConfirmVoid) ValidateBasic() error
func (*MsgConfirmVoid) XXX_DiscardUnknown ¶
func (m *MsgConfirmVoid) XXX_DiscardUnknown()
func (*MsgConfirmVoid) XXX_Marshal ¶
func (m *MsgConfirmVoid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgConfirmVoid) XXX_Merge ¶
func (m *MsgConfirmVoid) XXX_Merge(src proto.Message)
func (*MsgConfirmVoid) XXX_Size ¶
func (m *MsgConfirmVoid) XXX_Size() int
func (*MsgConfirmVoid) XXX_Unmarshal ¶
func (m *MsgConfirmVoid) XXX_Unmarshal(b []byte) error
type MsgConfirmVoidResponse ¶
type MsgConfirmVoidResponse struct {
}
MsgConfirmVoidResponse acknowledges the transaction.
func (*MsgConfirmVoidResponse) Descriptor ¶
func (*MsgConfirmVoidResponse) Descriptor() ([]byte, []int)
func (*MsgConfirmVoidResponse) Marshal ¶
func (m *MsgConfirmVoidResponse) Marshal() (dAtA []byte, err error)
func (*MsgConfirmVoidResponse) MarshalTo ¶
func (m *MsgConfirmVoidResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgConfirmVoidResponse) MarshalToSizedBuffer ¶
func (m *MsgConfirmVoidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgConfirmVoidResponse) ProtoMessage ¶
func (*MsgConfirmVoidResponse) ProtoMessage()
func (*MsgConfirmVoidResponse) Reset ¶
func (m *MsgConfirmVoidResponse) Reset()
func (*MsgConfirmVoidResponse) Size ¶
func (m *MsgConfirmVoidResponse) Size() (n int)
func (*MsgConfirmVoidResponse) String ¶
func (m *MsgConfirmVoidResponse) String() string
func (*MsgConfirmVoidResponse) Unmarshal ¶
func (m *MsgConfirmVoidResponse) Unmarshal(dAtA []byte) error
func (*MsgConfirmVoidResponse) XXX_DiscardUnknown ¶
func (m *MsgConfirmVoidResponse) XXX_DiscardUnknown()
func (*MsgConfirmVoidResponse) XXX_Marshal ¶
func (m *MsgConfirmVoidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgConfirmVoidResponse) XXX_Merge ¶
func (m *MsgConfirmVoidResponse) XXX_Merge(src proto.Message)
func (*MsgConfirmVoidResponse) XXX_Size ¶
func (m *MsgConfirmVoidResponse) XXX_Size() int
func (*MsgConfirmVoidResponse) XXX_Unmarshal ¶
func (m *MsgConfirmVoidResponse) XXX_Unmarshal(b []byte) error
type MsgFinalizeRefund ¶
type MsgFinalizeRefund struct {
Executor string `protobuf:"bytes,1,opt,name=executor,proto3" json:"executor" yaml:"executor"`
ID ID `protobuf:"bytes,2,opt,name=id,proto3" json:"id" yaml:"id"`
}
MsgFinalizeRefund pays an eligible refund candidate to its original owner.
func (*MsgFinalizeRefund) Descriptor ¶
func (*MsgFinalizeRefund) Descriptor() ([]byte, []int)
func (*MsgFinalizeRefund) GetExecutor ¶
func (m *MsgFinalizeRefund) GetExecutor() string
func (*MsgFinalizeRefund) GetID ¶
func (m *MsgFinalizeRefund) GetID() ID
func (*MsgFinalizeRefund) Marshal ¶
func (m *MsgFinalizeRefund) Marshal() (dAtA []byte, err error)
func (*MsgFinalizeRefund) MarshalTo ¶
func (m *MsgFinalizeRefund) MarshalTo(dAtA []byte) (int, error)
func (*MsgFinalizeRefund) MarshalToSizedBuffer ¶
func (m *MsgFinalizeRefund) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgFinalizeRefund) ProtoMessage ¶
func (*MsgFinalizeRefund) ProtoMessage()
func (*MsgFinalizeRefund) Reset ¶
func (m *MsgFinalizeRefund) Reset()
func (*MsgFinalizeRefund) Size ¶
func (m *MsgFinalizeRefund) Size() (n int)
func (*MsgFinalizeRefund) String ¶
func (m *MsgFinalizeRefund) String() string
func (*MsgFinalizeRefund) Unmarshal ¶
func (m *MsgFinalizeRefund) Unmarshal(dAtA []byte) error
func (*MsgFinalizeRefund) ValidateBasic ¶
func (m *MsgFinalizeRefund) ValidateBasic() error
func (*MsgFinalizeRefund) XXX_DiscardUnknown ¶
func (m *MsgFinalizeRefund) XXX_DiscardUnknown()
func (*MsgFinalizeRefund) XXX_Marshal ¶
func (m *MsgFinalizeRefund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgFinalizeRefund) XXX_Merge ¶
func (m *MsgFinalizeRefund) XXX_Merge(src proto.Message)
func (*MsgFinalizeRefund) XXX_Size ¶
func (m *MsgFinalizeRefund) XXX_Size() int
func (*MsgFinalizeRefund) XXX_Unmarshal ¶
func (m *MsgFinalizeRefund) XXX_Unmarshal(b []byte) error
type MsgFinalizeRefundResponse ¶
type MsgFinalizeRefundResponse struct {
}
MsgFinalizeRefundResponse acknowledges the transaction.
func (*MsgFinalizeRefundResponse) Descriptor ¶
func (*MsgFinalizeRefundResponse) Descriptor() ([]byte, []int)
func (*MsgFinalizeRefundResponse) Marshal ¶
func (m *MsgFinalizeRefundResponse) Marshal() (dAtA []byte, err error)
func (*MsgFinalizeRefundResponse) MarshalTo ¶
func (m *MsgFinalizeRefundResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgFinalizeRefundResponse) MarshalToSizedBuffer ¶
func (m *MsgFinalizeRefundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgFinalizeRefundResponse) ProtoMessage ¶
func (*MsgFinalizeRefundResponse) ProtoMessage()
func (*MsgFinalizeRefundResponse) Reset ¶
func (m *MsgFinalizeRefundResponse) Reset()
func (*MsgFinalizeRefundResponse) Size ¶
func (m *MsgFinalizeRefundResponse) Size() (n int)
func (*MsgFinalizeRefundResponse) String ¶
func (m *MsgFinalizeRefundResponse) String() string
func (*MsgFinalizeRefundResponse) Unmarshal ¶
func (m *MsgFinalizeRefundResponse) Unmarshal(dAtA []byte) error
func (*MsgFinalizeRefundResponse) XXX_DiscardUnknown ¶
func (m *MsgFinalizeRefundResponse) XXX_DiscardUnknown()
func (*MsgFinalizeRefundResponse) XXX_Marshal ¶
func (m *MsgFinalizeRefundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgFinalizeRefundResponse) XXX_Merge ¶
func (m *MsgFinalizeRefundResponse) XXX_Merge(src proto.Message)
func (*MsgFinalizeRefundResponse) XXX_Size ¶
func (m *MsgFinalizeRefundResponse) XXX_Size() int
func (*MsgFinalizeRefundResponse) XXX_Unmarshal ¶
func (m *MsgFinalizeRefundResponse) XXX_Unmarshal(b []byte) error
type MsgGuardianPause ¶
type MsgGuardianPause struct {
Guardian string `protobuf:"bytes,1,opt,name=guardian,proto3" json:"guardian" yaml:"guardian"`
Deposits bool `protobuf:"varint,2,opt,name=deposits,proto3" json:"deposits,omitempty" yaml:"deposits"`
Refunds bool `protobuf:"varint,3,opt,name=refunds,proto3" json:"refunds,omitempty" yaml:"refunds"`
}
MsgGuardianPause disables the selected deposit or refund operations.
func (*MsgGuardianPause) Descriptor ¶
func (*MsgGuardianPause) Descriptor() ([]byte, []int)
func (*MsgGuardianPause) GetDeposits ¶
func (m *MsgGuardianPause) GetDeposits() bool
func (*MsgGuardianPause) GetGuardian ¶
func (m *MsgGuardianPause) GetGuardian() string
func (*MsgGuardianPause) GetRefunds ¶
func (m *MsgGuardianPause) GetRefunds() bool
func (*MsgGuardianPause) Marshal ¶
func (m *MsgGuardianPause) Marshal() (dAtA []byte, err error)
func (*MsgGuardianPause) MarshalToSizedBuffer ¶
func (m *MsgGuardianPause) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGuardianPause) ProtoMessage ¶
func (*MsgGuardianPause) ProtoMessage()
func (*MsgGuardianPause) Reset ¶
func (m *MsgGuardianPause) Reset()
func (*MsgGuardianPause) Size ¶
func (m *MsgGuardianPause) Size() (n int)
func (*MsgGuardianPause) String ¶
func (m *MsgGuardianPause) String() string
func (*MsgGuardianPause) Unmarshal ¶
func (m *MsgGuardianPause) Unmarshal(dAtA []byte) error
func (*MsgGuardianPause) ValidateBasic ¶
func (m *MsgGuardianPause) ValidateBasic() error
func (*MsgGuardianPause) XXX_DiscardUnknown ¶
func (m *MsgGuardianPause) XXX_DiscardUnknown()
func (*MsgGuardianPause) XXX_Marshal ¶
func (m *MsgGuardianPause) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGuardianPause) XXX_Merge ¶
func (m *MsgGuardianPause) XXX_Merge(src proto.Message)
func (*MsgGuardianPause) XXX_Size ¶
func (m *MsgGuardianPause) XXX_Size() int
func (*MsgGuardianPause) XXX_Unmarshal ¶
func (m *MsgGuardianPause) XXX_Unmarshal(b []byte) error
type MsgGuardianPauseResponse ¶
type MsgGuardianPauseResponse struct {
}
MsgGuardianPauseResponse acknowledges the transaction.
func (*MsgGuardianPauseResponse) Descriptor ¶
func (*MsgGuardianPauseResponse) Descriptor() ([]byte, []int)
func (*MsgGuardianPauseResponse) Marshal ¶
func (m *MsgGuardianPauseResponse) Marshal() (dAtA []byte, err error)
func (*MsgGuardianPauseResponse) MarshalTo ¶
func (m *MsgGuardianPauseResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgGuardianPauseResponse) MarshalToSizedBuffer ¶
func (m *MsgGuardianPauseResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGuardianPauseResponse) ProtoMessage ¶
func (*MsgGuardianPauseResponse) ProtoMessage()
func (*MsgGuardianPauseResponse) Reset ¶
func (m *MsgGuardianPauseResponse) Reset()
func (*MsgGuardianPauseResponse) Size ¶
func (m *MsgGuardianPauseResponse) Size() (n int)
func (*MsgGuardianPauseResponse) String ¶
func (m *MsgGuardianPauseResponse) String() string
func (*MsgGuardianPauseResponse) Unmarshal ¶
func (m *MsgGuardianPauseResponse) Unmarshal(dAtA []byte) error
func (*MsgGuardianPauseResponse) XXX_DiscardUnknown ¶
func (m *MsgGuardianPauseResponse) XXX_DiscardUnknown()
func (*MsgGuardianPauseResponse) XXX_Marshal ¶
func (m *MsgGuardianPauseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGuardianPauseResponse) XXX_Merge ¶
func (m *MsgGuardianPauseResponse) XXX_Merge(src proto.Message)
func (*MsgGuardianPauseResponse) XXX_Size ¶
func (m *MsgGuardianPauseResponse) XXX_Size() int
func (*MsgGuardianPauseResponse) XXX_Unmarshal ¶
func (m *MsgGuardianPauseResponse) XXX_Unmarshal(b []byte) error
type MsgReportOutcome ¶
type MsgReportOutcome struct {
Reporter string `protobuf:"bytes,1,opt,name=reporter,proto3" json:"reporter" yaml:"reporter"`
ID ID `protobuf:"bytes,2,opt,name=id,proto3" json:"id" yaml:"id"`
PolicyVersion uint64 `protobuf:"varint,3,opt,name=policy_version,json=policyVersion,proto3" json:"policy_version" yaml:"policy_version"`
Round uint64 `protobuf:"varint,4,opt,name=round,proto3" json:"round" yaml:"round"`
Observation Observation `protobuf:"bytes,5,opt,name=observation,proto3" json:"observation" yaml:"observation"`
}
MsgReportOutcome reports a Solana outcome for one settlement round and reporter policy.
func (*MsgReportOutcome) Descriptor ¶
func (*MsgReportOutcome) Descriptor() ([]byte, []int)
func (*MsgReportOutcome) GetID ¶
func (m *MsgReportOutcome) GetID() ID
func (*MsgReportOutcome) GetObservation ¶
func (m *MsgReportOutcome) GetObservation() Observation
func (*MsgReportOutcome) GetPolicyVersion ¶
func (m *MsgReportOutcome) GetPolicyVersion() uint64
func (*MsgReportOutcome) GetReporter ¶
func (m *MsgReportOutcome) GetReporter() string
func (*MsgReportOutcome) GetRound ¶
func (m *MsgReportOutcome) GetRound() uint64
func (*MsgReportOutcome) Marshal ¶
func (m *MsgReportOutcome) Marshal() (dAtA []byte, err error)
func (*MsgReportOutcome) MarshalToSizedBuffer ¶
func (m *MsgReportOutcome) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgReportOutcome) ProtoMessage ¶
func (*MsgReportOutcome) ProtoMessage()
func (*MsgReportOutcome) Reset ¶
func (m *MsgReportOutcome) Reset()
func (*MsgReportOutcome) Size ¶
func (m *MsgReportOutcome) Size() (n int)
func (*MsgReportOutcome) String ¶
func (m *MsgReportOutcome) String() string
func (*MsgReportOutcome) Unmarshal ¶
func (m *MsgReportOutcome) Unmarshal(dAtA []byte) error
func (*MsgReportOutcome) ValidateBasic ¶
func (m *MsgReportOutcome) ValidateBasic() error
func (*MsgReportOutcome) XXX_DiscardUnknown ¶
func (m *MsgReportOutcome) XXX_DiscardUnknown()
func (*MsgReportOutcome) XXX_Marshal ¶
func (m *MsgReportOutcome) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgReportOutcome) XXX_Merge ¶
func (m *MsgReportOutcome) XXX_Merge(src proto.Message)
func (*MsgReportOutcome) XXX_Size ¶
func (m *MsgReportOutcome) XXX_Size() int
func (*MsgReportOutcome) XXX_Unmarshal ¶
func (m *MsgReportOutcome) XXX_Unmarshal(b []byte) error
type MsgReportOutcomeResponse ¶
type MsgReportOutcomeResponse struct {
}
MsgReportOutcomeResponse acknowledges the transaction.
func (*MsgReportOutcomeResponse) Descriptor ¶
func (*MsgReportOutcomeResponse) Descriptor() ([]byte, []int)
func (*MsgReportOutcomeResponse) Marshal ¶
func (m *MsgReportOutcomeResponse) Marshal() (dAtA []byte, err error)
func (*MsgReportOutcomeResponse) MarshalTo ¶
func (m *MsgReportOutcomeResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgReportOutcomeResponse) MarshalToSizedBuffer ¶
func (m *MsgReportOutcomeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgReportOutcomeResponse) ProtoMessage ¶
func (*MsgReportOutcomeResponse) ProtoMessage()
func (*MsgReportOutcomeResponse) Reset ¶
func (m *MsgReportOutcomeResponse) Reset()
func (*MsgReportOutcomeResponse) Size ¶
func (m *MsgReportOutcomeResponse) Size() (n int)
func (*MsgReportOutcomeResponse) String ¶
func (m *MsgReportOutcomeResponse) String() string
func (*MsgReportOutcomeResponse) Unmarshal ¶
func (m *MsgReportOutcomeResponse) Unmarshal(dAtA []byte) error
func (*MsgReportOutcomeResponse) XXX_DiscardUnknown ¶
func (m *MsgReportOutcomeResponse) XXX_DiscardUnknown()
func (*MsgReportOutcomeResponse) XXX_Marshal ¶
func (m *MsgReportOutcomeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgReportOutcomeResponse) XXX_Merge ¶
func (m *MsgReportOutcomeResponse) XXX_Merge(src proto.Message)
func (*MsgReportOutcomeResponse) XXX_Size ¶
func (m *MsgReportOutcomeResponse) XXX_Size() int
func (*MsgReportOutcomeResponse) XXX_Unmarshal ¶
func (m *MsgReportOutcomeResponse) XXX_Unmarshal(b []byte) error
type MsgRequestVoid ¶
type MsgRequestVoid struct {
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority" yaml:"authority"`
ID ID `protobuf:"bytes,2,opt,name=id,proto3" json:"id" yaml:"id"`
// New orders require this round; retries preserve the original receipt.
ExpectedRound uint64 `protobuf:"varint,3,opt,name=expected_round,json=expectedRound,proto3" json:"expected_round" yaml:"expected_round"`
}
MsgRequestVoid orders a Solana void without authorizing an Akash refund.
func (*MsgRequestVoid) Descriptor ¶
func (*MsgRequestVoid) Descriptor() ([]byte, []int)
func (*MsgRequestVoid) GetAuthority ¶
func (m *MsgRequestVoid) GetAuthority() string
func (*MsgRequestVoid) GetExpectedRound ¶
func (m *MsgRequestVoid) GetExpectedRound() uint64
func (*MsgRequestVoid) GetID ¶
func (m *MsgRequestVoid) GetID() ID
func (*MsgRequestVoid) Marshal ¶
func (m *MsgRequestVoid) Marshal() (dAtA []byte, err error)
func (*MsgRequestVoid) MarshalToSizedBuffer ¶
func (m *MsgRequestVoid) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRequestVoid) ProtoMessage ¶
func (*MsgRequestVoid) ProtoMessage()
func (*MsgRequestVoid) Reset ¶
func (m *MsgRequestVoid) Reset()
func (*MsgRequestVoid) Size ¶
func (m *MsgRequestVoid) Size() (n int)
func (*MsgRequestVoid) String ¶
func (m *MsgRequestVoid) String() string
func (*MsgRequestVoid) Unmarshal ¶
func (m *MsgRequestVoid) Unmarshal(dAtA []byte) error
func (*MsgRequestVoid) ValidateBasic ¶
func (m *MsgRequestVoid) ValidateBasic() error
func (*MsgRequestVoid) XXX_DiscardUnknown ¶
func (m *MsgRequestVoid) XXX_DiscardUnknown()
func (*MsgRequestVoid) XXX_Marshal ¶
func (m *MsgRequestVoid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRequestVoid) XXX_Merge ¶
func (m *MsgRequestVoid) XXX_Merge(src proto.Message)
func (*MsgRequestVoid) XXX_Size ¶
func (m *MsgRequestVoid) XXX_Size() int
func (*MsgRequestVoid) XXX_Unmarshal ¶
func (m *MsgRequestVoid) XXX_Unmarshal(b []byte) error
type MsgRequestVoidResponse ¶
type MsgRequestVoidResponse struct {
}
MsgRequestVoidResponse acknowledges the transaction.
func (*MsgRequestVoidResponse) Descriptor ¶
func (*MsgRequestVoidResponse) Descriptor() ([]byte, []int)
func (*MsgRequestVoidResponse) Marshal ¶
func (m *MsgRequestVoidResponse) Marshal() (dAtA []byte, err error)
func (*MsgRequestVoidResponse) MarshalTo ¶
func (m *MsgRequestVoidResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRequestVoidResponse) MarshalToSizedBuffer ¶
func (m *MsgRequestVoidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRequestVoidResponse) ProtoMessage ¶
func (*MsgRequestVoidResponse) ProtoMessage()
func (*MsgRequestVoidResponse) Reset ¶
func (m *MsgRequestVoidResponse) Reset()
func (*MsgRequestVoidResponse) Size ¶
func (m *MsgRequestVoidResponse) Size() (n int)
func (*MsgRequestVoidResponse) String ¶
func (m *MsgRequestVoidResponse) String() string
func (*MsgRequestVoidResponse) Unmarshal ¶
func (m *MsgRequestVoidResponse) Unmarshal(dAtA []byte) error
func (*MsgRequestVoidResponse) XXX_DiscardUnknown ¶
func (m *MsgRequestVoidResponse) XXX_DiscardUnknown()
func (*MsgRequestVoidResponse) XXX_Marshal ¶
func (m *MsgRequestVoidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRequestVoidResponse) XXX_Merge ¶
func (m *MsgRequestVoidResponse) XXX_Merge(src proto.Message)
func (*MsgRequestVoidResponse) XXX_Size ¶
func (m *MsgRequestVoidResponse) XXX_Size() int
func (*MsgRequestVoidResponse) XXX_Unmarshal ¶
func (m *MsgRequestVoidResponse) XXX_Unmarshal(b []byte) error
type MsgRestartTransfer ¶
type MsgRestartTransfer struct {
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority" yaml:"authority"`
ID ID `protobuf:"bytes,2,opt,name=id,proto3" json:"id" yaml:"id"`
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason" yaml:"reason"`
// Must match the current round; a successful resolution increments it.
ExpectedRound uint64 `protobuf:"varint,4,opt,name=expected_round,json=expectedRound,proto3" json:"expected_round" yaml:"expected_round"`
}
MsgRestartTransfer starts a new settlement round for an unpaid transfer.
func (*MsgRestartTransfer) Descriptor ¶
func (*MsgRestartTransfer) Descriptor() ([]byte, []int)
func (*MsgRestartTransfer) GetAuthority ¶
func (m *MsgRestartTransfer) GetAuthority() string
func (*MsgRestartTransfer) GetExpectedRound ¶
func (m *MsgRestartTransfer) GetExpectedRound() uint64
func (*MsgRestartTransfer) GetID ¶
func (m *MsgRestartTransfer) GetID() ID
func (*MsgRestartTransfer) GetReason ¶
func (m *MsgRestartTransfer) GetReason() string
func (*MsgRestartTransfer) Marshal ¶
func (m *MsgRestartTransfer) Marshal() (dAtA []byte, err error)
func (*MsgRestartTransfer) MarshalTo ¶
func (m *MsgRestartTransfer) MarshalTo(dAtA []byte) (int, error)
func (*MsgRestartTransfer) MarshalToSizedBuffer ¶
func (m *MsgRestartTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRestartTransfer) ProtoMessage ¶
func (*MsgRestartTransfer) ProtoMessage()
func (*MsgRestartTransfer) Reset ¶
func (m *MsgRestartTransfer) Reset()
func (*MsgRestartTransfer) Size ¶
func (m *MsgRestartTransfer) Size() (n int)
func (*MsgRestartTransfer) String ¶
func (m *MsgRestartTransfer) String() string
func (*MsgRestartTransfer) Unmarshal ¶
func (m *MsgRestartTransfer) Unmarshal(dAtA []byte) error
func (*MsgRestartTransfer) ValidateBasic ¶
func (m *MsgRestartTransfer) ValidateBasic() error
func (*MsgRestartTransfer) XXX_DiscardUnknown ¶
func (m *MsgRestartTransfer) XXX_DiscardUnknown()
func (*MsgRestartTransfer) XXX_Marshal ¶
func (m *MsgRestartTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRestartTransfer) XXX_Merge ¶
func (m *MsgRestartTransfer) XXX_Merge(src proto.Message)
func (*MsgRestartTransfer) XXX_Size ¶
func (m *MsgRestartTransfer) XXX_Size() int
func (*MsgRestartTransfer) XXX_Unmarshal ¶
func (m *MsgRestartTransfer) XXX_Unmarshal(b []byte) error
type MsgRestartTransferResponse ¶
type MsgRestartTransferResponse struct {
}
MsgRestartTransferResponse acknowledges the transaction.
func (*MsgRestartTransferResponse) Descriptor ¶
func (*MsgRestartTransferResponse) Descriptor() ([]byte, []int)
func (*MsgRestartTransferResponse) Marshal ¶
func (m *MsgRestartTransferResponse) Marshal() (dAtA []byte, err error)
func (*MsgRestartTransferResponse) MarshalTo ¶
func (m *MsgRestartTransferResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRestartTransferResponse) MarshalToSizedBuffer ¶
func (m *MsgRestartTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRestartTransferResponse) ProtoMessage ¶
func (*MsgRestartTransferResponse) ProtoMessage()
func (*MsgRestartTransferResponse) Reset ¶
func (m *MsgRestartTransferResponse) Reset()
func (*MsgRestartTransferResponse) Size ¶
func (m *MsgRestartTransferResponse) Size() (n int)
func (*MsgRestartTransferResponse) String ¶
func (m *MsgRestartTransferResponse) String() string
func (*MsgRestartTransferResponse) Unmarshal ¶
func (m *MsgRestartTransferResponse) Unmarshal(dAtA []byte) error
func (*MsgRestartTransferResponse) XXX_DiscardUnknown ¶
func (m *MsgRestartTransferResponse) XXX_DiscardUnknown()
func (*MsgRestartTransferResponse) XXX_Marshal ¶
func (m *MsgRestartTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRestartTransferResponse) XXX_Merge ¶
func (m *MsgRestartTransferResponse) XXX_Merge(src proto.Message)
func (*MsgRestartTransferResponse) XXX_Size ¶
func (m *MsgRestartTransferResponse) XXX_Size() int
func (*MsgRestartTransferResponse) XXX_Unmarshal ¶
func (m *MsgRestartTransferResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface {
// Sink locks uakt and allocates a composite transfer ID.
Sink(context.Context, *MsgSink) (*MsgSinkResponse, error)
// UpdateParams updates governed parameters while preserving consumed capacity.
UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
// RequestVoid creates an immutable governance void order; it does not authorize a refund.
RequestVoid(context.Context, *MsgRequestVoid) (*MsgRequestVoidResponse, error)
// ReportOutcome records a report for the current policy and exact settlement round.
ReportOutcome(context.Context, *MsgReportOutcome) (*MsgReportOutcomeResponse, error)
// VetoVoid holds an unpaid refund authorization for governance.
VetoVoid(context.Context, *MsgVetoVoid) (*MsgVetoVoidResponse, error)
// RestartTransfer starts the next round of an unpaid transfer.
RestartTransfer(context.Context, *MsgRestartTransfer) (*MsgRestartTransferResponse, error)
// ConfirmMint records governance mint evidence in the next settlement round.
ConfirmMint(context.Context, *MsgConfirmMint) (*MsgConfirmMintResponse, error)
// ConfirmVoid records governance void evidence or resolves a paid transfer dispute.
ConfirmVoid(context.Context, *MsgConfirmVoid) (*MsgConfirmVoidResponse, error)
// FinalizeRefund pays the eligible queue head once to its original owner.
FinalizeRefund(context.Context, *MsgFinalizeRefund) (*MsgFinalizeRefundResponse, error)
// GuardianPause disables deposits, refunds or both.
GuardianPause(context.Context, *MsgGuardianPause) (*MsgGuardianPauseResponse, error)
}
MsgServer is the server API for Msg service.
type MsgSink ¶
type MsgSink struct {
DestType DestType `protobuf:"varint,1,opt,name=dest_type,json=destType,proto3,enum=akash.sink.v1.DestType" json:"dest_type,omitempty"`
Dest string `protobuf:"bytes,2,opt,name=dest,proto3" json:"dest,omitempty"`
Amount types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount" yaml:"amount"`
Sender string `protobuf:"bytes,4,opt,name=sender,proto3" json:"sender" yaml:"sender"`
}
MsgSink locks AKT for a Solana destination. It must be the sole top-level transaction message.
func (*MsgSink) Descriptor ¶
func (*MsgSink) GetDestType ¶
func (*MsgSink) MarshalToSizedBuffer ¶
func (*MsgSink) ProtoMessage ¶
func (*MsgSink) ProtoMessage()
func (*MsgSink) ValidateBasic ¶
func (*MsgSink) XXX_DiscardUnknown ¶
func (m *MsgSink) XXX_DiscardUnknown()
func (*MsgSink) XXX_Marshal ¶
func (*MsgSink) XXX_Unmarshal ¶
type MsgSinkResponse ¶
type MsgSinkResponse struct {
ID ID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"`
}
MsgSinkResponse returns the assigned composite transfer ID.
func (*MsgSinkResponse) Descriptor ¶
func (*MsgSinkResponse) Descriptor() ([]byte, []int)
func (*MsgSinkResponse) GetID ¶
func (m *MsgSinkResponse) GetID() ID
func (*MsgSinkResponse) Marshal ¶
func (m *MsgSinkResponse) Marshal() (dAtA []byte, err error)
func (*MsgSinkResponse) MarshalToSizedBuffer ¶
func (m *MsgSinkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSinkResponse) ProtoMessage ¶
func (*MsgSinkResponse) ProtoMessage()
func (*MsgSinkResponse) Reset ¶
func (m *MsgSinkResponse) Reset()
func (*MsgSinkResponse) Size ¶
func (m *MsgSinkResponse) Size() (n int)
func (*MsgSinkResponse) String ¶
func (m *MsgSinkResponse) String() string
func (*MsgSinkResponse) Unmarshal ¶
func (m *MsgSinkResponse) Unmarshal(dAtA []byte) error
func (*MsgSinkResponse) XXX_DiscardUnknown ¶
func (m *MsgSinkResponse) XXX_DiscardUnknown()
func (*MsgSinkResponse) XXX_Marshal ¶
func (m *MsgSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSinkResponse) XXX_Merge ¶
func (m *MsgSinkResponse) XXX_Merge(src proto.Message)
func (*MsgSinkResponse) XXX_Size ¶
func (m *MsgSinkResponse) XXX_Size() int
func (*MsgSinkResponse) XXX_Unmarshal ¶
func (m *MsgSinkResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateParams ¶
type MsgUpdateParams struct {
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority" yaml:"authority"`
Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params" yaml:"params"`
}
MsgUpdateParams replaces the governed Sink parameters.
func (*MsgUpdateParams) Descriptor ¶
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (m *MsgUpdateParams) GetParams() Params
func (*MsgUpdateParams) Marshal ¶
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Size ¶
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Unmarshal ¶
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) ValidateBasic ¶
func (m *MsgUpdateParams) ValidateBasic() error
func (*MsgUpdateParams) XXX_DiscardUnknown ¶
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct {
}
MsgUpdateParamsResponse acknowledges the transaction.
func (*MsgUpdateParamsResponse) Descriptor ¶
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type MsgVetoVoid ¶
type MsgVetoVoid struct {
Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer" yaml:"signer"`
ID ID `protobuf:"bytes,2,opt,name=id,proto3" json:"id" yaml:"id"`
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason" yaml:"reason"`
}
MsgVetoVoid holds a refund candidate for governance review.
func (*MsgVetoVoid) Descriptor ¶
func (*MsgVetoVoid) Descriptor() ([]byte, []int)
func (*MsgVetoVoid) GetID ¶
func (m *MsgVetoVoid) GetID() ID
func (*MsgVetoVoid) GetReason ¶
func (m *MsgVetoVoid) GetReason() string
func (*MsgVetoVoid) GetSigner ¶
func (m *MsgVetoVoid) GetSigner() string
func (*MsgVetoVoid) Marshal ¶
func (m *MsgVetoVoid) Marshal() (dAtA []byte, err error)
func (*MsgVetoVoid) MarshalToSizedBuffer ¶
func (m *MsgVetoVoid) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVetoVoid) ProtoMessage ¶
func (*MsgVetoVoid) ProtoMessage()
func (*MsgVetoVoid) Reset ¶
func (m *MsgVetoVoid) Reset()
func (*MsgVetoVoid) Size ¶
func (m *MsgVetoVoid) Size() (n int)
func (*MsgVetoVoid) String ¶
func (m *MsgVetoVoid) String() string
func (*MsgVetoVoid) Unmarshal ¶
func (m *MsgVetoVoid) Unmarshal(dAtA []byte) error
func (*MsgVetoVoid) ValidateBasic ¶
func (m *MsgVetoVoid) ValidateBasic() error
func (*MsgVetoVoid) XXX_DiscardUnknown ¶
func (m *MsgVetoVoid) XXX_DiscardUnknown()
func (*MsgVetoVoid) XXX_Marshal ¶
func (m *MsgVetoVoid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVetoVoid) XXX_Merge ¶
func (m *MsgVetoVoid) XXX_Merge(src proto.Message)
func (*MsgVetoVoid) XXX_Size ¶
func (m *MsgVetoVoid) XXX_Size() int
func (*MsgVetoVoid) XXX_Unmarshal ¶
func (m *MsgVetoVoid) XXX_Unmarshal(b []byte) error
type MsgVetoVoidResponse ¶
type MsgVetoVoidResponse struct {
}
MsgVetoVoidResponse acknowledges the transaction.
func (*MsgVetoVoidResponse) Descriptor ¶
func (*MsgVetoVoidResponse) Descriptor() ([]byte, []int)
func (*MsgVetoVoidResponse) Marshal ¶
func (m *MsgVetoVoidResponse) Marshal() (dAtA []byte, err error)
func (*MsgVetoVoidResponse) MarshalTo ¶
func (m *MsgVetoVoidResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgVetoVoidResponse) MarshalToSizedBuffer ¶
func (m *MsgVetoVoidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVetoVoidResponse) ProtoMessage ¶
func (*MsgVetoVoidResponse) ProtoMessage()
func (*MsgVetoVoidResponse) Reset ¶
func (m *MsgVetoVoidResponse) Reset()
func (*MsgVetoVoidResponse) Size ¶
func (m *MsgVetoVoidResponse) Size() (n int)
func (*MsgVetoVoidResponse) String ¶
func (m *MsgVetoVoidResponse) String() string
func (*MsgVetoVoidResponse) Unmarshal ¶
func (m *MsgVetoVoidResponse) Unmarshal(dAtA []byte) error
func (*MsgVetoVoidResponse) XXX_DiscardUnknown ¶
func (m *MsgVetoVoidResponse) XXX_DiscardUnknown()
func (*MsgVetoVoidResponse) XXX_Marshal ¶
func (m *MsgVetoVoidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVetoVoidResponse) XXX_Merge ¶
func (m *MsgVetoVoidResponse) XXX_Merge(src proto.Message)
func (*MsgVetoVoidResponse) XXX_Size ¶
func (m *MsgVetoVoidResponse) XXX_Size() int
func (*MsgVetoVoidResponse) XXX_Unmarshal ¶
func (m *MsgVetoVoidResponse) XXX_Unmarshal(b []byte) error
type Observation ¶
type Observation struct {
Outcome Outcome `protobuf:"varint,1,opt,name=outcome,proto3,enum=akash.sink.v1.Outcome" json:"outcome" yaml:"outcome"`
Slot uint64 `protobuf:"varint,2,opt,name=slot,proto3" json:"slot" yaml:"slot"`
TransactionSignature []byte `` /* 140-byte string literal not displayed */
}
Observation binds one outcome to its Solana evidence.
func (*Observation) Descriptor ¶
func (*Observation) Descriptor() ([]byte, []int)
func (*Observation) GetOutcome ¶
func (m *Observation) GetOutcome() Outcome
func (*Observation) GetSlot ¶
func (m *Observation) GetSlot() uint64
func (*Observation) GetTransactionSignature ¶
func (m *Observation) GetTransactionSignature() []byte
func (*Observation) Marshal ¶
func (m *Observation) Marshal() (dAtA []byte, err error)
func (*Observation) MarshalToSizedBuffer ¶
func (m *Observation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Observation) ProtoMessage ¶
func (*Observation) ProtoMessage()
func (*Observation) Reset ¶
func (m *Observation) Reset()
func (*Observation) Size ¶
func (m *Observation) Size() (n int)
func (*Observation) String ¶
func (m *Observation) String() string
func (*Observation) Unmarshal ¶
func (m *Observation) Unmarshal(dAtA []byte) error
func (*Observation) Validate ¶
func (o *Observation) Validate() error
func (*Observation) XXX_DiscardUnknown ¶
func (m *Observation) XXX_DiscardUnknown()
func (*Observation) XXX_Marshal ¶
func (m *Observation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Observation) XXX_Merge ¶
func (m *Observation) XXX_Merge(src proto.Message)
func (*Observation) XXX_Size ¶
func (m *Observation) XXX_Size() int
func (*Observation) XXX_Unmarshal ¶
func (m *Observation) XXX_Unmarshal(b []byte) error
type Outcome ¶
type Outcome int32
Outcome is the finalized Solana result asserted by an observer.
func (Outcome) EnumDescriptor ¶
type Params ¶
type Params struct {
// Enabled permits deposits. Refunds are controlled independently.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty" yaml:"enabled"`
MinAmountPerTransfer types.Coin `` /* 146-byte string literal not displayed */
MaxAmountPerTransfer types.Coin `` /* 146-byte string literal not displayed */
MaxTransferAmountPerEpoch types.Coin `` /* 169-byte string literal not displayed */
// zero means no limit
MaxEpochAmountPerAccount types.Coin `` /* 165-byte string literal not displayed */
MaxEpochRefund types.Coin `protobuf:"bytes,6,opt,name=max_epoch_refund,json=maxEpochRefund,proto3" json:"max_epoch_refund" yaml:"max_epoch_refund"`
// list governance approved akash addresses that monitor and report state of the
// mint/void from solana to akash
Reporters []string `protobuf:"bytes,7,rep,name=reporters,proto3" json:"reporters,omitempty" yaml:"reporters"`
// Ratio between zero and one. Quorum is ceil(r*n) and must exceed two thirds of the members.
ReportersThreshold cosmossdk_io_math.LegacyDec `` /* 171-byte string literal not displayed */
// At most 9223372035.999999999 seconds, the pinned native Amino signing limit.
ReporterChallengePeriod time.Duration `` /* 167-byte string literal not displayed */
// Canonical base58 vault addresses exempt only from the recipient curve check.
AllowedDestinationVaults []string `` /* 170-byte string literal not displayed */
RefundsEnabled bool `` /* 128-byte string literal not displayed */
// Bech32 account that may only disable deposits and refunds. Empty means none.
PauseGuardian string `protobuf:"bytes,12,opt,name=pause_guardian,json=pauseGuardian,proto3" json:"pause_guardian,omitempty" yaml:"pause_guardian"`
}
Params configures uakt transfer limits, reporter settlement and refunds. Send and refund quotas use the current number of the native "day" epoch.
func DefaultParams ¶
func DefaultParams() Params
DefaultParams is a development policy; deposits and refunds start disabled.
func (*Params) Descriptor ¶
func (*Params) GetAllowedDestinationVaults ¶
func (*Params) GetEnabled ¶
func (*Params) GetMaxAmountPerTransfer ¶
func (*Params) GetMaxEpochAmountPerAccount ¶
func (*Params) GetMaxEpochRefund ¶
func (*Params) GetMaxTransferAmountPerEpoch ¶
func (*Params) GetMinAmountPerTransfer ¶
func (*Params) GetPauseGuardian ¶
func (*Params) GetRefundsEnabled ¶
func (*Params) GetReporterChallengePeriod ¶
func (*Params) GetReporters ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ValidateBasic ¶
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryAccountRequest ¶
type QueryAccountRequest struct {
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner" yaml:"owner"`
}
QueryAccountRequest selects usage for one Akash owner.
func (*QueryAccountRequest) Descriptor ¶
func (*QueryAccountRequest) Descriptor() ([]byte, []int)
func (*QueryAccountRequest) GetOwner ¶
func (m *QueryAccountRequest) GetOwner() string
func (*QueryAccountRequest) Marshal ¶
func (m *QueryAccountRequest) Marshal() (dAtA []byte, err error)
func (*QueryAccountRequest) MarshalTo ¶
func (m *QueryAccountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAccountRequest) MarshalToSizedBuffer ¶
func (m *QueryAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAccountRequest) ProtoMessage ¶
func (*QueryAccountRequest) ProtoMessage()
func (*QueryAccountRequest) Reset ¶
func (m *QueryAccountRequest) Reset()
func (*QueryAccountRequest) Size ¶
func (m *QueryAccountRequest) Size() (n int)
func (*QueryAccountRequest) String ¶
func (m *QueryAccountRequest) String() string
func (*QueryAccountRequest) Unmarshal ¶
func (m *QueryAccountRequest) Unmarshal(dAtA []byte) error
func (*QueryAccountRequest) ValidateBasic ¶
func (q *QueryAccountRequest) ValidateBasic() error
func (*QueryAccountRequest) XXX_DiscardUnknown ¶
func (m *QueryAccountRequest) XXX_DiscardUnknown()
func (*QueryAccountRequest) XXX_Marshal ¶
func (m *QueryAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAccountRequest) XXX_Merge ¶
func (m *QueryAccountRequest) XXX_Merge(src proto.Message)
func (*QueryAccountRequest) XXX_Size ¶
func (m *QueryAccountRequest) XXX_Size() int
func (*QueryAccountRequest) XXX_Unmarshal ¶
func (m *QueryAccountRequest) XXX_Unmarshal(b []byte) error
type QueryAccountResponse ¶
type QueryAccountResponse struct {
Usage AccountUsage `protobuf:"bytes,1,opt,name=usage,proto3" json:"usage" yaml:"usage"`
// Native "day" CurrentEpoch at the queried height; zero before counting starts.
Epoch uint64 `protobuf:"varint,2,opt,name=epoch,proto3" json:"epoch" yaml:"epoch"`
}
QueryAccountResponse returns account usage normalized to the queried sending epoch.
func (*QueryAccountResponse) Descriptor ¶
func (*QueryAccountResponse) Descriptor() ([]byte, []int)
func (*QueryAccountResponse) GetEpoch ¶
func (m *QueryAccountResponse) GetEpoch() uint64
func (*QueryAccountResponse) GetUsage ¶
func (m *QueryAccountResponse) GetUsage() AccountUsage
func (*QueryAccountResponse) Marshal ¶
func (m *QueryAccountResponse) Marshal() (dAtA []byte, err error)
func (*QueryAccountResponse) MarshalTo ¶
func (m *QueryAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAccountResponse) MarshalToSizedBuffer ¶
func (m *QueryAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAccountResponse) ProtoMessage ¶
func (*QueryAccountResponse) ProtoMessage()
func (*QueryAccountResponse) Reset ¶
func (m *QueryAccountResponse) Reset()
func (*QueryAccountResponse) Size ¶
func (m *QueryAccountResponse) Size() (n int)
func (*QueryAccountResponse) String ¶
func (m *QueryAccountResponse) String() string
func (*QueryAccountResponse) Unmarshal ¶
func (m *QueryAccountResponse) Unmarshal(dAtA []byte) error
func (*QueryAccountResponse) XXX_DiscardUnknown ¶
func (m *QueryAccountResponse) XXX_DiscardUnknown()
func (*QueryAccountResponse) XXX_Marshal ¶
func (m *QueryAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAccountResponse) XXX_Merge ¶
func (m *QueryAccountResponse) XXX_Merge(src proto.Message)
func (*QueryAccountResponse) XXX_Size ¶
func (m *QueryAccountResponse) XXX_Size() int
func (*QueryAccountResponse) XXX_Unmarshal ¶
func (m *QueryAccountResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface {
// Transfer returns immutable data and retained settlement evidence for one ID.
Transfer(ctx context.Context, in *QueryTransferRequest, opts ...grpc.CallOption) (*QueryTransferResponse, error)
// Transfers lists one owner's transfers, one status bucket, or the global
// chronological history. Pagination keys are opaque server cursors: pass
// next_key back unchanged. A resumed page keeps the cursor's owner and status
// and ignores the request's, while reverse is read from every request. Offset
// requires a status filter, a zero limit selects the default page size, and
// total is the number of transfers in the returned page.
Transfers(ctx context.Context, in *QueryTransfersRequest, opts ...grpc.CallOption) (*QueryTransfersResponse, error)
// Disputes lists all held transfers, including terminal conflicts, with
// standard key pagination.
Disputes(ctx context.Context, in *QueryDisputesRequest, opts ...grpc.CallOption) (*QueryDisputesResponse, error)
// Account returns usage normalized to the current sending epoch without a write.
Account(ctx context.Context, in *QueryAccountRequest, opts ...grpc.CallOption) (*QueryAccountResponse, error)
// State returns financial totals, the native "day" epoch with send and refund
// usage, and the refund queue head. Params and Reporters return the
// parameters and reporter policies.
State(ctx context.Context, in *QueryStateRequest, opts ...grpc.CallOption) (*QueryStateResponse, error)
// Params returns the module parameters.
Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
// Reporters returns reporter policies selected by version.
Reporters(ctx context.Context, in *QueryReportersRequest, opts ...grpc.CallOption) (*QueryReportersResponse, error)
}
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryDisputesRequest ¶
type QueryDisputesRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination" yaml:"pagination"`
}
QueryDisputesRequest selects a page of held transfers across all financial statuses.
func (*QueryDisputesRequest) Descriptor ¶
func (*QueryDisputesRequest) Descriptor() ([]byte, []int)
func (*QueryDisputesRequest) GetPagination ¶
func (m *QueryDisputesRequest) GetPagination() *query.PageRequest
func (*QueryDisputesRequest) Marshal ¶
func (m *QueryDisputesRequest) Marshal() (dAtA []byte, err error)
func (*QueryDisputesRequest) MarshalTo ¶
func (m *QueryDisputesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDisputesRequest) MarshalToSizedBuffer ¶
func (m *QueryDisputesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDisputesRequest) ProtoMessage ¶
func (*QueryDisputesRequest) ProtoMessage()
func (*QueryDisputesRequest) Reset ¶
func (m *QueryDisputesRequest) Reset()
func (*QueryDisputesRequest) Size ¶
func (m *QueryDisputesRequest) Size() (n int)
func (*QueryDisputesRequest) String ¶
func (m *QueryDisputesRequest) String() string
func (*QueryDisputesRequest) Unmarshal ¶
func (m *QueryDisputesRequest) Unmarshal(dAtA []byte) error
func (*QueryDisputesRequest) ValidateBasic ¶
func (q *QueryDisputesRequest) ValidateBasic() error
func (*QueryDisputesRequest) XXX_DiscardUnknown ¶
func (m *QueryDisputesRequest) XXX_DiscardUnknown()
func (*QueryDisputesRequest) XXX_Marshal ¶
func (m *QueryDisputesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDisputesRequest) XXX_Merge ¶
func (m *QueryDisputesRequest) XXX_Merge(src proto.Message)
func (*QueryDisputesRequest) XXX_Size ¶
func (m *QueryDisputesRequest) XXX_Size() int
func (*QueryDisputesRequest) XXX_Unmarshal ¶
func (m *QueryDisputesRequest) XXX_Unmarshal(b []byte) error
type QueryDisputesResponse ¶
type QueryDisputesResponse struct {
Transfers []TransferState `protobuf:"bytes,1,rep,name=transfers,proto3" json:"transfers" yaml:"transfers"`
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination" yaml:"pagination"`
}
QueryDisputesResponse returns held transfers and the next dispute cursor.
func (*QueryDisputesResponse) Descriptor ¶
func (*QueryDisputesResponse) Descriptor() ([]byte, []int)
func (*QueryDisputesResponse) GetPagination ¶
func (m *QueryDisputesResponse) GetPagination() *query.PageResponse
func (*QueryDisputesResponse) GetTransfers ¶
func (m *QueryDisputesResponse) GetTransfers() []TransferState
func (*QueryDisputesResponse) Marshal ¶
func (m *QueryDisputesResponse) Marshal() (dAtA []byte, err error)
func (*QueryDisputesResponse) MarshalTo ¶
func (m *QueryDisputesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDisputesResponse) MarshalToSizedBuffer ¶
func (m *QueryDisputesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDisputesResponse) ProtoMessage ¶
func (*QueryDisputesResponse) ProtoMessage()
func (*QueryDisputesResponse) Reset ¶
func (m *QueryDisputesResponse) Reset()
func (*QueryDisputesResponse) Size ¶
func (m *QueryDisputesResponse) Size() (n int)
func (*QueryDisputesResponse) String ¶
func (m *QueryDisputesResponse) String() string
func (*QueryDisputesResponse) Unmarshal ¶
func (m *QueryDisputesResponse) Unmarshal(dAtA []byte) error
func (*QueryDisputesResponse) XXX_DiscardUnknown ¶
func (m *QueryDisputesResponse) XXX_DiscardUnknown()
func (*QueryDisputesResponse) XXX_Marshal ¶
func (m *QueryDisputesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDisputesResponse) XXX_Merge ¶
func (m *QueryDisputesResponse) XXX_Merge(src proto.Message)
func (*QueryDisputesResponse) XXX_Size ¶
func (m *QueryDisputesResponse) XXX_Size() int
func (*QueryDisputesResponse) XXX_Unmarshal ¶
func (m *QueryDisputesResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct {
}
QueryParamsRequest is the request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct {
// params defines the parameters of the module.
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
QueryParamsResponse is the response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryReportersRequest ¶
type QueryReportersRequest struct {
// 0 selects the current policy, which is absent before the first policy is
// set. The maximum uint64 selects every retained policy. Any other value
// selects that version, or fails with NotFound.
Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version" yaml:"version"`
}
QueryReportersRequest selects reporter policies by version.
func (*QueryReportersRequest) Descriptor ¶
func (*QueryReportersRequest) Descriptor() ([]byte, []int)
func (*QueryReportersRequest) GetVersion ¶
func (m *QueryReportersRequest) GetVersion() uint64
func (*QueryReportersRequest) Marshal ¶
func (m *QueryReportersRequest) Marshal() (dAtA []byte, err error)
func (*QueryReportersRequest) MarshalTo ¶
func (m *QueryReportersRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryReportersRequest) MarshalToSizedBuffer ¶
func (m *QueryReportersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryReportersRequest) ProtoMessage ¶
func (*QueryReportersRequest) ProtoMessage()
func (*QueryReportersRequest) Reset ¶
func (m *QueryReportersRequest) Reset()
func (*QueryReportersRequest) Size ¶
func (m *QueryReportersRequest) Size() (n int)
func (*QueryReportersRequest) String ¶
func (m *QueryReportersRequest) String() string
func (*QueryReportersRequest) Unmarshal ¶
func (m *QueryReportersRequest) Unmarshal(dAtA []byte) error
func (*QueryReportersRequest) XXX_DiscardUnknown ¶
func (m *QueryReportersRequest) XXX_DiscardUnknown()
func (*QueryReportersRequest) XXX_Marshal ¶
func (m *QueryReportersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryReportersRequest) XXX_Merge ¶
func (m *QueryReportersRequest) XXX_Merge(src proto.Message)
func (*QueryReportersRequest) XXX_Size ¶
func (m *QueryReportersRequest) XXX_Size() int
func (*QueryReportersRequest) XXX_Unmarshal ¶
func (m *QueryReportersRequest) XXX_Unmarshal(b []byte) error
type QueryReportersResponse ¶
type QueryReportersResponse struct {
// reporters holds the selected policies; it is empty when no policy exists
// yet and version 0 or the maximum uint64 is requested.
Reporters []ReporterPolicy `protobuf:"bytes,1,rep,name=reporters,proto3" json:"reporters" yaml:"reporters"`
}
QueryReportersResponse returns the selected reporter policies.
func (*QueryReportersResponse) Descriptor ¶
func (*QueryReportersResponse) Descriptor() ([]byte, []int)
func (*QueryReportersResponse) GetReporters ¶
func (m *QueryReportersResponse) GetReporters() []ReporterPolicy
func (*QueryReportersResponse) Marshal ¶
func (m *QueryReportersResponse) Marshal() (dAtA []byte, err error)
func (*QueryReportersResponse) MarshalTo ¶
func (m *QueryReportersResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryReportersResponse) MarshalToSizedBuffer ¶
func (m *QueryReportersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryReportersResponse) ProtoMessage ¶
func (*QueryReportersResponse) ProtoMessage()
func (*QueryReportersResponse) Reset ¶
func (m *QueryReportersResponse) Reset()
func (*QueryReportersResponse) Size ¶
func (m *QueryReportersResponse) Size() (n int)
func (*QueryReportersResponse) String ¶
func (m *QueryReportersResponse) String() string
func (*QueryReportersResponse) Unmarshal ¶
func (m *QueryReportersResponse) Unmarshal(dAtA []byte) error
func (*QueryReportersResponse) XXX_DiscardUnknown ¶
func (m *QueryReportersResponse) XXX_DiscardUnknown()
func (*QueryReportersResponse) XXX_Marshal ¶
func (m *QueryReportersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryReportersResponse) XXX_Merge ¶
func (m *QueryReportersResponse) XXX_Merge(src proto.Message)
func (*QueryReportersResponse) XXX_Size ¶
func (m *QueryReportersResponse) XXX_Size() int
func (*QueryReportersResponse) XXX_Unmarshal ¶
func (m *QueryReportersResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface {
// Transfer returns immutable data and retained settlement evidence for one ID.
Transfer(context.Context, *QueryTransferRequest) (*QueryTransferResponse, error)
// Transfers lists one owner's transfers, one status bucket, or the global
// chronological history. Pagination keys are opaque server cursors: pass
// next_key back unchanged. A resumed page keeps the cursor's owner and status
// and ignores the request's, while reverse is read from every request. Offset
// requires a status filter, a zero limit selects the default page size, and
// total is the number of transfers in the returned page.
Transfers(context.Context, *QueryTransfersRequest) (*QueryTransfersResponse, error)
// Disputes lists all held transfers, including terminal conflicts, with
// standard key pagination.
Disputes(context.Context, *QueryDisputesRequest) (*QueryDisputesResponse, error)
// Account returns usage normalized to the current sending epoch without a write.
Account(context.Context, *QueryAccountRequest) (*QueryAccountResponse, error)
// State returns financial totals, the native "day" epoch with send and refund
// usage, and the refund queue head. Params and Reporters return the
// parameters and reporter policies.
State(context.Context, *QueryStateRequest) (*QueryStateResponse, error)
// Params returns the module parameters.
Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
// Reporters returns reporter policies selected by version.
Reporters(context.Context, *QueryReportersRequest) (*QueryReportersResponse, error)
}
QueryServer is the server API for Query service.
type QueryStateRequest ¶
type QueryStateRequest struct {
}
QueryStateRequest requests the current Sink accounting.
func (*QueryStateRequest) Descriptor ¶
func (*QueryStateRequest) Descriptor() ([]byte, []int)
func (*QueryStateRequest) Marshal ¶
func (m *QueryStateRequest) Marshal() (dAtA []byte, err error)
func (*QueryStateRequest) MarshalTo ¶
func (m *QueryStateRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryStateRequest) MarshalToSizedBuffer ¶
func (m *QueryStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStateRequest) ProtoMessage ¶
func (*QueryStateRequest) ProtoMessage()
func (*QueryStateRequest) Reset ¶
func (m *QueryStateRequest) Reset()
func (*QueryStateRequest) Size ¶
func (m *QueryStateRequest) Size() (n int)
func (*QueryStateRequest) String ¶
func (m *QueryStateRequest) String() string
func (*QueryStateRequest) Unmarshal ¶
func (m *QueryStateRequest) Unmarshal(dAtA []byte) error
func (*QueryStateRequest) XXX_DiscardUnknown ¶
func (m *QueryStateRequest) XXX_DiscardUnknown()
func (*QueryStateRequest) XXX_Marshal ¶
func (m *QueryStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStateRequest) XXX_Merge ¶
func (m *QueryStateRequest) XXX_Merge(src proto.Message)
func (*QueryStateRequest) XXX_Size ¶
func (m *QueryStateRequest) XXX_Size() int
func (*QueryStateRequest) XXX_Unmarshal ¶
func (m *QueryStateRequest) XXX_Unmarshal(b []byte) error
type QueryStateResponse ¶
type QueryStateResponse struct {
Totals Totals `protobuf:"bytes,1,opt,name=totals,proto3" json:"totals" yaml:"totals"`
// Native "day" CurrentEpoch at the queried height; zero before counting starts.
Epoch uint64 `protobuf:"varint,2,opt,name=epoch,proto3" json:"epoch" yaml:"epoch"`
SendUsage EpochUsage `protobuf:"bytes,3,opt,name=send_usage,json=sendUsage,proto3" json:"send_usage" yaml:"send_usage"`
RefundUsage EpochUsage `protobuf:"bytes,4,opt,name=refund_usage,json=refundUsage,proto3" json:"refund_usage" yaml:"refund_usage"`
// Oldest unheld candidate under governance or the current reporter policy.
// Payment still requires maturity, refund capacity, and enabled refunds.
RefundHead *ID `protobuf:"bytes,5,opt,name=refund_head,json=refundHead,proto3" json:"refund_head" yaml:"refund_head"`
}
QueryStateResponse returns totals, epoch usage and the refund candidate head.
func (*QueryStateResponse) Descriptor ¶
func (*QueryStateResponse) Descriptor() ([]byte, []int)
func (*QueryStateResponse) GetEpoch ¶
func (m *QueryStateResponse) GetEpoch() uint64
func (*QueryStateResponse) GetRefundHead ¶
func (m *QueryStateResponse) GetRefundHead() *ID
func (*QueryStateResponse) GetRefundUsage ¶
func (m *QueryStateResponse) GetRefundUsage() EpochUsage
func (*QueryStateResponse) GetSendUsage ¶
func (m *QueryStateResponse) GetSendUsage() EpochUsage
func (*QueryStateResponse) GetTotals ¶
func (m *QueryStateResponse) GetTotals() Totals
func (*QueryStateResponse) Marshal ¶
func (m *QueryStateResponse) Marshal() (dAtA []byte, err error)
func (*QueryStateResponse) MarshalTo ¶
func (m *QueryStateResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryStateResponse) MarshalToSizedBuffer ¶
func (m *QueryStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStateResponse) ProtoMessage ¶
func (*QueryStateResponse) ProtoMessage()
func (*QueryStateResponse) Reset ¶
func (m *QueryStateResponse) Reset()
func (*QueryStateResponse) Size ¶
func (m *QueryStateResponse) Size() (n int)
func (*QueryStateResponse) String ¶
func (m *QueryStateResponse) String() string
func (*QueryStateResponse) Unmarshal ¶
func (m *QueryStateResponse) Unmarshal(dAtA []byte) error
func (*QueryStateResponse) XXX_DiscardUnknown ¶
func (m *QueryStateResponse) XXX_DiscardUnknown()
func (*QueryStateResponse) XXX_Marshal ¶
func (m *QueryStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStateResponse) XXX_Merge ¶
func (m *QueryStateResponse) XXX_Merge(src proto.Message)
func (*QueryStateResponse) XXX_Size ¶
func (m *QueryStateResponse) XXX_Size() int
func (*QueryStateResponse) XXX_Unmarshal ¶
func (m *QueryStateResponse) XXX_Unmarshal(b []byte) error
type QueryTransferRequest ¶
type QueryTransferRequest struct {
ID ID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"`
}
QueryTransferRequest selects one transfer by its composite ID.
func (*QueryTransferRequest) Descriptor ¶
func (*QueryTransferRequest) Descriptor() ([]byte, []int)
func (*QueryTransferRequest) GetID ¶
func (m *QueryTransferRequest) GetID() ID
func (*QueryTransferRequest) Marshal ¶
func (m *QueryTransferRequest) Marshal() (dAtA []byte, err error)
func (*QueryTransferRequest) MarshalTo ¶
func (m *QueryTransferRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTransferRequest) MarshalToSizedBuffer ¶
func (m *QueryTransferRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTransferRequest) ProtoMessage ¶
func (*QueryTransferRequest) ProtoMessage()
func (*QueryTransferRequest) Reset ¶
func (m *QueryTransferRequest) Reset()
func (*QueryTransferRequest) Size ¶
func (m *QueryTransferRequest) Size() (n int)
func (*QueryTransferRequest) String ¶
func (m *QueryTransferRequest) String() string
func (*QueryTransferRequest) Unmarshal ¶
func (m *QueryTransferRequest) Unmarshal(dAtA []byte) error
func (*QueryTransferRequest) ValidateBasic ¶
func (q *QueryTransferRequest) ValidateBasic() error
func (*QueryTransferRequest) XXX_DiscardUnknown ¶
func (m *QueryTransferRequest) XXX_DiscardUnknown()
func (*QueryTransferRequest) XXX_Marshal ¶
func (m *QueryTransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTransferRequest) XXX_Merge ¶
func (m *QueryTransferRequest) XXX_Merge(src proto.Message)
func (*QueryTransferRequest) XXX_Size ¶
func (m *QueryTransferRequest) XXX_Size() int
func (*QueryTransferRequest) XXX_Unmarshal ¶
func (m *QueryTransferRequest) XXX_Unmarshal(b []byte) error
type QueryTransferResponse ¶
type QueryTransferResponse struct {
Transfer TransferState `protobuf:"bytes,1,opt,name=transfer,proto3" json:"transfer" yaml:"transfer"`
}
QueryTransferResponse returns the complete transfer and settlement state.
func (*QueryTransferResponse) Descriptor ¶
func (*QueryTransferResponse) Descriptor() ([]byte, []int)
func (*QueryTransferResponse) GetTransfer ¶
func (m *QueryTransferResponse) GetTransfer() TransferState
func (*QueryTransferResponse) Marshal ¶
func (m *QueryTransferResponse) Marshal() (dAtA []byte, err error)
func (*QueryTransferResponse) MarshalTo ¶
func (m *QueryTransferResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTransferResponse) MarshalToSizedBuffer ¶
func (m *QueryTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTransferResponse) ProtoMessage ¶
func (*QueryTransferResponse) ProtoMessage()
func (*QueryTransferResponse) Reset ¶
func (m *QueryTransferResponse) Reset()
func (*QueryTransferResponse) Size ¶
func (m *QueryTransferResponse) Size() (n int)
func (*QueryTransferResponse) String ¶
func (m *QueryTransferResponse) String() string
func (*QueryTransferResponse) Unmarshal ¶
func (m *QueryTransferResponse) Unmarshal(dAtA []byte) error
func (*QueryTransferResponse) XXX_DiscardUnknown ¶
func (m *QueryTransferResponse) XXX_DiscardUnknown()
func (*QueryTransferResponse) XXX_Marshal ¶
func (m *QueryTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTransferResponse) XXX_Merge ¶
func (m *QueryTransferResponse) XXX_Merge(src proto.Message)
func (*QueryTransferResponse) XXX_Size ¶
func (m *QueryTransferResponse) XXX_Size() int
func (*QueryTransferResponse) XXX_Unmarshal ¶
func (m *QueryTransferResponse) XXX_Unmarshal(b []byte) error
type QueryTransfersRequest ¶
type QueryTransfersRequest struct {
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner" yaml:"owner"`
Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=akash.sink.v1.Status" json:"status" yaml:"status"`
Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination" yaml:"pagination"`
}
QueryTransfersRequest selects a page of transfers by owner and financial status.
func (*QueryTransfersRequest) Descriptor ¶
func (*QueryTransfersRequest) Descriptor() ([]byte, []int)
func (*QueryTransfersRequest) GetOwner ¶
func (m *QueryTransfersRequest) GetOwner() string
func (*QueryTransfersRequest) GetPagination ¶
func (m *QueryTransfersRequest) GetPagination() *query.PageRequest
func (*QueryTransfersRequest) GetStatus ¶
func (m *QueryTransfersRequest) GetStatus() Status
func (*QueryTransfersRequest) Marshal ¶
func (m *QueryTransfersRequest) Marshal() (dAtA []byte, err error)
func (*QueryTransfersRequest) MarshalTo ¶
func (m *QueryTransfersRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTransfersRequest) MarshalToSizedBuffer ¶
func (m *QueryTransfersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTransfersRequest) ProtoMessage ¶
func (*QueryTransfersRequest) ProtoMessage()
func (*QueryTransfersRequest) Reset ¶
func (m *QueryTransfersRequest) Reset()
func (*QueryTransfersRequest) Size ¶
func (m *QueryTransfersRequest) Size() (n int)
func (*QueryTransfersRequest) String ¶
func (m *QueryTransfersRequest) String() string
func (*QueryTransfersRequest) Unmarshal ¶
func (m *QueryTransfersRequest) Unmarshal(dAtA []byte) error
func (*QueryTransfersRequest) ValidateBasic ¶
func (q *QueryTransfersRequest) ValidateBasic() error
func (*QueryTransfersRequest) XXX_DiscardUnknown ¶
func (m *QueryTransfersRequest) XXX_DiscardUnknown()
func (*QueryTransfersRequest) XXX_Marshal ¶
func (m *QueryTransfersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTransfersRequest) XXX_Merge ¶
func (m *QueryTransfersRequest) XXX_Merge(src proto.Message)
func (*QueryTransfersRequest) XXX_Size ¶
func (m *QueryTransfersRequest) XXX_Size() int
func (*QueryTransfersRequest) XXX_Unmarshal ¶
func (m *QueryTransfersRequest) XXX_Unmarshal(b []byte) error
type QueryTransfersResponse ¶
type QueryTransfersResponse struct {
Transfers []TransferState `protobuf:"bytes,1,rep,name=transfers,proto3" json:"transfers" yaml:"transfers"`
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination" yaml:"pagination"`
}
QueryTransfersResponse returns transfers and the next index cursor.
func (*QueryTransfersResponse) Descriptor ¶
func (*QueryTransfersResponse) Descriptor() ([]byte, []int)
func (*QueryTransfersResponse) GetPagination ¶
func (m *QueryTransfersResponse) GetPagination() *query.PageResponse
func (*QueryTransfersResponse) GetTransfers ¶
func (m *QueryTransfersResponse) GetTransfers() []TransferState
func (*QueryTransfersResponse) Marshal ¶
func (m *QueryTransfersResponse) Marshal() (dAtA []byte, err error)
func (*QueryTransfersResponse) MarshalTo ¶
func (m *QueryTransfersResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTransfersResponse) MarshalToSizedBuffer ¶
func (m *QueryTransfersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTransfersResponse) ProtoMessage ¶
func (*QueryTransfersResponse) ProtoMessage()
func (*QueryTransfersResponse) Reset ¶
func (m *QueryTransfersResponse) Reset()
func (*QueryTransfersResponse) Size ¶
func (m *QueryTransfersResponse) Size() (n int)
func (*QueryTransfersResponse) String ¶
func (m *QueryTransfersResponse) String() string
func (*QueryTransfersResponse) Unmarshal ¶
func (m *QueryTransfersResponse) Unmarshal(dAtA []byte) error
func (*QueryTransfersResponse) XXX_DiscardUnknown ¶
func (m *QueryTransfersResponse) XXX_DiscardUnknown()
func (*QueryTransfersResponse) XXX_Marshal ¶
func (m *QueryTransfersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTransfersResponse) XXX_Merge ¶
func (m *QueryTransfersResponse) XXX_Merge(src proto.Message)
func (*QueryTransfersResponse) XXX_Size ¶
func (m *QueryTransfersResponse) XXX_Size() int
func (*QueryTransfersResponse) XXX_Unmarshal ¶
func (m *QueryTransfersResponse) XXX_Unmarshal(b []byte) error
type RecordData ¶
type RecordData struct {
Dest string `protobuf:"bytes,1,opt,name=dest,proto3" json:"dest" yaml:"dest"`
Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount" yaml:"amount"`
}
RecordData is the immutable transfer payload proven on Solana.
func (*RecordData) Descriptor ¶
func (*RecordData) Descriptor() ([]byte, []int)
func (*RecordData) GetAmount ¶
func (m *RecordData) GetAmount() types.Coin
func (*RecordData) GetDest ¶
func (m *RecordData) GetDest() string
func (*RecordData) Marshal ¶
func (m *RecordData) Marshal() (dAtA []byte, err error)
func (*RecordData) MarshalToSizedBuffer ¶
func (m *RecordData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RecordData) ProtoMessage ¶
func (*RecordData) ProtoMessage()
func (*RecordData) Reset ¶
func (m *RecordData) Reset()
func (*RecordData) Size ¶
func (m *RecordData) Size() (n int)
func (*RecordData) String ¶
func (m *RecordData) String() string
func (*RecordData) Unmarshal ¶
func (m *RecordData) Unmarshal(dAtA []byte) error
func (RecordData) ValidateBasic ¶
func (r RecordData) ValidateBasic() error
func (*RecordData) XXX_DiscardUnknown ¶
func (m *RecordData) XXX_DiscardUnknown()
func (*RecordData) XXX_Marshal ¶
func (m *RecordData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RecordData) XXX_Merge ¶
func (m *RecordData) XXX_Merge(src proto.Message)
func (*RecordData) XXX_Size ¶
func (m *RecordData) XXX_Size() int
func (*RecordData) XXX_Unmarshal ¶
func (m *RecordData) XXX_Unmarshal(b []byte) error
type ReporterPolicy ¶
type ReporterPolicy struct {
Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version" yaml:"version"`
Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members" yaml:"members"`
Threshold cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=threshold,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"threshold" yaml:"threshold"`
}
ReporterPolicy is an immutable version of the reporter authorization rule.
func (*ReporterPolicy) Descriptor ¶
func (*ReporterPolicy) Descriptor() ([]byte, []int)
func (*ReporterPolicy) Equal ¶
func (p *ReporterPolicy) Equal(other ReporterPolicy) bool
slices expected to be sorted
func (*ReporterPolicy) GetMembers ¶
func (m *ReporterPolicy) GetMembers() []string
func (*ReporterPolicy) GetVersion ¶
func (m *ReporterPolicy) GetVersion() uint64
func (*ReporterPolicy) Marshal ¶
func (m *ReporterPolicy) Marshal() (dAtA []byte, err error)
func (*ReporterPolicy) MarshalToSizedBuffer ¶
func (m *ReporterPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReporterPolicy) ProtoMessage ¶
func (*ReporterPolicy) ProtoMessage()
func (*ReporterPolicy) Reset ¶
func (m *ReporterPolicy) Reset()
func (*ReporterPolicy) Size ¶
func (m *ReporterPolicy) Size() (n int)
func (*ReporterPolicy) String ¶
func (m *ReporterPolicy) String() string
func (*ReporterPolicy) Unmarshal ¶
func (m *ReporterPolicy) Unmarshal(dAtA []byte) error
func (*ReporterPolicy) Validate ¶
func (p *ReporterPolicy) Validate() error
func (*ReporterPolicy) XXX_DiscardUnknown ¶
func (m *ReporterPolicy) XXX_DiscardUnknown()
func (*ReporterPolicy) XXX_Marshal ¶
func (m *ReporterPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReporterPolicy) XXX_Merge ¶
func (m *ReporterPolicy) XXX_Merge(src proto.Message)
func (*ReporterPolicy) XXX_Size ¶
func (m *ReporterPolicy) XXX_Size() int
func (*ReporterPolicy) XXX_Unmarshal ¶
func (m *ReporterPolicy) XXX_Unmarshal(b []byte) error
type Resolution ¶
type Resolution interface {
sdk.Msg
sdk.HasValidateBasic
// contains filtered or unexported methods
}
type SettlementData ¶
type SettlementData struct {
Hold Hold `protobuf:"varint,1,opt,name=hold,proto3,enum=akash.sink.v1.Hold" json:"hold" yaml:"hold"`
Round uint64 `protobuf:"varint,2,opt,name=round,proto3" json:"round" yaml:"round"`
Policy ReporterPolicy `protobuf:"bytes,3,opt,name=policy,proto3" json:"policy" yaml:"policy"`
Votes []Vote `protobuf:"bytes,4,rep,name=votes,proto3" json:"votes" yaml:"votes"`
ChallengeEnd int64 `protobuf:"varint,5,opt,name=challenge_end,json=challengeEnd,proto3" json:"challenge_end" yaml:"challenge_end"`
GovernanceObservation *Observation `` /* 144-byte string literal not displayed */
VetoBy string `protobuf:"bytes,7,opt,name=veto_by,json=vetoBy,proto3" json:"veto_by" yaml:"veto_by"`
VetoReason string `protobuf:"bytes,8,opt,name=veto_reason,json=vetoReason,proto3" json:"veto_reason" yaml:"veto_reason"`
VoidAuthorization *VoidAuthorization `` /* 128-byte string literal not displayed */
// Zero identifies governance; positive versions authenticate reporter vetoes.
VetoPolicyVersion uint64 `` /* 133-byte string literal not displayed */
}
SettlementData retains authorization evidence; financial status exists only in its key.
func (*SettlementData) Descriptor ¶
func (*SettlementData) Descriptor() ([]byte, []int)
func (*SettlementData) GetChallengeEnd ¶
func (m *SettlementData) GetChallengeEnd() int64
func (*SettlementData) GetGovernanceObservation ¶
func (m *SettlementData) GetGovernanceObservation() *Observation
func (*SettlementData) GetHold ¶
func (m *SettlementData) GetHold() Hold
func (*SettlementData) GetPolicy ¶
func (m *SettlementData) GetPolicy() ReporterPolicy
func (*SettlementData) GetRound ¶
func (m *SettlementData) GetRound() uint64
func (*SettlementData) GetVetoBy ¶
func (m *SettlementData) GetVetoBy() string
func (*SettlementData) GetVetoPolicyVersion ¶
func (m *SettlementData) GetVetoPolicyVersion() uint64
func (*SettlementData) GetVetoReason ¶
func (m *SettlementData) GetVetoReason() string
func (*SettlementData) GetVoidAuthorization ¶
func (m *SettlementData) GetVoidAuthorization() *VoidAuthorization
func (*SettlementData) GetVotes ¶
func (m *SettlementData) GetVotes() []Vote
func (*SettlementData) HasVoidAuthorization ¶
func (s *SettlementData) HasVoidAuthorization() bool
func (*SettlementData) Marshal ¶
func (m *SettlementData) Marshal() (dAtA []byte, err error)
func (*SettlementData) MarshalToSizedBuffer ¶
func (m *SettlementData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SettlementData) Payable ¶
func (s *SettlementData) Payable(status Status, current uint64) bool
func (*SettlementData) ProtoMessage ¶
func (*SettlementData) ProtoMessage()
func (*SettlementData) Reset ¶
func (m *SettlementData) Reset()
func (*SettlementData) Size ¶
func (m *SettlementData) Size() (n int)
func (*SettlementData) String ¶
func (m *SettlementData) String() string
func (*SettlementData) Tallies ¶
func (s *SettlementData) Tallies() (minted, voided uint32)
Tallies counts only votes under the embedded authorization policy.
func (*SettlementData) Unmarshal ¶
func (m *SettlementData) Unmarshal(dAtA []byte) error
func (*SettlementData) Validate ¶
func (s *SettlementData) Validate(id ID, status Status, policies map[uint64]ReporterPolicy) error
Validate checks key identity and retained evidence. The keeper authenticates governance vetoes.
func (*SettlementData) XXX_DiscardUnknown ¶
func (m *SettlementData) XXX_DiscardUnknown()
func (*SettlementData) XXX_Marshal ¶
func (m *SettlementData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SettlementData) XXX_Merge ¶
func (m *SettlementData) XXX_Merge(src proto.Message)
func (*SettlementData) XXX_Size ¶
func (m *SettlementData) XXX_Size() int
func (*SettlementData) XXX_Unmarshal ¶
func (m *SettlementData) XXX_Unmarshal(b []byte) error
type SettlementID ¶
type SettlementID struct {
Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=akash.sink.v1.Status" json:"status" yaml:"status"`
Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner" yaml:"owner"`
Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height" yaml:"height"`
// sequence disambiguate multiple entries at the same height
Sequence uint64 `protobuf:"varint,4,opt,name=sequence,proto3" json:"sequence" yaml:"sequence"`
}
SettlementID keys the canonical settlement by financial status, then transfer ID.
func NewSettlementID ¶
func NewSettlementID(status Status, id ID) *SettlementID
func (*SettlementID) Descriptor ¶
func (*SettlementID) Descriptor() ([]byte, []int)
func (*SettlementID) GetHeight ¶
func (m *SettlementID) GetHeight() int64
func (*SettlementID) GetID ¶
func (key *SettlementID) GetID() *ID
func (*SettlementID) GetOwner ¶
func (m *SettlementID) GetOwner() string
func (*SettlementID) GetSequence ¶
func (m *SettlementID) GetSequence() uint64
func (*SettlementID) GetStatus ¶
func (m *SettlementID) GetStatus() Status
func (*SettlementID) Marshal ¶
func (m *SettlementID) Marshal() (dAtA []byte, err error)
func (*SettlementID) MarshalToSizedBuffer ¶
func (m *SettlementID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SettlementID) ProtoMessage ¶
func (*SettlementID) ProtoMessage()
func (*SettlementID) Reset ¶
func (m *SettlementID) Reset()
func (*SettlementID) Size ¶
func (m *SettlementID) Size() (n int)
func (*SettlementID) String ¶
func (m *SettlementID) String() string
func (*SettlementID) Unmarshal ¶
func (m *SettlementID) Unmarshal(dAtA []byte) error
func (*SettlementID) ValidateBasic ¶
func (key *SettlementID) ValidateBasic() error
func (*SettlementID) XXX_DiscardUnknown ¶
func (m *SettlementID) XXX_DiscardUnknown()
func (*SettlementID) XXX_Marshal ¶
func (m *SettlementID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SettlementID) XXX_Merge ¶
func (m *SettlementID) XXX_Merge(src proto.Message)
func (*SettlementID) XXX_Size ¶
func (m *SettlementID) XXX_Size() int
func (*SettlementID) XXX_Unmarshal ¶
func (m *SettlementID) XXX_Unmarshal(b []byte) error
type SolanaAddress ¶
type SolanaAddress [SolanaAddressSize]byte
func ParseDestination ¶
func ParseDestination(address string, vaults []SolanaAddress) (SolanaAddress, error)
ParseDestination accepts the canonical base58 public key carried by MsgSink. Unfunded wallets are valid; account ownership is checked on Solana at minting.
func ParseSolanaAddress ¶
func ParseSolanaAddress(address string) (SolanaAddress, error)
ParseSolanaAddress performs the stateless format checks: canonical base58 of 32 nonzero bytes. The curve check depends on the governed vault allowlist.
func (SolanaAddress) String ¶
func (a SolanaAddress) String() string
type SolanaEvidence ¶
type SolanaEvidence struct {
Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot" yaml:"slot"`
TransactionSignature []byte `` /* 140-byte string literal not displayed */
}
SolanaEvidence validates evidence format, not Solana finality.
func (*SolanaEvidence) Descriptor ¶
func (*SolanaEvidence) Descriptor() ([]byte, []int)
func (*SolanaEvidence) GetSlot ¶
func (m *SolanaEvidence) GetSlot() uint64
func (*SolanaEvidence) GetTransactionSignature ¶
func (m *SolanaEvidence) GetTransactionSignature() []byte
func (*SolanaEvidence) Marshal ¶
func (m *SolanaEvidence) Marshal() (dAtA []byte, err error)
func (*SolanaEvidence) MarshalToSizedBuffer ¶
func (m *SolanaEvidence) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SolanaEvidence) ProtoMessage ¶
func (*SolanaEvidence) ProtoMessage()
func (*SolanaEvidence) Reset ¶
func (m *SolanaEvidence) Reset()
func (*SolanaEvidence) Size ¶
func (m *SolanaEvidence) Size() (n int)
func (*SolanaEvidence) String ¶
func (m *SolanaEvidence) String() string
func (*SolanaEvidence) Unmarshal ¶
func (m *SolanaEvidence) Unmarshal(dAtA []byte) error
func (SolanaEvidence) Validate ¶
func (e SolanaEvidence) Validate() error
Validate checks evidence syntax only. Observers establish Solana truth and finality.
func (*SolanaEvidence) XXX_DiscardUnknown ¶
func (m *SolanaEvidence) XXX_DiscardUnknown()
func (*SolanaEvidence) XXX_Marshal ¶
func (m *SolanaEvidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SolanaEvidence) XXX_Merge ¶
func (m *SolanaEvidence) XXX_Merge(src proto.Message)
func (*SolanaEvidence) XXX_Size ¶
func (m *SolanaEvidence) XXX_Size() int
func (*SolanaEvidence) XXX_Unmarshal ¶
func (m *SolanaEvidence) XXX_Unmarshal(b []byte) error
type Status ¶
type Status int32
Status partitions the five financial populations independently of holds.
const ( // Invalid on stored settlements; selects any status in list filters. StatusInvalid Status = 0 // Escrow awaits an authorized Solana outcome. StatusTransferPending Status = 1 // Mint authorization is retained and escrow backs the minted tokens. StatusMinted Status = 2 // Governance ordered a void; Solana confirmation is still required. StatusVoided Status = 3 // Void authorization is retained and payment awaits challenge and capacity checks. StatusRefundPending Status = 4 // The original owner has already received the refund. StatusRefunded Status = 5 )
func (Status) EnumDescriptor ¶
type Totals ¶
type Totals struct {
PendingAmount types.Coin `protobuf:"bytes,1,opt,name=pending_amount,json=pendingAmount,proto3" json:"pending_amount" yaml:"pending_amount"`
PendingCount uint64 `protobuf:"varint,2,opt,name=pending_count,json=pendingCount,proto3" json:"pending_count" yaml:"pending_count"`
MintedAmount types.Coin `protobuf:"bytes,3,opt,name=minted_amount,json=mintedAmount,proto3" json:"minted_amount" yaml:"minted_amount"`
MintedCount uint64 `protobuf:"varint,4,opt,name=minted_count,json=mintedCount,proto3" json:"minted_count" yaml:"minted_count"`
VoidedAmount types.Coin `protobuf:"bytes,5,opt,name=voided_amount,json=voidedAmount,proto3" json:"voided_amount" yaml:"voided_amount"`
VoidedCount uint64 `protobuf:"varint,6,opt,name=voided_count,json=voidedCount,proto3" json:"voided_count" yaml:"voided_count"`
RefundPendingAmount types.Coin `` /* 139-byte string literal not displayed */
RefundPendingCount uint64 `` /* 136-byte string literal not displayed */
RefundedAmount types.Coin `protobuf:"bytes,9,opt,name=refunded_amount,json=refundedAmount,proto3" json:"refunded_amount" yaml:"refunded_amount"`
RefundedCount uint64 `protobuf:"varint,10,opt,name=refunded_count,json=refundedCount,proto3" json:"refunded_count" yaml:"refunded_count"`
}
Totals counts each financial status exactly once, regardless of holds.
func DefaultTotals ¶
func DefaultTotals() Totals
func (*Totals) Descriptor ¶
func (*Totals) GetMintedAmount ¶
func (*Totals) GetMintedCount ¶
func (*Totals) GetPendingAmount ¶
func (*Totals) GetPendingCount ¶
func (*Totals) GetRefundPendingAmount ¶
func (*Totals) GetRefundPendingCount ¶
func (*Totals) GetRefundedAmount ¶
func (*Totals) GetRefundedCount ¶
func (*Totals) GetVoidedAmount ¶
func (*Totals) GetVoidedCount ¶
func (*Totals) MarshalToSizedBuffer ¶
func (*Totals) ProtoMessage ¶
func (*Totals) ProtoMessage()
func (*Totals) XXX_DiscardUnknown ¶
func (m *Totals) XXX_DiscardUnknown()
func (*Totals) XXX_Marshal ¶
func (*Totals) XXX_Unmarshal ¶
type TransferState ¶
type TransferState struct {
ID ID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"`
Data RecordData `protobuf:"bytes,2,opt,name=data,proto3" json:"data" yaml:"data"`
Settlement SettlementData `protobuf:"bytes,3,opt,name=settlement,proto3" json:"settlement" yaml:"settlement"`
Status Status `protobuf:"varint,4,opt,name=status,proto3,enum=akash.sink.v1.Status" json:"status" yaml:"status"`
}
TransferState is the complete public query aggregate.
func (*TransferState) Descriptor ¶
func (*TransferState) Descriptor() ([]byte, []int)
func (*TransferState) GetData ¶
func (m *TransferState) GetData() RecordData
func (*TransferState) GetID ¶
func (m *TransferState) GetID() ID
func (*TransferState) GetSettlement ¶
func (m *TransferState) GetSettlement() SettlementData
func (*TransferState) GetStatus ¶
func (m *TransferState) GetStatus() Status
func (*TransferState) Marshal ¶
func (m *TransferState) Marshal() (dAtA []byte, err error)
func (*TransferState) MarshalToSizedBuffer ¶
func (m *TransferState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TransferState) ProtoMessage ¶
func (*TransferState) ProtoMessage()
func (*TransferState) Reset ¶
func (m *TransferState) Reset()
func (*TransferState) Size ¶
func (m *TransferState) Size() (n int)
func (*TransferState) String ¶
func (m *TransferState) String() string
func (*TransferState) Unmarshal ¶
func (m *TransferState) Unmarshal(dAtA []byte) error
func (*TransferState) XXX_DiscardUnknown ¶
func (m *TransferState) XXX_DiscardUnknown()
func (*TransferState) XXX_Marshal ¶
func (m *TransferState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferState) XXX_Merge ¶
func (m *TransferState) XXX_Merge(src proto.Message)
func (*TransferState) XXX_Size ¶
func (m *TransferState) XXX_Size() int
func (*TransferState) XXX_Unmarshal ¶
func (m *TransferState) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct {
}
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) ConfirmMint ¶
func (*UnimplementedMsgServer) ConfirmMint(ctx context.Context, req *MsgConfirmMint) (*MsgConfirmMintResponse, error)
func (*UnimplementedMsgServer) ConfirmVoid ¶
func (*UnimplementedMsgServer) ConfirmVoid(ctx context.Context, req *MsgConfirmVoid) (*MsgConfirmVoidResponse, error)
func (*UnimplementedMsgServer) FinalizeRefund ¶
func (*UnimplementedMsgServer) FinalizeRefund(ctx context.Context, req *MsgFinalizeRefund) (*MsgFinalizeRefundResponse, error)
func (*UnimplementedMsgServer) GuardianPause ¶
func (*UnimplementedMsgServer) GuardianPause(ctx context.Context, req *MsgGuardianPause) (*MsgGuardianPauseResponse, error)
func (*UnimplementedMsgServer) ReportOutcome ¶
func (*UnimplementedMsgServer) ReportOutcome(ctx context.Context, req *MsgReportOutcome) (*MsgReportOutcomeResponse, error)
func (*UnimplementedMsgServer) RequestVoid ¶
func (*UnimplementedMsgServer) RequestVoid(ctx context.Context, req *MsgRequestVoid) (*MsgRequestVoidResponse, error)
func (*UnimplementedMsgServer) RestartTransfer ¶
func (*UnimplementedMsgServer) RestartTransfer(ctx context.Context, req *MsgRestartTransfer) (*MsgRestartTransferResponse, error)
func (*UnimplementedMsgServer) Sink ¶
func (*UnimplementedMsgServer) Sink(ctx context.Context, req *MsgSink) (*MsgSinkResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
func (*UnimplementedMsgServer) VetoVoid ¶
func (*UnimplementedMsgServer) VetoVoid(ctx context.Context, req *MsgVetoVoid) (*MsgVetoVoidResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct {
}
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Account ¶
func (*UnimplementedQueryServer) Account(ctx context.Context, req *QueryAccountRequest) (*QueryAccountResponse, error)
func (*UnimplementedQueryServer) Disputes ¶
func (*UnimplementedQueryServer) Disputes(ctx context.Context, req *QueryDisputesRequest) (*QueryDisputesResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) Reporters ¶
func (*UnimplementedQueryServer) Reporters(ctx context.Context, req *QueryReportersRequest) (*QueryReportersResponse, error)
func (*UnimplementedQueryServer) State ¶
func (*UnimplementedQueryServer) State(ctx context.Context, req *QueryStateRequest) (*QueryStateResponse, error)
func (*UnimplementedQueryServer) Transfer ¶
func (*UnimplementedQueryServer) Transfer(ctx context.Context, req *QueryTransferRequest) (*QueryTransferResponse, error)
func (*UnimplementedQueryServer) Transfers ¶
func (*UnimplementedQueryServer) Transfers(ctx context.Context, req *QueryTransfersRequest) (*QueryTransfersResponse, error)
type VoidAuthorization ¶
type VoidAuthorization struct {
RequestedHeight int64 `protobuf:"varint,1,opt,name=requested_height,json=requestedHeight,proto3" json:"requested_height" yaml:"requested_height"`
RequestedRound uint64 `protobuf:"varint,2,opt,name=requested_round,json=requestedRound,proto3" json:"requested_round" yaml:"requested_round"`
}
VoidAuthorization permanently records the governance order, not Solana execution.
func (*VoidAuthorization) Descriptor ¶
func (*VoidAuthorization) Descriptor() ([]byte, []int)
func (*VoidAuthorization) GetRequestedHeight ¶
func (m *VoidAuthorization) GetRequestedHeight() int64
func (*VoidAuthorization) GetRequestedRound ¶
func (m *VoidAuthorization) GetRequestedRound() uint64
func (*VoidAuthorization) Marshal ¶
func (m *VoidAuthorization) Marshal() (dAtA []byte, err error)
func (*VoidAuthorization) MarshalTo ¶
func (m *VoidAuthorization) MarshalTo(dAtA []byte) (int, error)
func (*VoidAuthorization) MarshalToSizedBuffer ¶
func (m *VoidAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VoidAuthorization) ProtoMessage ¶
func (*VoidAuthorization) ProtoMessage()
func (*VoidAuthorization) Reset ¶
func (m *VoidAuthorization) Reset()
func (*VoidAuthorization) Size ¶
func (m *VoidAuthorization) Size() (n int)
func (*VoidAuthorization) String ¶
func (m *VoidAuthorization) String() string
func (*VoidAuthorization) Unmarshal ¶
func (m *VoidAuthorization) Unmarshal(dAtA []byte) error
func (*VoidAuthorization) XXX_DiscardUnknown ¶
func (m *VoidAuthorization) XXX_DiscardUnknown()
func (*VoidAuthorization) XXX_Marshal ¶
func (m *VoidAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VoidAuthorization) XXX_Merge ¶
func (m *VoidAuthorization) XXX_Merge(src proto.Message)
func (*VoidAuthorization) XXX_Size ¶
func (m *VoidAuthorization) XXX_Size() int
func (*VoidAuthorization) XXX_Unmarshal ¶
func (m *VoidAuthorization) XXX_Unmarshal(b []byte) error
type Vote ¶
type Vote struct {
Reporter string `protobuf:"bytes,1,opt,name=reporter,proto3" json:"reporter" yaml:"reporter"`
Observation Observation `protobuf:"bytes,2,opt,name=observation,proto3" json:"observation" yaml:"observation"`
PolicyVersion uint64 `protobuf:"varint,3,opt,name=policy_version,json=policyVersion,proto3" json:"policy_version" yaml:"policy_version"`
}
Vote retains the policy version under which its reporter was authorized.
func (*Vote) Descriptor ¶
func (*Vote) GetObservation ¶
func (m *Vote) GetObservation() Observation
func (*Vote) GetPolicyVersion ¶
func (*Vote) GetReporter ¶
func (*Vote) ProtoMessage ¶
func (*Vote) ProtoMessage()
func (*Vote) XXX_DiscardUnknown ¶
func (m *Vote) XXX_DiscardUnknown()