types

package
v4.0.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2024 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	DefaultIxoAccount         = "ixo1kqmtxkggcqa9u34lnr6shy0euvclgatw4f9zz5"
	DefaultCollectionSequence = uint64(1)
	DefaultIntentSequence     = uint64(1)
)
View Source
const (
	// ModuleName defines the module name
	ModuleName = "claims"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// RouterKey is the message route for slashing
	RouterKey = ModuleName
)
View Source
const TypeMsgClaimIntent = "claim_intent"

-------------------------- CLAIM INTENT --------------------------

View Source
const TypeMsgCreateCollection = "create_collection"

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

View Source
const TypeMsgDisputeClaim = "dispute_claim"

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

View Source
const TypeMsgEvaluateClaim = "evaluate_claim"

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

View Source
const TypeMsgSubmitClaim = "submit_claim"

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

View Source
const TypeMsgUpdateCollectionDates = "update_collection_dates"

-------------------------- UPDATE COLLECTION DATES --------------------------

View Source
const TypeMsgUpdateCollectionIntents = "update_collection_intents"

-------------------------- UPDATE COLLECTION INTENTS --------------------------

View Source
const TypeMsgUpdateCollectionPayments = "update_collection_payments"

-------------------------- UPDATE COLLECTION STATE --------------------------

View Source
const TypeMsgUpdateCollectionState = "update_collection_state"

-------------------------- UPDATE COLLECTION STATE --------------------------

View Source
const TypeMsgWithdrawPayment = "withdraw_payment"

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

Variables

View Source
var (
	ErrInvalidLengthAuthz        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAuthz          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAuthz = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthClaims        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowClaims          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupClaims = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthCosmos        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCosmos          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCosmos = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrCollectionNotFound      = 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")
	ErrClaimUnauthorized           = errorsmod.Register(ModuleName, 1101, "unauthorized, incorrect admin")
	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")
	ErrDisputeUnauthorized = errorsmod.Register(ModuleName, 1202, "unauthorized, not part of collection/entity/authz agent")

	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")
	ErrIntentUnauthorized = errorsmod.Register(ModuleName, 1502, "unauthorized")
)

x/claims module sentinel errors

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

Functions

func 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

func GetModuleAccountKeyEscrow(collectionId string) string

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

func IntentKeyCreate(agentAddress, collectionId, intentID string) []byte

Create the key for Intents KV Store: agentAddress+"/"+collectionID+"/"+intentID

func IsCW20PaymentsInMaxConstraints

func IsCW20PaymentsInMaxConstraints(cw20Payments []*CW20Payment, maxCw20Payments []*CW20Payment) bool

func IsCoinsInMaxConstraints

func IsCoinsInMaxConstraints(coins sdk.Coins, maxCoins sdk.Coins) bool

IsCoinsInMaxConstraints checks if the provided coins are within the max constraints

func IsValidClaim

func IsValidClaim(claim *Claim) bool

IsValidClaim tells if a Claim is valid,

func IsValidCollection

func IsValidCollection(collection *Collection) bool

IsValidCollection tells if a Claim Collection is valid,

func IsValidDispute

func IsValidDispute(dispute *Dispute) bool

IsValidDispute tells if a Dispute is valid,

func IsValidIntent

func IsValidIntent(intent *Intent) bool

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 KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func ParseActiveIntentKey

func ParseActiveIntentKey(key []byte) (agentAddress string, collectionId string, err error)

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 RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

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

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features 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

func ValidateCoinsAllowZero(coins sdk.Coins) error

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 AccountKeeper interface {
	NewAccountWithAddress(context.Context, sdk.AccAddress) sdk.AccountI
	GetAccount(context.Context, sdk.AccAddress) sdk.AccountI
	SetAccount(context.Context, sdk.AccountI)
}

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 BankKeeper interface {
	HasBalance(ctx context.Context, addr sdk.AccAddress, amt sdk.Coin) bool
	InputOutputCoins(ctx context.Context, input banktypes.Input, outputs []banktypes.Output) error
	SendCoins(ctx context.Context, fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) error
}

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) MarshalTo

func (m *CW20Payment) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*Claim) GetAgentAddress

func (m *Claim) GetAgentAddress() string

func (*Claim) GetAgentDid

func (m *Claim) GetAgentDid() string

func (*Claim) GetAmount

func (*Claim) GetClaimId

func (m *Claim) GetClaimId() string

func (*Claim) GetCollectionId

func (m *Claim) GetCollectionId() string

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 (m *Claim) GetSubmissionDate() *time.Time

func (*Claim) GetUseIntent

func (m *Claim) GetUseIntent() bool

func (*Claim) Marshal

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

func (*Claim) MarshalTo

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

func (*Claim) MarshalToSizedBuffer

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

func (*Claim) ProtoMessage

func (*Claim) ProtoMessage()

func (*Claim) Reset

func (m *Claim) Reset()

func (*Claim) Size

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

func (*Claim) String

func (m *Claim) String() string

func (*Claim) Unmarshal

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

func (*Claim) XXX_DiscardUnknown

func (m *Claim) XXX_DiscardUnknown()

func (*Claim) XXX_Marshal

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

func (*Claim) XXX_Merge

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

func (*Claim) XXX_Size

func (m *Claim) XXX_Size() int

func (*Claim) XXX_Unmarshal

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

type ClaimDisputedEvent

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

ClaimDisputedEvent is an event triggered on a Claim dispute

func (*ClaimDisputedEvent) Descriptor

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

func (*ClaimDisputedEvent) GetDispute

func (m *ClaimDisputedEvent) GetDispute() *Dispute

func (*ClaimDisputedEvent) Marshal

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

func (*ClaimDisputedEvent) MarshalTo

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

func (*ClaimDisputedEvent) MarshalToSizedBuffer

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

func (*ClaimDisputedEvent) ProtoMessage

func (*ClaimDisputedEvent) ProtoMessage()

func (*ClaimDisputedEvent) Reset

func (m *ClaimDisputedEvent) Reset()

func (*ClaimDisputedEvent) Size

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

func (*ClaimDisputedEvent) String

func (m *ClaimDisputedEvent) String() string

func (*ClaimDisputedEvent) Unmarshal

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

func (*ClaimDisputedEvent) XXX_DiscardUnknown

