Versions in this module Expand all Collapse all v1 v1.0.0 May 15, 2024 Changes in this version type ProcessRequest_Task + const ProcessRequest_TASK_UNSPECIFIED v1.0.0-rc2 May 15, 2024 v1.0.0-rc1 May 15, 2024 v0 v0.5.0 Apr 20, 2023 Changes in this version + const AgentAPI_AccountActivity_FullMethodName + const AgentAPI_AccountInformation_FullMethodName + const AgentAPI_Ping_FullMethodName + const AgentAPI_Process_FullMethodName + const AgentAPI_Query_FullMethodName + const AgentAPI_TxParameters_FullMethodName + const AgentAPI_TxSubmit_FullMethodName v0.4.0 Jan 12, 2023 v0.3.1 Oct 27, 2022 v0.3.0 Aug 12, 2022 v0.2.0 Mar 23, 2022 Changes in this version type QueryResponse + DocumentMetadata []byte + func (x *QueryResponse) GetDocumentMetadata() []byte type Ticket + DocumentMetadata []byte + func (x *Ticket) GetDocumentMetadata() []byte v0.1.1 Nov 9, 2021 v0.1.0 Oct 22, 2021 Changes in this version + var AgentAPI_ServiceDesc = grpc.ServiceDesc + var File_did_v1_agent_api_proto protoreflect.FileDescriptor + var ProcessRequest_Task_name = map[int32]string + var ProcessRequest_Task_value = map[string]int32 + func RegisterAgentAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterAgentAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AgentAPIClient) error + func RegisterAgentAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterAgentAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AgentAPIServer) error + func RegisterAgentAPIServer(s grpc.ServiceRegistrar, srv AgentAPIServer) + type AccountActivityRequest struct + Address string + Network string + Protocol string + func (*AccountActivityRequest) Descriptor() ([]byte, []int) + func (*AccountActivityRequest) ProtoMessage() + func (m *AccountActivityRequest) Validate() error + func (x *AccountActivityRequest) GetAddress() string + func (x *AccountActivityRequest) GetNetwork() string + func (x *AccountActivityRequest) GetProtocol() string + func (x *AccountActivityRequest) ProtoReflect() protoreflect.Message + func (x *AccountActivityRequest) Reset() + func (x *AccountActivityRequest) String() string + type AccountActivityRequestValidationError struct + func (e AccountActivityRequestValidationError) Cause() error + func (e AccountActivityRequestValidationError) Error() string + func (e AccountActivityRequestValidationError) ErrorName() string + func (e AccountActivityRequestValidationError) Field() string + func (e AccountActivityRequestValidationError) Key() bool + func (e AccountActivityRequestValidationError) Reason() string + type AccountActivityResponse struct + CurrentRound uint64 + NextToken string + Transactions []*AlgoTransaction + func (*AccountActivityResponse) Descriptor() ([]byte, []int) + func (*AccountActivityResponse) ProtoMessage() + func (m *AccountActivityResponse) Validate() error + func (x *AccountActivityResponse) GetCurrentRound() uint64 + func (x *AccountActivityResponse) GetNextToken() string + func (x *AccountActivityResponse) GetTransactions() []*AlgoTransaction + func (x *AccountActivityResponse) ProtoReflect() protoreflect.Message + func (x *AccountActivityResponse) Reset() + func (x *AccountActivityResponse) String() string + type AccountActivityResponseValidationError struct + func (e AccountActivityResponseValidationError) Cause() error + func (e AccountActivityResponseValidationError) Error() string + func (e AccountActivityResponseValidationError) ErrorName() string + func (e AccountActivityResponseValidationError) Field() string + func (e AccountActivityResponseValidationError) Key() bool + func (e AccountActivityResponseValidationError) Reason() string + type AccountInformationRequest struct + Address string + Network string + Protocol string + func (*AccountInformationRequest) Descriptor() ([]byte, []int) + func (*AccountInformationRequest) ProtoMessage() + func (m *AccountInformationRequest) Validate() error + func (x *AccountInformationRequest) GetAddress() string + func (x *AccountInformationRequest) GetNetwork() string + func (x *AccountInformationRequest) GetProtocol() string + func (x *AccountInformationRequest) ProtoReflect() protoreflect.Message + func (x *AccountInformationRequest) Reset() + func (x *AccountInformationRequest) String() string + type AccountInformationRequestValidationError struct + func (e AccountInformationRequestValidationError) Cause() error + func (e AccountInformationRequestValidationError) Error() string + func (e AccountInformationRequestValidationError) ErrorName() string + func (e AccountInformationRequestValidationError) Field() string + func (e AccountInformationRequestValidationError) Key() bool + func (e AccountInformationRequestValidationError) Reason() string + type AccountInformationResponse struct + Balance uint64 + PendingRewards uint64 + PendingTransactions []*AlgoTransaction + Status string + TotalRewards uint64 + func (*AccountInformationResponse) Descriptor() ([]byte, []int) + func (*AccountInformationResponse) ProtoMessage() + func (m *AccountInformationResponse) Validate() error + func (x *AccountInformationResponse) GetBalance() uint64 + func (x *AccountInformationResponse) GetPendingRewards() uint64 + func (x *AccountInformationResponse) GetPendingTransactions() []*AlgoTransaction + func (x *AccountInformationResponse) GetStatus() string + func (x *AccountInformationResponse) GetTotalRewards() uint64 + func (x *AccountInformationResponse) ProtoReflect() protoreflect.Message + func (x *AccountInformationResponse) Reset() + func (x *AccountInformationResponse) String() string + type AccountInformationResponseValidationError struct + func (e AccountInformationResponseValidationError) Cause() error + func (e AccountInformationResponseValidationError) Error() string + func (e AccountInformationResponseValidationError) ErrorName() string + func (e AccountInformationResponseValidationError) Field() string + func (e AccountInformationResponseValidationError) Key() bool + func (e AccountInformationResponseValidationError) Reason() string + type AgentAPIClient interface + AccountActivity func(ctx context.Context, in *AccountActivityRequest, opts ...grpc.CallOption) (AgentAPI_AccountActivityClient, error) + AccountInformation func(ctx context.Context, in *AccountInformationRequest, opts ...grpc.CallOption) (*AccountInformationResponse, error) + Ping func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PingResponse, error) + Process func(ctx context.Context, in *ProcessRequest, opts ...grpc.CallOption) (*ProcessResponse, error) + Query func(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error) + TxParameters func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*TxParametersResponse, error) + TxSubmit func(ctx context.Context, in *TxSubmitRequest, opts ...grpc.CallOption) (*TxSubmitResponse, error) + func NewAgentAPIClient(cc grpc.ClientConnInterface) AgentAPIClient + type AgentAPIServer interface + AccountActivity func(*AccountActivityRequest, AgentAPI_AccountActivityServer) error + AccountInformation func(context.Context, *AccountInformationRequest) (*AccountInformationResponse, error) + Ping func(context.Context, *emptypb.Empty) (*PingResponse, error) + Process func(context.Context, *ProcessRequest) (*ProcessResponse, error) + Query func(context.Context, *QueryRequest) (*QueryResponse, error) + TxParameters func(context.Context, *emptypb.Empty) (*TxParametersResponse, error) + TxSubmit func(context.Context, *TxSubmitRequest) (*TxSubmitResponse, error) + type AgentAPI_AccountActivityClient interface + Recv func() (*AccountActivityResponse, error) + type AgentAPI_AccountActivityServer interface + Send func(*AccountActivityResponse) error + type AlgoTransaction struct + Amount uint64 + ConfirmedRound uint64 + Fee uint64 + Note []byte + Receiver string + Sender string + func (*AlgoTransaction) Descriptor() ([]byte, []int) + func (*AlgoTransaction) ProtoMessage() + func (m *AlgoTransaction) Validate() error + func (x *AlgoTransaction) GetAmount() uint64 + func (x *AlgoTransaction) GetConfirmedRound() uint64 + func (x *AlgoTransaction) GetFee() uint64 + func (x *AlgoTransaction) GetNote() []byte + func (x *AlgoTransaction) GetReceiver() string + func (x *AlgoTransaction) GetSender() string + func (x *AlgoTransaction) ProtoReflect() protoreflect.Message + func (x *AlgoTransaction) Reset() + func (x *AlgoTransaction) String() string + type AlgoTransactionValidationError struct + func (e AlgoTransactionValidationError) Cause() error + func (e AlgoTransactionValidationError) Error() string + func (e AlgoTransactionValidationError) ErrorName() string + func (e AlgoTransactionValidationError) Field() string + func (e AlgoTransactionValidationError) Key() bool + func (e AlgoTransactionValidationError) Reason() string + type PingResponse struct + Ok bool + func (*PingResponse) Descriptor() ([]byte, []int) + func (*PingResponse) ProtoMessage() + func (m *PingResponse) Validate() error + func (x *PingResponse) GetOk() bool + func (x *PingResponse) ProtoReflect() protoreflect.Message + func (x *PingResponse) Reset() + func (x *PingResponse) String() string + type PingResponseValidationError struct + func (e PingResponseValidationError) Cause() error + func (e PingResponseValidationError) Error() string + func (e PingResponseValidationError) ErrorName() string + func (e PingResponseValidationError) Field() string + func (e PingResponseValidationError) Key() bool + func (e PingResponseValidationError) Reason() string + type ProcessRequest struct + Task ProcessRequest_Task + Ticket *Ticket + func (*ProcessRequest) Descriptor() ([]byte, []int) + func (*ProcessRequest) ProtoMessage() + func (m *ProcessRequest) Validate() error + func (x *ProcessRequest) GetTask() ProcessRequest_Task + func (x *ProcessRequest) GetTicket() *Ticket + func (x *ProcessRequest) ProtoReflect() protoreflect.Message + func (x *ProcessRequest) Reset() + func (x *ProcessRequest) String() string + type ProcessRequestValidationError struct + func (e ProcessRequestValidationError) Cause() error + func (e ProcessRequestValidationError) Error() string + func (e ProcessRequestValidationError) ErrorName() string + func (e ProcessRequestValidationError) Field() string + func (e ProcessRequestValidationError) Key() bool + func (e ProcessRequestValidationError) Reason() string + type ProcessRequest_Task int32 + const ProcessRequest_TASK_DEACTIVATE + const ProcessRequest_TASK_INVALID + const ProcessRequest_TASK_PUBLISH + func (ProcessRequest_Task) Descriptor() protoreflect.EnumDescriptor + func (ProcessRequest_Task) EnumDescriptor() ([]byte, []int) + func (ProcessRequest_Task) Type() protoreflect.EnumType + func (x ProcessRequest_Task) Enum() *ProcessRequest_Task + func (x ProcessRequest_Task) Number() protoreflect.EnumNumber + func (x ProcessRequest_Task) String() string + type ProcessResponse struct + Identifier string + Ok bool + func (*ProcessResponse) Descriptor() ([]byte, []int) + func (*ProcessResponse) ProtoMessage() + func (m *ProcessResponse) Validate() error + func (x *ProcessResponse) GetIdentifier() string + func (x *ProcessResponse) GetOk() bool + func (x *ProcessResponse) ProtoReflect() protoreflect.Message + func (x *ProcessResponse) Reset() + func (x *ProcessResponse) String() string + type ProcessResponseValidationError struct + func (e ProcessResponseValidationError) Cause() error + func (e ProcessResponseValidationError) Error() string + func (e ProcessResponseValidationError) ErrorName() string + func (e ProcessResponseValidationError) Field() string + func (e ProcessResponseValidationError) Key() bool + func (e ProcessResponseValidationError) Reason() string + type QueryRequest struct + Method string + Subject string + func (*QueryRequest) Descriptor() ([]byte, []int) + func (*QueryRequest) ProtoMessage() + func (m *QueryRequest) Validate() error + func (x *QueryRequest) GetMethod() string + func (x *QueryRequest) GetSubject() string + func (x *QueryRequest) ProtoReflect() protoreflect.Message + func (x *QueryRequest) Reset() + func (x *QueryRequest) String() string + type QueryRequestValidationError struct + func (e QueryRequestValidationError) Cause() error + func (e QueryRequestValidationError) Error() string + func (e QueryRequestValidationError) ErrorName() string + func (e QueryRequestValidationError) Field() string + func (e QueryRequestValidationError) Key() bool + func (e QueryRequestValidationError) Reason() string + type QueryResponse struct + Document []byte + Proof []byte + func (*QueryResponse) Descriptor() ([]byte, []int) + func (*QueryResponse) ProtoMessage() + func (m *QueryResponse) Validate() error + func (x *QueryResponse) GetDocument() []byte + func (x *QueryResponse) GetProof() []byte + func (x *QueryResponse) ProtoReflect() protoreflect.Message + func (x *QueryResponse) Reset() + func (x *QueryResponse) String() string + type QueryResponseValidationError struct + func (e QueryResponseValidationError) Cause() error + func (e QueryResponseValidationError) Error() string + func (e QueryResponseValidationError) ErrorName() string + func (e QueryResponseValidationError) Field() string + func (e QueryResponseValidationError) Key() bool + func (e QueryResponseValidationError) Reason() string + type Ticket struct + Document []byte + KeyId string + NonceValue int64 + Proof []byte + Signature []byte + Timestamp int64 + func NewTicket(id *did.Identifier, keyID string) (*Ticket, error) + func (*Ticket) Descriptor() ([]byte, []int) + func (*Ticket) ProtoMessage() + func (m *Ticket) Validate() error + func (t *Ticket) GetDID() (*did.Identifier, error) + func (t *Ticket) GetProofLD() (*did.ProofLD, error) + func (t *Ticket) IncrementNonce() + func (t *Ticket) MarshalBinary() ([]byte, error) + func (t *Ticket) Nonce() int64 + func (t *Ticket) ResetNonce() + func (t *Ticket) Solve(ctx context.Context, difficulty uint) string + func (t *Ticket) Verify(difficulty uint) error + func (x *Ticket) GetDocument() []byte + func (x *Ticket) GetKeyId() string + func (x *Ticket) GetNonceValue() int64 + func (x *Ticket) GetProof() []byte + func (x *Ticket) GetSignature() []byte + func (x *Ticket) GetTimestamp() int64 + func (x *Ticket) ProtoReflect() protoreflect.Message + func (x *Ticket) Reset() + func (x *Ticket) String() string + type TicketValidationError struct + func (e TicketValidationError) Cause() error + func (e TicketValidationError) Error() string + func (e TicketValidationError) ErrorName() string + func (e TicketValidationError) Field() string + func (e TicketValidationError) Key() bool + func (e TicketValidationError) Reason() string + type TxParametersResponse struct + Params []byte + func (*TxParametersResponse) Descriptor() ([]byte, []int) + func (*TxParametersResponse) ProtoMessage() + func (m *TxParametersResponse) Validate() error + func (x *TxParametersResponse) GetParams() []byte + func (x *TxParametersResponse) ProtoReflect() protoreflect.Message + func (x *TxParametersResponse) Reset() + func (x *TxParametersResponse) String() string + type TxParametersResponseValidationError struct + func (e TxParametersResponseValidationError) Cause() error + func (e TxParametersResponseValidationError) Error() string + func (e TxParametersResponseValidationError) ErrorName() string + func (e TxParametersResponseValidationError) Field() string + func (e TxParametersResponseValidationError) Key() bool + func (e TxParametersResponseValidationError) Reason() string + type TxSubmitRequest struct + Stx []byte + func (*TxSubmitRequest) Descriptor() ([]byte, []int) + func (*TxSubmitRequest) ProtoMessage() + func (m *TxSubmitRequest) Validate() error + func (x *TxSubmitRequest) GetStx() []byte + func (x *TxSubmitRequest) ProtoReflect() protoreflect.Message + func (x *TxSubmitRequest) Reset() + func (x *TxSubmitRequest) String() string + type TxSubmitRequestValidationError struct + func (e TxSubmitRequestValidationError) Cause() error + func (e TxSubmitRequestValidationError) Error() string + func (e TxSubmitRequestValidationError) ErrorName() string + func (e TxSubmitRequestValidationError) Field() string + func (e TxSubmitRequestValidationError) Key() bool + func (e TxSubmitRequestValidationError) Reason() string + type TxSubmitResponse struct + Id string + func (*TxSubmitResponse) Descriptor() ([]byte, []int) + func (*TxSubmitResponse) ProtoMessage() + func (m *TxSubmitResponse) Validate() error + func (x *TxSubmitResponse) GetId() string + func (x *TxSubmitResponse) ProtoReflect() protoreflect.Message + func (x *TxSubmitResponse) Reset() + func (x *TxSubmitResponse) String() string + type TxSubmitResponseValidationError struct + func (e TxSubmitResponseValidationError) Cause() error + func (e TxSubmitResponseValidationError) Error() string + func (e TxSubmitResponseValidationError) ErrorName() string + func (e TxSubmitResponseValidationError) Field() string + func (e TxSubmitResponseValidationError) Key() bool + func (e TxSubmitResponseValidationError) Reason() string + type UnimplementedAgentAPIServer struct + func (UnimplementedAgentAPIServer) AccountActivity(*AccountActivityRequest, AgentAPI_AccountActivityServer) error + func (UnimplementedAgentAPIServer) AccountInformation(context.Context, *AccountInformationRequest) (*AccountInformationResponse, error) + func (UnimplementedAgentAPIServer) Ping(context.Context, *emptypb.Empty) (*PingResponse, error) + func (UnimplementedAgentAPIServer) Process(context.Context, *ProcessRequest) (*ProcessResponse, error) + func (UnimplementedAgentAPIServer) Query(context.Context, *QueryRequest) (*QueryResponse, error) + func (UnimplementedAgentAPIServer) TxParameters(context.Context, *emptypb.Empty) (*TxParametersResponse, error) + func (UnimplementedAgentAPIServer) TxSubmit(context.Context, *TxSubmitRequest) (*TxSubmitResponse, error) + type UnsafeAgentAPIServer interface