types

package
v2.0.1-0...-c6a7496 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName defines the module name
	ModuleName = "claims"
	// StoreKey defines the primary module store key
	StoreKey = ModuleName
	// RouterKey is the message route for slashing
	RouterKey = ModuleName
	// QuerierRoute defines the module's query routing key
	QuerierRoute = ModuleName
	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_claims"
)
View Source
const TypeMsgCreateCollection = "create_collection"

-------------------------- CREATE COLLECTION --------------------------

View Source
const TypeMsgDisputeClaim = "dispute_claim"

-------------------------- DISPUTE CLAIM --------------------------

View Source
const TypeMsgEvaluateClaim = "evaluate_claim"

-------------------------- EVALUATE CLAIM --------------------------

View Source
const TypeMsgSubmitClaim = "submit_claim"

-------------------------- SUBMIT CLAIM --------------------------

View Source
const TypeMsgWithdrawPayment = "withdraw_payment"

-------------------------- WITHDRAW PAYMENT --------------------------

Variables

View Source
var (
	ErrInvalidLengthAuthz        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAuthz          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAuthz = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthClaims        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowClaims          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupClaims = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthCosmos        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCosmos          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCosmos = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrCollectionNotFound  = sdkerrors.Register(ModuleName, 1001, "collection not found")
	ErrCollectionNotOpen   = sdkerrors.Register(ModuleName, 1002, "collection is not in open state")
	ErrCollectionEvalError = sdkerrors.Register(ModuleName, 1003, "evaluation payment is not allowed to have a Contract1155Payment")
	ErrCollNotEntityAcc    = sdkerrors.Register(ModuleName, 1004, "collection payments accounts can only be entity accounts")

	ErrClaimNotFound               = sdkerrors.Register(ModuleName, 1100, "claim not found")
	ErrClaimUnauthorized           = sdkerrors.Register(ModuleName, 1101, "unauthorized, incorrect admin")
	ErrClaimCollectionNotStarted   = sdkerrors.Register(ModuleName, 1102, "collection for claim has not started yet")
	ErrClaimCollectionEnded        = sdkerrors.Register(ModuleName, 1103, "collection for claim has ended")
	ErrClaimCollectionQuotaReached = sdkerrors.Register(ModuleName, 1104, "collection for claim's quato has been reached")
	ErrClaimDuplicate              = sdkerrors.Register(ModuleName, 1105, "claim with id already exists")
	ErrClaimDuplicateEvaluation    = sdkerrors.Register(ModuleName, 1106, "claim with id already evaluated")

	ErrDisputeNotFound     = sdkerrors.Register(ModuleName, 1200, "dispute not found")
	ErrDisputeDuplicate    = sdkerrors.Register(ModuleName, 1201, "dispute with proof already exists")
	ErrDisputeUnauthorized = sdkerrors.Register(ModuleName, 1202, "unauthorized, not part of collection/entity/authz agent")

	ErrEvaluateWrongCollection = sdkerrors.Register(ModuleName, 1300, "evaluation claim and collection does not match")

	ErrPaymentPresetPercentagesOverflow = sdkerrors.Register(ModuleName, 1400, "preset fee percentages for node and network overflows 100%")
	ErrPaymentWithdrawFailed            = sdkerrors.Register(ModuleName, 1401, "payment withdrawal failed")
)

x/claims module sentinel errors