func (m *ClaimDisputedEvent) XXX_DiscardUnknown()

func (*ClaimDisputedEvent) XXX_Marshal

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

func (*ClaimDisputedEvent) XXX_Merge

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

func (*ClaimDisputedEvent) XXX_Size

func (m *ClaimDisputedEvent) XXX_Size() int

func (*ClaimDisputedEvent) XXX_Unmarshal

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

type ClaimEvaluatedEvent

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

ClaimEvaluatedEvent is an event triggered on a Claim evaluation

func (*ClaimEvaluatedEvent) Descriptor

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

func (*ClaimEvaluatedEvent) GetEvaluation

func (m *ClaimEvaluatedEvent) GetEvaluation() *Evaluation

func (*ClaimEvaluatedEvent) Marshal

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

func (*ClaimEvaluatedEvent) MarshalTo

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

func (*ClaimEvaluatedEvent) MarshalToSizedBuffer

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

func (*ClaimEvaluatedEvent) ProtoMessage

func (*ClaimEvaluatedEvent) ProtoMessage()

func (*ClaimEvaluatedEvent) Reset

func (m *ClaimEvaluatedEvent) Reset()

func (*ClaimEvaluatedEvent) Size

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

func (*ClaimEvaluatedEvent) String

func (m *ClaimEvaluatedEvent) String() string

func (*ClaimEvaluatedEvent) Unmarshal

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

func (*ClaimEvaluatedEvent) XXX_DiscardUnknown

func (m *ClaimEvaluatedEvent) XXX_DiscardUnknown()

func (*ClaimEvaluatedEvent) XXX_Marshal

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

func (*ClaimEvaluatedEvent) XXX_Merge

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

func (*ClaimEvaluatedEvent) XXX_Size

func (m *ClaimEvaluatedEvent) XXX_Size() int

func (*ClaimEvaluatedEvent) XXX_Unmarshal

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

type ClaimPayments

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

func (*ClaimPayments) Descriptor

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

func (*ClaimPayments) GetApproval

func (m *ClaimPayments) GetApproval() PaymentStatus

func (*ClaimPayments) GetEvaluation

func (m *ClaimPayments) GetEvaluation() PaymentStatus

func (*ClaimPayments) GetRejection

func (m *ClaimPayments) GetRejection() PaymentStatus

func (*ClaimPayments) GetSubmission

func (m *ClaimPayments) GetSubmission() PaymentStatus

func (*ClaimPayments) Marshal

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

func (*ClaimPayments) MarshalTo

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

func (*ClaimPayments) MarshalToSizedBuffer

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

func (*ClaimPayments) ProtoMessage

func (*ClaimPayments) ProtoMessage()

func (*ClaimPayments) Reset

func (m *ClaimPayments) Reset()

func (*ClaimPayments) Size

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

func (*ClaimPayments) String

func (m *ClaimPayments) String() string

func (*ClaimPayments) Unmarshal

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

func (*ClaimPayments) XXX_DiscardUnknown

func (m *ClaimPayments) XXX_DiscardUnknown()

func (*ClaimPayments) XXX_Marshal

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

func (*ClaimPayments) XXX_Merge

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

func (*ClaimPayments) XXX_Size

func (m *ClaimPayments) XXX_Size() int

func (*ClaimPayments) XXX_Unmarshal

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

type ClaimSubmittedEvent

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

CollectionCreatedEvent is an event triggered on a Claim submission

func (*ClaimSubmittedEvent) Descriptor

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

func (*ClaimSubmittedEvent) GetClaim

func (m *ClaimSubmittedEvent) GetClaim() *Claim

func (*ClaimSubmittedEvent) Marshal

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

func (*ClaimSubmittedEvent) MarshalTo

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

func (*ClaimSubmittedEvent) MarshalToSizedBuffer

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

func (*ClaimSubmittedEvent) ProtoMessage

func (*ClaimSubmittedEvent) ProtoMessage()

func (*ClaimSubmittedEvent) Reset

func (m *ClaimSubmittedEvent) Reset()

func (*ClaimSubmittedEvent) Size

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

func (*ClaimSubmittedEvent) String

func (m *ClaimSubmittedEvent) String() string

func (*ClaimSubmittedEvent) Unmarshal

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

func (*ClaimSubmittedEvent) XXX_DiscardUnknown

func (m *ClaimSubmittedEvent) XXX_DiscardUnknown()

func (*ClaimSubmittedEvent) XXX_Marshal

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

func (*ClaimSubmittedEvent) XXX_Merge

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

func (*ClaimSubmittedEvent) XXX_Size

func (m *ClaimSubmittedEvent) XXX_Size() int

func (*ClaimSubmittedEvent) XXX_Unmarshal

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

type ClaimUpdatedEvent

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

ClaimUpdatedEvent is an event triggered on a Claim update

func (*ClaimUpdatedEvent) Descriptor

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

func (*ClaimUpdatedEvent) GetClaim

func (m *ClaimUpdatedEvent) GetClaim() *Claim

func (*ClaimUpdatedEvent) Marshal

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

func (*ClaimUpdatedEvent) MarshalTo

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

func (*ClaimUpdatedEvent) MarshalToSizedBuffer

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

func (*ClaimUpdatedEvent) ProtoMessage

func (*ClaimUpdatedEvent) ProtoMessage()

func (*ClaimUpdatedEvent) Reset

func (m *ClaimUpdatedEvent) Reset()

func (*ClaimUpdatedEvent) Size

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

func (*ClaimUpdatedEvent) String

func (m *ClaimUpdatedEvent) String() string

func (*ClaimUpdatedEvent) Unmarshal

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

func (*ClaimUpdatedEvent) XXX_DiscardUnknown

func (m *ClaimUpdatedEvent) XXX_DiscardUnknown()

func (*ClaimUpdatedEvent) XXX_Marshal

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

func (*ClaimUpdatedEvent) XXX_Merge

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

func (*ClaimUpdatedEvent) XXX_Size

func (m *ClaimUpdatedEvent) XXX_Size() int

func (*ClaimUpdatedEvent) XXX_Unmarshal

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

type Collection

