Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func CreateNewCollectionEscrow(ctx sdk.Context, accKeeper AccountKeeper, collectionId string) (sdk.AccAddress, error)
- func GetModuleAccountAddressEscrow(collectionId string) sdk.AccAddress
- func GetModuleAccountKeyEscrow(collectionId string) string
- func HasBalances(ctx sdk.Context, bankKeeper bankkeeper.Keeper, payerAddr sdk.AccAddress, ...) bool
- func IntentKeyCreate(agentAddress, collectionId, intentID string) []byte
- func IsCW20PaymentsInMaxConstraints(cw20Payments []*CW20Payment, maxCw20Payments []*CW20Payment) bool
- func IsCoinsInMaxConstraints(coins sdk.Coins, maxCoins sdk.Coins) bool
- func IsValidClaim(claim *Claim) bool
- func IsValidCollection(collection *Collection) bool
- func IsValidDispute(dispute *Dispute) bool
- func IsValidIntent(intent *Intent) bool
- func IsZeroCW20Payments(cw20Payments []*CW20Payment) bool
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func ParseActiveIntentKey(key []byte) (agentAddress string, collectionId string, err error)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func ValidateCW20Payments(p []*CW20Payment, allowZero bool) error
- func ValidateCoinsAllowZero(coins sdk.Coins) error
- type AccountKeeper
- type AuthzKeeper
- type BankKeeper
- type CW20Payment
- func (*CW20Payment) Descriptor() ([]byte, []int)
- func (this *CW20Payment) Equal(that interface{}) bool
- func (m *CW20Payment) GetAddress() string
- func (m *CW20Payment) GetAmount() uint64
- func (m *CW20Payment) Marshal() (dAtA []byte, err error)
- func (m *CW20Payment) MarshalTo(dAtA []byte) (int, error)
- func (m *CW20Payment) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CW20Payment) ProtoMessage()
- func (m *CW20Payment) Reset()
- func (m *CW20Payment) Size() (n int)
- func (m *CW20Payment) String() string
- func (m *CW20Payment) Unmarshal(dAtA []byte) error
- func (p *CW20Payment) Validate(allowZero bool) error
- func (m *CW20Payment) XXX_DiscardUnknown()
- func (m *CW20Payment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CW20Payment) XXX_Merge(src proto.Message)
- func (m *CW20Payment) XXX_Size() int
- func (m *CW20Payment) XXX_Unmarshal(b []byte) error
- type Claim
- func (*Claim) Descriptor() ([]byte, []int)
- func (m *Claim) GetAgentAddress() string
- func (m *Claim) GetAgentDid() string
- func (m *Claim) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *Claim) GetClaimId() string
- func (m *Claim) GetCollectionId() string
- func (m *Claim) GetCw20Payment() []*CW20Payment
- func (m *Claim) GetEvaluation() *Evaluation
- func (m *Claim) GetPaymentsStatus() *ClaimPayments
- func (m *Claim) GetSubmissionDate() *time.Time
- func (m *Claim) GetUseIntent() bool
- func (m *Claim) Marshal() (dAtA []byte, err error)
- func (m *Claim) MarshalTo(dAtA []byte) (int, error)
- func (m *Claim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Claim) ProtoMessage()
- func (m *Claim) Reset()
- func (m *Claim) Size() (n int)
- func (m *Claim) String() string
- func (m *Claim) Unmarshal(dAtA []byte) error
- func (m *Claim) XXX_DiscardUnknown()
- func (m *Claim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Claim) XXX_Merge(src proto.Message)
- func (m *Claim) XXX_Size() int
- func (m *Claim) XXX_Unmarshal(b []byte) error
- type ClaimDisputedEvent
- func (*ClaimDisputedEvent) Descriptor() ([]byte, []int)
- func (m *ClaimDisputedEvent) GetDispute() *Dispute
- func (m *ClaimDisputedEvent) Marshal() (dAtA []byte, err error)
- func (m *ClaimDisputedEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *ClaimDisputedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClaimDisputedEvent) ProtoMessage()
- func (m *ClaimDisputedEvent) Reset()
- func (m *ClaimDisputedEvent) Size() (n int)
- func (m *ClaimDisputedEvent) String() string
- func (m *ClaimDisputedEvent) Unmarshal(dAtA []byte) error
- func (m *ClaimDisputedEvent) XXX_DiscardUnknown()
- func (m *ClaimDisputedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClaimDisputedEvent) XXX_Merge(src proto.Message)
- func (m *ClaimDisputedEvent) XXX_Size() int
- func (m *ClaimDisputedEvent) XXX_Unmarshal(b []byte) error
- type ClaimEvaluatedEvent
- func (*ClaimEvaluatedEvent) Descriptor() ([]byte, []int)
- func (m *ClaimEvaluatedEvent) GetEvaluation() *Evaluation
- func (m *ClaimEvaluatedEvent) Marshal() (dAtA []byte, err error)
- func (m *ClaimEvaluatedEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *ClaimEvaluatedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClaimEvaluatedEvent) ProtoMessage()
- func (m *ClaimEvaluatedEvent) Reset()
- func (m *ClaimEvaluatedEvent) Size() (n int)
- func (m *ClaimEvaluatedEvent) String() string
- func (m *ClaimEvaluatedEvent) Unmarshal(dAtA []byte) error
- func (m *ClaimEvaluatedEvent) XXX_DiscardUnknown()
- func (m *ClaimEvaluatedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClaimEvaluatedEvent) XXX_Merge(src proto.Message)
- func (m *ClaimEvaluatedEvent) XXX_Size() int
- func (m *ClaimEvaluatedEvent) XXX_Unmarshal(b []byte) error
- type ClaimPayments
- func (*ClaimPayments) Descriptor() ([]byte, []int)
- func (m *ClaimPayments) GetApproval() PaymentStatus
- func (m *ClaimPayments) GetEvaluation() PaymentStatus
- func (m *ClaimPayments) GetRejection() PaymentStatus
- func (m *ClaimPayments) GetSubmission() PaymentStatus
- func (m *ClaimPayments) Marshal() (dAtA []byte, err error)
- func (m *ClaimPayments) MarshalTo(dAtA []byte) (int, error)
- func (m *ClaimPayments) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClaimPayments) ProtoMessage()
- func (m *ClaimPayments) Reset()
- func (m *ClaimPayments) Size() (n int)
- func (m *ClaimPayments) String() string
- func (m *ClaimPayments) Unmarshal(dAtA []byte) error
- func (m *ClaimPayments) XXX_DiscardUnknown()
- func (m *ClaimPayments) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClaimPayments) XXX_Merge(src proto.Message)
- func (m *ClaimPayments) XXX_Size() int
- func (m *ClaimPayments) XXX_Unmarshal(b []byte) error
- type ClaimSubmittedEvent
- func (*ClaimSubmittedEvent) Descriptor() ([]byte, []int)
- func (m *ClaimSubmittedEvent) GetClaim() *Claim
- func (m *ClaimSubmittedEvent) Marshal() (dAtA []byte, err error)
- func (m *ClaimSubmittedEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *ClaimSubmittedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClaimSubmittedEvent) ProtoMessage()
- func (m *ClaimSubmittedEvent) Reset()
- func (m *ClaimSubmittedEvent) Size() (n int)
- func (m *ClaimSubmittedEvent) String() string
- func (m *ClaimSubmittedEvent) Unmarshal(dAtA []byte) error
- func (m *ClaimSubmittedEvent) XXX_DiscardUnknown()
- func (m *ClaimSubmittedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClaimSubmittedEvent) XXX_Merge(src proto.Message)
- func (m *ClaimSubmittedEvent) XXX_Size() int
- func (m *ClaimSubmittedEvent) XXX_Unmarshal(b []byte) error
- type ClaimUpdatedEvent
- func (*ClaimUpdatedEvent) Descriptor() ([]byte, []int)
- func (m *ClaimUpdatedEvent) GetClaim() *Claim
- func (m *ClaimUpdatedEvent) Marshal() (dAtA []byte, err error)
- func (m *ClaimUpdatedEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *ClaimUpdatedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClaimUpdatedEvent) ProtoMessage()
- func (m *ClaimUpdatedEvent) Reset()
- func (m *ClaimUpdatedEvent) Size() (n int)
- func (m *ClaimUpdatedEvent) String() string
- func (m *ClaimUpdatedEvent) Unmarshal(dAtA []byte) error
- func (m *ClaimUpdatedEvent) XXX_DiscardUnknown()
- func (m *ClaimUpdatedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClaimUpdatedEvent) XXX_Merge(src proto.Message)
- func (m *ClaimUpdatedEvent) XXX_Size() int
- func (m *ClaimUpdatedEvent) XXX_Unmarshal(b []byte) error
- type Collection
- func (*Collection) Descriptor() ([]byte, []int)
- func (m *Collection) GetAdmin() string
- func (m *Collection) GetApproved() uint64
- func (m *Collection) GetCount() uint64
- func (m *Collection) GetDisputed() uint64
- func (m *Collection) GetEndDate() *time.Time
- func (m *Collection) GetEntity() string
- func (m *Collection) GetEscrowAccount() string
- func (m *Collection) GetEvaluated() uint64
- func (m *Collection) GetId() string
- func (m *Collection) GetIntents() CollectionIntentOptions
- func (m *Collection) GetInvalidated() uint64
- func (m *Collection) GetPayments() *Payments
- func (m *Collection) GetProtocol() string
- func (m *Collection) GetQuota() uint64
- func (m *Collection) GetRejected() uint64
- func (m *Collection) GetSigner() string
- func (m *Collection) GetStartDate() *time.Time
- func (m *Collection) GetState() CollectionState
- func (m *Collection) Marshal() (dAtA []byte, err error)
- func (m *Collection) MarshalTo(dAtA []byte) (int, error)
- func (m *Collection) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Collection) ProtoMessage()
- func (m *Collection) Reset()
- func (m *Collection) Size() (n int)
- func (m *Collection) String() string
- func (m *Collection) Unmarshal(dAtA []byte) error
- func (m *Collection) XXX_DiscardUnknown()
- func (m *Collection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Collection) XXX_Merge(src proto.Message)
- func (m *Collection) XXX_Size() int
- func (m *Collection) XXX_Unmarshal(b []byte) error
- type CollectionCreatedEvent
- func (*CollectionCreatedEvent) Descriptor() ([]byte, []int)
- func (m *CollectionCreatedEvent) GetCollection() *Collection
- func (m *CollectionCreatedEvent) Marshal() (dAtA []byte, err error)
- func (m *CollectionCreatedEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *CollectionCreatedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CollectionCreatedEvent) ProtoMessage()
- func (m *CollectionCreatedEvent) Reset()
- func (m *CollectionCreatedEvent) Size() (n int)
- func (m *CollectionCreatedEvent) String() string
- func (m *CollectionCreatedEvent) Unmarshal(dAtA []byte) error
- func (m *CollectionCreatedEvent) XXX_DiscardUnknown()
- func (m *CollectionCreatedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectionCreatedEvent) XXX_Merge(src proto.Message)
- func (m *CollectionCreatedEvent) XXX_Size() int
- func (m *CollectionCreatedEvent) XXX_Unmarshal(b []byte) error
- type CollectionIntentOptions
- type CollectionState
- type CollectionUpdatedEvent
- func (*CollectionUpdatedEvent) Descriptor() ([]byte, []int)
- func (m *CollectionUpdatedEvent) GetCollection() *Collection
- func (m *CollectionUpdatedEvent) Marshal() (dAtA []byte, err error)
- func (m *CollectionUpdatedEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *CollectionUpdatedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CollectionUpdatedEvent) ProtoMessage()
- func (m *CollectionUpdatedEvent) Reset()
- func (m *CollectionUpdatedEvent) Size() (n int)
- func (m *CollectionUpdatedEvent) String() string
- func (m *CollectionUpdatedEvent) Unmarshal(dAtA []byte) error
- func (m *CollectionUpdatedEvent) XXX_DiscardUnknown()
- func (m *CollectionUpdatedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectionUpdatedEvent) XXX_Merge(src proto.Message)
- func (m *CollectionUpdatedEvent) XXX_Size() int
- func (m *CollectionUpdatedEvent) XXX_Unmarshal(b []byte) error
- type Contract1155Payment
- func (*Contract1155Payment) Descriptor() ([]byte, []int)
- func (this *Contract1155Payment) Equal(that interface{}) bool
- func (m *Contract1155Payment) GetAddress() string
- func (m *Contract1155Payment) GetAmount() uint32
- func (m *Contract1155Payment) GetTokenId() string
- func (m *Contract1155Payment) Marshal() (dAtA []byte, err error)
- func (m *Contract1155Payment) MarshalTo(dAtA []byte) (int, error)
- func (m *Contract1155Payment) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Contract1155Payment) ProtoMessage()
- func (m *Contract1155Payment) Reset()
- func (m *Contract1155Payment) Size() (n int)
- func (m *Contract1155Payment) String() string
- func (m *Contract1155Payment) Unmarshal(dAtA []byte) error
- func (p *Contract1155Payment) Validate() error
- func (m *Contract1155Payment) XXX_DiscardUnknown()
- func (m *Contract1155Payment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Contract1155Payment) XXX_Merge(src proto.Message)
- func (m *Contract1155Payment) XXX_Size() int
- func (m *Contract1155Payment) XXX_Unmarshal(b []byte) error
- type Dispute
- func (*Dispute) Descriptor() ([]byte, []int)
- func (m *Dispute) GetData() *DisputeData
- func (m *Dispute) GetSubjectId() string
- func (m *Dispute) GetType() int32
- func (m *Dispute) Marshal() (dAtA []byte, err error)
- func (m *Dispute) MarshalTo(dAtA []byte) (int, error)
- func (m *Dispute) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Dispute) ProtoMessage()
- func (m *Dispute) Reset()
- func (m *Dispute) Size() (n int)
- func (m *Dispute) String() string
- func (m *Dispute) Unmarshal(dAtA []byte) error
- func (m *Dispute) XXX_DiscardUnknown()
- func (m *Dispute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Dispute) XXX_Merge(src proto.Message)
- func (m *Dispute) XXX_Size() int
- func (m *Dispute) XXX_Unmarshal(b []byte) error
- type DisputeData
- func (*DisputeData) Descriptor() ([]byte, []int)
- func (m *DisputeData) GetEncrypted() bool
- func (m *DisputeData) GetProof() string
- func (m *DisputeData) GetType() string
- func (m *DisputeData) GetUri() string
- func (m *DisputeData) Marshal() (dAtA []byte, err error)
- func (m *DisputeData) MarshalTo(dAtA []byte) (int, error)
- func (m *DisputeData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DisputeData) ProtoMessage()
- func (m *DisputeData) Reset()
- func (m *DisputeData) Size() (n int)
- func (m *DisputeData) String() string
- func (m *DisputeData) Unmarshal(dAtA []byte) error
- func (m *DisputeData) XXX_DiscardUnknown()
- func (m *DisputeData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DisputeData) XXX_Merge(src proto.Message)
- func (m *DisputeData) XXX_Size() int
- func (m *DisputeData) XXX_Unmarshal(b []byte) error
- type Distribution
- type DistributionShare
- type EntityKeeper
- type EvaluateClaimAuthorization
- func (a EvaluateClaimAuthorization) Accept(ctx context.Context, msg sdk.Msg) (authz.AcceptResponse, error)
- func (*EvaluateClaimAuthorization) Descriptor() ([]byte, []int)
- func (m *EvaluateClaimAuthorization) GetAdmin() string
- func (m *EvaluateClaimAuthorization) GetConstraints() []*EvaluateClaimConstraints
- func (m *EvaluateClaimAuthorization) Marshal() (dAtA []byte, err error)
- func (m *EvaluateClaimAuthorization) MarshalTo(dAtA []byte) (int, error)
- func (m *EvaluateClaimAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (a EvaluateClaimAuthorization) MsgTypeURL() string
- func (*EvaluateClaimAuthorization) ProtoMessage()
- func (m *EvaluateClaimAuthorization) Reset()
- func (m *EvaluateClaimAuthorization) Size() (n int)
- func (m *EvaluateClaimAuthorization) String() string
- func (m *EvaluateClaimAuthorization) Unmarshal(dAtA []byte) error
- func (a EvaluateClaimAuthorization) ValidateBasic() error
- func (m *EvaluateClaimAuthorization) XXX_DiscardUnknown()
- func (m *EvaluateClaimAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EvaluateClaimAuthorization) XXX_Merge(src proto.Message)
- func (m *EvaluateClaimAuthorization) XXX_Size() int
- func (m *EvaluateClaimAuthorization) XXX_Unmarshal(b []byte) error
- type EvaluateClaimConstraints
- func (*EvaluateClaimConstraints) Descriptor() ([]byte, []int)
- func (m *EvaluateClaimConstraints) GetAgentQuota() uint64
- func (m *EvaluateClaimConstraints) GetBeforeDate() *time.Time
- func (m *EvaluateClaimConstraints) GetClaimIds() []string
- func (m *EvaluateClaimConstraints) GetCollectionId() string
- func (m *EvaluateClaimConstraints) GetMaxCustomAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *EvaluateClaimConstraints) GetMaxCustomCw20Payment() []*CW20Payment
- func (m *EvaluateClaimConstraints) Marshal() (dAtA []byte, err error)
- func (m *EvaluateClaimConstraints) MarshalTo(dAtA []byte) (int, error)
- func (m *EvaluateClaimConstraints) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EvaluateClaimConstraints) ProtoMessage()
- func (m *EvaluateClaimConstraints) Reset()
- func (m *EvaluateClaimConstraints) Size() (n int)
- func (m *EvaluateClaimConstraints) String() string
- func (m *EvaluateClaimConstraints) Unmarshal(dAtA []byte) error
- func (m *EvaluateClaimConstraints) XXX_DiscardUnknown()
- func (m *EvaluateClaimConstraints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EvaluateClaimConstraints) XXX_Merge(src proto.Message)
- func (m *EvaluateClaimConstraints) XXX_Size() int
- func (m *EvaluateClaimConstraints) XXX_Unmarshal(b []byte) error
- type Evaluation
- func (*Evaluation) Descriptor() ([]byte, []int)
- func (m *Evaluation) GetAgentAddress() string
- func (m *Evaluation) GetAgentDid() string
- func (m *Evaluation) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *Evaluation) GetClaimId() string
- func (m *Evaluation) GetCollectionId() string
- func (m *Evaluation) GetCw20Payment() []*CW20Payment
- func (m *Evaluation) GetEvaluationDate() *time.Time
- func (m *Evaluation) GetOracle() string
- func (m *Evaluation) GetReason() uint32
- func (m *Evaluation) GetStatus() EvaluationStatus
- func (m *Evaluation) GetVerificationProof() string
- func (m *Evaluation) Marshal() (dAtA []byte, err error)
- func (m *Evaluation) MarshalTo(dAtA []byte) (int, error)
- func (m *Evaluation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Evaluation) ProtoMessage()
- func (m *Evaluation) Reset()
- func (m *Evaluation) Size() (n int)
- func (m *Evaluation) String() string
- func (m *Evaluation) Unmarshal(dAtA []byte) error
- func (m *Evaluation) XXX_DiscardUnknown()
- func (m *Evaluation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Evaluation) XXX_Merge(src proto.Message)
- func (m *Evaluation) XXX_Size() int
- func (m *Evaluation) XXX_Unmarshal(b []byte) error
- type EvaluationStatus
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetClaims() []Claim
- func (m *GenesisState) GetCollections() []Collection
- func (m *GenesisState) GetDisputes() []Dispute
- func (m *GenesisState) GetIntents() []Intent
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type IidKeeper
- type Input
- func (*Input) Descriptor() ([]byte, []int)
- func (this *Input) Equal(that interface{}) bool
- func (m *Input) Marshal() (dAtA []byte, err error)
- func (m *Input) MarshalTo(dAtA []byte) (int, error)
- func (m *Input) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Input) ProtoMessage()
- func (m *Input) Reset()
- func (m *Input) Size() (n int)
- func (m *Input) String() string
- func (m *Input) Unmarshal(dAtA []byte) error
- func (m *Input) XXX_DiscardUnknown()
- func (m *Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Input) XXX_Merge(src proto.Message)
- func (m *Input) XXX_Size() int
- func (m *Input) XXX_Unmarshal(b []byte) error
- type Intent
- func (*Intent) Descriptor() ([]byte, []int)
- func (m *Intent) GetAgentAddress() string
- func (m *Intent) GetAgentDid() string
- func (m *Intent) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *Intent) GetClaimId() string
- func (m *Intent) GetCollectionId() string
- func (m *Intent) GetCreatedAt() *time.Time
- func (m *Intent) GetCw20Payment() []*CW20Payment
- func (m *Intent) GetEscrowAddress() string
- func (m *Intent) GetExpireAt() *time.Time
- func (m *Intent) GetFromAddress() string
- func (m *Intent) GetId() string
- func (m *Intent) GetStatus() IntentStatus
- func (m *Intent) Marshal() (dAtA []byte, err error)
- func (m *Intent) MarshalTo(dAtA []byte) (int, error)
- func (m *Intent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Intent) ProtoMessage()
- func (m *Intent) Reset()
- func (m *Intent) Size() (n int)
- func (m *Intent) String() string
- func (m *Intent) Unmarshal(dAtA []byte) error
- func (m *Intent) XXX_DiscardUnknown()
- func (m *Intent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Intent) XXX_Merge(src proto.Message)
- func (m *Intent) XXX_Size() int
- func (m *Intent) XXX_Unmarshal(b []byte) error
- type IntentStatus
- type IntentSubmittedEvent
- func (*IntentSubmittedEvent) Descriptor() ([]byte, []int)
- func (m *IntentSubmittedEvent) GetIntent() *Intent
- func (m *IntentSubmittedEvent) Marshal() (dAtA []byte, err error)
- func (m *IntentSubmittedEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *IntentSubmittedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IntentSubmittedEvent) ProtoMessage()
- func (m *IntentSubmittedEvent) Reset()
- func (m *IntentSubmittedEvent) Size() (n int)
- func (m *IntentSubmittedEvent) String() string
- func (m *IntentSubmittedEvent) Unmarshal(dAtA []byte) error
- func (m *IntentSubmittedEvent) XXX_DiscardUnknown()
- func (m *IntentSubmittedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IntentSubmittedEvent) XXX_Merge(src proto.Message)
- func (m *IntentSubmittedEvent) XXX_Size() int
- func (m *IntentSubmittedEvent) XXX_Unmarshal(b []byte) error
- type IntentUpdatedEvent
- func (*IntentUpdatedEvent) Descriptor() ([]byte, []int)
- func (m *IntentUpdatedEvent) GetIntent() *Intent
- func (m *IntentUpdatedEvent) Marshal() (dAtA []byte, err error)
- func (m *IntentUpdatedEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *IntentUpdatedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IntentUpdatedEvent) ProtoMessage()
- func (m *IntentUpdatedEvent) Reset()
- func (m *IntentUpdatedEvent) Size() (n int)
- func (m *IntentUpdatedEvent) String() string
- func (m *IntentUpdatedEvent) Unmarshal(dAtA []byte) error
- func (m *IntentUpdatedEvent) XXX_DiscardUnknown()
- func (m *IntentUpdatedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IntentUpdatedEvent) XXX_Merge(src proto.Message)
- func (m *IntentUpdatedEvent) XXX_Size() int
- func (m *IntentUpdatedEvent) XXX_Unmarshal(b []byte) error
- type MsgClaimIntent
- func (*MsgClaimIntent) Descriptor() ([]byte, []int)
- func (m *MsgClaimIntent) GetAgentAddress() string
- func (m *MsgClaimIntent) GetAgentDid() github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment
- func (m *MsgClaimIntent) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgClaimIntent) GetCollectionId() string
- func (m *MsgClaimIntent) GetCw20Payment() []*CW20Payment
- func (msg MsgClaimIntent) GetIidController() iidtypes.DIDFragment
- func (m *MsgClaimIntent) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimIntent) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimIntent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimIntent) ProtoMessage()
- func (m *MsgClaimIntent) Reset()
- func (msg MsgClaimIntent) Route() string
- func (m *MsgClaimIntent) Size() (n int)
- func (m *MsgClaimIntent) String() string
- func (msg MsgClaimIntent) Type() string
- func (m *MsgClaimIntent) Unmarshal(dAtA []byte) error
- func (msg *MsgClaimIntent) ValidateBasic() error
- func (m *MsgClaimIntent) XXX_DiscardUnknown()
- func (m *MsgClaimIntent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimIntent) XXX_Merge(src proto.Message)
- func (m *MsgClaimIntent) XXX_Size() int
- func (m *MsgClaimIntent) XXX_Unmarshal(b []byte) error
- type MsgClaimIntentResponse
- func (*MsgClaimIntentResponse) Descriptor() ([]byte, []int)
- func (m *MsgClaimIntentResponse) GetExpireAt() *time.Time
- func (m *MsgClaimIntentResponse) GetIntentId() string
- func (m *MsgClaimIntentResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimIntentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimIntentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimIntentResponse) ProtoMessage()
- func (m *MsgClaimIntentResponse) Reset()
- func (m *MsgClaimIntentResponse) Size() (n int)
- func (m *MsgClaimIntentResponse) String() string
- func (m *MsgClaimIntentResponse) Unmarshal(dAtA []byte) error
- func (m *MsgClaimIntentResponse) XXX_DiscardUnknown()
- func (m *MsgClaimIntentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimIntentResponse) XXX_Merge(src proto.Message)
- func (m *MsgClaimIntentResponse) XXX_Size() int
- func (m *MsgClaimIntentResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreateCollection
- func (*MsgCreateCollection) Descriptor() ([]byte, []int)
- func (m *MsgCreateCollection) GetEndDate() *time.Time
- func (m *MsgCreateCollection) GetEntity() string
- func (m *MsgCreateCollection) GetIntents() CollectionIntentOptions
- func (m *MsgCreateCollection) GetPayments() *Payments
- func (m *MsgCreateCollection) GetProtocol() string
- func (m *MsgCreateCollection) GetQuota() uint64
- func (m *MsgCreateCollection) GetSigner() string
- func (m *MsgCreateCollection) GetStartDate() *time.Time
- func (m *MsgCreateCollection) GetState() CollectionState
- func (m *MsgCreateCollection) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateCollection) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateCollection) ProtoMessage()
- func (m *MsgCreateCollection) Reset()
- func (msg MsgCreateCollection) Route() string
- func (m *MsgCreateCollection) Size() (n int)
- func (m *MsgCreateCollection) String() string
- func (msg MsgCreateCollection) Type() string
- func (m *MsgCreateCollection) Unmarshal(dAtA []byte) error
- func (msg MsgCreateCollection) ValidateBasic() error
- func (m *MsgCreateCollection) XXX_DiscardUnknown()
- func (m *MsgCreateCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateCollection) XXX_Merge(src proto.Message)
- func (m *MsgCreateCollection) XXX_Size() int
- func (m *MsgCreateCollection) XXX_Unmarshal(b []byte) error
- type MsgCreateCollectionResponse
- func (*MsgCreateCollectionResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateCollectionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateCollectionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateCollectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateCollectionResponse) ProtoMessage()
- func (m *MsgCreateCollectionResponse) Reset()
- func (m *MsgCreateCollectionResponse) Size() (n int)
- func (m *MsgCreateCollectionResponse) String() string
- func (m *MsgCreateCollectionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateCollectionResponse) XXX_DiscardUnknown()
- func (m *MsgCreateCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateCollectionResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateCollectionResponse) XXX_Size() int
- func (m *MsgCreateCollectionResponse) XXX_Unmarshal(b []byte) error
- type MsgDisputeClaim
- func (*MsgDisputeClaim) Descriptor() ([]byte, []int)
- func (m *MsgDisputeClaim) GetAgentAddress() string
- func (m *MsgDisputeClaim) GetAgentDid() github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment
- func (m *MsgDisputeClaim) GetData() *DisputeData
- func (m *MsgDisputeClaim) GetDisputeType() int32
- func (msg MsgDisputeClaim) GetIidController() iidtypes.DIDFragment
- func (m *MsgDisputeClaim) GetSubjectId() string
- func (m *MsgDisputeClaim) Marshal() (dAtA []byte, err error)
- func (m *MsgDisputeClaim) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDisputeClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDisputeClaim) ProtoMessage()
- func (m *MsgDisputeClaim) Reset()
- func (msg MsgDisputeClaim) Route() string
- func (m *MsgDisputeClaim) Size() (n int)
- func (m *MsgDisputeClaim) String() string
- func (msg MsgDisputeClaim) Type() string
- func (m *MsgDisputeClaim) Unmarshal(dAtA []byte) error
- func (msg MsgDisputeClaim) ValidateBasic() error
- func (m *MsgDisputeClaim) XXX_DiscardUnknown()
- func (m *MsgDisputeClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDisputeClaim) XXX_Merge(src proto.Message)
- func (m *MsgDisputeClaim) XXX_Size() int
- func (m *MsgDisputeClaim) XXX_Unmarshal(b []byte) error
- type MsgDisputeClaimResponse
- func (*MsgDisputeClaimResponse) Descriptor() ([]byte, []int)
- func (m *MsgDisputeClaimResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDisputeClaimResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDisputeClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDisputeClaimResponse) ProtoMessage()
- func (m *MsgDisputeClaimResponse) Reset()
- func (m *MsgDisputeClaimResponse) Size() (n int)
- func (m *MsgDisputeClaimResponse) String() string
- func (m *MsgDisputeClaimResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDisputeClaimResponse) XXX_DiscardUnknown()
- func (m *MsgDisputeClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDisputeClaimResponse) XXX_Merge(src proto.Message)
- func (m *MsgDisputeClaimResponse) XXX_Size() int
- func (m *MsgDisputeClaimResponse) XXX_Unmarshal(b []byte) error
- type MsgEvaluateClaim
- func (*MsgEvaluateClaim) Descriptor() ([]byte, []int)
- func (m *MsgEvaluateClaim) GetAdminAddress() string
- func (m *MsgEvaluateClaim) GetAgentAddress() string
- func (m *MsgEvaluateClaim) GetAgentDid() github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment
- func (m *MsgEvaluateClaim) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgEvaluateClaim) GetClaimId() string
- func (m *MsgEvaluateClaim) GetCollectionId() string
- func (m *MsgEvaluateClaim) GetCw20Payment() []*CW20Payment
- func (msg MsgEvaluateClaim) GetIidController() iidtypes.DIDFragment
- func (m *MsgEvaluateClaim) GetOracle() string
- func (m *MsgEvaluateClaim) GetReason() uint32
- func (m *MsgEvaluateClaim) GetStatus() EvaluationStatus
- func (m *MsgEvaluateClaim) GetVerificationProof() string
- func (m *MsgEvaluateClaim) Marshal() (dAtA []byte, err error)
- func (m *MsgEvaluateClaim) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEvaluateClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEvaluateClaim) ProtoMessage()
- func (m *MsgEvaluateClaim) Reset()
- func (msg MsgEvaluateClaim) Route() string
- func (m *MsgEvaluateClaim) Size() (n int)
- func (m *MsgEvaluateClaim) String() string
- func (msg MsgEvaluateClaim) Type() string
- func (m *MsgEvaluateClaim) Unmarshal(dAtA []byte) error
- func (msg MsgEvaluateClaim) ValidateBasic() error
- func (m *MsgEvaluateClaim) XXX_DiscardUnknown()
- func (m *MsgEvaluateClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEvaluateClaim) XXX_Merge(src proto.Message)
- func (m *MsgEvaluateClaim) XXX_Size() int
- func (m *MsgEvaluateClaim) XXX_Unmarshal(b []byte) error
- type MsgEvaluateClaimResponse
- func (*MsgEvaluateClaimResponse) Descriptor() ([]byte, []int)
- func (m *MsgEvaluateClaimResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgEvaluateClaimResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEvaluateClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEvaluateClaimResponse) ProtoMessage()
- func (m *MsgEvaluateClaimResponse) Reset()
- func (m *MsgEvaluateClaimResponse) Size() (n int)
- func (m *MsgEvaluateClaimResponse) String() string
- func (m *MsgEvaluateClaimResponse) Unmarshal(dAtA []byte) error
- func (m *MsgEvaluateClaimResponse) XXX_DiscardUnknown()
- func (m *MsgEvaluateClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEvaluateClaimResponse) XXX_Merge(src proto.Message)
- func (m *MsgEvaluateClaimResponse) XXX_Size() int
- func (m *MsgEvaluateClaimResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSubmitClaim
- func (*MsgSubmitClaim) Descriptor() ([]byte, []int)
- func (m *MsgSubmitClaim) GetAdminAddress() string
- func (m *MsgSubmitClaim) GetAgentAddress() string
- func (m *MsgSubmitClaim) GetAgentDid() github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment
- func (m *MsgSubmitClaim) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgSubmitClaim) GetClaimId() string
- func (m *MsgSubmitClaim) GetCollectionId() string
- func (m *MsgSubmitClaim) GetCw20Payment() []*CW20Payment
- func (msg MsgSubmitClaim) GetIidController() iidtypes.DIDFragment
- func (m *MsgSubmitClaim) GetUseIntent() bool
- func (m *MsgSubmitClaim) Marshal() (dAtA []byte, err error)
- func (m *MsgSubmitClaim) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSubmitClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSubmitClaim) ProtoMessage()
- func (m *MsgSubmitClaim) Reset()
- func (msg MsgSubmitClaim) Route() string
- func (m *MsgSubmitClaim) Size() (n int)
- func (m *MsgSubmitClaim) String() string
- func (msg MsgSubmitClaim) Type() string
- func (m *MsgSubmitClaim) Unmarshal(dAtA []byte) error
- func (msg MsgSubmitClaim) ValidateBasic() error
- func (m *MsgSubmitClaim) XXX_DiscardUnknown()
- func (m *MsgSubmitClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSubmitClaim) XXX_Merge(src proto.Message)
- func (m *MsgSubmitClaim) XXX_Size() int
- func (m *MsgSubmitClaim) XXX_Unmarshal(b []byte) error
- type MsgSubmitClaimResponse
- func (*MsgSubmitClaimResponse) Descriptor() ([]byte, []int)
- func (m *MsgSubmitClaimResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSubmitClaimResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSubmitClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSubmitClaimResponse) ProtoMessage()
- func (m *MsgSubmitClaimResponse) Reset()
- func (m *MsgSubmitClaimResponse) Size() (n int)
- func (m *MsgSubmitClaimResponse) String() string
- func (m *MsgSubmitClaimResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSubmitClaimResponse) XXX_DiscardUnknown()
- func (m *MsgSubmitClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSubmitClaimResponse) XXX_Merge(src proto.Message)
- func (m *MsgSubmitClaimResponse) XXX_Size() int
- func (m *MsgSubmitClaimResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateCollectionDates
- func (*MsgUpdateCollectionDates) Descriptor() ([]byte, []int)
- func (m *MsgUpdateCollectionDates) GetAdminAddress() string
- func (m *MsgUpdateCollectionDates) GetCollectionId() string
- func (m *MsgUpdateCollectionDates) GetEndDate() *time.Time
- func (m *MsgUpdateCollectionDates) GetStartDate() *time.Time
- func (m *MsgUpdateCollectionDates) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateCollectionDates) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateCollectionDates) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateCollectionDates) ProtoMessage()
- func (m *MsgUpdateCollectionDates) Reset()
- func (msg MsgUpdateCollectionDates) Route() string
- func (m *MsgUpdateCollectionDates) Size() (n int)
- func (m *MsgUpdateCollectionDates) String() string
- func (msg MsgUpdateCollectionDates) Type() string
- func (m *MsgUpdateCollectionDates) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateCollectionDates) ValidateBasic() error
- func (m *MsgUpdateCollectionDates) XXX_DiscardUnknown()
- func (m *MsgUpdateCollectionDates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateCollectionDates) XXX_Merge(src proto.Message)
- func (m *MsgUpdateCollectionDates) XXX_Size() int
- func (m *MsgUpdateCollectionDates) XXX_Unmarshal(b []byte) error
- type MsgUpdateCollectionDatesResponse
- func (*MsgUpdateCollectionDatesResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateCollectionDatesResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateCollectionDatesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateCollectionDatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateCollectionDatesResponse) ProtoMessage()
- func (m *MsgUpdateCollectionDatesResponse) Reset()
- func (m *MsgUpdateCollectionDatesResponse) Size() (n int)
- func (m *MsgUpdateCollectionDatesResponse) String() string
- func (m *MsgUpdateCollectionDatesResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateCollectionDatesResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateCollectionDatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateCollectionDatesResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateCollectionDatesResponse) XXX_Size() int
- func (m *MsgUpdateCollectionDatesResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateCollectionIntents
- func (*MsgUpdateCollectionIntents) Descriptor() ([]byte, []int)
- func (m *MsgUpdateCollectionIntents) GetAdminAddress() string
- func (m *MsgUpdateCollectionIntents) GetCollectionId() string
- func (m *MsgUpdateCollectionIntents) GetIntents() CollectionIntentOptions
- func (m *MsgUpdateCollectionIntents) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateCollectionIntents) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateCollectionIntents) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateCollectionIntents) ProtoMessage()
- func (m *MsgUpdateCollectionIntents) Reset()
- func (msg MsgUpdateCollectionIntents) Route() string
- func (m *MsgUpdateCollectionIntents) Size() (n int)
- func (m *MsgUpdateCollectionIntents) String() string
- func (msg MsgUpdateCollectionIntents) Type() string
- func (m *MsgUpdateCollectionIntents) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateCollectionIntents) ValidateBasic() error
- func (m *MsgUpdateCollectionIntents) XXX_DiscardUnknown()
- func (m *MsgUpdateCollectionIntents) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateCollectionIntents) XXX_Merge(src proto.Message)
- func (m *MsgUpdateCollectionIntents) XXX_Size() int
- func (m *MsgUpdateCollectionIntents) XXX_Unmarshal(b []byte) error
- type MsgUpdateCollectionIntentsResponse
- func (*MsgUpdateCollectionIntentsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateCollectionIntentsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateCollectionIntentsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateCollectionIntentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateCollectionIntentsResponse) ProtoMessage()
- func (m *MsgUpdateCollectionIntentsResponse) Reset()
- func (m *MsgUpdateCollectionIntentsResponse) Size() (n int)
- func (m *MsgUpdateCollectionIntentsResponse) String() string
- func (m *MsgUpdateCollectionIntentsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateCollectionIntentsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateCollectionIntentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateCollectionIntentsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateCollectionIntentsResponse) XXX_Size() int
- func (m *MsgUpdateCollectionIntentsResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateCollectionPayments
- func (*MsgUpdateCollectionPayments) Descriptor() ([]byte, []int)
- func (m *MsgUpdateCollectionPayments) GetAdminAddress() string
- func (m *MsgUpdateCollectionPayments) GetCollectionId() string
- func (m *MsgUpdateCollectionPayments) GetPayments() *Payments
- func (m *MsgUpdateCollectionPayments) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateCollectionPayments) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateCollectionPayments) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateCollectionPayments) ProtoMessage()
- func (m *MsgUpdateCollectionPayments) Reset()
- func (msg MsgUpdateCollectionPayments) Route() string
- func (m *MsgUpdateCollectionPayments) Size() (n int)
- func (m *MsgUpdateCollectionPayments) String() string
- func (msg MsgUpdateCollectionPayments) Type() string
- func (m *MsgUpdateCollectionPayments) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateCollectionPayments) ValidateBasic() error
- func (m *MsgUpdateCollectionPayments) XXX_DiscardUnknown()
- func (m *MsgUpdateCollectionPayments) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateCollectionPayments) XXX_Merge(src proto.Message)
- func (m *MsgUpdateCollectionPayments) XXX_Size() int
- func (m *MsgUpdateCollectionPayments) XXX_Unmarshal(b []byte) error
- type MsgUpdateCollectionPaymentsResponse
- func (*MsgUpdateCollectionPaymentsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateCollectionPaymentsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateCollectionPaymentsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateCollectionPaymentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateCollectionPaymentsResponse) ProtoMessage()
- func (m *MsgUpdateCollectionPaymentsResponse) Reset()
- func (m *MsgUpdateCollectionPaymentsResponse) Size() (n int)
- func (m *MsgUpdateCollectionPaymentsResponse) String() string
- func (m *MsgUpdateCollectionPaymentsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateCollectionPaymentsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateCollectionPaymentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateCollectionPaymentsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateCollectionPaymentsResponse) XXX_Size() int
- func (m *MsgUpdateCollectionPaymentsResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateCollectionState
- func (*MsgUpdateCollectionState) Descriptor() ([]byte, []int)
- func (m *MsgUpdateCollectionState) GetAdminAddress() string
- func (m *MsgUpdateCollectionState) GetCollectionId() string
- func (m *MsgUpdateCollectionState) GetState() CollectionState
- func (m *MsgUpdateCollectionState) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateCollectionState) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateCollectionState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateCollectionState) ProtoMessage()
- func (m *MsgUpdateCollectionState) Reset()
- func (msg MsgUpdateCollectionState) Route() string
- func (m *MsgUpdateCollectionState) Size() (n int)
- func (m *MsgUpdateCollectionState) String() string
- func (msg MsgUpdateCollectionState) Type() string
- func (m *MsgUpdateCollectionState) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateCollectionState) ValidateBasic() error
- func (m *MsgUpdateCollectionState) XXX_DiscardUnknown()
- func (m *MsgUpdateCollectionState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateCollectionState) XXX_Merge(src proto.Message)
- func (m *MsgUpdateCollectionState) XXX_Size() int
- func (m *MsgUpdateCollectionState) XXX_Unmarshal(b []byte) error
- type MsgUpdateCollectionStateResponse
- func (*MsgUpdateCollectionStateResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateCollectionStateResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateCollectionStateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateCollectionStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateCollectionStateResponse) ProtoMessage()
- func (m *MsgUpdateCollectionStateResponse) Reset()
- func (m *MsgUpdateCollectionStateResponse) Size() (n int)
- func (m *MsgUpdateCollectionStateResponse) String() string
- func (m *MsgUpdateCollectionStateResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateCollectionStateResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateCollectionStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateCollectionStateResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateCollectionStateResponse) XXX_Size() int
- func (m *MsgUpdateCollectionStateResponse) XXX_Unmarshal(b []byte) error
- type MsgWithdrawPayment
- func (*MsgWithdrawPayment) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawPayment) GetAdminAddress() string
- func (m *MsgWithdrawPayment) GetClaimId() string
- func (m *MsgWithdrawPayment) GetContract_1155Payment() *Contract1155Payment
- func (m *MsgWithdrawPayment) GetCw20Payment() []*CW20Payment
- func (m *MsgWithdrawPayment) GetFromAddress() string
- func (m *MsgWithdrawPayment) GetInputs() []types1.Input
- func (m *MsgWithdrawPayment) GetOutputs() []types1.Output
- func (m *MsgWithdrawPayment) GetPaymentType() PaymentType
- func (m *MsgWithdrawPayment) GetReleaseDate() *time.Time
- func (m *MsgWithdrawPayment) GetToAddress() string
- func (m *MsgWithdrawPayment) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawPayment) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawPayment) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawPayment) ProtoMessage()
- func (m *MsgWithdrawPayment) Reset()
- func (msg MsgWithdrawPayment) Route() string
- func (m *MsgWithdrawPayment) Size() (n int)
- func (m *MsgWithdrawPayment) String() string
- func (msg MsgWithdrawPayment) Type() string
- func (m *MsgWithdrawPayment) Unmarshal(dAtA []byte) error
- func (msg MsgWithdrawPayment) ValidateBasic() error
- func (m *MsgWithdrawPayment) XXX_DiscardUnknown()
- func (m *MsgWithdrawPayment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawPayment) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawPayment) XXX_Size() int
- func (m *MsgWithdrawPayment) XXX_Unmarshal(b []byte) error
- type MsgWithdrawPaymentResponse
- func (*MsgWithdrawPaymentResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawPaymentResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawPaymentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawPaymentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawPaymentResponse) ProtoMessage()
- func (m *MsgWithdrawPaymentResponse) Reset()
- func (m *MsgWithdrawPaymentResponse) Size() (n int)
- func (m *MsgWithdrawPaymentResponse) String() string
- func (m *MsgWithdrawPaymentResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawPaymentResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawPaymentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawPaymentResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawPaymentResponse) XXX_Size() int
- func (m *MsgWithdrawPaymentResponse) XXX_Unmarshal(b []byte) error
- type Output
- func (*Output) Descriptor() ([]byte, []int)
- func (this *Output) Equal(that interface{}) bool
- func (m *Output) Marshal() (dAtA []byte, err error)
- func (m *Output) MarshalTo(dAtA []byte) (int, error)
- func (m *Output) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Output) ProtoMessage()
- func (m *Output) Reset()
- func (m *Output) Size() (n int)
- func (m *Output) String() string
- func (m *Output) Unmarshal(dAtA []byte) error
- func (m *Output) XXX_DiscardUnknown()
- func (m *Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Output) XXX_Merge(src proto.Message)
- func (m *Output) XXX_Size() int
- func (m *Output) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetCollectionSequence() uint64
- func (m *Params) GetIntentSequence() uint64
- func (m *Params) GetIxoAccount() string
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type Payment
- func (p *Payment) Clone() *Payment
- func (*Payment) Descriptor() ([]byte, []int)
- func (m *Payment) GetAccount() string
- func (m *Payment) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *Payment) GetContract_1155Payment() *Contract1155Payment
- func (m *Payment) GetCw20Payment() []*CW20Payment
- func (m *Payment) GetIsOraclePayment() bool
- func (m *Payment) GetTimeoutNs() time.Duration
- func (m *Payment) Marshal() (dAtA []byte, err error)
- func (m *Payment) MarshalTo(dAtA []byte) (int, error)
- func (m *Payment) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Payment) ProtoMessage()
- func (m *Payment) Reset()
- func (m *Payment) Size() (n int)
- func (m *Payment) String() string
- func (m *Payment) Unmarshal(dAtA []byte) error
- func (p Payment) Validate(allowOraclePayments bool) error
- func (m *Payment) XXX_DiscardUnknown()
- func (m *Payment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Payment) XXX_Merge(src proto.Message)
- func (m *Payment) XXX_Size() int
- func (m *Payment) XXX_Unmarshal(b []byte) error
- type PaymentStatus
- type PaymentType
- type PaymentWithdrawCreatedEvent
- func (*PaymentWithdrawCreatedEvent) Descriptor() ([]byte, []int)
- func (m *PaymentWithdrawCreatedEvent) GetWithdraw() *WithdrawPaymentConstraints
- func (m *PaymentWithdrawCreatedEvent) Marshal() (dAtA []byte, err error)
- func (m *PaymentWithdrawCreatedEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *PaymentWithdrawCreatedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PaymentWithdrawCreatedEvent) ProtoMessage()
- func (m *PaymentWithdrawCreatedEvent) Reset()
- func (m *PaymentWithdrawCreatedEvent) Size() (n int)
- func (m *PaymentWithdrawCreatedEvent) String() string
- func (m *PaymentWithdrawCreatedEvent) Unmarshal(dAtA []byte) error
- func (m *PaymentWithdrawCreatedEvent) XXX_DiscardUnknown()
- func (m *PaymentWithdrawCreatedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PaymentWithdrawCreatedEvent) XXX_Merge(src proto.Message)
- func (m *PaymentWithdrawCreatedEvent) XXX_Size() int
- func (m *PaymentWithdrawCreatedEvent) XXX_Unmarshal(b []byte) error
- type PaymentWithdrawnEvent
- func (*PaymentWithdrawnEvent) Descriptor() ([]byte, []int)
- func (m *PaymentWithdrawnEvent) GetWithdraw() *WithdrawPaymentConstraints
- func (m *PaymentWithdrawnEvent) Marshal() (dAtA []byte, err error)
- func (m *PaymentWithdrawnEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *PaymentWithdrawnEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PaymentWithdrawnEvent) ProtoMessage()
- func (m *PaymentWithdrawnEvent) Reset()
- func (m *PaymentWithdrawnEvent) Size() (n int)
- func (m *PaymentWithdrawnEvent) String() string
- func (m *PaymentWithdrawnEvent) Unmarshal(dAtA []byte) error
- func (m *PaymentWithdrawnEvent) XXX_DiscardUnknown()
- func (m *PaymentWithdrawnEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PaymentWithdrawnEvent) XXX_Merge(src proto.Message)
- func (m *PaymentWithdrawnEvent) XXX_Size() int
- func (m *PaymentWithdrawnEvent) XXX_Unmarshal(b []byte) error
- type Payments
- func (p Payments) AccountsIsEntityAccounts(entity entitytypes.Entity) bool
- func (*Payments) Descriptor() ([]byte, []int)
- func (m *Payments) GetApproval() *Payment
- func (m *Payments) GetEvaluation() *Payment
- func (m *Payments) GetRejection() *Payment
- func (m *Payments) GetSubmission() *Payment
- func (m *Payments) Marshal() (dAtA []byte, err error)
- func (m *Payments) MarshalTo(dAtA []byte) (int, error)
- func (m *Payments) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Payments) ProtoMessage()
- func (m *Payments) Reset()
- func (m *Payments) Size() (n int)
- func (m *Payments) String() string
- func (m *Payments) Unmarshal(dAtA []byte) error
- func (p Payments) Validate() error
- func (m *Payments) XXX_DiscardUnknown()
- func (m *Payments) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Payments) XXX_Merge(src proto.Message)
- func (m *Payments) XXX_Size() int
- func (m *Payments) XXX_Unmarshal(b []byte) error
- type QueryClaimListRequest
- func (*QueryClaimListRequest) Descriptor() ([]byte, []int)
- func (m *QueryClaimListRequest) GetPagination() *query.PageRequest
- func (m *QueryClaimListRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryClaimListRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClaimListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClaimListRequest) ProtoMessage()
- func (m *QueryClaimListRequest) Reset()
- func (m *QueryClaimListRequest) Size() (n int)
- func (m *QueryClaimListRequest) String() string
- func (m *QueryClaimListRequest) Unmarshal(dAtA []byte) error
- func (m *QueryClaimListRequest) XXX_DiscardUnknown()
- func (m *QueryClaimListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClaimListRequest) XXX_Merge(src proto.Message)
- func (m *QueryClaimListRequest) XXX_Size() int
- func (m *QueryClaimListRequest) XXX_Unmarshal(b []byte) error
- type QueryClaimListResponse
- func (*QueryClaimListResponse) Descriptor() ([]byte, []int)
- func (m *QueryClaimListResponse) GetClaims() []Claim
- func (m *QueryClaimListResponse) GetPagination() *query.PageResponse
- func (m *QueryClaimListResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryClaimListResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClaimListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClaimListResponse) ProtoMessage()
- func (m *QueryClaimListResponse) Reset()
- func (m *QueryClaimListResponse) Size() (n int)
- func (m *QueryClaimListResponse) String() string
- func (m *QueryClaimListResponse) Unmarshal(dAtA []byte) error
- func (m *QueryClaimListResponse) XXX_DiscardUnknown()
- func (m *QueryClaimListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClaimListResponse) XXX_Merge(src proto.Message)
- func (m *QueryClaimListResponse) XXX_Size() int
- func (m *QueryClaimListResponse) XXX_Unmarshal(b []byte) error
- type QueryClaimRequest
- func (*QueryClaimRequest) Descriptor() ([]byte, []int)
- func (m *QueryClaimRequest) GetId() string
- func (m *QueryClaimRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryClaimRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClaimRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClaimRequest) ProtoMessage()
- func (m *QueryClaimRequest) Reset()
- func (m *QueryClaimRequest) Size() (n int)
- func (m *QueryClaimRequest) String() string
- func (m *QueryClaimRequest) Unmarshal(dAtA []byte) error
- func (m *QueryClaimRequest) XXX_DiscardUnknown()
- func (m *QueryClaimRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClaimRequest) XXX_Merge(src proto.Message)
- func (m *QueryClaimRequest) XXX_Size() int
- func (m *QueryClaimRequest) XXX_Unmarshal(b []byte) error
- type QueryClaimResponse
- func (*QueryClaimResponse) Descriptor() ([]byte, []int)
- func (m *QueryClaimResponse) GetClaim() Claim
- func (m *QueryClaimResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryClaimResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClaimResponse) ProtoMessage()
- func (m *QueryClaimResponse) Reset()
- func (m *QueryClaimResponse) Size() (n int)
- func (m *QueryClaimResponse) String() string
- func (m *QueryClaimResponse) Unmarshal(dAtA []byte) error
- func (m *QueryClaimResponse) XXX_DiscardUnknown()
- func (m *QueryClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClaimResponse) XXX_Merge(src proto.Message)
- func (m *QueryClaimResponse) XXX_Size() int
- func (m *QueryClaimResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryCollectionListRequest
- func (*QueryCollectionListRequest) Descriptor() ([]byte, []int)
- func (m *QueryCollectionListRequest) GetPagination() *query.PageRequest
- func (m *QueryCollectionListRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCollectionListRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCollectionListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCollectionListRequest) ProtoMessage()
- func (m *QueryCollectionListRequest) Reset()
- func (m *QueryCollectionListRequest) Size() (n int)
- func (m *QueryCollectionListRequest) String() string
- func (m *QueryCollectionListRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCollectionListRequest) XXX_DiscardUnknown()
- func (m *QueryCollectionListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCollectionListRequest) XXX_Merge(src proto.Message)
- func (m *QueryCollectionListRequest) XXX_Size() int
- func (m *QueryCollectionListRequest) XXX_Unmarshal(b []byte) error
- type QueryCollectionListResponse
- func (*QueryCollectionListResponse) Descriptor() ([]byte, []int)
- func (m *QueryCollectionListResponse) GetCollections() []Collection
- func (m *QueryCollectionListResponse) GetPagination() *query.PageResponse
- func (m *QueryCollectionListResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCollectionListResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCollectionListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCollectionListResponse) ProtoMessage()
- func (m *QueryCollectionListResponse) Reset()
- func (m *QueryCollectionListResponse) Size() (n int)
- func (m *QueryCollectionListResponse) String() string
- func (m *QueryCollectionListResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCollectionListResponse) XXX_DiscardUnknown()
- func (m *QueryCollectionListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCollectionListResponse) XXX_Merge(src proto.Message)
- func (m *QueryCollectionListResponse) XXX_Size() int
- func (m *QueryCollectionListResponse) XXX_Unmarshal(b []byte) error
- type QueryCollectionRequest
- func (*QueryCollectionRequest) Descriptor() ([]byte, []int)
- func (m *QueryCollectionRequest) GetId() string
- func (m *QueryCollectionRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCollectionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCollectionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCollectionRequest) ProtoMessage()
- func (m *QueryCollectionRequest) Reset()
- func (m *QueryCollectionRequest) Size() (n int)
- func (m *QueryCollectionRequest) String() string
- func (m *QueryCollectionRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCollectionRequest) XXX_DiscardUnknown()
- func (m *QueryCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCollectionRequest) XXX_Merge(src proto.Message)
- func (m *QueryCollectionRequest) XXX_Size() int
- func (m *QueryCollectionRequest) XXX_Unmarshal(b []byte) error
- type QueryCollectionResponse
- func (*QueryCollectionResponse) Descriptor() ([]byte, []int)
- func (m *QueryCollectionResponse) GetCollection() Collection
- func (m *QueryCollectionResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCollectionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCollectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCollectionResponse) ProtoMessage()
- func (m *QueryCollectionResponse) Reset()
- func (m *QueryCollectionResponse) Size() (n int)
- func (m *QueryCollectionResponse) String() string
- func (m *QueryCollectionResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCollectionResponse) XXX_DiscardUnknown()
- func (m *QueryCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCollectionResponse) XXX_Merge(src proto.Message)
- func (m *QueryCollectionResponse) XXX_Size() int
- func (m *QueryCollectionResponse) XXX_Unmarshal(b []byte) error
- type QueryDisputeListRequest
- func (*QueryDisputeListRequest) Descriptor() ([]byte, []int)
- func (m *QueryDisputeListRequest) GetPagination() *query.PageRequest
- func (m *QueryDisputeListRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDisputeListRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDisputeListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDisputeListRequest) ProtoMessage()
- func (m *QueryDisputeListRequest) Reset()
- func (m *QueryDisputeListRequest) Size() (n int)
- func (m *QueryDisputeListRequest) String() string
- func (m *QueryDisputeListRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDisputeListRequest) XXX_DiscardUnknown()
- func (m *QueryDisputeListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDisputeListRequest) XXX_Merge(src proto.Message)
- func (m *QueryDisputeListRequest) XXX_Size() int
- func (m *QueryDisputeListRequest) XXX_Unmarshal(b []byte) error
- type QueryDisputeListResponse
- func (*QueryDisputeListResponse) Descriptor() ([]byte, []int)
- func (m *QueryDisputeListResponse) GetDisputes() []Dispute
- func (m *QueryDisputeListResponse) GetPagination() *query.PageResponse
- func (m *QueryDisputeListResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDisputeListResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDisputeListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDisputeListResponse) ProtoMessage()
- func (m *QueryDisputeListResponse) Reset()
- func (m *QueryDisputeListResponse) Size() (n int)
- func (m *QueryDisputeListResponse) String() string
- func (m *QueryDisputeListResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDisputeListResponse) XXX_DiscardUnknown()
- func (m *QueryDisputeListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDisputeListResponse) XXX_Merge(src proto.Message)
- func (m *QueryDisputeListResponse) XXX_Size() int
- func (m *QueryDisputeListResponse) XXX_Unmarshal(b []byte) error
- type QueryDisputeRequest
- func (*QueryDisputeRequest) Descriptor() ([]byte, []int)
- func (m *QueryDisputeRequest) GetProof() string
- func (m *QueryDisputeRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDisputeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDisputeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDisputeRequest) ProtoMessage()
- func (m *QueryDisputeRequest) Reset()
- func (m *QueryDisputeRequest) Size() (n int)
- func (m *QueryDisputeRequest) String() string
- func (m *QueryDisputeRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDisputeRequest) XXX_DiscardUnknown()
- func (m *QueryDisputeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDisputeRequest) XXX_Merge(src proto.Message)
- func (m *QueryDisputeRequest) XXX_Size() int
- func (m *QueryDisputeRequest) XXX_Unmarshal(b []byte) error
- type QueryDisputeResponse
- func (*QueryDisputeResponse) Descriptor() ([]byte, []int)
- func (m *QueryDisputeResponse) GetDispute() Dispute
- func (m *QueryDisputeResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDisputeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDisputeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDisputeResponse) ProtoMessage()
- func (m *QueryDisputeResponse) Reset()
- func (m *QueryDisputeResponse) Size() (n int)
- func (m *QueryDisputeResponse) String() string
- func (m *QueryDisputeResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDisputeResponse) XXX_DiscardUnknown()
- func (m *QueryDisputeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDisputeResponse) XXX_Merge(src proto.Message)
- func (m *QueryDisputeResponse) XXX_Size() int
- func (m *QueryDisputeResponse) XXX_Unmarshal(b []byte) error
- type QueryIntentListRequest
- func (*QueryIntentListRequest) Descriptor() ([]byte, []int)
- func (m *QueryIntentListRequest) GetPagination() *query.PageRequest
- func (m *QueryIntentListRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryIntentListRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryIntentListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryIntentListRequest) ProtoMessage()
- func (m *QueryIntentListRequest) Reset()
- func (m *QueryIntentListRequest) Size() (n int)
- func (m *QueryIntentListRequest) String() string
- func (m *QueryIntentListRequest) Unmarshal(dAtA []byte) error
- func (m *QueryIntentListRequest) XXX_DiscardUnknown()
- func (m *QueryIntentListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryIntentListRequest) XXX_Merge(src proto.Message)
- func (m *QueryIntentListRequest) XXX_Size() int
- func (m *QueryIntentListRequest) XXX_Unmarshal(b []byte) error
- type QueryIntentListResponse
- func (*QueryIntentListResponse) Descriptor() ([]byte, []int)
- func (m *QueryIntentListResponse) GetIntents() []Intent
- func (m *QueryIntentListResponse) GetPagination() *query.PageResponse
- func (m *QueryIntentListResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryIntentListResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryIntentListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryIntentListResponse) ProtoMessage()
- func (m *QueryIntentListResponse) Reset()
- func (m *QueryIntentListResponse) Size() (n int)
- func (m *QueryIntentListResponse) String() string
- func (m *QueryIntentListResponse) Unmarshal(dAtA []byte) error
- func (m *QueryIntentListResponse) XXX_DiscardUnknown()
- func (m *QueryIntentListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryIntentListResponse) XXX_Merge(src proto.Message)
- func (m *QueryIntentListResponse) XXX_Size() int
- func (m *QueryIntentListResponse) XXX_Unmarshal(b []byte) error
- type QueryIntentRequest
- func (*QueryIntentRequest) Descriptor() ([]byte, []int)
- func (m *QueryIntentRequest) GetAgentAddress() string
- func (m *QueryIntentRequest) GetCollectionId() string
- func (m *QueryIntentRequest) GetId() string
- func (m *QueryIntentRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryIntentRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryIntentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryIntentRequest) ProtoMessage()
- func (m *QueryIntentRequest) Reset()
- func (m *QueryIntentRequest) Size() (n int)
- func (m *QueryIntentRequest) String() string
- func (m *QueryIntentRequest) Unmarshal(dAtA []byte) error
- func (m *QueryIntentRequest) XXX_DiscardUnknown()
- func (m *QueryIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryIntentRequest) XXX_Merge(src proto.Message)
- func (m *QueryIntentRequest) XXX_Size() int
- func (m *QueryIntentRequest) XXX_Unmarshal(b []byte) error
- type QueryIntentResponse
- func (*QueryIntentResponse) Descriptor() ([]byte, []int)
- func (m *QueryIntentResponse) GetIntent() Intent
- func (m *QueryIntentResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryIntentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryIntentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryIntentResponse) ProtoMessage()
- func (m *QueryIntentResponse) Reset()
- func (m *QueryIntentResponse) Size() (n int)
- func (m *QueryIntentResponse) String() string
- func (m *QueryIntentResponse) Unmarshal(dAtA []byte) error
- func (m *QueryIntentResponse) XXX_DiscardUnknown()
- func (m *QueryIntentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryIntentResponse) XXX_Merge(src proto.Message)
- func (m *QueryIntentResponse) XXX_Size() int
- func (m *QueryIntentResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type SubmitClaimAuthorization
- func (a SubmitClaimAuthorization) Accept(_ context.Context, msg sdk.Msg) (authz.AcceptResponse, error)
- func (*SubmitClaimAuthorization) Descriptor() ([]byte, []int)
- func (m *SubmitClaimAuthorization) GetAdmin() string
- func (m *SubmitClaimAuthorization) GetConstraints() []*SubmitClaimConstraints
- func (m *SubmitClaimAuthorization) Marshal() (dAtA []byte, err error)
- func (m *SubmitClaimAuthorization) MarshalTo(dAtA []byte) (int, error)
- func (m *SubmitClaimAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (a SubmitClaimAuthorization) MsgTypeURL() string
- func (*SubmitClaimAuthorization) ProtoMessage()
- func (m *SubmitClaimAuthorization) Reset()
- func (m *SubmitClaimAuthorization) Size() (n int)
- func (m *SubmitClaimAuthorization) String() string
- func (m *SubmitClaimAuthorization) Unmarshal(dAtA []byte) error
- func (a SubmitClaimAuthorization) ValidateBasic() error
- func (m *SubmitClaimAuthorization) XXX_DiscardUnknown()
- func (m *SubmitClaimAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubmitClaimAuthorization) XXX_Merge(src proto.Message)
- func (m *SubmitClaimAuthorization) XXX_Size() int
- func (m *SubmitClaimAuthorization) XXX_Unmarshal(b []byte) error
- type SubmitClaimConstraints
- func (*SubmitClaimConstraints) Descriptor() ([]byte, []int)
- func (m *SubmitClaimConstraints) GetAgentQuota() uint64
- func (m *SubmitClaimConstraints) GetCollectionId() string
- func (m *SubmitClaimConstraints) GetIntentDurationNs() time.Duration
- func (m *SubmitClaimConstraints) GetMaxAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *SubmitClaimConstraints) GetMaxCw20Payment() []*CW20Payment
- func (m *SubmitClaimConstraints) Marshal() (dAtA []byte, err error)
- func (m *SubmitClaimConstraints) MarshalTo(dAtA []byte) (int, error)
- func (m *SubmitClaimConstraints) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SubmitClaimConstraints) ProtoMessage()
- func (m *SubmitClaimConstraints) Reset()
- func (m *SubmitClaimConstraints) Size() (n int)
- func (m *SubmitClaimConstraints) String() string
- func (m *SubmitClaimConstraints) Unmarshal(dAtA []byte) error
- func (m *SubmitClaimConstraints) XXX_DiscardUnknown()
- func (m *SubmitClaimConstraints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubmitClaimConstraints) XXX_Merge(src proto.Message)
- func (m *SubmitClaimConstraints) XXX_Size() int
- func (m *SubmitClaimConstraints) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) ClaimIntent(ctx context.Context, req *MsgClaimIntent) (*MsgClaimIntentResponse, error)
- func (*UnimplementedMsgServer) CreateCollection(ctx context.Context, req *MsgCreateCollection) (*MsgCreateCollectionResponse, error)
- func (*UnimplementedMsgServer) DisputeClaim(ctx context.Context, req *MsgDisputeClaim) (*MsgDisputeClaimResponse, error)
- func (*UnimplementedMsgServer) EvaluateClaim(ctx context.Context, req *MsgEvaluateClaim) (*MsgEvaluateClaimResponse, error)
- func (*UnimplementedMsgServer) SubmitClaim(ctx context.Context, req *MsgSubmitClaim) (*MsgSubmitClaimResponse, error)
- func (*UnimplementedMsgServer) UpdateCollectionDates(ctx context.Context, req *MsgUpdateCollectionDates) (*MsgUpdateCollectionDatesResponse, error)
- func (*UnimplementedMsgServer) UpdateCollectionIntents(ctx context.Context, req *MsgUpdateCollectionIntents) (*MsgUpdateCollectionIntentsResponse, error)
- func (*UnimplementedMsgServer) UpdateCollectionPayments(ctx context.Context, req *MsgUpdateCollectionPayments) (*MsgUpdateCollectionPaymentsResponse, error)
- func (*UnimplementedMsgServer) UpdateCollectionState(ctx context.Context, req *MsgUpdateCollectionState) (*MsgUpdateCollectionStateResponse, error)
- func (*UnimplementedMsgServer) WithdrawPayment(ctx context.Context, req *MsgWithdrawPayment) (*MsgWithdrawPaymentResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Claim(ctx context.Context, req *QueryClaimRequest) (*QueryClaimResponse, error)
- func (*UnimplementedQueryServer) ClaimList(ctx context.Context, req *QueryClaimListRequest) (*QueryClaimListResponse, error)
- func (*UnimplementedQueryServer) Collection(ctx context.Context, req *QueryCollectionRequest) (*QueryCollectionResponse, error)
- func (*UnimplementedQueryServer) CollectionList(ctx context.Context, req *QueryCollectionListRequest) (*QueryCollectionListResponse, error)
- func (*UnimplementedQueryServer) Dispute(ctx context.Context, req *QueryDisputeRequest) (*QueryDisputeResponse, error)
- func (*UnimplementedQueryServer) DisputeList(ctx context.Context, req *QueryDisputeListRequest) (*QueryDisputeListResponse, error)
- func (*UnimplementedQueryServer) Intent(ctx context.Context, req *QueryIntentRequest) (*QueryIntentResponse, error)
- func (*UnimplementedQueryServer) IntentList(ctx context.Context, req *QueryIntentListRequest) (*QueryIntentListResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- type WasmKeeper
- type WithdrawPaymentAuthorization
- func (a WithdrawPaymentAuthorization) Accept(ctx context.Context, msg sdk.Msg) (authz.AcceptResponse, error)
- func (*WithdrawPaymentAuthorization) Descriptor() ([]byte, []int)
- func (m *WithdrawPaymentAuthorization) GetAdmin() string
- func (m *WithdrawPaymentAuthorization) GetConstraints() []*WithdrawPaymentConstraints
- func (m *WithdrawPaymentAuthorization) Marshal() (dAtA []byte, err error)
- func (m *WithdrawPaymentAuthorization) MarshalTo(dAtA []byte) (int, error)
- func (m *WithdrawPaymentAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (a WithdrawPaymentAuthorization) MsgTypeURL() string
- func (*WithdrawPaymentAuthorization) ProtoMessage()
- func (m *WithdrawPaymentAuthorization) Reset()
- func (m *WithdrawPaymentAuthorization) Size() (n int)
- func (m *WithdrawPaymentAuthorization) String() string
- func (m *WithdrawPaymentAuthorization) Unmarshal(dAtA []byte) error
- func (a WithdrawPaymentAuthorization) ValidateBasic() error
- func (m *WithdrawPaymentAuthorization) XXX_DiscardUnknown()
- func (m *WithdrawPaymentAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawPaymentAuthorization) XXX_Merge(src proto.Message)
- func (m *WithdrawPaymentAuthorization) XXX_Size() int
- func (m *WithdrawPaymentAuthorization) XXX_Unmarshal(b []byte) error
- type WithdrawPaymentConstraints
- func (*WithdrawPaymentConstraints) Descriptor() ([]byte, []int)
- func (m *WithdrawPaymentConstraints) GetClaimId() string
- func (m *WithdrawPaymentConstraints) GetContract_1155Payment() *Contract1155Payment
- func (m *WithdrawPaymentConstraints) GetCw20Payment() []*CW20Payment
- func (m *WithdrawPaymentConstraints) GetFromAddress() string
- func (m *WithdrawPaymentConstraints) GetInputs() []types1.Input
- func (m *WithdrawPaymentConstraints) GetOutputs() []types1.Output
- func (m *WithdrawPaymentConstraints) GetPaymentType() PaymentType
- func (m *WithdrawPaymentConstraints) GetReleaseDate() *time.Time
- func (m *WithdrawPaymentConstraints) GetToAddress() string
- func (m *WithdrawPaymentConstraints) Marshal() (dAtA []byte, err error)
- func (m *WithdrawPaymentConstraints) MarshalTo(dAtA []byte) (int, error)
- func (m *WithdrawPaymentConstraints) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WithdrawPaymentConstraints) ProtoMessage()
- func (m *WithdrawPaymentConstraints) Reset()
- func (m *WithdrawPaymentConstraints) Size() (n int)
- func (m *WithdrawPaymentConstraints) String() string
- func (m *WithdrawPaymentConstraints) Unmarshal(dAtA []byte) error
- func (m *WithdrawPaymentConstraints) XXX_DiscardUnknown()
- func (m *WithdrawPaymentConstraints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawPaymentConstraints) XXX_Merge(src proto.Message)
- func (m *WithdrawPaymentConstraints) XXX_Size() int
- func (m *WithdrawPaymentConstraints) XXX_Unmarshal(b []byte) error
Constants ¶
const ( DefaultIxoAccount = "ixo1kqmtxkggcqa9u34lnr6shy0euvclgatw4f9zz5" DefaultCollectionSequence = uint64(1) DefaultIntentSequence = uint64(1) )
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 )
const TypeMsgClaimIntent = "claim_intent"
-------------------------- CLAIM INTENT --------------------------
const TypeMsgCreateCollection = "create_collection"
-------------------------- CREATE COLLECTION --------------------------
const TypeMsgDisputeClaim = "dispute_claim"
-------------------------- DISPUTE CLAIM --------------------------
const TypeMsgEvaluateClaim = "evaluate_claim"
-------------------------- EVALUATE CLAIM --------------------------
const TypeMsgSubmitClaim = "submit_claim"
-------------------------- SUBMIT CLAIM --------------------------
const TypeMsgUpdateCollectionDates = "update_collection_dates"
-------------------------- UPDATE COLLECTION DATES --------------------------
const TypeMsgUpdateCollectionIntents = "update_collection_intents"
-------------------------- UPDATE COLLECTION INTENTS --------------------------
const TypeMsgUpdateCollectionPayments = "update_collection_payments"
-------------------------- UPDATE COLLECTION STATE --------------------------
const TypeMsgUpdateCollectionState = "update_collection_state"
-------------------------- UPDATE COLLECTION STATE --------------------------
const TypeMsgWithdrawPayment = "withdraw_payment"
-------------------------- WITHDRAW PAYMENT --------------------------
Variables ¶
var ( ErrInvalidLengthAuthz = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAuthz = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAuthz = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthClaims = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowClaims = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupClaims = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthCosmos = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCosmos = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCosmos = fmt.Errorf("proto: unexpected end of group") )
var ( ErrCollectionNotFound = errorsmod.Register(ModuleName, 1001, "collection not found") ErrCollectionNotOpen = errorsmod.Register(ModuleName, 1002, "collection is not in open state") ErrCollectionEvalError = errorsmod.Register(ModuleName, 1003, "evaluation payment is not allowed to have a Contract1155Payment") ErrCollNotEntityAcc = errorsmod.Register(ModuleName, 1004, "collection payments accounts can only be entity accounts") ErrCollectionEvalCW20Error = errorsmod.Register(ModuleName, 1005, "evaluation payment is not allowed to have CW20 payments") ErrClaimNotFound = errorsmod.Register(ModuleName, 1100, "claim not found") ErrClaimCollectionNotStarted = errorsmod.Register(ModuleName, 1102, "collection for claim has not started yet") ErrClaimCollectionEnded = errorsmod.Register(ModuleName, 1103, "collection for claim has ended") ErrClaimCollectionQuotaReached = errorsmod.Register(ModuleName, 1104, "collection for claim's quato has been reached") ErrClaimDuplicate = errorsmod.Register(ModuleName, 1105, "claim with id already exists") ErrClaimDuplicateEvaluation = errorsmod.Register(ModuleName, 1106, "claim with id already evaluated") ErrDisputeNotFound = errorsmod.Register(ModuleName, 1200, "dispute not found") ErrDisputeDuplicate = errorsmod.Register(ModuleName, 1201, "dispute with proof already exists") ErrEvaluateWrongCollection = errorsmod.Register(ModuleName, 1300, "evaluation claim and collection does not match") ErrPaymentPresetPercentagesOverflow = errorsmod.Register(ModuleName, 1400, "preset fee percentages for node and network overflows 100%") ErrPaymentWithdrawFailed = errorsmod.Register(ModuleName, 1401, "payment withdrawal failed") ErrDistributionFailed = errorsmod.Register(ModuleName, 1402, "distribution calculations failed") ErrOraclePaymentOnlyNative = errorsmod.Register(ModuleName, 1403, "oracle payments can only have Native Coin payments, CW20 payments are not allowed") ErrIntentNotFound = errorsmod.Register(ModuleName, 1500, "intent not found") ErrIntentExists = errorsmod.Register(ModuleName, 1501, "active intent found") )
x/claims module sentinel errors
var ( ErrInvalidLengthEvent = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvent = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( CollectionKey = []byte{0x01} ClaimKey = []byte{0x02} DisputeKey = []byte{0x03} IntentKey = []byte{0x04} )
var ( KeyCollectionSequence = []byte("CollectionSequence") KeyIntentSequence = []byte("IntentSequence") KeyIxoAccount = []byte("IxoAccount") KeyNetworkFeePercentage = []byte("NetworkFeePercentage") KeyNodeFeePercentage = []byte("NodeFeePercentage") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var CollectionIntentOptions_name = map[int32]string{
0: "ALLOW",
1: "DENY",
2: "REQUIRED",
}
var CollectionIntentOptions_value = map[string]int32{
"ALLOW": 0,
"DENY": 1,
"REQUIRED": 2,
}
var CollectionState_name = map[int32]string{
0: "OPEN",
1: "PAUSED",
2: "CLOSED",
}
var CollectionState_value = map[string]int32{
"OPEN": 0,
"PAUSED": 1,
"CLOSED": 2,
}
var EvaluationStatus_name = map[int32]string{
0: "PENDING",
1: "APPROVED",
2: "REJECTED",
3: "DISPUTED",
4: "INVALIDATED",
}
var EvaluationStatus_value = map[string]int32{
"PENDING": 0,
"APPROVED": 1,
"REJECTED": 2,
"DISPUTED": 3,
"INVALIDATED": 4,
}
var IntentStatus_name = map[int32]string{
0: "ACTIVE",
1: "FULFILLED",
2: "EXPIRED",
}
var IntentStatus_value = map[string]int32{
"ACTIVE": 0,
"FULFILLED": 1,
"EXPIRED": 2,
}
var (
ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry())
)
var OneHundred = math.LegacyNewDec(100)
var PaymentStatus_name = map[int32]string{
0: "NO_PAYMENT",
1: "PROMISED",
2: "AUTHORIZED",
3: "GUARANTEED",
4: "PAID",
5: "FAILED",
6: "DISPUTED_PAYMENT",
}
var PaymentStatus_value = map[string]int32{
"NO_PAYMENT": 0,
"PROMISED": 1,
"AUTHORIZED": 2,
"GUARANTEED": 3,
"PAID": 4,
"FAILED": 5,
"DISPUTED_PAYMENT": 6,
}
var PaymentType_name = map[int32]string{
0: "SUBMISSION",
1: "APPROVAL",
2: "EVALUATION",
3: "REJECTION",
}
var PaymentType_value = map[string]int32{
"SUBMISSION": 0,
"APPROVAL": 1,
"EVALUATION": 2,
"REJECTION": 3,
}
Functions ¶
func CreateNewCollectionEscrow ¶
func CreateNewCollectionEscrow(ctx sdk.Context, accKeeper AccountKeeper, collectionId string) (sdk.AccAddress, error)
Create a module account for entity id and name of account as fragemnt in form: did#name
func GetModuleAccountAddressEscrow ¶
func GetModuleAccountAddressEscrow(collectionId string) sdk.AccAddress
Helper to get module account address
func GetModuleAccountKeyEscrow ¶
Helper to get module account key in form of claims_escrow_{collectionId}
func HasBalances ¶
func HasBalances(ctx sdk.Context, bankKeeper bankkeeper.Keeper, payerAddr sdk.AccAddress, requiredFunds sdk.Coins) bool
func IntentKeyCreate ¶
Create the key for Intents KV Store: agentAddress+"/"+collectionID+"/"+intentID
func IsCW20PaymentsInMaxConstraints ¶
func IsCW20PaymentsInMaxConstraints(cw20Payments []*CW20Payment, maxCw20Payments []*CW20Payment) bool
func IsCoinsInMaxConstraints ¶
IsCoinsInMaxConstraints checks if the provided coins are within the max constraints
func IsValidCollection ¶
func IsValidCollection(collection *Collection) bool
IsValidCollection tells if a Claim Collection is valid,
func IsValidDispute ¶
IsValidDispute tells if a Dispute is valid,
func IsValidIntent ¶
IsValidIntent tells if a Intent is valid,
func IsZeroCW20Payments ¶
func IsZeroCW20Payments(cw20Payments []*CW20Payment) bool
IsZero returns true if there are no payments or all payments are zero.
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func ParseActiveIntentKey ¶
Unused for now ParseActiveIntentKey parses the ActiveIntentKey into agentAddress and collectionId
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
RegisterInterfaces registers interfaces and implementations of the x/claims module.
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterCodec registers the necessary x/claims interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func ValidateCW20Payments ¶
func ValidateCW20Payments(p []*CW20Payment, allowZero bool) error
ValidateCW20Payments validates CW20Payments by checking if: - addresses are valid - amounts are positive (default as type is Uint) - no duplicates in addresses
func ValidateCoinsAllowZero ¶
Validate checks that the Coins are sorted, have positive amount or zero, with a valid and unique denomination (i.e no duplicates). Otherwise, it returns an error. Copied from sdk.Coins.Validate()
Types ¶
type AccountKeeper ¶
type AuthzKeeper ¶
type AuthzKeeper interface { GetAuthorizations(ctx context.Context, grantee, granter sdk.AccAddress) ([]authz.Authorization, error) SaveGrant(ctx context.Context, grantee, granter sdk.AccAddress, authorization authz.Authorization, expiration *time.Time) error GetAuthorization(ctx context.Context, grantee, granter sdk.AccAddress, msgType string) (authz.Authorization, *time.Time) }
type BankKeeper ¶
type CW20Payment ¶
type CW20Payment struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // chose uint64 for now as amounts should be small enough to fit in a // uint64(max 18446744073709551615) Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` }
func (*CW20Payment) Descriptor ¶
func (*CW20Payment) Descriptor() ([]byte, []int)
func (*CW20Payment) Equal ¶
func (this *CW20Payment) Equal(that interface{}) bool
func (*CW20Payment) GetAddress ¶
func (m *CW20Payment) GetAddress() string
func (*CW20Payment) GetAmount ¶
func (m *CW20Payment) GetAmount() uint64
func (*CW20Payment) Marshal ¶
func (m *CW20Payment) Marshal() (dAtA []byte, err error)
func (*CW20Payment) MarshalToSizedBuffer ¶
func (m *CW20Payment) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CW20Payment) ProtoMessage ¶
func (*CW20Payment) ProtoMessage()
func (*CW20Payment) Reset ¶
func (m *CW20Payment) Reset()
func (*CW20Payment) Size ¶
func (m *CW20Payment) Size() (n int)
func (*CW20Payment) String ¶
func (m *CW20Payment) String() string
func (*CW20Payment) Unmarshal ¶
func (m *CW20Payment) Unmarshal(dAtA []byte) error
func (*CW20Payment) Validate ¶
func (p *CW20Payment) Validate(allowZero bool) error
func (*CW20Payment) XXX_DiscardUnknown ¶
func (m *CW20Payment) XXX_DiscardUnknown()
func (*CW20Payment) XXX_Marshal ¶
func (m *CW20Payment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CW20Payment) XXX_Merge ¶
func (m *CW20Payment) XXX_Merge(src proto.Message)
func (*CW20Payment) XXX_Size ¶
func (m *CW20Payment) XXX_Size() int
func (*CW20Payment) XXX_Unmarshal ¶
func (m *CW20Payment) XXX_Unmarshal(b []byte) error
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"` // payments_status is the status of the payments for the claim PaymentsStatus *ClaimPayments `protobuf:"bytes,7,opt,name=payments_status,json=paymentsStatus,proto3" json:"payments_status,omitempty"` // intent_id is the id of the intent for this claim, if any UseIntent bool `protobuf:"varint,8,opt,name=use_intent,json=useIntent,proto3" json:"use_intent,omitempty"` // NOTE: if both amount and cw20 amount are empty then use default by // Collection custom amount specified by service agent for claim approval Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,9,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` // NOTE: if both amount and cw20 amount are empty then use default by // Collection custom cw20 payments specified by service agent for claim // approval Cw20Payment []*CW20Payment `protobuf:"bytes,10,rep,name=cw20_payment,json=cw20Payment,proto3" json:"cw20_payment,omitempty"` }
func (*Claim) Descriptor ¶
func (*Claim) GetAgentAddress ¶
func (*Claim) GetAgentDid ¶
func (*Claim) GetAmount ¶
func (m *Claim) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*Claim) GetClaimId ¶
func (*Claim) GetCollectionId ¶
func (*Claim) GetCw20Payment ¶
func (m *Claim) GetCw20Payment() []*CW20Payment
func (*Claim) GetEvaluation ¶
func (m *Claim) GetEvaluation() *Evaluation
func (*Claim) GetPaymentsStatus ¶
func (m *Claim) GetPaymentsStatus() *ClaimPayments
func (*Claim) GetSubmissionDate ¶
func (*Claim) GetUseIntent ¶
func (*Claim) ProtoMessage ¶
func (*Claim) ProtoMessage()
func (*Claim) XXX_DiscardUnknown ¶
func (m *Claim) XXX_DiscardUnknown()
func (*Claim) XXX_Marshal ¶
func (*Claim) XXX_Unmarshal ¶
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) 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), and can update the collection 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"` // invalidated is the number of claims that have been evaluated as invalid // (internally calculated) Invalidated uint64 `protobuf:"varint,16,opt,name=invalidated,proto3" json:"invalidated,omitempty"` // escrow_account is the escrow account address for this collection created at // collection creation, current purpose is to transfer payments to escrow // account for GUARANTEED payments through intents EscrowAccount string `protobuf:"bytes,17,opt,name=escrow_account,json=escrowAccount,proto3" json:"escrow_account,omitempty"` // intents is the option for intents for this collection (allow, deny, // required) Intents CollectionIntentOptions `protobuf:"varint,18,opt,name=intents,proto3,enum=ixo.claims.v1beta1.CollectionIntentOptions" json:"intents,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) GetEscrowAccount ¶
func (m *Collection) GetEscrowAccount() string
func (*Collection) GetEvaluated ¶
func (m *Collection) GetEvaluated() uint64
func (*Collection) GetId ¶
func (m *Collection) GetId() string
func (*Collection) GetIntents ¶
func (m *Collection) GetIntents() CollectionIntentOptions
func (*Collection) GetInvalidated ¶
func (m *Collection) GetInvalidated() uint64
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) 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 CollectionIntentOptions ¶
type CollectionIntentOptions int32
const ( // Allow: Intents can be made for claims, but claims can also be made without // intents. CollectionIntentOptions_allow CollectionIntentOptions = 0 // Deny: Intents cannot be made for claims for the collection. CollectionIntentOptions_deny CollectionIntentOptions = 1 // Required: Claims cannot be made without an associated intent. An intent is // mandatory before a claim can be submitted. CollectionIntentOptions_required CollectionIntentOptions = 2 )
func (CollectionIntentOptions) EnumDescriptor ¶
func (CollectionIntentOptions) EnumDescriptor() ([]byte, []int)
func (CollectionIntentOptions) String ¶
func (x CollectionIntentOptions) String() string
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) Validate ¶
func (p *Contract1155Payment) Validate() 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) GetData ¶
func (m *Dispute) GetData() *DisputeData
func (*Dispute) GetSubjectId ¶
func (*Dispute) MarshalToSizedBuffer ¶
func (*Dispute) ProtoMessage ¶
func (*Dispute) ProtoMessage()
func (*Dispute) XXX_DiscardUnknown ¶
func (m *Dispute) XXX_DiscardUnknown()
func (*Dispute) XXX_Marshal ¶
func (*Dispute) XXX_Unmarshal ¶
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) 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 ¶
type DistributionShare ¶
type DistributionShare struct {
// contains filtered or unexported fields
}
func NewDistributionShare ¶
func NewDistributionShare(address sdk.AccAddress, percentage math.LegacyDec) DistributionShare
func (DistributionShare) GetAddress ¶
func (d DistributionShare) GetAddress() (sdk.AccAddress, error)
func (DistributionShare) GetShareOf ¶
func (d DistributionShare) GetShareOf(amount sdk.DecCoins) sdk.DecCoins
type EntityKeeper ¶
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 ¶
func (a EvaluateClaimAuthorization) Accept(ctx context.Context, msg sdk.Msg) (authz.AcceptResponse, error)
Accept implements Authorization.Accept.
func (*EvaluateClaimAuthorization) Descriptor ¶
func (*EvaluateClaimAuthorization) Descriptor() ([]byte, []int)
func (*EvaluateClaimAuthorization) GetAdmin ¶
func (m *EvaluateClaimAuthorization) GetAdmin() string
func (*EvaluateClaimAuthorization) GetConstraints ¶
func (m *EvaluateClaimAuthorization) GetConstraints() []*EvaluateClaimConstraints
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 */ // max custom cw20 payment evaluator can change, if empty list must use amount // defined in Token payments MaxCustomCw20Payment []*CW20Payment `` /* 126-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 (m *EvaluateClaimConstraints) GetMaxCustomAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*EvaluateClaimConstraints) GetMaxCustomCw20Payment ¶
func (m *EvaluateClaimConstraints) GetMaxCustomCw20Payment() []*CW20Payment
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"` // if both amount and cw20 amount are empty then use default by Collection // custom amount specified by evaluator for claim approval 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"` // custom cw20 payments specified by evaluator for claim approval Cw20Payment []*CW20Payment `protobuf:"bytes,11,rep,name=cw20_payment,json=cw20Payment,proto3" json:"cw20_payment,omitempty"` }
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 (m *Evaluation) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*Evaluation) GetClaimId ¶
func (m *Evaluation) GetClaimId() string
func (*Evaluation) GetCollectionId ¶
func (m *Evaluation) GetCollectionId() string
func (*Evaluation) GetCw20Payment ¶
func (m *Evaluation) GetCw20Payment() []*CW20Payment
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) 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 EvaluationStatus_invalidated EvaluationStatus = 4 )
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"` Intents []Intent `protobuf:"bytes,5,rep,name=intents,proto3" json:"intents"` }
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) GetIntents ¶
func (m *GenesisState) GetIntents() []Intent
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (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) ProtoMessage ¶
func (*Input) ProtoMessage()
func (*Input) XXX_DiscardUnknown ¶
func (m *Input) XXX_DiscardUnknown()
func (*Input) XXX_Marshal ¶
func (*Input) XXX_Unmarshal ¶
type Intent ¶
type Intent struct { // id is the incremented internal id for the intent Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The service agent's DID (Decentralized Identifier). AgentDid string `protobuf:"bytes,2,opt,name=agent_did,json=agentDid,proto3" json:"agent_did,omitempty"` // The service agent's address. AgentAddress string `protobuf:"bytes,3,opt,name=agent_address,json=agentAddress,proto3" json:"agent_address,omitempty"` // The id of the collection this intent is linked to. CollectionId string `protobuf:"bytes,4,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` // claim_id (optional, set when claim is submitted) ClaimId string `protobuf:"bytes,5,opt,name=claim_id,json=claimId,proto3" json:"claim_id,omitempty"` // The time the intent was created. CreatedAt *time.Time `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at,omitempty"` // Timeout period for the intent. If the claim is not submitted by this time, // the intent expires. ExpireAt *time.Time `protobuf:"bytes,7,opt,name=expire_at,json=expireAt,proto3,stdtime" json:"expire_at,omitempty"` // Status of the intent (e.g., "ACTIVE" or "FULFILLED"). Status IntentStatus `protobuf:"varint,8,opt,name=status,proto3,enum=ixo.claims.v1beta1.IntentStatus" json:"status,omitempty"` // The payment amount the agent intends to claim, if any. Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,9,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` // The CW20Payment amount the agent intends to claim, if any. Cw20Payment []*CW20Payment `protobuf:"bytes,10,rep,name=cw20_payment,json=cw20Payment,proto3" json:"cw20_payment,omitempty"` // the address the escrow payment came from FromAddress string `protobuf:"bytes,11,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` // the escrow account address EscrowAddress string `protobuf:"bytes,12,opt,name=escrow_address,json=escrowAddress,proto3" json:"escrow_address,omitempty"` }
Intent defines the structure for a service agent's claim intent.
func (*Intent) Descriptor ¶
func (*Intent) GetAgentAddress ¶
func (*Intent) GetAgentDid ¶
func (*Intent) GetAmount ¶
func (m *Intent) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*Intent) GetClaimId ¶
func (*Intent) GetCollectionId ¶
func (*Intent) GetCreatedAt ¶
func (*Intent) GetCw20Payment ¶
func (m *Intent) GetCw20Payment() []*CW20Payment
func (*Intent) GetEscrowAddress ¶
func (*Intent) GetExpireAt ¶
func (*Intent) GetFromAddress ¶
func (*Intent) GetStatus ¶
func (m *Intent) GetStatus() IntentStatus
func (*Intent) MarshalToSizedBuffer ¶
func (*Intent) ProtoMessage ¶
func (*Intent) ProtoMessage()
func (*Intent) XXX_DiscardUnknown ¶
func (m *Intent) XXX_DiscardUnknown()
func (*Intent) XXX_Marshal ¶
func (*Intent) XXX_Unmarshal ¶
type IntentStatus ¶
type IntentStatus int32
const ( // Active: Intent is created and active, payments have been transferred to // escrow if there is any IntentStatus_active IntentStatus = 0 // Fulfilled: Intent is fulfilled, was used to create a claim and funds will // be released on claim APPROVAL, or funds will be reverted on claim REJECTION // or DISPUTE IntentStatus_fulfilled IntentStatus = 1 // Expired: Intent has expired, payments have been transferred back out of // escrow IntentStatus_expired IntentStatus = 2 )
func (IntentStatus) EnumDescriptor ¶
func (IntentStatus) EnumDescriptor() ([]byte, []int)
func (IntentStatus) String ¶
func (x IntentStatus) String() string
type IntentSubmittedEvent ¶
type IntentSubmittedEvent struct {
Intent *Intent `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"`
}
IntentSubmittedEvent is an event triggered on an Intent submission
func (*IntentSubmittedEvent) Descriptor ¶
func (*IntentSubmittedEvent) Descriptor() ([]byte, []int)
func (*IntentSubmittedEvent) GetIntent ¶
func (m *IntentSubmittedEvent) GetIntent() *Intent
func (*IntentSubmittedEvent) Marshal ¶
func (m *IntentSubmittedEvent) Marshal() (dAtA []byte, err error)
func (*IntentSubmittedEvent) MarshalTo ¶
func (m *IntentSubmittedEvent) MarshalTo(dAtA []byte) (int, error)
func (*IntentSubmittedEvent) MarshalToSizedBuffer ¶
func (m *IntentSubmittedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IntentSubmittedEvent) ProtoMessage ¶
func (*IntentSubmittedEvent) ProtoMessage()
func (*IntentSubmittedEvent) Reset ¶
func (m *IntentSubmittedEvent) Reset()
func (*IntentSubmittedEvent) Size ¶
func (m *IntentSubmittedEvent) Size() (n int)
func (*IntentSubmittedEvent) String ¶
func (m *IntentSubmittedEvent) String() string
func (*IntentSubmittedEvent) Unmarshal ¶
func (m *IntentSubmittedEvent) Unmarshal(dAtA []byte) error
func (*IntentSubmittedEvent) XXX_DiscardUnknown ¶
func (m *IntentSubmittedEvent) XXX_DiscardUnknown()
func (*IntentSubmittedEvent) XXX_Marshal ¶
func (m *IntentSubmittedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IntentSubmittedEvent) XXX_Merge ¶
func (m *IntentSubmittedEvent) XXX_Merge(src proto.Message)
func (*IntentSubmittedEvent) XXX_Size ¶
func (m *IntentSubmittedEvent) XXX_Size() int
func (*IntentSubmittedEvent) XXX_Unmarshal ¶
func (m *IntentSubmittedEvent) XXX_Unmarshal(b []byte) error
type IntentUpdatedEvent ¶
type IntentUpdatedEvent struct {
Intent *Intent `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"`
}
IntentUpdatedEvent is an event triggered on an Intent update
func (*IntentUpdatedEvent) Descriptor ¶
func (*IntentUpdatedEvent) Descriptor() ([]byte, []int)
func (*IntentUpdatedEvent) GetIntent ¶
func (m *IntentUpdatedEvent) GetIntent() *Intent
func (*IntentUpdatedEvent) Marshal ¶
func (m *IntentUpdatedEvent) Marshal() (dAtA []byte, err error)
func (*IntentUpdatedEvent) MarshalTo ¶
func (m *IntentUpdatedEvent) MarshalTo(dAtA []byte) (int, error)
func (*IntentUpdatedEvent) MarshalToSizedBuffer ¶
func (m *IntentUpdatedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IntentUpdatedEvent) ProtoMessage ¶
func (*IntentUpdatedEvent) ProtoMessage()
func (*IntentUpdatedEvent) Reset ¶
func (m *IntentUpdatedEvent) Reset()
func (*IntentUpdatedEvent) Size ¶
func (m *IntentUpdatedEvent) Size() (n int)
func (*IntentUpdatedEvent) String ¶
func (m *IntentUpdatedEvent) String() string
func (*IntentUpdatedEvent) Unmarshal ¶
func (m *IntentUpdatedEvent) Unmarshal(dAtA []byte) error
func (*IntentUpdatedEvent) XXX_DiscardUnknown ¶
func (m *IntentUpdatedEvent) XXX_DiscardUnknown()
func (*IntentUpdatedEvent) XXX_Marshal ¶
func (m *IntentUpdatedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IntentUpdatedEvent) XXX_Merge ¶
func (m *IntentUpdatedEvent) XXX_Merge(src proto.Message)
func (*IntentUpdatedEvent) XXX_Size ¶
func (m *IntentUpdatedEvent) XXX_Size() int
func (*IntentUpdatedEvent) XXX_Unmarshal ¶
func (m *IntentUpdatedEvent) XXX_Unmarshal(b []byte) error
type MsgClaimIntent ¶
type MsgClaimIntent struct { // The service agent's DID (Decentralized Identifier). AgentDid github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment `` /* 161-byte string literal not displayed */ // The service agent's address (who submits this message). AgentAddress string `protobuf:"bytes,2,opt,name=agent_address,json=agentAddress,proto3" json:"agent_address,omitempty"` // The id of the collection this intent is linked to. CollectionId string `protobuf:"bytes,3,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` // NOTE: if both amount and cw20 amount are empty then default by Collection // is used (APPROVAL payment). The desired claim amount, if any. Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,4,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` // NOTE: if both amount and cw20 amount are empty then default by Collection // is used (APPROVAL payment). The custom CW20 payment, if any. Cw20Payment []*CW20Payment `protobuf:"bytes,5,rep,name=cw20_payment,json=cw20Payment,proto3" json:"cw20_payment,omitempty"` }
func (*MsgClaimIntent) Descriptor ¶
func (*MsgClaimIntent) Descriptor() ([]byte, []int)
func (*MsgClaimIntent) GetAgentAddress ¶
func (m *MsgClaimIntent) GetAgentAddress() string
func (*MsgClaimIntent) GetAgentDid ¶
func (m *MsgClaimIntent) GetAgentDid() github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment
func (*MsgClaimIntent) GetAmount ¶
func (m *MsgClaimIntent) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgClaimIntent) GetCollectionId ¶
func (m *MsgClaimIntent) GetCollectionId() string
func (*MsgClaimIntent) GetCw20Payment ¶
func (m *MsgClaimIntent) GetCw20Payment() []*CW20Payment
func (MsgClaimIntent) GetIidController ¶
func (msg MsgClaimIntent) GetIidController() iidtypes.DIDFragment
func (*MsgClaimIntent) Marshal ¶
func (m *MsgClaimIntent) Marshal() (dAtA []byte, err error)
func (*MsgClaimIntent) MarshalToSizedBuffer ¶
func (m *MsgClaimIntent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimIntent) ProtoMessage ¶
func (*MsgClaimIntent) ProtoMessage()
func (*MsgClaimIntent) Reset ¶
func (m *MsgClaimIntent) Reset()
func (MsgClaimIntent) Route ¶
func (msg MsgClaimIntent) Route() string
func (*MsgClaimIntent) Size ¶
func (m *MsgClaimIntent) Size() (n int)
func (*MsgClaimIntent) String ¶
func (m *MsgClaimIntent) String() string
func (MsgClaimIntent) Type ¶
func (msg MsgClaimIntent) Type() string
func (*MsgClaimIntent) Unmarshal ¶
func (m *MsgClaimIntent) Unmarshal(dAtA []byte) error
func (*MsgClaimIntent) ValidateBasic ¶
func (msg *MsgClaimIntent) ValidateBasic() error
-------------------------- CLAIM INTENT --------------------------
func (*MsgClaimIntent) XXX_DiscardUnknown ¶
func (m *MsgClaimIntent) XXX_DiscardUnknown()
func (*MsgClaimIntent) XXX_Marshal ¶
func (m *MsgClaimIntent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimIntent) XXX_Merge ¶
func (m *MsgClaimIntent) XXX_Merge(src proto.Message)
func (*MsgClaimIntent) XXX_Size ¶
func (m *MsgClaimIntent) XXX_Size() int
func (*MsgClaimIntent) XXX_Unmarshal ¶
func (m *MsgClaimIntent) XXX_Unmarshal(b []byte) error
type MsgClaimIntentResponse ¶
type MsgClaimIntentResponse struct { // Resulting intent id. IntentId string `protobuf:"bytes,1,opt,name=intent_id,json=intentId,proto3" json:"intent_id,omitempty"` // Timeout period for the intent. If the claim is not submitted by this time, // the intent expires. ExpireAt *time.Time `protobuf:"bytes,2,opt,name=expire_at,json=expireAt,proto3,stdtime" json:"expire_at,omitempty"` }
MsgClaimIntentResponse defines the response after submitting an intent.
func (*MsgClaimIntentResponse) Descriptor ¶
func (*MsgClaimIntentResponse) Descriptor() ([]byte, []int)
func (*MsgClaimIntentResponse) GetExpireAt ¶
func (m *MsgClaimIntentResponse) GetExpireAt() *time.Time
func (*MsgClaimIntentResponse) GetIntentId ¶
func (m *MsgClaimIntentResponse) GetIntentId() string
func (*MsgClaimIntentResponse) Marshal ¶
func (m *MsgClaimIntentResponse) Marshal() (dAtA []byte, err error)
func (*MsgClaimIntentResponse) MarshalTo ¶
func (m *MsgClaimIntentResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimIntentResponse) MarshalToSizedBuffer ¶
func (m *MsgClaimIntentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimIntentResponse) ProtoMessage ¶
func (*MsgClaimIntentResponse) ProtoMessage()
func (*MsgClaimIntentResponse) Reset ¶
func (m *MsgClaimIntentResponse) Reset()
func (*MsgClaimIntentResponse) Size ¶
func (m *MsgClaimIntentResponse) Size() (n int)
func (*MsgClaimIntentResponse) String ¶
func (m *MsgClaimIntentResponse) String() string
func (*MsgClaimIntentResponse) Unmarshal ¶
func (m *MsgClaimIntentResponse) Unmarshal(dAtA []byte) error
func (*MsgClaimIntentResponse) XXX_DiscardUnknown ¶
func (m *MsgClaimIntentResponse) XXX_DiscardUnknown()
func (*MsgClaimIntentResponse) XXX_Marshal ¶
func (m *MsgClaimIntentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimIntentResponse) XXX_Merge ¶
func (m *MsgClaimIntentResponse) XXX_Merge(src proto.Message)
func (*MsgClaimIntentResponse) XXX_Size ¶
func (m *MsgClaimIntentResponse) XXX_Size() int
func (*MsgClaimIntentResponse) XXX_Unmarshal ¶
func (m *MsgClaimIntentResponse) 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) UpdateCollectionState(ctx context.Context, in *MsgUpdateCollectionState, opts ...grpc.CallOption) (*MsgUpdateCollectionStateResponse, error) UpdateCollectionDates(ctx context.Context, in *MsgUpdateCollectionDates, opts ...grpc.CallOption) (*MsgUpdateCollectionDatesResponse, error) UpdateCollectionPayments(ctx context.Context, in *MsgUpdateCollectionPayments, opts ...grpc.CallOption) (*MsgUpdateCollectionPaymentsResponse, error) UpdateCollectionIntents(ctx context.Context, in *MsgUpdateCollectionIntents, opts ...grpc.CallOption) (*MsgUpdateCollectionIntentsResponse, error) ClaimIntent(ctx context.Context, in *MsgClaimIntent, opts ...grpc.CallOption) (*MsgClaimIntentResponse, 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"` // intents is the option for intents for this collection (allow, deny, // required) Intents CollectionIntentOptions `protobuf:"varint,9,opt,name=intents,proto3,enum=ixo.claims.v1beta1.CollectionIntentOptions" json:"intents,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) GetIntents ¶
func (m *MsgCreateCollection) GetIntents() CollectionIntentOptions
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) GetSigner ¶
func (m *MsgCreateCollection) GetSigner() string
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 details won't be // saved in kvStore AgentDid github_com_ixofoundation_ixo_blockchain_v4_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) GetAgentDid ¶
func (m *MsgDisputeClaim) GetAgentDid() github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment
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) GetSubjectId ¶
func (m *MsgDisputeClaim) GetSubjectId() string
func (*MsgDisputeClaim) Marshal ¶
func (m *MsgDisputeClaim) Marshal() (dAtA []byte, err 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"` // collection_id indicates to which Collection this claim belongs 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_v4_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"` // NOTE: if claim is using intent, then amount and cw20 amount are ignored and // overriden with intent amounts NOTE: if both amount and cw20 amount are // empty then use collection default custom amount specified by evaluator for // claim approval 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"` // NOTE: if claim is using intent, then amount and cw20 amount are ignored and // overriden with intent amounts NOTE: if both amount and cw20 amount are // empty then use collection default custom cw20 payments specified by // evaluator for claim approval Cw20Payment []*CW20Payment `protobuf:"bytes,11,rep,name=cw20_payment,json=cw20Payment,proto3" json:"cw20_payment,omitempty"` }
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) GetAgentDid ¶
func (m *MsgEvaluateClaim) GetAgentDid() github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment
func (*MsgEvaluateClaim) GetAmount ¶
func (m *MsgEvaluateClaim) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgEvaluateClaim) GetClaimId ¶
func (m *MsgEvaluateClaim) GetClaimId() string
func (*MsgEvaluateClaim) GetCollectionId ¶
func (m *MsgEvaluateClaim) GetCollectionId() string
func (*MsgEvaluateClaim) GetCw20Payment ¶
func (m *MsgEvaluateClaim) GetCw20Payment() []*CW20Payment
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) 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) 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 ¶
type MsgServer interface { CreateCollection(context.Context, *MsgCreateCollection) (*MsgCreateCollectionResponse, error) SubmitClaim(context.Context, *MsgSubmitClaim) (*MsgSubmitClaimResponse, error) EvaluateClaim(context.Context, *MsgEvaluateClaim) (*MsgEvaluateClaimResponse, error) DisputeClaim(context.Context, *MsgDisputeClaim) (*MsgDisputeClaimResponse, error) WithdrawPayment(context.Context, *MsgWithdrawPayment) (*MsgWithdrawPaymentResponse, error) UpdateCollectionState(context.Context, *MsgUpdateCollectionState) (*MsgUpdateCollectionStateResponse, error) UpdateCollectionDates(context.Context, *MsgUpdateCollectionDates) (*MsgUpdateCollectionDatesResponse, error) UpdateCollectionPayments(context.Context, *MsgUpdateCollectionPayments) (*MsgUpdateCollectionPaymentsResponse, error) UpdateCollectionIntents(context.Context, *MsgUpdateCollectionIntents) (*MsgUpdateCollectionIntentsResponse, error) ClaimIntent(context.Context, *MsgClaimIntent) (*MsgClaimIntentResponse, error) }
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_v4_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"` // use_intent is the option for using intent for this claim if it exists and // is active. NOTE: if use_intent is true then amount and cw20 amount are // ignored and overriden with intent amounts. NOTE: if use_intent is true and // there is no active intent then will error UseIntent bool `protobuf:"varint,6,opt,name=use_intent,json=useIntent,proto3" json:"use_intent,omitempty"` // NOTE: if both amount and cw20_payment are empty then use default by // Collection custom amount specified by service agent for claim approval Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,7,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` // NOTE: if both amount and cw20 amount are empty then use default by // Collection custom cw20 payments specified by service agent for claim // approval Cw20Payment []*CW20Payment `protobuf:"bytes,8,rep,name=cw20_payment,json=cw20Payment,proto3" json:"cw20_payment,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) GetAgentDid ¶
func (m *MsgSubmitClaim) GetAgentDid() github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment
func (*MsgSubmitClaim) GetAmount ¶
func (m *MsgSubmitClaim) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgSubmitClaim) GetClaimId ¶
func (m *MsgSubmitClaim) GetClaimId() string
func (*MsgSubmitClaim) GetCollectionId ¶
func (m *MsgSubmitClaim) GetCollectionId() string
func (*MsgSubmitClaim) GetCw20Payment ¶
func (m *MsgSubmitClaim) GetCw20Payment() []*CW20Payment
func (MsgSubmitClaim) GetIidController ¶
func (msg MsgSubmitClaim) GetIidController() iidtypes.DIDFragment
func (*MsgSubmitClaim) GetUseIntent ¶
func (m *MsgSubmitClaim) GetUseIntent() bool
func (*MsgSubmitClaim) Marshal ¶
func (m *MsgSubmitClaim) Marshal() (dAtA []byte, err 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 MsgUpdateCollectionDates ¶
type MsgUpdateCollectionDates struct { // collection_id indicates which Collection to update CollectionId string `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` // startDate is the date after which claims may be submitted StartDate *time.Time `protobuf:"bytes,2,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,3,opt,name=end_date,json=endDate,proto3,stdtime" json:"end_date,omitempty"` // admin address used to sign this message, validated against Collection Admin AdminAddress string `protobuf:"bytes,4,opt,name=admin_address,json=adminAddress,proto3" json:"admin_address,omitempty"` }
func (*MsgUpdateCollectionDates) Descriptor ¶
func (*MsgUpdateCollectionDates) Descriptor() ([]byte, []int)
func (*MsgUpdateCollectionDates) GetAdminAddress ¶
func (m *MsgUpdateCollectionDates) GetAdminAddress() string
func (*MsgUpdateCollectionDates) GetCollectionId ¶
func (m *MsgUpdateCollectionDates) GetCollectionId() string
func (*MsgUpdateCollectionDates) GetEndDate ¶
func (m *MsgUpdateCollectionDates) GetEndDate() *time.Time
func (*MsgUpdateCollectionDates) GetStartDate ¶
func (m *MsgUpdateCollectionDates) GetStartDate() *time.Time
func (*MsgUpdateCollectionDates) Marshal ¶
func (m *MsgUpdateCollectionDates) Marshal() (dAtA []byte, err error)
func (*MsgUpdateCollectionDates) MarshalTo ¶
func (m *MsgUpdateCollectionDates) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateCollectionDates) MarshalToSizedBuffer ¶
func (m *MsgUpdateCollectionDates) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateCollectionDates) ProtoMessage ¶
func (*MsgUpdateCollectionDates) ProtoMessage()
func (*MsgUpdateCollectionDates) Reset ¶
func (m *MsgUpdateCollectionDates) Reset()
func (MsgUpdateCollectionDates) Route ¶
func (msg MsgUpdateCollectionDates) Route() string
func (*MsgUpdateCollectionDates) Size ¶
func (m *MsgUpdateCollectionDates) Size() (n int)
func (*MsgUpdateCollectionDates) String ¶
func (m *MsgUpdateCollectionDates) String() string
func (MsgUpdateCollectionDates) Type ¶
func (msg MsgUpdateCollectionDates) Type() string
func (*MsgUpdateCollectionDates) Unmarshal ¶
func (m *MsgUpdateCollectionDates) Unmarshal(dAtA []byte) error
func (MsgUpdateCollectionDates) ValidateBasic ¶
func (msg MsgUpdateCollectionDates) ValidateBasic() error
-------------------------- UPDATE COLLECTION DATES --------------------------
func (*MsgUpdateCollectionDates) XXX_DiscardUnknown ¶
func (m *MsgUpdateCollectionDates) XXX_DiscardUnknown()
func (*MsgUpdateCollectionDates) XXX_Marshal ¶
func (m *MsgUpdateCollectionDates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateCollectionDates) XXX_Merge ¶
func (m *MsgUpdateCollectionDates) XXX_Merge(src proto.Message)
func (*MsgUpdateCollectionDates) XXX_Size ¶
func (m *MsgUpdateCollectionDates) XXX_Size() int
func (*MsgUpdateCollectionDates) XXX_Unmarshal ¶
func (m *MsgUpdateCollectionDates) XXX_Unmarshal(b []byte) error
type MsgUpdateCollectionDatesResponse ¶
type MsgUpdateCollectionDatesResponse struct { }
func (*MsgUpdateCollectionDatesResponse) Descriptor ¶
func (*MsgUpdateCollectionDatesResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateCollectionDatesResponse) Marshal ¶
func (m *MsgUpdateCollectionDatesResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateCollectionDatesResponse) MarshalTo ¶
func (m *MsgUpdateCollectionDatesResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateCollectionDatesResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateCollectionDatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateCollectionDatesResponse) ProtoMessage ¶
func (*MsgUpdateCollectionDatesResponse) ProtoMessage()
func (*MsgUpdateCollectionDatesResponse) Reset ¶
func (m *MsgUpdateCollectionDatesResponse) Reset()
func (*MsgUpdateCollectionDatesResponse) Size ¶
func (m *MsgUpdateCollectionDatesResponse) Size() (n int)
func (*MsgUpdateCollectionDatesResponse) String ¶
func (m *MsgUpdateCollectionDatesResponse) String() string
func (*MsgUpdateCollectionDatesResponse) Unmarshal ¶
func (m *MsgUpdateCollectionDatesResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateCollectionDatesResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateCollectionDatesResponse) XXX_DiscardUnknown()
func (*MsgUpdateCollectionDatesResponse) XXX_Marshal ¶
func (m *MsgUpdateCollectionDatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateCollectionDatesResponse) XXX_Merge ¶
func (m *MsgUpdateCollectionDatesResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateCollectionDatesResponse) XXX_Size ¶
func (m *MsgUpdateCollectionDatesResponse) XXX_Size() int
func (*MsgUpdateCollectionDatesResponse) XXX_Unmarshal ¶
func (m *MsgUpdateCollectionDatesResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateCollectionIntents ¶
type MsgUpdateCollectionIntents struct { // collection_id indicates which Collection to update CollectionId string `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` // intents is the option for intents for this collection (allow, deny, // required) Intents CollectionIntentOptions `protobuf:"varint,2,opt,name=intents,proto3,enum=ixo.claims.v1beta1.CollectionIntentOptions" json:"intents,omitempty"` // admin address used to sign this message, validated against Collection Admin AdminAddress string `protobuf:"bytes,3,opt,name=admin_address,json=adminAddress,proto3" json:"admin_address,omitempty"` }
func (*MsgUpdateCollectionIntents) Descriptor ¶
func (*MsgUpdateCollectionIntents) Descriptor() ([]byte, []int)
func (*MsgUpdateCollectionIntents) GetAdminAddress ¶
func (m *MsgUpdateCollectionIntents) GetAdminAddress() string
func (*MsgUpdateCollectionIntents) GetCollectionId ¶
func (m *MsgUpdateCollectionIntents) GetCollectionId() string
func (*MsgUpdateCollectionIntents) GetIntents ¶
func (m *MsgUpdateCollectionIntents) GetIntents() CollectionIntentOptions
func (*MsgUpdateCollectionIntents) Marshal ¶
func (m *MsgUpdateCollectionIntents) Marshal() (dAtA []byte, err error)
func (*MsgUpdateCollectionIntents) MarshalTo ¶
func (m *MsgUpdateCollectionIntents) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateCollectionIntents) MarshalToSizedBuffer ¶
func (m *MsgUpdateCollectionIntents) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateCollectionIntents) ProtoMessage ¶
func (*MsgUpdateCollectionIntents) ProtoMessage()
func (*MsgUpdateCollectionIntents) Reset ¶
func (m *MsgUpdateCollectionIntents) Reset()
func (MsgUpdateCollectionIntents) Route ¶
func (msg MsgUpdateCollectionIntents) Route() string
func (*MsgUpdateCollectionIntents) Size ¶
func (m *MsgUpdateCollectionIntents) Size() (n int)
func (*MsgUpdateCollectionIntents) String ¶
func (m *MsgUpdateCollectionIntents) String() string
func (MsgUpdateCollectionIntents) Type ¶
func (msg MsgUpdateCollectionIntents) Type() string
func (*MsgUpdateCollectionIntents) Unmarshal ¶
func (m *MsgUpdateCollectionIntents) Unmarshal(dAtA []byte) error
func (MsgUpdateCollectionIntents) ValidateBasic ¶
func (msg MsgUpdateCollectionIntents) ValidateBasic() error
-------------------------- UPDATE COLLECTION INTENTS --------------------------
func (*MsgUpdateCollectionIntents) XXX_DiscardUnknown ¶
func (m *MsgUpdateCollectionIntents) XXX_DiscardUnknown()
func (*MsgUpdateCollectionIntents) XXX_Marshal ¶
func (m *MsgUpdateCollectionIntents) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateCollectionIntents) XXX_Merge ¶
func (m *MsgUpdateCollectionIntents) XXX_Merge(src proto.Message)
func (*MsgUpdateCollectionIntents) XXX_Size ¶
func (m *MsgUpdateCollectionIntents) XXX_Size() int
func (*MsgUpdateCollectionIntents) XXX_Unmarshal ¶
func (m *MsgUpdateCollectionIntents) XXX_Unmarshal(b []byte) error
type MsgUpdateCollectionIntentsResponse ¶
type MsgUpdateCollectionIntentsResponse struct { }
func (*MsgUpdateCollectionIntentsResponse) Descriptor ¶
func (*MsgUpdateCollectionIntentsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateCollectionIntentsResponse) Marshal ¶
func (m *MsgUpdateCollectionIntentsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateCollectionIntentsResponse) MarshalTo ¶
func (m *MsgUpdateCollectionIntentsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateCollectionIntentsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateCollectionIntentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateCollectionIntentsResponse) ProtoMessage ¶
func (*MsgUpdateCollectionIntentsResponse) ProtoMessage()
func (*MsgUpdateCollectionIntentsResponse) Reset ¶
func (m *MsgUpdateCollectionIntentsResponse) Reset()
func (*MsgUpdateCollectionIntentsResponse) Size ¶
func (m *MsgUpdateCollectionIntentsResponse) Size() (n int)
func (*MsgUpdateCollectionIntentsResponse) String ¶
func (m *MsgUpdateCollectionIntentsResponse) String() string
func (*MsgUpdateCollectionIntentsResponse) Unmarshal ¶
func (m *MsgUpdateCollectionIntentsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateCollectionIntentsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateCollectionIntentsResponse) XXX_DiscardUnknown()
func (*MsgUpdateCollectionIntentsResponse) XXX_Marshal ¶
func (m *MsgUpdateCollectionIntentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateCollectionIntentsResponse) XXX_Merge ¶
func (m *MsgUpdateCollectionIntentsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateCollectionIntentsResponse) XXX_Size ¶
func (m *MsgUpdateCollectionIntentsResponse) XXX_Size() int
func (*MsgUpdateCollectionIntentsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateCollectionIntentsResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateCollectionPayments ¶
type MsgUpdateCollectionPayments struct { // collection_id indicates which Collection to update CollectionId string `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` // payments is the amount paid for claim submission, evaluation, approval, or // rejection Payments *Payments `protobuf:"bytes,2,opt,name=payments,proto3" json:"payments,omitempty"` // admin address used to sign this message, validated against Collection Admin AdminAddress string `protobuf:"bytes,3,opt,name=admin_address,json=adminAddress,proto3" json:"admin_address,omitempty"` }
func (*MsgUpdateCollectionPayments) Descriptor ¶
func (*MsgUpdateCollectionPayments) Descriptor() ([]byte, []int)
func (*MsgUpdateCollectionPayments) GetAdminAddress ¶
func (m *MsgUpdateCollectionPayments) GetAdminAddress() string
func (*MsgUpdateCollectionPayments) GetCollectionId ¶
func (m *MsgUpdateCollectionPayments) GetCollectionId() string
func (*MsgUpdateCollectionPayments) GetPayments ¶
func (m *MsgUpdateCollectionPayments) GetPayments() *Payments
func (*MsgUpdateCollectionPayments) Marshal ¶
func (m *MsgUpdateCollectionPayments) Marshal() (dAtA []byte, err error)
func (*MsgUpdateCollectionPayments) MarshalTo ¶
func (m *MsgUpdateCollectionPayments) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateCollectionPayments) MarshalToSizedBuffer ¶
func (m *MsgUpdateCollectionPayments) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateCollectionPayments) ProtoMessage ¶
func (*MsgUpdateCollectionPayments) ProtoMessage()
func (*MsgUpdateCollectionPayments) Reset ¶
func (m *MsgUpdateCollectionPayments) Reset()
func (MsgUpdateCollectionPayments) Route ¶
func (msg MsgUpdateCollectionPayments) Route() string
func (*MsgUpdateCollectionPayments) Size ¶
func (m *MsgUpdateCollectionPayments) Size() (n int)
func (*MsgUpdateCollectionPayments) String ¶
func (m *MsgUpdateCollectionPayments) String() string
func (MsgUpdateCollectionPayments) Type ¶
func (msg MsgUpdateCollectionPayments) Type() string
func (*MsgUpdateCollectionPayments) Unmarshal ¶
func (m *MsgUpdateCollectionPayments) Unmarshal(dAtA []byte) error
func (MsgUpdateCollectionPayments) ValidateBasic ¶
func (msg MsgUpdateCollectionPayments) ValidateBasic() error
-------------------------- UPDATE COLLECTION PAYMENTS --------------------------
func (*MsgUpdateCollectionPayments) XXX_DiscardUnknown ¶
func (m *MsgUpdateCollectionPayments) XXX_DiscardUnknown()
func (*MsgUpdateCollectionPayments) XXX_Marshal ¶
func (m *MsgUpdateCollectionPayments) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateCollectionPayments) XXX_Merge ¶
func (m *MsgUpdateCollectionPayments) XXX_Merge(src proto.Message)
func (*MsgUpdateCollectionPayments) XXX_Size ¶
func (m *MsgUpdateCollectionPayments) XXX_Size() int
func (*MsgUpdateCollectionPayments) XXX_Unmarshal ¶
func (m *MsgUpdateCollectionPayments) XXX_Unmarshal(b []byte) error
type MsgUpdateCollectionPaymentsResponse ¶
type MsgUpdateCollectionPaymentsResponse struct { }
func (*MsgUpdateCollectionPaymentsResponse) Descriptor ¶
func (*MsgUpdateCollectionPaymentsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateCollectionPaymentsResponse) Marshal ¶
func (m *MsgUpdateCollectionPaymentsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateCollectionPaymentsResponse) MarshalTo ¶
func (m *MsgUpdateCollectionPaymentsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateCollectionPaymentsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateCollectionPaymentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateCollectionPaymentsResponse) ProtoMessage ¶
func (*MsgUpdateCollectionPaymentsResponse) ProtoMessage()
func (*MsgUpdateCollectionPaymentsResponse) Reset ¶
func (m *MsgUpdateCollectionPaymentsResponse) Reset()
func (*MsgUpdateCollectionPaymentsResponse) Size ¶
func (m *MsgUpdateCollectionPaymentsResponse) Size() (n int)
func (*MsgUpdateCollectionPaymentsResponse) String ¶
func (m *MsgUpdateCollectionPaymentsResponse) String() string
func (*MsgUpdateCollectionPaymentsResponse) Unmarshal ¶
func (m *MsgUpdateCollectionPaymentsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateCollectionPaymentsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateCollectionPaymentsResponse) XXX_DiscardUnknown()
func (*MsgUpdateCollectionPaymentsResponse) XXX_Marshal ¶
func (m *MsgUpdateCollectionPaymentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateCollectionPaymentsResponse) XXX_Merge ¶
func (m *MsgUpdateCollectionPaymentsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateCollectionPaymentsResponse) XXX_Size ¶
func (m *MsgUpdateCollectionPaymentsResponse) XXX_Size() int
func (*MsgUpdateCollectionPaymentsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateCollectionPaymentsResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateCollectionState ¶
type MsgUpdateCollectionState struct { // collection_id indicates which Collection to update CollectionId string `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` // state is the state of this Collection (open, paused, closed) you want to // update to State CollectionState `protobuf:"varint,2,opt,name=state,proto3,enum=ixo.claims.v1beta1.CollectionState" json:"state,omitempty"` // admin address used to sign this message, validated against Collection Admin AdminAddress string `protobuf:"bytes,3,opt,name=admin_address,json=adminAddress,proto3" json:"admin_address,omitempty"` }
func (*MsgUpdateCollectionState) Descriptor ¶
func (*MsgUpdateCollectionState) Descriptor() ([]byte, []int)
func (*MsgUpdateCollectionState) GetAdminAddress ¶
func (m *MsgUpdateCollectionState) GetAdminAddress() string
func (*MsgUpdateCollectionState) GetCollectionId ¶
func (m *MsgUpdateCollectionState) GetCollectionId() string
func (*MsgUpdateCollectionState) GetState ¶
func (m *MsgUpdateCollectionState) GetState() CollectionState
func (*MsgUpdateCollectionState) Marshal ¶
func (m *MsgUpdateCollectionState) Marshal() (dAtA []byte, err error)
func (*MsgUpdateCollectionState) MarshalTo ¶
func (m *MsgUpdateCollectionState) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateCollectionState) MarshalToSizedBuffer ¶
func (m *MsgUpdateCollectionState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateCollectionState) ProtoMessage ¶
func (*MsgUpdateCollectionState) ProtoMessage()
func (*MsgUpdateCollectionState) Reset ¶
func (m *MsgUpdateCollectionState) Reset()
func (MsgUpdateCollectionState) Route ¶
func (msg MsgUpdateCollectionState) Route() string
func (*MsgUpdateCollectionState) Size ¶
func (m *MsgUpdateCollectionState) Size() (n int)
func (*MsgUpdateCollectionState) String ¶
func (m *MsgUpdateCollectionState) String() string
func (MsgUpdateCollectionState) Type ¶
func (msg MsgUpdateCollectionState) Type() string
func (*MsgUpdateCollectionState) Unmarshal ¶
func (m *MsgUpdateCollectionState) Unmarshal(dAtA []byte) error
func (MsgUpdateCollectionState) ValidateBasic ¶
func (msg MsgUpdateCollectionState) ValidateBasic() error
-------------------------- UPDATE COLLECTION STATE --------------------------
func (*MsgUpdateCollectionState) XXX_DiscardUnknown ¶
func (m *MsgUpdateCollectionState) XXX_DiscardUnknown()
func (*MsgUpdateCollectionState) XXX_Marshal ¶
func (m *MsgUpdateCollectionState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateCollectionState) XXX_Merge ¶
func (m *MsgUpdateCollectionState) XXX_Merge(src proto.Message)
func (*MsgUpdateCollectionState) XXX_Size ¶
func (m *MsgUpdateCollectionState) XXX_Size() int
func (*MsgUpdateCollectionState) XXX_Unmarshal ¶
func (m *MsgUpdateCollectionState) XXX_Unmarshal(b []byte) error
type MsgUpdateCollectionStateResponse ¶
type MsgUpdateCollectionStateResponse struct { }
func (*MsgUpdateCollectionStateResponse) Descriptor ¶
func (*MsgUpdateCollectionStateResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateCollectionStateResponse) Marshal ¶
func (m *MsgUpdateCollectionStateResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateCollectionStateResponse) MarshalTo ¶
func (m *MsgUpdateCollectionStateResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateCollectionStateResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateCollectionStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateCollectionStateResponse) ProtoMessage ¶
func (*MsgUpdateCollectionStateResponse) ProtoMessage()
func (*MsgUpdateCollectionStateResponse) Reset ¶
func (m *MsgUpdateCollectionStateResponse) Reset()
func (*MsgUpdateCollectionStateResponse) Size ¶
func (m *MsgUpdateCollectionStateResponse) Size() (n int)
func (*MsgUpdateCollectionStateResponse) String ¶
func (m *MsgUpdateCollectionStateResponse) String() string
func (*MsgUpdateCollectionStateResponse) Unmarshal ¶
func (m *MsgUpdateCollectionStateResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateCollectionStateResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateCollectionStateResponse) XXX_DiscardUnknown()
func (*MsgUpdateCollectionStateResponse) XXX_Marshal ¶
func (m *MsgUpdateCollectionStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateCollectionStateResponse) XXX_Merge ¶
func (m *MsgUpdateCollectionStateResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateCollectionStateResponse) XXX_Size ¶
func (m *MsgUpdateCollectionStateResponse) XXX_Size() int
func (*MsgUpdateCollectionStateResponse) XXX_Unmarshal ¶
func (m *MsgUpdateCollectionStateResponse) 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 []types1.Input `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs"` // Outputs for the multisend tx to run to withdraw payment Outputs []types1.Output `protobuf:"bytes,3,rep,name=outputs,proto3" 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"` // cw20 payments, can be empty or multiple Cw20Payment []*CW20Payment `protobuf:"bytes,10,rep,name=cw20_payment,json=cw20Payment,proto3" json:"cw20_payment,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) GetCw20Payment ¶
func (m *MsgWithdrawPayment) GetCw20Payment() []*CW20Payment
func (*MsgWithdrawPayment) GetFromAddress ¶
func (m *MsgWithdrawPayment) GetFromAddress() string
func (*MsgWithdrawPayment) GetInputs ¶
func (m *MsgWithdrawPayment) GetInputs() []types1.Input
func (*MsgWithdrawPayment) GetOutputs ¶
func (m *MsgWithdrawPayment) GetOutputs() []types1.Output
func (*MsgWithdrawPayment) GetPaymentType ¶
func (m *MsgWithdrawPayment) GetPaymentType() PaymentType
func (*MsgWithdrawPayment) GetReleaseDate ¶
func (m *MsgWithdrawPayment) GetReleaseDate() *time.Time
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) MarshalToSizedBuffer ¶
func (*Output) ProtoMessage ¶
func (*Output) ProtoMessage()
func (*Output) XXX_DiscardUnknown ¶
func (m *Output) XXX_DiscardUnknown()
func (*Output) XXX_Marshal ¶
func (*Output) XXX_Unmarshal ¶
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 cosmossdk_io_math.LegacyDec `` /* 152-byte string literal not displayed */ NodeFeePercentage cosmossdk_io_math.LegacyDec `` /* 143-byte string literal not displayed */ IntentSequence uint64 `protobuf:"varint,5,opt,name=intent_sequence,json=intentSequence,proto3" json:"intent_sequence,omitempty"` }
func NewParams ¶
func NewParams(collectionSequence, intentSequence uint64, ixoAccount string, networkFeePercentage, nodeFeePercentage math.LegacyDec) Params
NewParams creates a new Params instance
func (*Params) Descriptor ¶
func (*Params) GetCollectionSequence ¶
func (*Params) GetIntentSequence ¶
func (*Params) GetIxoAccount ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
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 // immediate direct payment TimeoutNs time.Duration `protobuf:"bytes,4,opt,name=timeout_ns,json=timeoutNs,proto3,stdduration" json:"timeout_ns"` // cw20 payments, can be empty or multiple Cw20Payment []*CW20Payment `protobuf:"bytes,5,rep,name=cw20_payment,json=cw20Payment,proto3" json:"cw20_payment,omitempty"` // boolean to indicate if the payment is for oracle payments, aka it will go // through network fees split NOTE: if true the payment can only have amount // values(Native coins), no cw20 payments allowed then IsOraclePayment bool `protobuf:"varint,6,opt,name=is_oracle_payment,json=isOraclePayment,proto3" json:"is_oracle_payment,omitempty"` }
func (*Payment) Descriptor ¶
func (*Payment) GetAccount ¶
func (*Payment) GetAmount ¶
func (m *Payment) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*Payment) GetContract_1155Payment ¶
func (m *Payment) GetContract_1155Payment() *Contract1155Payment
func (*Payment) GetCw20Payment ¶
func (m *Payment) GetCw20Payment() []*CW20Payment
func (*Payment) GetIsOraclePayment ¶
func (*Payment) GetTimeoutNs ¶
func (*Payment) MarshalToSizedBuffer ¶
func (*Payment) ProtoMessage ¶
func (*Payment) ProtoMessage()
func (*Payment) XXX_DiscardUnknown ¶
func (m *Payment) XXX_DiscardUnknown()
func (*Payment) XXX_Marshal ¶
func (*Payment) XXX_Unmarshal ¶
type PaymentStatus ¶
type PaymentStatus int32
const ( PaymentStatus_no_payment PaymentStatus = 0 // Promised: Agent is contracted to receive payment PaymentStatus_promised PaymentStatus = 1 PaymentStatus_authorized PaymentStatus = 2 // Guaranteed: Escrow set up with funds blocked PaymentStatus_guaranteed PaymentStatus = 3 // Paid: Funds have been paid PaymentStatus_paid PaymentStatus = 4 // Failed: Payment failed, most probably due to insufficient funds PaymentStatus_failed PaymentStatus = 5 // DisputedPayment: Payment disputed 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 (m *PaymentWithdrawCreatedEvent) GetWithdraw() *WithdrawPaymentConstraints
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 (m *PaymentWithdrawnEvent) GetWithdraw() *WithdrawPaymentConstraints
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) GetApproval ¶
func (*Payments) GetEvaluation ¶
func (*Payments) GetRejection ¶
func (*Payments) GetSubmission ¶
func (*Payments) MarshalToSizedBuffer ¶
func (*Payments) ProtoMessage ¶
func (*Payments) ProtoMessage()
func (*Payments) XXX_DiscardUnknown ¶
func (m *Payments) XXX_DiscardUnknown()
func (*Payments) XXX_Marshal ¶
func (*Payments) XXX_Unmarshal ¶
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) Intent(ctx context.Context, in *QueryIntentRequest, opts ...grpc.CallOption) (*QueryIntentResponse, error) IntentList(ctx context.Context, in *QueryIntentListRequest, opts ...grpc.CallOption) (*QueryIntentListResponse, 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 QueryIntentListRequest ¶
type QueryIntentListRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryIntentListRequest) Descriptor ¶
func (*QueryIntentListRequest) Descriptor() ([]byte, []int)
func (*QueryIntentListRequest) GetPagination ¶
func (m *QueryIntentListRequest) GetPagination() *query.PageRequest
func (*QueryIntentListRequest) Marshal ¶
func (m *QueryIntentListRequest) Marshal() (dAtA []byte, err error)
func (*QueryIntentListRequest) MarshalTo ¶
func (m *QueryIntentListRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryIntentListRequest) MarshalToSizedBuffer ¶
func (m *QueryIntentListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryIntentListRequest) ProtoMessage ¶
func (*QueryIntentListRequest) ProtoMessage()
func (*QueryIntentListRequest) Reset ¶
func (m *QueryIntentListRequest) Reset()
func (*QueryIntentListRequest) Size ¶
func (m *QueryIntentListRequest) Size() (n int)
func (*QueryIntentListRequest) String ¶
func (m *QueryIntentListRequest) String() string
func (*QueryIntentListRequest) Unmarshal ¶
func (m *QueryIntentListRequest) Unmarshal(dAtA []byte) error
func (*QueryIntentListRequest) XXX_DiscardUnknown ¶
func (m *QueryIntentListRequest) XXX_DiscardUnknown()
func (*QueryIntentListRequest) XXX_Marshal ¶
func (m *QueryIntentListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryIntentListRequest) XXX_Merge ¶
func (m *QueryIntentListRequest) XXX_Merge(src proto.Message)
func (*QueryIntentListRequest) XXX_Size ¶
func (m *QueryIntentListRequest) XXX_Size() int
func (*QueryIntentListRequest) XXX_Unmarshal ¶
func (m *QueryIntentListRequest) XXX_Unmarshal(b []byte) error
type QueryIntentListResponse ¶
type QueryIntentListResponse struct { Intents []Intent `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryIntentListResponse) Descriptor ¶
func (*QueryIntentListResponse) Descriptor() ([]byte, []int)
func (*QueryIntentListResponse) GetIntents ¶
func (m *QueryIntentListResponse) GetIntents() []Intent
func (*QueryIntentListResponse) GetPagination ¶
func (m *QueryIntentListResponse) GetPagination() *query.PageResponse
func (*QueryIntentListResponse) Marshal ¶
func (m *QueryIntentListResponse) Marshal() (dAtA []byte, err error)
func (*QueryIntentListResponse) MarshalTo ¶
func (m *QueryIntentListResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryIntentListResponse) MarshalToSizedBuffer ¶
func (m *QueryIntentListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryIntentListResponse) ProtoMessage ¶
func (*QueryIntentListResponse) ProtoMessage()
func (*QueryIntentListResponse) Reset ¶
func (m *QueryIntentListResponse) Reset()
func (*QueryIntentListResponse) Size ¶
func (m *QueryIntentListResponse) Size() (n int)
func (*QueryIntentListResponse) String ¶
func (m *QueryIntentListResponse) String() string
func (*QueryIntentListResponse) Unmarshal ¶
func (m *QueryIntentListResponse) Unmarshal(dAtA []byte) error
func (*QueryIntentListResponse) XXX_DiscardUnknown ¶
func (m *QueryIntentListResponse) XXX_DiscardUnknown()
func (*QueryIntentListResponse) XXX_Marshal ¶
func (m *QueryIntentListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryIntentListResponse) XXX_Merge ¶
func (m *QueryIntentListResponse) XXX_Merge(src proto.Message)
func (*QueryIntentListResponse) XXX_Size ¶
func (m *QueryIntentListResponse) XXX_Size() int
func (*QueryIntentListResponse) XXX_Unmarshal ¶
func (m *QueryIntentListResponse) XXX_Unmarshal(b []byte) error
type QueryIntentRequest ¶
type QueryIntentRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` AgentAddress string `protobuf:"bytes,2,opt,name=agentAddress,proto3" json:"agentAddress,omitempty"` CollectionId string `protobuf:"bytes,3,opt,name=collectionId,proto3" json:"collectionId,omitempty"` }
func (*QueryIntentRequest) Descriptor ¶
func (*QueryIntentRequest) Descriptor() ([]byte, []int)
func (*QueryIntentRequest) GetAgentAddress ¶
func (m *QueryIntentRequest) GetAgentAddress() string
func (*QueryIntentRequest) GetCollectionId ¶
func (m *QueryIntentRequest) GetCollectionId() string
func (*QueryIntentRequest) GetId ¶
func (m *QueryIntentRequest) GetId() string
func (*QueryIntentRequest) Marshal ¶
func (m *QueryIntentRequest) Marshal() (dAtA []byte, err error)
func (*QueryIntentRequest) MarshalTo ¶
func (m *QueryIntentRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryIntentRequest) MarshalToSizedBuffer ¶
func (m *QueryIntentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryIntentRequest) ProtoMessage ¶
func (*QueryIntentRequest) ProtoMessage()
func (*QueryIntentRequest) Reset ¶
func (m *QueryIntentRequest) Reset()
func (*QueryIntentRequest) Size ¶
func (m *QueryIntentRequest) Size() (n int)
func (*QueryIntentRequest) String ¶
func (m *QueryIntentRequest) String() string
func (*QueryIntentRequest) Unmarshal ¶
func (m *QueryIntentRequest) Unmarshal(dAtA []byte) error
func (*QueryIntentRequest) XXX_DiscardUnknown ¶
func (m *QueryIntentRequest) XXX_DiscardUnknown()
func (*QueryIntentRequest) XXX_Marshal ¶
func (m *QueryIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryIntentRequest) XXX_Merge ¶
func (m *QueryIntentRequest) XXX_Merge(src proto.Message)
func (*QueryIntentRequest) XXX_Size ¶
func (m *QueryIntentRequest) XXX_Size() int
func (*QueryIntentRequest) XXX_Unmarshal ¶
func (m *QueryIntentRequest) XXX_Unmarshal(b []byte) error
type QueryIntentResponse ¶
type QueryIntentResponse struct {
Intent Intent `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent"`
}
func (*QueryIntentResponse) Descriptor ¶
func (*QueryIntentResponse) Descriptor() ([]byte, []int)
func (*QueryIntentResponse) GetIntent ¶
func (m *QueryIntentResponse) GetIntent() Intent
func (*QueryIntentResponse) Marshal ¶
func (m *QueryIntentResponse) Marshal() (dAtA []byte, err error)
func (*QueryIntentResponse) MarshalTo ¶
func (m *QueryIntentResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryIntentResponse) MarshalToSizedBuffer ¶
func (m *QueryIntentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryIntentResponse) ProtoMessage ¶
func (*QueryIntentResponse) ProtoMessage()
func (*QueryIntentResponse) Reset ¶
func (m *QueryIntentResponse) Reset()
func (*QueryIntentResponse) Size ¶
func (m *QueryIntentResponse) Size() (n int)
func (*QueryIntentResponse) String ¶
func (m *QueryIntentResponse) String() string
func (*QueryIntentResponse) Unmarshal ¶
func (m *QueryIntentResponse) Unmarshal(dAtA []byte) error
func (*QueryIntentResponse) XXX_DiscardUnknown ¶
func (m *QueryIntentResponse) XXX_DiscardUnknown()
func (*QueryIntentResponse) XXX_Marshal ¶
func (m *QueryIntentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryIntentResponse) XXX_Merge ¶
func (m *QueryIntentResponse) XXX_Merge(src proto.Message)
func (*QueryIntentResponse) XXX_Size ¶
func (m *QueryIntentResponse) XXX_Size() int
func (*QueryIntentResponse) XXX_Unmarshal ¶
func (m *QueryIntentResponse) 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 QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) Collection(context.Context, *QueryCollectionRequest) (*QueryCollectionResponse, error) CollectionList(context.Context, *QueryCollectionListRequest) (*QueryCollectionListResponse, error) Claim(context.Context, *QueryClaimRequest) (*QueryClaimResponse, error) ClaimList(context.Context, *QueryClaimListRequest) (*QueryClaimListResponse, error) Dispute(context.Context, *QueryDisputeRequest) (*QueryDisputeResponse, error) DisputeList(context.Context, *QueryDisputeListRequest) (*QueryDisputeListResponse, error) Intent(context.Context, *QueryIntentRequest) (*QueryIntentResponse, error) IntentList(context.Context, *QueryIntentListRequest) (*QueryIntentListResponse, error) }
QueryServer is the server API for Query service.
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 ¶
func (a SubmitClaimAuthorization) Accept(_ context.Context, msg sdk.Msg) (authz.AcceptResponse, error)
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"` // custom max_amount allowed to be specified by service agent for claim // approval, if empty then no custom amount is allowed MaxAmount github_com_cosmos_cosmos_sdk_types.Coins `` /* 132-byte string literal not displayed */ // custom max_cw20_payment allowed to be specified by service agent for claim // approval, if empty then no custom amount is allowed MaxCw20Payment []*CW20Payment `protobuf:"bytes,4,rep,name=max_cw20_payment,json=maxCw20Payment,proto3" json:"max_cw20_payment,omitempty"` // intent_duration_ns is the duration for which the intent is active, after // which it will expire (in nanoseconds) IntentDurationNs time.Duration `protobuf:"bytes,5,opt,name=intent_duration_ns,json=intentDurationNs,proto3,stdduration" json:"intent_duration_ns"` }
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) GetIntentDurationNs ¶
func (m *SubmitClaimConstraints) GetIntentDurationNs() time.Duration
func (*SubmitClaimConstraints) GetMaxAmount ¶
func (m *SubmitClaimConstraints) GetMaxAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*SubmitClaimConstraints) GetMaxCw20Payment ¶
func (m *SubmitClaimConstraints) GetMaxCw20Payment() []*CW20Payment
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) ClaimIntent ¶
func (*UnimplementedMsgServer) ClaimIntent(ctx context.Context, req *MsgClaimIntent) (*MsgClaimIntentResponse, error)
func (*UnimplementedMsgServer) CreateCollection ¶
func (*UnimplementedMsgServer) CreateCollection(ctx context.Context, req *MsgCreateCollection) (*MsgCreateCollectionResponse, error)
func (*UnimplementedMsgServer) DisputeClaim ¶
func (*UnimplementedMsgServer) DisputeClaim(ctx context.Context, req *MsgDisputeClaim) (*MsgDisputeClaimResponse, error)
func (*UnimplementedMsgServer) EvaluateClaim ¶
func (*UnimplementedMsgServer) EvaluateClaim(ctx context.Context, req *MsgEvaluateClaim) (*MsgEvaluateClaimResponse, error)
func (*UnimplementedMsgServer) SubmitClaim ¶
func (*UnimplementedMsgServer) SubmitClaim(ctx context.Context, req *MsgSubmitClaim) (*MsgSubmitClaimResponse, error)
func (*UnimplementedMsgServer) UpdateCollectionDates ¶
func (*UnimplementedMsgServer) UpdateCollectionDates(ctx context.Context, req *MsgUpdateCollectionDates) (*MsgUpdateCollectionDatesResponse, error)
func (*UnimplementedMsgServer) UpdateCollectionIntents ¶
func (*UnimplementedMsgServer) UpdateCollectionIntents(ctx context.Context, req *MsgUpdateCollectionIntents) (*MsgUpdateCollectionIntentsResponse, error)
func (*UnimplementedMsgServer) UpdateCollectionPayments ¶
func (*UnimplementedMsgServer) UpdateCollectionPayments(ctx context.Context, req *MsgUpdateCollectionPayments) (*MsgUpdateCollectionPaymentsResponse, error)
func (*UnimplementedMsgServer) UpdateCollectionState ¶
func (*UnimplementedMsgServer) UpdateCollectionState(ctx context.Context, req *MsgUpdateCollectionState) (*MsgUpdateCollectionStateResponse, error)
func (*UnimplementedMsgServer) WithdrawPayment ¶
func (*UnimplementedMsgServer) WithdrawPayment(ctx context.Context, req *MsgWithdrawPayment) (*MsgWithdrawPaymentResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Claim ¶
func (*UnimplementedQueryServer) Claim(ctx context.Context, req *QueryClaimRequest) (*QueryClaimResponse, error)
func (*UnimplementedQueryServer) ClaimList ¶
func (*UnimplementedQueryServer) ClaimList(ctx context.Context, req *QueryClaimListRequest) (*QueryClaimListResponse, error)
func (*UnimplementedQueryServer) Collection ¶
func (*UnimplementedQueryServer) Collection(ctx context.Context, req *QueryCollectionRequest) (*QueryCollectionResponse, error)
func (*UnimplementedQueryServer) CollectionList ¶
func (*UnimplementedQueryServer) CollectionList(ctx context.Context, req *QueryCollectionListRequest) (*QueryCollectionListResponse, error)
func (*UnimplementedQueryServer) Dispute ¶
func (*UnimplementedQueryServer) Dispute(ctx context.Context, req *QueryDisputeRequest) (*QueryDisputeResponse, error)
func (*UnimplementedQueryServer) DisputeList ¶
func (*UnimplementedQueryServer) DisputeList(ctx context.Context, req *QueryDisputeListRequest) (*QueryDisputeListResponse, error)
func (*UnimplementedQueryServer) Intent ¶
func (*UnimplementedQueryServer) Intent(ctx context.Context, req *QueryIntentRequest) (*QueryIntentResponse, error)
func (*UnimplementedQueryServer) IntentList ¶
func (*UnimplementedQueryServer) IntentList(ctx context.Context, req *QueryIntentListRequest) (*QueryIntentListResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
type WasmKeeper ¶
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 ¶
func (a WithdrawPaymentAuthorization) Accept(ctx context.Context, msg sdk.Msg) (authz.AcceptResponse, error)
Accept implements Authorization.Accept.
func (*WithdrawPaymentAuthorization) Descriptor ¶
func (*WithdrawPaymentAuthorization) Descriptor() ([]byte, []int)
func (*WithdrawPaymentAuthorization) GetAdmin ¶
func (m *WithdrawPaymentAuthorization) GetAdmin() string
func (*WithdrawPaymentAuthorization) GetConstraints ¶
func (m *WithdrawPaymentAuthorization) GetConstraints() []*WithdrawPaymentConstraints
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 (m *WithdrawPaymentAuthorization) String() 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 []types1.Input `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs"` // Outputs for the multisend tx to run to withdraw payment Outputs []types1.Output `protobuf:"bytes,3,rep,name=outputs,proto3" 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"` // cw20 payments, can be empty or multiple Cw20Payment []*CW20Payment `protobuf:"bytes,9,rep,name=cw20_payment,json=cw20Payment,proto3" json:"cw20_payment,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) GetCw20Payment ¶
func (m *WithdrawPaymentConstraints) GetCw20Payment() []*CW20Payment
func (*WithdrawPaymentConstraints) GetFromAddress ¶
func (m *WithdrawPaymentConstraints) GetFromAddress() string
func (*WithdrawPaymentConstraints) GetInputs ¶
func (m *WithdrawPaymentConstraints) GetInputs() []types1.Input
func (*WithdrawPaymentConstraints) GetOutputs ¶
func (m *WithdrawPaymentConstraints) GetOutputs() []types1.Output
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