types

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 33 Imported by: 1

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName defines the module name
	ModuleName = "intent"

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

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_intent"

	ActionCountKey = "action/count"
	ActionKey      = "action/value/"

	IntentCountKey = "intent/count"
	IntentKey      = "intent/value/"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

Variables

View Source
var (
	ErrInvalidLengthAction        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAction          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAction = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidSigner = sdkerrors.Register(ModuleName, 1100, "expected gov account as only signer for proposal message")
	ErrSample        = sdkerrors.Register(ModuleName, 1101, "sample error")
)

x/intent module sentinel errors

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 (
	ErrInvalidLengthIntent        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowIntent          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupIntent = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
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 ActionStatus_name = map[int32]string{
	0: "ACTION_STATUS_UNSPECIFIED",
	1: "ACTION_STATUS_PENDING",
	2: "ACTION_STATUS_COMPLETED",
	3: "ACTION_STATUS_REVOKED",
	4: "ACTION_STATUS_TIMEOUT",
}
View Source
var ActionStatus_value = map[string]int32{
	"ACTION_STATUS_UNSPECIFIED": 0,
	"ACTION_STATUS_PENDING":     1,
	"ACTION_STATUS_COMPLETED":   2,
	"ACTION_STATUS_REVOKED":     3,
	"ACTION_STATUS_TIMEOUT":     4,
}
View Source
var (
	ParamsKey = []byte("p_intent")
)

Functions

func GetActionMessage

func GetActionMessage[Msg sdk.Msg](cdc codectypes.AnyUnpacker, a Action) (Msg, error)

func KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

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

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(context.Context, sdk.AccAddress) sdk.AccountI // only used for simulation

}

AccountKeeper defines the expected interface for the Account module.

type Action

type Action struct {
	Id        uint64       `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Approvers []*Approver  `protobuf:"bytes,2,rep,name=approvers,proto3" json:"approvers,omitempty"`
	Status    ActionStatus `protobuf:"varint,3,opt,name=status,proto3,enum=warden.intent.ActionStatus" json:"status,omitempty"`
	// Original message that started the action, it will be executed when the
	// intent is satisfied.
	Msg *types.Any `protobuf:"bytes,5,opt,name=msg,proto3" json:"msg,omitempty"`
	// Result of the action, it will be set when the action is completed.
	Result  *types.Any `protobuf:"bytes,6,opt,name=result,proto3" json:"result,omitempty"`
	Creator string     `protobuf:"bytes,7,opt,name=creator,proto3" json:"creator,omitempty"`
	// BTL (blocks to live) is the block height up until this action can be
	// approved or rejected.
	Btl uint64 `protobuf:"varint,8,opt,name=btl,proto3" json:"btl,omitempty"`
	// created_at is a timestamp specifying when the action was created
	CreatedAt time.Time `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"`
	// updated_at is a timestamp specifying when the action's status was updated
	UpdatedAt time.Time `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3,stdtime" json:"updated_at"`
	// intent is the intent that this action is associated with. Instead of
	// storing the intent ID, we store the entire intent object so that is
	// immutable and cannot be changed later.
	Intent Intent `protobuf:"bytes,11,opt,name=intent,proto3" json:"intent"`
	// mentions is a list of addresses that are mentioned in the intent.
	Mentions []string `protobuf:"bytes,12,rep,name=mentions,proto3" json:"mentions,omitempty"`
}

Action wraps a message that needs to be approved by a set of approvers.

func (*Action) AddApprover

func (a *Action) AddApprover(address string, timestamp time.Time) error

func (*Action) Descriptor

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

func (*Action) GetApprovers

func (m *Action) GetApprovers() []*Approver

func (*Action) GetBtl

func (m *Action) GetBtl() uint64

func (*Action) GetCreatedAt

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

func (*Action) GetCreator

func (m *Action) GetCreator() string

func (*Action) GetId

func (m *Action) GetId() uint64

func (*Action) GetIntent added in v0.1.1

func (m *Action) GetIntent() Intent

func (*Action) GetMentions added in v0.3.0

func (m *Action) GetMentions() []string

func (*Action) GetMsg

func (m *Action) GetMsg() *types.Any

func (*Action) GetResult

func (m *Action) GetResult() *types.Any

func (*Action) GetStatus

func (m *Action) GetStatus() ActionStatus

func (*Action) GetUpdatedAt

func (m *Action) GetUpdatedAt() time.Time

func (*Action) Marshal

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

func (*Action) MarshalTo

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

func (*Action) MarshalToSizedBuffer

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

func (*Action) ProtoMessage

func (*Action) ProtoMessage()

func (*Action) Reset

func (m *Action) Reset()

func (*Action) SetId

func (a *Action) SetId(id uint64)

func (*Action) SetResult

func (a *Action) SetResult(result proto.Message) error

func (*Action) Size

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

func (*Action) String

func (m *Action) String() string

func (*Action) Unmarshal

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

func (*Action) XXX_DiscardUnknown

func (m *Action) XXX_DiscardUnknown()

func (*Action) XXX_Marshal

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

func (*Action) XXX_Merge

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

func (*Action) XXX_Size

func (m *Action) XXX_Size() int

func (*Action) XXX_Unmarshal

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

type ActionHandler

type ActionHandler func(sdk.Context, Action) (proto.Message, error)

ActionHandler is a function that gets executed when an action is ready to be fulfilled (i.e. it's intent has been satisfied). The result of the action is stored in the Result field of the Action itself.

type ActionStatus

type ActionStatus int32

Current status of an action.

const (
	// Unspecified status.
	ActionStatus_ACTION_STATUS_UNSPECIFIED ActionStatus = 0
	// Action is pending approval. This is the initial status.
	ActionStatus_ACTION_STATUS_PENDING ActionStatus = 1
	// Intent has been satified, action has been executed.
	ActionStatus_ACTION_STATUS_COMPLETED ActionStatus = 2
	// Action has been revoked by its creator.
	ActionStatus_ACTION_STATUS_REVOKED ActionStatus = 3
	// Action has been rejected since Btl is expired
	ActionStatus_ACTION_STATUS_TIMEOUT ActionStatus = 4
)

func (ActionStatus) EnumDescriptor

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

func (ActionStatus) String

func (x ActionStatus) String() string

type Approver

type Approver struct {
	// address is the address of the approver
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// approved_at is a timestamp specifying when the approver approved an action
	ApprovedAt time.Time `protobuf:"bytes,2,opt,name=approved_at,json=approvedAt,proto3,stdtime" json:"approved_at"`
}

func NewApprover

func NewApprover(address string, timestamp time.Time) *Approver

func (*Approver) Descriptor

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

func (*Approver) GetAddress

func (m *Approver) GetAddress() string

func (*Approver) GetApprovedAt

func (m *Approver) GetApprovedAt() time.Time

func (*Approver) Marshal

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

func (*Approver) MarshalTo

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

func (*Approver) MarshalToSizedBuffer

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

func (*Approver) ProtoMessage

func (*Approver) ProtoMessage()

func (*Approver) Reset

func (m *Approver) Reset()

func (*Approver) Size

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

func (*Approver) String

func (m *Approver) String() string

func (*Approver) Unmarshal

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

func (*Approver) XXX_DiscardUnknown

func (m *Approver) XXX_DiscardUnknown()

func (*Approver) XXX_Marshal

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

func (*Approver) XXX_Merge

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

func (*Approver) XXX_Size

func (m *Approver) XXX_Size() int

func (*Approver) XXX_Unmarshal

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

type BankKeeper

type BankKeeper interface {
	SpendableCoins(context.Context, sdk.AccAddress) sdk.Coins
}

BankKeeper defines the expected interface for the Bank module.

type GenesisState

type GenesisState struct {
	// params defines all the parameters of the module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

GenesisState defines the intent module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default genesis state

func (*GenesisState) Descriptor

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

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 Intent

type Intent struct {
	Id      uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	Name    string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// The expression to be evaluated for this intent.
	Expression *ast.Expression `protobuf:"bytes,4,opt,name=expression,proto3" json:"expression,omitempty"`
}

func (*Intent) Descriptor

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

func (*Intent) Eval added in v0.1.1

func (i *Intent) Eval(ctx context.Context, env shield.Environment) (bool, error)

func (*Intent) GetCreator added in v0.1.1

func (m *Intent) GetCreator() string

func (*Intent) GetExpression added in v0.3.0

func (m *Intent) GetExpression() *ast.Expression

func (*Intent) GetId

func (m *Intent) GetId() uint64

func (*Intent) GetName

func (m *Intent) GetName() string

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 MsgActionCreated

type MsgActionCreated struct {
	Action *Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
}

MsgActionCreated is returned by rpc that creates an action.

func NewMsgActionCreated

func NewMsgActionCreated(act *Action) *MsgActionCreated

func (*MsgActionCreated) Descriptor

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

func (*MsgActionCreated) GetAction

func (m *MsgActionCreated) GetAction() *Action

func (*MsgActionCreated) Marshal

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

func (*MsgActionCreated) MarshalTo

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

func (*MsgActionCreated) MarshalToSizedBuffer

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

func (*MsgActionCreated) ProtoMessage

func (*MsgActionCreated) ProtoMessage()

func (*MsgActionCreated) Reset

func (m *MsgActionCreated) Reset()

func (*MsgActionCreated) Size

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

func (*MsgActionCreated) String

func (m *MsgActionCreated) String() string

func (*MsgActionCreated) Unmarshal

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

func (*MsgActionCreated) XXX_DiscardUnknown

func (m *MsgActionCreated) XXX_DiscardUnknown()

func (*MsgActionCreated) XXX_Marshal

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

func (*MsgActionCreated) XXX_Merge

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

func (*MsgActionCreated) XXX_Size

func (m *MsgActionCreated) XXX_Size() int

func (*MsgActionCreated) XXX_Unmarshal

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

type MsgApproveAction

type MsgApproveAction struct {
	Creator    string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ActionType string `protobuf:"bytes,2,opt,name=action_type,json=actionType,proto3" json:"action_type,omitempty"`
	ActionId   uint64 `protobuf:"varint,3,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"`
}

func (*MsgApproveAction) Descriptor

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

func (*MsgApproveAction) GetActionId

func (m *MsgApproveAction) GetActionId() uint64

func (*MsgApproveAction) GetActionType

func (m *MsgApproveAction) GetActionType() string

func (*MsgApproveAction) GetCreator

func (m *MsgApproveAction) GetCreator() string

func (*MsgApproveAction) Marshal

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

func (*MsgApproveAction) MarshalTo

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

func (*MsgApproveAction) MarshalToSizedBuffer

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

func (*MsgApproveAction) ProtoMessage

func (*MsgApproveAction) ProtoMessage()

func (*MsgApproveAction) Reset

func (m *MsgApproveAction) Reset()

func (*MsgApproveAction) Size

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

func (*MsgApproveAction) String

func (m *MsgApproveAction) String() string

func (*MsgApproveAction) Unmarshal

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

func (*MsgApproveAction) XXX_DiscardUnknown

func (m *MsgApproveAction) XXX_DiscardUnknown()

func (*MsgApproveAction) XXX_Marshal

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

func (*MsgApproveAction) XXX_Merge

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

func (*MsgApproveAction) XXX_Size

func (m *MsgApproveAction) XXX_Size() int

func (*MsgApproveAction) XXX_Unmarshal

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

type MsgApproveActionResponse

type MsgApproveActionResponse struct {
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
}

func (*MsgApproveActionResponse) Descriptor

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

func (*MsgApproveActionResponse) GetStatus

func (m *MsgApproveActionResponse) GetStatus() string

func (*MsgApproveActionResponse) Marshal

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

func (*MsgApproveActionResponse) MarshalTo

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

func (*MsgApproveActionResponse) MarshalToSizedBuffer

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

func (*MsgApproveActionResponse) ProtoMessage

func (*MsgApproveActionResponse) ProtoMessage()

func (*MsgApproveActionResponse) Reset

func (m *MsgApproveActionResponse) Reset()

func (*MsgApproveActionResponse) Size

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

func (*MsgApproveActionResponse) String

func (m *MsgApproveActionResponse) String() string

func (*MsgApproveActionResponse) Unmarshal

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

func (*MsgApproveActionResponse) XXX_DiscardUnknown

func (m *MsgApproveActionResponse) XXX_DiscardUnknown()

func (*MsgApproveActionResponse) XXX_Marshal

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

func (*MsgApproveActionResponse) XXX_Merge

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

func (*MsgApproveActionResponse) XXX_Size

func (m *MsgApproveActionResponse) XXX_Size() int

func (*MsgApproveActionResponse) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	// UpdateParams defines a (governance) operation for updating the module
	// parameters. The authority defaults to the x/gov module account.
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
	// Add an approval to an existing Action.
	ApproveAction(ctx context.Context, in *MsgApproveAction, opts ...grpc.CallOption) (*MsgApproveActionResponse, error)
	// Create a new intent.
	NewIntent(ctx context.Context, in *MsgNewIntent, opts ...grpc.CallOption) (*MsgNewIntentResponse, error)
	// Update an existing intent name and definition.
	UpdateIntent(ctx context.Context, in *MsgUpdateIntent, opts ...grpc.CallOption) (*MsgUpdateIntentResponse, error)
	// Revoke an existing Action while in pending state.
	RevokeAction(ctx context.Context, in *MsgRevokeAction, opts ...grpc.CallOption) (*MsgRevokeActionResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgNewIntent

type MsgNewIntent struct {
	Creator    string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Name       string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Definition string `protobuf:"bytes,3,opt,name=definition,proto3" json:"definition,omitempty"`
}

func (*MsgNewIntent) Descriptor

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

func (*MsgNewIntent) GetCreator

func (m *MsgNewIntent) GetCreator() string

func (*MsgNewIntent) GetDefinition added in v0.1.1

func (m *MsgNewIntent) GetDefinition() string

func (*MsgNewIntent) GetName

func (m *MsgNewIntent) GetName() string

func (*MsgNewIntent) Marshal

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

func (*MsgNewIntent) MarshalTo

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

func (*MsgNewIntent) MarshalToSizedBuffer

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

func (*MsgNewIntent) ProtoMessage

func (*MsgNewIntent) ProtoMessage()

func (*MsgNewIntent) Reset

func (m *MsgNewIntent) Reset()

func (*MsgNewIntent) Size

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

func (*MsgNewIntent) String

func (m *MsgNewIntent) String() string

func (*MsgNewIntent) Unmarshal

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

func (*MsgNewIntent) XXX_DiscardUnknown

func (m *MsgNewIntent) XXX_DiscardUnknown()

func (*MsgNewIntent) XXX_Marshal

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

func (*MsgNewIntent) XXX_Merge

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

func (*MsgNewIntent) XXX_Size

func (m *MsgNewIntent) XXX_Size() int

func (*MsgNewIntent) XXX_Unmarshal

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

type MsgNewIntentResponse

type MsgNewIntentResponse struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*MsgNewIntentResponse) Descriptor

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

func (*MsgNewIntentResponse) GetId

func (m *MsgNewIntentResponse) GetId() uint64

func (*MsgNewIntentResponse) Marshal

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

func (*MsgNewIntentResponse) MarshalTo

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

func (*MsgNewIntentResponse) MarshalToSizedBuffer

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

func (*MsgNewIntentResponse) ProtoMessage

func (*MsgNewIntentResponse) ProtoMessage()

func (*MsgNewIntentResponse) Reset

func (m *MsgNewIntentResponse) Reset()

func (*MsgNewIntentResponse) Size

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

func (*MsgNewIntentResponse) String

func (m *MsgNewIntentResponse) String() string

func (*MsgNewIntentResponse) Unmarshal

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

func (*MsgNewIntentResponse) XXX_DiscardUnknown

func (m *MsgNewIntentResponse) XXX_DiscardUnknown()

func (*MsgNewIntentResponse) XXX_Marshal

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

func (*MsgNewIntentResponse) XXX_Merge

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

func (*MsgNewIntentResponse) XXX_Size

func (m *MsgNewIntentResponse) XXX_Size() int

func (*MsgNewIntentResponse) XXX_Unmarshal

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

type MsgRevokeAction

type MsgRevokeAction struct {
	Creator    string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ActionType string `protobuf:"bytes,2,opt,name=action_type,json=actionType,proto3" json:"action_type,omitempty"`
	ActionId   uint64 `protobuf:"varint,3,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"`
}

func (*MsgRevokeAction) Descriptor

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

func (*MsgRevokeAction) GetActionId

func (m *MsgRevokeAction) GetActionId() uint64

func (*MsgRevokeAction) GetActionType

func (m *MsgRevokeAction) GetActionType() string

func (*MsgRevokeAction) GetCreator

func (m *MsgRevokeAction) GetCreator() string

func (*MsgRevokeAction) Marshal

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

func (*MsgRevokeAction) MarshalTo

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

func (*MsgRevokeAction) MarshalToSizedBuffer

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

func (*MsgRevokeAction) ProtoMessage

func (*MsgRevokeAction) ProtoMessage()

func (*MsgRevokeAction) Reset

func (m *MsgRevokeAction) Reset()

func (*MsgRevokeAction) Size

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

func (*MsgRevokeAction) String

func (m *MsgRevokeAction) String() string

func (*MsgRevokeAction) Unmarshal

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

func (*MsgRevokeAction) XXX_DiscardUnknown

func (m *MsgRevokeAction) XXX_DiscardUnknown()

func (*MsgRevokeAction) XXX_Marshal

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

func (*MsgRevokeAction) XXX_Merge

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

func (*MsgRevokeAction) XXX_Size

func (m *MsgRevokeAction) XXX_Size() int

func (*MsgRevokeAction) XXX_Unmarshal

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

type MsgRevokeActionResponse

type MsgRevokeActionResponse struct {
}

func (*MsgRevokeActionResponse) Descriptor

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

func (*MsgRevokeActionResponse) Marshal

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

func (*MsgRevokeActionResponse) MarshalTo

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

func (*MsgRevokeActionResponse) MarshalToSizedBuffer

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

func (*MsgRevokeActionResponse) ProtoMessage

func (*MsgRevokeActionResponse) ProtoMessage()

func (*MsgRevokeActionResponse) Reset

func (m *MsgRevokeActionResponse) Reset()

func (*MsgRevokeActionResponse) Size

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

func (*MsgRevokeActionResponse) String

func (m *MsgRevokeActionResponse) String() string

func (*MsgRevokeActionResponse) Unmarshal

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

func (*MsgRevokeActionResponse) XXX_DiscardUnknown

func (m *MsgRevokeActionResponse) XXX_DiscardUnknown()

func (*MsgRevokeActionResponse) XXX_Marshal

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

func (*MsgRevokeActionResponse) XXX_Merge

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

func (*MsgRevokeActionResponse) XXX_Size

func (m *MsgRevokeActionResponse) XXX_Size() int

func (*MsgRevokeActionResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	// UpdateParams defines a (governance) operation for updating the module
	// parameters. The authority defaults to the x/gov module account.
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	// Add an approval to an existing Action.
	ApproveAction(context.Context, *MsgApproveAction) (*MsgApproveActionResponse, error)
	// Create a new intent.
	NewIntent(context.Context, *MsgNewIntent) (*MsgNewIntentResponse, error)
	// Update an existing intent name and definition.
	UpdateIntent(context.Context, *MsgUpdateIntent) (*MsgUpdateIntentResponse, error)
	// Revoke an existing Action while in pending state.
	RevokeAction(context.Context, *MsgRevokeAction) (*MsgRevokeActionResponse, error)
}

MsgServer is the server API for Msg service.

type MsgUpdateIntent added in v0.3.0

type MsgUpdateIntent struct {
	Creator    string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Id         uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	Name       string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Definition string `protobuf:"bytes,4,opt,name=definition,proto3" json:"definition,omitempty"`
}

func (*MsgUpdateIntent) Descriptor added in v0.3.0

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

func (*MsgUpdateIntent) GetCreator added in v0.3.0

func (m *MsgUpdateIntent) GetCreator() string

func (*MsgUpdateIntent) GetDefinition added in v0.3.0

func (m *MsgUpdateIntent) GetDefinition() string

func (*MsgUpdateIntent) GetId added in v0.3.0

func (m *MsgUpdateIntent) GetId() uint64

func (*MsgUpdateIntent) GetName added in v0.3.0

func (m *MsgUpdateIntent) GetName() string

func (*MsgUpdateIntent) Marshal added in v0.3.0

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

func (*MsgUpdateIntent) MarshalTo added in v0.3.0

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

func (*MsgUpdateIntent) MarshalToSizedBuffer added in v0.3.0

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

func (*MsgUpdateIntent) ProtoMessage added in v0.3.0

func (*MsgUpdateIntent) ProtoMessage()

func (*MsgUpdateIntent) Reset added in v0.3.0

func (m *MsgUpdateIntent) Reset()

func (*MsgUpdateIntent) Size added in v0.3.0

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

func (*MsgUpdateIntent) String added in v0.3.0

func (m *MsgUpdateIntent) String() string

func (*MsgUpdateIntent) Unmarshal added in v0.3.0

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

func (*MsgUpdateIntent) XXX_DiscardUnknown added in v0.3.0

func (m *MsgUpdateIntent) XXX_DiscardUnknown()

func (*MsgUpdateIntent) XXX_Marshal added in v0.3.0

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

func (*MsgUpdateIntent) XXX_Merge added in v0.3.0

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

func (*MsgUpdateIntent) XXX_Size added in v0.3.0

func (m *MsgUpdateIntent) XXX_Size() int

func (*MsgUpdateIntent) XXX_Unmarshal added in v0.3.0

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

type MsgUpdateIntentResponse added in v0.3.0

type MsgUpdateIntentResponse struct {
}

func (*MsgUpdateIntentResponse) Descriptor added in v0.3.0

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

func (*MsgUpdateIntentResponse) Marshal added in v0.3.0

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

func (*MsgUpdateIntentResponse) MarshalTo added in v0.3.0

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

func (*MsgUpdateIntentResponse) MarshalToSizedBuffer added in v0.3.0

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

func (*MsgUpdateIntentResponse) ProtoMessage added in v0.3.0

func (*MsgUpdateIntentResponse) ProtoMessage()

func (*MsgUpdateIntentResponse) Reset added in v0.3.0

func (m *MsgUpdateIntentResponse) Reset()

func (*MsgUpdateIntentResponse) Size added in v0.3.0

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

func (*MsgUpdateIntentResponse) String added in v0.3.0

func (m *MsgUpdateIntentResponse) String() string

func (*MsgUpdateIntentResponse) Unmarshal added in v0.3.0

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

func (*MsgUpdateIntentResponse) XXX_DiscardUnknown added in v0.3.0

func (m *MsgUpdateIntentResponse) XXX_DiscardUnknown()

func (*MsgUpdateIntentResponse) XXX_Marshal added in v0.3.0

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

func (*MsgUpdateIntentResponse) XXX_Merge added in v0.3.0

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

func (*MsgUpdateIntentResponse) XXX_Size added in v0.3.0

func (m *MsgUpdateIntentResponse) XXX_Size() int

func (*MsgUpdateIntentResponse) XXX_Unmarshal added in v0.3.0

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

type MsgUpdateParams

type MsgUpdateParams struct {
	// authority is the address that controls the module (defaults to x/gov unless overwritten).
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// NOTE: All parameters must be supplied.
	Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

MsgUpdateParams is the Msg/UpdateParams request type.

func (*MsgUpdateParams) Descriptor

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

func (*MsgUpdateParams) GetAuthority

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (m *MsgUpdateParams) GetParams() Params

func (*MsgUpdateParams) Marshal

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

func (*MsgUpdateParams) MarshalTo

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

func (*MsgUpdateParams) MarshalToSizedBuffer

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

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset

func (m *MsgUpdateParams) Reset()

func (*MsgUpdateParams) Size

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

func (*MsgUpdateParams) String

func (m *MsgUpdateParams) String() string

func (*MsgUpdateParams) Unmarshal

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

func (*MsgUpdateParams) ValidateBasic

func (m *MsgUpdateParams) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgUpdateParams) XXX_DiscardUnknown

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal

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

func (*MsgUpdateParams) XXX_Merge

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

func (*MsgUpdateParams) XXX_Size

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal

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

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
}

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

func (*MsgUpdateParamsResponse) Descriptor

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

func (*MsgUpdateParamsResponse) Marshal

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

func (*MsgUpdateParamsResponse) MarshalTo

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

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer

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

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size

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

func (*MsgUpdateParamsResponse) String

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal

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

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal

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

func (*MsgUpdateParamsResponse) XXX_Merge

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

func (*MsgUpdateParamsResponse) XXX_Size

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal

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

type ParamSubspace

type ParamSubspace interface {
	Get(context.Context, []byte, interface{})
	Set(context.Context, []byte, interface{})
}

ParamSubspace defines the expected Subspace interface for parameters.

type Params

type Params struct {
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams() Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) Equal

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

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 QueryActionByIdRequest

type QueryActionByIdRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*QueryActionByIdRequest) Descriptor

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

func (*QueryActionByIdRequest) GetId

func (m *QueryActionByIdRequest) GetId() uint64

func (*QueryActionByIdRequest) Marshal

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

func (*QueryActionByIdRequest) MarshalTo

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

func (*QueryActionByIdRequest) MarshalToSizedBuffer

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

func (*QueryActionByIdRequest) ProtoMessage

func (*QueryActionByIdRequest) ProtoMessage()

func (*QueryActionByIdRequest) Reset

func (m *QueryActionByIdRequest) Reset()

func (*QueryActionByIdRequest) Size

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

func (*QueryActionByIdRequest) String

func (m *QueryActionByIdRequest) String() string

func (*QueryActionByIdRequest) Unmarshal

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

func (*QueryActionByIdRequest) XXX_DiscardUnknown

func (m *QueryActionByIdRequest) XXX_DiscardUnknown()

func (*QueryActionByIdRequest) XXX_Marshal

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

func (*QueryActionByIdRequest) XXX_Merge

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

func (*QueryActionByIdRequest) XXX_Size

func (m *QueryActionByIdRequest) XXX_Size() int

func (*QueryActionByIdRequest) XXX_Unmarshal

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

type QueryActionByIdResponse

type QueryActionByIdResponse struct {
	Action *Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
}

func (*QueryActionByIdResponse) Descriptor

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

func (*QueryActionByIdResponse) GetAction

func (m *QueryActionByIdResponse) GetAction() *Action

func (*QueryActionByIdResponse) Marshal

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

func (*QueryActionByIdResponse) MarshalTo

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

func (*QueryActionByIdResponse) MarshalToSizedBuffer

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

func (*QueryActionByIdResponse) ProtoMessage

func (*QueryActionByIdResponse) ProtoMessage()

func (*QueryActionByIdResponse) Reset

func (m *QueryActionByIdResponse) Reset()

func (*QueryActionByIdResponse) Size

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

func (*QueryActionByIdResponse) String

func (m *QueryActionByIdResponse) String() string

func (*QueryActionByIdResponse) Unmarshal

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

func (*QueryActionByIdResponse) XXX_DiscardUnknown

func (m *QueryActionByIdResponse) XXX_DiscardUnknown()

func (*QueryActionByIdResponse) XXX_Marshal

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

func (*QueryActionByIdResponse) XXX_Merge

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

func (*QueryActionByIdResponse) XXX_Size

func (m *QueryActionByIdResponse) XXX_Size() int

func (*QueryActionByIdResponse) XXX_Unmarshal

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

type QueryActionsByAddressRequest

type QueryActionsByAddressRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Address    string             `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Status     ActionStatus       `protobuf:"varint,3,opt,name=status,proto3,enum=warden.intent.ActionStatus" json:"status,omitempty"`
}

func (*QueryActionsByAddressRequest) Descriptor

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

func (*QueryActionsByAddressRequest) GetAddress

func (m *QueryActionsByAddressRequest) GetAddress() string

func (*QueryActionsByAddressRequest) GetPagination

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

func (*QueryActionsByAddressRequest) GetStatus

func (*QueryActionsByAddressRequest) Marshal

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

func (*QueryActionsByAddressRequest) MarshalTo

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

func (*QueryActionsByAddressRequest) MarshalToSizedBuffer

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

func (*QueryActionsByAddressRequest) ProtoMessage

func (*QueryActionsByAddressRequest) ProtoMessage()

func (*QueryActionsByAddressRequest) Reset

func (m *QueryActionsByAddressRequest) Reset()

func (*QueryActionsByAddressRequest) Size

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

func (*QueryActionsByAddressRequest) String

func (*QueryActionsByAddressRequest) Unmarshal

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

func (*QueryActionsByAddressRequest) XXX_DiscardUnknown

func (m *QueryActionsByAddressRequest) XXX_DiscardUnknown()

func (*QueryActionsByAddressRequest) XXX_Marshal

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

func (*QueryActionsByAddressRequest) XXX_Merge

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

func (*QueryActionsByAddressRequest) XXX_Size

func (m *QueryActionsByAddressRequest) XXX_Size() int

func (*QueryActionsByAddressRequest) XXX_Unmarshal

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

type QueryActionsByAddressResponse

type QueryActionsByAddressResponse struct {
	Pagination *query.PageResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Actions    []Action            `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions"`
}

func (*QueryActionsByAddressResponse) Descriptor

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

func (*QueryActionsByAddressResponse) GetActions

func (m *QueryActionsByAddressResponse) GetActions() []Action

func (*QueryActionsByAddressResponse) GetPagination

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

func (*QueryActionsByAddressResponse) Marshal

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

func (*QueryActionsByAddressResponse) MarshalTo

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

func (*QueryActionsByAddressResponse) MarshalToSizedBuffer

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

func (*QueryActionsByAddressResponse) ProtoMessage

func (*QueryActionsByAddressResponse) ProtoMessage()

func (*QueryActionsByAddressResponse) Reset

func (m *QueryActionsByAddressResponse) Reset()

func (*QueryActionsByAddressResponse) Size

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

func (*QueryActionsByAddressResponse) String

func (*QueryActionsByAddressResponse) Unmarshal

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

func (*QueryActionsByAddressResponse) XXX_DiscardUnknown

func (m *QueryActionsByAddressResponse) XXX_DiscardUnknown()

func (*QueryActionsByAddressResponse) XXX_Marshal

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

func (*QueryActionsByAddressResponse) XXX_Merge

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

func (*QueryActionsByAddressResponse) XXX_Size

func (m *QueryActionsByAddressResponse) XXX_Size() int

func (*QueryActionsByAddressResponse) XXX_Unmarshal

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

type QueryActionsRequest

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

func (*QueryActionsRequest) Descriptor

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

func (*QueryActionsRequest) GetPagination

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

func (*QueryActionsRequest) Marshal

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

func (*QueryActionsRequest) MarshalTo

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

func (*QueryActionsRequest) MarshalToSizedBuffer

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

func (*QueryActionsRequest) ProtoMessage

func (*QueryActionsRequest) ProtoMessage()

func (*QueryActionsRequest) Reset

func (m *QueryActionsRequest) Reset()

func (*QueryActionsRequest) Size

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

func (*QueryActionsRequest) String

func (m *QueryActionsRequest) String() string

func (*QueryActionsRequest) Unmarshal

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

func (*QueryActionsRequest) XXX_DiscardUnknown

func (m *QueryActionsRequest) XXX_DiscardUnknown()

func (*QueryActionsRequest) XXX_Marshal

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

func (*QueryActionsRequest) XXX_Merge

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

func (*QueryActionsRequest) XXX_Size

func (m *QueryActionsRequest) XXX_Size() int

func (*QueryActionsRequest) XXX_Unmarshal

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

type QueryActionsResponse

type QueryActionsResponse struct {
	Pagination *query.PageResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Actions    []Action            `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions"`
}

func (*QueryActionsResponse) Descriptor

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

func (*QueryActionsResponse) GetActions

func (m *QueryActionsResponse) GetActions() []Action

func (*QueryActionsResponse) GetPagination

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

func (*QueryActionsResponse) Marshal

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

func (*QueryActionsResponse) MarshalTo

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

func (*QueryActionsResponse) MarshalToSizedBuffer

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

func (*QueryActionsResponse) ProtoMessage

func (*QueryActionsResponse) ProtoMessage()

func (*QueryActionsResponse) Reset

func (m *QueryActionsResponse) Reset()

func (*QueryActionsResponse) Size

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

func (*QueryActionsResponse) String

func (m *QueryActionsResponse) String() string

func (*QueryActionsResponse) Unmarshal

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

func (*QueryActionsResponse) XXX_DiscardUnknown

func (m *QueryActionsResponse) XXX_DiscardUnknown()

func (*QueryActionsResponse) XXX_Marshal

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

func (*QueryActionsResponse) XXX_Merge

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

func (*QueryActionsResponse) XXX_Size

func (m *QueryActionsResponse) XXX_Size() int

func (*QueryActionsResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a list of Actions items.
	Actions(ctx context.Context, in *QueryActionsRequest, opts ...grpc.CallOption) (*QueryActionsResponse, error)
	// Queries a list of Intents items.
	Intents(ctx context.Context, in *QueryIntentsRequest, opts ...grpc.CallOption) (*QueryIntentsResponse, error)
	// Queries a list of IntentById items.
	IntentById(ctx context.Context, in *QueryIntentByIdRequest, opts ...grpc.CallOption) (*QueryIntentByIdResponse, error)
	// Queries a list of Actions items by one participant address.
	ActionsByAddress(ctx context.Context, in *QueryActionsByAddressRequest, opts ...grpc.CallOption) (*QueryActionsByAddressResponse, error)
	ActionById(ctx context.Context, in *QueryActionByIdRequest, opts ...grpc.CallOption) (*QueryActionByIdResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryIntentByIdRequest

type QueryIntentByIdRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*QueryIntentByIdRequest) Descriptor

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

func (*QueryIntentByIdRequest) GetId

func (m *QueryIntentByIdRequest) GetId() uint64

func (*QueryIntentByIdRequest) Marshal

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

func (*QueryIntentByIdRequest) MarshalTo

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

func (*QueryIntentByIdRequest) MarshalToSizedBuffer

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

func (*QueryIntentByIdRequest) ProtoMessage

func (*QueryIntentByIdRequest) ProtoMessage()

func (*QueryIntentByIdRequest) Reset

func (m *QueryIntentByIdRequest) Reset()

func (*QueryIntentByIdRequest) Size

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

func (*QueryIntentByIdRequest) String

func (m *QueryIntentByIdRequest) String() string

func (*QueryIntentByIdRequest) Unmarshal

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

func (*QueryIntentByIdRequest) XXX_DiscardUnknown

func (m *QueryIntentByIdRequest) XXX_DiscardUnknown()

func (*QueryIntentByIdRequest) XXX_Marshal

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

func (*QueryIntentByIdRequest) XXX_Merge

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

func (*QueryIntentByIdRequest) XXX_Size

func (m *QueryIntentByIdRequest) XXX_Size() int

func (*QueryIntentByIdRequest) XXX_Unmarshal

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

type QueryIntentByIdResponse

type QueryIntentByIdResponse struct {
	Intent *Intent `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"`
}

func (*QueryIntentByIdResponse) Descriptor

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

func (*QueryIntentByIdResponse) GetIntent

func (m *QueryIntentByIdResponse) GetIntent() *Intent

func (*QueryIntentByIdResponse) Marshal

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

func (*QueryIntentByIdResponse) MarshalTo

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

func (*QueryIntentByIdResponse) MarshalToSizedBuffer

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

func (*QueryIntentByIdResponse) ProtoMessage

func (*QueryIntentByIdResponse) ProtoMessage()

func (*QueryIntentByIdResponse) Reset

func (m *QueryIntentByIdResponse) Reset()

func (*QueryIntentByIdResponse) Size

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

func (*QueryIntentByIdResponse) String

func (m *QueryIntentByIdResponse) String() string

func (*QueryIntentByIdResponse) Unmarshal

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

func (*QueryIntentByIdResponse) XXX_DiscardUnknown

func (m *QueryIntentByIdResponse) XXX_DiscardUnknown()

func (*QueryIntentByIdResponse) XXX_Marshal

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

func (*QueryIntentByIdResponse) XXX_Merge

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

func (*QueryIntentByIdResponse) XXX_Size

func (m *QueryIntentByIdResponse) XXX_Size() int

func (*QueryIntentByIdResponse) XXX_Unmarshal

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

type QueryIntentsRequest

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

func (*QueryIntentsRequest) Descriptor

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

func (*QueryIntentsRequest) GetPagination

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

func (*QueryIntentsRequest) Marshal

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

func (*QueryIntentsRequest) MarshalTo

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

func (*QueryIntentsRequest) MarshalToSizedBuffer

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

func (*QueryIntentsRequest) ProtoMessage

func (*QueryIntentsRequest) ProtoMessage()

func (*QueryIntentsRequest) Reset

func (m *QueryIntentsRequest) Reset()

func (*QueryIntentsRequest) Size

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

func (*QueryIntentsRequest) String

func (m *QueryIntentsRequest) String() string

func (*QueryIntentsRequest) Unmarshal

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

func (*QueryIntentsRequest) XXX_DiscardUnknown

func (m *QueryIntentsRequest) XXX_DiscardUnknown()

func (*QueryIntentsRequest) XXX_Marshal

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

func (*QueryIntentsRequest) XXX_Merge

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

func (*QueryIntentsRequest) XXX_Size

func (m *QueryIntentsRequest) XXX_Size() int

func (*QueryIntentsRequest) XXX_Unmarshal

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

type QueryIntentsResponse

type QueryIntentsResponse struct {
	Pagination *query.PageResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Intents    []Intent            `protobuf:"bytes,2,rep,name=intents,proto3" json:"intents"`
}

func (*QueryIntentsResponse) Descriptor

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

func (*QueryIntentsResponse) GetIntents

func (m *QueryIntentsResponse) GetIntents() []Intent

func (*QueryIntentsResponse) GetPagination

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

func (*QueryIntentsResponse) Marshal

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

func (*QueryIntentsResponse) MarshalTo

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

func (*QueryIntentsResponse) MarshalToSizedBuffer

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

func (*QueryIntentsResponse) ProtoMessage

func (*QueryIntentsResponse) ProtoMessage()

func (*QueryIntentsResponse) Reset

func (m *QueryIntentsResponse) Reset()

func (*QueryIntentsResponse) Size

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

func (*QueryIntentsResponse) String

func (m *QueryIntentsResponse) String() string

func (*QueryIntentsResponse) Unmarshal

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

func (*QueryIntentsResponse) XXX_DiscardUnknown

func (m *QueryIntentsResponse) XXX_DiscardUnknown()

func (*QueryIntentsResponse) XXX_Marshal

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

func (*QueryIntentsResponse) XXX_Merge

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

func (*QueryIntentsResponse) XXX_Size

func (m *QueryIntentsResponse) XXX_Size() int

func (*QueryIntentsResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

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

func (*QueryParamsRequest) MarshalTo

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

func (*QueryParamsRequest) MarshalToSizedBuffer

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

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

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

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

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

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

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

func (*QueryParamsRequest) XXX_Merge

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

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

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

type QueryParamsResponse

type QueryParamsResponse struct {
	// params holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryParamsResponse is response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

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

func (*QueryParamsResponse) MarshalTo

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

func (*QueryParamsResponse) MarshalToSizedBuffer

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

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

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

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

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

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

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

func (*QueryParamsResponse) XXX_Merge

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

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a list of Actions items.
	Actions(context.Context, *QueryActionsRequest) (*QueryActionsResponse, error)
	// Queries a list of Intents items.
	Intents(context.Context, *QueryIntentsRequest) (*QueryIntentsResponse, error)
	// Queries a list of IntentById items.
	IntentById(context.Context, *QueryIntentByIdRequest) (*QueryIntentByIdResponse, error)
	// Queries a list of Actions items by one participant address.
	ActionsByAddress(context.Context, *QueryActionsByAddressRequest) (*QueryActionsByAddressResponse, error)
	ActionById(context.Context, *QueryActionByIdRequest) (*QueryActionByIdResponse, error)
}

QueryServer is the server API for Query service.

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) ApproveAction

func (*UnimplementedMsgServer) NewIntent

func (*UnimplementedMsgServer) RevokeAction

func (*UnimplementedMsgServer) UpdateIntent added in v0.3.0

func (*UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) ActionById

func (*UnimplementedQueryServer) Actions

func (*UnimplementedQueryServer) ActionsByAddress

func (*UnimplementedQueryServer) IntentById

func (*UnimplementedQueryServer) Intents

func (*UnimplementedQueryServer) Params

Jump to

Keyboard shortcuts

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