type Collection struct {
	// collection id is the incremented internal id for the collection of claims
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// entity is the DID of the entity for which the claims are being created
	Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"`
	// admin is the account address that will authorize or revoke agents and
	// payments (the grantor), 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) MarshalTo

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

func (*Collection) MarshalToSizedBuffer

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

func (*Collection) ProtoMessage

func (*Collection) ProtoMessage()

func (*Collection) Reset

func (m *Collection) Reset()

func (*Collection) Size

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

func (*Collection) String

func (m *Collection) String() string

func (*Collection) Unmarshal

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

func (*Collection) XXX_DiscardUnknown

func (m *Collection) XXX_DiscardUnknown()

func (*Collection) XXX_Marshal

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

func (*Collection) XXX_Merge

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

func (*Collection) XXX_Size

func (m *Collection) XXX_Size() int

func (*Collection) XXX_Unmarshal

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

type CollectionCreatedEvent

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

CollectionCreatedEvent is an event triggered on a Collection creation

func (*CollectionCreatedEvent) Descriptor

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

func (*CollectionCreatedEvent) GetCollection

func (m *CollectionCreatedEvent) GetCollection() *Collection

func (*CollectionCreatedEvent) Marshal

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

func (*CollectionCreatedEvent) MarshalTo

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

func (*CollectionCreatedEvent) MarshalToSizedBuffer

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

func (*CollectionCreatedEvent) ProtoMessage

func (*CollectionCreatedEvent) ProtoMessage()

func (*CollectionCreatedEvent) Reset

func (m *CollectionCreatedEvent) Reset()

func (*CollectionCreatedEvent) Size

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

func (*CollectionCreatedEvent) String

func (m *CollectionCreatedEvent) String() string

func (*CollectionCreatedEvent) Unmarshal

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

func (*CollectionCreatedEvent) XXX_DiscardUnknown

func (m *CollectionCreatedEvent) XXX_DiscardUnknown()

func (*CollectionCreatedEvent) XXX_Marshal

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

func (*CollectionCreatedEvent) XXX_Merge

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

func (*CollectionCreatedEvent) XXX_Size

func (m *CollectionCreatedEvent) XXX_Size() int

func (*CollectionCreatedEvent) XXX_Unmarshal

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

type 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) Descriptor() ([]byte, []int)

func (*Dispute) GetData

func (m *Dispute) GetData() *DisputeData

func (*Dispute) GetSubjectId

func (m *Dispute) GetSubjectId() string

func (*Dispute) GetType

func (m *Dispute) GetType() int32

func (*Dispute) Marshal

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

func (*Dispute) MarshalTo

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

func (*Dispute) MarshalToSizedBuffer

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

func (*Dispute) ProtoMessage

func (*Dispute) ProtoMessage()

func (*Dispute) Reset

func (m *Dispute) Reset()

func (*Dispute) Size

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

func (*Dispute) String

func (m *Dispute) String() string

func (*Dispute) Unmarshal

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

func (*Dispute) XXX_DiscardUnknown

func (m *Dispute) XXX_DiscardUnknown()

func (*Dispute) XXX_Marshal

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

func (*Dispute) XXX_Merge

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

func (*Dispute) XXX_Size

func (m *Dispute) XXX_Size() int

func (*Dispute) XXX_Unmarshal

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

type DisputeData

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

func (*DisputeData) Descriptor

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

func (*DisputeData) GetEncrypted

func (m *DisputeData) GetEncrypted() bool

func (*DisputeData) GetProof

func (m *DisputeData) GetProof() string

func (*DisputeData) GetType

func (m *DisputeData) GetType() string

func (*DisputeData) GetUri

func (m *DisputeData) GetUri() string

func (*DisputeData) Marshal

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

func (*DisputeData) MarshalTo

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

func (*DisputeData) MarshalToSizedBuffer

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

func (*DisputeData) ProtoMessage

func (*DisputeData) ProtoMessage()

func (*DisputeData) Reset

func (m *DisputeData) Reset()

func (*DisputeData) Size

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

func (*DisputeData) String

func (m *DisputeData) String() string

func (*DisputeData) Unmarshal

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

func (*DisputeData) XXX_DiscardUnknown

func (m *DisputeData) XXX_DiscardUnknown()

func (*DisputeData) XXX_Marshal

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

func (*DisputeData) XXX_Merge

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

func (*DisputeData) XXX_Size

func (m *DisputeData) XXX_Size() int

func (*DisputeData) XXX_Unmarshal

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

type Distribution

type Distribution []DistributionShare

func NewDistribution

func NewDistribution(shares ...DistributionShare) Distribution

func (Distribution) GetDistributionsFor

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

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 EntityKeeper interface {
	ResolveEntity(ctx sdk.Context, entityId string) (iidDocument iidtypes.IidDocument, entity entitytypes.Entity, err error)
	GetEntity(ctx sdk.Context, key []byte) (entitytypes.Entity, bool)
	CheckIfOwner(ctx sdk.Context, entityId, ownerAddress string) error
}

type EvaluateClaimAuthorization

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

func NewEvaluateClaimAuthorization

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

NewEvaluateClaimAuthorization creates a new EvaluateClaimAuthorization object.

func (EvaluateClaimAuthorization) Accept

Accept implements Authorization.Accept.

func (*EvaluateClaimAuthorization) Descriptor

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

func (*EvaluateClaimAuthorization) GetAdmin

func (m *EvaluateClaimAuthorization) GetAdmin() string

func (*EvaluateClaimAuthorization) GetConstraints

func (*EvaluateClaimAuthorization) Marshal

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

func (*EvaluateClaimAuthorization) MarshalTo

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

func (*EvaluateClaimAuthorization) MarshalToSizedBuffer

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

func (EvaluateClaimAuthorization) MsgTypeURL

func (a EvaluateClaimAuthorization) MsgTypeURL() string

MsgTypeURL implements Authorization.MsgTypeURL.

func (*EvaluateClaimAuthorization) ProtoMessage

func (*EvaluateClaimAuthorization) ProtoMessage()

func (*EvaluateClaimAuthorization) Reset

func (m *EvaluateClaimAuthorization) Reset()

func (*EvaluateClaimAuthorization) Size

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

func (*EvaluateClaimAuthorization) String

func (m *EvaluateClaimAuthorization) String() string

func (*EvaluateClaimAuthorization) Unmarshal

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

func (EvaluateClaimAuthorization) ValidateBasic

func (a EvaluateClaimAuthorization) ValidateBasic() error

ValidateBasic implements Authorization.ValidateBasic.

func (*EvaluateClaimAuthorization) XXX_DiscardUnknown

func (m *EvaluateClaimAuthorization) XXX_DiscardUnknown()

func (*EvaluateClaimAuthorization) XXX_Marshal

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

func (*EvaluateClaimAuthorization) XXX_Merge

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

func (*EvaluateClaimAuthorization) XXX_Size

func (m *EvaluateClaimAuthorization) XXX_Size() int

func (*EvaluateClaimAuthorization) XXX_Unmarshal

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

type EvaluateClaimConstraints

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

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

func (*Evaluation) MarshalToSizedBuffer

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

func (*Evaluation) ProtoMessage

func (*Evaluation) ProtoMessage()

func (*Evaluation) Reset

func (m *Evaluation) Reset()

func (*Evaluation) Size

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

func (*Evaluation) String

func (m *Evaluation) String() string

func (*Evaluation) Unmarshal

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

func (*Evaluation) XXX_DiscardUnknown

func (m *Evaluation) XXX_DiscardUnknown()

func (*Evaluation) XXX_Marshal

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

func (*Evaluation) XXX_Merge

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

func (*Evaluation) XXX_Size

func (m *Evaluation) XXX_Size() int

func (*Evaluation) XXX_Unmarshal

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

type EvaluationStatus

type EvaluationStatus int32
const (
	EvaluationStatus_pending     EvaluationStatus = 0
	EvaluationStatus_approved    EvaluationStatus = 1
	EvaluationStatus_rejected    EvaluationStatus = 2
	EvaluationStatus_disputed    EvaluationStatus = 3
	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) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (GenesisState) Validate

func (gs GenesisState) Validate() error

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

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type IidKeeper

type IidKeeper interface {
	GetDidDocument(ctx sdk.Context, key []byte) (iidtypes.IidDocument, bool)
}

type Input

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

Input models transaction input.

func (*Input) Descriptor

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

func (*Input) Equal

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

func (*Input) Marshal

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

func (*Input) MarshalTo

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

func (*Input) MarshalToSizedBuffer

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

func (*Input) ProtoMessage

func (*Input) ProtoMessage()

func (*Input) Reset

func (m *Input) Reset()

func (*Input) Size

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

func (*Input) String

func (m *Input) String() string

func (*Input) Unmarshal

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

func (*Input) XXX_DiscardUnknown

func (m *Input) XXX_DiscardUnknown()

func (*Input) XXX_Marshal

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

func (*Input) XXX_Merge

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

func (*Input) XXX_Size

func (m *Input) XXX_Size() int

func (*Input) XXX_Unmarshal

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

type 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) Descriptor() ([]byte, []int)

func (*Intent) GetAgentAddress

func (m *Intent) GetAgentAddress() string

func (*Intent) GetAgentDid

func (m *Intent) GetAgentDid() string

func (*Intent) GetAmount

func (*Intent) GetClaimId

func (m *Intent) GetClaimId() string

func (*Intent) GetCollectionId

func (m *Intent) GetCollectionId() string

func (*Intent) GetCreatedAt

func (m *Intent) GetCreatedAt() *time.Time

func (*Intent) GetCw20Payment

func (m *Intent) GetCw20Payment() []*CW20Payment

func (*Intent) GetEscrowAddress

func (m *Intent) GetEscrowAddress() string

func (*Intent) GetExpireAt

func (m *Intent) GetExpireAt() *time.Time

func (*Intent) GetFromAddress

func (m *Intent) GetFromAddress() string

func (*Intent) GetId

func (m *Intent) GetId() string

func (*Intent) GetStatus

func (m *Intent) GetStatus() IntentStatus

func (*Intent) Marshal

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

func (*Intent) MarshalTo

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

func (*Intent) MarshalToSizedBuffer

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

func (*Intent) ProtoMessage

func (*Intent) ProtoMessage()

func (*Intent) Reset

func (m *Intent) Reset()

func (*Intent) Size

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

func (*Intent) String

func (m *Intent) String() string

func (*Intent) Unmarshal

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

func (*Intent) XXX_DiscardUnknown

func (m *Intent) XXX_DiscardUnknown()

func (*Intent) XXX_Marshal

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

func (*Intent) XXX_Merge

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

func (*Intent) XXX_Size

func (m *Intent) XXX_Size() int

func (*Intent) XXX_Unmarshal

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

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) GetAmount

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) MarshalTo

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

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 (*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) 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) MarshalTo

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

func (*MsgDisputeClaim) MarshalToSizedBuffer

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

func (*MsgDisputeClaim) ProtoMessage

func (*MsgDisputeClaim) ProtoMessage()

func (*MsgDisputeClaim) Reset

func (m *MsgDisputeClaim) Reset()

func (MsgDisputeClaim) Route

func (msg MsgDisputeClaim) Route() string

func (*MsgDisputeClaim) Size

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

func (*MsgDisputeClaim) String

func (m *MsgDisputeClaim) String() string

func (MsgDisputeClaim) Type

func (msg MsgDisputeClaim) Type() string

func (*MsgDisputeClaim) Unmarshal

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

func (MsgDisputeClaim) ValidateBasic

func (msg MsgDisputeClaim) ValidateBasic() error

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

func (*MsgDisputeClaim) XXX_DiscardUnknown

func (m *MsgDisputeClaim) XXX_DiscardUnknown()

func (*MsgDisputeClaim) XXX_Marshal

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

func (*MsgDisputeClaim) XXX_Merge

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

func (*MsgDisputeClaim) XXX_Size

func (m *MsgDisputeClaim) XXX_Size() int

func (*MsgDisputeClaim) XXX_Unmarshal

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

type MsgDisputeClaimResponse

type MsgDisputeClaimResponse struct {
}

func (*MsgDisputeClaimResponse) Descriptor

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

func (*MsgDisputeClaimResponse) Marshal

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

func (*MsgDisputeClaimResponse) MarshalTo

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

func (*MsgDisputeClaimResponse) MarshalToSizedBuffer

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

func (*MsgDisputeClaimResponse) ProtoMessage

func (*MsgDisputeClaimResponse) ProtoMessage()

func (*MsgDisputeClaimResponse) Reset

func (m *MsgDisputeClaimResponse) Reset()

func (*MsgDisputeClaimResponse) Size

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

func (*MsgDisputeClaimResponse) String

func (m *MsgDisputeClaimResponse) String() string

func (*MsgDisputeClaimResponse) Unmarshal

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

func (*MsgDisputeClaimResponse) XXX_DiscardUnknown

func (m *MsgDisputeClaimResponse) XXX_DiscardUnknown()

func (*MsgDisputeClaimResponse) XXX_Marshal

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

func (*MsgDisputeClaimResponse) XXX_Merge

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

func (*MsgDisputeClaimResponse) XXX_Size

func (m *MsgDisputeClaimResponse) XXX_Size() int

func (*MsgDisputeClaimResponse) XXX_Unmarshal

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

type MsgEvaluateClaim

type MsgEvaluateClaim struct {
	// claimID is the unique identifier of the claim to make evaluation against
	ClaimId string `protobuf:"bytes,1,opt,name=claim_id,json=claimId,proto3" json:"claim_id,omitempty"`
	// 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) GetAmount

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) MarshalTo

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

func (*MsgEvaluateClaim) MarshalToSizedBuffer

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

func (*MsgEvaluateClaim) ProtoMessage

func (*MsgEvaluateClaim) ProtoMessage()

func (*MsgEvaluateClaim) Reset

func (m *MsgEvaluateClaim) Reset()

func (MsgEvaluateClaim) Route

func (msg MsgEvaluateClaim) Route() string

func (*MsgEvaluateClaim) Size

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

func (*MsgEvaluateClaim) String

func (m *MsgEvaluateClaim) String() string

func (MsgEvaluateClaim) Type

func (msg MsgEvaluateClaim) Type() string

func (*MsgEvaluateClaim) Unmarshal

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

func (MsgEvaluateClaim) ValidateBasic

func (msg MsgEvaluateClaim) ValidateBasic() error

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

func (*MsgEvaluateClaim) XXX_DiscardUnknown

func (m *MsgEvaluateClaim) XXX_DiscardUnknown()

func (*MsgEvaluateClaim) XXX_Marshal

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

func (*MsgEvaluateClaim) XXX_Merge

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

func (*MsgEvaluateClaim) XXX_Size

func (m *MsgEvaluateClaim) XXX_Size() int

func (*MsgEvaluateClaim) XXX_Unmarshal

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

type MsgEvaluateClaimResponse

type MsgEvaluateClaimResponse struct {
}

func (*MsgEvaluateClaimResponse) Descriptor

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

func (*MsgEvaluateClaimResponse) Marshal

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

func (*MsgEvaluateClaimResponse) MarshalTo

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

func (*MsgEvaluateClaimResponse) MarshalToSizedBuffer

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

func (*MsgEvaluateClaimResponse) ProtoMessage

func (*MsgEvaluateClaimResponse) ProtoMessage()

func (*MsgEvaluateClaimResponse) Reset

func (m *MsgEvaluateClaimResponse) Reset()

func (*MsgEvaluateClaimResponse) Size

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

func (*MsgEvaluateClaimResponse) String

func (m *MsgEvaluateClaimResponse) String() string

func (*MsgEvaluateClaimResponse) Unmarshal

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

func (*MsgEvaluateClaimResponse) XXX_DiscardUnknown

func (m *MsgEvaluateClaimResponse) XXX_DiscardUnknown()

func (*MsgEvaluateClaimResponse) XXX_Marshal

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

func (*MsgEvaluateClaimResponse) XXX_Merge

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

func (*MsgEvaluateClaimResponse) XXX_Size

func (m *MsgEvaluateClaimResponse) XXX_Size() int

func (*MsgEvaluateClaimResponse) XXX_Unmarshal

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

type 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) GetAmount

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) MarshalTo

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

func (*MsgSubmitClaim) MarshalToSizedBuffer

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

func (*MsgSubmitClaim) ProtoMessage

func (*MsgSubmitClaim) ProtoMessage()

func (*MsgSubmitClaim) Reset

func (m *MsgSubmitClaim) Reset()

func (MsgSubmitClaim) Route

func (msg MsgSubmitClaim) Route() string

func (*MsgSubmitClaim) Size

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

func (*MsgSubmitClaim) String

func (m *MsgSubmitClaim) String() string

func (MsgSubmitClaim) Type

func (msg MsgSubmitClaim) Type() string

func (*MsgSubmitClaim) Unmarshal

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

func (MsgSubmitClaim) ValidateBasic

func (msg MsgSubmitClaim) ValidateBasic() error

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

func (*MsgSubmitClaim) XXX_DiscardUnknown

func (m *MsgSubmitClaim) XXX_DiscardUnknown()

func (*MsgSubmitClaim) XXX_Marshal

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

func (*MsgSubmitClaim) XXX_Merge

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

func (*MsgSubmitClaim) XXX_Size

func (m *MsgSubmitClaim) XXX_Size() int

func (*MsgSubmitClaim) XXX_Unmarshal

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

type MsgSubmitClaimResponse

type MsgSubmitClaimResponse struct {
}

func (*MsgSubmitClaimResponse) Descriptor

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

func (*MsgSubmitClaimResponse) Marshal

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

func (*MsgSubmitClaimResponse) MarshalTo

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

func (*MsgSubmitClaimResponse) MarshalToSizedBuffer

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

func (*MsgSubmitClaimResponse) ProtoMessage

func (*MsgSubmitClaimResponse) ProtoMessage()

func (*MsgSubmitClaimResponse) Reset

func (m *MsgSubmitClaimResponse) Reset()

func (*MsgSubmitClaimResponse) Size

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

func (*MsgSubmitClaimResponse) String

func (m *MsgSubmitClaimResponse) String() string

func (*MsgSubmitClaimResponse) Unmarshal

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

func (*MsgSubmitClaimResponse) XXX_DiscardUnknown

func (m *MsgSubmitClaimResponse) XXX_DiscardUnknown()

func (*MsgSubmitClaimResponse) XXX_Marshal

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

func (*MsgSubmitClaimResponse) XXX_Merge

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

func (*MsgSubmitClaimResponse) XXX_Size

func (m *MsgSubmitClaimResponse) XXX_Size() int

func (*MsgSubmitClaimResponse) XXX_Unmarshal

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

type 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 (*MsgUpdateCollectionDatesResponse) Size

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

func (*MsgUpdateCollectionDatesResponse) 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 (*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 (*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 (*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 (*MsgUpdateCollectionIntentsResponse) Size

func (*MsgUpdateCollectionIntentsResponse) 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 (*MsgUpdateCollectionIntentsResponse) XXX_Size

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 (*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 (*MsgUpdateCollectionPaymentsResponse) Size

func (*MsgUpdateCollectionPaymentsResponse) 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 (*MsgUpdateCollectionPaymentsResponse) XXX_Size

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 (*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 (*MsgUpdateCollectionStateResponse) Size

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

func (*MsgUpdateCollectionStateResponse) 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 (*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) Descriptor() ([]byte, []int)

func (*Output) Equal

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

func (*Output) Marshal

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

func (*Output) MarshalTo

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

func (*Output) MarshalToSizedBuffer

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

func (*Output) ProtoMessage

func (*Output) ProtoMessage()

func (*Output) Reset

func (m *Output) Reset()

func (*Output) Size

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

func (*Output) String

func (m *Output) String() string

func (*Output) Unmarshal

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

func (*Output) XXX_DiscardUnknown

func (m *Output) XXX_DiscardUnknown()

func (*Output) XXX_Marshal

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

func (*Output) XXX_Merge

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

func (*Output) XXX_Size

func (m *Output) XXX_Size() int

func (*Output) XXX_Unmarshal

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

type Params

type Params struct {
	CollectionSequence   uint64                      `protobuf:"varint,1,opt,name=collection_sequence,json=collectionSequence,proto3" json:"collection_sequence,omitempty"`
	IxoAccount           string                      `protobuf:"bytes,2,opt,name=ixo_account,json=ixoAccount,proto3" json:"ixo_account,omitempty"`
	NetworkFeePercentage 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 DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

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) Descriptor() ([]byte, []int)

func (*Params) GetCollectionSequence

func (m *Params) GetCollectionSequence() uint64

func (*Params) GetIntentSequence

func (m *Params) GetIntentSequence() uint64

func (*Params) GetIxoAccount

func (m *Params) GetIxoAccount() string

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ParamSetPairs

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

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

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

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type Payment

type Payment struct {
	// account is the entity account address from which the payment will be made
	Account string                                   `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Amount  github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
	// if empty(nil) then no contract payment, not allowed for Evaluation Payment
	Contract_1155Payment *Contract1155Payment `protobuf:"bytes,3,opt,name=contract_1155_payment,json=contract1155Payment,proto3" json:"contract_1155_payment,omitempty"`
	// timeout after claim/evaluation to create authZ for payment, if 0 then
	// 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) Clone

func (p *Payment) Clone() *Payment

Creates a deep copy of Payment

func (*Payment) Descriptor

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

func (*Payment) GetAccount

func (m *Payment) GetAccount() string

func (*Payment) GetAmount

func (*Payment) GetContract_1155Payment

func (m *Payment) GetContract_1155Payment() *Contract1155Payment

func (*Payment) GetCw20Payment

func (m *Payment) GetCw20Payment() []*CW20Payment

func (*Payment) GetIsOraclePayment

func (m *Payment) GetIsOraclePayment() bool

func (*Payment) GetTimeoutNs

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

func (*Payment) Marshal

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

func (*Payment) MarshalTo

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

func (*Payment) MarshalToSizedBuffer

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

func (*Payment) ProtoMessage

func (*Payment) ProtoMessage()

func (*Payment) Reset

func (m *Payment) Reset()

func (*Payment) Size

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

func (*Payment) String

func (m *Payment) String() string

func (*Payment) Unmarshal

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

func (Payment) Validate

func (p Payment) Validate(allowOraclePayments bool) error

func (*Payment) XXX_DiscardUnknown

func (m *Payment) XXX_DiscardUnknown()

func (*Payment) XXX_Marshal

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

func (*Payment) XXX_Merge

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

func (*Payment) XXX_Size

func (m *Payment) XXX_Size() int

func (*Payment) XXX_Unmarshal

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

type PaymentStatus

type PaymentStatus int32
const (
	PaymentStatus_no_payment PaymentStatus = 0
	// Promised: Agent is contracted to receive payment
	PaymentStatus_promised PaymentStatus = 1
	// Authorized: Authz set up, no guarantee
	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 (*PaymentWithdrawCreatedEvent) Marshal

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

func (*PaymentWithdrawCreatedEvent) MarshalTo

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

func (*PaymentWithdrawCreatedEvent) MarshalToSizedBuffer

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

func (*PaymentWithdrawCreatedEvent) ProtoMessage

func (*PaymentWithdrawCreatedEvent) ProtoMessage()

func (*PaymentWithdrawCreatedEvent) Reset

func (m *PaymentWithdrawCreatedEvent) Reset()

func (*PaymentWithdrawCreatedEvent) Size

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

func (*PaymentWithdrawCreatedEvent) String

func (m *PaymentWithdrawCreatedEvent) String() string

func (*PaymentWithdrawCreatedEvent) Unmarshal

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

func (*PaymentWithdrawCreatedEvent) XXX_DiscardUnknown

func (m *PaymentWithdrawCreatedEvent) XXX_DiscardUnknown()

func (*PaymentWithdrawCreatedEvent) XXX_Marshal

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

func (*PaymentWithdrawCreatedEvent) XXX_Merge

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

func (*PaymentWithdrawCreatedEvent) XXX_Size

func (m *PaymentWithdrawCreatedEvent) XXX_Size() int

func (*PaymentWithdrawCreatedEvent) XXX_Unmarshal

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

type PaymentWithdrawnEvent

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

ClaimDisputedEvent is an event triggered on a Claim dispute

func (*PaymentWithdrawnEvent) Descriptor

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

func (*PaymentWithdrawnEvent) GetWithdraw

func (*PaymentWithdrawnEvent) Marshal

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

func (*PaymentWithdrawnEvent) MarshalTo

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

func (*PaymentWithdrawnEvent) MarshalToSizedBuffer

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

func (*PaymentWithdrawnEvent) ProtoMessage

func (*PaymentWithdrawnEvent) ProtoMessage()

func (*PaymentWithdrawnEvent) Reset

func (m *PaymentWithdrawnEvent) Reset()

func (*PaymentWithdrawnEvent) Size

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

func (*PaymentWithdrawnEvent) String

func (m *PaymentWithdrawnEvent) String() string

func (*PaymentWithdrawnEvent) Unmarshal

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

func (*PaymentWithdrawnEvent) XXX_DiscardUnknown

func (m *PaymentWithdrawnEvent) XXX_DiscardUnknown()

func (*PaymentWithdrawnEvent) XXX_Marshal

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

func (*PaymentWithdrawnEvent) XXX_Merge

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

func (*PaymentWithdrawnEvent) XXX_Size

func (m *PaymentWithdrawnEvent) XXX_Size() int

func (*PaymentWithdrawnEvent) XXX_Unmarshal

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

type Payments

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

func (Payments) AccountsIsEntityAccounts

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

func (*Payments) Descriptor

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

func (*Payments) GetApproval

func (m *Payments) GetApproval() *Payment

func (*Payments) GetEvaluation

func (m *Payments) GetEvaluation() *Payment

func (*Payments) GetRejection

func (m *Payments) GetRejection() *Payment

func (*Payments) GetSubmission

func (m *Payments) GetSubmission() *Payment

func (*Payments) Marshal

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

func (*Payments) MarshalTo

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

func (*Payments) MarshalToSizedBuffer

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

func (*Payments) ProtoMessage

func (*Payments) ProtoMessage()

func (*Payments) Reset

func (m *Payments) Reset()

func (*Payments) Size

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

func (*Payments) String

func (m *Payments) String() string

func (*Payments) Unmarshal

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

func (Payments) Validate

func (p Payments) Validate() error

func (*Payments) XXX_DiscardUnknown

func (m *Payments) XXX_DiscardUnknown()

func (*Payments) XXX_Marshal

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

func (*Payments) XXX_Merge

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

func (*Payments) XXX_Size

func (m *Payments) XXX_Size() int

func (*Payments) XXX_Unmarshal

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

type QueryClaimListRequest

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

func (*QueryClaimListRequest) Descriptor

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

func (*QueryClaimListRequest) GetPagination

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

func (*QueryClaimListRequest) Marshal

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

func (*QueryClaimListRequest) MarshalTo

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

func (*QueryClaimListRequest) MarshalToSizedBuffer

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

func (*QueryClaimListRequest) ProtoMessage

func (*QueryClaimListRequest) ProtoMessage()

func (*QueryClaimListRequest) Reset

func (m *QueryClaimListRequest) Reset()

func (*QueryClaimListRequest) Size

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

func (*QueryClaimListRequest) String

func (m *QueryClaimListRequest) String() string

func (*QueryClaimListRequest) Unmarshal

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

func (*QueryClaimListRequest) XXX_DiscardUnknown

func (m *QueryClaimListRequest) XXX_DiscardUnknown()

func (*QueryClaimListRequest) XXX_Marshal

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

func (*QueryClaimListRequest) XXX_Merge

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

func (*QueryClaimListRequest) XXX_Size

func (m *QueryClaimListRequest) XXX_Size() int

func (*QueryClaimListRequest) XXX_Unmarshal

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

type QueryClaimListResponse

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

func (*QueryClaimListResponse) Descriptor

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

func (*QueryClaimListResponse) GetClaims

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

func (*QueryClaimListResponse) GetPagination

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

func (*QueryClaimListResponse) Marshal

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

func (*QueryClaimListResponse) MarshalTo

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

func (*QueryClaimListResponse) MarshalToSizedBuffer

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

func (*QueryClaimListResponse) ProtoMessage

func (*QueryClaimListResponse) ProtoMessage()

func (*QueryClaimListResponse) Reset

func (m *QueryClaimListResponse) Reset()

func (*QueryClaimListResponse) Size

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

func (*QueryClaimListResponse) String

func (m *QueryClaimListResponse) String() string

func (*QueryClaimListResponse) Unmarshal

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

func (*QueryClaimListResponse) XXX_DiscardUnknown

func (m *QueryClaimListResponse) XXX_DiscardUnknown()

func (*QueryClaimListResponse) XXX_Marshal

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

func (*QueryClaimListResponse) XXX_Merge

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

func (*QueryClaimListResponse) XXX_Size

func (m *QueryClaimListResponse) XXX_Size() int

func (*QueryClaimListResponse) XXX_Unmarshal

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

type QueryClaimRequest

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

func (*QueryClaimRequest) Descriptor

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

func (*QueryClaimRequest) GetId

func (m *QueryClaimRequest) GetId() string

func (*QueryClaimRequest) Marshal

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

func (*QueryClaimRequest) MarshalTo

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

func (*QueryClaimRequest) MarshalToSizedBuffer

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

func (*QueryClaimRequest) ProtoMessage

func (*QueryClaimRequest) ProtoMessage()

func (*QueryClaimRequest) Reset

func (m *QueryClaimRequest) Reset()

func (*QueryClaimRequest) Size

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

func (*QueryClaimRequest) String

func (m *QueryClaimRequest) String() string

func (*QueryClaimRequest) Unmarshal

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

func (*QueryClaimRequest) XXX_DiscardUnknown

func (m *QueryClaimRequest) XXX_DiscardUnknown()

func (*QueryClaimRequest) XXX_Marshal

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

func (*QueryClaimRequest) XXX_Merge

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

func (*QueryClaimRequest) XXX_Size

func (m *QueryClaimRequest) XXX_Size() int

func (*QueryClaimRequest) XXX_Unmarshal

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

type QueryClaimResponse

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

func (*QueryClaimResponse) Descriptor

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

func (*QueryClaimResponse) GetClaim

func (m *QueryClaimResponse) GetClaim() Claim

func (*QueryClaimResponse) Marshal

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

func (*QueryClaimResponse) MarshalTo

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

func (*QueryClaimResponse) MarshalToSizedBuffer

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

func (*QueryClaimResponse) ProtoMessage

func (*QueryClaimResponse) ProtoMessage()

func (*QueryClaimResponse) Reset

func (m *QueryClaimResponse) Reset()

func (*QueryClaimResponse) Size

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

func (*QueryClaimResponse) String

func (m *QueryClaimResponse) String() string

func (*QueryClaimResponse) Unmarshal

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

func (*QueryClaimResponse) XXX_DiscardUnknown

func (m *QueryClaimResponse) XXX_DiscardUnknown()

func (*QueryClaimResponse) XXX_Marshal

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

func (*QueryClaimResponse) XXX_Merge

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

func (*QueryClaimResponse) XXX_Size

func (m *QueryClaimResponse) XXX_Size() int

func (*QueryClaimResponse) XXX_Unmarshal

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

type QueryClient

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 SubmitClaimAuthorization

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

func NewSubmitClaimAuthorization

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

NewSubmitClaimAuthorization creates a new SubmitClaimAuthorization object.

func (SubmitClaimAuthorization) Accept

Accept implements Authorization.Accept.

func (*SubmitClaimAuthorization) Descriptor

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

func (*SubmitClaimAuthorization) GetAdmin

func (m *SubmitClaimAuthorization) GetAdmin() string

func (*SubmitClaimAuthorization) GetConstraints

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

func (*SubmitClaimAuthorization) Marshal

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

func (*SubmitClaimAuthorization) MarshalTo

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

func (*SubmitClaimAuthorization) MarshalToSizedBuffer

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

func (SubmitClaimAuthorization) MsgTypeURL

func (a SubmitClaimAuthorization) MsgTypeURL() string

MsgTypeURL implements Authorization.MsgTypeURL.

func (*SubmitClaimAuthorization) ProtoMessage

func (*SubmitClaimAuthorization) ProtoMessage()

func (*SubmitClaimAuthorization) Reset

func (m *SubmitClaimAuthorization) Reset()

func (*SubmitClaimAuthorization) Size

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

func (*SubmitClaimAuthorization) String

func (m *SubmitClaimAuthorization) String() string

func (*SubmitClaimAuthorization) Unmarshal

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

func (SubmitClaimAuthorization) ValidateBasic

func (a SubmitClaimAuthorization) ValidateBasic() error

ValidateBasic implements Authorization.ValidateBasic.

func (*SubmitClaimAuthorization) XXX_DiscardUnknown

func (m *SubmitClaimAuthorization) XXX_DiscardUnknown()

func (*SubmitClaimAuthorization) XXX_Marshal

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

func (*SubmitClaimAuthorization) XXX_Merge

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

func (*SubmitClaimAuthorization) XXX_Size

func (m *SubmitClaimAuthorization) XXX_Size() int

func (*SubmitClaimAuthorization) XXX_Unmarshal

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

type SubmitClaimConstraints

type SubmitClaimConstraints struct {
	// collection_id indicates to which Collection this claim belongs
	CollectionId string `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	AgentQuota   uint64 `protobuf:"varint,2,opt,name=agent_quota,json=agentQuota,proto3" json:"agent_quota,omitempty"`
	// 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 (*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) CreateCollection

func (*UnimplementedMsgServer) DisputeClaim

func (*UnimplementedMsgServer) EvaluateClaim

func (*UnimplementedMsgServer) SubmitClaim

func (*UnimplementedMsgServer) UpdateCollectionDates

func (*UnimplementedMsgServer) UpdateCollectionIntents

func (*UnimplementedMsgServer) UpdateCollectionPayments

func (*UnimplementedMsgServer) UpdateCollectionState

func (*UnimplementedMsgServer) WithdrawPayment

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Claim

func (*UnimplementedQueryServer) ClaimList

func (*UnimplementedQueryServer) Collection

func (*UnimplementedQueryServer) CollectionList

func (*UnimplementedQueryServer) Dispute

func (*UnimplementedQueryServer) DisputeList

func (*UnimplementedQueryServer) Intent

func (*UnimplementedQueryServer) IntentList

func (*UnimplementedQueryServer) Params

type WasmKeeper

type WasmKeeper interface {
	Execute(ctx sdk.Context, contractAddress sdk.AccAddress, caller sdk.AccAddress, msg []byte, coins sdk.Coins) ([]byte, error)
}

type WithdrawPaymentAuthorization

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

func NewWithdrawPaymentAuthorization

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

NewWithdrawPaymentAuthorization creates a new WithdrawPaymentAuthorization object.

func (WithdrawPaymentAuthorization) Accept

Accept implements Authorization.Accept.

func (*WithdrawPaymentAuthorization) Descriptor

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

func (*WithdrawPaymentAuthorization) GetAdmin

func (m *WithdrawPaymentAuthorization) GetAdmin() string

func (*WithdrawPaymentAuthorization) GetConstraints

func (*WithdrawPaymentAuthorization) Marshal

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

func (*WithdrawPaymentAuthorization) MarshalTo

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

func (*WithdrawPaymentAuthorization) MarshalToSizedBuffer

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

func (WithdrawPaymentAuthorization) MsgTypeURL

func (a WithdrawPaymentAuthorization) MsgTypeURL() string

MsgTypeURL implements Authorization.MsgTypeURL.

func (*WithdrawPaymentAuthorization) ProtoMessage

func (*WithdrawPaymentAuthorization) ProtoMessage()

func (*WithdrawPaymentAuthorization) Reset

func (m *WithdrawPaymentAuthorization) Reset()

func (*WithdrawPaymentAuthorization) Size

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

func (*WithdrawPaymentAuthorization) String

func (*WithdrawPaymentAuthorization) Unmarshal

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

func (WithdrawPaymentAuthorization) ValidateBasic

func (a WithdrawPaymentAuthorization) ValidateBasic() error

ValidateBasic implements Authorization.ValidateBasic.

func (*WithdrawPaymentAuthorization) XXX_DiscardUnknown

func (m *WithdrawPaymentAuthorization) XXX_DiscardUnknown()

func (*WithdrawPaymentAuthorization) XXX_Marshal

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

func (*WithdrawPaymentAuthorization) XXX_Merge

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

func (*WithdrawPaymentAuthorization) XXX_Size

func (m *WithdrawPaymentAuthorization) XXX_Size() int

func (*WithdrawPaymentAuthorization) XXX_Unmarshal

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

type WithdrawPaymentConstraints

type WithdrawPaymentConstraints struct {
	// claim_id the withdrawal is for
	ClaimId string `protobuf:"bytes,1,opt,name=claim_id,json=claimId,proto3" json:"claim_id,omitempty"`
	// Inputs to the multisend tx to run to withdraw payment
	Inputs []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

Jump to

Keyboard shortcuts

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