View Source
var (
	ErrInvalidLengthEvent        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvent          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	CollectionKey = []byte{0x01}
	ClaimKey      = []byte{0x02}
	DisputeKey    = []byte{0x03}
)
View Source
var (
	KeyCollectionSequence   = []byte("CollectionSequence")
	KeyIxoAccount           = []byte("IxoAccount")
	KeyNetworkFeePercentage = []byte("NetworkFeePercentage")
	KeyNodeFeePercentage    = []byte("NodeFeePercentage")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var CollectionState_name = map[int32]string{
	0: "OPEN",
	1: "PAUSED",
	2: "CLOSED",
}
View Source
var CollectionState_value = map[string]int32{
	"OPEN":   0,
	"PAUSED": 1,
	"CLOSED": 2,
}
View Source
var EvaluationStatus_name = map[int32]string{
	0: "PENDING",
	1: "APPROVED",
	2: "REJECTED",
	3: "DISPUTED",
}
View Source
var EvaluationStatus_value = map[string]int32{
	"PENDING":  0,
	"APPROVED": 1,
	"REJECTED": 2,
	"DISPUTED": 3,
}
View Source
var OneHundred = sdk.NewDec(100)
View Source
var PaymentStatus_name = map[int32]string{
	0: "NO_PAYMENT",
	1: "PROMISED",
	2: "AUTHORIZED",
	3: "GAURANTEED",
	4: "PAID",
	5: "FAILED",
	6: "DISPUTED",
}
View Source
var PaymentStatus_value = map[string]int32{
	"NO_PAYMENT": 0,
	"PROMISED":   1,
	"AUTHORIZED": 2,
	"GAURANTEED": 3,
	"PAID":       4,
	"FAILED":     5,
	"DISPUTED":   6,
}
View Source
var PaymentType_name = map[int32]string{
	0: "SUBMISSION",
	1: "APPROVAL",
	2: "EVALUATION",
	3: "REJECTION",
}
View Source
var PaymentType_value = map[string]int32{
	"SUBMISSION": 0,
	"APPROVAL":   1,
	"EVALUATION": 2,
	"REJECTION":  3,
}

Functions

func HasBalances

func HasBalances(ctx sdk.Context, bankKeeper bankkeeper.Keeper, payerAddr sdk.AccAddress,
	requiredFunds sdk.Coins) bool

func IsValidClaim

func IsValidClaim(claim *Claim) bool

IsValidClaim tells if a Claim is valid,

func IsValidCollection

func IsValidCollection(collection *Collection) bool

IsValidCollection tells if a Claim Collection is valid,

func IsValidDispute

func IsValidDispute(dispute *Dispute) bool

IsValidDispute tells if a Dispute is valid,

func KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

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 (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type Claim

type Claim struct {
	// collection_id indicates to which Collection this claim belongs
	CollectionId string `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	// agent is the DID of the agent submitting the claim
	AgentDid     string `protobuf:"bytes,2,opt,name=agent_did,json=agentDid,proto3" json:"agent_did,omitempty"`
	AgentAddress string `protobuf:"bytes,3,opt,name=agent_address,json=agentAddress,proto3" json:"agent_address,omitempty"`
	// submissionDate is the date and time that the claim was submitted on-chain
	SubmissionDate *time.Time `protobuf:"bytes,4,opt,name=submission_date,json=submissionDate,proto3,stdtime" json:"submission_date,omitempty"`
	// claimID is the unique identifier of the claim in the cid hash format
	ClaimId string `protobuf:"bytes,5,opt,name=claim_id,json=claimId,proto3" json:"claim_id,omitempty"`
	// evaluation is the result of one or more claim evaluations
	Evaluation     *Evaluation    `protobuf:"bytes,6,opt,name=evaluation,proto3" json:"evaluation,omitempty"`
	PaymentsStatus *ClaimPayments `protobuf:"bytes,7,opt,name=payments_status,json=paymentsStatus,proto3" json:"payments_status,omitempty"`
}

func (*Claim) Descriptor

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

func (*Claim) GetAgentAddress

func (m *Claim) GetAgentAddress() string

func (*Claim) GetAgentDid

func (m *Claim) GetAgentDid() string

func (*Claim) GetClaimId

func (m *Claim) GetClaimId() string

func (*Claim) GetCollectionId

func (m *Claim) GetCollectionId() string

func (*Claim) GetEvaluation

func (m *Claim) GetEvaluation() *Evaluation

func (*Claim) GetPaymentsStatus

func (m *Claim) GetPaymentsStatus() *ClaimPayments

func (*Claim) GetSubmissionDate

func (m *Claim) GetSubmissionDate() *time.Time

func (*Claim) Marshal

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

func (*Claim) MarshalTo

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

func (*Claim) MarshalToSizedBuffer

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

func (*Claim) ProtoMessage

func (*Claim) ProtoMessage()

func (*Claim) Reset

func (m *Claim) Reset()

func (*Claim) Size

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

func (*Claim) String

func (m *Claim) String() string

func (*Claim) Unmarshal

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

func (*Claim) XXX_DiscardUnknown

func (m *Claim) XXX_DiscardUnknown()

func (*Claim) XXX_Marshal

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

func (*Claim) XXX_Merge

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

func (*Claim) XXX_Size

func (m *Claim) XXX_Size() int

func (*Claim) XXX_Unmarshal

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

type ClaimDisputedEvent

type ClaimDisputedEvent struct {
	Dispute *Dispute `protobuf:"bytes,1,opt,name=dispute,proto3" json:"dispute,omitempty"`
}

ClaimDisputedEvent is an event triggered on a Claim dispute

func (*ClaimDisputedEvent) Descriptor

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

func (*ClaimDisputedEvent) GetDispute

func (m *ClaimDisputedEvent) GetDispute() *Dispute

func (*ClaimDisputedEvent) Marshal

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

func (*ClaimDisputedEvent) MarshalTo

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

func (*ClaimDisputedEvent) MarshalToSizedBuffer

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

func (*ClaimDisputedEvent) ProtoMessage

func (*ClaimDisputedEvent) ProtoMessage()

func (*ClaimDisputedEvent) Reset

func (m *ClaimDisputedEvent) Reset()

func (*ClaimDisputedEvent) Size

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

func (*ClaimDisputedEvent) String

func (m *ClaimDisputedEvent) String() string

func (*ClaimDisputedEvent) Unmarshal

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

func (*ClaimDisputedEvent) XXX_DiscardUnknown

func (m *ClaimDisputedEvent) XXX_DiscardUnknown()

func (*ClaimDisputedEvent) XXX_Marshal

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

func (*ClaimDisputedEvent) XXX_Merge

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

func (*ClaimDisputedEvent) XXX_Size

func (m *ClaimDisputedEvent) XXX_Size() int

func (*ClaimDisputedEvent) XXX_Unmarshal

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

type ClaimEvaluatedEvent

type ClaimEvaluatedEvent struct {
	Evaluation *Evaluation `protobuf:"bytes,1,opt,name=evaluation,proto3" json:"evaluation,omitempty"`
}

ClaimEvaluatedEvent is an event triggered on a Claim evaluation

func (*ClaimEvaluatedEvent) Descriptor

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

func (*ClaimEvaluatedEvent) GetEvaluation

func (m *ClaimEvaluatedEvent) GetEvaluation() *Evaluation

func (*ClaimEvaluatedEvent) Marshal

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

func (*ClaimEvaluatedEvent) MarshalTo

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

func (*ClaimEvaluatedEvent) MarshalToSizedBuffer

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

func (*ClaimEvaluatedEvent) ProtoMessage

func (*ClaimEvaluatedEvent) ProtoMessage()

func (*ClaimEvaluatedEvent) Reset

func (m *ClaimEvaluatedEvent) Reset()

func (*ClaimEvaluatedEvent) Size

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

func (*ClaimEvaluatedEvent) String

func (m *ClaimEvaluatedEvent) String() string

func (*ClaimEvaluatedEvent) Unmarshal

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

func (*ClaimEvaluatedEvent) XXX_DiscardUnknown

func (m *ClaimEvaluatedEvent) XXX_DiscardUnknown()

func (*ClaimEvaluatedEvent) XXX_Marshal

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

func (*ClaimEvaluatedEvent) XXX_Merge

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

func (*ClaimEvaluatedEvent) XXX_Size

func (m *ClaimEvaluatedEvent) XXX_Size() int

func (*ClaimEvaluatedEvent) XXX_Unmarshal

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

type ClaimPayments

type ClaimPayments struct {
	Submission PaymentStatus `protobuf:"varint,1,opt,name=submission,proto3,enum=ixo.claims.v1beta1.PaymentStatus" json:"submission,omitempty"`
	Evaluation PaymentStatus `protobuf:"varint,2,opt,name=evaluation,proto3,enum=ixo.claims.v1beta1.PaymentStatus" json:"evaluation,omitempty"`
	Approval   PaymentStatus `protobuf:"varint,3,opt,name=approval,proto3,enum=ixo.claims.v1beta1.PaymentStatus" json:"approval,omitempty"`
	Rejection  PaymentStatus `protobuf:"varint,4,opt,name=rejection,proto3,enum=ixo.claims.v1beta1.PaymentStatus" json:"rejection,omitempty"`
}

func (*ClaimPayments) Descriptor

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

func (*ClaimPayments) GetApproval

func (m *ClaimPayments) GetApproval() PaymentStatus

func (*ClaimPayments) GetEvaluation

func (m *ClaimPayments) GetEvaluation() PaymentStatus

func (*ClaimPayments) GetRejection

func (m *ClaimPayments) GetRejection() PaymentStatus

func (*ClaimPayments) GetSubmission

func (m *ClaimPayments) GetSubmission() PaymentStatus

func (*ClaimPayments) Marshal

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

func (*ClaimPayments) MarshalTo

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

func (*ClaimPayments) MarshalToSizedBuffer

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

func (*ClaimPayments) ProtoMessage

func (*ClaimPayments) ProtoMessage()

func (*ClaimPayments) Reset

func (m *ClaimPayments) Reset()

func (*ClaimPayments) Size

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

func (*ClaimPayments) String

func (m *ClaimPayments) String() string

func (*ClaimPayments) Unmarshal

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

func (*ClaimPayments) XXX_DiscardUnknown

func (m *ClaimPayments) XXX_DiscardUnknown()

func (*ClaimPayments) XXX_Marshal

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

func (*ClaimPayments) XXX_Merge

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

func (*ClaimPayments) XXX_Size

func (m *ClaimPayments) XXX_Size() int

func (*ClaimPayments) XXX_Unmarshal

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

type ClaimSubmittedEvent

type ClaimSubmittedEvent struct {
	Claim *Claim `protobuf:"bytes,1,opt,name=claim,proto3" json:"claim,omitempty"`
}

CollectionCreatedEvent is an event triggered on a Claim submission

func (*ClaimSubmittedEvent) Descriptor

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

func (*ClaimSubmittedEvent) GetClaim

func (m *ClaimSubmittedEvent) GetClaim() *Claim

func (*ClaimSubmittedEvent) Marshal

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

func (*ClaimSubmittedEvent) MarshalTo

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

func (*ClaimSubmittedEvent) MarshalToSizedBuffer

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

func (*ClaimSubmittedEvent) ProtoMessage

func (*ClaimSubmittedEvent) ProtoMessage()

func (*ClaimSubmittedEvent) Reset

func (m *ClaimSubmittedEvent) Reset()

func (*ClaimSubmittedEvent) Size

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

func (*ClaimSubmittedEvent) String

func (m *ClaimSubmittedEvent) String() string

func (*ClaimSubmittedEvent) Unmarshal

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

func (*ClaimSubmittedEvent) XXX_DiscardUnknown

func (m *ClaimSubmittedEvent) XXX_DiscardUnknown()

func (*ClaimSubmittedEvent) XXX_Marshal

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

func (*ClaimSubmittedEvent) XXX_Merge

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

func (*ClaimSubmittedEvent) XXX_Size

func (m *ClaimSubmittedEvent) XXX_Size() int

func (*ClaimSubmittedEvent) XXX_Unmarshal

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

type ClaimUpdatedEvent

type ClaimUpdatedEvent struct {
	Claim *Claim `protobuf:"bytes,1,opt,name=claim,proto3" json:"claim,omitempty"`
}

ClaimUpdatedEvent is an event triggered on a Claim update

func (*ClaimUpdatedEvent) Descriptor

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

func (*ClaimUpdatedEvent) GetClaim

func (m *ClaimUpdatedEvent) GetClaim() *Claim

func (*ClaimUpdatedEvent) Marshal

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

func (*ClaimUpdatedEvent) MarshalTo

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

func (*ClaimUpdatedEvent) MarshalToSizedBuffer

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

func (*ClaimUpdatedEvent) ProtoMessage

func (*ClaimUpdatedEvent) ProtoMessage()

func (*ClaimUpdatedEvent) Reset

func (m *ClaimUpdatedEvent) Reset()

func (*ClaimUpdatedEvent) Size

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

func (*ClaimUpdatedEvent) String

func (m *ClaimUpdatedEvent) String() string

func (*ClaimUpdatedEvent) Unmarshal

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

func (*ClaimUpdatedEvent) XXX_DiscardUnknown

func (m *ClaimUpdatedEvent) XXX_DiscardUnknown()

func (*ClaimUpdatedEvent) XXX_Marshal

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

func (*ClaimUpdatedEvent) XXX_Merge

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

func (*ClaimUpdatedEvent) XXX_Size

func (m *ClaimUpdatedEvent) XXX_Size() int

func (*ClaimUpdatedEvent) XXX_Unmarshal

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

type Collection

type Collection struct {
	// collection id is the incremented internal id for the collection of claims
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// entity is the DID of the entity for which the claims are being created
	Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"`
	// admin is the account address that will authorize or revoke agents and
	// payments (the grantor)
	Admin string `protobuf:"bytes,3,opt,name=admin,proto3" json:"admin,omitempty"`
	// protocol is the DID of the claim protocol
	Protocol string `protobuf:"bytes,4,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// startDate is the date after which claims may be submitted
	StartDate *time.Time `protobuf:"bytes,5,opt,name=start_date,json=startDate,proto3,stdtime" json:"start_date,omitempty"`
	// endDate is the date after which no more claims may be submitted (no endDate
	// is allowed)
	EndDate *time.Time `protobuf:"bytes,6,opt,name=end_date,json=endDate,proto3,stdtime" json:"end_date,omitempty"`
	// quota is the maximum number of claims that may be submitted, 0 is unlimited
	Quota uint64 `protobuf:"varint,7,opt,name=quota,proto3" json:"quota,omitempty"`
	// count is the number of claims already submitted (internally calculated)
	Count uint64 `protobuf:"varint,8,opt,name=count,proto3" json:"count,omitempty"`
	// evaluated is the number of claims that have been evaluated (internally
	// calculated)
	Evaluated uint64 `protobuf:"varint,9,opt,name=evaluated,proto3" json:"evaluated,omitempty"`
	// approved is the number of claims that have been evaluated and approved
	// (internally calculated)
	Approved uint64 `protobuf:"varint,10,opt,name=approved,proto3" json:"approved,omitempty"`
	// rejected is the number of claims that have been evaluated and rejected
	// (internally calculated)
	Rejected uint64 `protobuf:"varint,11,opt,name=rejected,proto3" json:"rejected,omitempty"`
	// disputed is the number of claims that have disputed status (internally
	// calculated)
	Disputed uint64 `protobuf:"varint,12,opt,name=disputed,proto3" json:"disputed,omitempty"`
	// state is the current state of this Collection (open, paused, closed)
	State CollectionState `protobuf:"varint,13,opt,name=state,proto3,enum=ixo.claims.v1beta1.CollectionState" json:"state,omitempty"`
	// payments is the amount paid for claim submission, evaluation, approval, or
	// rejection
	Payments *Payments `protobuf:"bytes,14,opt,name=payments,proto3" json:"payments,omitempty"`
	// signer address
	Signer string `protobuf:"bytes,15,opt,name=signer,proto3" json:"signer,omitempty"`
}

func (*Collection) Descriptor

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

func (*Collection) GetAdmin

func (m *Collection) GetAdmin() string

func (*Collection) GetApproved

func (m *Collection) GetApproved() uint64

func (*Collection) GetCount

func (m *Collection) GetCount() uint64

func (*Collection) GetDisputed

func (m *Collection) GetDisputed() uint64

func (*Collection) GetEndDate

func (m *Collection) GetEndDate() *time.Time

func (*Collection) GetEntity

func (m *Collection) GetEntity() string

func (*Collection) GetEvaluated

func (m *Collection) GetEvaluated() uint64

func (*Collection) GetId

func (m *Collection) GetId() string

func (*Collection) GetPayments

func (m *Collection) GetPayments() *Payments

func (*Collection) GetProtocol

func (m *Collection) GetProtocol() string

func (*Collection) GetQuota

func (m *Collection) GetQuota() uint64

func (*Collection) GetRejected

func (m *Collection) GetRejected() uint64

func (*Collection) GetSigner

func (m *Collection) GetSigner() string

func (*Collection) GetStartDate

func (m *Collection) GetStartDate() *time.Time

func (*Collection) GetState

func (m *Collection) GetState() CollectionState

func (*Collection) Marshal

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

func (*Collection) MarshalTo

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

func (*Collection) MarshalToSizedBuffer

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

func (*Collection) ProtoMessage

func (*Collection) ProtoMessage()

func (*Collection) Reset

func (m *Collection) Reset()

func (*Collection) Size

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

func (*Collection) String

func (m *Collection) String() string

func (*Collection) Unmarshal

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

func (*Collection) XXX_DiscardUnknown

func (m *Collection) XXX_DiscardUnknown()

func (*Collection) XXX_Marshal

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

func (*Collection) XXX_Merge

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

func (*Collection) XXX_Size

func (m *Collection) XXX_Size() int

func (*Collection) XXX_Unmarshal

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

type CollectionCreatedEvent

type CollectionCreatedEvent struct {
	Collection *Collection `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
}

CollectionCreatedEvent is an event triggered on a Collection creation

func (*CollectionCreatedEvent) Descriptor

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

func (*CollectionCreatedEvent) GetCollection

func (m *CollectionCreatedEvent) GetCollection() *Collection

func (*CollectionCreatedEvent) Marshal

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

func (*CollectionCreatedEvent) MarshalTo

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

func (*CollectionCreatedEvent) MarshalToSizedBuffer

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

func (*CollectionCreatedEvent) ProtoMessage

func (*CollectionCreatedEvent) ProtoMessage()

func (*CollectionCreatedEvent) Reset

func (m *CollectionCreatedEvent) Reset()

func (*CollectionCreatedEvent) Size

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

func (*CollectionCreatedEvent) String

func (m *CollectionCreatedEvent) String() string

func (*CollectionCreatedEvent) Unmarshal

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

func (*CollectionCreatedEvent) XXX_DiscardUnknown

func (m *CollectionCreatedEvent) XXX_DiscardUnknown()

func (*CollectionCreatedEvent) XXX_Marshal

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

func (*CollectionCreatedEvent) XXX_Merge

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

func (*CollectionCreatedEvent) XXX_Size

func (m *CollectionCreatedEvent) XXX_Size() int

func (*CollectionCreatedEvent) XXX_Unmarshal

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

type CollectionState

type CollectionState int32
const (
	CollectionState_open   CollectionState = 0
	CollectionState_paused CollectionState = 1
	CollectionState_closed CollectionState = 2
)

func (CollectionState) EnumDescriptor

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

func (CollectionState) String

func (x CollectionState) String() string

type CollectionUpdatedEvent

type CollectionUpdatedEvent struct {
	Collection *Collection `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
}

CollectionUpdatedEvent is an event triggered on a Collection update

func (*CollectionUpdatedEvent) Descriptor

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

func (*CollectionUpdatedEvent) GetCollection

func (m *CollectionUpdatedEvent) GetCollection() *Collection

func (*CollectionUpdatedEvent) Marshal

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

func (*CollectionUpdatedEvent) MarshalTo

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

func (*CollectionUpdatedEvent) MarshalToSizedBuffer

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

func (*CollectionUpdatedEvent) ProtoMessage

func (*CollectionUpdatedEvent) ProtoMessage()

func (*CollectionUpdatedEvent) Reset

func (m *CollectionUpdatedEvent) Reset()

func (*CollectionUpdatedEvent) Size

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

func (*CollectionUpdatedEvent) String

func (m *CollectionUpdatedEvent) String() string

func (*CollectionUpdatedEvent) Unmarshal

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

func (*CollectionUpdatedEvent) XXX_DiscardUnknown

func (m *CollectionUpdatedEvent) XXX_DiscardUnknown()

func (*CollectionUpdatedEvent) XXX_Marshal

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

func (*CollectionUpdatedEvent) XXX_Merge

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

func (*CollectionUpdatedEvent) XXX_Size

func (m *CollectionUpdatedEvent) XXX_Size() int

func (*CollectionUpdatedEvent) XXX_Unmarshal

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

type Contract1155Payment

type Contract1155Payment struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	TokenId string `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	Amount  uint32 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
}

func (*Contract1155Payment) Descriptor

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

func (*Contract1155Payment) Equal

func (this *Contract1155Payment) Equal(that interface{}) bool

func (*Contract1155Payment) GetAddress

func (m *Contract1155Payment) GetAddress() string

func (*Contract1155Payment) GetAmount

func (m *Contract1155Payment) GetAmount() uint32

func (*Contract1155Payment) GetTokenId

func (m *Contract1155Payment) GetTokenId() string

func (*Contract1155Payment) Marshal

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

func (*Contract1155Payment) MarshalTo

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

func (*Contract1155Payment) MarshalToSizedBuffer

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

func (*Contract1155Payment) ProtoMessage

func (*Contract1155Payment) ProtoMessage()

func (*Contract1155Payment) Reset

func (m *Contract1155Payment) Reset()

func (*Contract1155Payment) Size

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

func (*Contract1155Payment) String

func (m *Contract1155Payment) String() string

func (*Contract1155Payment) Unmarshal

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

func (*Contract1155Payment) XXX_DiscardUnknown

func (m *Contract1155Payment) XXX_DiscardUnknown()

func (*Contract1155Payment) XXX_Marshal

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

func (*Contract1155Payment) XXX_Merge

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

func (*Contract1155Payment) XXX_Size

func (m *Contract1155Payment) XXX_Size() int

func (*Contract1155Payment) XXX_Unmarshal

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

type Dispute

type Dispute struct {
	SubjectId string `protobuf:"bytes,1,opt,name=subject_id,json=subjectId,proto3" json:"subject_id,omitempty"`
	// type is expressed as an integer, interpreted by the client
	Type int32        `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
	Data *DisputeData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
}

func (*Dispute) Descriptor

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

func (*Dispute) GetData

func (m *Dispute) GetData() *DisputeData

func (*Dispute) GetSubjectId

func (m *Dispute) GetSubjectId() string

func (*Dispute) GetType

func (m *Dispute) GetType() int32

func (*Dispute) Marshal

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

func (*Dispute) MarshalTo

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

func (*Dispute) MarshalToSizedBuffer

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

func (*Dispute) ProtoMessage

func (*Dispute) ProtoMessage()

func (*Dispute) Reset

func (m *Dispute) Reset()

func (*Dispute) Size

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

func (*Dispute) String

func (m *Dispute) String() string

func (*Dispute) Unmarshal

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

func (*Dispute) XXX_DiscardUnknown

func (m *Dispute) XXX_DiscardUnknown()

func (*Dispute) XXX_Marshal

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

func (*Dispute) XXX_Merge

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

func (*Dispute) XXX_Size

func (m *Dispute) XXX_Size() int

func (*Dispute) XXX_Unmarshal

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

type DisputeData

type DisputeData struct {
	Uri       string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	Type      string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Proof     string `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"`
	Encrypted bool   `protobuf:"varint,4,opt,name=encrypted,proto3" json:"encrypted,omitempty"`
}

func (*DisputeData) Descriptor

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

func (*DisputeData) GetEncrypted

func (m *DisputeData) GetEncrypted() bool

func (*DisputeData) GetProof

func (m *DisputeData) GetProof() string

func (*DisputeData) GetType

func (m *DisputeData) GetType() string

func (*DisputeData) GetUri

func (m *DisputeData) GetUri() string

func (*DisputeData) Marshal

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

func (*DisputeData) MarshalTo

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

func (*DisputeData) MarshalToSizedBuffer

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

func (*DisputeData) ProtoMessage

func (*DisputeData) ProtoMessage()

func (*DisputeData) Reset

func (m *DisputeData) Reset()

func (*DisputeData) Size

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

func (*DisputeData) String

func (m *DisputeData) String() string

func (*DisputeData) Unmarshal

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

func (*DisputeData) XXX_DiscardUnknown

func (m *DisputeData) XXX_DiscardUnknown()

func (*DisputeData) XXX_Marshal

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

func (*DisputeData) XXX_Merge

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

func (*DisputeData) XXX_Size

func (m *DisputeData) XXX_Size() int

func (*DisputeData) XXX_Unmarshal

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

type Distribution

type Distribution []DistributionShare

func NewDistribution

func NewDistribution(shares ...DistributionShare) Distribution

func (Distribution) GetDistributionsFor

func (d Distribution) GetDistributionsFor(amount sdk.Coins) []sdk.DecCoins

type DistributionShare

type DistributionShare struct {
	// contains filtered or unexported fields
}

func NewDistributionShare

func NewDistributionShare(address sdk.AccAddress, percentage sdk.Dec) DistributionShare

func NewFullDistributionShare

func NewFullDistributionShare(address sdk.AccAddress) DistributionShare

func (DistributionShare) GetAddress

func (d DistributionShare) GetAddress() (sdk.AccAddress, error)

func (DistributionShare) GetShareOf

func (d DistributionShare) GetShareOf(amount sdk.DecCoins) sdk.DecCoins

type EvaluateClaimAuthorization

type EvaluateClaimAuthorization struct {
	// address of admin
	Admin       string                      `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	Constraints []*EvaluateClaimConstraints `protobuf:"bytes,2,rep,name=constraints,proto3" json:"constraints,omitempty"`
}

func NewEvaluateClaimAuthorization

func NewEvaluateClaimAuthorization(admin string, constraints []*EvaluateClaimConstraints) *EvaluateClaimAuthorization

NewEvaluateClaimAuthorization creates a new EvaluateClaimAuthorization object.

func (EvaluateClaimAuthorization) Accept

Accept implements Authorization.Accept.

func (*EvaluateClaimAuthorization) Descriptor

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

func (*EvaluateClaimAuthorization) GetAdmin

func (m *EvaluateClaimAuthorization) GetAdmin() string

func (*EvaluateClaimAuthorization) GetConstraints

func (*EvaluateClaimAuthorization) Marshal

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

func (*EvaluateClaimAuthorization) MarshalTo

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

func (*EvaluateClaimAuthorization) MarshalToSizedBuffer

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

func (EvaluateClaimAuthorization) MsgTypeURL

func (a EvaluateClaimAuthorization) MsgTypeURL() string

MsgTypeURL implements Authorization.MsgTypeURL.

func (*EvaluateClaimAuthorization) ProtoMessage

func (*EvaluateClaimAuthorization) ProtoMessage()

func (*EvaluateClaimAuthorization) Reset

func (m *EvaluateClaimAuthorization) Reset()

func (*EvaluateClaimAuthorization) Size

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

func (*EvaluateClaimAuthorization) String

func (m *EvaluateClaimAuthorization) String() string

func (*EvaluateClaimAuthorization) Unmarshal

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

func (EvaluateClaimAuthorization) ValidateBasic

func (a EvaluateClaimAuthorization) ValidateBasic() error

ValidateBasic implements Authorization.ValidateBasic.

func (*EvaluateClaimAuthorization) XXX_DiscardUnknown

func (m *EvaluateClaimAuthorization) XXX_DiscardUnknown()

func (*EvaluateClaimAuthorization) XXX_Marshal

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

func (*EvaluateClaimAuthorization) XXX_Merge

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

func (*EvaluateClaimAuthorization) XXX_Size

func (m *EvaluateClaimAuthorization) XXX_Size() int

func (*EvaluateClaimAuthorization) XXX_Unmarshal

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

type EvaluateClaimConstraints

type EvaluateClaimConstraints struct {
	// collection_id indicates to which Collection this claim belongs
	CollectionId string `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	// either collection_id or claim_ids is needed
	ClaimIds   []string `protobuf:"bytes,2,rep,name=claim_ids,json=claimIds,proto3" json:"claim_ids,omitempty"`
	AgentQuota uint64   `protobuf:"varint,3,opt,name=agent_quota,json=agentQuota,proto3" json:"agent_quota,omitempty"`
	// if null then no before_date validation done
	BeforeDate *time.Time `protobuf:"bytes,4,opt,name=before_date,json=beforeDate,proto3,stdtime" json:"before_date,omitempty"`
	// max custom amount evaluator can change, if empty list must use amount
	// defined in Token payments
	MaxCustomAmount github_com_cosmos_cosmos_sdk_types.Coins `` /* 153-byte string literal not displayed */
}

func (*EvaluateClaimConstraints) Descriptor

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

func (*EvaluateClaimConstraints) GetAgentQuota

func (m *EvaluateClaimConstraints) GetAgentQuota() uint64

func (*EvaluateClaimConstraints) GetBeforeDate

func (m *EvaluateClaimConstraints) GetBeforeDate() *time.Time

func (*EvaluateClaimConstraints) GetClaimIds

func (m *EvaluateClaimConstraints) GetClaimIds() []string

func (*EvaluateClaimConstraints) GetCollectionId

func (m *EvaluateClaimConstraints) GetCollectionId() string

func (*EvaluateClaimConstraints) GetMaxCustomAmount

func (*EvaluateClaimConstraints) Marshal

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

func (*EvaluateClaimConstraints) MarshalTo

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

func (*EvaluateClaimConstraints) MarshalToSizedBuffer

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

func (*EvaluateClaimConstraints) ProtoMessage

func (*EvaluateClaimConstraints) ProtoMessage()

func (*EvaluateClaimConstraints) Reset

func (m *EvaluateClaimConstraints) Reset()

func (*EvaluateClaimConstraints) Size

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

func (*EvaluateClaimConstraints) String

func (m *EvaluateClaimConstraints) String() string

func (*EvaluateClaimConstraints) Unmarshal

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

func (*EvaluateClaimConstraints) XXX_DiscardUnknown

func (m *EvaluateClaimConstraints) XXX_DiscardUnknown()

func (*EvaluateClaimConstraints) XXX_Marshal

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

func (*EvaluateClaimConstraints) XXX_Merge

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

func (*EvaluateClaimConstraints) XXX_Size

func (m *EvaluateClaimConstraints) XXX_Size() int

func (*EvaluateClaimConstraints) XXX_Unmarshal

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

type Evaluation

type Evaluation struct {
	// claim_id indicates which Claim this evaluation is for
	ClaimId string `protobuf:"bytes,1,opt,name=claim_id,json=claimId,proto3" json:"claim_id,omitempty"`
	// collection_id indicates to which Collection the claim being evaluated
	// belongs to
	CollectionId string `protobuf:"bytes,2,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	// oracle is the DID of the Oracle entity that evaluates the claim
	Oracle string `protobuf:"bytes,3,opt,name=oracle,proto3" json:"oracle,omitempty"`
	// agent is the DID of the agent that submits the evaluation
	AgentDid     string `protobuf:"bytes,4,opt,name=agent_did,json=agentDid,proto3" json:"agent_did,omitempty"`
	AgentAddress string `protobuf:"bytes,5,opt,name=agent_address,json=agentAddress,proto3" json:"agent_address,omitempty"`
	// status is the evaluation status expressed as an integer (2=approved,
	// 3=rejected, ...)
	Status EvaluationStatus `protobuf:"varint,6,opt,name=status,proto3,enum=ixo.claims.v1beta1.EvaluationStatus" json:"status,omitempty"`
	// reason is the code expressed as an integer, for why the evaluation result
	// was given (codes defined by evaluator)
	Reason uint32 `protobuf:"varint,7,opt,name=reason,proto3" json:"reason,omitempty"`
	// verificationProof is the cid of the evaluation Verfiable Credential
	VerificationProof string `protobuf:"bytes,8,opt,name=verification_proof,json=verificationProof,proto3" json:"verification_proof,omitempty"`
	// evaluationDate is the date and time that the claim evaluation was submitted
	// on-chain
	EvaluationDate *time.Time `protobuf:"bytes,9,opt,name=evaluation_date,json=evaluationDate,proto3,stdtime" json:"evaluation_date,omitempty"`
	// custom amount specified by evaluator for claim approval, if empty list then
	// use default by Collection
	Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,10,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}

func (*Evaluation) Descriptor

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

func (*Evaluation) GetAgentAddress

func (m *Evaluation) GetAgentAddress() string

func (*Evaluation) GetAgentDid

func (m *Evaluation) GetAgentDid() string

func (*Evaluation) GetAmount

func (*Evaluation) GetClaimId

func (m *Evaluation) GetClaimId() string

func (*Evaluation) GetCollectionId

func (m *Evaluation) GetCollectionId() string

func (*Evaluation) GetEvaluationDate

func (m *Evaluation) GetEvaluationDate() *time.Time

func (*Evaluation) GetOracle

func (m *Evaluation) GetOracle() string

func (*Evaluation) GetReason

func (m *Evaluation) GetReason() uint32

func (*Evaluation) GetStatus

func (m *Evaluation) GetStatus() EvaluationStatus

func (*Evaluation) GetVerificationProof

func (m *Evaluation) GetVerificationProof() string

func (*Evaluation) Marshal

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

func (*Evaluation) MarshalTo

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

func (*Evaluation) MarshalToSizedBuffer

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

func (*Evaluation) ProtoMessage

func (*Evaluation) ProtoMessage()

func (*Evaluation) Reset

func (m *Evaluation) Reset()

func (*Evaluation) Size

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

func (*Evaluation) String

func (m *Evaluation) String() string

func (*Evaluation) Unmarshal

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

func (*Evaluation) XXX_DiscardUnknown

func (m *Evaluation) XXX_DiscardUnknown()

func (*Evaluation) XXX_Marshal

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

func (*Evaluation) XXX_Merge

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

func (*Evaluation) XXX_Size

func (m *Evaluation) XXX_Size() int

func (*Evaluation) XXX_Unmarshal

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

type EvaluationStatus

type EvaluationStatus int32
const (
	EvaluationStatus_pending  EvaluationStatus = 0
	EvaluationStatus_approved EvaluationStatus = 1
	EvaluationStatus_rejected EvaluationStatus = 2
	EvaluationStatus_disputed EvaluationStatus = 3
)

func (EvaluationStatus) EnumDescriptor

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

func (EvaluationStatus) String

func (x EvaluationStatus) String() string

type GenesisState

type GenesisState struct {
	Params      Params       `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	Collections []Collection `protobuf:"bytes,2,rep,name=collections,proto3" json:"collections"`
	Claims      []Claim      `protobuf:"bytes,3,rep,name=claims,proto3" json:"claims"`
	Disputes    []Dispute    `protobuf:"bytes,4,rep,name=disputes,proto3" json:"disputes"`
}

GenesisState defines the claims module's genesis state.

func DefaultGenesisState

func DefaultGenesisState() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetClaims

func (m *GenesisState) GetClaims() []Claim

func (*GenesisState) GetCollections

func (m *GenesisState) GetCollections() []Collection

func (*GenesisState) GetDisputes

func (m *GenesisState) GetDisputes() []Dispute

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, 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 (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

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 Input

type Input struct {
	Address string                                   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Coins   github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"`
}

Input models transaction input.

func (*Input) Descriptor

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

func (*Input) Equal

func (this *Input) Equal(that interface{}) bool

func (*Input) Marshal

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

func (*Input) MarshalTo

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

func (*Input) MarshalToSizedBuffer

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

func (*Input) ProtoMessage

func (*Input) ProtoMessage()

func (*Input) Reset

func (m *Input) Reset()

func (*Input) Size

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

func (*Input) String

func (m *Input) String() string

func (*Input) Unmarshal

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

func (*Input) XXX_DiscardUnknown

func (m *Input) XXX_DiscardUnknown()

func (*Input) XXX_Marshal

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

func (*Input) XXX_Merge

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

func (*Input) XXX_Size

func (m *Input) XXX_Size() int

func (*Input) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	CreateCollection(ctx context.Context, in *MsgCreateCollection, opts ...grpc.CallOption) (*MsgCreateCollectionResponse, error)
	SubmitClaim(ctx context.Context, in *MsgSubmitClaim, opts ...grpc.CallOption) (*MsgSubmitClaimResponse, error)
	EvaluateClaim(ctx context.Context, in *MsgEvaluateClaim, opts ...grpc.CallOption) (*MsgEvaluateClaimResponse, error)
	DisputeClaim(ctx context.Context, in *MsgDisputeClaim, opts ...grpc.CallOption) (*MsgDisputeClaimResponse, error)
	WithdrawPayment(ctx context.Context, in *MsgWithdrawPayment, opts ...grpc.CallOption) (*MsgWithdrawPaymentResponse, 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 MsgCreateCollection

type MsgCreateCollection struct {
	// entity is the DID of the entity for which the claims are being created
	Entity string `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// signer address
	Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
	// protocol is the DID of the claim protocol
	Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// startDate is the date after which claims may be submitted
	StartDate *time.Time `protobuf:"bytes,4,opt,name=start_date,json=startDate,proto3,stdtime" json:"start_date,omitempty"`
	// endDate is the date after which no more claims may be submitted (no endDate
	// is allowed)
	EndDate *time.Time `protobuf:"bytes,5,opt,name=end_date,json=endDate,proto3,stdtime" json:"end_date,omitempty"`
	// quota is the maximum number of claims that may be submitted, 0 is unlimited
	Quota uint64 `protobuf:"varint,6,opt,name=quota,proto3" json:"quota,omitempty"`
	// state is the current state of this Collection (open, paused, closed)
	State CollectionState `protobuf:"varint,7,opt,name=state,proto3,enum=ixo.claims.v1beta1.CollectionState" json:"state,omitempty"`
	// payments is the amount paid for claim submission, evaluation, approval, or
	// rejection
	Payments *Payments `protobuf:"bytes,8,opt,name=payments,proto3" json:"payments,omitempty"`
}

func (*MsgCreateCollection) Descriptor

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

func (*MsgCreateCollection) GetEndDate

func (m *MsgCreateCollection) GetEndDate() *time.Time

func (*MsgCreateCollection) GetEntity

func (m *MsgCreateCollection) GetEntity() string

func (*MsgCreateCollection) GetPayments

func (m *MsgCreateCollection) GetPayments() *Payments

func (*MsgCreateCollection) GetProtocol

func (m *MsgCreateCollection) GetProtocol() string

func (*MsgCreateCollection) GetQuota

func (m *MsgCreateCollection) GetQuota() uint64

func (MsgCreateCollection) GetSignBytes

func (msg MsgCreateCollection) GetSignBytes() []byte

func (*MsgCreateCollection) GetSigner

func (m *MsgCreateCollection) GetSigner() string

func (MsgCreateCollection) GetSigners

func (msg MsgCreateCollection) GetSigners() []sdk.AccAddress

func (*MsgCreateCollection) GetStartDate

func (m *MsgCreateCollection) GetStartDate() *time.Time

func (*MsgCreateCollection) GetState

func (m *MsgCreateCollection) GetState() CollectionState

func (*MsgCreateCollection) Marshal

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

func (*MsgCreateCollection) MarshalTo

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

func (*MsgCreateCollection) MarshalToSizedBuffer

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

func (*MsgCreateCollection) ProtoMessage

func (*MsgCreateCollection) ProtoMessage()

func (*MsgCreateCollection) Reset

func (m *MsgCreateCollection) Reset()

func (MsgCreateCollection) Route

func (msg MsgCreateCollection) Route() string

func (*MsgCreateCollection) Size

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

func (*MsgCreateCollection) String

func (m *MsgCreateCollection) String() string

func (MsgCreateCollection) Type

func (msg MsgCreateCollection) Type() string

func (*MsgCreateCollection) Unmarshal

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

func (MsgCreateCollection) ValidateBasic

func (msg MsgCreateCollection) ValidateBasic() error

-------------------------- CREATE COLLECTION --------------------------

func (*MsgCreateCollection) XXX_DiscardUnknown

func (m *MsgCreateCollection) XXX_DiscardUnknown()

func (*MsgCreateCollection) XXX_Marshal

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

func (*MsgCreateCollection) XXX_Merge

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

func (*MsgCreateCollection) XXX_Size

func (m *MsgCreateCollection) XXX_Size() int

func (*MsgCreateCollection) XXX_Unmarshal

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

type MsgCreateCollectionResponse

type MsgCreateCollectionResponse struct {
}

func (*MsgCreateCollectionResponse) Descriptor

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

func (*MsgCreateCollectionResponse) Marshal

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

func (*MsgCreateCollectionResponse) MarshalTo

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

func (*MsgCreateCollectionResponse) MarshalToSizedBuffer

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

func (*MsgCreateCollectionResponse) ProtoMessage

func (*MsgCreateCollectionResponse) ProtoMessage()

func (*MsgCreateCollectionResponse) Reset

func (m *MsgCreateCollectionResponse) Reset()

func (*MsgCreateCollectionResponse) Size

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

func (*MsgCreateCollectionResponse) String

func (m *MsgCreateCollectionResponse) String() string

func (*MsgCreateCollectionResponse) Unmarshal

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

func (*MsgCreateCollectionResponse) XXX_DiscardUnknown

func (m *MsgCreateCollectionResponse) XXX_DiscardUnknown()

func (*MsgCreateCollectionResponse) XXX_Marshal

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

func (*MsgCreateCollectionResponse) XXX_Merge

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

func (*MsgCreateCollectionResponse) XXX_Size

func (m *MsgCreateCollectionResponse) XXX_Size() int

func (*MsgCreateCollectionResponse) XXX_Unmarshal

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

type MsgDisputeClaim

type MsgDisputeClaim struct {
	// subject_id for which this dispute is against, for now can only lay disputes
	// against claims
	SubjectId string `protobuf:"bytes,1,opt,name=subject_id,json=subjectId,proto3" json:"subject_id,omitempty"`
	// agent is the DID of the agent disputing the claim, agent detials wont be
	// saved in kvStore
	AgentDid     github_com_ixofoundation_ixo_blockchain_v2_x_iid_types.DIDFragment `` /* 161-byte string literal not displayed */
	AgentAddress string                                                             `protobuf:"bytes,3,opt,name=agent_address,json=agentAddress,proto3" json:"agent_address,omitempty"`
	// type is expressed as an integer, interpreted by the client
	DisputeType int32        `protobuf:"varint,4,opt,name=dispute_type,json=disputeType,proto3" json:"dispute_type,omitempty"`
	Data        *DisputeData `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
}

Agent laying dispute must be admin for Collection, or controller on Collection entity, or have authz cap, aka is agent

func (*MsgDisputeClaim) Descriptor

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

func (*MsgDisputeClaim) GetAgentAddress

func (m *MsgDisputeClaim) GetAgentAddress() string

func (*MsgDisputeClaim) GetData

func (m *MsgDisputeClaim) GetData() *DisputeData

func (*MsgDisputeClaim) GetDisputeType

func (m *MsgDisputeClaim) GetDisputeType() int32

func (MsgDisputeClaim) GetIidController

func (msg MsgDisputeClaim) GetIidController() iidtypes.DIDFragment

func (MsgDisputeClaim) GetSignBytes

func (msg MsgDisputeClaim) GetSignBytes() []byte

func (MsgDisputeClaim) GetSigners

func (msg MsgDisputeClaim) GetSigners() []sdk.AccAddress

func (*MsgDisputeClaim) GetSubjectId

func (m *MsgDisputeClaim) GetSubjectId() string

func (*MsgDisputeClaim) Marshal

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

func (*MsgDisputeClaim) MarshalTo

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

func (*MsgDisputeClaim) MarshalToSizedBuffer

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

func (*MsgDisputeClaim) ProtoMessage

func (*MsgDisputeClaim) ProtoMessage()

func (*MsgDisputeClaim) Reset

func (m *MsgDisputeClaim) Reset()

func (MsgDisputeClaim) Route

func (msg MsgDisputeClaim) Route() string

func (*MsgDisputeClaim) Size

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

func (*MsgDisputeClaim) String

func (m *MsgDisputeClaim) String() string

func (MsgDisputeClaim) Type

func (msg MsgDisputeClaim) Type() string

func (*MsgDisputeClaim) Unmarshal

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

func (MsgDisputeClaim) ValidateBasic

func (msg MsgDisputeClaim) ValidateBasic() error

-------------------------- DISPUTE CLAIM --------------------------

func (*MsgDisputeClaim) XXX_DiscardUnknown

func (m *MsgDisputeClaim) XXX_DiscardUnknown()

func (*MsgDisputeClaim) XXX_Marshal

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

func (*MsgDisputeClaim) XXX_Merge

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

func (*MsgDisputeClaim) XXX_Size

func (m *MsgDisputeClaim) XXX_Size() int

func (*MsgDisputeClaim) XXX_Unmarshal

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

type MsgDisputeClaimResponse

type MsgDisputeClaimResponse struct {
}

func (*MsgDisputeClaimResponse) Descriptor

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

func (*MsgDisputeClaimResponse) Marshal

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

func (*MsgDisputeClaimResponse) MarshalTo

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

func (*MsgDisputeClaimResponse) MarshalToSizedBuffer

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

func (*MsgDisputeClaimResponse) ProtoMessage

func (*MsgDisputeClaimResponse) ProtoMessage()

func (*MsgDisputeClaimResponse) Reset

func (m *MsgDisputeClaimResponse) Reset()

func (*MsgDisputeClaimResponse) Size

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

func (*MsgDisputeClaimResponse) String

func (m *MsgDisputeClaimResponse) String() string

func (*MsgDisputeClaimResponse) Unmarshal

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

func (*MsgDisputeClaimResponse) XXX_DiscardUnknown

func (m *MsgDisputeClaimResponse) XXX_DiscardUnknown()

func (*MsgDisputeClaimResponse) XXX_Marshal

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

func (*MsgDisputeClaimResponse) XXX_Merge

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

func (*MsgDisputeClaimResponse) XXX_Size

func (m *MsgDisputeClaimResponse) XXX_Size() int

func (*MsgDisputeClaimResponse) XXX_Unmarshal

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

type MsgEvaluateClaim

type MsgEvaluateClaim struct {
	// claimID is the unique identifier of the claim to make evaluation against
	ClaimId string `protobuf:"bytes,1,opt,name=claim_id,json=claimId,proto3" json:"claim_id,omitempty"`
	// claimID is the unique identifier of the claim to make evaluation against
	CollectionId string `protobuf:"bytes,2,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	// oracle is the DID of the Oracle entity that evaluates the claim
	Oracle string `protobuf:"bytes,3,opt,name=oracle,proto3" json:"oracle,omitempty"`
	// agent is the DID of the agent that submits the evaluation
	AgentDid     github_com_ixofoundation_ixo_blockchain_v2_x_iid_types.DIDFragment `` /* 161-byte string literal not displayed */
	AgentAddress string                                                             `protobuf:"bytes,5,opt,name=agent_address,json=agentAddress,proto3" json:"agent_address,omitempty"`
	// admin address used to sign this message, validated against Collection Admin
	AdminAddress string `protobuf:"bytes,6,opt,name=admin_address,json=adminAddress,proto3" json:"admin_address,omitempty"`
	// status is the evaluation status expressed as an integer (2=approved,
	// 3=rejected, ...)
	Status EvaluationStatus `protobuf:"varint,7,opt,name=status,proto3,enum=ixo.claims.v1beta1.EvaluationStatus" json:"status,omitempty"`
	// reason is the code expressed as an integer, for why the evaluation result
	// was given (codes defined by evaluator)
	Reason uint32 `protobuf:"varint,8,opt,name=reason,proto3" json:"reason,omitempty"`
	// verificationProof is the cid of the evaluation Verfiable Credential
	VerificationProof string `protobuf:"bytes,9,opt,name=verification_proof,json=verificationProof,proto3" json:"verification_proof,omitempty"`
	// custom amount specified by evaluator for claim approval, if empty list then
	// use default by Collection
	Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,10,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}

func (*MsgEvaluateClaim) Descriptor

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

func (*MsgEvaluateClaim) GetAdminAddress

func (m *MsgEvaluateClaim) GetAdminAddress() string

func (*MsgEvaluateClaim) GetAgentAddress

func (m *MsgEvaluateClaim) GetAgentAddress() string

func (*MsgEvaluateClaim) GetAmount

func (*MsgEvaluateClaim) GetClaimId

func (m *MsgEvaluateClaim) GetClaimId() string

func (*MsgEvaluateClaim) GetCollectionId

func (m *MsgEvaluateClaim) GetCollectionId() string

func (MsgEvaluateClaim) GetIidController

func (msg MsgEvaluateClaim) GetIidController() iidtypes.DIDFragment

func (*MsgEvaluateClaim) GetOracle

func (m *MsgEvaluateClaim) GetOracle() string

func (*MsgEvaluateClaim) GetReason

func (m *MsgEvaluateClaim) GetReason() uint32

func (MsgEvaluateClaim) GetSignBytes

func (msg MsgEvaluateClaim) GetSignBytes() []byte

func (MsgEvaluateClaim) GetSigners

func (msg MsgEvaluateClaim) GetSigners() []sdk.AccAddress

func (*MsgEvaluateClaim) GetStatus

func (m *MsgEvaluateClaim) GetStatus() EvaluationStatus

func (*MsgEvaluateClaim) GetVerificationProof

func (m *MsgEvaluateClaim) GetVerificationProof() string

func (*MsgEvaluateClaim) Marshal

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

func (*MsgEvaluateClaim) MarshalTo

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

func (*MsgEvaluateClaim) MarshalToSizedBuffer

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

func (*MsgEvaluateClaim) ProtoMessage

func (*MsgEvaluateClaim) ProtoMessage()

func (*MsgEvaluateClaim) Reset

func (m *MsgEvaluateClaim) Reset()

func (MsgEvaluateClaim) Route

func (msg MsgEvaluateClaim) Route() string

func (*MsgEvaluateClaim) Size

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

func (*MsgEvaluateClaim) String

func (m *MsgEvaluateClaim) String() string

func (MsgEvaluateClaim) Type

func (msg MsgEvaluateClaim) Type() string

func (*MsgEvaluateClaim) Unmarshal

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

func (MsgEvaluateClaim) ValidateBasic

func (msg MsgEvaluateClaim) ValidateBasic() error

-------------------------- EVALUATE CLAIM --------------------------

func (*MsgEvaluateClaim) XXX_DiscardUnknown

func (m *MsgEvaluateClaim) XXX_DiscardUnknown()

func (*MsgEvaluateClaim) XXX_Marshal

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

func (*MsgEvaluateClaim) XXX_Merge

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

func (*MsgEvaluateClaim) XXX_Size

func (m *MsgEvaluateClaim) XXX_Size() int

func (*MsgEvaluateClaim) XXX_Unmarshal

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

type MsgEvaluateClaimResponse

type MsgEvaluateClaimResponse struct {
}

func (*MsgEvaluateClaimResponse) Descriptor

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

func (*MsgEvaluateClaimResponse) Marshal

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

func (*MsgEvaluateClaimResponse) MarshalTo

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

func (*MsgEvaluateClaimResponse) MarshalToSizedBuffer

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

func (*MsgEvaluateClaimResponse) ProtoMessage

func (*MsgEvaluateClaimResponse) ProtoMessage()

func (*MsgEvaluateClaimResponse) Reset

func (m *MsgEvaluateClaimResponse) Reset()

func (*MsgEvaluateClaimResponse) Size

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

func (*MsgEvaluateClaimResponse) String

func (m *MsgEvaluateClaimResponse) String() string

func (*MsgEvaluateClaimResponse) Unmarshal

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

func (*MsgEvaluateClaimResponse) XXX_DiscardUnknown

func (m *MsgEvaluateClaimResponse) XXX_DiscardUnknown()

func (*MsgEvaluateClaimResponse) XXX_Marshal

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

func (*MsgEvaluateClaimResponse) XXX_Merge

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

func (*MsgEvaluateClaimResponse) XXX_Size

func (m *MsgEvaluateClaimResponse) XXX_Size() int

func (*MsgEvaluateClaimResponse) XXX_Unmarshal

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

type MsgServer

MsgServer is the server API for Msg service.

type MsgSubmitClaim

type MsgSubmitClaim struct {
	// collection_id indicates to which Collection this claim belongs
	CollectionId string `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	// claimID is the unique identifier of the claim in the cid hash format
	ClaimId string `protobuf:"bytes,2,opt,name=claim_id,json=claimId,proto3" json:"claim_id,omitempty"`
	// agent is the DID of the agent submitting the claim
	AgentDid     github_com_ixofoundation_ixo_blockchain_v2_x_iid_types.DIDFragment `` /* 161-byte string literal not displayed */
	AgentAddress string                                                             `protobuf:"bytes,4,opt,name=agent_address,json=agentAddress,proto3" json:"agent_address,omitempty"`
	// admin address used to sign this message, validated against Collection Admin
	AdminAddress string `protobuf:"bytes,5,opt,name=admin_address,json=adminAddress,proto3" json:"admin_address,omitempty"`
}

func (*MsgSubmitClaim) Descriptor

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

func (*MsgSubmitClaim) GetAdminAddress

func (m *MsgSubmitClaim) GetAdminAddress() string

func (*MsgSubmitClaim) GetAgentAddress

func (m *MsgSubmitClaim) GetAgentAddress() string

func (*MsgSubmitClaim) GetClaimId

func (m *MsgSubmitClaim) GetClaimId() string

func (*MsgSubmitClaim) GetCollectionId

func (m *MsgSubmitClaim) GetCollectionId() string

func (MsgSubmitClaim) GetIidController

func (msg MsgSubmitClaim) GetIidController() iidtypes.DIDFragment

func (MsgSubmitClaim) GetSignBytes

func (msg MsgSubmitClaim) GetSignBytes() []byte

func (MsgSubmitClaim) GetSigners

func (msg MsgSubmitClaim) GetSigners() []sdk.AccAddress

func (*MsgSubmitClaim) Marshal

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

func (*MsgSubmitClaim) MarshalTo

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

func (*MsgSubmitClaim) MarshalToSizedBuffer

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

func (*MsgSubmitClaim) ProtoMessage

func (*MsgSubmitClaim) ProtoMessage()

func (*MsgSubmitClaim) Reset

func (m *MsgSubmitClaim) Reset()

func (MsgSubmitClaim) Route

func (msg MsgSubmitClaim) Route() string

func (*MsgSubmitClaim) Size

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

func (*MsgSubmitClaim) String

func (m *MsgSubmitClaim) String() string

func (MsgSubmitClaim) Type

func (msg MsgSubmitClaim) Type() string

func (*MsgSubmitClaim) Unmarshal

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

func (MsgSubmitClaim) ValidateBasic

func (msg MsgSubmitClaim) ValidateBasic() error

-------------------------- SUBMIT CLAIM --------------------------

func (*MsgSubmitClaim) XXX_DiscardUnknown

func (m *MsgSubmitClaim) XXX_DiscardUnknown()

func (*MsgSubmitClaim) XXX_Marshal

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

func (*MsgSubmitClaim) XXX_Merge

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

func (*MsgSubmitClaim) XXX_Size

func (m *MsgSubmitClaim) XXX_Size() int

func (*MsgSubmitClaim) XXX_Unmarshal

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

type MsgSubmitClaimResponse

type MsgSubmitClaimResponse struct {
}

func (*MsgSubmitClaimResponse) Descriptor

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

func (*MsgSubmitClaimResponse) Marshal

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

func (*MsgSubmitClaimResponse) MarshalTo

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

func (*MsgSubmitClaimResponse) MarshalToSizedBuffer

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

func (*MsgSubmitClaimResponse) ProtoMessage

func (*MsgSubmitClaimResponse) ProtoMessage()

func (*MsgSubmitClaimResponse) Reset

func (m *MsgSubmitClaimResponse) Reset()

func (*MsgSubmitClaimResponse) Size

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

func (*MsgSubmitClaimResponse) String

func (m *MsgSubmitClaimResponse) String() string

func (*MsgSubmitClaimResponse) Unmarshal

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

func (*MsgSubmitClaimResponse) XXX_DiscardUnknown

func (m *MsgSubmitClaimResponse) XXX_DiscardUnknown()

func (*MsgSubmitClaimResponse) XXX_Marshal

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

func (*MsgSubmitClaimResponse) XXX_Merge

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

func (*MsgSubmitClaimResponse) XXX_Size

func (m *MsgSubmitClaimResponse) XXX_Size() int

func (*MsgSubmitClaimResponse) XXX_Unmarshal

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

type MsgWithdrawPayment

type MsgWithdrawPayment struct {
	// claim_id the withdrawal is for
	ClaimId string `protobuf:"bytes,1,opt,name=claim_id,json=claimId,proto3" json:"claim_id,omitempty"`
	// Inputs to the multisend tx to run to withdraw payment
	Inputs []github_com_cosmos_cosmos_sdk_x_bank_types.Input `protobuf:"bytes,2,rep,name=inputs,proto3,casttype=github.com/cosmos/cosmos-sdk/x/bank/types.Input" json:"inputs"`
	// Outputs for the multisend tx to run to withdraw payment
	Outputs []github_com_cosmos_cosmos_sdk_x_bank_types.Output `protobuf:"bytes,3,rep,name=outputs,proto3,casttype=github.com/cosmos/cosmos-sdk/x/bank/types.Output" json:"outputs"`
	// payment type to keep track what payment is for and mark claim payment
	// accordingly
	PaymentType PaymentType `` /* 131-byte string literal not displayed */
	// if empty(nil) then no contract payment
	Contract_1155Payment *Contract1155Payment `protobuf:"bytes,5,opt,name=contract_1155_payment,json=contract1155Payment,proto3" json:"contract_1155_payment,omitempty"`
	// for contract payment
	ToAddress string `protobuf:"bytes,6,opt,name=toAddress,proto3" json:"toAddress,omitempty"`
	// for contract payment
	FromAddress string `protobuf:"bytes,7,opt,name=fromAddress,proto3" json:"fromAddress,omitempty"`
	// date that grantee can execute authorization, calculated from created date
	// plus the timeout on Collection payments
	ReleaseDate *time.Time `protobuf:"bytes,8,opt,name=release_date,json=releaseDate,proto3,stdtime" json:"release_date,omitempty"`
	// admin address used to sign this message, validated against Collection Admin
	AdminAddress string `protobuf:"bytes,9,opt,name=admin_address,json=adminAddress,proto3" json:"admin_address,omitempty"`
}

func (*MsgWithdrawPayment) Descriptor

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

func (*MsgWithdrawPayment) GetAdminAddress

func (m *MsgWithdrawPayment) GetAdminAddress() string

func (*MsgWithdrawPayment) GetClaimId

func (m *MsgWithdrawPayment) GetClaimId() string

func (*MsgWithdrawPayment) GetContract_1155Payment

func (m *MsgWithdrawPayment) GetContract_1155Payment() *Contract1155Payment

func (*MsgWithdrawPayment) GetFromAddress

func (m *MsgWithdrawPayment) GetFromAddress() string

func (*MsgWithdrawPayment) GetInputs

func (*MsgWithdrawPayment) GetOutputs

func (*MsgWithdrawPayment) GetPaymentType

func (m *MsgWithdrawPayment) GetPaymentType() PaymentType

func (*MsgWithdrawPayment) GetReleaseDate

func (m *MsgWithdrawPayment) GetReleaseDate() *time.Time

func (MsgWithdrawPayment) GetSignBytes

func (msg MsgWithdrawPayment) GetSignBytes() []byte

func (MsgWithdrawPayment) GetSigners

func (msg MsgWithdrawPayment) GetSigners() []sdk.AccAddress

func (*MsgWithdrawPayment) GetToAddress

func (m *MsgWithdrawPayment) GetToAddress() string

func (*MsgWithdrawPayment) Marshal

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

func (*MsgWithdrawPayment) MarshalTo

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

func (*MsgWithdrawPayment) MarshalToSizedBuffer

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

func (*MsgWithdrawPayment) ProtoMessage

func (*MsgWithdrawPayment) ProtoMessage()

func (*MsgWithdrawPayment) Reset

func (m *MsgWithdrawPayment) Reset()

func (MsgWithdrawPayment) Route

func (msg MsgWithdrawPayment) Route() string

func (*MsgWithdrawPayment) Size

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

func (*MsgWithdrawPayment) String

func (m *MsgWithdrawPayment) String() string

func (MsgWithdrawPayment) Type

func (msg MsgWithdrawPayment) Type() string

func (*MsgWithdrawPayment) Unmarshal

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

func (MsgWithdrawPayment) ValidateBasic

func (msg MsgWithdrawPayment) ValidateBasic() error

-------------------------- WITHDRAW PAYMENT --------------------------

func (*MsgWithdrawPayment) XXX_DiscardUnknown

func (m *MsgWithdrawPayment) XXX_DiscardUnknown()

func (*MsgWithdrawPayment) XXX_Marshal

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

func (*MsgWithdrawPayment) XXX_Merge

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

func (*MsgWithdrawPayment) XXX_Size

func (m *MsgWithdrawPayment) XXX_Size() int

func (*MsgWithdrawPayment) XXX_Unmarshal

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

type MsgWithdrawPaymentResponse

type MsgWithdrawPaymentResponse struct {
}

func (*MsgWithdrawPaymentResponse) Descriptor

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

func (*MsgWithdrawPaymentResponse) Marshal

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

func (*MsgWithdrawPaymentResponse) MarshalTo

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

func (*MsgWithdrawPaymentResponse) MarshalToSizedBuffer

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

func (*MsgWithdrawPaymentResponse) ProtoMessage

func (*MsgWithdrawPaymentResponse) ProtoMessage()

func (*MsgWithdrawPaymentResponse) Reset

func (m *MsgWithdrawPaymentResponse) Reset()

func (*MsgWithdrawPaymentResponse) Size

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

func (*MsgWithdrawPaymentResponse) String

func (m *MsgWithdrawPaymentResponse) String() string

func (*MsgWithdrawPaymentResponse) Unmarshal

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

func (*MsgWithdrawPaymentResponse) XXX_DiscardUnknown

func (m *MsgWithdrawPaymentResponse) XXX_DiscardUnknown()

func (*MsgWithdrawPaymentResponse) XXX_Marshal

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

func (*MsgWithdrawPaymentResponse) XXX_Merge

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

func (*MsgWithdrawPaymentResponse) XXX_Size

func (m *MsgWithdrawPaymentResponse) XXX_Size() int

func (*MsgWithdrawPaymentResponse) XXX_Unmarshal

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

type Output

type Output struct {
	Address string                                   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Coins   github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"`
}

Output models transaction outputs.

func (*Output) Descriptor

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

func (*Output) Equal

func (this *Output) Equal(that interface{}) bool

func (*Output) Marshal

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

func (*Output) MarshalTo

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

func (*Output) MarshalToSizedBuffer

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

func (*Output) ProtoMessage

func (*Output) ProtoMessage()

func (*Output) Reset

func (m *Output) Reset()

func (*Output) Size

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

func (*Output) String

func (m *Output) String() string

func (*Output) Unmarshal

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

func (*Output) XXX_DiscardUnknown

func (m *Output) XXX_DiscardUnknown()

func (*Output) XXX_Marshal

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

func (*Output) XXX_Merge

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

func (*Output) XXX_Size

func (m *Output) XXX_Size() int

func (*Output) XXX_Unmarshal

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

type Params

type Params struct {
	CollectionSequence   uint64                                 `protobuf:"varint,1,opt,name=collection_sequence,json=collectionSequence,proto3" json:"collection_sequence,omitempty"`
	IxoAccount           string                                 `protobuf:"bytes,2,opt,name=ixo_account,json=ixoAccount,proto3" json:"ixo_account,omitempty"`
	NetworkFeePercentage github_com_cosmos_cosmos_sdk_types.Dec `` /* 163-byte string literal not displayed */
	NodeFeePercentage    github_com_cosmos_cosmos_sdk_types.Dec `` /* 154-byte string literal not displayed */
}

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams(collectionSequence uint64, ixoAccount string,
	networkFeePercentage, nodeFeePercentage sdk.Dec) Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) GetCollectionSequence

func (m *Params) GetCollectionSequence() uint64

func (*Params) GetIxoAccount

func (m *Params) GetIxoAccount() string

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

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

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type Payment

type Payment struct {
	// account is the entity account address from which the payment will be made
	Account string                                   `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Amount  github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
	// if empty(nil) then no contract payment, not allowed for Evaluation Payment
	Contract_1155Payment *Contract1155Payment `protobuf:"bytes,3,opt,name=contract_1155_payment,json=contract1155Payment,proto3" json:"contract_1155_payment,omitempty"`
	// timeout after claim/evaluation to create authZ for payment, if 0 then
	// immidiate direct payment
	TimeoutNs time.Duration `protobuf:"bytes,4,opt,name=timeout_ns,json=timeoutNs,proto3,stdduration" json:"timeout_ns"`
}

func (*Payment) Descriptor

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

func (*Payment) GetAccount

func (m *Payment) GetAccount() string

func (*Payment) GetAmount

func (*Payment) GetContract_1155Payment

func (m *Payment) GetContract_1155Payment() *Contract1155Payment

func (*Payment) GetTimeoutNs

func (m *Payment) GetTimeoutNs() time.Duration

func (*Payment) Marshal

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

func (*Payment) MarshalTo

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

func (*Payment) MarshalToSizedBuffer

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

func (*Payment) ProtoMessage

func (*Payment) ProtoMessage()

func (*Payment) Reset

func (m *Payment) Reset()

func (*Payment) Size

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

func (*Payment) String

func (m *Payment) String() string

func (*Payment) Unmarshal

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

func (Payment) Validate

func (p Payment) Validate() error

func (*Payment) XXX_DiscardUnknown

func (m *Payment) XXX_DiscardUnknown()

func (*Payment) XXX_Marshal

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

func (*Payment) XXX_Merge

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

func (*Payment) XXX_Size

func (m *Payment) XXX_Size() int

func (*Payment) XXX_Unmarshal

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

type PaymentStatus

type PaymentStatus int32
const (
	PaymentStatus_no_payment PaymentStatus = 0
	PaymentStatus_promised   PaymentStatus = 1
	PaymentStatus_authorized PaymentStatus = 2
	PaymentStatus_gauranteed PaymentStatus = 3
	PaymentStatus_paid       PaymentStatus = 4
	PaymentStatus_failed     PaymentStatus = 5
	PaymentStatus_disputed   PaymentStatus = 6
)

func (PaymentStatus) EnumDescriptor

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

func (PaymentStatus) String

func (x PaymentStatus) String() string

type PaymentType

type PaymentType int32
const (
	PaymentType_submission PaymentType = 0
	PaymentType_approval   PaymentType = 1
	PaymentType_evaluation PaymentType = 2
	PaymentType_rejection  PaymentType = 3
)

func (PaymentType) EnumDescriptor

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

func (PaymentType) String

func (x PaymentType) String() string

type PaymentWithdrawCreatedEvent

type PaymentWithdrawCreatedEvent struct {
	Withdraw *WithdrawPaymentConstraints `protobuf:"bytes,1,opt,name=withdraw,proto3" json:"withdraw,omitempty"`
}

ClaimDisputedEvent is an event triggered on a Claim dispute

func (*PaymentWithdrawCreatedEvent) Descriptor

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

func (*PaymentWithdrawCreatedEvent) GetWithdraw

func (*PaymentWithdrawCreatedEvent) Marshal

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

func (*PaymentWithdrawCreatedEvent) MarshalTo

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

func (*PaymentWithdrawCreatedEvent) MarshalToSizedBuffer

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

func (*PaymentWithdrawCreatedEvent) ProtoMessage

func (*PaymentWithdrawCreatedEvent) ProtoMessage()

func (*PaymentWithdrawCreatedEvent) Reset

func (m *PaymentWithdrawCreatedEvent) Reset()

func (*PaymentWithdrawCreatedEvent) Size

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

func (*PaymentWithdrawCreatedEvent) String

func (m *PaymentWithdrawCreatedEvent) String() string

func (*PaymentWithdrawCreatedEvent) Unmarshal

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

func (*PaymentWithdrawCreatedEvent) XXX_DiscardUnknown

func (m *PaymentWithdrawCreatedEvent) XXX_DiscardUnknown()

func (*PaymentWithdrawCreatedEvent) XXX_Marshal

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

func (*PaymentWithdrawCreatedEvent) XXX_Merge

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

func (*PaymentWithdrawCreatedEvent) XXX_Size

func (m *PaymentWithdrawCreatedEvent) XXX_Size() int

func (*PaymentWithdrawCreatedEvent) XXX_Unmarshal

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

type PaymentWithdrawnEvent

type PaymentWithdrawnEvent struct {
	Withdraw *WithdrawPaymentConstraints `protobuf:"bytes,1,opt,name=withdraw,proto3" json:"withdraw,omitempty"`
}

ClaimDisputedEvent is an event triggered on a Claim dispute

func (*PaymentWithdrawnEvent) Descriptor

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

func (*PaymentWithdrawnEvent) GetWithdraw

func (*PaymentWithdrawnEvent) Marshal

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

func (*PaymentWithdrawnEvent) MarshalTo

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

func (*PaymentWithdrawnEvent) MarshalToSizedBuffer

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

func (*PaymentWithdrawnEvent) ProtoMessage

func (*PaymentWithdrawnEvent) ProtoMessage()

func (*PaymentWithdrawnEvent) Reset

func (m *PaymentWithdrawnEvent) Reset()

func (*PaymentWithdrawnEvent) Size

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

func (*PaymentWithdrawnEvent) String

func (m *PaymentWithdrawnEvent) String() string

func (*PaymentWithdrawnEvent) Unmarshal

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

func (*PaymentWithdrawnEvent) XXX_DiscardUnknown

func (m *PaymentWithdrawnEvent) XXX_DiscardUnknown()

func (*PaymentWithdrawnEvent) XXX_Marshal

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

func (*PaymentWithdrawnEvent) XXX_Merge

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

func (*PaymentWithdrawnEvent) XXX_Size

func (m *PaymentWithdrawnEvent) XXX_Size() int

func (*PaymentWithdrawnEvent) XXX_Unmarshal

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

type Payments

type Payments struct {
	Submission *Payment `protobuf:"bytes,1,opt,name=submission,proto3" json:"submission,omitempty"`
	Evaluation *Payment `protobuf:"bytes,2,opt,name=evaluation,proto3" json:"evaluation,omitempty"`
	Approval   *Payment `protobuf:"bytes,3,opt,name=approval,proto3" json:"approval,omitempty"`
	Rejection  *Payment `protobuf:"bytes,4,opt,name=rejection,proto3" json:"rejection,omitempty"`
}

func (Payments) AccountsIsEntityAccounts

func (p Payments) AccountsIsEntityAccounts(entity entitytypes.Entity) bool

func (*Payments) Descriptor

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

func (*Payments) GetApproval

func (m *Payments) GetApproval() *Payment

func (*Payments) GetEvaluation

func (m *Payments) GetEvaluation() *Payment

func (*Payments) GetRejection

func (m *Payments) GetRejection() *Payment

func (*Payments) GetSubmission

func (m *Payments) GetSubmission() *Payment

func (*Payments) Marshal

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

func (*Payments) MarshalTo

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

func (*Payments) MarshalToSizedBuffer

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

func (*Payments) ProtoMessage

func (*Payments) ProtoMessage()

func (*Payments) Reset

func (m *Payments) Reset()

func (*Payments) Size

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

func (*Payments) String

func (m *Payments) String() string

func (*Payments) Unmarshal

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

func (*Payments) XXX_DiscardUnknown

func (m *Payments) XXX_DiscardUnknown()

func (*Payments) XXX_Marshal

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

func (*Payments) XXX_Merge

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

func (*Payments) XXX_Size

func (m *Payments) XXX_Size() int

func (*Payments) XXX_Unmarshal

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

type QueryClaimListRequest

type QueryClaimListRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryClaimListRequest) Descriptor

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

func (*QueryClaimListRequest) GetPagination

func (m *QueryClaimListRequest) GetPagination() *query.PageRequest

func (*QueryClaimListRequest) Marshal

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

func (*QueryClaimListRequest) MarshalTo

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

func (*QueryClaimListRequest) MarshalToSizedBuffer

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

func (*QueryClaimListRequest) ProtoMessage

func (*QueryClaimListRequest) ProtoMessage()

func (*QueryClaimListRequest) Reset

func (m *QueryClaimListRequest) Reset()

func (*QueryClaimListRequest) Size

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

func (*QueryClaimListRequest) String

func (m *QueryClaimListRequest) String() string

func (*QueryClaimListRequest) Unmarshal

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

func (*QueryClaimListRequest) XXX_DiscardUnknown

func (m *QueryClaimListRequest) XXX_DiscardUnknown()

func (*QueryClaimListRequest) XXX_Marshal

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

func (*QueryClaimListRequest) XXX_Merge

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

func (*QueryClaimListRequest) XXX_Size

func (m *QueryClaimListRequest) XXX_Size() int

func (*QueryClaimListRequest) XXX_Unmarshal

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

type QueryClaimListResponse

type QueryClaimListResponse struct {
	Claims     []Claim             `protobuf:"bytes,1,rep,name=claims,proto3" json:"claims"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryClaimListResponse) Descriptor

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

func (*QueryClaimListResponse) GetClaims

func (m *QueryClaimListResponse) GetClaims() []Claim

func (*QueryClaimListResponse) GetPagination

func (m *QueryClaimListResponse) GetPagination() *query.PageResponse

func (*QueryClaimListResponse) Marshal

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

func (*QueryClaimListResponse) MarshalTo

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

func (*QueryClaimListResponse) MarshalToSizedBuffer

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

func (*QueryClaimListResponse) ProtoMessage

func (*QueryClaimListResponse) ProtoMessage()

func (*QueryClaimListResponse) Reset

func (m *QueryClaimListResponse) Reset()

func (*QueryClaimListResponse) Size

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

func (*QueryClaimListResponse) String

func (m *QueryClaimListResponse) String() string

func (*QueryClaimListResponse) Unmarshal

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

func (*QueryClaimListResponse) XXX_DiscardUnknown

func (m *QueryClaimListResponse) XXX_DiscardUnknown()

func (*QueryClaimListResponse) XXX_Marshal

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

func (*QueryClaimListResponse) XXX_Merge

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

func (*QueryClaimListResponse) XXX_Size

func (m *QueryClaimListResponse) XXX_Size() int

func (*QueryClaimListResponse) XXX_Unmarshal

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

type QueryClaimRequest

type QueryClaimRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*QueryClaimRequest) Descriptor

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

func (*QueryClaimRequest) GetId

func (m *QueryClaimRequest) GetId() string

func (*QueryClaimRequest) Marshal

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

func (*QueryClaimRequest) MarshalTo

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

func (*QueryClaimRequest) MarshalToSizedBuffer

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

func (*QueryClaimRequest) ProtoMessage

func (*QueryClaimRequest) ProtoMessage()

func (*QueryClaimRequest) Reset

func (m *QueryClaimRequest) Reset()

func (*QueryClaimRequest) Size

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

func (*QueryClaimRequest) String

func (m *QueryClaimRequest) String() string

func (*QueryClaimRequest) Unmarshal

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

func (*QueryClaimRequest) XXX_DiscardUnknown

func (m *QueryClaimRequest) XXX_DiscardUnknown()

func (*QueryClaimRequest) XXX_Marshal

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

func (*QueryClaimRequest) XXX_Merge

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

func (*QueryClaimRequest) XXX_Size

func (m *QueryClaimRequest) XXX_Size() int

func (*QueryClaimRequest) XXX_Unmarshal

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

type QueryClaimResponse

type QueryClaimResponse struct {
	Claim Claim `protobuf:"bytes,1,opt,name=claim,proto3" json:"claim"`
}

func (*QueryClaimResponse) Descriptor

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

func (*QueryClaimResponse) GetClaim

func (m *QueryClaimResponse) GetClaim() Claim

func (*QueryClaimResponse) Marshal

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

func (*QueryClaimResponse) MarshalTo

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

func (*QueryClaimResponse) MarshalToSizedBuffer

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

func (*QueryClaimResponse) ProtoMessage

func (*QueryClaimResponse) ProtoMessage()

func (*QueryClaimResponse) Reset

func (m *QueryClaimResponse) Reset()

func (*QueryClaimResponse) Size

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

func (*QueryClaimResponse) String

func (m *QueryClaimResponse) String() string

func (*QueryClaimResponse) Unmarshal

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

func (*QueryClaimResponse) XXX_DiscardUnknown

func (m *QueryClaimResponse) XXX_DiscardUnknown()

func (*QueryClaimResponse) XXX_Marshal

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

func (*QueryClaimResponse) XXX_Merge

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

func (*QueryClaimResponse) XXX_Size

func (m *QueryClaimResponse) XXX_Size() int

func (*QueryClaimResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	Collection(ctx context.Context, in *QueryCollectionRequest, opts ...grpc.CallOption) (*QueryCollectionResponse, error)
	CollectionList(ctx context.Context, in *QueryCollectionListRequest, opts ...grpc.CallOption) (*QueryCollectionListResponse, error)
	Claim(ctx context.Context, in *QueryClaimRequest, opts ...grpc.CallOption) (*QueryClaimResponse, error)
	ClaimList(ctx context.Context, in *QueryClaimListRequest, opts ...grpc.CallOption) (*QueryClaimListResponse, error)
	Dispute(ctx context.Context, in *QueryDisputeRequest, opts ...grpc.CallOption) (*QueryDisputeResponse, error)
	DisputeList(ctx context.Context, in *QueryDisputeListRequest, opts ...grpc.CallOption) (*QueryDisputeListResponse, 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 QueryCollectionListRequest

type QueryCollectionListRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryCollectionListRequest) Descriptor

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

func (*QueryCollectionListRequest) GetPagination

func (m *QueryCollectionListRequest) GetPagination() *query.PageRequest

func (*QueryCollectionListRequest) Marshal

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

func (*QueryCollectionListRequest) MarshalTo

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

func (*QueryCollectionListRequest) MarshalToSizedBuffer

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

func (*QueryCollectionListRequest) ProtoMessage

func (*QueryCollectionListRequest) ProtoMessage()

func (*QueryCollectionListRequest) Reset

func (m *QueryCollectionListRequest) Reset()

func (*QueryCollectionListRequest) Size

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

func (*QueryCollectionListRequest) String

func (m *QueryCollectionListRequest) String() string

func (*QueryCollectionListRequest) Unmarshal

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

func (*QueryCollectionListRequest) XXX_DiscardUnknown

func (m *QueryCollectionListRequest) XXX_DiscardUnknown()

func (*QueryCollectionListRequest) XXX_Marshal

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

func (*QueryCollectionListRequest) XXX_Merge

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

func (*QueryCollectionListRequest) XXX_Size

func (m *QueryCollectionListRequest) XXX_Size() int

func (*QueryCollectionListRequest) XXX_Unmarshal

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

type QueryCollectionListResponse

type QueryCollectionListResponse struct {
	Collections []Collection        `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections"`
	Pagination  *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryCollectionListResponse) Descriptor

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

func (*QueryCollectionListResponse) GetCollections

func (m *QueryCollectionListResponse) GetCollections() []Collection

func (*QueryCollectionListResponse) GetPagination

func (m *QueryCollectionListResponse) GetPagination() *query.PageResponse

func (*QueryCollectionListResponse) Marshal

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

func (*QueryCollectionListResponse) MarshalTo

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

func (*QueryCollectionListResponse) MarshalToSizedBuffer

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

func (*QueryCollectionListResponse) ProtoMessage

func (*QueryCollectionListResponse) ProtoMessage()

func (*QueryCollectionListResponse) Reset

func (m *QueryCollectionListResponse) Reset()

func (*QueryCollectionListResponse) Size

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

func (*QueryCollectionListResponse) String

func (m *QueryCollectionListResponse) String() string

func (*QueryCollectionListResponse) Unmarshal

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

func (*QueryCollectionListResponse) XXX_DiscardUnknown

func (m *QueryCollectionListResponse) XXX_DiscardUnknown()

func (*QueryCollectionListResponse) XXX_Marshal

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

func (*QueryCollectionListResponse) XXX_Merge

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

func (*QueryCollectionListResponse) XXX_Size

func (m *QueryCollectionListResponse) XXX_Size() int

func (*QueryCollectionListResponse) XXX_Unmarshal

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

type QueryCollectionRequest

type QueryCollectionRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*QueryCollectionRequest) Descriptor

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

func (*QueryCollectionRequest) GetId

func (m *QueryCollectionRequest) GetId() string

func (*QueryCollectionRequest) Marshal

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

func (*QueryCollectionRequest) MarshalTo

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

func (*QueryCollectionRequest) MarshalToSizedBuffer

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

func (*QueryCollectionRequest) ProtoMessage

func (*QueryCollectionRequest) ProtoMessage()

func (*QueryCollectionRequest) Reset

func (m *QueryCollectionRequest) Reset()

func (*QueryCollectionRequest) Size

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

func (*QueryCollectionRequest) String

func (m *QueryCollectionRequest) String() string

func (*QueryCollectionRequest) Unmarshal

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

func (*QueryCollectionRequest) XXX_DiscardUnknown

func (m *QueryCollectionRequest) XXX_DiscardUnknown()

func (*QueryCollectionRequest) XXX_Marshal

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

func (*QueryCollectionRequest) XXX_Merge

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

func (*QueryCollectionRequest) XXX_Size

func (m *QueryCollectionRequest) XXX_Size() int

func (*QueryCollectionRequest) XXX_Unmarshal

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

type QueryCollectionResponse

type QueryCollectionResponse struct {
	Collection Collection `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection"`
}

func (*QueryCollectionResponse) Descriptor

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

func (*QueryCollectionResponse) GetCollection

func (m *QueryCollectionResponse) GetCollection() Collection

func (*QueryCollectionResponse) Marshal

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

func (*QueryCollectionResponse) MarshalTo

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

func (*QueryCollectionResponse) MarshalToSizedBuffer

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

func (*QueryCollectionResponse) ProtoMessage

func (*QueryCollectionResponse) ProtoMessage()

func (*QueryCollectionResponse) Reset

func (m *QueryCollectionResponse) Reset()

func (*QueryCollectionResponse) Size

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

func (*QueryCollectionResponse) String

func (m *QueryCollectionResponse) String() string

func (*QueryCollectionResponse) Unmarshal

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

func (*QueryCollectionResponse) XXX_DiscardUnknown

func (m *QueryCollectionResponse) XXX_DiscardUnknown()

func (*QueryCollectionResponse) XXX_Marshal

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

func (*QueryCollectionResponse) XXX_Merge

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

func (*QueryCollectionResponse) XXX_Size

func (m *QueryCollectionResponse) XXX_Size() int

func (*QueryCollectionResponse) XXX_Unmarshal

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

type QueryDisputeListRequest

type QueryDisputeListRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryDisputeListRequest) Descriptor

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

func (*QueryDisputeListRequest) GetPagination

func (m *QueryDisputeListRequest) GetPagination() *query.PageRequest

func (*QueryDisputeListRequest) Marshal

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

func (*QueryDisputeListRequest) MarshalTo

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

func (*QueryDisputeListRequest) MarshalToSizedBuffer

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

func (*QueryDisputeListRequest) ProtoMessage

func (*QueryDisputeListRequest) ProtoMessage()

func (*QueryDisputeListRequest) Reset

func (m *QueryDisputeListRequest) Reset()

func (*QueryDisputeListRequest) Size

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

func (*QueryDisputeListRequest) String

func (m *QueryDisputeListRequest) String() string

func (*QueryDisputeListRequest) Unmarshal

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

func (*QueryDisputeListRequest) XXX_DiscardUnknown

func (m *QueryDisputeListRequest) XXX_DiscardUnknown()

func (*QueryDisputeListRequest) XXX_Marshal

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

func (*QueryDisputeListRequest) XXX_Merge

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

func (*QueryDisputeListRequest) XXX_Size

func (m *QueryDisputeListRequest) XXX_Size() int

func (*QueryDisputeListRequest) XXX_Unmarshal

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

type QueryDisputeListResponse

type QueryDisputeListResponse struct {
	Disputes   []Dispute           `protobuf:"bytes,1,rep,name=disputes,proto3" json:"disputes"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryDisputeListResponse) Descriptor

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

func (*QueryDisputeListResponse) GetDisputes

func (m *QueryDisputeListResponse) GetDisputes() []Dispute

func (*QueryDisputeListResponse) GetPagination

func (m *QueryDisputeListResponse) GetPagination() *query.PageResponse

func (*QueryDisputeListResponse) Marshal

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

func (*QueryDisputeListResponse) MarshalTo

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

func (*QueryDisputeListResponse) MarshalToSizedBuffer

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

func (*QueryDisputeListResponse) ProtoMessage

func (*QueryDisputeListResponse) ProtoMessage()

func (*QueryDisputeListResponse) Reset

func (m *QueryDisputeListResponse) Reset()

func (*QueryDisputeListResponse) Size

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

func (*QueryDisputeListResponse) String

func (m *QueryDisputeListResponse) String() string

func (*QueryDisputeListResponse) Unmarshal

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

func (*QueryDisputeListResponse) XXX_DiscardUnknown

func (m *QueryDisputeListResponse) XXX_DiscardUnknown()

func (*QueryDisputeListResponse) XXX_Marshal

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

func (*QueryDisputeListResponse) XXX_Merge

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

func (*QueryDisputeListResponse) XXX_Size

func (m *QueryDisputeListResponse) XXX_Size() int

func (*QueryDisputeListResponse) XXX_Unmarshal

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

type QueryDisputeRequest

type QueryDisputeRequest struct {
	Proof string `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"`
}

func (*QueryDisputeRequest) Descriptor

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

func (*QueryDisputeRequest) GetProof

func (m *QueryDisputeRequest) GetProof() string

func (*QueryDisputeRequest) Marshal

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

func (*QueryDisputeRequest) MarshalTo

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

func (*QueryDisputeRequest) MarshalToSizedBuffer

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

func (*QueryDisputeRequest) ProtoMessage

func (*QueryDisputeRequest) ProtoMessage()

func (*QueryDisputeRequest) Reset

func (m *QueryDisputeRequest) Reset()

func (*QueryDisputeRequest) Size

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

func (*QueryDisputeRequest) String

func (m *QueryDisputeRequest) String() string

func (*QueryDisputeRequest) Unmarshal

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

func (*QueryDisputeRequest) XXX_DiscardUnknown

func (m *QueryDisputeRequest) XXX_DiscardUnknown()

func (*QueryDisputeRequest) XXX_Marshal

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

func (*QueryDisputeRequest) XXX_Merge

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

func (*QueryDisputeRequest) XXX_Size

func (m *QueryDisputeRequest) XXX_Size() int

func (*QueryDisputeRequest) XXX_Unmarshal

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

type QueryDisputeResponse

type QueryDisputeResponse struct {
	Dispute Dispute `protobuf:"bytes,1,opt,name=dispute,proto3" json:"dispute"`
}

func (*QueryDisputeResponse) Descriptor

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

func (*QueryDisputeResponse) GetDispute

func (m *QueryDisputeResponse) GetDispute() Dispute

func (*QueryDisputeResponse) Marshal

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

func (*QueryDisputeResponse) MarshalTo

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

func (*QueryDisputeResponse) MarshalToSizedBuffer

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

func (*QueryDisputeResponse) ProtoMessage

func (*QueryDisputeResponse) ProtoMessage()

func (*QueryDisputeResponse) Reset

func (m *QueryDisputeResponse) Reset()

func (*QueryDisputeResponse) Size

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

func (*QueryDisputeResponse) String

func (m *QueryDisputeResponse) String() string

func (*QueryDisputeResponse) Unmarshal

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

func (*QueryDisputeResponse) XXX_DiscardUnknown

func (m *QueryDisputeResponse) XXX_DiscardUnknown()

func (*QueryDisputeResponse) XXX_Marshal

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

func (*QueryDisputeResponse) XXX_Merge

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

func (*QueryDisputeResponse) XXX_Size

func (m *QueryDisputeResponse) XXX_Size() int

func (*QueryDisputeResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

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 holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

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 SubmitClaimAuthorization

type SubmitClaimAuthorization struct {
	// address of admin
	Admin       string                    `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	Constraints []*SubmitClaimConstraints `protobuf:"bytes,2,rep,name=constraints,proto3" json:"constraints,omitempty"`
}

func NewSubmitClaimAuthorization

func NewSubmitClaimAuthorization(admin string, constraints []*SubmitClaimConstraints) *SubmitClaimAuthorization

NewSubmitClaimAuthorization creates a new SubmitClaimAuthorization object.

func (SubmitClaimAuthorization) Accept

Accept implements Authorization.Accept.

func (*SubmitClaimAuthorization) Descriptor

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

func (*SubmitClaimAuthorization) GetAdmin

func (m *SubmitClaimAuthorization) GetAdmin() string

func (*SubmitClaimAuthorization) GetConstraints

func (m *SubmitClaimAuthorization) GetConstraints() []*SubmitClaimConstraints

func (*SubmitClaimAuthorization) Marshal

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

func (*SubmitClaimAuthorization) MarshalTo

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

func (*SubmitClaimAuthorization) MarshalToSizedBuffer

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

func (SubmitClaimAuthorization) MsgTypeURL

func (a SubmitClaimAuthorization) MsgTypeURL() string

MsgTypeURL implements Authorization.MsgTypeURL.

func (*SubmitClaimAuthorization) ProtoMessage

func (*SubmitClaimAuthorization) ProtoMessage()

func (*SubmitClaimAuthorization) Reset

func (m *SubmitClaimAuthorization) Reset()

func (*SubmitClaimAuthorization) Size

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

func (*SubmitClaimAuthorization) String

func (m *SubmitClaimAuthorization) String() string

func (*SubmitClaimAuthorization) Unmarshal

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

func (SubmitClaimAuthorization) ValidateBasic

func (a SubmitClaimAuthorization) ValidateBasic() error

ValidateBasic implements Authorization.ValidateBasic.

func (*SubmitClaimAuthorization) XXX_DiscardUnknown

func (m *SubmitClaimAuthorization) XXX_DiscardUnknown()

func (*SubmitClaimAuthorization) XXX_Marshal

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

func (*SubmitClaimAuthorization) XXX_Merge

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

func (*SubmitClaimAuthorization) XXX_Size

func (m *SubmitClaimAuthorization) XXX_Size() int

func (*SubmitClaimAuthorization) XXX_Unmarshal

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

type SubmitClaimConstraints

type SubmitClaimConstraints struct {
	// collection_id indicates to which Collection this claim belongs
	CollectionId string `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	AgentQuota   uint64 `protobuf:"varint,2,opt,name=agent_quota,json=agentQuota,proto3" json:"agent_quota,omitempty"`
}

func (*SubmitClaimConstraints) Descriptor

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

func (*SubmitClaimConstraints) GetAgentQuota

func (m *SubmitClaimConstraints) GetAgentQuota() uint64

func (*SubmitClaimConstraints) GetCollectionId

func (m *SubmitClaimConstraints) GetCollectionId() string

func (*SubmitClaimConstraints) Marshal

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

func (*SubmitClaimConstraints) MarshalTo

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

func (*SubmitClaimConstraints) MarshalToSizedBuffer

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

func (*SubmitClaimConstraints) ProtoMessage

func (*SubmitClaimConstraints) ProtoMessage()

func (*SubmitClaimConstraints) Reset

func (m *SubmitClaimConstraints) Reset()

func (*SubmitClaimConstraints) Size

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

func (*SubmitClaimConstraints) String

func (m *SubmitClaimConstraints) String() string

func (*SubmitClaimConstraints) Unmarshal

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

func (*SubmitClaimConstraints) XXX_DiscardUnknown

func (m *SubmitClaimConstraints) XXX_DiscardUnknown()

func (*SubmitClaimConstraints) XXX_Marshal

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

func (*SubmitClaimConstraints) XXX_Merge

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

func (*SubmitClaimConstraints) XXX_Size

func (m *SubmitClaimConstraints) XXX_Size() int

func (*SubmitClaimConstraints) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CreateCollection

func (*UnimplementedMsgServer) DisputeClaim

func (*UnimplementedMsgServer) EvaluateClaim

func (*UnimplementedMsgServer) SubmitClaim

func (*UnimplementedMsgServer) WithdrawPayment

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Claim

func (*UnimplementedQueryServer) ClaimList

func (*UnimplementedQueryServer) Collection

func (*UnimplementedQueryServer) CollectionList

func (*UnimplementedQueryServer) Dispute

func (*UnimplementedQueryServer) DisputeList

func (*UnimplementedQueryServer) Params

type WithdrawPaymentAuthorization

type WithdrawPaymentAuthorization struct {
	// address of admin
	Admin       string                        `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	Constraints []*WithdrawPaymentConstraints `protobuf:"bytes,2,rep,name=constraints,proto3" json:"constraints,omitempty"`
}

func NewWithdrawPaymentAuthorization

func NewWithdrawPaymentAuthorization(admin string, constraints []*WithdrawPaymentConstraints) *WithdrawPaymentAuthorization

NewWithdrawPaymentAuthorization creates a new WithdrawPaymentAuthorization object.

func (WithdrawPaymentAuthorization) Accept

Accept implements Authorization.Accept.

func (*WithdrawPaymentAuthorization) Descriptor

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

func (*WithdrawPaymentAuthorization) GetAdmin

func (m *WithdrawPaymentAuthorization) GetAdmin() string

func (*WithdrawPaymentAuthorization) GetConstraints

func (*WithdrawPaymentAuthorization) Marshal

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

func (*WithdrawPaymentAuthorization) MarshalTo

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

func (*WithdrawPaymentAuthorization) MarshalToSizedBuffer

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

func (WithdrawPaymentAuthorization) MsgTypeURL

func (a WithdrawPaymentAuthorization) MsgTypeURL() string

MsgTypeURL implements Authorization.MsgTypeURL.

func (*WithdrawPaymentAuthorization) ProtoMessage

func (*WithdrawPaymentAuthorization) ProtoMessage()

func (*WithdrawPaymentAuthorization) Reset

func (m *WithdrawPaymentAuthorization) Reset()

func (*WithdrawPaymentAuthorization) Size

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

func (*WithdrawPaymentAuthorization) String

func (*WithdrawPaymentAuthorization) Unmarshal

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

func (WithdrawPaymentAuthorization) ValidateBasic

func (a WithdrawPaymentAuthorization) ValidateBasic() error

ValidateBasic implements Authorization.ValidateBasic.

func (*WithdrawPaymentAuthorization) XXX_DiscardUnknown

func (m *WithdrawPaymentAuthorization) XXX_DiscardUnknown()

func (*WithdrawPaymentAuthorization) XXX_Marshal

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

func (*WithdrawPaymentAuthorization) XXX_Merge

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

func (*WithdrawPaymentAuthorization) XXX_Size

func (m *WithdrawPaymentAuthorization) XXX_Size() int

func (*WithdrawPaymentAuthorization) XXX_Unmarshal

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

type WithdrawPaymentConstraints

type WithdrawPaymentConstraints struct {
	// claim_id the withdrawal is for
	ClaimId string `protobuf:"bytes,1,opt,name=claim_id,json=claimId,proto3" json:"claim_id,omitempty"`
	// Inputs to the multisend tx to run to withdraw payment
	Inputs []github_com_cosmos_cosmos_sdk_x_bank_types.Input `protobuf:"bytes,2,rep,name=inputs,proto3,casttype=github.com/cosmos/cosmos-sdk/x/bank/types.Input" json:"inputs"`
	// Outputs for the multisend tx to run to withdraw payment
	Outputs []github_com_cosmos_cosmos_sdk_x_bank_types.Output `protobuf:"bytes,3,rep,name=outputs,proto3,casttype=github.com/cosmos/cosmos-sdk/x/bank/types.Output" json:"outputs"`
	// payment type to keep track what payment is for and mark claim payment
	// accordingly
	PaymentType PaymentType `` /* 131-byte string literal not displayed */
	// if empty(nil) then no contract payment
	Contract_1155Payment *Contract1155Payment `protobuf:"bytes,5,opt,name=contract_1155_payment,json=contract1155Payment,proto3" json:"contract_1155_payment,omitempty"`
	// for contract payment
	ToAddress string `protobuf:"bytes,6,opt,name=toAddress,proto3" json:"toAddress,omitempty"`
	// for contract payment
	FromAddress string `protobuf:"bytes,7,opt,name=fromAddress,proto3" json:"fromAddress,omitempty"`
	// date that grantee can execute authorization, calculated from created date
	// plus the timeout on Collection payments, if null then none
	ReleaseDate *time.Time `protobuf:"bytes,8,opt,name=release_date,json=releaseDate,proto3,stdtime" json:"release_date,omitempty"`
}

func (*WithdrawPaymentConstraints) Descriptor

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

func (*WithdrawPaymentConstraints) GetClaimId

func (m *WithdrawPaymentConstraints) GetClaimId() string

func (*WithdrawPaymentConstraints) GetContract_1155Payment

func (m *WithdrawPaymentConstraints) GetContract_1155Payment() *Contract1155Payment

func (*WithdrawPaymentConstraints) GetFromAddress

func (m *WithdrawPaymentConstraints) GetFromAddress() string

func (*WithdrawPaymentConstraints) GetInputs

func (*WithdrawPaymentConstraints) GetOutputs

func (*WithdrawPaymentConstraints) GetPaymentType

func (m *WithdrawPaymentConstraints) GetPaymentType() PaymentType

func (*WithdrawPaymentConstraints) GetReleaseDate

func (m *WithdrawPaymentConstraints) GetReleaseDate() *time.Time

func (*WithdrawPaymentConstraints) GetToAddress

func (m *WithdrawPaymentConstraints) GetToAddress() string

func (*WithdrawPaymentConstraints) Marshal

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

func (*WithdrawPaymentConstraints) MarshalTo

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

func (*WithdrawPaymentConstraints) MarshalToSizedBuffer

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

func (*WithdrawPaymentConstraints) ProtoMessage

func (*WithdrawPaymentConstraints) ProtoMessage()

func (*WithdrawPaymentConstraints) Reset

func (m *WithdrawPaymentConstraints) Reset()

func (*WithdrawPaymentConstraints) Size

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

func (*WithdrawPaymentConstraints) String

func (m *WithdrawPaymentConstraints) String() string

func (*WithdrawPaymentConstraints) Unmarshal

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

func (*WithdrawPaymentConstraints) XXX_DiscardUnknown

func (m *WithdrawPaymentConstraints) XXX_DiscardUnknown()

func (*WithdrawPaymentConstraints) XXX_Marshal

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

func (*WithdrawPaymentConstraints) XXX_Merge

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

func (*WithdrawPaymentConstraints) XXX_Size

func (m *WithdrawPaymentConstraints) XXX_Size() int

func (*WithdrawPaymentConstraints) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL