Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func AcceptedQueueStoreKey(purchaseOrderID uint64) []byte
- func GetPurchaseOrderIDBytes(purchaseOrderID uint64) (purchaseOrderIDBz []byte)
- func GetPurchaseOrderIDFromBytes(bz []byte) (purchaseOrderID uint64)
- func LockedUndAddressStoreKey(acc sdk.AccAddress) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func PurchaseOrderKey(purchaseOrderID uint64) []byte
- func RaisedQueueStoreKey(purchaseOrderID uint64) []byte
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func SpentEFUNDAddressStoreKey(acc sdk.AccAddress) []byte
- func SplitAcceptedQueueKey(key []byte) (purchaseOrderId uint64)
- func SplitRaisedQueueKey(key []byte) (purchaseOrderId uint64)
- func ValidPurchaseOrderAcceptRejectStatus(status PurchaseOrderStatus) bool
- func ValidPurchaseOrderStatus(status PurchaseOrderStatus) bool
- func ValidWhitelistAction(action WhitelistAction) bool
- func ValidateGenesis(data GenesisState) error
- func WhitelistAddressStoreKey(acc sdk.AccAddress) []byte
- type AccountKeeper
- type BankKeeper
- type EnterpriseUndPurchaseOrder
- func (*EnterpriseUndPurchaseOrder) Descriptor() ([]byte, []int)
- func (m *EnterpriseUndPurchaseOrder) GetAmount() types.Coin
- func (m *EnterpriseUndPurchaseOrder) GetCompletionTime() uint64
- func (m *EnterpriseUndPurchaseOrder) GetDecisions() PurchaseOrderDecisions
- func (m *EnterpriseUndPurchaseOrder) GetId() uint64
- func (m *EnterpriseUndPurchaseOrder) GetPurchaser() string
- func (m *EnterpriseUndPurchaseOrder) GetRaiseTime() uint64
- func (m *EnterpriseUndPurchaseOrder) GetStatus() PurchaseOrderStatus
- func (m *EnterpriseUndPurchaseOrder) Marshal() (dAtA []byte, err error)
- func (m *EnterpriseUndPurchaseOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *EnterpriseUndPurchaseOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EnterpriseUndPurchaseOrder) ProtoMessage()
- func (m *EnterpriseUndPurchaseOrder) Reset()
- func (m *EnterpriseUndPurchaseOrder) Size() (n int)
- func (m *EnterpriseUndPurchaseOrder) String() string
- func (m *EnterpriseUndPurchaseOrder) Unmarshal(dAtA []byte) error
- func (m *EnterpriseUndPurchaseOrder) XXX_DiscardUnknown()
- func (m *EnterpriseUndPurchaseOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EnterpriseUndPurchaseOrder) XXX_Merge(src proto.Message)
- func (m *EnterpriseUndPurchaseOrder) XXX_Size() int
- func (m *EnterpriseUndPurchaseOrder) XXX_Unmarshal(b []byte) error
- type EnterpriseUndPurchaseOrders
- type EnterpriseUserAccount
- func (*EnterpriseUserAccount) Descriptor() ([]byte, []int)
- func (m *EnterpriseUserAccount) GetGeneralSupply() types.Coin
- func (m *EnterpriseUserAccount) GetLockedEfund() types.Coin
- func (m *EnterpriseUserAccount) GetOwner() string
- func (m *EnterpriseUserAccount) GetSpendable() types.Coin
- func (m *EnterpriseUserAccount) GetSpentEfund() types.Coin
- func (m *EnterpriseUserAccount) Marshal() (dAtA []byte, err error)
- func (m *EnterpriseUserAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *EnterpriseUserAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EnterpriseUserAccount) ProtoMessage()
- func (m *EnterpriseUserAccount) Reset()
- func (m *EnterpriseUserAccount) Size() (n int)
- func (m *EnterpriseUserAccount) String() string
- func (m *EnterpriseUserAccount) Unmarshal(dAtA []byte) error
- func (m *EnterpriseUserAccount) XXX_DiscardUnknown()
- func (m *EnterpriseUserAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EnterpriseUserAccount) XXX_Merge(src proto.Message)
- func (m *EnterpriseUserAccount) XXX_Size() int
- func (m *EnterpriseUserAccount) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetLockedUnd() LockedUnds
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetPurchaseOrders() EnterpriseUndPurchaseOrders
- func (m *GenesisState) GetSpentEfund() SpentEFUNDs
- func (m *GenesisState) GetStartingPurchaseOrderId() uint64
- func (m *GenesisState) GetTotalLocked() types.Coin
- func (m *GenesisState) GetTotalSpent() types.Coin
- func (m *GenesisState) GetWhitelist() Whitelists
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type LockedUnd
- func (*LockedUnd) Descriptor() ([]byte, []int)
- func (m *LockedUnd) GetAmount() types.Coin
- func (m *LockedUnd) GetOwner() string
- func (m *LockedUnd) Marshal() (dAtA []byte, err error)
- func (m *LockedUnd) MarshalTo(dAtA []byte) (int, error)
- func (m *LockedUnd) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LockedUnd) ProtoMessage()
- func (m *LockedUnd) Reset()
- func (m *LockedUnd) Size() (n int)
- func (m *LockedUnd) String() string
- func (m *LockedUnd) Unmarshal(dAtA []byte) error
- func (m *LockedUnd) XXX_DiscardUnknown()
- func (m *LockedUnd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LockedUnd) XXX_Merge(src proto.Message)
- func (m *LockedUnd) XXX_Size() int
- func (m *LockedUnd) XXX_Unmarshal(b []byte) error
- type LockedUnds
- type MsgClient
- type MsgProcessUndPurchaseOrder
- func (*MsgProcessUndPurchaseOrder) Descriptor() ([]byte, []int)
- func (msg MsgProcessUndPurchaseOrder) GetSignBytes() []byte
- func (msg MsgProcessUndPurchaseOrder) GetSigners() []sdk.AccAddress
- func (m *MsgProcessUndPurchaseOrder) Marshal() (dAtA []byte, err error)
- func (m *MsgProcessUndPurchaseOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgProcessUndPurchaseOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgProcessUndPurchaseOrder) ProtoMessage()
- func (m *MsgProcessUndPurchaseOrder) Reset()
- func (msg MsgProcessUndPurchaseOrder) Route() string
- func (m *MsgProcessUndPurchaseOrder) Size() (n int)
- func (m *MsgProcessUndPurchaseOrder) String() string
- func (msg MsgProcessUndPurchaseOrder) Type() string
- func (m *MsgProcessUndPurchaseOrder) Unmarshal(dAtA []byte) error
- func (msg MsgProcessUndPurchaseOrder) ValidateBasic() error
- func (m *MsgProcessUndPurchaseOrder) XXX_DiscardUnknown()
- func (m *MsgProcessUndPurchaseOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgProcessUndPurchaseOrder) XXX_Merge(src proto.Message)
- func (m *MsgProcessUndPurchaseOrder) XXX_Size() int
- func (m *MsgProcessUndPurchaseOrder) XXX_Unmarshal(b []byte) error
- type MsgProcessUndPurchaseOrderResponse
- func (*MsgProcessUndPurchaseOrderResponse) Descriptor() ([]byte, []int)
- func (m *MsgProcessUndPurchaseOrderResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgProcessUndPurchaseOrderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgProcessUndPurchaseOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgProcessUndPurchaseOrderResponse) ProtoMessage()
- func (m *MsgProcessUndPurchaseOrderResponse) Reset()
- func (m *MsgProcessUndPurchaseOrderResponse) Size() (n int)
- func (m *MsgProcessUndPurchaseOrderResponse) String() string
- func (m *MsgProcessUndPurchaseOrderResponse) Unmarshal(dAtA []byte) error
- func (m *MsgProcessUndPurchaseOrderResponse) XXX_DiscardUnknown()
- func (m *MsgProcessUndPurchaseOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgProcessUndPurchaseOrderResponse) XXX_Merge(src proto.Message)
- func (m *MsgProcessUndPurchaseOrderResponse) XXX_Size() int
- func (m *MsgProcessUndPurchaseOrderResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUndPurchaseOrder
- func (*MsgUndPurchaseOrder) Descriptor() ([]byte, []int)
- func (msg MsgUndPurchaseOrder) GetSignBytes() []byte
- func (msg MsgUndPurchaseOrder) GetSigners() []sdk.AccAddress
- func (m *MsgUndPurchaseOrder) Marshal() (dAtA []byte, err error)
- func (m *MsgUndPurchaseOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUndPurchaseOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUndPurchaseOrder) ProtoMessage()
- func (m *MsgUndPurchaseOrder) Reset()
- func (msg MsgUndPurchaseOrder) Route() string
- func (m *MsgUndPurchaseOrder) Size() (n int)
- func (m *MsgUndPurchaseOrder) String() string
- func (msg MsgUndPurchaseOrder) Type() string
- func (m *MsgUndPurchaseOrder) Unmarshal(dAtA []byte) error
- func (msg MsgUndPurchaseOrder) ValidateBasic() error
- func (m *MsgUndPurchaseOrder) XXX_DiscardUnknown()
- func (m *MsgUndPurchaseOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUndPurchaseOrder) XXX_Merge(src proto.Message)
- func (m *MsgUndPurchaseOrder) XXX_Size() int
- func (m *MsgUndPurchaseOrder) XXX_Unmarshal(b []byte) error
- type MsgUndPurchaseOrderResponse
- func (*MsgUndPurchaseOrderResponse) Descriptor() ([]byte, []int)
- func (m *MsgUndPurchaseOrderResponse) GetPurchaseOrderId() uint64
- func (m *MsgUndPurchaseOrderResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUndPurchaseOrderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUndPurchaseOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUndPurchaseOrderResponse) ProtoMessage()
- func (m *MsgUndPurchaseOrderResponse) Reset()
- func (m *MsgUndPurchaseOrderResponse) Size() (n int)
- func (m *MsgUndPurchaseOrderResponse) String() string
- func (m *MsgUndPurchaseOrderResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUndPurchaseOrderResponse) XXX_DiscardUnknown()
- func (m *MsgUndPurchaseOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUndPurchaseOrderResponse) XXX_Merge(src proto.Message)
- func (m *MsgUndPurchaseOrderResponse) XXX_Size() int
- func (m *MsgUndPurchaseOrderResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (m MsgUpdateParams) GetSignBytes() []byte
- func (m *MsgUpdateParams) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParams) ValidateBasic() error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type MsgWhitelistAddress
- func (*MsgWhitelistAddress) Descriptor() ([]byte, []int)
- func (msg MsgWhitelistAddress) GetSignBytes() []byte
- func (msg MsgWhitelistAddress) GetSigners() []sdk.AccAddress
- func (m *MsgWhitelistAddress) Marshal() (dAtA []byte, err error)
- func (m *MsgWhitelistAddress) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWhitelistAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWhitelistAddress) ProtoMessage()
- func (m *MsgWhitelistAddress) Reset()
- func (msg MsgWhitelistAddress) Route() string
- func (m *MsgWhitelistAddress) Size() (n int)
- func (m *MsgWhitelistAddress) String() string
- func (msg MsgWhitelistAddress) Type() string
- func (m *MsgWhitelistAddress) Unmarshal(dAtA []byte) error
- func (msg MsgWhitelistAddress) ValidateBasic() error
- func (m *MsgWhitelistAddress) XXX_DiscardUnknown()
- func (m *MsgWhitelistAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWhitelistAddress) XXX_Merge(src proto.Message)
- func (m *MsgWhitelistAddress) XXX_Size() int
- func (m *MsgWhitelistAddress) XXX_Unmarshal(b []byte) error
- type MsgWhitelistAddressResponse
- func (*MsgWhitelistAddressResponse) Descriptor() ([]byte, []int)
- func (m *MsgWhitelistAddressResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWhitelistAddressResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWhitelistAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWhitelistAddressResponse) ProtoMessage()
- func (m *MsgWhitelistAddressResponse) Reset()
- func (m *MsgWhitelistAddressResponse) Size() (n int)
- func (m *MsgWhitelistAddressResponse) String() string
- func (m *MsgWhitelistAddressResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWhitelistAddressResponse) XXX_DiscardUnknown()
- func (m *MsgWhitelistAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWhitelistAddressResponse) XXX_Merge(src proto.Message)
- func (m *MsgWhitelistAddressResponse) XXX_Size() int
- func (m *MsgWhitelistAddressResponse) XXX_Unmarshal(b []byte) error
- type ParamSubspace
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetDecisionTimeLimit() uint64
- func (m *Params) GetDenom() string
- func (m *Params) GetEntSigners() string
- func (m *Params) GetMinAccepts() uint64
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type PurchaseOrderDecision
- func (*PurchaseOrderDecision) Descriptor() ([]byte, []int)
- func (m *PurchaseOrderDecision) GetDecision() PurchaseOrderStatus
- func (m *PurchaseOrderDecision) GetDecisionTime() uint64
- func (m *PurchaseOrderDecision) GetSigner() string
- func (m *PurchaseOrderDecision) Marshal() (dAtA []byte, err error)
- func (m *PurchaseOrderDecision) MarshalTo(dAtA []byte) (int, error)
- func (m *PurchaseOrderDecision) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PurchaseOrderDecision) ProtoMessage()
- func (m *PurchaseOrderDecision) Reset()
- func (m *PurchaseOrderDecision) Size() (n int)
- func (m *PurchaseOrderDecision) String() string
- func (m *PurchaseOrderDecision) Unmarshal(dAtA []byte) error
- func (m *PurchaseOrderDecision) XXX_DiscardUnknown()
- func (m *PurchaseOrderDecision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PurchaseOrderDecision) XXX_Merge(src proto.Message)
- func (m *PurchaseOrderDecision) XXX_Size() int
- func (m *PurchaseOrderDecision) XXX_Unmarshal(b []byte) error
- type PurchaseOrderDecisions
- type PurchaseOrderStatus
- func (PurchaseOrderStatus) EnumDescriptor() ([]byte, []int)
- func (status PurchaseOrderStatus) Format(s fmt.State, verb rune)
- func (status PurchaseOrderStatus) Marshal() ([]byte, error)
- func (x PurchaseOrderStatus) String() string
- func (status PurchaseOrderStatus) StringNice() string
- func (status *PurchaseOrderStatus) Unmarshal(data []byte) error
- type PurchaseOrders
- func (*PurchaseOrders) Descriptor() ([]byte, []int)
- func (m *PurchaseOrders) GetPurchaseOrders() []*EnterpriseUndPurchaseOrder
- func (m *PurchaseOrders) Marshal() (dAtA []byte, err error)
- func (m *PurchaseOrders) MarshalTo(dAtA []byte) (int, error)
- func (m *PurchaseOrders) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PurchaseOrders) ProtoMessage()
- func (m *PurchaseOrders) Reset()
- func (m *PurchaseOrders) Size() (n int)
- func (m *PurchaseOrders) String() string
- func (m *PurchaseOrders) Unmarshal(dAtA []byte) error
- func (m *PurchaseOrders) XXX_DiscardUnknown()
- func (m *PurchaseOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PurchaseOrders) XXX_Merge(src proto.Message)
- func (m *PurchaseOrders) XXX_Size() int
- func (m *PurchaseOrders) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryEnterpriseAccountRequest
- func (*QueryEnterpriseAccountRequest) Descriptor() ([]byte, []int)
- func (m *QueryEnterpriseAccountRequest) GetAddress() string
- func (m *QueryEnterpriseAccountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryEnterpriseAccountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEnterpriseAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEnterpriseAccountRequest) ProtoMessage()
- func (m *QueryEnterpriseAccountRequest) Reset()
- func (m *QueryEnterpriseAccountRequest) Size() (n int)
- func (m *QueryEnterpriseAccountRequest) String() string
- func (m *QueryEnterpriseAccountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryEnterpriseAccountRequest) XXX_DiscardUnknown()
- func (m *QueryEnterpriseAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEnterpriseAccountRequest) XXX_Merge(src proto.Message)
- func (m *QueryEnterpriseAccountRequest) XXX_Size() int
- func (m *QueryEnterpriseAccountRequest) XXX_Unmarshal(b []byte) error
- type QueryEnterpriseAccountResponse
- func (*QueryEnterpriseAccountResponse) Descriptor() ([]byte, []int)
- func (m *QueryEnterpriseAccountResponse) GetAccount() EnterpriseUserAccount
- func (m *QueryEnterpriseAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryEnterpriseAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEnterpriseAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEnterpriseAccountResponse) ProtoMessage()
- func (m *QueryEnterpriseAccountResponse) Reset()
- func (m *QueryEnterpriseAccountResponse) Size() (n int)
- func (m *QueryEnterpriseAccountResponse) String() string
- func (m *QueryEnterpriseAccountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryEnterpriseAccountResponse) XXX_DiscardUnknown()
- func (m *QueryEnterpriseAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEnterpriseAccountResponse) XXX_Merge(src proto.Message)
- func (m *QueryEnterpriseAccountResponse) XXX_Size() int
- func (m *QueryEnterpriseAccountResponse) XXX_Unmarshal(b []byte) error
- type QueryEnterpriseSupplyRequest
- func (*QueryEnterpriseSupplyRequest) Descriptor() ([]byte, []int)
- func (m *QueryEnterpriseSupplyRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryEnterpriseSupplyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEnterpriseSupplyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEnterpriseSupplyRequest) ProtoMessage()
- func (m *QueryEnterpriseSupplyRequest) Reset()
- func (m *QueryEnterpriseSupplyRequest) Size() (n int)
- func (m *QueryEnterpriseSupplyRequest) String() string
- func (m *QueryEnterpriseSupplyRequest) Unmarshal(dAtA []byte) error
- func (m *QueryEnterpriseSupplyRequest) XXX_DiscardUnknown()
- func (m *QueryEnterpriseSupplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEnterpriseSupplyRequest) XXX_Merge(src proto.Message)
- func (m *QueryEnterpriseSupplyRequest) XXX_Size() int
- func (m *QueryEnterpriseSupplyRequest) XXX_Unmarshal(b []byte) error
- type QueryEnterpriseSupplyResponse
- func (*QueryEnterpriseSupplyResponse) Descriptor() ([]byte, []int)
- func (m *QueryEnterpriseSupplyResponse) GetSupply() UndSupply
- func (m *QueryEnterpriseSupplyResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryEnterpriseSupplyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEnterpriseSupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEnterpriseSupplyResponse) ProtoMessage()
- func (m *QueryEnterpriseSupplyResponse) Reset()
- func (m *QueryEnterpriseSupplyResponse) Size() (n int)
- func (m *QueryEnterpriseSupplyResponse) String() string
- func (m *QueryEnterpriseSupplyResponse) Unmarshal(dAtA []byte) error
- func (m *QueryEnterpriseSupplyResponse) XXX_DiscardUnknown()
- func (m *QueryEnterpriseSupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEnterpriseSupplyResponse) XXX_Merge(src proto.Message)
- func (m *QueryEnterpriseSupplyResponse) XXX_Size() int
- func (m *QueryEnterpriseSupplyResponse) XXX_Unmarshal(b []byte) error
- type QueryEnterpriseUndPurchaseOrderRequest
- func (*QueryEnterpriseUndPurchaseOrderRequest) Descriptor() ([]byte, []int)
- func (m *QueryEnterpriseUndPurchaseOrderRequest) GetPurchaseOrderId() uint64
- func (m *QueryEnterpriseUndPurchaseOrderRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryEnterpriseUndPurchaseOrderRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEnterpriseUndPurchaseOrderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEnterpriseUndPurchaseOrderRequest) ProtoMessage()
- func (m *QueryEnterpriseUndPurchaseOrderRequest) Reset()
- func (m *QueryEnterpriseUndPurchaseOrderRequest) Size() (n int)
- func (m *QueryEnterpriseUndPurchaseOrderRequest) String() string
- func (m *QueryEnterpriseUndPurchaseOrderRequest) Unmarshal(dAtA []byte) error
- func (m *QueryEnterpriseUndPurchaseOrderRequest) XXX_DiscardUnknown()
- func (m *QueryEnterpriseUndPurchaseOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEnterpriseUndPurchaseOrderRequest) XXX_Merge(src proto.Message)
- func (m *QueryEnterpriseUndPurchaseOrderRequest) XXX_Size() int
- func (m *QueryEnterpriseUndPurchaseOrderRequest) XXX_Unmarshal(b []byte) error
- type QueryEnterpriseUndPurchaseOrderResponse
- func (*QueryEnterpriseUndPurchaseOrderResponse) Descriptor() ([]byte, []int)
- func (m *QueryEnterpriseUndPurchaseOrderResponse) GetPurchaseOrder() EnterpriseUndPurchaseOrder
- func (m *QueryEnterpriseUndPurchaseOrderResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryEnterpriseUndPurchaseOrderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEnterpriseUndPurchaseOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEnterpriseUndPurchaseOrderResponse) ProtoMessage()
- func (m *QueryEnterpriseUndPurchaseOrderResponse) Reset()
- func (m *QueryEnterpriseUndPurchaseOrderResponse) Size() (n int)
- func (m *QueryEnterpriseUndPurchaseOrderResponse) String() string
- func (m *QueryEnterpriseUndPurchaseOrderResponse) Unmarshal(dAtA []byte) error
- func (m *QueryEnterpriseUndPurchaseOrderResponse) XXX_DiscardUnknown()
- func (m *QueryEnterpriseUndPurchaseOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEnterpriseUndPurchaseOrderResponse) XXX_Merge(src proto.Message)
- func (m *QueryEnterpriseUndPurchaseOrderResponse) XXX_Size() int
- func (m *QueryEnterpriseUndPurchaseOrderResponse) XXX_Unmarshal(b []byte) error
- type QueryEnterpriseUndPurchaseOrdersRequest
- func (*QueryEnterpriseUndPurchaseOrdersRequest) Descriptor() ([]byte, []int)
- func (m *QueryEnterpriseUndPurchaseOrdersRequest) GetPagination() *query.PageRequest
- func (m *QueryEnterpriseUndPurchaseOrdersRequest) GetPurchaser() string
- func (m *QueryEnterpriseUndPurchaseOrdersRequest) GetStatus() PurchaseOrderStatus
- func (m *QueryEnterpriseUndPurchaseOrdersRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryEnterpriseUndPurchaseOrdersRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEnterpriseUndPurchaseOrdersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEnterpriseUndPurchaseOrdersRequest) ProtoMessage()
- func (m *QueryEnterpriseUndPurchaseOrdersRequest) Reset()
- func (m *QueryEnterpriseUndPurchaseOrdersRequest) Size() (n int)
- func (m *QueryEnterpriseUndPurchaseOrdersRequest) String() string
- func (m *QueryEnterpriseUndPurchaseOrdersRequest) Unmarshal(dAtA []byte) error
- func (m *QueryEnterpriseUndPurchaseOrdersRequest) XXX_DiscardUnknown()
- func (m *QueryEnterpriseUndPurchaseOrdersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEnterpriseUndPurchaseOrdersRequest) XXX_Merge(src proto.Message)
- func (m *QueryEnterpriseUndPurchaseOrdersRequest) XXX_Size() int
- func (m *QueryEnterpriseUndPurchaseOrdersRequest) XXX_Unmarshal(b []byte) error
- type QueryEnterpriseUndPurchaseOrdersResponse
- func (*QueryEnterpriseUndPurchaseOrdersResponse) Descriptor() ([]byte, []int)
- func (m *QueryEnterpriseUndPurchaseOrdersResponse) GetPagination() *query.PageResponse
- func (m *QueryEnterpriseUndPurchaseOrdersResponse) GetPurchaseOrders() []EnterpriseUndPurchaseOrder
- func (m *QueryEnterpriseUndPurchaseOrdersResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryEnterpriseUndPurchaseOrdersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEnterpriseUndPurchaseOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEnterpriseUndPurchaseOrdersResponse) ProtoMessage()
- func (m *QueryEnterpriseUndPurchaseOrdersResponse) Reset()
- func (m *QueryEnterpriseUndPurchaseOrdersResponse) Size() (n int)
- func (m *QueryEnterpriseUndPurchaseOrdersResponse) String() string
- func (m *QueryEnterpriseUndPurchaseOrdersResponse) Unmarshal(dAtA []byte) error
- func (m *QueryEnterpriseUndPurchaseOrdersResponse) XXX_DiscardUnknown()
- func (m *QueryEnterpriseUndPurchaseOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEnterpriseUndPurchaseOrdersResponse) XXX_Merge(src proto.Message)
- func (m *QueryEnterpriseUndPurchaseOrdersResponse) XXX_Size() int
- func (m *QueryEnterpriseUndPurchaseOrdersResponse) XXX_Unmarshal(b []byte) error
- type QueryLockedUndByAddressRequest
- func (*QueryLockedUndByAddressRequest) Descriptor() ([]byte, []int)
- func (m *QueryLockedUndByAddressRequest) GetOwner() string
- func (m *QueryLockedUndByAddressRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryLockedUndByAddressRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLockedUndByAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLockedUndByAddressRequest) ProtoMessage()
- func (m *QueryLockedUndByAddressRequest) Reset()
- func (m *QueryLockedUndByAddressRequest) Size() (n int)
- func (m *QueryLockedUndByAddressRequest) String() string
- func (m *QueryLockedUndByAddressRequest) Unmarshal(dAtA []byte) error
- func (m *QueryLockedUndByAddressRequest) XXX_DiscardUnknown()
- func (m *QueryLockedUndByAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLockedUndByAddressRequest) XXX_Merge(src proto.Message)
- func (m *QueryLockedUndByAddressRequest) XXX_Size() int
- func (m *QueryLockedUndByAddressRequest) XXX_Unmarshal(b []byte) error
- type QueryLockedUndByAddressResponse
- func (*QueryLockedUndByAddressResponse) Descriptor() ([]byte, []int)
- func (m *QueryLockedUndByAddressResponse) GetAmount() types.Coin
- func (m *QueryLockedUndByAddressResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryLockedUndByAddressResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLockedUndByAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLockedUndByAddressResponse) ProtoMessage()
- func (m *QueryLockedUndByAddressResponse) Reset()
- func (m *QueryLockedUndByAddressResponse) Size() (n int)
- func (m *QueryLockedUndByAddressResponse) String() string
- func (m *QueryLockedUndByAddressResponse) Unmarshal(dAtA []byte) error
- func (m *QueryLockedUndByAddressResponse) XXX_DiscardUnknown()
- func (m *QueryLockedUndByAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLockedUndByAddressResponse) XXX_Merge(src proto.Message)
- func (m *QueryLockedUndByAddressResponse) XXX_Size() int
- func (m *QueryLockedUndByAddressResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryPurchaseOrdersParams
- type QueryResPurchaseOrders
- type QueryServer
- type QuerySpentEFUNDByAddressRequest
- func (*QuerySpentEFUNDByAddressRequest) Descriptor() ([]byte, []int)
- func (m *QuerySpentEFUNDByAddressRequest) GetAddress() string
- func (m *QuerySpentEFUNDByAddressRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySpentEFUNDByAddressRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySpentEFUNDByAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySpentEFUNDByAddressRequest) ProtoMessage()
- func (m *QuerySpentEFUNDByAddressRequest) Reset()
- func (m *QuerySpentEFUNDByAddressRequest) Size() (n int)
- func (m *QuerySpentEFUNDByAddressRequest) String() string
- func (m *QuerySpentEFUNDByAddressRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySpentEFUNDByAddressRequest) XXX_DiscardUnknown()
- func (m *QuerySpentEFUNDByAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySpentEFUNDByAddressRequest) XXX_Merge(src proto.Message)
- func (m *QuerySpentEFUNDByAddressRequest) XXX_Size() int
- func (m *QuerySpentEFUNDByAddressRequest) XXX_Unmarshal(b []byte) error
- type QuerySpentEFUNDByAddressResponse
- func (*QuerySpentEFUNDByAddressResponse) Descriptor() ([]byte, []int)
- func (m *QuerySpentEFUNDByAddressResponse) GetAmount() types.Coin
- func (m *QuerySpentEFUNDByAddressResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySpentEFUNDByAddressResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySpentEFUNDByAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySpentEFUNDByAddressResponse) ProtoMessage()
- func (m *QuerySpentEFUNDByAddressResponse) Reset()
- func (m *QuerySpentEFUNDByAddressResponse) Size() (n int)
- func (m *QuerySpentEFUNDByAddressResponse) String() string
- func (m *QuerySpentEFUNDByAddressResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySpentEFUNDByAddressResponse) XXX_DiscardUnknown()
- func (m *QuerySpentEFUNDByAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySpentEFUNDByAddressResponse) XXX_Merge(src proto.Message)
- func (m *QuerySpentEFUNDByAddressResponse) XXX_Size() int
- func (m *QuerySpentEFUNDByAddressResponse) XXX_Unmarshal(b []byte) error
- type QuerySupplyOfRequest
- func (*QuerySupplyOfRequest) Descriptor() ([]byte, []int)
- func (m *QuerySupplyOfRequest) GetDenom() string
- func (m *QuerySupplyOfRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySupplyOfRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySupplyOfRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySupplyOfRequest) ProtoMessage()
- func (m *QuerySupplyOfRequest) Reset()
- func (m *QuerySupplyOfRequest) Size() (n int)
- func (m *QuerySupplyOfRequest) String() string
- func (m *QuerySupplyOfRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySupplyOfRequest) XXX_DiscardUnknown()
- func (m *QuerySupplyOfRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySupplyOfRequest) XXX_Merge(src proto.Message)
- func (m *QuerySupplyOfRequest) XXX_Size() int
- func (m *QuerySupplyOfRequest) XXX_Unmarshal(b []byte) error
- type QuerySupplyOfResponse
- func (*QuerySupplyOfResponse) Descriptor() ([]byte, []int)
- func (m *QuerySupplyOfResponse) GetAmount() types.Coin
- func (m *QuerySupplyOfResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySupplyOfResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySupplyOfResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySupplyOfResponse) ProtoMessage()
- func (m *QuerySupplyOfResponse) Reset()
- func (m *QuerySupplyOfResponse) Size() (n int)
- func (m *QuerySupplyOfResponse) String() string
- func (m *QuerySupplyOfResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySupplyOfResponse) XXX_DiscardUnknown()
- func (m *QuerySupplyOfResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySupplyOfResponse) XXX_Merge(src proto.Message)
- func (m *QuerySupplyOfResponse) XXX_Size() int
- func (m *QuerySupplyOfResponse) XXX_Unmarshal(b []byte) error
- type QueryTotalLockedRequest
- func (*QueryTotalLockedRequest) Descriptor() ([]byte, []int)
- func (m *QueryTotalLockedRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTotalLockedRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTotalLockedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTotalLockedRequest) ProtoMessage()
- func (m *QueryTotalLockedRequest) Reset()
- func (m *QueryTotalLockedRequest) Size() (n int)
- func (m *QueryTotalLockedRequest) String() string
- func (m *QueryTotalLockedRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTotalLockedRequest) XXX_DiscardUnknown()
- func (m *QueryTotalLockedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTotalLockedRequest) XXX_Merge(src proto.Message)
- func (m *QueryTotalLockedRequest) XXX_Size() int
- func (m *QueryTotalLockedRequest) XXX_Unmarshal(b []byte) error
- type QueryTotalLockedResponse
- func (*QueryTotalLockedResponse) Descriptor() ([]byte, []int)
- func (m *QueryTotalLockedResponse) GetAmount() types.Coin
- func (m *QueryTotalLockedResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTotalLockedResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTotalLockedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTotalLockedResponse) ProtoMessage()
- func (m *QueryTotalLockedResponse) Reset()
- func (m *QueryTotalLockedResponse) Size() (n int)
- func (m *QueryTotalLockedResponse) String() string
- func (m *QueryTotalLockedResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTotalLockedResponse) XXX_DiscardUnknown()
- func (m *QueryTotalLockedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTotalLockedResponse) XXX_Merge(src proto.Message)
- func (m *QueryTotalLockedResponse) XXX_Size() int
- func (m *QueryTotalLockedResponse) XXX_Unmarshal(b []byte) error
- type QueryTotalSpentEFUNDRequest
- func (*QueryTotalSpentEFUNDRequest) Descriptor() ([]byte, []int)
- func (m *QueryTotalSpentEFUNDRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTotalSpentEFUNDRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTotalSpentEFUNDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTotalSpentEFUNDRequest) ProtoMessage()
- func (m *QueryTotalSpentEFUNDRequest) Reset()
- func (m *QueryTotalSpentEFUNDRequest) Size() (n int)
- func (m *QueryTotalSpentEFUNDRequest) String() string
- func (m *QueryTotalSpentEFUNDRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTotalSpentEFUNDRequest) XXX_DiscardUnknown()
- func (m *QueryTotalSpentEFUNDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTotalSpentEFUNDRequest) XXX_Merge(src proto.Message)
- func (m *QueryTotalSpentEFUNDRequest) XXX_Size() int
- func (m *QueryTotalSpentEFUNDRequest) XXX_Unmarshal(b []byte) error
- type QueryTotalSpentEFUNDResponse
- func (*QueryTotalSpentEFUNDResponse) Descriptor() ([]byte, []int)
- func (m *QueryTotalSpentEFUNDResponse) GetAmount() types.Coin
- func (m *QueryTotalSpentEFUNDResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTotalSpentEFUNDResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTotalSpentEFUNDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTotalSpentEFUNDResponse) ProtoMessage()
- func (m *QueryTotalSpentEFUNDResponse) Reset()
- func (m *QueryTotalSpentEFUNDResponse) Size() (n int)
- func (m *QueryTotalSpentEFUNDResponse) String() string
- func (m *QueryTotalSpentEFUNDResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTotalSpentEFUNDResponse) XXX_DiscardUnknown()
- func (m *QueryTotalSpentEFUNDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTotalSpentEFUNDResponse) XXX_Merge(src proto.Message)
- func (m *QueryTotalSpentEFUNDResponse) XXX_Size() int
- func (m *QueryTotalSpentEFUNDResponse) XXX_Unmarshal(b []byte) error
- type QueryTotalSupplyRequest
- func (*QueryTotalSupplyRequest) Descriptor() ([]byte, []int)
- func (m *QueryTotalSupplyRequest) GetPagination() *query.PageRequest
- func (m *QueryTotalSupplyRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTotalSupplyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTotalSupplyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTotalSupplyRequest) ProtoMessage()
- func (m *QueryTotalSupplyRequest) Reset()
- func (m *QueryTotalSupplyRequest) Size() (n int)
- func (m *QueryTotalSupplyRequest) String() string
- func (m *QueryTotalSupplyRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTotalSupplyRequest) XXX_DiscardUnknown()
- func (m *QueryTotalSupplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTotalSupplyRequest) XXX_Merge(src proto.Message)
- func (m *QueryTotalSupplyRequest) XXX_Size() int
- func (m *QueryTotalSupplyRequest) XXX_Unmarshal(b []byte) error
- type QueryTotalSupplyResponse
- func (*QueryTotalSupplyResponse) Descriptor() ([]byte, []int)
- func (m *QueryTotalSupplyResponse) GetPagination() *query.PageResponse
- func (m *QueryTotalSupplyResponse) GetSupply() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QueryTotalSupplyResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTotalSupplyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTotalSupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTotalSupplyResponse) ProtoMessage()
- func (m *QueryTotalSupplyResponse) Reset()
- func (m *QueryTotalSupplyResponse) Size() (n int)
- func (m *QueryTotalSupplyResponse) String() string
- func (m *QueryTotalSupplyResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTotalSupplyResponse) XXX_DiscardUnknown()
- func (m *QueryTotalSupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTotalSupplyResponse) XXX_Merge(src proto.Message)
- func (m *QueryTotalSupplyResponse) XXX_Size() int
- func (m *QueryTotalSupplyResponse) XXX_Unmarshal(b []byte) error
- type QueryTotalUnlockedRequest
- func (*QueryTotalUnlockedRequest) Descriptor() ([]byte, []int)
- func (m *QueryTotalUnlockedRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTotalUnlockedRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTotalUnlockedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTotalUnlockedRequest) ProtoMessage()
- func (m *QueryTotalUnlockedRequest) Reset()
- func (m *QueryTotalUnlockedRequest) Size() (n int)
- func (m *QueryTotalUnlockedRequest) String() string
- func (m *QueryTotalUnlockedRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTotalUnlockedRequest) XXX_DiscardUnknown()
- func (m *QueryTotalUnlockedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTotalUnlockedRequest) XXX_Merge(src proto.Message)
- func (m *QueryTotalUnlockedRequest) XXX_Size() int
- func (m *QueryTotalUnlockedRequest) XXX_Unmarshal(b []byte) error
- type QueryTotalUnlockedResponse
- func (*QueryTotalUnlockedResponse) Descriptor() ([]byte, []int)
- func (m *QueryTotalUnlockedResponse) GetAmount() types.Coin
- func (m *QueryTotalUnlockedResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTotalUnlockedResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTotalUnlockedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTotalUnlockedResponse) ProtoMessage()
- func (m *QueryTotalUnlockedResponse) Reset()
- func (m *QueryTotalUnlockedResponse) Size() (n int)
- func (m *QueryTotalUnlockedResponse) String() string
- func (m *QueryTotalUnlockedResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTotalUnlockedResponse) XXX_DiscardUnknown()
- func (m *QueryTotalUnlockedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTotalUnlockedResponse) XXX_Merge(src proto.Message)
- func (m *QueryTotalUnlockedResponse) XXX_Size() int
- func (m *QueryTotalUnlockedResponse) XXX_Unmarshal(b []byte) error
- type QueryWhitelistRequest
- func (*QueryWhitelistRequest) Descriptor() ([]byte, []int)
- func (m *QueryWhitelistRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryWhitelistRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryWhitelistRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryWhitelistRequest) ProtoMessage()
- func (m *QueryWhitelistRequest) Reset()
- func (m *QueryWhitelistRequest) Size() (n int)
- func (m *QueryWhitelistRequest) String() string
- func (m *QueryWhitelistRequest) Unmarshal(dAtA []byte) error
- func (m *QueryWhitelistRequest) XXX_DiscardUnknown()
- func (m *QueryWhitelistRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryWhitelistRequest) XXX_Merge(src proto.Message)
- func (m *QueryWhitelistRequest) XXX_Size() int
- func (m *QueryWhitelistRequest) XXX_Unmarshal(b []byte) error
- type QueryWhitelistResponse
- func (*QueryWhitelistResponse) Descriptor() ([]byte, []int)
- func (m *QueryWhitelistResponse) GetAddresses() []string
- func (m *QueryWhitelistResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryWhitelistResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryWhitelistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryWhitelistResponse) ProtoMessage()
- func (m *QueryWhitelistResponse) Reset()
- func (m *QueryWhitelistResponse) Size() (n int)
- func (m *QueryWhitelistResponse) String() string
- func (m *QueryWhitelistResponse) Unmarshal(dAtA []byte) error
- func (m *QueryWhitelistResponse) XXX_DiscardUnknown()
- func (m *QueryWhitelistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryWhitelistResponse) XXX_Merge(src proto.Message)
- func (m *QueryWhitelistResponse) XXX_Size() int
- func (m *QueryWhitelistResponse) XXX_Unmarshal(b []byte) error
- type QueryWhitelistedRequest
- func (*QueryWhitelistedRequest) Descriptor() ([]byte, []int)
- func (m *QueryWhitelistedRequest) GetAddress() string
- func (m *QueryWhitelistedRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryWhitelistedRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryWhitelistedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryWhitelistedRequest) ProtoMessage()
- func (m *QueryWhitelistedRequest) Reset()
- func (m *QueryWhitelistedRequest) Size() (n int)
- func (m *QueryWhitelistedRequest) String() string
- func (m *QueryWhitelistedRequest) Unmarshal(dAtA []byte) error
- func (m *QueryWhitelistedRequest) XXX_DiscardUnknown()
- func (m *QueryWhitelistedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryWhitelistedRequest) XXX_Merge(src proto.Message)
- func (m *QueryWhitelistedRequest) XXX_Size() int
- func (m *QueryWhitelistedRequest) XXX_Unmarshal(b []byte) error
- type QueryWhitelistedResponse
- func (*QueryWhitelistedResponse) Descriptor() ([]byte, []int)
- func (m *QueryWhitelistedResponse) GetAddress() string
- func (m *QueryWhitelistedResponse) GetWhitelisted() bool
- func (m *QueryWhitelistedResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryWhitelistedResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryWhitelistedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryWhitelistedResponse) ProtoMessage()
- func (m *QueryWhitelistedResponse) Reset()
- func (m *QueryWhitelistedResponse) Size() (n int)
- func (m *QueryWhitelistedResponse) String() string
- func (m *QueryWhitelistedResponse) Unmarshal(dAtA []byte) error
- func (m *QueryWhitelistedResponse) XXX_DiscardUnknown()
- func (m *QueryWhitelistedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryWhitelistedResponse) XXX_Merge(src proto.Message)
- func (m *QueryWhitelistedResponse) XXX_Size() int
- func (m *QueryWhitelistedResponse) XXX_Unmarshal(b []byte) error
- type SpentEFUND
- func (*SpentEFUND) Descriptor() ([]byte, []int)
- func (m *SpentEFUND) GetAmount() types.Coin
- func (m *SpentEFUND) GetOwner() string
- func (m *SpentEFUND) Marshal() (dAtA []byte, err error)
- func (m *SpentEFUND) MarshalTo(dAtA []byte) (int, error)
- func (m *SpentEFUND) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SpentEFUND) ProtoMessage()
- func (m *SpentEFUND) Reset()
- func (m *SpentEFUND) Size() (n int)
- func (m *SpentEFUND) String() string
- func (m *SpentEFUND) Unmarshal(dAtA []byte) error
- func (m *SpentEFUND) XXX_DiscardUnknown()
- func (m *SpentEFUND) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SpentEFUND) XXX_Merge(src proto.Message)
- func (m *SpentEFUND) XXX_Size() int
- func (m *SpentEFUND) XXX_Unmarshal(b []byte) error
- type SpentEFUNDs
- type UndSupply
- func (*UndSupply) Descriptor() ([]byte, []int)
- func (m *UndSupply) GetAmount() uint64
- func (m *UndSupply) GetDenom() string
- func (m *UndSupply) GetLocked() uint64
- func (m *UndSupply) GetTotal() uint64
- func (m *UndSupply) Marshal() (dAtA []byte, err error)
- func (m *UndSupply) MarshalTo(dAtA []byte) (int, error)
- func (m *UndSupply) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UndSupply) ProtoMessage()
- func (m *UndSupply) Reset()
- func (m *UndSupply) Size() (n int)
- func (m *UndSupply) String() string
- func (m *UndSupply) Unmarshal(dAtA []byte) error
- func (m *UndSupply) XXX_DiscardUnknown()
- func (m *UndSupply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UndSupply) XXX_Merge(src proto.Message)
- func (m *UndSupply) XXX_Size() int
- func (m *UndSupply) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) ProcessUndPurchaseOrder(ctx context.Context, req *MsgProcessUndPurchaseOrder) (*MsgProcessUndPurchaseOrderResponse, error)
- func (*UnimplementedMsgServer) UndPurchaseOrder(ctx context.Context, req *MsgUndPurchaseOrder) (*MsgUndPurchaseOrderResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- func (*UnimplementedMsgServer) WhitelistAddress(ctx context.Context, req *MsgWhitelistAddress) (*MsgWhitelistAddressResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) EnterpriseAccount(ctx context.Context, req *QueryEnterpriseAccountRequest) (*QueryEnterpriseAccountResponse, error)
- func (*UnimplementedQueryServer) EnterpriseSupply(ctx context.Context, req *QueryEnterpriseSupplyRequest) (*QueryEnterpriseSupplyResponse, error)
- func (*UnimplementedQueryServer) EnterpriseUndPurchaseOrder(ctx context.Context, req *QueryEnterpriseUndPurchaseOrderRequest) (*QueryEnterpriseUndPurchaseOrderResponse, error)
- func (*UnimplementedQueryServer) EnterpriseUndPurchaseOrders(ctx context.Context, req *QueryEnterpriseUndPurchaseOrdersRequest) (*QueryEnterpriseUndPurchaseOrdersResponse, error)
- func (*UnimplementedQueryServer) LockedUndByAddress(ctx context.Context, req *QueryLockedUndByAddressRequest) (*QueryLockedUndByAddressResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) SpentEFUNDByAddress(ctx context.Context, req *QuerySpentEFUNDByAddressRequest) (*QuerySpentEFUNDByAddressResponse, error)
- func (*UnimplementedQueryServer) SupplyOf(ctx context.Context, req *QuerySupplyOfRequest) (*QuerySupplyOfResponse, error)
- func (*UnimplementedQueryServer) SupplyOfOverwrite(ctx context.Context, req *QuerySupplyOfRequest) (*QuerySupplyOfResponse, error)
- func (*UnimplementedQueryServer) TotalLocked(ctx context.Context, req *QueryTotalLockedRequest) (*QueryTotalLockedResponse, error)
- func (*UnimplementedQueryServer) TotalSpentEFUND(ctx context.Context, req *QueryTotalSpentEFUNDRequest) (*QueryTotalSpentEFUNDResponse, error)
- func (*UnimplementedQueryServer) TotalSupply(ctx context.Context, req *QueryTotalSupplyRequest) (*QueryTotalSupplyResponse, error)
- func (*UnimplementedQueryServer) TotalSupplyOverwrite(ctx context.Context, req *QueryTotalSupplyRequest) (*QueryTotalSupplyResponse, error)
- func (*UnimplementedQueryServer) TotalUnlocked(ctx context.Context, req *QueryTotalUnlockedRequest) (*QueryTotalUnlockedResponse, error)
- func (*UnimplementedQueryServer) Whitelist(ctx context.Context, req *QueryWhitelistRequest) (*QueryWhitelistResponse, error)
- func (*UnimplementedQueryServer) Whitelisted(ctx context.Context, req *QueryWhitelistedRequest) (*QueryWhitelistedResponse, error)
- type WhitelistAction
- type WhitelistAddresses
- func (*WhitelistAddresses) Descriptor() ([]byte, []int)
- func (m *WhitelistAddresses) GetAddresses() []string
- func (m *WhitelistAddresses) Marshal() (dAtA []byte, err error)
- func (m *WhitelistAddresses) MarshalTo(dAtA []byte) (int, error)
- func (m *WhitelistAddresses) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WhitelistAddresses) ProtoMessage()
- func (m *WhitelistAddresses) Reset()
- func (m *WhitelistAddresses) Size() (n int)
- func (m *WhitelistAddresses) String() string
- func (m *WhitelistAddresses) Unmarshal(dAtA []byte) error
- func (m *WhitelistAddresses) XXX_DiscardUnknown()
- func (m *WhitelistAddresses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WhitelistAddresses) XXX_Merge(src proto.Message)
- func (m *WhitelistAddresses) XXX_Size() int
- func (m *WhitelistAddresses) XXX_Unmarshal(b []byte) error
- type Whitelists
Constants ¶
const ( CodeInvalidGenesis = 101 CodePurchaseOrderDoesNotExist = 102 CodePurchaseOrderAlreadyProcessed = 103 CodeInvalidDecision = 104 CodeInvalidDenomination = 105 CodeInvalidStatus = 106 CodePurchaseOrderNotRaised = 107 CodeSignerAlreadyMadeDecision = 108 CodeMissingData = 109 CodeDataInvalid = 110 CodeInvalidWhitelistAction = 111 CodeAlreadyWhitelisted = 112 CodeAddressNotWhitelisted = 113 CodeNotAuthorisedToRaisePO = 114 )
const ( // module name ModuleName = "enterprise" // StoreKey to be used when creating the KVStore StoreKey = ModuleName // RouterKey defines the module's message routing key RouterKey = ModuleName DefaultParamspace = ModuleName // QuerierRoute is the querier route for the enterprise store. QuerierRoute = StoreKey )
const ( PurchaseAction = "raise_ent_po" ProcessAction = "proc_ent_po" WhitelistAddressAction = "ent_whitelist" )
Variables ¶
var ( ErrInvalidLengthEnterprise = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEnterprise = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEnterprise = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidGenesis = sdkerrors.Register(ModuleName, CodeInvalidGenesis, "invalid genesis") ErrPurchaseOrderDoesNotExist = sdkerrors.Register(ModuleName, CodePurchaseOrderDoesNotExist, "purchase order does not exist") ErrPurchaseOrderAlreadyProcessed = sdkerrors.Register(ModuleName, CodePurchaseOrderAlreadyProcessed, "purchase order already processed") ErrInvalidDecision = sdkerrors.Register(ModuleName, CodeInvalidDecision, "invalid decision") ErrInvalidDenomination = sdkerrors.Register(ModuleName, CodeInvalidDenomination, "invalid denomination") ErrInvalidStatus = sdkerrors.Register(ModuleName, CodeInvalidStatus, "invalid status") ErrPurchaseOrderNotRaised = sdkerrors.Register(ModuleName, CodePurchaseOrderNotRaised, "purchase order not raised") ErrSignerAlreadyMadeDecision = sdkerrors.Register(ModuleName, CodeSignerAlreadyMadeDecision, "signer already made decision") ErrMissingData = sdkerrors.Register(ModuleName, CodeMissingData, "missing data") ErrInvalidData = sdkerrors.Register(ModuleName, CodeDataInvalid, "invalid data") ErrInvalidWhitelistAction = sdkerrors.Register(ModuleName, CodeInvalidWhitelistAction, "invalid whitelist action") ErrAlreadyWhitelisted = sdkerrors.Register(ModuleName, CodeAlreadyWhitelisted, "address already whitelisted") ErrAddressNotWhitelisted = sdkerrors.Register(ModuleName, CodeAddressNotWhitelisted, "address not whitelisted") ErrNotAuthorisedToRaisePO = sdkerrors.Register(ModuleName, CodeNotAuthorisedToRaisePO, "address not authorised to raise purchase orders") )
var ( EventTypeRaisePurchaseOrder = "raise_purchase_order" EventTypeProcessPurchaseOrderDecision = "process_purchase_order_decision" EventTypeAutoRejectStalePurchaseOrder = "auto_reject_stale_purchase_order" EventTypeTallyPurchaseOrderDecisions = "tally_purchase_order_decisions" EventTypeUndPurchaseComplete = "und_purchase_complete" EventTypeUndUnlocked = "und_unlocked" EventTypeWhitelistAddress = "whitelist_purchase_order_address" AttributeValueCategory = ModuleName AttributeKeyPurchaseOrderID = "id" AttributeKeyPurchaser = "purchaser" AttributeKeyAmount = "amount" AttributeKeyDecision = "decision" AttributeKeySigner = "signer" AttributeKeyNumAccepts = "accepts" AttributeKeyNumRejects = "rejects" AttributeKeyWhitelistAction = "action" AttributeWhitelistAddress = "address" )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( // key used to store the current highest purchase order ID HighestPurchaseOrderIDKey = []byte{0x20} // prefix used to store/retrieve an purchase order waiting to be processed from the store PurchaseOrderIDKeyPrefix = []byte{0x01} // LockedUndAddressKeyPrefix prefix for address keys - used to store locked eFUND for an account LockedUndAddressKeyPrefix = []byte{0x02} // WhitelistKeyPrefix is the prefix for whitelisted addresses WhitelistKeyPrefix = []byte{0x03} // RaisedPoPrefix used to temporarily store currently raised purchase orders for the ABCI blocker RaisedPoPrefix = []byte{0x04} // AcceptedPoPrefix used to temporarily store currently accepted purchase orders for the ABCI blocker AcceptedPoPrefix = []byte{0x05} // SpentEFUNDAddressKeyPrefix prefix for address keys - used to store a tally of used eFUND for an account SpentEFUNDAddressKeyPrefix = []byte{0x06} ParamsKey = []byte{0x07} TotalSpentEFUNDKey = []byte{0x98} TotalLockedUndKey = []byte{0x99} )
var ( KeyEntSigners = []byte("EntSigners") KeyDenom = []byte("Denom") KeyMinAccepts = []byte("MinAccepts") KeyDecisionLimit = []byte("DecisionLimit") )
Parameter store keys
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( // ModuleCdc references the global x/bank module codec. Note, the codec should // ONLY be used in certain instances of tests and for JSON encoding as Amino is // still used for that purpose. // // The actual codec used for serialization should be provided to x/staking and // defined at the application level. ModuleCdc = codec.NewAminoCodec(amino) )
var PurchaseOrderStatus_name = map[int32]string{
0: "STATUS_NIL",
1: "STATUS_RAISED",
2: "STATUS_ACCEPTED",
3: "STATUS_REJECTED",
4: "STATUS_COMPLETED",
}
var PurchaseOrderStatus_value = map[string]int32{
"STATUS_NIL": 0,
"STATUS_RAISED": 1,
"STATUS_ACCEPTED": 2,
"STATUS_REJECTED": 3,
"STATUS_COMPLETED": 4,
}
var WhitelistAction_name = map[int32]string{
0: "WHITELIST_ACTION_NIL",
1: "WHITELIST_ACTION_ADD",
2: "WHITELIST_ACTION_REMOVE",
}
var WhitelistAction_value = map[string]int32{
"WHITELIST_ACTION_NIL": 0,
"WHITELIST_ACTION_ADD": 1,
"WHITELIST_ACTION_REMOVE": 2,
}
Functions ¶
func AcceptedQueueStoreKey ¶
AcceptedQueueStoreKey us used to temporarily store accepted PO order IDs for the ABCI blocker
func GetPurchaseOrderIDBytes ¶
GetPurchaseOrderIDBytes returns the byte representation of the purchaseOrderID used for getting the highest purchase order ID from the database
func GetPurchaseOrderIDFromBytes ¶
GetPurchaseOrderIDFromBytes returns purchaseOrderID in uint64 format from a byte array used for getting the highest purchase order ID from the database
func LockedUndAddressStoreKey ¶ added in v1.6.1
func LockedUndAddressStoreKey(acc sdk.AccAddress) []byte
LockedUndAddressStoreKey turn an address to key used for enterprise und/locked data to get it from the store
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamTable for enterprise FUND module.
func PurchaseOrderKey ¶
PurchaseOrderKey gets a specific purchase order ID key for use in the store
func RaisedQueueStoreKey ¶
RaisedQueueStoreKey us used to temporarily store raised PO order IDs for the ABCI blocker
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the necessary x/enterprise interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func SpentEFUNDAddressStoreKey ¶ added in v1.6.1
func SpentEFUNDAddressStoreKey(acc sdk.AccAddress) []byte
SpentEFUNDAddressStoreKey turn an address to key used for spent eFUND data to get it from the store
func SplitAcceptedQueueKey ¶
SplitAcceptedQueueKey is used to get the PO ID from the storekey
func SplitRaisedQueueKey ¶
SplitRaisedQueueKey is used to get the PO ID from the storekey
func ValidPurchaseOrderAcceptRejectStatus ¶
func ValidPurchaseOrderAcceptRejectStatus(status PurchaseOrderStatus) bool
ValidPurchaseOrderAcceptRejectStatus checks the decision - returns true if accept/reject.
func ValidPurchaseOrderStatus ¶
func ValidPurchaseOrderStatus(status PurchaseOrderStatus) bool
ValidPurchaseOrderStatus returns true if the purchase order status is valid and false otherwise.
func ValidWhitelistAction ¶
func ValidWhitelistAction(action WhitelistAction) bool
ValidWhitelistAction returns true if the purchase order status is valid and false otherwise.
func ValidateGenesis ¶
func ValidateGenesis(data GenesisState) error
func WhitelistAddressStoreKey ¶
func WhitelistAddressStoreKey(acc sdk.AccAddress) []byte
WhitelistAddressStoreKey turn an address to key used for the whitelist store
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { GetModuleAddress(name string) sdk.AccAddress GetModuleAccount(ctx sdk.Context, moduleName string) authtypes.ModuleAccountI GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI // only used for simulation // TODO remove with genesis 2-phases refactor https://github.com/cosmos/cosmos-sdk/issues/2862 SetModuleAccount(sdk.Context, authtypes.ModuleAccountI) }
AccountKeeper defines the expected account keeper (noalias)
type BankKeeper ¶
type BankKeeper interface { GetSupply(ctx sdk.Context, denom string) sdk.Coin GetPaginatedTotalSupply(ctx sdk.Context, pagination *query.PageRequest) (sdk.Coins, *query.PageResponse, error) SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error UndelegateCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error DelegateCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error MintCoins(ctx sdk.Context, name string, amt sdk.Coins) error GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin LockedCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins }
BankKeeper defines the expected bank keeper
type EnterpriseUndPurchaseOrder ¶
type EnterpriseUndPurchaseOrder struct { // id is the purchase order ID Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // purchaser is the address of the user who raised the order Purchaser string `protobuf:"bytes,2,opt,name=purchaser,proto3" json:"purchaser,omitempty"` // amount is the amount being raised for Amount types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"` // status is the current PurchaseOrderStatus Status PurchaseOrderStatus `protobuf:"varint,4,opt,name=status,proto3,enum=mainchain.enterprise.v1.PurchaseOrderStatus" json:"status,omitempty"` // raise_time is a unix epoch value of the order submission time RaiseTime uint64 `protobuf:"varint,5,opt,name=raise_time,json=raiseTime,proto3" json:"raise_time,omitempty"` // completion_time is a unix epoch value of the time the order was completed CompletionTime uint64 `protobuf:"varint,6,opt,name=completion_time,json=completionTime,proto3" json:"completion_time,omitempty"` // decisions is an array of decisions made by authorised addresses Decisions PurchaseOrderDecisions `protobuf:"bytes,7,rep,name=decisions,proto3,castrepeated=PurchaseOrderDecisions" json:"decisions"` }
EnterpriseUndPurchaseOrder defines a purchase order raised by a whitelisted address
func NewEnterpriseUndPurchaseOrder ¶
func NewEnterpriseUndPurchaseOrder(poId uint64, purchaser string, amount sdk.Coin, status PurchaseOrderStatus, raisedTime, completionTime uint64) (EnterpriseUndPurchaseOrder, error)
NewEnterpriseUndPurchaseOrder is currently only used in the simulation decoder unit tests
func (*EnterpriseUndPurchaseOrder) Descriptor ¶
func (*EnterpriseUndPurchaseOrder) Descriptor() ([]byte, []int)
func (*EnterpriseUndPurchaseOrder) GetAmount ¶
func (m *EnterpriseUndPurchaseOrder) GetAmount() types.Coin
func (*EnterpriseUndPurchaseOrder) GetCompletionTime ¶
func (m *EnterpriseUndPurchaseOrder) GetCompletionTime() uint64
func (*EnterpriseUndPurchaseOrder) GetDecisions ¶
func (m *EnterpriseUndPurchaseOrder) GetDecisions() PurchaseOrderDecisions
func (*EnterpriseUndPurchaseOrder) GetId ¶
func (m *EnterpriseUndPurchaseOrder) GetId() uint64
func (*EnterpriseUndPurchaseOrder) GetPurchaser ¶
func (m *EnterpriseUndPurchaseOrder) GetPurchaser() string
func (*EnterpriseUndPurchaseOrder) GetRaiseTime ¶
func (m *EnterpriseUndPurchaseOrder) GetRaiseTime() uint64
func (*EnterpriseUndPurchaseOrder) GetStatus ¶
func (m *EnterpriseUndPurchaseOrder) GetStatus() PurchaseOrderStatus
func (*EnterpriseUndPurchaseOrder) Marshal ¶
func (m *EnterpriseUndPurchaseOrder) Marshal() (dAtA []byte, err error)
func (*EnterpriseUndPurchaseOrder) MarshalTo ¶
func (m *EnterpriseUndPurchaseOrder) MarshalTo(dAtA []byte) (int, error)
func (*EnterpriseUndPurchaseOrder) MarshalToSizedBuffer ¶
func (m *EnterpriseUndPurchaseOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EnterpriseUndPurchaseOrder) ProtoMessage ¶
func (*EnterpriseUndPurchaseOrder) ProtoMessage()
func (*EnterpriseUndPurchaseOrder) Reset ¶
func (m *EnterpriseUndPurchaseOrder) Reset()
func (*EnterpriseUndPurchaseOrder) Size ¶
func (m *EnterpriseUndPurchaseOrder) Size() (n int)
func (*EnterpriseUndPurchaseOrder) String ¶
func (m *EnterpriseUndPurchaseOrder) String() string
func (*EnterpriseUndPurchaseOrder) Unmarshal ¶
func (m *EnterpriseUndPurchaseOrder) Unmarshal(dAtA []byte) error
func (*EnterpriseUndPurchaseOrder) XXX_DiscardUnknown ¶
func (m *EnterpriseUndPurchaseOrder) XXX_DiscardUnknown()
func (*EnterpriseUndPurchaseOrder) XXX_Marshal ¶
func (m *EnterpriseUndPurchaseOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EnterpriseUndPurchaseOrder) XXX_Merge ¶
func (m *EnterpriseUndPurchaseOrder) XXX_Merge(src proto.Message)
func (*EnterpriseUndPurchaseOrder) XXX_Size ¶
func (m *EnterpriseUndPurchaseOrder) XXX_Size() int
func (*EnterpriseUndPurchaseOrder) XXX_Unmarshal ¶
func (m *EnterpriseUndPurchaseOrder) XXX_Unmarshal(b []byte) error
type EnterpriseUndPurchaseOrders ¶
type EnterpriseUndPurchaseOrders []EnterpriseUndPurchaseOrder
type EnterpriseUserAccount ¶
type EnterpriseUserAccount struct { // owner is the address of the account Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // locked_efund is the amount of eFUND the account currently has locked and only available to pay for // beacon/wrkchain fees LockedEfund types.Coin `protobuf:"bytes,2,opt,name=locked_efund,json=lockedEfund,proto3" json:"locked_efund"` // general_supply is the amount currently held in the bank module's supply - i.e. standard FUND in general supply // usable for anything (transfers, staking, standard tx fees etc.) GeneralSupply types.Coin `protobuf:"bytes,3,opt,name=general_supply,json=generalSupply,proto3" json:"general_supply"` // spent_efund is a running tally of how much eFUND the account has used so far to pay for beacon/wrkchain fees SpentEfund types.Coin `protobuf:"bytes,4,opt,name=spent_efund,json=spentEfund,proto3" json:"spent_efund"` // spendable is the sum of locked eFUND and general bank module FUND - i.e. how much can be used to pay // BEACON/Wrkchain fees all together Spendable types.Coin `protobuf:"bytes,5,opt,name=spendable,proto3" json:"spendable"` }
EnterpriseUserAccount defines data about an enterprise user
func (*EnterpriseUserAccount) Descriptor ¶
func (*EnterpriseUserAccount) Descriptor() ([]byte, []int)
func (*EnterpriseUserAccount) GetGeneralSupply ¶ added in v1.6.1
func (m *EnterpriseUserAccount) GetGeneralSupply() types.Coin
func (*EnterpriseUserAccount) GetLockedEfund ¶ added in v1.6.1
func (m *EnterpriseUserAccount) GetLockedEfund() types.Coin
func (*EnterpriseUserAccount) GetOwner ¶
func (m *EnterpriseUserAccount) GetOwner() string
func (*EnterpriseUserAccount) GetSpendable ¶ added in v1.6.1
func (m *EnterpriseUserAccount) GetSpendable() types.Coin
func (*EnterpriseUserAccount) GetSpentEfund ¶ added in v1.6.1
func (m *EnterpriseUserAccount) GetSpentEfund() types.Coin
func (*EnterpriseUserAccount) Marshal ¶
func (m *EnterpriseUserAccount) Marshal() (dAtA []byte, err error)
func (*EnterpriseUserAccount) MarshalTo ¶
func (m *EnterpriseUserAccount) MarshalTo(dAtA []byte) (int, error)
func (*EnterpriseUserAccount) MarshalToSizedBuffer ¶
func (m *EnterpriseUserAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EnterpriseUserAccount) ProtoMessage ¶
func (*EnterpriseUserAccount) ProtoMessage()
func (*EnterpriseUserAccount) Reset ¶
func (m *EnterpriseUserAccount) Reset()
func (*EnterpriseUserAccount) Size ¶
func (m *EnterpriseUserAccount) Size() (n int)
func (*EnterpriseUserAccount) String ¶
func (m *EnterpriseUserAccount) String() string
func (*EnterpriseUserAccount) Unmarshal ¶
func (m *EnterpriseUserAccount) Unmarshal(dAtA []byte) error
func (*EnterpriseUserAccount) XXX_DiscardUnknown ¶
func (m *EnterpriseUserAccount) XXX_DiscardUnknown()
func (*EnterpriseUserAccount) XXX_Marshal ¶
func (m *EnterpriseUserAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EnterpriseUserAccount) XXX_Merge ¶
func (m *EnterpriseUserAccount) XXX_Merge(src proto.Message)
func (*EnterpriseUserAccount) XXX_Size ¶
func (m *EnterpriseUserAccount) XXX_Size() int
func (*EnterpriseUserAccount) XXX_Unmarshal ¶
func (m *EnterpriseUserAccount) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { // params defines all the paramaters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` StartingPurchaseOrderId uint64 `` /* 135-byte string literal not displayed */ PurchaseOrders EnterpriseUndPurchaseOrders `` /* 134-byte string literal not displayed */ LockedUnd LockedUnds `protobuf:"bytes,4,rep,name=locked_und,json=lockedUnd,proto3,castrepeated=LockedUnds" json:"locked_und"` TotalLocked types.Coin `protobuf:"bytes,5,opt,name=total_locked,json=totalLocked,proto3" json:"total_locked"` Whitelist Whitelists `protobuf:"bytes,6,rep,name=whitelist,proto3,castrepeated=Whitelists" json:"whitelist,omitempty"` SpentEfund SpentEFUNDs `protobuf:"bytes,7,rep,name=spent_efund,json=spentEfund,proto3,castrepeated=SpentEFUNDs" json:"spent_efund"` TotalSpent types.Coin `protobuf:"bytes,8,opt,name=total_spent,json=totalSpent,proto3" json:"total_spent"` }
GenesisState defines the enterprise module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState creates a default GenesisState object
func NewGenesisState ¶
func NewGenesisState(params Params, startingPurchaseOrderId uint64, totalLocked sdk.Coin, purchaseOrders EnterpriseUndPurchaseOrders, locked LockedUnds, whitelist Whitelists, totalSpent sdk.Coin, spentEFUND SpentEFUNDs) *GenesisState
NewGenesisState creates a new GenesisState object
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetLockedUnd ¶
func (m *GenesisState) GetLockedUnd() LockedUnds
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetPurchaseOrders ¶
func (m *GenesisState) GetPurchaseOrders() EnterpriseUndPurchaseOrders
func (*GenesisState) GetSpentEfund ¶ added in v1.6.1
func (m *GenesisState) GetSpentEfund() SpentEFUNDs
func (*GenesisState) GetStartingPurchaseOrderId ¶
func (m *GenesisState) GetStartingPurchaseOrderId() uint64
func (*GenesisState) GetTotalLocked ¶
func (m *GenesisState) GetTotalLocked() types.Coin
func (*GenesisState) GetTotalSpent ¶ added in v1.6.1
func (m *GenesisState) GetTotalSpent() types.Coin
func (*GenesisState) GetWhitelist ¶
func (m *GenesisState) GetWhitelist() Whitelists
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) 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 LockedUnd ¶
type LockedUnd struct { // owner is the address of the locked FUND owner Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // amount is the amount currently locked and available to pay for beacon/wrkchain fees Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount"` }
LockedUnd defines the amount of locked FUND for an account
func NewLockedUnd ¶
NewLockedUnd is currently only used in the simulation decoder unit tests
func (*LockedUnd) Descriptor ¶
func (*LockedUnd) MarshalToSizedBuffer ¶
func (*LockedUnd) ProtoMessage ¶
func (*LockedUnd) ProtoMessage()
func (*LockedUnd) XXX_DiscardUnknown ¶
func (m *LockedUnd) XXX_DiscardUnknown()
func (*LockedUnd) XXX_Marshal ¶
func (*LockedUnd) XXX_Unmarshal ¶
type LockedUnds ¶
type LockedUnds []LockedUnd
type MsgClient ¶
type MsgClient interface { // UndPurchaseOrder defines a method to create new purchase order. UndPurchaseOrder(ctx context.Context, in *MsgUndPurchaseOrder, opts ...grpc.CallOption) (*MsgUndPurchaseOrderResponse, error) // ProcessUndPurchaseOrder defines a method to process a decision on a purchase order. ProcessUndPurchaseOrder(ctx context.Context, in *MsgProcessUndPurchaseOrder, opts ...grpc.CallOption) (*MsgProcessUndPurchaseOrderResponse, error) // WhitelistAddress defines a method to execute a whitelist action. WhitelistAddress(ctx context.Context, in *MsgWhitelistAddress, opts ...grpc.CallOption) (*MsgWhitelistAddressResponse, error) // UpdateParams defines an operation for updating the x/enterprise module // parameters. // Since: cosmos-sdk 0.47 UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, 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 MsgProcessUndPurchaseOrder ¶
type MsgProcessUndPurchaseOrder struct { // purchase_order_id is the ID of the purchase order being raised PurchaseOrderId uint64 `protobuf:"varint,1,opt,name=purchase_order_id,json=purchaseOrderId,proto3" json:"id" yaml:"id"` // decision is an enumerated PurchaseOrderStatus representing, for example accepted/rejected Decision PurchaseOrderStatus `protobuf:"varint,2,opt,name=decision,proto3,enum=mainchain.enterprise.v1.PurchaseOrderStatus" json:"decision,omitempty"` // signer is the address of the authorised decision maker Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"` }
MsgProcessUndPurchaseOrder represents a message to processed a raised purchase order
func NewMsgProcessUndPurchaseOrder ¶
func NewMsgProcessUndPurchaseOrder(purchaseOrderID uint64, decision PurchaseOrderStatus, signer sdk.AccAddress) *MsgProcessUndPurchaseOrder
NewMsgProcessUndPurchaseOrder is a constructor function for MsgProcessUndPurchaseOrder
func (*MsgProcessUndPurchaseOrder) Descriptor ¶
func (*MsgProcessUndPurchaseOrder) Descriptor() ([]byte, []int)
func (MsgProcessUndPurchaseOrder) GetSignBytes ¶
func (msg MsgProcessUndPurchaseOrder) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgProcessUndPurchaseOrder) GetSigners ¶
func (msg MsgProcessUndPurchaseOrder) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
func (*MsgProcessUndPurchaseOrder) Marshal ¶
func (m *MsgProcessUndPurchaseOrder) Marshal() (dAtA []byte, err error)
func (*MsgProcessUndPurchaseOrder) MarshalTo ¶
func (m *MsgProcessUndPurchaseOrder) MarshalTo(dAtA []byte) (int, error)
func (*MsgProcessUndPurchaseOrder) MarshalToSizedBuffer ¶
func (m *MsgProcessUndPurchaseOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgProcessUndPurchaseOrder) ProtoMessage ¶
func (*MsgProcessUndPurchaseOrder) ProtoMessage()
func (*MsgProcessUndPurchaseOrder) Reset ¶
func (m *MsgProcessUndPurchaseOrder) Reset()
func (MsgProcessUndPurchaseOrder) Route ¶
func (msg MsgProcessUndPurchaseOrder) Route() string
Route should return the name of the module
func (*MsgProcessUndPurchaseOrder) Size ¶
func (m *MsgProcessUndPurchaseOrder) Size() (n int)
func (*MsgProcessUndPurchaseOrder) String ¶
func (m *MsgProcessUndPurchaseOrder) String() string
func (MsgProcessUndPurchaseOrder) Type ¶
func (msg MsgProcessUndPurchaseOrder) Type() string
Type should return the action
func (*MsgProcessUndPurchaseOrder) Unmarshal ¶
func (m *MsgProcessUndPurchaseOrder) Unmarshal(dAtA []byte) error
func (MsgProcessUndPurchaseOrder) ValidateBasic ¶
func (msg MsgProcessUndPurchaseOrder) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgProcessUndPurchaseOrder) XXX_DiscardUnknown ¶
func (m *MsgProcessUndPurchaseOrder) XXX_DiscardUnknown()
func (*MsgProcessUndPurchaseOrder) XXX_Marshal ¶
func (m *MsgProcessUndPurchaseOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgProcessUndPurchaseOrder) XXX_Merge ¶
func (m *MsgProcessUndPurchaseOrder) XXX_Merge(src proto.Message)
func (*MsgProcessUndPurchaseOrder) XXX_Size ¶
func (m *MsgProcessUndPurchaseOrder) XXX_Size() int
func (*MsgProcessUndPurchaseOrder) XXX_Unmarshal ¶
func (m *MsgProcessUndPurchaseOrder) XXX_Unmarshal(b []byte) error
type MsgProcessUndPurchaseOrderResponse ¶
type MsgProcessUndPurchaseOrderResponse struct { }
MsgProcessUndPurchaseOrderResponse defines the Msg/ProcessUndPurchaseOrder response type.
func (*MsgProcessUndPurchaseOrderResponse) Descriptor ¶
func (*MsgProcessUndPurchaseOrderResponse) Descriptor() ([]byte, []int)
func (*MsgProcessUndPurchaseOrderResponse) Marshal ¶
func (m *MsgProcessUndPurchaseOrderResponse) Marshal() (dAtA []byte, err error)
func (*MsgProcessUndPurchaseOrderResponse) MarshalTo ¶
func (m *MsgProcessUndPurchaseOrderResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgProcessUndPurchaseOrderResponse) MarshalToSizedBuffer ¶
func (m *MsgProcessUndPurchaseOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgProcessUndPurchaseOrderResponse) ProtoMessage ¶
func (*MsgProcessUndPurchaseOrderResponse) ProtoMessage()
func (*MsgProcessUndPurchaseOrderResponse) Reset ¶
func (m *MsgProcessUndPurchaseOrderResponse) Reset()
func (*MsgProcessUndPurchaseOrderResponse) Size ¶
func (m *MsgProcessUndPurchaseOrderResponse) Size() (n int)
func (*MsgProcessUndPurchaseOrderResponse) String ¶
func (m *MsgProcessUndPurchaseOrderResponse) String() string
func (*MsgProcessUndPurchaseOrderResponse) Unmarshal ¶
func (m *MsgProcessUndPurchaseOrderResponse) Unmarshal(dAtA []byte) error
func (*MsgProcessUndPurchaseOrderResponse) XXX_DiscardUnknown ¶
func (m *MsgProcessUndPurchaseOrderResponse) XXX_DiscardUnknown()
func (*MsgProcessUndPurchaseOrderResponse) XXX_Marshal ¶
func (m *MsgProcessUndPurchaseOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgProcessUndPurchaseOrderResponse) XXX_Merge ¶
func (m *MsgProcessUndPurchaseOrderResponse) XXX_Merge(src proto.Message)
func (*MsgProcessUndPurchaseOrderResponse) XXX_Size ¶
func (m *MsgProcessUndPurchaseOrderResponse) XXX_Size() int
func (*MsgProcessUndPurchaseOrderResponse) XXX_Unmarshal ¶
func (m *MsgProcessUndPurchaseOrderResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // UndPurchaseOrder defines a method to create new purchase order. UndPurchaseOrder(context.Context, *MsgUndPurchaseOrder) (*MsgUndPurchaseOrderResponse, error) // ProcessUndPurchaseOrder defines a method to process a decision on a purchase order. ProcessUndPurchaseOrder(context.Context, *MsgProcessUndPurchaseOrder) (*MsgProcessUndPurchaseOrderResponse, error) // WhitelistAddress defines a method to execute a whitelist action. WhitelistAddress(context.Context, *MsgWhitelistAddress) (*MsgWhitelistAddressResponse, error) // UpdateParams defines an operation for updating the x/enterprise module // parameters. // Since: cosmos-sdk 0.47 UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) }
MsgServer is the server API for Msg service.
type MsgUndPurchaseOrder ¶
type MsgUndPurchaseOrder struct { // purchaser is the address of the account raising the purchase order Purchaser string `protobuf:"bytes,1,opt,name=purchaser,proto3" json:"purchaser,omitempty"` // amount is the amount of eFUND in nund Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount"` }
MsgUndPurchaseOrder represents a message to raise a new purchase order
func NewMsgUndPurchaseOrder ¶
func NewMsgUndPurchaseOrder(purchaser sdk.AccAddress, amount sdk.Coin) *MsgUndPurchaseOrder
NewMsgUndPurchaseOrder is a constructor function for MsgUndPurchaseOrder
func (*MsgUndPurchaseOrder) Descriptor ¶
func (*MsgUndPurchaseOrder) Descriptor() ([]byte, []int)
func (MsgUndPurchaseOrder) GetSignBytes ¶
func (msg MsgUndPurchaseOrder) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgUndPurchaseOrder) GetSigners ¶
func (msg MsgUndPurchaseOrder) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
func (*MsgUndPurchaseOrder) Marshal ¶
func (m *MsgUndPurchaseOrder) Marshal() (dAtA []byte, err error)
func (*MsgUndPurchaseOrder) MarshalTo ¶
func (m *MsgUndPurchaseOrder) MarshalTo(dAtA []byte) (int, error)
func (*MsgUndPurchaseOrder) MarshalToSizedBuffer ¶
func (m *MsgUndPurchaseOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUndPurchaseOrder) ProtoMessage ¶
func (*MsgUndPurchaseOrder) ProtoMessage()
func (*MsgUndPurchaseOrder) Reset ¶
func (m *MsgUndPurchaseOrder) Reset()
func (MsgUndPurchaseOrder) Route ¶
func (msg MsgUndPurchaseOrder) Route() string
Route should return the name of the module
func (*MsgUndPurchaseOrder) Size ¶
func (m *MsgUndPurchaseOrder) Size() (n int)
func (*MsgUndPurchaseOrder) String ¶
func (m *MsgUndPurchaseOrder) String() string
func (MsgUndPurchaseOrder) Type ¶
func (msg MsgUndPurchaseOrder) Type() string
Type should return the action
func (*MsgUndPurchaseOrder) Unmarshal ¶
func (m *MsgUndPurchaseOrder) Unmarshal(dAtA []byte) error
func (MsgUndPurchaseOrder) ValidateBasic ¶
func (msg MsgUndPurchaseOrder) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgUndPurchaseOrder) XXX_DiscardUnknown ¶
func (m *MsgUndPurchaseOrder) XXX_DiscardUnknown()
func (*MsgUndPurchaseOrder) XXX_Marshal ¶
func (m *MsgUndPurchaseOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUndPurchaseOrder) XXX_Merge ¶
func (m *MsgUndPurchaseOrder) XXX_Merge(src proto.Message)
func (*MsgUndPurchaseOrder) XXX_Size ¶
func (m *MsgUndPurchaseOrder) XXX_Size() int
func (*MsgUndPurchaseOrder) XXX_Unmarshal ¶
func (m *MsgUndPurchaseOrder) XXX_Unmarshal(b []byte) error
type MsgUndPurchaseOrderResponse ¶
type MsgUndPurchaseOrderResponse struct {
PurchaseOrderId uint64 `protobuf:"varint,1,opt,name=purchase_order_id,json=purchaseOrderId,proto3" json:"purchase_order_id,omitempty"`
}
MsgUndPurchaseOrderResponse defines the Msg/UndPurchaseOrder response type.
func (*MsgUndPurchaseOrderResponse) Descriptor ¶
func (*MsgUndPurchaseOrderResponse) Descriptor() ([]byte, []int)
func (*MsgUndPurchaseOrderResponse) GetPurchaseOrderId ¶
func (m *MsgUndPurchaseOrderResponse) GetPurchaseOrderId() uint64
func (*MsgUndPurchaseOrderResponse) Marshal ¶
func (m *MsgUndPurchaseOrderResponse) Marshal() (dAtA []byte, err error)
func (*MsgUndPurchaseOrderResponse) MarshalTo ¶
func (m *MsgUndPurchaseOrderResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUndPurchaseOrderResponse) MarshalToSizedBuffer ¶
func (m *MsgUndPurchaseOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUndPurchaseOrderResponse) ProtoMessage ¶
func (*MsgUndPurchaseOrderResponse) ProtoMessage()
func (*MsgUndPurchaseOrderResponse) Reset ¶
func (m *MsgUndPurchaseOrderResponse) Reset()
func (*MsgUndPurchaseOrderResponse) Size ¶
func (m *MsgUndPurchaseOrderResponse) Size() (n int)
func (*MsgUndPurchaseOrderResponse) String ¶
func (m *MsgUndPurchaseOrderResponse) String() string
func (*MsgUndPurchaseOrderResponse) Unmarshal ¶
func (m *MsgUndPurchaseOrderResponse) Unmarshal(dAtA []byte) error
func (*MsgUndPurchaseOrderResponse) XXX_DiscardUnknown ¶
func (m *MsgUndPurchaseOrderResponse) XXX_DiscardUnknown()
func (*MsgUndPurchaseOrderResponse) XXX_Marshal ¶
func (m *MsgUndPurchaseOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUndPurchaseOrderResponse) XXX_Merge ¶
func (m *MsgUndPurchaseOrderResponse) XXX_Merge(src proto.Message)
func (*MsgUndPurchaseOrderResponse) XXX_Size ¶
func (m *MsgUndPurchaseOrderResponse) XXX_Size() int
func (*MsgUndPurchaseOrderResponse) XXX_Unmarshal ¶
func (m *MsgUndPurchaseOrderResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateParams ¶ added in v1.10.0
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"` // params defines the x/staking parameters to update. // // NOTE: All parameters must be supplied. Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
MsgUpdateParams is the Msg/UpdateParams request type.
Since: cosmos-sdk 0.47
func (*MsgUpdateParams) Descriptor ¶ added in v1.10.0
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶ added in v1.10.0
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶ added in v1.10.0
func (m *MsgUpdateParams) GetParams() Params
func (MsgUpdateParams) GetSignBytes ¶ added in v1.10.0
func (m MsgUpdateParams) GetSignBytes() []byte
GetSignBytes returns the raw bytes for a MsgUpdateParams message that the expected signer needs to sign.
func (*MsgUpdateParams) GetSigners ¶ added in v1.10.0
func (m *MsgUpdateParams) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgUpdateParams message.
func (*MsgUpdateParams) Marshal ¶ added in v1.10.0
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalTo ¶ added in v1.10.0
func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶ added in v1.10.0
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶ added in v1.10.0
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶ added in v1.10.0
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Size ¶ added in v1.10.0
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶ added in v1.10.0
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Unmarshal ¶ added in v1.10.0
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) ValidateBasic ¶ added in v1.10.0
func (m *MsgUpdateParams) ValidateBasic() error
ValidateBasic does a sanity check on the provided data.
func (*MsgUpdateParams) XXX_DiscardUnknown ¶ added in v1.10.0
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶ added in v1.10.0
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶ added in v1.10.0
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶ added in v1.10.0
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶ added in v1.10.0
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶ added in v1.10.0
type MsgUpdateParamsResponse struct { }
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
Since: cosmos-sdk 0.47
func (*MsgUpdateParamsResponse) Descriptor ¶ added in v1.10.0
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶ added in v1.10.0
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶ added in v1.10.0
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶ added in v1.10.0
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶ added in v1.10.0
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶ added in v1.10.0
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶ added in v1.10.0
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶ added in v1.10.0
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶ added in v1.10.0
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶ added in v1.10.0
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶ added in v1.10.0
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶ added in v1.10.0
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶ added in v1.10.0
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶ added in v1.10.0
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type MsgWhitelistAddress ¶
type MsgWhitelistAddress struct { // address is the address for which the action is being executed Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // signer is the address of the authorised decision maker Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` // whitelist_action is the action being executed, and is either add or remove. Action WhitelistAction `` /* 146-byte string literal not displayed */ }
MsgWhitelistAddress represents a message to processed an address whitelist action. only addresses whitelisted by an authorised decision maker can raise new purchase orders
func NewMsgWhitelistAddress ¶
func NewMsgWhitelistAddress(address sdk.AccAddress, action WhitelistAction, signer sdk.AccAddress) *MsgWhitelistAddress
NewMsgWhitelistAddress is a constructor function for MsgWhitelistAddress
func (*MsgWhitelistAddress) Descriptor ¶
func (*MsgWhitelistAddress) Descriptor() ([]byte, []int)
func (MsgWhitelistAddress) GetSignBytes ¶
func (msg MsgWhitelistAddress) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgWhitelistAddress) GetSigners ¶
func (msg MsgWhitelistAddress) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgWhitelistAddress) Marshal ¶
func (m *MsgWhitelistAddress) Marshal() (dAtA []byte, err error)
func (*MsgWhitelistAddress) MarshalTo ¶
func (m *MsgWhitelistAddress) MarshalTo(dAtA []byte) (int, error)
func (*MsgWhitelistAddress) MarshalToSizedBuffer ¶
func (m *MsgWhitelistAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWhitelistAddress) ProtoMessage ¶
func (*MsgWhitelistAddress) ProtoMessage()
func (*MsgWhitelistAddress) Reset ¶
func (m *MsgWhitelistAddress) Reset()
func (MsgWhitelistAddress) Route ¶
func (msg MsgWhitelistAddress) Route() string
Route should return the name of the module
func (*MsgWhitelistAddress) Size ¶
func (m *MsgWhitelistAddress) Size() (n int)
func (*MsgWhitelistAddress) String ¶
func (m *MsgWhitelistAddress) String() string
func (MsgWhitelistAddress) Type ¶
func (msg MsgWhitelistAddress) Type() string
Type should return the action
func (*MsgWhitelistAddress) Unmarshal ¶
func (m *MsgWhitelistAddress) Unmarshal(dAtA []byte) error
func (MsgWhitelistAddress) ValidateBasic ¶
func (msg MsgWhitelistAddress) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgWhitelistAddress) XXX_DiscardUnknown ¶
func (m *MsgWhitelistAddress) XXX_DiscardUnknown()
func (*MsgWhitelistAddress) XXX_Marshal ¶
func (m *MsgWhitelistAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWhitelistAddress) XXX_Merge ¶
func (m *MsgWhitelistAddress) XXX_Merge(src proto.Message)
func (*MsgWhitelistAddress) XXX_Size ¶
func (m *MsgWhitelistAddress) XXX_Size() int
func (*MsgWhitelistAddress) XXX_Unmarshal ¶
func (m *MsgWhitelistAddress) XXX_Unmarshal(b []byte) error
type MsgWhitelistAddressResponse ¶
type MsgWhitelistAddressResponse struct { }
MsgWhitelistAddressResponse defines the Msg/WhitelistAddress response type.
func (*MsgWhitelistAddressResponse) Descriptor ¶
func (*MsgWhitelistAddressResponse) Descriptor() ([]byte, []int)
func (*MsgWhitelistAddressResponse) Marshal ¶
func (m *MsgWhitelistAddressResponse) Marshal() (dAtA []byte, err error)
func (*MsgWhitelistAddressResponse) MarshalTo ¶
func (m *MsgWhitelistAddressResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWhitelistAddressResponse) MarshalToSizedBuffer ¶
func (m *MsgWhitelistAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWhitelistAddressResponse) ProtoMessage ¶
func (*MsgWhitelistAddressResponse) ProtoMessage()
func (*MsgWhitelistAddressResponse) Reset ¶
func (m *MsgWhitelistAddressResponse) Reset()
func (*MsgWhitelistAddressResponse) Size ¶
func (m *MsgWhitelistAddressResponse) Size() (n int)
func (*MsgWhitelistAddressResponse) String ¶
func (m *MsgWhitelistAddressResponse) String() string
func (*MsgWhitelistAddressResponse) Unmarshal ¶
func (m *MsgWhitelistAddressResponse) Unmarshal(dAtA []byte) error
func (*MsgWhitelistAddressResponse) XXX_DiscardUnknown ¶
func (m *MsgWhitelistAddressResponse) XXX_DiscardUnknown()
func (*MsgWhitelistAddressResponse) XXX_Marshal ¶
func (m *MsgWhitelistAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWhitelistAddressResponse) XXX_Merge ¶
func (m *MsgWhitelistAddressResponse) XXX_Merge(src proto.Message)
func (*MsgWhitelistAddressResponse) XXX_Size ¶
func (m *MsgWhitelistAddressResponse) XXX_Size() int
func (*MsgWhitelistAddressResponse) XXX_Unmarshal ¶
func (m *MsgWhitelistAddressResponse) XXX_Unmarshal(b []byte) error
type ParamSubspace ¶
type ParamSubspace interface { Get(ctx sdk.Context, key []byte, ptr interface{}) Set(ctx sdk.Context, key []byte, param interface{}) }
ParamSubspace defines the expected Subspace interface for parameters (noalias)
type Params ¶
type Params struct { // ent_signers is a list of addresses authorised to make decisions on raised purchase orders EntSigners string `protobuf:"bytes,1,opt,name=ent_signers,json=entSigners,proto3" json:"ent_signers,omitempty"` // denom is the denomination of eFUND, e.g. nund Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` // min_accepts is the minumum number of ent_signers required to accept a PO before it is processed and efUND minted MinAccepts uint64 `protobuf:"varint,3,opt,name=min_accepts,json=minAccepts,proto3" json:"min_accepts,omitempty"` // decision_time_limit is the time limit within which all decisions must be made for a raised purchase order. DecisionTimeLimit uint64 `protobuf:"varint,4,opt,name=decision_time_limit,json=decisionTimeLimit,proto3" json:"decision_time_limit,omitempty"` }
Params defines the parameters for the enterprise module.
func (*Params) Descriptor ¶
func (*Params) GetDecisionTimeLimit ¶
func (*Params) GetEntSigners ¶
func (*Params) GetMinAccepts ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
Implements params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type PurchaseOrderDecision ¶
type PurchaseOrderDecision struct { // signer is an authorised address for making decisions Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` // decision is the decision made, i.e. accept/reject Decision PurchaseOrderStatus `protobuf:"varint,2,opt,name=decision,proto3,enum=mainchain.enterprise.v1.PurchaseOrderStatus" json:"decision,omitempty"` // decision_time is a unix epoch value of the decision submission time DecisionTime uint64 `protobuf:"varint,3,opt,name=decision_time,json=decisionTime,proto3" json:"decision_time,omitempty"` }
PurchaseOrderDecision defines a decision made for a given purchase order, ie, whether to accept or reject
func (*PurchaseOrderDecision) Descriptor ¶
func (*PurchaseOrderDecision) Descriptor() ([]byte, []int)
func (*PurchaseOrderDecision) GetDecision ¶
func (m *PurchaseOrderDecision) GetDecision() PurchaseOrderStatus
func (*PurchaseOrderDecision) GetDecisionTime ¶
func (m *PurchaseOrderDecision) GetDecisionTime() uint64
func (*PurchaseOrderDecision) GetSigner ¶
func (m *PurchaseOrderDecision) GetSigner() string
func (*PurchaseOrderDecision) Marshal ¶
func (m *PurchaseOrderDecision) Marshal() (dAtA []byte, err error)
func (*PurchaseOrderDecision) MarshalTo ¶
func (m *PurchaseOrderDecision) MarshalTo(dAtA []byte) (int, error)
func (*PurchaseOrderDecision) MarshalToSizedBuffer ¶
func (m *PurchaseOrderDecision) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PurchaseOrderDecision) ProtoMessage ¶
func (*PurchaseOrderDecision) ProtoMessage()
func (*PurchaseOrderDecision) Reset ¶
func (m *PurchaseOrderDecision) Reset()
func (*PurchaseOrderDecision) Size ¶
func (m *PurchaseOrderDecision) Size() (n int)
func (*PurchaseOrderDecision) String ¶
func (m *PurchaseOrderDecision) String() string
func (*PurchaseOrderDecision) Unmarshal ¶
func (m *PurchaseOrderDecision) Unmarshal(dAtA []byte) error
func (*PurchaseOrderDecision) XXX_DiscardUnknown ¶
func (m *PurchaseOrderDecision) XXX_DiscardUnknown()
func (*PurchaseOrderDecision) XXX_Marshal ¶
func (m *PurchaseOrderDecision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PurchaseOrderDecision) XXX_Merge ¶
func (m *PurchaseOrderDecision) XXX_Merge(src proto.Message)
func (*PurchaseOrderDecision) XXX_Size ¶
func (m *PurchaseOrderDecision) XXX_Size() int
func (*PurchaseOrderDecision) XXX_Unmarshal ¶
func (m *PurchaseOrderDecision) XXX_Unmarshal(b []byte) error
type PurchaseOrderDecisions ¶
type PurchaseOrderDecisions []PurchaseOrderDecision
type PurchaseOrderStatus ¶
type PurchaseOrderStatus int32
PurchaseOrderStatus enumerates the valid statuses for a given purchase order.
const ( // STATUS_NIL defines a no-op status. StatusNil PurchaseOrderStatus = 0 // STATUS_RAISED defines a raised status. StatusRaised PurchaseOrderStatus = 1 // STATUS_ACCEPTED defines an accepted status. StatusAccepted PurchaseOrderStatus = 2 // STATUS_REJECTED defines a rejected status. StatusRejected PurchaseOrderStatus = 3 // STATUS_COMPLETED defines a completed status. StatusCompleted PurchaseOrderStatus = 4 )
func PurchaseOrderStatusFromString ¶
func PurchaseOrderStatusFromString(str string) (PurchaseOrderStatus, error)
PurchaseOrderStatusFromString turns a string into a ProposalStatus
func (PurchaseOrderStatus) EnumDescriptor ¶
func (PurchaseOrderStatus) EnumDescriptor() ([]byte, []int)
func (PurchaseOrderStatus) Format ¶
func (status PurchaseOrderStatus) Format(s fmt.State, verb rune)
Format implements the fmt.Formatter interface. nolint: errcheck
func (PurchaseOrderStatus) Marshal ¶
func (status PurchaseOrderStatus) Marshal() ([]byte, error)
Marshal needed for protobuf compatibility
func (PurchaseOrderStatus) String ¶
func (x PurchaseOrderStatus) String() string
func (PurchaseOrderStatus) StringNice ¶
func (status PurchaseOrderStatus) StringNice() string
StringNice outputs the status for logs/queries etc. in a nicer readable way.
func (*PurchaseOrderStatus) Unmarshal ¶
func (status *PurchaseOrderStatus) Unmarshal(data []byte) error
Unmarshal needed for protobuf compatibility
type PurchaseOrders ¶
type PurchaseOrders struct {
PurchaseOrders []*EnterpriseUndPurchaseOrder `protobuf:"bytes,1,rep,name=purchase_orders,json=purchaseOrders,proto3" json:"purchase_orders,omitempty"`
}
PurchaseOrders defines a list of purchase orders
func (*PurchaseOrders) Descriptor ¶
func (*PurchaseOrders) Descriptor() ([]byte, []int)
func (*PurchaseOrders) GetPurchaseOrders ¶
func (m *PurchaseOrders) GetPurchaseOrders() []*EnterpriseUndPurchaseOrder
func (*PurchaseOrders) Marshal ¶
func (m *PurchaseOrders) Marshal() (dAtA []byte, err error)
func (*PurchaseOrders) MarshalToSizedBuffer ¶
func (m *PurchaseOrders) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PurchaseOrders) ProtoMessage ¶
func (*PurchaseOrders) ProtoMessage()
func (*PurchaseOrders) Reset ¶
func (m *PurchaseOrders) Reset()
func (*PurchaseOrders) Size ¶
func (m *PurchaseOrders) Size() (n int)
func (*PurchaseOrders) String ¶
func (m *PurchaseOrders) String() string
func (*PurchaseOrders) Unmarshal ¶
func (m *PurchaseOrders) Unmarshal(dAtA []byte) error
func (*PurchaseOrders) XXX_DiscardUnknown ¶
func (m *PurchaseOrders) XXX_DiscardUnknown()
func (*PurchaseOrders) XXX_Marshal ¶
func (m *PurchaseOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PurchaseOrders) XXX_Merge ¶
func (m *PurchaseOrders) XXX_Merge(src proto.Message)
func (*PurchaseOrders) XXX_Size ¶
func (m *PurchaseOrders) XXX_Size() int
func (*PurchaseOrders) XXX_Unmarshal ¶
func (m *PurchaseOrders) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Params queries the parameters of x/enterprise module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // EnterpriseUndPurchaseOrder queries purchase order details based on PurchaseOrderId. EnterpriseUndPurchaseOrder(ctx context.Context, in *QueryEnterpriseUndPurchaseOrderRequest, opts ...grpc.CallOption) (*QueryEnterpriseUndPurchaseOrderResponse, error) // EnterpriseUndPurchaseOrders queries all current purchase orders. EnterpriseUndPurchaseOrders(ctx context.Context, in *QueryEnterpriseUndPurchaseOrdersRequest, opts ...grpc.CallOption) (*QueryEnterpriseUndPurchaseOrdersResponse, error) // LockedUndByAddress queries an account address for their locked FUND LockedUndByAddress(ctx context.Context, in *QueryLockedUndByAddressRequest, opts ...grpc.CallOption) (*QueryLockedUndByAddressResponse, error) // TotalLocked queries the total locked FUND TotalLocked(ctx context.Context, in *QueryTotalLockedRequest, opts ...grpc.CallOption) (*QueryTotalLockedResponse, error) // TotalUnlocked queries the total Unlocked FUND TotalUnlocked(ctx context.Context, in *QueryTotalUnlockedRequest, opts ...grpc.CallOption) (*QueryTotalUnlockedResponse, error) // EnterpriseSupply queries the chain's supply, including locked Ent. FUND. Only returns nund data EnterpriseSupply(ctx context.Context, in *QueryEnterpriseSupplyRequest, opts ...grpc.CallOption) (*QueryEnterpriseSupplyResponse, error) // TotalSupply should be used instead of /cosmos/bank/v1beta1/supply to get true total supply available // for general use, i.e. with locked eFUND removed from total for nund TotalSupply(ctx context.Context, in *QueryTotalSupplyRequest, opts ...grpc.CallOption) (*QueryTotalSupplyResponse, error) // SupplyOf should be used in place of /cosmos/bank/v1beta1/supply to get true total supply, // with locked eFUND removed from total for nund SupplyOf(ctx context.Context, in *QuerySupplyOfRequest, opts ...grpc.CallOption) (*QuerySupplyOfResponse, error) // TotalSupplyOverwrite should be used instead of /cosmos/bank/v1beta1/supply to get true total supply available // for general use, i.e. with locked eFUND removed from total for nund TotalSupplyOverwrite(ctx context.Context, in *QueryTotalSupplyRequest, opts ...grpc.CallOption) (*QueryTotalSupplyResponse, error) // SupplyOf should be used in place of /cosmos/bank/v1beta1/supply to get true total supply, // with locked eFUND removed from total for nund SupplyOfOverwrite(ctx context.Context, in *QuerySupplyOfRequest, opts ...grpc.CallOption) (*QuerySupplyOfResponse, error) // Whitelist queries whitelisted addresses authorised to raise new purchase orders Whitelist(ctx context.Context, in *QueryWhitelistRequest, opts ...grpc.CallOption) (*QueryWhitelistResponse, error) // Whitelisted queries whether or not the given address is authorised to raise new purchase orders Whitelisted(ctx context.Context, in *QueryWhitelistedRequest, opts ...grpc.CallOption) (*QueryWhitelistedResponse, error) // EnterpriseAccount queries an account address for their locked FUND and other data EnterpriseAccount(ctx context.Context, in *QueryEnterpriseAccountRequest, opts ...grpc.CallOption) (*QueryEnterpriseAccountResponse, error) // TotalSpentEFUND queries the total eFUND usage to date - i.e. the amount used to pay fees TotalSpentEFUND(ctx context.Context, in *QueryTotalSpentEFUNDRequest, opts ...grpc.CallOption) (*QueryTotalSpentEFUNDResponse, error) // SpentEFUNDByAddress queries the total eFUND usage to date for a given address, i.e. the amount used to pay fees SpentEFUNDByAddress(ctx context.Context, in *QuerySpentEFUNDByAddressRequest, opts ...grpc.CallOption) (*QuerySpentEFUNDByAddressResponse, 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 QueryEnterpriseAccountRequest ¶
type QueryEnterpriseAccountRequest struct { // address is the address to query Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` }
QueryEnterpriseAccountRequest is the request type for the Query/EnterpriseAccount RPC method.
func (*QueryEnterpriseAccountRequest) Descriptor ¶
func (*QueryEnterpriseAccountRequest) Descriptor() ([]byte, []int)
func (*QueryEnterpriseAccountRequest) GetAddress ¶
func (m *QueryEnterpriseAccountRequest) GetAddress() string
func (*QueryEnterpriseAccountRequest) Marshal ¶
func (m *QueryEnterpriseAccountRequest) Marshal() (dAtA []byte, err error)
func (*QueryEnterpriseAccountRequest) MarshalTo ¶
func (m *QueryEnterpriseAccountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryEnterpriseAccountRequest) MarshalToSizedBuffer ¶
func (m *QueryEnterpriseAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEnterpriseAccountRequest) ProtoMessage ¶
func (*QueryEnterpriseAccountRequest) ProtoMessage()
func (*QueryEnterpriseAccountRequest) Reset ¶
func (m *QueryEnterpriseAccountRequest) Reset()
func (*QueryEnterpriseAccountRequest) Size ¶
func (m *QueryEnterpriseAccountRequest) Size() (n int)
func (*QueryEnterpriseAccountRequest) String ¶
func (m *QueryEnterpriseAccountRequest) String() string
func (*QueryEnterpriseAccountRequest) Unmarshal ¶
func (m *QueryEnterpriseAccountRequest) Unmarshal(dAtA []byte) error
func (*QueryEnterpriseAccountRequest) XXX_DiscardUnknown ¶
func (m *QueryEnterpriseAccountRequest) XXX_DiscardUnknown()
func (*QueryEnterpriseAccountRequest) XXX_Marshal ¶
func (m *QueryEnterpriseAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEnterpriseAccountRequest) XXX_Merge ¶
func (m *QueryEnterpriseAccountRequest) XXX_Merge(src proto.Message)
func (*QueryEnterpriseAccountRequest) XXX_Size ¶
func (m *QueryEnterpriseAccountRequest) XXX_Size() int
func (*QueryEnterpriseAccountRequest) XXX_Unmarshal ¶
func (m *QueryEnterpriseAccountRequest) XXX_Unmarshal(b []byte) error
type QueryEnterpriseAccountResponse ¶
type QueryEnterpriseAccountResponse struct {
Account EnterpriseUserAccount `protobuf:"bytes,1,opt,name=account,proto3" json:"account"`
}
QueryEnterpriseAccountResponse is the response type for the Query/EnterpriseAccount RPC method.
func (*QueryEnterpriseAccountResponse) Descriptor ¶
func (*QueryEnterpriseAccountResponse) Descriptor() ([]byte, []int)
func (*QueryEnterpriseAccountResponse) GetAccount ¶
func (m *QueryEnterpriseAccountResponse) GetAccount() EnterpriseUserAccount
func (*QueryEnterpriseAccountResponse) Marshal ¶
func (m *QueryEnterpriseAccountResponse) Marshal() (dAtA []byte, err error)
func (*QueryEnterpriseAccountResponse) MarshalTo ¶
func (m *QueryEnterpriseAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryEnterpriseAccountResponse) MarshalToSizedBuffer ¶
func (m *QueryEnterpriseAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEnterpriseAccountResponse) ProtoMessage ¶
func (*QueryEnterpriseAccountResponse) ProtoMessage()
func (*QueryEnterpriseAccountResponse) Reset ¶
func (m *QueryEnterpriseAccountResponse) Reset()
func (*QueryEnterpriseAccountResponse) Size ¶
func (m *QueryEnterpriseAccountResponse) Size() (n int)
func (*QueryEnterpriseAccountResponse) String ¶
func (m *QueryEnterpriseAccountResponse) String() string
func (*QueryEnterpriseAccountResponse) Unmarshal ¶
func (m *QueryEnterpriseAccountResponse) Unmarshal(dAtA []byte) error
func (*QueryEnterpriseAccountResponse) XXX_DiscardUnknown ¶
func (m *QueryEnterpriseAccountResponse) XXX_DiscardUnknown()
func (*QueryEnterpriseAccountResponse) XXX_Marshal ¶
func (m *QueryEnterpriseAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEnterpriseAccountResponse) XXX_Merge ¶
func (m *QueryEnterpriseAccountResponse) XXX_Merge(src proto.Message)
func (*QueryEnterpriseAccountResponse) XXX_Size ¶
func (m *QueryEnterpriseAccountResponse) XXX_Size() int
func (*QueryEnterpriseAccountResponse) XXX_Unmarshal ¶
func (m *QueryEnterpriseAccountResponse) XXX_Unmarshal(b []byte) error
type QueryEnterpriseSupplyRequest ¶
type QueryEnterpriseSupplyRequest struct { }
QueryEnterpriseSupplyRequest is the request type for the Query/EnterpriseSupply RPC method
func (*QueryEnterpriseSupplyRequest) Descriptor ¶
func (*QueryEnterpriseSupplyRequest) Descriptor() ([]byte, []int)
func (*QueryEnterpriseSupplyRequest) Marshal ¶
func (m *QueryEnterpriseSupplyRequest) Marshal() (dAtA []byte, err error)
func (*QueryEnterpriseSupplyRequest) MarshalTo ¶
func (m *QueryEnterpriseSupplyRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryEnterpriseSupplyRequest) MarshalToSizedBuffer ¶
func (m *QueryEnterpriseSupplyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEnterpriseSupplyRequest) ProtoMessage ¶
func (*QueryEnterpriseSupplyRequest) ProtoMessage()
func (*QueryEnterpriseSupplyRequest) Reset ¶
func (m *QueryEnterpriseSupplyRequest) Reset()
func (*QueryEnterpriseSupplyRequest) Size ¶
func (m *QueryEnterpriseSupplyRequest) Size() (n int)
func (*QueryEnterpriseSupplyRequest) String ¶
func (m *QueryEnterpriseSupplyRequest) String() string
func (*QueryEnterpriseSupplyRequest) Unmarshal ¶
func (m *QueryEnterpriseSupplyRequest) Unmarshal(dAtA []byte) error
func (*QueryEnterpriseSupplyRequest) XXX_DiscardUnknown ¶
func (m *QueryEnterpriseSupplyRequest) XXX_DiscardUnknown()
func (*QueryEnterpriseSupplyRequest) XXX_Marshal ¶
func (m *QueryEnterpriseSupplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEnterpriseSupplyRequest) XXX_Merge ¶
func (m *QueryEnterpriseSupplyRequest) XXX_Merge(src proto.Message)
func (*QueryEnterpriseSupplyRequest) XXX_Size ¶
func (m *QueryEnterpriseSupplyRequest) XXX_Size() int
func (*QueryEnterpriseSupplyRequest) XXX_Unmarshal ¶
func (m *QueryEnterpriseSupplyRequest) XXX_Unmarshal(b []byte) error
type QueryEnterpriseSupplyResponse ¶
type QueryEnterpriseSupplyResponse struct {
Supply UndSupply `protobuf:"bytes,1,opt,name=supply,proto3" json:"supply"`
}
QueryEnterpriseSupplyResponse is the response type for the Query/EnterpriseSupply RPC method
func (*QueryEnterpriseSupplyResponse) Descriptor ¶
func (*QueryEnterpriseSupplyResponse) Descriptor() ([]byte, []int)
func (*QueryEnterpriseSupplyResponse) GetSupply ¶
func (m *QueryEnterpriseSupplyResponse) GetSupply() UndSupply
func (*QueryEnterpriseSupplyResponse) Marshal ¶
func (m *QueryEnterpriseSupplyResponse) Marshal() (dAtA []byte, err error)
func (*QueryEnterpriseSupplyResponse) MarshalTo ¶
func (m *QueryEnterpriseSupplyResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryEnterpriseSupplyResponse) MarshalToSizedBuffer ¶
func (m *QueryEnterpriseSupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEnterpriseSupplyResponse) ProtoMessage ¶
func (*QueryEnterpriseSupplyResponse) ProtoMessage()
func (*QueryEnterpriseSupplyResponse) Reset ¶
func (m *QueryEnterpriseSupplyResponse) Reset()
func (*QueryEnterpriseSupplyResponse) Size ¶
func (m *QueryEnterpriseSupplyResponse) Size() (n int)
func (*QueryEnterpriseSupplyResponse) String ¶
func (m *QueryEnterpriseSupplyResponse) String() string
func (*QueryEnterpriseSupplyResponse) Unmarshal ¶
func (m *QueryEnterpriseSupplyResponse) Unmarshal(dAtA []byte) error
func (*QueryEnterpriseSupplyResponse) XXX_DiscardUnknown ¶
func (m *QueryEnterpriseSupplyResponse) XXX_DiscardUnknown()
func (*QueryEnterpriseSupplyResponse) XXX_Marshal ¶
func (m *QueryEnterpriseSupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEnterpriseSupplyResponse) XXX_Merge ¶
func (m *QueryEnterpriseSupplyResponse) XXX_Merge(src proto.Message)
func (*QueryEnterpriseSupplyResponse) XXX_Size ¶
func (m *QueryEnterpriseSupplyResponse) XXX_Size() int
func (*QueryEnterpriseSupplyResponse) XXX_Unmarshal ¶
func (m *QueryEnterpriseSupplyResponse) XXX_Unmarshal(b []byte) error
type QueryEnterpriseUndPurchaseOrderRequest ¶
type QueryEnterpriseUndPurchaseOrderRequest struct { // purchase_order_id defines the PO to query for. PurchaseOrderId uint64 `protobuf:"varint,1,opt,name=purchase_order_id,json=purchaseOrderId,proto3" json:"purchase_order_id,omitempty"` }
QueryEnterpriseUndPurchaseOrderRequest is the request type for the Query/EnterpriseUndPurchaseOrder RPC method.
func (*QueryEnterpriseUndPurchaseOrderRequest) Descriptor ¶
func (*QueryEnterpriseUndPurchaseOrderRequest) Descriptor() ([]byte, []int)
func (*QueryEnterpriseUndPurchaseOrderRequest) GetPurchaseOrderId ¶
func (m *QueryEnterpriseUndPurchaseOrderRequest) GetPurchaseOrderId() uint64
func (*QueryEnterpriseUndPurchaseOrderRequest) Marshal ¶
func (m *QueryEnterpriseUndPurchaseOrderRequest) Marshal() (dAtA []byte, err error)
func (*QueryEnterpriseUndPurchaseOrderRequest) MarshalTo ¶
func (m *QueryEnterpriseUndPurchaseOrderRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryEnterpriseUndPurchaseOrderRequest) MarshalToSizedBuffer ¶
func (m *QueryEnterpriseUndPurchaseOrderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEnterpriseUndPurchaseOrderRequest) ProtoMessage ¶
func (*QueryEnterpriseUndPurchaseOrderRequest) ProtoMessage()
func (*QueryEnterpriseUndPurchaseOrderRequest) Reset ¶
func (m *QueryEnterpriseUndPurchaseOrderRequest) Reset()
func (*QueryEnterpriseUndPurchaseOrderRequest) Size ¶
func (m *QueryEnterpriseUndPurchaseOrderRequest) Size() (n int)
func (*QueryEnterpriseUndPurchaseOrderRequest) String ¶
func (m *QueryEnterpriseUndPurchaseOrderRequest) String() string
func (*QueryEnterpriseUndPurchaseOrderRequest) Unmarshal ¶
func (m *QueryEnterpriseUndPurchaseOrderRequest) Unmarshal(dAtA []byte) error
func (*QueryEnterpriseUndPurchaseOrderRequest) XXX_DiscardUnknown ¶
func (m *QueryEnterpriseUndPurchaseOrderRequest) XXX_DiscardUnknown()
func (*QueryEnterpriseUndPurchaseOrderRequest) XXX_Marshal ¶
func (m *QueryEnterpriseUndPurchaseOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEnterpriseUndPurchaseOrderRequest) XXX_Merge ¶
func (m *QueryEnterpriseUndPurchaseOrderRequest) XXX_Merge(src proto.Message)
func (*QueryEnterpriseUndPurchaseOrderRequest) XXX_Size ¶
func (m *QueryEnterpriseUndPurchaseOrderRequest) XXX_Size() int
func (*QueryEnterpriseUndPurchaseOrderRequest) XXX_Unmarshal ¶
func (m *QueryEnterpriseUndPurchaseOrderRequest) XXX_Unmarshal(b []byte) error
type QueryEnterpriseUndPurchaseOrderResponse ¶
type QueryEnterpriseUndPurchaseOrderResponse struct {
PurchaseOrder EnterpriseUndPurchaseOrder `protobuf:"bytes,1,opt,name=purchase_order,json=purchaseOrder,proto3" json:"purchase_order"`
}
QueryEnterpriseUndPurchaseOrderResponse is the response type for the Query/EnterpriseUndPurchaseOrder RPC method.
func (*QueryEnterpriseUndPurchaseOrderResponse) Descriptor ¶
func (*QueryEnterpriseUndPurchaseOrderResponse) Descriptor() ([]byte, []int)
func (*QueryEnterpriseUndPurchaseOrderResponse) GetPurchaseOrder ¶
func (m *QueryEnterpriseUndPurchaseOrderResponse) GetPurchaseOrder() EnterpriseUndPurchaseOrder
func (*QueryEnterpriseUndPurchaseOrderResponse) Marshal ¶
func (m *QueryEnterpriseUndPurchaseOrderResponse) Marshal() (dAtA []byte, err error)
func (*QueryEnterpriseUndPurchaseOrderResponse) MarshalTo ¶
func (m *QueryEnterpriseUndPurchaseOrderResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryEnterpriseUndPurchaseOrderResponse) MarshalToSizedBuffer ¶
func (m *QueryEnterpriseUndPurchaseOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEnterpriseUndPurchaseOrderResponse) ProtoMessage ¶
func (*QueryEnterpriseUndPurchaseOrderResponse) ProtoMessage()
func (*QueryEnterpriseUndPurchaseOrderResponse) Reset ¶
func (m *QueryEnterpriseUndPurchaseOrderResponse) Reset()
func (*QueryEnterpriseUndPurchaseOrderResponse) Size ¶
func (m *QueryEnterpriseUndPurchaseOrderResponse) Size() (n int)
func (*QueryEnterpriseUndPurchaseOrderResponse) String ¶
func (m *QueryEnterpriseUndPurchaseOrderResponse) String() string
func (*QueryEnterpriseUndPurchaseOrderResponse) Unmarshal ¶
func (m *QueryEnterpriseUndPurchaseOrderResponse) Unmarshal(dAtA []byte) error
func (*QueryEnterpriseUndPurchaseOrderResponse) XXX_DiscardUnknown ¶
func (m *QueryEnterpriseUndPurchaseOrderResponse) XXX_DiscardUnknown()
func (*QueryEnterpriseUndPurchaseOrderResponse) XXX_Marshal ¶
func (m *QueryEnterpriseUndPurchaseOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEnterpriseUndPurchaseOrderResponse) XXX_Merge ¶
func (m *QueryEnterpriseUndPurchaseOrderResponse) XXX_Merge(src proto.Message)
func (*QueryEnterpriseUndPurchaseOrderResponse) XXX_Size ¶
func (m *QueryEnterpriseUndPurchaseOrderResponse) XXX_Size() int
func (*QueryEnterpriseUndPurchaseOrderResponse) XXX_Unmarshal ¶
func (m *QueryEnterpriseUndPurchaseOrderResponse) XXX_Unmarshal(b []byte) error
type QueryEnterpriseUndPurchaseOrdersRequest ¶
type QueryEnterpriseUndPurchaseOrdersRequest struct { Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Purchaser string `protobuf:"bytes,2,opt,name=purchaser,proto3" json:"purchaser,omitempty"` Status PurchaseOrderStatus `protobuf:"varint,3,opt,name=status,proto3,enum=mainchain.enterprise.v1.PurchaseOrderStatus" json:"status,omitempty"` }
QueryEnterpriseUndPurchaseOrdersRequest is the request type for the Query/EnterpriseUndPurchaseOrders RPC method
func (*QueryEnterpriseUndPurchaseOrdersRequest) Descriptor ¶
func (*QueryEnterpriseUndPurchaseOrdersRequest) Descriptor() ([]byte, []int)
func (*QueryEnterpriseUndPurchaseOrdersRequest) GetPagination ¶
func (m *QueryEnterpriseUndPurchaseOrdersRequest) GetPagination() *query.PageRequest
func (*QueryEnterpriseUndPurchaseOrdersRequest) GetPurchaser ¶
func (m *QueryEnterpriseUndPurchaseOrdersRequest) GetPurchaser() string
func (*QueryEnterpriseUndPurchaseOrdersRequest) GetStatus ¶
func (m *QueryEnterpriseUndPurchaseOrdersRequest) GetStatus() PurchaseOrderStatus
func (*QueryEnterpriseUndPurchaseOrdersRequest) Marshal ¶
func (m *QueryEnterpriseUndPurchaseOrdersRequest) Marshal() (dAtA []byte, err error)
func (*QueryEnterpriseUndPurchaseOrdersRequest) MarshalTo ¶
func (m *QueryEnterpriseUndPurchaseOrdersRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryEnterpriseUndPurchaseOrdersRequest) MarshalToSizedBuffer ¶
func (m *QueryEnterpriseUndPurchaseOrdersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEnterpriseUndPurchaseOrdersRequest) ProtoMessage ¶
func (*QueryEnterpriseUndPurchaseOrdersRequest) ProtoMessage()
func (*QueryEnterpriseUndPurchaseOrdersRequest) Reset ¶
func (m *QueryEnterpriseUndPurchaseOrdersRequest) Reset()
func (*QueryEnterpriseUndPurchaseOrdersRequest) Size ¶
func (m *QueryEnterpriseUndPurchaseOrdersRequest) Size() (n int)
func (*QueryEnterpriseUndPurchaseOrdersRequest) String ¶
func (m *QueryEnterpriseUndPurchaseOrdersRequest) String() string
func (*QueryEnterpriseUndPurchaseOrdersRequest) Unmarshal ¶
func (m *QueryEnterpriseUndPurchaseOrdersRequest) Unmarshal(dAtA []byte) error
func (*QueryEnterpriseUndPurchaseOrdersRequest) XXX_DiscardUnknown ¶
func (m *QueryEnterpriseUndPurchaseOrdersRequest) XXX_DiscardUnknown()
func (*QueryEnterpriseUndPurchaseOrdersRequest) XXX_Marshal ¶
func (m *QueryEnterpriseUndPurchaseOrdersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEnterpriseUndPurchaseOrdersRequest) XXX_Merge ¶
func (m *QueryEnterpriseUndPurchaseOrdersRequest) XXX_Merge(src proto.Message)
func (*QueryEnterpriseUndPurchaseOrdersRequest) XXX_Size ¶
func (m *QueryEnterpriseUndPurchaseOrdersRequest) XXX_Size() int
func (*QueryEnterpriseUndPurchaseOrdersRequest) XXX_Unmarshal ¶
func (m *QueryEnterpriseUndPurchaseOrdersRequest) XXX_Unmarshal(b []byte) error
type QueryEnterpriseUndPurchaseOrdersResponse ¶
type QueryEnterpriseUndPurchaseOrdersResponse struct { // purchase_orders is the list of all purchase orders PurchaseOrders []EnterpriseUndPurchaseOrder `protobuf:"bytes,1,rep,name=purchase_orders,json=purchaseOrders,proto3" json:"purchase_orders"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryEnterpriseUndPurchaseOrdersResponse is the response type for the Query/EnterpriseUndPurchaseOrders RPC method
func (*QueryEnterpriseUndPurchaseOrdersResponse) Descriptor ¶
func (*QueryEnterpriseUndPurchaseOrdersResponse) Descriptor() ([]byte, []int)
func (*QueryEnterpriseUndPurchaseOrdersResponse) GetPagination ¶
func (m *QueryEnterpriseUndPurchaseOrdersResponse) GetPagination() *query.PageResponse
func (*QueryEnterpriseUndPurchaseOrdersResponse) GetPurchaseOrders ¶
func (m *QueryEnterpriseUndPurchaseOrdersResponse) GetPurchaseOrders() []EnterpriseUndPurchaseOrder
func (*QueryEnterpriseUndPurchaseOrdersResponse) Marshal ¶
func (m *QueryEnterpriseUndPurchaseOrdersResponse) Marshal() (dAtA []byte, err error)
func (*QueryEnterpriseUndPurchaseOrdersResponse) MarshalTo ¶
func (m *QueryEnterpriseUndPurchaseOrdersResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryEnterpriseUndPurchaseOrdersResponse) MarshalToSizedBuffer ¶
func (m *QueryEnterpriseUndPurchaseOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEnterpriseUndPurchaseOrdersResponse) ProtoMessage ¶
func (*QueryEnterpriseUndPurchaseOrdersResponse) ProtoMessage()
func (*QueryEnterpriseUndPurchaseOrdersResponse) Reset ¶
func (m *QueryEnterpriseUndPurchaseOrdersResponse) Reset()
func (*QueryEnterpriseUndPurchaseOrdersResponse) Size ¶
func (m *QueryEnterpriseUndPurchaseOrdersResponse) Size() (n int)
func (*QueryEnterpriseUndPurchaseOrdersResponse) String ¶
func (m *QueryEnterpriseUndPurchaseOrdersResponse) String() string
func (*QueryEnterpriseUndPurchaseOrdersResponse) Unmarshal ¶
func (m *QueryEnterpriseUndPurchaseOrdersResponse) Unmarshal(dAtA []byte) error
func (*QueryEnterpriseUndPurchaseOrdersResponse) XXX_DiscardUnknown ¶
func (m *QueryEnterpriseUndPurchaseOrdersResponse) XXX_DiscardUnknown()
func (*QueryEnterpriseUndPurchaseOrdersResponse) XXX_Marshal ¶
func (m *QueryEnterpriseUndPurchaseOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEnterpriseUndPurchaseOrdersResponse) XXX_Merge ¶
func (m *QueryEnterpriseUndPurchaseOrdersResponse) XXX_Merge(src proto.Message)
func (*QueryEnterpriseUndPurchaseOrdersResponse) XXX_Size ¶
func (m *QueryEnterpriseUndPurchaseOrdersResponse) XXX_Size() int
func (*QueryEnterpriseUndPurchaseOrdersResponse) XXX_Unmarshal ¶
func (m *QueryEnterpriseUndPurchaseOrdersResponse) XXX_Unmarshal(b []byte) error
type QueryLockedUndByAddressRequest ¶
type QueryLockedUndByAddressRequest struct { // owner is the address to query Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` }
QueryLockedUndByAddressRequest is the request type for the Query/LockedUndByAddress RPC method
func (*QueryLockedUndByAddressRequest) Descriptor ¶
func (*QueryLockedUndByAddressRequest) Descriptor() ([]byte, []int)
func (*QueryLockedUndByAddressRequest) GetOwner ¶
func (m *QueryLockedUndByAddressRequest) GetOwner() string
func (*QueryLockedUndByAddressRequest) Marshal ¶
func (m *QueryLockedUndByAddressRequest) Marshal() (dAtA []byte, err error)
func (*QueryLockedUndByAddressRequest) MarshalTo ¶
func (m *QueryLockedUndByAddressRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryLockedUndByAddressRequest) MarshalToSizedBuffer ¶
func (m *QueryLockedUndByAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLockedUndByAddressRequest) ProtoMessage ¶
func (*QueryLockedUndByAddressRequest) ProtoMessage()
func (*QueryLockedUndByAddressRequest) Reset ¶
func (m *QueryLockedUndByAddressRequest) Reset()
func (*QueryLockedUndByAddressRequest) Size ¶
func (m *QueryLockedUndByAddressRequest) Size() (n int)
func (*QueryLockedUndByAddressRequest) String ¶
func (m *QueryLockedUndByAddressRequest) String() string
func (*QueryLockedUndByAddressRequest) Unmarshal ¶
func (m *QueryLockedUndByAddressRequest) Unmarshal(dAtA []byte) error
func (*QueryLockedUndByAddressRequest) XXX_DiscardUnknown ¶
func (m *QueryLockedUndByAddressRequest) XXX_DiscardUnknown()
func (*QueryLockedUndByAddressRequest) XXX_Marshal ¶
func (m *QueryLockedUndByAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLockedUndByAddressRequest) XXX_Merge ¶
func (m *QueryLockedUndByAddressRequest) XXX_Merge(src proto.Message)
func (*QueryLockedUndByAddressRequest) XXX_Size ¶
func (m *QueryLockedUndByAddressRequest) XXX_Size() int
func (*QueryLockedUndByAddressRequest) XXX_Unmarshal ¶
func (m *QueryLockedUndByAddressRequest) XXX_Unmarshal(b []byte) error
type QueryLockedUndByAddressResponse ¶
type QueryLockedUndByAddressResponse struct {
Amount types.Coin `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount"`
}
QueryLockedUndByAddressResponse is the response type for the Query/LockedUndByAddress RPC method
func (*QueryLockedUndByAddressResponse) Descriptor ¶
func (*QueryLockedUndByAddressResponse) Descriptor() ([]byte, []int)
func (*QueryLockedUndByAddressResponse) GetAmount ¶ added in v1.6.1
func (m *QueryLockedUndByAddressResponse) GetAmount() types.Coin
func (*QueryLockedUndByAddressResponse) Marshal ¶
func (m *QueryLockedUndByAddressResponse) Marshal() (dAtA []byte, err error)
func (*QueryLockedUndByAddressResponse) MarshalTo ¶
func (m *QueryLockedUndByAddressResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryLockedUndByAddressResponse) MarshalToSizedBuffer ¶
func (m *QueryLockedUndByAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLockedUndByAddressResponse) ProtoMessage ¶
func (*QueryLockedUndByAddressResponse) ProtoMessage()
func (*QueryLockedUndByAddressResponse) Reset ¶
func (m *QueryLockedUndByAddressResponse) Reset()
func (*QueryLockedUndByAddressResponse) Size ¶
func (m *QueryLockedUndByAddressResponse) Size() (n int)
func (*QueryLockedUndByAddressResponse) String ¶
func (m *QueryLockedUndByAddressResponse) String() string
func (*QueryLockedUndByAddressResponse) Unmarshal ¶
func (m *QueryLockedUndByAddressResponse) Unmarshal(dAtA []byte) error
func (*QueryLockedUndByAddressResponse) XXX_DiscardUnknown ¶
func (m *QueryLockedUndByAddressResponse) XXX_DiscardUnknown()
func (*QueryLockedUndByAddressResponse) XXX_Marshal ¶
func (m *QueryLockedUndByAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLockedUndByAddressResponse) XXX_Merge ¶
func (m *QueryLockedUndByAddressResponse) XXX_Merge(src proto.Message)
func (*QueryLockedUndByAddressResponse) XXX_Size ¶
func (m *QueryLockedUndByAddressResponse) XXX_Size() int
func (*QueryLockedUndByAddressResponse) XXX_Unmarshal ¶
func (m *QueryLockedUndByAddressResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is the 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 Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
QueryParamsResponse is the 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 QueryPurchaseOrdersParams ¶
type QueryPurchaseOrdersParams struct { Page int Limit int PurchaseOrderStatus PurchaseOrderStatus Purchaser sdk.AccAddress }
QueryPurchaseOrdersParams Params for query 'custom/enterprise/pos'
func NewQueryPurchaseOrdersParams ¶
func NewQueryPurchaseOrdersParams(page, limit int, status PurchaseOrderStatus, purchaser sdk.AccAddress) QueryPurchaseOrdersParams
NewQueryPurchaseOrdersParams creates a new instance of QueryPurchaseOrdersParams
type QueryResPurchaseOrders ¶
type QueryResPurchaseOrders []EnterpriseUndPurchaseOrder
QueryResPurchaseOrders Queries raised Enterprise FUND purchase orders
type QueryServer ¶
type QueryServer interface { // Params queries the parameters of x/enterprise module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // EnterpriseUndPurchaseOrder queries purchase order details based on PurchaseOrderId. EnterpriseUndPurchaseOrder(context.Context, *QueryEnterpriseUndPurchaseOrderRequest) (*QueryEnterpriseUndPurchaseOrderResponse, error) // EnterpriseUndPurchaseOrders queries all current purchase orders. EnterpriseUndPurchaseOrders(context.Context, *QueryEnterpriseUndPurchaseOrdersRequest) (*QueryEnterpriseUndPurchaseOrdersResponse, error) // LockedUndByAddress queries an account address for their locked FUND LockedUndByAddress(context.Context, *QueryLockedUndByAddressRequest) (*QueryLockedUndByAddressResponse, error) // TotalLocked queries the total locked FUND TotalLocked(context.Context, *QueryTotalLockedRequest) (*QueryTotalLockedResponse, error) // TotalUnlocked queries the total Unlocked FUND TotalUnlocked(context.Context, *QueryTotalUnlockedRequest) (*QueryTotalUnlockedResponse, error) // EnterpriseSupply queries the chain's supply, including locked Ent. FUND. Only returns nund data EnterpriseSupply(context.Context, *QueryEnterpriseSupplyRequest) (*QueryEnterpriseSupplyResponse, error) // TotalSupply should be used instead of /cosmos/bank/v1beta1/supply to get true total supply available // for general use, i.e. with locked eFUND removed from total for nund TotalSupply(context.Context, *QueryTotalSupplyRequest) (*QueryTotalSupplyResponse, error) // SupplyOf should be used in place of /cosmos/bank/v1beta1/supply to get true total supply, // with locked eFUND removed from total for nund SupplyOf(context.Context, *QuerySupplyOfRequest) (*QuerySupplyOfResponse, error) // TotalSupplyOverwrite should be used instead of /cosmos/bank/v1beta1/supply to get true total supply available // for general use, i.e. with locked eFUND removed from total for nund TotalSupplyOverwrite(context.Context, *QueryTotalSupplyRequest) (*QueryTotalSupplyResponse, error) // SupplyOf should be used in place of /cosmos/bank/v1beta1/supply to get true total supply, // with locked eFUND removed from total for nund SupplyOfOverwrite(context.Context, *QuerySupplyOfRequest) (*QuerySupplyOfResponse, error) // Whitelist queries whitelisted addresses authorised to raise new purchase orders Whitelist(context.Context, *QueryWhitelistRequest) (*QueryWhitelistResponse, error) // Whitelisted queries whether or not the given address is authorised to raise new purchase orders Whitelisted(context.Context, *QueryWhitelistedRequest) (*QueryWhitelistedResponse, error) // EnterpriseAccount queries an account address for their locked FUND and other data EnterpriseAccount(context.Context, *QueryEnterpriseAccountRequest) (*QueryEnterpriseAccountResponse, error) // TotalSpentEFUND queries the total eFUND usage to date - i.e. the amount used to pay fees TotalSpentEFUND(context.Context, *QueryTotalSpentEFUNDRequest) (*QueryTotalSpentEFUNDResponse, error) // SpentEFUNDByAddress queries the total eFUND usage to date for a given address, i.e. the amount used to pay fees SpentEFUNDByAddress(context.Context, *QuerySpentEFUNDByAddressRequest) (*QuerySpentEFUNDByAddressResponse, error) }
QueryServer is the server API for Query service.
type QuerySpentEFUNDByAddressRequest ¶ added in v1.6.1
type QuerySpentEFUNDByAddressRequest struct { // address is the address to query Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` }
QuerySpentEFUNDByAddressRequest is the request type for the Query/SpentEFUNDByAddress RPC method.
func (*QuerySpentEFUNDByAddressRequest) Descriptor ¶ added in v1.6.1
func (*QuerySpentEFUNDByAddressRequest) Descriptor() ([]byte, []int)
func (*QuerySpentEFUNDByAddressRequest) GetAddress ¶ added in v1.6.1
func (m *QuerySpentEFUNDByAddressRequest) GetAddress() string
func (*QuerySpentEFUNDByAddressRequest) Marshal ¶ added in v1.6.1
func (m *QuerySpentEFUNDByAddressRequest) Marshal() (dAtA []byte, err error)
func (*QuerySpentEFUNDByAddressRequest) MarshalTo ¶ added in v1.6.1
func (m *QuerySpentEFUNDByAddressRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySpentEFUNDByAddressRequest) MarshalToSizedBuffer ¶ added in v1.6.1
func (m *QuerySpentEFUNDByAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySpentEFUNDByAddressRequest) ProtoMessage ¶ added in v1.6.1
func (*QuerySpentEFUNDByAddressRequest) ProtoMessage()
func (*QuerySpentEFUNDByAddressRequest) Reset ¶ added in v1.6.1
func (m *QuerySpentEFUNDByAddressRequest) Reset()
func (*QuerySpentEFUNDByAddressRequest) Size ¶ added in v1.6.1
func (m *QuerySpentEFUNDByAddressRequest) Size() (n int)
func (*QuerySpentEFUNDByAddressRequest) String ¶ added in v1.6.1
func (m *QuerySpentEFUNDByAddressRequest) String() string
func (*QuerySpentEFUNDByAddressRequest) Unmarshal ¶ added in v1.6.1
func (m *QuerySpentEFUNDByAddressRequest) Unmarshal(dAtA []byte) error
func (*QuerySpentEFUNDByAddressRequest) XXX_DiscardUnknown ¶ added in v1.6.1
func (m *QuerySpentEFUNDByAddressRequest) XXX_DiscardUnknown()
func (*QuerySpentEFUNDByAddressRequest) XXX_Marshal ¶ added in v1.6.1
func (m *QuerySpentEFUNDByAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySpentEFUNDByAddressRequest) XXX_Merge ¶ added in v1.6.1
func (m *QuerySpentEFUNDByAddressRequest) XXX_Merge(src proto.Message)
func (*QuerySpentEFUNDByAddressRequest) XXX_Size ¶ added in v1.6.1
func (m *QuerySpentEFUNDByAddressRequest) XXX_Size() int
func (*QuerySpentEFUNDByAddressRequest) XXX_Unmarshal ¶ added in v1.6.1
func (m *QuerySpentEFUNDByAddressRequest) XXX_Unmarshal(b []byte) error
type QuerySpentEFUNDByAddressResponse ¶ added in v1.6.1
type QuerySpentEFUNDByAddressResponse struct {
Amount types.Coin `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount"`
}
QuerySpentEFUNDByAddressResponse is the response type for the Query/SpentEFUNDByAddress RPC method.
func (*QuerySpentEFUNDByAddressResponse) Descriptor ¶ added in v1.6.1
func (*QuerySpentEFUNDByAddressResponse) Descriptor() ([]byte, []int)
func (*QuerySpentEFUNDByAddressResponse) GetAmount ¶ added in v1.6.1
func (m *QuerySpentEFUNDByAddressResponse) GetAmount() types.Coin
func (*QuerySpentEFUNDByAddressResponse) Marshal ¶ added in v1.6.1
func (m *QuerySpentEFUNDByAddressResponse) Marshal() (dAtA []byte, err error)
func (*QuerySpentEFUNDByAddressResponse) MarshalTo ¶ added in v1.6.1
func (m *QuerySpentEFUNDByAddressResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySpentEFUNDByAddressResponse) MarshalToSizedBuffer ¶ added in v1.6.1
func (m *QuerySpentEFUNDByAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySpentEFUNDByAddressResponse) ProtoMessage ¶ added in v1.6.1
func (*QuerySpentEFUNDByAddressResponse) ProtoMessage()
func (*QuerySpentEFUNDByAddressResponse) Reset ¶ added in v1.6.1
func (m *QuerySpentEFUNDByAddressResponse) Reset()
func (*QuerySpentEFUNDByAddressResponse) Size ¶ added in v1.6.1
func (m *QuerySpentEFUNDByAddressResponse) Size() (n int)
func (*QuerySpentEFUNDByAddressResponse) String ¶ added in v1.6.1
func (m *QuerySpentEFUNDByAddressResponse) String() string
func (*QuerySpentEFUNDByAddressResponse) Unmarshal ¶ added in v1.6.1
func (m *QuerySpentEFUNDByAddressResponse) Unmarshal(dAtA []byte) error
func (*QuerySpentEFUNDByAddressResponse) XXX_DiscardUnknown ¶ added in v1.6.1
func (m *QuerySpentEFUNDByAddressResponse) XXX_DiscardUnknown()
func (*QuerySpentEFUNDByAddressResponse) XXX_Marshal ¶ added in v1.6.1
func (m *QuerySpentEFUNDByAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySpentEFUNDByAddressResponse) XXX_Merge ¶ added in v1.6.1
func (m *QuerySpentEFUNDByAddressResponse) XXX_Merge(src proto.Message)
func (*QuerySpentEFUNDByAddressResponse) XXX_Size ¶ added in v1.6.1
func (m *QuerySpentEFUNDByAddressResponse) XXX_Size() int
func (*QuerySpentEFUNDByAddressResponse) XXX_Unmarshal ¶ added in v1.6.1
func (m *QuerySpentEFUNDByAddressResponse) XXX_Unmarshal(b []byte) error
type QuerySupplyOfRequest ¶
type QuerySupplyOfRequest struct { // denom is the coin denom to query balances for. Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` }
QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method.
func (*QuerySupplyOfRequest) Descriptor ¶
func (*QuerySupplyOfRequest) Descriptor() ([]byte, []int)
func (*QuerySupplyOfRequest) GetDenom ¶
func (m *QuerySupplyOfRequest) GetDenom() string
func (*QuerySupplyOfRequest) Marshal ¶
func (m *QuerySupplyOfRequest) Marshal() (dAtA []byte, err error)
func (*QuerySupplyOfRequest) MarshalTo ¶
func (m *QuerySupplyOfRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySupplyOfRequest) MarshalToSizedBuffer ¶
func (m *QuerySupplyOfRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySupplyOfRequest) ProtoMessage ¶
func (*QuerySupplyOfRequest) ProtoMessage()
func (*QuerySupplyOfRequest) Reset ¶
func (m *QuerySupplyOfRequest) Reset()
func (*QuerySupplyOfRequest) Size ¶
func (m *QuerySupplyOfRequest) Size() (n int)
func (*QuerySupplyOfRequest) String ¶
func (m *QuerySupplyOfRequest) String() string
func (*QuerySupplyOfRequest) Unmarshal ¶
func (m *QuerySupplyOfRequest) Unmarshal(dAtA []byte) error
func (*QuerySupplyOfRequest) XXX_DiscardUnknown ¶
func (m *QuerySupplyOfRequest) XXX_DiscardUnknown()
func (*QuerySupplyOfRequest) XXX_Marshal ¶
func (m *QuerySupplyOfRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySupplyOfRequest) XXX_Merge ¶
func (m *QuerySupplyOfRequest) XXX_Merge(src proto.Message)
func (*QuerySupplyOfRequest) XXX_Size ¶
func (m *QuerySupplyOfRequest) XXX_Size() int
func (*QuerySupplyOfRequest) XXX_Unmarshal ¶
func (m *QuerySupplyOfRequest) XXX_Unmarshal(b []byte) error
type QuerySupplyOfResponse ¶
type QuerySupplyOfResponse struct { // amount is the supply of the coin. Amount types.Coin `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount"` }
QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method.
func (*QuerySupplyOfResponse) Descriptor ¶
func (*QuerySupplyOfResponse) Descriptor() ([]byte, []int)
func (*QuerySupplyOfResponse) GetAmount ¶
func (m *QuerySupplyOfResponse) GetAmount() types.Coin
func (*QuerySupplyOfResponse) Marshal ¶
func (m *QuerySupplyOfResponse) Marshal() (dAtA []byte, err error)
func (*QuerySupplyOfResponse) MarshalTo ¶
func (m *QuerySupplyOfResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySupplyOfResponse) MarshalToSizedBuffer ¶
func (m *QuerySupplyOfResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySupplyOfResponse) ProtoMessage ¶
func (*QuerySupplyOfResponse) ProtoMessage()
func (*QuerySupplyOfResponse) Reset ¶
func (m *QuerySupplyOfResponse) Reset()
func (*QuerySupplyOfResponse) Size ¶
func (m *QuerySupplyOfResponse) Size() (n int)
func (*QuerySupplyOfResponse) String ¶
func (m *QuerySupplyOfResponse) String() string
func (*QuerySupplyOfResponse) Unmarshal ¶
func (m *QuerySupplyOfResponse) Unmarshal(dAtA []byte) error
func (*QuerySupplyOfResponse) XXX_DiscardUnknown ¶
func (m *QuerySupplyOfResponse) XXX_DiscardUnknown()
func (*QuerySupplyOfResponse) XXX_Marshal ¶
func (m *QuerySupplyOfResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySupplyOfResponse) XXX_Merge ¶
func (m *QuerySupplyOfResponse) XXX_Merge(src proto.Message)
func (*QuerySupplyOfResponse) XXX_Size ¶
func (m *QuerySupplyOfResponse) XXX_Size() int
func (*QuerySupplyOfResponse) XXX_Unmarshal ¶
func (m *QuerySupplyOfResponse) XXX_Unmarshal(b []byte) error
type QueryTotalLockedRequest ¶
type QueryTotalLockedRequest struct { }
QueryTotalLockedRequest is the request type for the Query/TotalLocked RPC method
func (*QueryTotalLockedRequest) Descriptor ¶
func (*QueryTotalLockedRequest) Descriptor() ([]byte, []int)
func (*QueryTotalLockedRequest) Marshal ¶
func (m *QueryTotalLockedRequest) Marshal() (dAtA []byte, err error)
func (*QueryTotalLockedRequest) MarshalTo ¶
func (m *QueryTotalLockedRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTotalLockedRequest) MarshalToSizedBuffer ¶
func (m *QueryTotalLockedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTotalLockedRequest) ProtoMessage ¶
func (*QueryTotalLockedRequest) ProtoMessage()
func (*QueryTotalLockedRequest) Reset ¶
func (m *QueryTotalLockedRequest) Reset()
func (*QueryTotalLockedRequest) Size ¶
func (m *QueryTotalLockedRequest) Size() (n int)
func (*QueryTotalLockedRequest) String ¶
func (m *QueryTotalLockedRequest) String() string
func (*QueryTotalLockedRequest) Unmarshal ¶
func (m *QueryTotalLockedRequest) Unmarshal(dAtA []byte) error
func (*QueryTotalLockedRequest) XXX_DiscardUnknown ¶
func (m *QueryTotalLockedRequest) XXX_DiscardUnknown()
func (*QueryTotalLockedRequest) XXX_Marshal ¶
func (m *QueryTotalLockedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTotalLockedRequest) XXX_Merge ¶
func (m *QueryTotalLockedRequest) XXX_Merge(src proto.Message)
func (*QueryTotalLockedRequest) XXX_Size ¶
func (m *QueryTotalLockedRequest) XXX_Size() int
func (*QueryTotalLockedRequest) XXX_Unmarshal ¶
func (m *QueryTotalLockedRequest) XXX_Unmarshal(b []byte) error
type QueryTotalLockedResponse ¶
type QueryTotalLockedResponse struct {
Amount types.Coin `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount"`
}
QueryTotalLockedResponse is the response type for the Query/TotalLocked RPC method
func (*QueryTotalLockedResponse) Descriptor ¶
func (*QueryTotalLockedResponse) Descriptor() ([]byte, []int)
func (*QueryTotalLockedResponse) GetAmount ¶
func (m *QueryTotalLockedResponse) GetAmount() types.Coin
func (*QueryTotalLockedResponse) Marshal ¶
func (m *QueryTotalLockedResponse) Marshal() (dAtA []byte, err error)
func (*QueryTotalLockedResponse) MarshalTo ¶
func (m *QueryTotalLockedResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTotalLockedResponse) MarshalToSizedBuffer ¶
func (m *QueryTotalLockedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTotalLockedResponse) ProtoMessage ¶
func (*QueryTotalLockedResponse) ProtoMessage()
func (*QueryTotalLockedResponse) Reset ¶
func (m *QueryTotalLockedResponse) Reset()
func (*QueryTotalLockedResponse) Size ¶
func (m *QueryTotalLockedResponse) Size() (n int)
func (*QueryTotalLockedResponse) String ¶
func (m *QueryTotalLockedResponse) String() string
func (*QueryTotalLockedResponse) Unmarshal ¶
func (m *QueryTotalLockedResponse) Unmarshal(dAtA []byte) error
func (*QueryTotalLockedResponse) XXX_DiscardUnknown ¶
func (m *QueryTotalLockedResponse) XXX_DiscardUnknown()
func (*QueryTotalLockedResponse) XXX_Marshal ¶
func (m *QueryTotalLockedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTotalLockedResponse) XXX_Merge ¶
func (m *QueryTotalLockedResponse) XXX_Merge(src proto.Message)
func (*QueryTotalLockedResponse) XXX_Size ¶
func (m *QueryTotalLockedResponse) XXX_Size() int
func (*QueryTotalLockedResponse) XXX_Unmarshal ¶
func (m *QueryTotalLockedResponse) XXX_Unmarshal(b []byte) error
type QueryTotalSpentEFUNDRequest ¶ added in v1.6.1
type QueryTotalSpentEFUNDRequest struct { }
QueryTotalSpentEFUNDRequest is the request type for the Query/TotalSpentEFUND RPC method.
func (*QueryTotalSpentEFUNDRequest) Descriptor ¶ added in v1.6.1
func (*QueryTotalSpentEFUNDRequest) Descriptor() ([]byte, []int)
func (*QueryTotalSpentEFUNDRequest) Marshal ¶ added in v1.6.1
func (m *QueryTotalSpentEFUNDRequest) Marshal() (dAtA []byte, err error)
func (*QueryTotalSpentEFUNDRequest) MarshalTo ¶ added in v1.6.1
func (m *QueryTotalSpentEFUNDRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTotalSpentEFUNDRequest) MarshalToSizedBuffer ¶ added in v1.6.1
func (m *QueryTotalSpentEFUNDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTotalSpentEFUNDRequest) ProtoMessage ¶ added in v1.6.1
func (*QueryTotalSpentEFUNDRequest) ProtoMessage()
func (*QueryTotalSpentEFUNDRequest) Reset ¶ added in v1.6.1
func (m *QueryTotalSpentEFUNDRequest) Reset()
func (*QueryTotalSpentEFUNDRequest) Size ¶ added in v1.6.1
func (m *QueryTotalSpentEFUNDRequest) Size() (n int)
func (*QueryTotalSpentEFUNDRequest) String ¶ added in v1.6.1
func (m *QueryTotalSpentEFUNDRequest) String() string
func (*QueryTotalSpentEFUNDRequest) Unmarshal ¶ added in v1.6.1
func (m *QueryTotalSpentEFUNDRequest) Unmarshal(dAtA []byte) error
func (*QueryTotalSpentEFUNDRequest) XXX_DiscardUnknown ¶ added in v1.6.1
func (m *QueryTotalSpentEFUNDRequest) XXX_DiscardUnknown()
func (*QueryTotalSpentEFUNDRequest) XXX_Marshal ¶ added in v1.6.1
func (m *QueryTotalSpentEFUNDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTotalSpentEFUNDRequest) XXX_Merge ¶ added in v1.6.1
func (m *QueryTotalSpentEFUNDRequest) XXX_Merge(src proto.Message)
func (*QueryTotalSpentEFUNDRequest) XXX_Size ¶ added in v1.6.1
func (m *QueryTotalSpentEFUNDRequest) XXX_Size() int
func (*QueryTotalSpentEFUNDRequest) XXX_Unmarshal ¶ added in v1.6.1
func (m *QueryTotalSpentEFUNDRequest) XXX_Unmarshal(b []byte) error
type QueryTotalSpentEFUNDResponse ¶ added in v1.6.1
type QueryTotalSpentEFUNDResponse struct {
Amount types.Coin `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount"`
}
QueryTotalSpentEFUNDResponse is the response type for the Query/TotalSpentEFUND RPC method.
func (*QueryTotalSpentEFUNDResponse) Descriptor ¶ added in v1.6.1
func (*QueryTotalSpentEFUNDResponse) Descriptor() ([]byte, []int)
func (*QueryTotalSpentEFUNDResponse) GetAmount ¶ added in v1.6.1
func (m *QueryTotalSpentEFUNDResponse) GetAmount() types.Coin
func (*QueryTotalSpentEFUNDResponse) Marshal ¶ added in v1.6.1
func (m *QueryTotalSpentEFUNDResponse) Marshal() (dAtA []byte, err error)
func (*QueryTotalSpentEFUNDResponse) MarshalTo ¶ added in v1.6.1
func (m *QueryTotalSpentEFUNDResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTotalSpentEFUNDResponse) MarshalToSizedBuffer ¶ added in v1.6.1
func (m *QueryTotalSpentEFUNDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTotalSpentEFUNDResponse) ProtoMessage ¶ added in v1.6.1
func (*QueryTotalSpentEFUNDResponse) ProtoMessage()
func (*QueryTotalSpentEFUNDResponse) Reset ¶ added in v1.6.1
func (m *QueryTotalSpentEFUNDResponse) Reset()
func (*QueryTotalSpentEFUNDResponse) Size ¶ added in v1.6.1
func (m *QueryTotalSpentEFUNDResponse) Size() (n int)
func (*QueryTotalSpentEFUNDResponse) String ¶ added in v1.6.1
func (m *QueryTotalSpentEFUNDResponse) String() string
func (*QueryTotalSpentEFUNDResponse) Unmarshal ¶ added in v1.6.1
func (m *QueryTotalSpentEFUNDResponse) Unmarshal(dAtA []byte) error
func (*QueryTotalSpentEFUNDResponse) XXX_DiscardUnknown ¶ added in v1.6.1
func (m *QueryTotalSpentEFUNDResponse) XXX_DiscardUnknown()
func (*QueryTotalSpentEFUNDResponse) XXX_Marshal ¶ added in v1.6.1
func (m *QueryTotalSpentEFUNDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTotalSpentEFUNDResponse) XXX_Merge ¶ added in v1.6.1
func (m *QueryTotalSpentEFUNDResponse) XXX_Merge(src proto.Message)
func (*QueryTotalSpentEFUNDResponse) XXX_Size ¶ added in v1.6.1
func (m *QueryTotalSpentEFUNDResponse) XXX_Size() int
func (*QueryTotalSpentEFUNDResponse) XXX_Unmarshal ¶ added in v1.6.1
func (m *QueryTotalSpentEFUNDResponse) XXX_Unmarshal(b []byte) error
type QueryTotalSupplyRequest ¶
type QueryTotalSupplyRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC method
func (*QueryTotalSupplyRequest) Descriptor ¶
func (*QueryTotalSupplyRequest) Descriptor() ([]byte, []int)
func (*QueryTotalSupplyRequest) GetPagination ¶ added in v1.6.1
func (m *QueryTotalSupplyRequest) GetPagination() *query.PageRequest
func (*QueryTotalSupplyRequest) Marshal ¶
func (m *QueryTotalSupplyRequest) Marshal() (dAtA []byte, err error)
func (*QueryTotalSupplyRequest) MarshalTo ¶
func (m *QueryTotalSupplyRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTotalSupplyRequest) MarshalToSizedBuffer ¶
func (m *QueryTotalSupplyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTotalSupplyRequest) ProtoMessage ¶
func (*QueryTotalSupplyRequest) ProtoMessage()
func (*QueryTotalSupplyRequest) Reset ¶
func (m *QueryTotalSupplyRequest) Reset()
func (*QueryTotalSupplyRequest) Size ¶
func (m *QueryTotalSupplyRequest) Size() (n int)
func (*QueryTotalSupplyRequest) String ¶
func (m *QueryTotalSupplyRequest) String() string
func (*QueryTotalSupplyRequest) Unmarshal ¶
func (m *QueryTotalSupplyRequest) Unmarshal(dAtA []byte) error
func (*QueryTotalSupplyRequest) XXX_DiscardUnknown ¶
func (m *QueryTotalSupplyRequest) XXX_DiscardUnknown()
func (*QueryTotalSupplyRequest) XXX_Marshal ¶
func (m *QueryTotalSupplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTotalSupplyRequest) XXX_Merge ¶
func (m *QueryTotalSupplyRequest) XXX_Merge(src proto.Message)
func (*QueryTotalSupplyRequest) XXX_Size ¶
func (m *QueryTotalSupplyRequest) XXX_Size() int
func (*QueryTotalSupplyRequest) XXX_Unmarshal ¶
func (m *QueryTotalSupplyRequest) XXX_Unmarshal(b []byte) error
type QueryTotalSupplyResponse ¶
type QueryTotalSupplyResponse struct { Supply github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=supply,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"supply"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC method
func (*QueryTotalSupplyResponse) Descriptor ¶
func (*QueryTotalSupplyResponse) Descriptor() ([]byte, []int)
func (*QueryTotalSupplyResponse) GetPagination ¶ added in v1.6.1
func (m *QueryTotalSupplyResponse) GetPagination() *query.PageResponse
func (*QueryTotalSupplyResponse) GetSupply ¶
func (m *QueryTotalSupplyResponse) GetSupply() github_com_cosmos_cosmos_sdk_types.Coins
func (*QueryTotalSupplyResponse) Marshal ¶
func (m *QueryTotalSupplyResponse) Marshal() (dAtA []byte, err error)
func (*QueryTotalSupplyResponse) MarshalTo ¶
func (m *QueryTotalSupplyResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTotalSupplyResponse) MarshalToSizedBuffer ¶
func (m *QueryTotalSupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTotalSupplyResponse) ProtoMessage ¶
func (*QueryTotalSupplyResponse) ProtoMessage()
func (*QueryTotalSupplyResponse) Reset ¶
func (m *QueryTotalSupplyResponse) Reset()
func (*QueryTotalSupplyResponse) Size ¶
func (m *QueryTotalSupplyResponse) Size() (n int)
func (*QueryTotalSupplyResponse) String ¶
func (m *QueryTotalSupplyResponse) String() string
func (*QueryTotalSupplyResponse) Unmarshal ¶
func (m *QueryTotalSupplyResponse) Unmarshal(dAtA []byte) error
func (*QueryTotalSupplyResponse) XXX_DiscardUnknown ¶
func (m *QueryTotalSupplyResponse) XXX_DiscardUnknown()
func (*QueryTotalSupplyResponse) XXX_Marshal ¶
func (m *QueryTotalSupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTotalSupplyResponse) XXX_Merge ¶
func (m *QueryTotalSupplyResponse) XXX_Merge(src proto.Message)
func (*QueryTotalSupplyResponse) XXX_Size ¶
func (m *QueryTotalSupplyResponse) XXX_Size() int
func (*QueryTotalSupplyResponse) XXX_Unmarshal ¶
func (m *QueryTotalSupplyResponse) XXX_Unmarshal(b []byte) error
type QueryTotalUnlockedRequest ¶
type QueryTotalUnlockedRequest struct { }
QueryTotalUnlockedRequest is the request type for the Query/TotalUnlocked RPC method
func (*QueryTotalUnlockedRequest) Descriptor ¶
func (*QueryTotalUnlockedRequest) Descriptor() ([]byte, []int)
func (*QueryTotalUnlockedRequest) Marshal ¶
func (m *QueryTotalUnlockedRequest) Marshal() (dAtA []byte, err error)
func (*QueryTotalUnlockedRequest) MarshalTo ¶
func (m *QueryTotalUnlockedRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTotalUnlockedRequest) MarshalToSizedBuffer ¶
func (m *QueryTotalUnlockedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTotalUnlockedRequest) ProtoMessage ¶
func (*QueryTotalUnlockedRequest) ProtoMessage()
func (*QueryTotalUnlockedRequest) Reset ¶
func (m *QueryTotalUnlockedRequest) Reset()
func (*QueryTotalUnlockedRequest) Size ¶
func (m *QueryTotalUnlockedRequest) Size() (n int)
func (*QueryTotalUnlockedRequest) String ¶
func (m *QueryTotalUnlockedRequest) String() string
func (*QueryTotalUnlockedRequest) Unmarshal ¶
func (m *QueryTotalUnlockedRequest) Unmarshal(dAtA []byte) error
func (*QueryTotalUnlockedRequest) XXX_DiscardUnknown ¶
func (m *QueryTotalUnlockedRequest) XXX_DiscardUnknown()
func (*QueryTotalUnlockedRequest) XXX_Marshal ¶
func (m *QueryTotalUnlockedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTotalUnlockedRequest) XXX_Merge ¶
func (m *QueryTotalUnlockedRequest) XXX_Merge(src proto.Message)
func (*QueryTotalUnlockedRequest) XXX_Size ¶
func (m *QueryTotalUnlockedRequest) XXX_Size() int
func (*QueryTotalUnlockedRequest) XXX_Unmarshal ¶
func (m *QueryTotalUnlockedRequest) XXX_Unmarshal(b []byte) error
type QueryTotalUnlockedResponse ¶
type QueryTotalUnlockedResponse struct {
Amount types.Coin `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount"`
}
QueryTotalUnlockedResponse is the response type for the Query/TotalUnlocked RPC method
func (*QueryTotalUnlockedResponse) Descriptor ¶
func (*QueryTotalUnlockedResponse) Descriptor() ([]byte, []int)
func (*QueryTotalUnlockedResponse) GetAmount ¶
func (m *QueryTotalUnlockedResponse) GetAmount() types.Coin
func (*QueryTotalUnlockedResponse) Marshal ¶
func (m *QueryTotalUnlockedResponse) Marshal() (dAtA []byte, err error)
func (*QueryTotalUnlockedResponse) MarshalTo ¶
func (m *QueryTotalUnlockedResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTotalUnlockedResponse) MarshalToSizedBuffer ¶
func (m *QueryTotalUnlockedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTotalUnlockedResponse) ProtoMessage ¶
func (*QueryTotalUnlockedResponse) ProtoMessage()
func (*QueryTotalUnlockedResponse) Reset ¶
func (m *QueryTotalUnlockedResponse) Reset()
func (*QueryTotalUnlockedResponse) Size ¶
func (m *QueryTotalUnlockedResponse) Size() (n int)
func (*QueryTotalUnlockedResponse) String ¶
func (m *QueryTotalUnlockedResponse) String() string
func (*QueryTotalUnlockedResponse) Unmarshal ¶
func (m *QueryTotalUnlockedResponse) Unmarshal(dAtA []byte) error
func (*QueryTotalUnlockedResponse) XXX_DiscardUnknown ¶
func (m *QueryTotalUnlockedResponse) XXX_DiscardUnknown()
func (*QueryTotalUnlockedResponse) XXX_Marshal ¶
func (m *QueryTotalUnlockedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTotalUnlockedResponse) XXX_Merge ¶
func (m *QueryTotalUnlockedResponse) XXX_Merge(src proto.Message)
func (*QueryTotalUnlockedResponse) XXX_Size ¶
func (m *QueryTotalUnlockedResponse) XXX_Size() int
func (*QueryTotalUnlockedResponse) XXX_Unmarshal ¶
func (m *QueryTotalUnlockedResponse) XXX_Unmarshal(b []byte) error
type QueryWhitelistRequest ¶
type QueryWhitelistRequest struct { }
QueryWhitelistRequest is the request type for the Query/Whitelist RPC method.
func (*QueryWhitelistRequest) Descriptor ¶
func (*QueryWhitelistRequest) Descriptor() ([]byte, []int)
func (*QueryWhitelistRequest) Marshal ¶
func (m *QueryWhitelistRequest) Marshal() (dAtA []byte, err error)
func (*QueryWhitelistRequest) MarshalTo ¶
func (m *QueryWhitelistRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryWhitelistRequest) MarshalToSizedBuffer ¶
func (m *QueryWhitelistRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryWhitelistRequest) ProtoMessage ¶
func (*QueryWhitelistRequest) ProtoMessage()
func (*QueryWhitelistRequest) Reset ¶
func (m *QueryWhitelistRequest) Reset()
func (*QueryWhitelistRequest) Size ¶
func (m *QueryWhitelistRequest) Size() (n int)
func (*QueryWhitelistRequest) String ¶
func (m *QueryWhitelistRequest) String() string
func (*QueryWhitelistRequest) Unmarshal ¶
func (m *QueryWhitelistRequest) Unmarshal(dAtA []byte) error
func (*QueryWhitelistRequest) XXX_DiscardUnknown ¶
func (m *QueryWhitelistRequest) XXX_DiscardUnknown()
func (*QueryWhitelistRequest) XXX_Marshal ¶
func (m *QueryWhitelistRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryWhitelistRequest) XXX_Merge ¶
func (m *QueryWhitelistRequest) XXX_Merge(src proto.Message)
func (*QueryWhitelistRequest) XXX_Size ¶
func (m *QueryWhitelistRequest) XXX_Size() int
func (*QueryWhitelistRequest) XXX_Unmarshal ¶
func (m *QueryWhitelistRequest) XXX_Unmarshal(b []byte) error
type QueryWhitelistResponse ¶
type QueryWhitelistResponse struct {
Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
}
QueryWhitelistResponse is the response type for the Query/Whitelist RPC method.
func (*QueryWhitelistResponse) Descriptor ¶
func (*QueryWhitelistResponse) Descriptor() ([]byte, []int)
func (*QueryWhitelistResponse) GetAddresses ¶
func (m *QueryWhitelistResponse) GetAddresses() []string
func (*QueryWhitelistResponse) Marshal ¶
func (m *QueryWhitelistResponse) Marshal() (dAtA []byte, err error)
func (*QueryWhitelistResponse) MarshalTo ¶
func (m *QueryWhitelistResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryWhitelistResponse) MarshalToSizedBuffer ¶
func (m *QueryWhitelistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryWhitelistResponse) ProtoMessage ¶
func (*QueryWhitelistResponse) ProtoMessage()
func (*QueryWhitelistResponse) Reset ¶
func (m *QueryWhitelistResponse) Reset()
func (*QueryWhitelistResponse) Size ¶
func (m *QueryWhitelistResponse) Size() (n int)
func (*QueryWhitelistResponse) String ¶
func (m *QueryWhitelistResponse) String() string
func (*QueryWhitelistResponse) Unmarshal ¶
func (m *QueryWhitelistResponse) Unmarshal(dAtA []byte) error
func (*QueryWhitelistResponse) XXX_DiscardUnknown ¶
func (m *QueryWhitelistResponse) XXX_DiscardUnknown()
func (*QueryWhitelistResponse) XXX_Marshal ¶
func (m *QueryWhitelistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryWhitelistResponse) XXX_Merge ¶
func (m *QueryWhitelistResponse) XXX_Merge(src proto.Message)
func (*QueryWhitelistResponse) XXX_Size ¶
func (m *QueryWhitelistResponse) XXX_Size() int
func (*QueryWhitelistResponse) XXX_Unmarshal ¶
func (m *QueryWhitelistResponse) XXX_Unmarshal(b []byte) error
type QueryWhitelistedRequest ¶
type QueryWhitelistedRequest struct { // address is the address to query Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` }
QueryWhitelistedRequest is the request type for the Query/Whitelisted RPC method.
func (*QueryWhitelistedRequest) Descriptor ¶
func (*QueryWhitelistedRequest) Descriptor() ([]byte, []int)
func (*QueryWhitelistedRequest) GetAddress ¶
func (m *QueryWhitelistedRequest) GetAddress() string
func (*QueryWhitelistedRequest) Marshal ¶
func (m *QueryWhitelistedRequest) Marshal() (dAtA []byte, err error)
func (*QueryWhitelistedRequest) MarshalTo ¶
func (m *QueryWhitelistedRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryWhitelistedRequest) MarshalToSizedBuffer ¶
func (m *QueryWhitelistedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryWhitelistedRequest) ProtoMessage ¶
func (*QueryWhitelistedRequest) ProtoMessage()
func (*QueryWhitelistedRequest) Reset ¶
func (m *QueryWhitelistedRequest) Reset()
func (*QueryWhitelistedRequest) Size ¶
func (m *QueryWhitelistedRequest) Size() (n int)
func (*QueryWhitelistedRequest) String ¶
func (m *QueryWhitelistedRequest) String() string
func (*QueryWhitelistedRequest) Unmarshal ¶
func (m *QueryWhitelistedRequest) Unmarshal(dAtA []byte) error
func (*QueryWhitelistedRequest) XXX_DiscardUnknown ¶
func (m *QueryWhitelistedRequest) XXX_DiscardUnknown()
func (*QueryWhitelistedRequest) XXX_Marshal ¶
func (m *QueryWhitelistedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryWhitelistedRequest) XXX_Merge ¶
func (m *QueryWhitelistedRequest) XXX_Merge(src proto.Message)
func (*QueryWhitelistedRequest) XXX_Size ¶
func (m *QueryWhitelistedRequest) XXX_Size() int
func (*QueryWhitelistedRequest) XXX_Unmarshal ¶
func (m *QueryWhitelistedRequest) XXX_Unmarshal(b []byte) error
type QueryWhitelistedResponse ¶
type QueryWhitelistedResponse struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Whitelisted bool `protobuf:"varint,2,opt,name=whitelisted,proto3" json:"whitelisted,omitempty"` }
QueryWhitelistedResponse is the response type for the Query/Whitelisted RPC method.
func (*QueryWhitelistedResponse) Descriptor ¶
func (*QueryWhitelistedResponse) Descriptor() ([]byte, []int)
func (*QueryWhitelistedResponse) GetAddress ¶
func (m *QueryWhitelistedResponse) GetAddress() string
func (*QueryWhitelistedResponse) GetWhitelisted ¶
func (m *QueryWhitelistedResponse) GetWhitelisted() bool
func (*QueryWhitelistedResponse) Marshal ¶
func (m *QueryWhitelistedResponse) Marshal() (dAtA []byte, err error)
func (*QueryWhitelistedResponse) MarshalTo ¶
func (m *QueryWhitelistedResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryWhitelistedResponse) MarshalToSizedBuffer ¶
func (m *QueryWhitelistedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryWhitelistedResponse) ProtoMessage ¶
func (*QueryWhitelistedResponse) ProtoMessage()
func (*QueryWhitelistedResponse) Reset ¶
func (m *QueryWhitelistedResponse) Reset()
func (*QueryWhitelistedResponse) Size ¶
func (m *QueryWhitelistedResponse) Size() (n int)
func (*QueryWhitelistedResponse) String ¶
func (m *QueryWhitelistedResponse) String() string
func (*QueryWhitelistedResponse) Unmarshal ¶
func (m *QueryWhitelistedResponse) Unmarshal(dAtA []byte) error
func (*QueryWhitelistedResponse) XXX_DiscardUnknown ¶
func (m *QueryWhitelistedResponse) XXX_DiscardUnknown()
func (*QueryWhitelistedResponse) XXX_Marshal ¶
func (m *QueryWhitelistedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryWhitelistedResponse) XXX_Merge ¶
func (m *QueryWhitelistedResponse) XXX_Merge(src proto.Message)
func (*QueryWhitelistedResponse) XXX_Size ¶
func (m *QueryWhitelistedResponse) XXX_Size() int
func (*QueryWhitelistedResponse) XXX_Unmarshal ¶
func (m *QueryWhitelistedResponse) XXX_Unmarshal(b []byte) error
type SpentEFUND ¶ added in v1.6.1
type SpentEFUND struct { // owner is the address of the eFUND owner Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // amount is the amount currently locked and available to pay for beacon/wrkchain fees Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount"` }
SpentEFUND defines the amount of spent eFUND for an account
func (*SpentEFUND) Descriptor ¶ added in v1.6.1
func (*SpentEFUND) Descriptor() ([]byte, []int)
func (*SpentEFUND) GetAmount ¶ added in v1.6.1
func (m *SpentEFUND) GetAmount() types.Coin
func (*SpentEFUND) GetOwner ¶ added in v1.6.1
func (m *SpentEFUND) GetOwner() string
func (*SpentEFUND) Marshal ¶ added in v1.6.1
func (m *SpentEFUND) Marshal() (dAtA []byte, err error)
func (*SpentEFUND) MarshalTo ¶ added in v1.6.1
func (m *SpentEFUND) MarshalTo(dAtA []byte) (int, error)
func (*SpentEFUND) MarshalToSizedBuffer ¶ added in v1.6.1
func (m *SpentEFUND) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SpentEFUND) ProtoMessage ¶ added in v1.6.1
func (*SpentEFUND) ProtoMessage()
func (*SpentEFUND) Reset ¶ added in v1.6.1
func (m *SpentEFUND) Reset()
func (*SpentEFUND) Size ¶ added in v1.6.1
func (m *SpentEFUND) Size() (n int)
func (*SpentEFUND) String ¶ added in v1.6.1
func (m *SpentEFUND) String() string
func (*SpentEFUND) Unmarshal ¶ added in v1.6.1
func (m *SpentEFUND) Unmarshal(dAtA []byte) error
func (*SpentEFUND) XXX_DiscardUnknown ¶ added in v1.6.1
func (m *SpentEFUND) XXX_DiscardUnknown()
func (*SpentEFUND) XXX_Marshal ¶ added in v1.6.1
func (m *SpentEFUND) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SpentEFUND) XXX_Merge ¶ added in v1.6.1
func (m *SpentEFUND) XXX_Merge(src proto.Message)
func (*SpentEFUND) XXX_Size ¶ added in v1.6.1
func (m *SpentEFUND) XXX_Size() int
func (*SpentEFUND) XXX_Unmarshal ¶ added in v1.6.1
func (m *SpentEFUND) XXX_Unmarshal(b []byte) error
type SpentEFUNDs ¶ added in v1.6.1
type SpentEFUNDs []SpentEFUND
type UndSupply ¶
type UndSupply struct { // denom is the denomination, e.g. nund Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` // amount is the amount of unlocked FUND in general supply Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` // locked is the amount of locked FUND Locked uint64 `protobuf:"varint,3,opt,name=locked,proto3" json:"locked,omitempty"` // amount is the sum of locked and unlocked FUND Total uint64 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"` }
UndSupply defines the current FUND supply, including locked
func (*UndSupply) Descriptor ¶
func (*UndSupply) MarshalToSizedBuffer ¶
func (*UndSupply) ProtoMessage ¶
func (*UndSupply) ProtoMessage()
func (*UndSupply) XXX_DiscardUnknown ¶
func (m *UndSupply) XXX_DiscardUnknown()
func (*UndSupply) XXX_Marshal ¶
func (*UndSupply) XXX_Unmarshal ¶
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) ProcessUndPurchaseOrder ¶
func (*UnimplementedMsgServer) ProcessUndPurchaseOrder(ctx context.Context, req *MsgProcessUndPurchaseOrder) (*MsgProcessUndPurchaseOrderResponse, error)
func (*UnimplementedMsgServer) UndPurchaseOrder ¶
func (*UnimplementedMsgServer) UndPurchaseOrder(ctx context.Context, req *MsgUndPurchaseOrder) (*MsgUndPurchaseOrderResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶ added in v1.10.0
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
func (*UnimplementedMsgServer) WhitelistAddress ¶
func (*UnimplementedMsgServer) WhitelistAddress(ctx context.Context, req *MsgWhitelistAddress) (*MsgWhitelistAddressResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) EnterpriseAccount ¶
func (*UnimplementedQueryServer) EnterpriseAccount(ctx context.Context, req *QueryEnterpriseAccountRequest) (*QueryEnterpriseAccountResponse, error)
func (*UnimplementedQueryServer) EnterpriseSupply ¶
func (*UnimplementedQueryServer) EnterpriseSupply(ctx context.Context, req *QueryEnterpriseSupplyRequest) (*QueryEnterpriseSupplyResponse, error)
func (*UnimplementedQueryServer) EnterpriseUndPurchaseOrder ¶
func (*UnimplementedQueryServer) EnterpriseUndPurchaseOrder(ctx context.Context, req *QueryEnterpriseUndPurchaseOrderRequest) (*QueryEnterpriseUndPurchaseOrderResponse, error)
func (*UnimplementedQueryServer) EnterpriseUndPurchaseOrders ¶
func (*UnimplementedQueryServer) EnterpriseUndPurchaseOrders(ctx context.Context, req *QueryEnterpriseUndPurchaseOrdersRequest) (*QueryEnterpriseUndPurchaseOrdersResponse, error)
func (*UnimplementedQueryServer) LockedUndByAddress ¶
func (*UnimplementedQueryServer) LockedUndByAddress(ctx context.Context, req *QueryLockedUndByAddressRequest) (*QueryLockedUndByAddressResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) SpentEFUNDByAddress ¶ added in v1.6.1
func (*UnimplementedQueryServer) SpentEFUNDByAddress(ctx context.Context, req *QuerySpentEFUNDByAddressRequest) (*QuerySpentEFUNDByAddressResponse, error)
func (*UnimplementedQueryServer) SupplyOf ¶
func (*UnimplementedQueryServer) SupplyOf(ctx context.Context, req *QuerySupplyOfRequest) (*QuerySupplyOfResponse, error)
func (*UnimplementedQueryServer) SupplyOfOverwrite ¶
func (*UnimplementedQueryServer) SupplyOfOverwrite(ctx context.Context, req *QuerySupplyOfRequest) (*QuerySupplyOfResponse, error)
func (*UnimplementedQueryServer) TotalLocked ¶
func (*UnimplementedQueryServer) TotalLocked(ctx context.Context, req *QueryTotalLockedRequest) (*QueryTotalLockedResponse, error)
func (*UnimplementedQueryServer) TotalSpentEFUND ¶ added in v1.6.1
func (*UnimplementedQueryServer) TotalSpentEFUND(ctx context.Context, req *QueryTotalSpentEFUNDRequest) (*QueryTotalSpentEFUNDResponse, error)
func (*UnimplementedQueryServer) TotalSupply ¶
func (*UnimplementedQueryServer) TotalSupply(ctx context.Context, req *QueryTotalSupplyRequest) (*QueryTotalSupplyResponse, error)
func (*UnimplementedQueryServer) TotalSupplyOverwrite ¶
func (*UnimplementedQueryServer) TotalSupplyOverwrite(ctx context.Context, req *QueryTotalSupplyRequest) (*QueryTotalSupplyResponse, error)
func (*UnimplementedQueryServer) TotalUnlocked ¶
func (*UnimplementedQueryServer) TotalUnlocked(ctx context.Context, req *QueryTotalUnlockedRequest) (*QueryTotalUnlockedResponse, error)
func (*UnimplementedQueryServer) Whitelist ¶
func (*UnimplementedQueryServer) Whitelist(ctx context.Context, req *QueryWhitelistRequest) (*QueryWhitelistResponse, error)
func (*UnimplementedQueryServer) Whitelisted ¶
func (*UnimplementedQueryServer) Whitelisted(ctx context.Context, req *QueryWhitelistedRequest) (*QueryWhitelistedResponse, error)
type WhitelistAction ¶
type WhitelistAction int32
WhitelistAction enumerates the valid actions for whitelisting addresses.
const ( // WHITELIST_ACTION_NIL defines a no-op action. WhitelistActionNil WhitelistAction = 0 // WHITELIST_ACTION_ADD defines an add action. WhitelistActionAdd WhitelistAction = 1 // WHITELIST_ACTION_REMOVE defines a remove action. WhitelistActionRemove WhitelistAction = 2 )
func WhitelistActionFromString ¶
func WhitelistActionFromString(str string) (WhitelistAction, error)
PurchaseOrderStatusFromString turns a string into a ProposalStatus
func (WhitelistAction) EnumDescriptor ¶
func (WhitelistAction) EnumDescriptor() ([]byte, []int)
func (WhitelistAction) String ¶
func (x WhitelistAction) String() string
type WhitelistAddresses ¶
type WhitelistAddresses struct {
Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
}
WhitelistAddresses defines a list of whitelisted addresses authorised to raise enterprise purchase orders
func (*WhitelistAddresses) Descriptor ¶
func (*WhitelistAddresses) Descriptor() ([]byte, []int)
func (*WhitelistAddresses) GetAddresses ¶
func (m *WhitelistAddresses) GetAddresses() []string
func (*WhitelistAddresses) Marshal ¶
func (m *WhitelistAddresses) Marshal() (dAtA []byte, err error)
func (*WhitelistAddresses) MarshalTo ¶
func (m *WhitelistAddresses) MarshalTo(dAtA []byte) (int, error)
func (*WhitelistAddresses) MarshalToSizedBuffer ¶
func (m *WhitelistAddresses) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WhitelistAddresses) ProtoMessage ¶
func (*WhitelistAddresses) ProtoMessage()
func (*WhitelistAddresses) Reset ¶
func (m *WhitelistAddresses) Reset()
func (*WhitelistAddresses) Size ¶
func (m *WhitelistAddresses) Size() (n int)
func (*WhitelistAddresses) String ¶
func (m *WhitelistAddresses) String() string
func (*WhitelistAddresses) Unmarshal ¶
func (m *WhitelistAddresses) Unmarshal(dAtA []byte) error
func (*WhitelistAddresses) XXX_DiscardUnknown ¶
func (m *WhitelistAddresses) XXX_DiscardUnknown()
func (*WhitelistAddresses) XXX_Marshal ¶
func (m *WhitelistAddresses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WhitelistAddresses) XXX_Merge ¶
func (m *WhitelistAddresses) XXX_Merge(src proto.Message)
func (*WhitelistAddresses) XXX_Size ¶
func (m *WhitelistAddresses) XXX_Size() int
func (*WhitelistAddresses) XXX_Unmarshal ¶
func (m *WhitelistAddresses) XXX_Unmarshal(b []byte) error
type Whitelists ¶
type Whitelists []string