types

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: MIT Imports: 30 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

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

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

	// RouterKey is the message route for slashing
	RouterKey = ModuleName

	// QuerierRoute defines the module's query routing key
	QuerierRoute = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_volt"
)
View Source
const (
	// BtcReserveMaxLimit is the total number of reserves
	BtcReserveMaxLimit = 25

	// MaxOutgoingBtcOutputs is the number of outputs we can create in a btc request
	MaxOutgoingBtcOutputs = 2
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

Variables

View Source
var (
	ErrInvalidLengthClearing        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowClearing          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupClearing = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthDeposit        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDeposit          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDeposit = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrBtcReserveMaxLimitReached      = sdkerrors.Register(ModuleName, 1, "Btc max reserve limit reached")
	ErrBtcReserveNotFound             = sdkerrors.Register(ModuleName, 2, "Btc reserve not found")
	ErrInsufficientBtcValue           = sdkerrors.Register(ModuleName, 3, "Insufficient Btc value")
	ErrClearingAccountNotFound        = sdkerrors.Register(ModuleName, 4, "Clearing account not found")
	ErrCouldNotSetReserve             = sdkerrors.Register(ModuleName, 5, "Could not set reserve")
	ErrCouldNotSetReserveWithdrawPool = sdkerrors.Register(ModuleName, 6, "Could not set reserve withdraw pool")
	ErrCouldNotMarshalWithdrawPool    = sdkerrors.Register(ModuleName, 7, "Could not marshal withdraw pool")
	ErrBtcDepositAddressNotFound      = sdkerrors.Register(ModuleName, 8, "Btc deposit address not found")
	ErrCouldNotSetClearingAccount     = sdkerrors.Register(ModuleName, 9, "Could not set clearing account")
	ErrCouldNotReturnUserDeposit      = sdkerrors.Register(ModuleName, 10, "Could not return user deposit")
	ErrBtcSatoshiTestAmountNotEqual   = sdkerrors.Register(ModuleName, 11, "Btc satoshi test amount not equal")
	ErrInsufficientBalanceInReserve   = sdkerrors.Register(ModuleName, 12, "Insufficient balance in reserve")
	ErrSnapshotNotFound               = sdkerrors.Register(ModuleName, 13, "Snapshot not found")
	ErrInvalid                        = sdkerrors.Register(ModuleName, 14, "Invalid")
)

x/volt module sentinel errors

View Source
var (
	ErrInvalidLengthEvents        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvents          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// TwilightClearingAccountKey indexes clearing accounts according to users twilight address
	TwilightClearingAccountKey = forkstypes.HashString("TwilightClearingAccountKey")

	// KeyReserve indexes the reserve KeyReserve
	BtcReserveKey = forkstypes.HashString("BtcKeyReserve")

	// LastRegisteredReserveKey indexes the reserve LastRegisteredReserveKey
	LastRegisteredReserveKey = forkstypes.HashString("LastRegisteredReserveKey")

	// WithdrawPoolKey indexes the reserve ReserveWithdrawPool
	WithdrawPoolKey = forkstypes.HashString("WithdrawPoolKey")

	// LastUnlockedReserveKey indexes the reserve LastUnlockedReserveKey
	LastUnlockedReserveKey = forkstypes.HashString("LastUnlockedReserveKey")

	// BtcDepositKey is the key for the user deposit
	BtcDepositKey = forkstypes.HashString("BtcDepositKey")

	// BtcWithdrawRequestKey is the key for the user withdraw request
	BtcWithdrawRequestKey = forkstypes.HashString("BtcWithdrawRequestKey")

	// ReserveWithdrawPoolKey is the key for the reserve withdraw pool
	ReserveWithdrawPoolKey = forkstypes.HashString("ReserveWithdrawPoolKey")

	// NewSweepProposalReceivedKey is the key for the new sweep proposal received
	NewSweepProposalReceivedKey = forkstypes.HashString("NewSweepProposalReceivedKey")

	// ReserveWithdrawSnapshotKey is the key for the last withdraw snapshot
	ReserveWithdrawSnapshotKey = forkstypes.HashString("LastWithdrawSnapshotKey")

	// RefundTxSnapshotKey is the key for the last refund tx snapshot
	RefundTxSnapshotKey = forkstypes.HashString("LastRefundTxSnapshotKey")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthReserve        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowReserve          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupReserve = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthWithdraw        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowWithdraw          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupWithdraw = fmt.Errorf("proto: unexpected end of group")
)

Functions

func GetBtcDepositKey added in v0.0.2

func GetBtcDepositKey(twilightAddress sdk.AccAddress) []byte

GetBtcDepositKey returns the following key format [HashString("BtcDepositKey")][twilight1ahx7f8wyertuus9r20284ej0asrs085ceqtfnm]

func GetBtcWithdrawRequestKeyInternal added in v0.0.2

func GetBtcWithdrawRequestKeyInternal(twilightAddress sdk.AccAddress, reserveId uint64, withdrawAddress string, withdrawAmount uint64) []byte

GetBtcWithdrawRequestKeyInternal returns the following key format [HashString("BtcWithdrawRequestKey")][twilight1ahx7f8wyertuus9r20284ej0asrs085ceqtfnm][reserveAddress][withdrawAddress][withdrawAmount]

func GetClearingAccountKey

func GetClearingAccountKey(twilightAddress sdk.AccAddress) []byte

GetClearingAccountKey returns the following key format [HashString("GetClearingAccountKey")][twilight1ahx7f8wyertuus9r20284ej0asrs085ceqtfnm]

func GetNewSweepProposalReceivedKey added in v0.0.2

func GetNewSweepProposalReceivedKey() []byte

GetNewSweepProposalReceivedKey returns the following key format [HashString("NewSweepProposalReceivedKey")][1][1]

func GetRefundTxSnapshotKey added in v0.0.2

func GetRefundTxSnapshotKey(reserveId uint64, roundId uint64) []byte

GetLastRefundTxSnapshotKey returns the following key format [HashString("LastRefundTxSnapshotKey")][1][1]

func GetReserveKey

func GetReserveKey(reserveId uint64) []byte

GetReserveKey returns the following key format prefix LastRegisteredReserveKey[1]

func GetReserveWithdrawPoolKey added in v0.0.2

func GetReserveWithdrawPoolKey(reserveId uint64) []byte

GetReserveWithdrawPoolKey returns the following key format [HashString("ReserveWithdrawPoolKey")][1]

func GetReserveWithdrawSnapshotKey added in v0.0.2

func GetReserveWithdrawSnapshotKey(reserveId uint64, roundId uint64) []byte

GetReserveWithdrawSnapshotKey returns the following key format [HashString("LastReserveWithdrawSnapshotKey")][1][1]

func GetWithdrawPoolKey added in v0.0.2

func GetWithdrawPoolKey(reserveId uint64) []byte

GetWithdrawPoolKey returns the following key format prefix reserve-key

func KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

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

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

func RegisterQueryHandlerClient

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

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

func RegisterQueryHandlerFromEndpoint

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

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

func RegisterQueryHandlerServer

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

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
	GetModuleAddress(name string) sdk.AccAddress
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

type BankHooks added in v0.0.2

type BankHooks interface {
	TrackBeforeSend(ctx sdk.Context, from sdk.AccAddress, to sdk.AccAddress, amount sdk.Coins) error // Must be before any send is executed
	BlockBeforeSend(ctx sdk.Context, from sdk.AccAddress, to sdk.AccAddress, amount sdk.Coins) error // Must be before any send is executed
}

BankHooks event hooks for bank sends

type BankKeeper

type BankKeeper interface {
	//SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	BurnCoins(ctx sdk.Context, name string, amt sdk.Coins) error
	GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin
}

BankKeeper defines the expected interface needed to retrieve account balances.

type BridgeKeeper

type BridgeKeeper interface {
}

type BtcDepositAddress added in v0.0.2

type BtcDepositAddress struct {
	BtcDepositAddress           string `protobuf:"bytes,1,opt,name=btcDepositAddress,proto3" json:"btcDepositAddress,omitempty"`
	BtcSatoshiTestAmount        uint64 `protobuf:"varint,2,opt,name=btcSatoshiTestAmount,proto3" json:"btcSatoshiTestAmount,omitempty"`
	TwilightStakingAmount       uint64 `protobuf:"varint,3,opt,name=twilightStakingAmount,proto3" json:"twilightStakingAmount,omitempty"`
	TwilightAddress             string `protobuf:"bytes,4,opt,name=twilightAddress,proto3" json:"twilightAddress,omitempty"`
	IsConfirmed                 bool   `protobuf:"varint,5,opt,name=isConfirmed,proto3" json:"isConfirmed,omitempty"`
	CreationTwilightBlockHeight int64  `protobuf:"varint,6,opt,name=CreationTwilightBlockHeight,proto3" json:"CreationTwilightBlockHeight,omitempty"`
}

func (*BtcDepositAddress) Descriptor added in v0.0.2

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

func (*BtcDepositAddress) GetBtcDepositAddress added in v0.0.2

func (m *BtcDepositAddress) GetBtcDepositAddress() string

func (*BtcDepositAddress) GetBtcSatoshiTestAmount added in v0.0.2

func (m *BtcDepositAddress) GetBtcSatoshiTestAmount() uint64

func (*BtcDepositAddress) GetCreationTwilightBlockHeight added in v0.0.2

func (m *BtcDepositAddress) GetCreationTwilightBlockHeight() int64

func (*BtcDepositAddress) GetIsConfirmed added in v0.0.2

func (m *BtcDepositAddress) GetIsConfirmed() bool

func (*BtcDepositAddress) GetTwilightAddress added in v0.0.2

func (m *BtcDepositAddress) GetTwilightAddress() string

func (*BtcDepositAddress) GetTwilightStakingAmount added in v0.0.2

func (m *BtcDepositAddress) GetTwilightStakingAmount() uint64

func (*BtcDepositAddress) Marshal added in v0.0.2

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

func (*BtcDepositAddress) MarshalTo added in v0.0.2

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

func (*BtcDepositAddress) MarshalToSizedBuffer added in v0.0.2

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

func (*BtcDepositAddress) ProtoMessage added in v0.0.2

func (*BtcDepositAddress) ProtoMessage()

func (*BtcDepositAddress) Reset added in v0.0.2

func (m *BtcDepositAddress) Reset()

func (*BtcDepositAddress) Size added in v0.0.2

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

func (*BtcDepositAddress) String added in v0.0.2

func (m *BtcDepositAddress) String() string

func (*BtcDepositAddress) Unmarshal added in v0.0.2

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

func (*BtcDepositAddress) XXX_DiscardUnknown added in v0.0.2

func (m *BtcDepositAddress) XXX_DiscardUnknown()

func (*BtcDepositAddress) XXX_Marshal added in v0.0.2

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

func (*BtcDepositAddress) XXX_Merge added in v0.0.2

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

func (*BtcDepositAddress) XXX_Size added in v0.0.2

func (m *BtcDepositAddress) XXX_Size() int

func (*BtcDepositAddress) XXX_Unmarshal added in v0.0.2

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

type BtcReserve

type BtcReserve struct {
	ReserveId             uint64 `protobuf:"varint,1,opt,name=ReserveId,proto3" json:"ReserveId,omitempty"`
	ReserveAddress        string `protobuf:"bytes,2,opt,name=ReserveAddress,proto3" json:"ReserveAddress,omitempty"`
	JudgeAddress          string `protobuf:"bytes,3,opt,name=JudgeAddress,proto3" json:"JudgeAddress,omitempty"`
	BtcRelayCapacityValue uint64 `protobuf:"varint,4,opt,name=BtcRelayCapacityValue,proto3" json:"BtcRelayCapacityValue,omitempty"`
	TotalValue            uint64 `protobuf:"varint,5,opt,name=TotalValue,proto3" json:"TotalValue,omitempty"`
	PrivatePoolValue      uint64 `protobuf:"varint,6,opt,name=PrivatePoolValue,proto3" json:"PrivatePoolValue,omitempty"`
	PublicValue           uint64 `protobuf:"varint,7,opt,name=PublicValue,proto3" json:"PublicValue,omitempty"`
	FeePool               uint64 `protobuf:"varint,8,opt,name=FeePool,proto3" json:"FeePool,omitempty"`
	UnlockHeight          uint64 `protobuf:"varint,9,opt,name=UnlockHeight,proto3" json:"UnlockHeight,omitempty"`
	RoundId               uint64 `protobuf:"varint,10,opt,name=RoundId,proto3" json:"RoundId,omitempty"`
}

BtcReserve is a mapping of a validator address to a reserve ID It holds other values in the reserve struct such as total value, private pool value, public pool value, and the btc relay capacity value

func (*BtcReserve) Descriptor

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

func (*BtcReserve) GetBtcRelayCapacityValue

func (m *BtcReserve) GetBtcRelayCapacityValue() uint64

func (*BtcReserve) GetFeePool

func (m *BtcReserve) GetFeePool() uint64

func (*BtcReserve) GetJudgeAddress

func (m *BtcReserve) GetJudgeAddress() string

func (*BtcReserve) GetPrivatePoolValue

func (m *BtcReserve) GetPrivatePoolValue() uint64

func (*BtcReserve) GetPublicValue

func (m *BtcReserve) GetPublicValue() uint64

func (*BtcReserve) GetReserveAddress

func (m *BtcReserve) GetReserveAddress() string

func (*BtcReserve) GetReserveId

func (m *BtcReserve) GetReserveId() uint64

func (*BtcReserve) GetRoundId added in v0.0.2

func (m *BtcReserve) GetRoundId() uint64

func (*BtcReserve) GetTotalValue

func (m *BtcReserve) GetTotalValue() uint64

func (*BtcReserve) GetUnlockHeight added in v0.0.2

func (m *BtcReserve) GetUnlockHeight() uint64

func (*BtcReserve) Marshal

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

func (*BtcReserve) MarshalTo

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

func (*BtcReserve) MarshalToSizedBuffer

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

func (*BtcReserve) ProtoMessage

func (*BtcReserve) ProtoMessage()

func (*BtcReserve) Reset

func (m *BtcReserve) Reset()

func (*BtcReserve) Size

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

func (*BtcReserve) String

func (m *BtcReserve) String() string

func (*BtcReserve) Unmarshal

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

func (*BtcReserve) XXX_DiscardUnknown

func (m *BtcReserve) XXX_DiscardUnknown()

func (*BtcReserve) XXX_Marshal

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

func (*BtcReserve) XXX_Merge

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

func (*BtcReserve) XXX_Size

func (m *BtcReserve) XXX_Size() int

func (*BtcReserve) XXX_Unmarshal

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

type BtcWithdrawRequestInternal added in v0.0.2

type BtcWithdrawRequestInternal struct {
	WithdrawIdentifier          uint32 `protobuf:"varint,1,opt,name=withdrawIdentifier,proto3" json:"withdrawIdentifier,omitempty"`
	WithdrawAddress             string `protobuf:"bytes,2,opt,name=withdrawAddress,proto3" json:"withdrawAddress,omitempty"`
	WithdrawReserveId           uint64 `protobuf:"varint,3,opt,name=withdrawReserveId,proto3" json:"withdrawReserveId,omitempty"`
	WithdrawAmount              uint64 `protobuf:"varint,4,opt,name=withdrawAmount,proto3" json:"withdrawAmount,omitempty"`
	TwilightAddress             string `protobuf:"bytes,5,opt,name=twilightAddress,proto3" json:"twilightAddress,omitempty"`
	IsConfirmed                 bool   `protobuf:"varint,6,opt,name=isConfirmed,proto3" json:"isConfirmed,omitempty"`
	CreationTwilightBlockHeight int64  `protobuf:"varint,7,opt,name=CreationTwilightBlockHeight,proto3" json:"CreationTwilightBlockHeight,omitempty"`
}

Chain creates an internal mapping with identifier and bool confirmed

func (*BtcWithdrawRequestInternal) Descriptor added in v0.0.2

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

func (*BtcWithdrawRequestInternal) GetCreationTwilightBlockHeight added in v0.0.2

func (m *BtcWithdrawRequestInternal) GetCreationTwilightBlockHeight() int64

func (*BtcWithdrawRequestInternal) GetIsConfirmed added in v0.0.2

func (m *BtcWithdrawRequestInternal) GetIsConfirmed() bool

func (*BtcWithdrawRequestInternal) GetTwilightAddress added in v0.0.2

func (m *BtcWithdrawRequestInternal) GetTwilightAddress() string

func (*BtcWithdrawRequestInternal) GetWithdrawAddress added in v0.0.2

func (m *BtcWithdrawRequestInternal) GetWithdrawAddress() string

func (*BtcWithdrawRequestInternal) GetWithdrawAmount added in v0.0.2

func (m *BtcWithdrawRequestInternal) GetWithdrawAmount() uint64

func (*BtcWithdrawRequestInternal) GetWithdrawIdentifier added in v0.0.2

func (m *BtcWithdrawRequestInternal) GetWithdrawIdentifier() uint32

func (*BtcWithdrawRequestInternal) GetWithdrawReserveId added in v0.0.2

func (m *BtcWithdrawRequestInternal) GetWithdrawReserveId() uint64

func (*BtcWithdrawRequestInternal) Marshal added in v0.0.2

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

func (*BtcWithdrawRequestInternal) MarshalTo added in v0.0.2

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

func (*BtcWithdrawRequestInternal) MarshalToSizedBuffer added in v0.0.2

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

func (*BtcWithdrawRequestInternal) ProtoMessage added in v0.0.2

func (*BtcWithdrawRequestInternal) ProtoMessage()

func (*BtcWithdrawRequestInternal) Reset added in v0.0.2

func (m *BtcWithdrawRequestInternal) Reset()

func (*BtcWithdrawRequestInternal) Size added in v0.0.2

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

func (*BtcWithdrawRequestInternal) String added in v0.0.2

func (m *BtcWithdrawRequestInternal) String() string

func (*BtcWithdrawRequestInternal) Unmarshal added in v0.0.2

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

func (*BtcWithdrawRequestInternal) XXX_DiscardUnknown added in v0.0.2

func (m *BtcWithdrawRequestInternal) XXX_DiscardUnknown()

func (*BtcWithdrawRequestInternal) XXX_Marshal added in v0.0.2

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

func (*BtcWithdrawRequestInternal) XXX_Merge added in v0.0.2

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

func (*BtcWithdrawRequestInternal) XXX_Size added in v0.0.2

func (m *BtcWithdrawRequestInternal) XXX_Size() int

func (*BtcWithdrawRequestInternal) XXX_Unmarshal added in v0.0.2

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

type ClearingAccount

type ClearingAccount struct {
	TwilightAddress              string                                     `protobuf:"bytes,1,opt,name=TwilightAddress,proto3" json:"TwilightAddress,omitempty"`
	BtcDepositAddress            string                                     `protobuf:"bytes,2,opt,name=BtcDepositAddress,proto3" json:"BtcDepositAddress,omitempty"`
	BtcDepositAddressIdentifier  uint32                                     `protobuf:"varint,3,opt,name=BtcDepositAddressIdentifier,proto3" json:"BtcDepositAddressIdentifier,omitempty"`
	BtcWithdrawAddress           string                                     `protobuf:"bytes,4,opt,name=BtcWithdrawAddress,proto3" json:"BtcWithdrawAddress,omitempty"`
	BtcWithdrawAddressIdentifier uint32                                     `protobuf:"varint,5,opt,name=BtcWithdrawAddressIdentifier,proto3" json:"BtcWithdrawAddressIdentifier,omitempty"`
	ReserveAccountBalances       []*IndividualTwilightReserveAccountBalance `protobuf:"bytes,6,rep,name=ReserveAccountBalances,proto3" json:"ReserveAccountBalances,omitempty"`
}

ClearingAccount is used to keep a mapping of how a user's addresses and its reserve account balances

func (*ClearingAccount) Descriptor

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

func (*ClearingAccount) GetBtcDepositAddress

func (m *ClearingAccount) GetBtcDepositAddress() string

func (*ClearingAccount) GetBtcDepositAddressIdentifier added in v0.0.2

func (m *ClearingAccount) GetBtcDepositAddressIdentifier() uint32

func (*ClearingAccount) GetBtcWithdrawAddress

func (m *ClearingAccount) GetBtcWithdrawAddress() string

func (*ClearingAccount) GetBtcWithdrawAddressIdentifier added in v0.0.2

func (m *ClearingAccount) GetBtcWithdrawAddressIdentifier() uint32

func (*ClearingAccount) GetReserveAccountBalances

func (m *ClearingAccount) GetReserveAccountBalances() []*IndividualTwilightReserveAccountBalance

func (*ClearingAccount) GetTwilightAddress

func (m *ClearingAccount) GetTwilightAddress() string

func (*ClearingAccount) Marshal

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

func (*ClearingAccount) MarshalTo

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

func (*ClearingAccount) MarshalToSizedBuffer

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

func (*ClearingAccount) ProtoMessage

func (*ClearingAccount) ProtoMessage()

func (*ClearingAccount) Reset

func (m *ClearingAccount) Reset()

func (*ClearingAccount) Size

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

func (*ClearingAccount) String

func (m *ClearingAccount) String() string

func (*ClearingAccount) Unmarshal

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

func (*ClearingAccount) XXX_DiscardUnknown

func (m *ClearingAccount) XXX_DiscardUnknown()

func (*ClearingAccount) XXX_Marshal

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

func (*ClearingAccount) XXX_Merge

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

func (*ClearingAccount) XXX_Size

func (m *ClearingAccount) XXX_Size() int

func (*ClearingAccount) XXX_Unmarshal

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

type EventRefundTxSnapshot added in v0.0.2

type EventRefundTxSnapshot struct {
	Message   string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	ReserveId uint64 `protobuf:"varint,2,opt,name=reserveId,proto3" json:"reserveId,omitempty"`
	RoundId   uint64 `protobuf:"varint,3,opt,name=roundId,proto3" json:"roundId,omitempty"`
}

func (*EventRefundTxSnapshot) Descriptor added in v0.0.2

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

func (*EventRefundTxSnapshot) GetMessage added in v0.0.2

func (m *EventRefundTxSnapshot) GetMessage() string

func (*EventRefundTxSnapshot) GetReserveId added in v0.0.2

func (m *EventRefundTxSnapshot) GetReserveId() uint64

func (*EventRefundTxSnapshot) GetRoundId added in v0.0.2

func (m *EventRefundTxSnapshot) GetRoundId() uint64

func (*EventRefundTxSnapshot) Marshal added in v0.0.2

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

func (*EventRefundTxSnapshot) MarshalTo added in v0.0.2

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

func (*EventRefundTxSnapshot) MarshalToSizedBuffer added in v0.0.2

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

func (*EventRefundTxSnapshot) ProtoMessage added in v0.0.2

func (*EventRefundTxSnapshot) ProtoMessage()

func (*EventRefundTxSnapshot) Reset added in v0.0.2

func (m *EventRefundTxSnapshot) Reset()

func (*EventRefundTxSnapshot) Size added in v0.0.2

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

func (*EventRefundTxSnapshot) String added in v0.0.2

func (m *EventRefundTxSnapshot) String() string

func (*EventRefundTxSnapshot) Unmarshal added in v0.0.2

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

func (*EventRefundTxSnapshot) XXX_DiscardUnknown added in v0.0.2

func (m *EventRefundTxSnapshot) XXX_DiscardUnknown()

func (*EventRefundTxSnapshot) XXX_Marshal added in v0.0.2

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

func (*EventRefundTxSnapshot) XXX_Merge added in v0.0.2

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

func (*EventRefundTxSnapshot) XXX_Size added in v0.0.2

func (m *EventRefundTxSnapshot) XXX_Size() int

func (*EventRefundTxSnapshot) XXX_Unmarshal added in v0.0.2

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

type EventReserveWithdrawSnapshot added in v0.0.2

type EventReserveWithdrawSnapshot struct {
	Message   string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	ReserveId uint64 `protobuf:"varint,2,opt,name=reserveId,proto3" json:"reserveId,omitempty"`
	RoundId   uint64 `protobuf:"varint,3,opt,name=roundId,proto3" json:"roundId,omitempty"`
}

func (*EventReserveWithdrawSnapshot) Descriptor added in v0.0.2

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

func (*EventReserveWithdrawSnapshot) GetMessage added in v0.0.2

func (m *EventReserveWithdrawSnapshot) GetMessage() string

func (*EventReserveWithdrawSnapshot) GetReserveId added in v0.0.2

func (m *EventReserveWithdrawSnapshot) GetReserveId() uint64

func (*EventReserveWithdrawSnapshot) GetRoundId added in v0.0.2

func (m *EventReserveWithdrawSnapshot) GetRoundId() uint64

func (*EventReserveWithdrawSnapshot) Marshal added in v0.0.2

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

func (*EventReserveWithdrawSnapshot) MarshalTo added in v0.0.2

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

func (*EventReserveWithdrawSnapshot) MarshalToSizedBuffer added in v0.0.2

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

func (*EventReserveWithdrawSnapshot) ProtoMessage added in v0.0.2

func (*EventReserveWithdrawSnapshot) ProtoMessage()

func (*EventReserveWithdrawSnapshot) Reset added in v0.0.2

func (m *EventReserveWithdrawSnapshot) Reset()

func (*EventReserveWithdrawSnapshot) Size added in v0.0.2

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

func (*EventReserveWithdrawSnapshot) String added in v0.0.2

func (*EventReserveWithdrawSnapshot) Unmarshal added in v0.0.2

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

func (*EventReserveWithdrawSnapshot) XXX_DiscardUnknown added in v0.0.2

func (m *EventReserveWithdrawSnapshot) XXX_DiscardUnknown()

func (*EventReserveWithdrawSnapshot) XXX_Marshal added in v0.0.2

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

func (*EventReserveWithdrawSnapshot) XXX_Merge added in v0.0.2

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

func (*EventReserveWithdrawSnapshot) XXX_Size added in v0.0.2

func (m *EventReserveWithdrawSnapshot) XXX_Size() int

func (*EventReserveWithdrawSnapshot) XXX_Unmarshal added in v0.0.2

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

type GenesisState

type GenesisState struct {
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

GenesisState defines the volt module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (GenesisState) Validate

func (gs GenesisState) Validate() error

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

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type IndividualTwilightReserveAccountBalance

type IndividualTwilightReserveAccountBalance struct {
	ReserveId uint64 `protobuf:"varint,1,opt,name=ReserveId,proto3" json:"ReserveId,omitempty"`
	Amount    uint64 `protobuf:"varint,2,opt,name=Amount,proto3" json:"Amount,omitempty"`
}

func (*IndividualTwilightReserveAccountBalance) Descriptor

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

func (*IndividualTwilightReserveAccountBalance) GetAmount

func (*IndividualTwilightReserveAccountBalance) GetReserveId

func (*IndividualTwilightReserveAccountBalance) Marshal

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

func (*IndividualTwilightReserveAccountBalance) MarshalTo

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

func (*IndividualTwilightReserveAccountBalance) MarshalToSizedBuffer

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

func (*IndividualTwilightReserveAccountBalance) ProtoMessage

func (*IndividualTwilightReserveAccountBalance) Reset

func (*IndividualTwilightReserveAccountBalance) Size

func (*IndividualTwilightReserveAccountBalance) String

func (*IndividualTwilightReserveAccountBalance) Unmarshal

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

func (*IndividualTwilightReserveAccountBalance) XXX_DiscardUnknown

func (m *IndividualTwilightReserveAccountBalance) XXX_DiscardUnknown()

func (*IndividualTwilightReserveAccountBalance) XXX_Marshal

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

func (*IndividualTwilightReserveAccountBalance) XXX_Merge

func (*IndividualTwilightReserveAccountBalance) XXX_Size

func (*IndividualTwilightReserveAccountBalance) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
}

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 MsgServer

type MsgServer interface {
}

MsgServer is the server API for Msg service.

type NewSweepProposalReceivedInternal added in v0.0.2

type NewSweepProposalReceivedInternal struct {
	ReserveId                   uint64 `protobuf:"varint,1,opt,name=reserveId,proto3" json:"reserveId,omitempty"`
	RoundId                     uint64 `protobuf:"varint,2,opt,name=roundId,proto3" json:"roundId,omitempty"`
	CreationTwilightBlockHeight int64  `protobuf:"varint,6,opt,name=creationTwilightBlockHeight,proto3" json:"creationTwilightBlockHeight,omitempty"`
}

NewSweepProposalReceivedInternal is an internal mapping for the sweep proposal to let Endblocker know that a new sweep proposal has been received

func (*NewSweepProposalReceivedInternal) Descriptor added in v0.0.2

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

func (*NewSweepProposalReceivedInternal) GetCreationTwilightBlockHeight added in v0.0.2

func (m *NewSweepProposalReceivedInternal) GetCreationTwilightBlockHeight() int64

func (*NewSweepProposalReceivedInternal) GetReserveId added in v0.0.2

func (m *NewSweepProposalReceivedInternal) GetReserveId() uint64

func (*NewSweepProposalReceivedInternal) GetRoundId added in v0.0.2

func (m *NewSweepProposalReceivedInternal) GetRoundId() uint64

func (*NewSweepProposalReceivedInternal) Marshal added in v0.0.2

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

func (*NewSweepProposalReceivedInternal) MarshalTo added in v0.0.2

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

func (*NewSweepProposalReceivedInternal) MarshalToSizedBuffer added in v0.0.2

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

func (*NewSweepProposalReceivedInternal) ProtoMessage added in v0.0.2

func (*NewSweepProposalReceivedInternal) ProtoMessage()

func (*NewSweepProposalReceivedInternal) Reset added in v0.0.2

func (*NewSweepProposalReceivedInternal) Size added in v0.0.2

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

func (*NewSweepProposalReceivedInternal) String added in v0.0.2

func (*NewSweepProposalReceivedInternal) Unmarshal added in v0.0.2

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

func (*NewSweepProposalReceivedInternal) XXX_DiscardUnknown added in v0.0.2

func (m *NewSweepProposalReceivedInternal) XXX_DiscardUnknown()

func (*NewSweepProposalReceivedInternal) XXX_Marshal added in v0.0.2

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

func (*NewSweepProposalReceivedInternal) XXX_Merge added in v0.0.2

func (*NewSweepProposalReceivedInternal) XXX_Size added in v0.0.2

func (m *NewSweepProposalReceivedInternal) XXX_Size() int

func (*NewSweepProposalReceivedInternal) XXX_Unmarshal added in v0.0.2

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

type Params

type Params struct {
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams() Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ParamSetPairs

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

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (Params) String

func (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

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

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type QueryBtcReserveRequest

type QueryBtcReserveRequest struct {
}

func (*QueryBtcReserveRequest) Descriptor

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

func (*QueryBtcReserveRequest) Marshal

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

func (*QueryBtcReserveRequest) MarshalTo

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

func (*QueryBtcReserveRequest) MarshalToSizedBuffer

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

func (*QueryBtcReserveRequest) ProtoMessage

func (*QueryBtcReserveRequest) ProtoMessage()

func (*QueryBtcReserveRequest) Reset

func (m *QueryBtcReserveRequest) Reset()

func (*QueryBtcReserveRequest) Size

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

func (*QueryBtcReserveRequest) String

func (m *QueryBtcReserveRequest) String() string

func (*QueryBtcReserveRequest) Unmarshal

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

func (*QueryBtcReserveRequest) XXX_DiscardUnknown

func (m *QueryBtcReserveRequest) XXX_DiscardUnknown()

func (*QueryBtcReserveRequest) XXX_Marshal

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

func (*QueryBtcReserveRequest) XXX_Merge

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

func (*QueryBtcReserveRequest) XXX_Size

func (m *QueryBtcReserveRequest) XXX_Size() int

func (*QueryBtcReserveRequest) XXX_Unmarshal

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

type QueryBtcReserveResponse

type QueryBtcReserveResponse struct {
	BtcReserves []BtcReserve `protobuf:"bytes,1,rep,name=BtcReserves,proto3" json:"BtcReserves"`
}

func (*QueryBtcReserveResponse) Descriptor

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

func (*QueryBtcReserveResponse) GetBtcReserves

func (m *QueryBtcReserveResponse) GetBtcReserves() []BtcReserve

func (*QueryBtcReserveResponse) Marshal

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

func (*QueryBtcReserveResponse) MarshalTo

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

func (*QueryBtcReserveResponse) MarshalToSizedBuffer

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

func (*QueryBtcReserveResponse) ProtoMessage

func (*QueryBtcReserveResponse) ProtoMessage()

func (*QueryBtcReserveResponse) Reset

func (m *QueryBtcReserveResponse) Reset()

func (*QueryBtcReserveResponse) Size

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

func (*QueryBtcReserveResponse) String

func (m *QueryBtcReserveResponse) String() string

func (*QueryBtcReserveResponse) Unmarshal

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

func (*QueryBtcReserveResponse) XXX_DiscardUnknown

func (m *QueryBtcReserveResponse) XXX_DiscardUnknown()

func (*QueryBtcReserveResponse) XXX_Marshal

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

func (*QueryBtcReserveResponse) XXX_Merge

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

func (*QueryBtcReserveResponse) XXX_Size

func (m *QueryBtcReserveResponse) XXX_Size() int

func (*QueryBtcReserveResponse) XXX_Unmarshal

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

type QueryBtcWithdrawRequestRequest added in v0.0.2

type QueryBtcWithdrawRequestRequest struct {
	TwilightAddress string `protobuf:"bytes,1,opt,name=twilightAddress,proto3" json:"twilightAddress,omitempty"`
	ReserveId       uint64 `protobuf:"varint,2,opt,name=reserveId,proto3" json:"reserveId,omitempty"`
	BtcAddress      string `protobuf:"bytes,3,opt,name=btcAddress,proto3" json:"btcAddress,omitempty"`
	WithdrawAmount  uint64 `protobuf:"varint,4,opt,name=withdrawAmount,proto3" json:"withdrawAmount,omitempty"`
}

func (*QueryBtcWithdrawRequestRequest) Descriptor added in v0.0.2

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

func (*QueryBtcWithdrawRequestRequest) GetBtcAddress added in v0.0.2

func (m *QueryBtcWithdrawRequestRequest) GetBtcAddress() string

func (*QueryBtcWithdrawRequestRequest) GetReserveId added in v0.0.2

func (m *QueryBtcWithdrawRequestRequest) GetReserveId() uint64

func (*QueryBtcWithdrawRequestRequest) GetTwilightAddress added in v0.0.2

func (m *QueryBtcWithdrawRequestRequest) GetTwilightAddress() string

func (*QueryBtcWithdrawRequestRequest) GetWithdrawAmount added in v0.0.2

func (m *QueryBtcWithdrawRequestRequest) GetWithdrawAmount() uint64

func (*QueryBtcWithdrawRequestRequest) Marshal added in v0.0.2

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

func (*QueryBtcWithdrawRequestRequest) MarshalTo added in v0.0.2

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

func (*QueryBtcWithdrawRequestRequest) MarshalToSizedBuffer added in v0.0.2

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

func (*QueryBtcWithdrawRequestRequest) ProtoMessage added in v0.0.2

func (*QueryBtcWithdrawRequestRequest) ProtoMessage()

func (*QueryBtcWithdrawRequestRequest) Reset added in v0.0.2

func (m *QueryBtcWithdrawRequestRequest) Reset()

func (*QueryBtcWithdrawRequestRequest) Size added in v0.0.2

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

func (*QueryBtcWithdrawRequestRequest) String added in v0.0.2

func (*QueryBtcWithdrawRequestRequest) Unmarshal added in v0.0.2

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

func (*QueryBtcWithdrawRequestRequest) XXX_DiscardUnknown added in v0.0.2

func (m *QueryBtcWithdrawRequestRequest) XXX_DiscardUnknown()

func (*QueryBtcWithdrawRequestRequest) XXX_Marshal added in v0.0.2

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

func (*QueryBtcWithdrawRequestRequest) XXX_Merge added in v0.0.2

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

func (*QueryBtcWithdrawRequestRequest) XXX_Size added in v0.0.2

func (m *QueryBtcWithdrawRequestRequest) XXX_Size() int

func (*QueryBtcWithdrawRequestRequest) XXX_Unmarshal added in v0.0.2

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

type QueryBtcWithdrawRequestResponse added in v0.0.2

type QueryBtcWithdrawRequestResponse struct {
	BtcWithdrawRequest BtcWithdrawRequestInternal `protobuf:"bytes,1,opt,name=BtcWithdrawRequest,proto3" json:"BtcWithdrawRequest"`
}

func (*QueryBtcWithdrawRequestResponse) Descriptor added in v0.0.2

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

func (*QueryBtcWithdrawRequestResponse) GetBtcWithdrawRequest added in v0.0.2

func (*QueryBtcWithdrawRequestResponse) Marshal added in v0.0.2

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

func (*QueryBtcWithdrawRequestResponse) MarshalTo added in v0.0.2

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

func (*QueryBtcWithdrawRequestResponse) MarshalToSizedBuffer added in v0.0.2

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

func (*QueryBtcWithdrawRequestResponse) ProtoMessage added in v0.0.2

func (*QueryBtcWithdrawRequestResponse) ProtoMessage()

func (*QueryBtcWithdrawRequestResponse) Reset added in v0.0.2

func (*QueryBtcWithdrawRequestResponse) Size added in v0.0.2

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

func (*QueryBtcWithdrawRequestResponse) String added in v0.0.2

func (*QueryBtcWithdrawRequestResponse) Unmarshal added in v0.0.2

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

func (*QueryBtcWithdrawRequestResponse) XXX_DiscardUnknown added in v0.0.2

func (m *QueryBtcWithdrawRequestResponse) XXX_DiscardUnknown()

func (*QueryBtcWithdrawRequestResponse) XXX_Marshal added in v0.0.2

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

func (*QueryBtcWithdrawRequestResponse) XXX_Merge added in v0.0.2

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

func (*QueryBtcWithdrawRequestResponse) XXX_Size added in v0.0.2

func (m *QueryBtcWithdrawRequestResponse) XXX_Size() int

func (*QueryBtcWithdrawRequestResponse) XXX_Unmarshal added in v0.0.2

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

type QueryClearingAccountRequest added in v0.0.2

type QueryClearingAccountRequest struct {
	TwilightAddress string `protobuf:"bytes,1,opt,name=twilightAddress,proto3" json:"twilightAddress,omitempty"`
}

this line is used by starport scaffolding # 3

func (*QueryClearingAccountRequest) Descriptor added in v0.0.2

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

func (*QueryClearingAccountRequest) GetTwilightAddress added in v0.0.2

func (m *QueryClearingAccountRequest) GetTwilightAddress() string

func (*QueryClearingAccountRequest) Marshal added in v0.0.2

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

func (*QueryClearingAccountRequest) MarshalTo added in v0.0.2

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

func (*QueryClearingAccountRequest) MarshalToSizedBuffer added in v0.0.2

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

func (*QueryClearingAccountRequest) ProtoMessage added in v0.0.2

func (*QueryClearingAccountRequest) ProtoMessage()

func (*QueryClearingAccountRequest) Reset added in v0.0.2

func (m *QueryClearingAccountRequest) Reset()

func (*QueryClearingAccountRequest) Size added in v0.0.2

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

func (*QueryClearingAccountRequest) String added in v0.0.2

func (m *QueryClearingAccountRequest) String() string

func (*QueryClearingAccountRequest) Unmarshal added in v0.0.2

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

func (*QueryClearingAccountRequest) XXX_DiscardUnknown added in v0.0.2

func (m *QueryClearingAccountRequest) XXX_DiscardUnknown()

func (*QueryClearingAccountRequest) XXX_Marshal added in v0.0.2

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

func (*QueryClearingAccountRequest) XXX_Merge added in v0.0.2

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

func (*QueryClearingAccountRequest) XXX_Size added in v0.0.2

func (m *QueryClearingAccountRequest) XXX_Size() int

func (*QueryClearingAccountRequest) XXX_Unmarshal added in v0.0.2

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

type QueryClearingAccountResponse added in v0.0.2

type QueryClearingAccountResponse struct {
	ClearingAccount ClearingAccount `protobuf:"bytes,1,opt,name=ClearingAccount,proto3" json:"ClearingAccount"`
}

func (*QueryClearingAccountResponse) Descriptor added in v0.0.2

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

func (*QueryClearingAccountResponse) GetClearingAccount added in v0.0.2

func (m *QueryClearingAccountResponse) GetClearingAccount() ClearingAccount

func (*QueryClearingAccountResponse) Marshal added in v0.0.2

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

func (*QueryClearingAccountResponse) MarshalTo added in v0.0.2

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

func (*QueryClearingAccountResponse) MarshalToSizedBuffer added in v0.0.2

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

func (*QueryClearingAccountResponse) ProtoMessage added in v0.0.2

func (*QueryClearingAccountResponse) ProtoMessage()

func (*QueryClearingAccountResponse) Reset added in v0.0.2

func (m *QueryClearingAccountResponse) Reset()

func (*QueryClearingAccountResponse) Size added in v0.0.2

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

func (*QueryClearingAccountResponse) String added in v0.0.2

func (*QueryClearingAccountResponse) Unmarshal added in v0.0.2

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

func (*QueryClearingAccountResponse) XXX_DiscardUnknown added in v0.0.2

func (m *QueryClearingAccountResponse) XXX_DiscardUnknown()

func (*QueryClearingAccountResponse) XXX_Marshal added in v0.0.2

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

func (*QueryClearingAccountResponse) XXX_Merge added in v0.0.2

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

func (*QueryClearingAccountResponse) XXX_Size added in v0.0.2

func (m *QueryClearingAccountResponse) XXX_Size() int

func (*QueryClearingAccountResponse) XXX_Unmarshal added in v0.0.2

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

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a list of BtcReserve items.
	BtcReserve(ctx context.Context, in *QueryBtcReserveRequest, opts ...grpc.CallOption) (*QueryBtcReserveResponse, error)
	// Queries a list of ClearingAccount items.
	ClearingAccount(ctx context.Context, in *QueryClearingAccountRequest, opts ...grpc.CallOption) (*QueryClearingAccountResponse, error)
	// Queries a list of ReserveClearingAccountsAll items.
	ReserveClearingAccountsAll(ctx context.Context, in *QueryReserveClearingAccountsAllRequest, opts ...grpc.CallOption) (*QueryReserveClearingAccountsAllResponse, error)
	// Queries a list of ReserveWithdrawSnapshot items.
	ReserveWithdrawSnapshot(ctx context.Context, in *QueryReserveWithdrawSnapshotRequest, opts ...grpc.CallOption) (*QueryReserveWithdrawSnapshotResponse, error)
	// Queries a list of RefundTxSnapshot items.
	RefundTxSnapshot(ctx context.Context, in *QueryRefundTxSnapshotRequest, opts ...grpc.CallOption) (*QueryRefundTxSnapshotResponse, error)
	// Queries a list of BtcWithdrawRequest items.
	BtcWithdrawRequest(ctx context.Context, in *QueryBtcWithdrawRequestRequest, opts ...grpc.CallOption) (*QueryBtcWithdrawRequestResponse, error)
	// Queries a list of ReserveWithdrawPool items.
	ReserveWithdrawPool(ctx context.Context, in *QueryReserveWithdrawPoolRequest, opts ...grpc.CallOption) (*QueryReserveWithdrawPoolResponse, 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 QueryParamsRequest

type QueryParamsRequest struct {
}

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

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

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

func (*QueryParamsRequest) MarshalTo

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

func (*QueryParamsRequest) MarshalToSizedBuffer

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

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

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

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

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

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

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

func (*QueryParamsRequest) XXX_Merge

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

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

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

type QueryParamsResponse

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

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

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

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

func (*QueryParamsResponse) MarshalTo

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

func (*QueryParamsResponse) MarshalToSizedBuffer

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

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

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

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

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

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

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

func (*QueryParamsResponse) XXX_Merge

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

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

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

type QueryRefundTxSnapshotRequest added in v0.0.2

type QueryRefundTxSnapshotRequest struct {
	ReserveId uint64 `protobuf:"varint,1,opt,name=reserveId,proto3" json:"reserveId,omitempty"`
	RoundId   uint64 `protobuf:"varint,2,opt,name=roundId,proto3" json:"roundId,omitempty"`
}

func (*QueryRefundTxSnapshotRequest) Descriptor added in v0.0.2

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

func (*QueryRefundTxSnapshotRequest) GetReserveId added in v0.0.2

func (m *QueryRefundTxSnapshotRequest) GetReserveId() uint64

func (*QueryRefundTxSnapshotRequest) GetRoundId added in v0.0.2

func (m *QueryRefundTxSnapshotRequest) GetRoundId() uint64

func (*QueryRefundTxSnapshotRequest) Marshal added in v0.0.2

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

func (*QueryRefundTxSnapshotRequest) MarshalTo added in v0.0.2

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

func (*QueryRefundTxSnapshotRequest) MarshalToSizedBuffer added in v0.0.2

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

func (*QueryRefundTxSnapshotRequest) ProtoMessage added in v0.0.2

func (*QueryRefundTxSnapshotRequest) ProtoMessage()

func (*QueryRefundTxSnapshotRequest) Reset added in v0.0.2

func (m *QueryRefundTxSnapshotRequest) Reset()

func (*QueryRefundTxSnapshotRequest) Size added in v0.0.2

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

func (*QueryRefundTxSnapshotRequest) String added in v0.0.2

func (*QueryRefundTxSnapshotRequest) Unmarshal added in v0.0.2

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

func (*QueryRefundTxSnapshotRequest) XXX_DiscardUnknown added in v0.0.2

func (m *QueryRefundTxSnapshotRequest) XXX_DiscardUnknown()

func (*QueryRefundTxSnapshotRequest) XXX_Marshal added in v0.0.2

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

func (*QueryRefundTxSnapshotRequest) XXX_Merge added in v0.0.2

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

func (*QueryRefundTxSnapshotRequest) XXX_Size added in v0.0.2

func (m *QueryRefundTxSnapshotRequest) XXX_Size() int

func (*QueryRefundTxSnapshotRequest) XXX_Unmarshal added in v0.0.2

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

type QueryRefundTxSnapshotResponse added in v0.0.2

type QueryRefundTxSnapshotResponse struct {
	RefundTxSnapshot RefundTxSnapshot `protobuf:"bytes,1,opt,name=RefundTxSnapshot,proto3" json:"RefundTxSnapshot"`
}

func (*QueryRefundTxSnapshotResponse) Descriptor added in v0.0.2

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

func (*QueryRefundTxSnapshotResponse) GetRefundTxSnapshot added in v0.0.2

func (m *QueryRefundTxSnapshotResponse) GetRefundTxSnapshot() RefundTxSnapshot

func (*QueryRefundTxSnapshotResponse) Marshal added in v0.0.2

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

func (*QueryRefundTxSnapshotResponse) MarshalTo added in v0.0.2

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

func (*QueryRefundTxSnapshotResponse) MarshalToSizedBuffer added in v0.0.2

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

func (*QueryRefundTxSnapshotResponse) ProtoMessage added in v0.0.2

func (*QueryRefundTxSnapshotResponse) ProtoMessage()

func (*QueryRefundTxSnapshotResponse) Reset added in v0.0.2

func (m *QueryRefundTxSnapshotResponse) Reset()

func (*QueryRefundTxSnapshotResponse) Size added in v0.0.2

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

func (*QueryRefundTxSnapshotResponse) String added in v0.0.2

func (*QueryRefundTxSnapshotResponse) Unmarshal added in v0.0.2

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

func (*QueryRefundTxSnapshotResponse) XXX_DiscardUnknown added in v0.0.2

func (m *QueryRefundTxSnapshotResponse) XXX_DiscardUnknown()

func (*QueryRefundTxSnapshotResponse) XXX_Marshal added in v0.0.2

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

func (*QueryRefundTxSnapshotResponse) XXX_Merge added in v0.0.2

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

func (*QueryRefundTxSnapshotResponse) XXX_Size added in v0.0.2

func (m *QueryRefundTxSnapshotResponse) XXX_Size() int

func (*QueryRefundTxSnapshotResponse) XXX_Unmarshal added in v0.0.2

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

type QueryReserveClearingAccountsAllRequest added in v0.0.2

type QueryReserveClearingAccountsAllRequest struct {
	ReserveId uint64 `protobuf:"varint,1,opt,name=reserveId,proto3" json:"reserveId,omitempty"`
}

func (*QueryReserveClearingAccountsAllRequest) Descriptor added in v0.0.2

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

func (*QueryReserveClearingAccountsAllRequest) GetReserveId added in v0.0.2

func (*QueryReserveClearingAccountsAllRequest) Marshal added in v0.0.2

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

func (*QueryReserveClearingAccountsAllRequest) MarshalTo added in v0.0.2

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

func (*QueryReserveClearingAccountsAllRequest) MarshalToSizedBuffer added in v0.0.2

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

func (*QueryReserveClearingAccountsAllRequest) ProtoMessage added in v0.0.2

func (*QueryReserveClearingAccountsAllRequest) Reset added in v0.0.2

func (*QueryReserveClearingAccountsAllRequest) Size added in v0.0.2

func (*QueryReserveClearingAccountsAllRequest) String added in v0.0.2

func (*QueryReserveClearingAccountsAllRequest) Unmarshal added in v0.0.2

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

func (*QueryReserveClearingAccountsAllRequest) XXX_DiscardUnknown added in v0.0.2

func (m *QueryReserveClearingAccountsAllRequest) XXX_DiscardUnknown()

func (*QueryReserveClearingAccountsAllRequest) XXX_Marshal added in v0.0.2

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

func (*QueryReserveClearingAccountsAllRequest) XXX_Merge added in v0.0.2

func (*QueryReserveClearingAccountsAllRequest) XXX_Size added in v0.0.2

func (*QueryReserveClearingAccountsAllRequest) XXX_Unmarshal added in v0.0.2

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

type QueryReserveClearingAccountsAllResponse added in v0.0.2

type QueryReserveClearingAccountsAllResponse struct {
	ReserveClearingAccountsAll []ClearingAccount `protobuf:"bytes,1,rep,name=ReserveClearingAccountsAll,proto3" json:"ReserveClearingAccountsAll"`
}

func (*QueryReserveClearingAccountsAllResponse) Descriptor added in v0.0.2

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

func (*QueryReserveClearingAccountsAllResponse) GetReserveClearingAccountsAll added in v0.0.2

func (m *QueryReserveClearingAccountsAllResponse) GetReserveClearingAccountsAll() []ClearingAccount

func (*QueryReserveClearingAccountsAllResponse) Marshal added in v0.0.2

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

func (*QueryReserveClearingAccountsAllResponse) MarshalTo added in v0.0.2

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

func (*QueryReserveClearingAccountsAllResponse) MarshalToSizedBuffer added in v0.0.2

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

func (*QueryReserveClearingAccountsAllResponse) ProtoMessage added in v0.0.2

func (*QueryReserveClearingAccountsAllResponse) Reset added in v0.0.2

func (*QueryReserveClearingAccountsAllResponse) Size added in v0.0.2

func (*QueryReserveClearingAccountsAllResponse) String added in v0.0.2

func (*QueryReserveClearingAccountsAllResponse) Unmarshal added in v0.0.2

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

func (*QueryReserveClearingAccountsAllResponse) XXX_DiscardUnknown added in v0.0.2

func (m *QueryReserveClearingAccountsAllResponse) XXX_DiscardUnknown()

func (*QueryReserveClearingAccountsAllResponse) XXX_Marshal added in v0.0.2

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

func (*QueryReserveClearingAccountsAllResponse) XXX_Merge added in v0.0.2

func (*QueryReserveClearingAccountsAllResponse) XXX_Size added in v0.0.2

func (*QueryReserveClearingAccountsAllResponse) XXX_Unmarshal added in v0.0.2

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

type QueryReserveWithdrawPoolRequest added in v0.0.2

type QueryReserveWithdrawPoolRequest struct {
	ReserveId uint64 `protobuf:"varint,1,opt,name=reserveId,proto3" json:"reserveId,omitempty"`
}

func (*QueryReserveWithdrawPoolRequest) Descriptor added in v0.0.2

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

func (*QueryReserveWithdrawPoolRequest) GetReserveId added in v0.0.2

func (m *QueryReserveWithdrawPoolRequest) GetReserveId() uint64

func (*QueryReserveWithdrawPoolRequest) Marshal added in v0.0.2

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

func (*QueryReserveWithdrawPoolRequest) MarshalTo added in v0.0.2

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

func (*QueryReserveWithdrawPoolRequest) MarshalToSizedBuffer added in v0.0.2

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

func (*QueryReserveWithdrawPoolRequest) ProtoMessage added in v0.0.2

func (*QueryReserveWithdrawPoolRequest) ProtoMessage()

func (*QueryReserveWithdrawPoolRequest) Reset added in v0.0.2

func (*QueryReserveWithdrawPoolRequest) Size added in v0.0.2

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

func (*QueryReserveWithdrawPoolRequest) String added in v0.0.2

func (*QueryReserveWithdrawPoolRequest) Unmarshal added in v0.0.2

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

func (*QueryReserveWithdrawPoolRequest) XXX_DiscardUnknown added in v0.0.2

func (m *QueryReserveWithdrawPoolRequest) XXX_DiscardUnknown()

func (*QueryReserveWithdrawPoolRequest) XXX_Marshal added in v0.0.2

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

func (*QueryReserveWithdrawPoolRequest) XXX_Merge added in v0.0.2

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

func (*QueryReserveWithdrawPoolRequest) XXX_Size added in v0.0.2

func (m *QueryReserveWithdrawPoolRequest) XXX_Size() int

func (*QueryReserveWithdrawPoolRequest) XXX_Unmarshal added in v0.0.2

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

type QueryReserveWithdrawPoolResponse added in v0.0.2

type QueryReserveWithdrawPoolResponse struct {
	ReserveWithdrawPool ReserveWithdrawPool `protobuf:"bytes,1,opt,name=ReserveWithdrawPool,proto3" json:"ReserveWithdrawPool"`
}

func (*QueryReserveWithdrawPoolResponse) Descriptor added in v0.0.2

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

func (*QueryReserveWithdrawPoolResponse) GetReserveWithdrawPool added in v0.0.2

func (m *QueryReserveWithdrawPoolResponse) GetReserveWithdrawPool() ReserveWithdrawPool

func (*QueryReserveWithdrawPoolResponse) Marshal added in v0.0.2

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

func (*QueryReserveWithdrawPoolResponse) MarshalTo added in v0.0.2

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

func (*QueryReserveWithdrawPoolResponse) MarshalToSizedBuffer added in v0.0.2

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

func (*QueryReserveWithdrawPoolResponse) ProtoMessage added in v0.0.2

func (*QueryReserveWithdrawPoolResponse) ProtoMessage()

func (*QueryReserveWithdrawPoolResponse) Reset added in v0.0.2

func (*QueryReserveWithdrawPoolResponse) Size added in v0.0.2

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

func (*QueryReserveWithdrawPoolResponse) String added in v0.0.2

func (*QueryReserveWithdrawPoolResponse) Unmarshal added in v0.0.2

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

func (*QueryReserveWithdrawPoolResponse) XXX_DiscardUnknown added in v0.0.2

func (m *QueryReserveWithdrawPoolResponse) XXX_DiscardUnknown()

func (*QueryReserveWithdrawPoolResponse) XXX_Marshal added in v0.0.2

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

func (*QueryReserveWithdrawPoolResponse) XXX_Merge added in v0.0.2

func (*QueryReserveWithdrawPoolResponse) XXX_Size added in v0.0.2

func (m *QueryReserveWithdrawPoolResponse) XXX_Size() int

func (*QueryReserveWithdrawPoolResponse) XXX_Unmarshal added in v0.0.2

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

type QueryReserveWithdrawSnapshotRequest added in v0.0.2

type QueryReserveWithdrawSnapshotRequest struct {
	ReserveId uint64 `protobuf:"varint,1,opt,name=reserveId,proto3" json:"reserveId,omitempty"`
	RoundId   uint64 `protobuf:"varint,2,opt,name=roundId,proto3" json:"roundId,omitempty"`
}

func (*QueryReserveWithdrawSnapshotRequest) Descriptor added in v0.0.2

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

func (*QueryReserveWithdrawSnapshotRequest) GetReserveId added in v0.0.2

func (m *QueryReserveWithdrawSnapshotRequest) GetReserveId() uint64

func (*QueryReserveWithdrawSnapshotRequest) GetRoundId added in v0.0.2

func (*QueryReserveWithdrawSnapshotRequest) Marshal added in v0.0.2

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

func (*QueryReserveWithdrawSnapshotRequest) MarshalTo added in v0.0.2

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

func (*QueryReserveWithdrawSnapshotRequest) MarshalToSizedBuffer added in v0.0.2

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

func (*QueryReserveWithdrawSnapshotRequest) ProtoMessage added in v0.0.2

func (*QueryReserveWithdrawSnapshotRequest) ProtoMessage()

func (*QueryReserveWithdrawSnapshotRequest) Reset added in v0.0.2

func (*QueryReserveWithdrawSnapshotRequest) Size added in v0.0.2

func (*QueryReserveWithdrawSnapshotRequest) String added in v0.0.2

func (*QueryReserveWithdrawSnapshotRequest) Unmarshal added in v0.0.2

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

func (*QueryReserveWithdrawSnapshotRequest) XXX_DiscardUnknown added in v0.0.2

func (m *QueryReserveWithdrawSnapshotRequest) XXX_DiscardUnknown()

func (*QueryReserveWithdrawSnapshotRequest) XXX_Marshal added in v0.0.2

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

func (*QueryReserveWithdrawSnapshotRequest) XXX_Merge added in v0.0.2

func (*QueryReserveWithdrawSnapshotRequest) XXX_Size added in v0.0.2

func (*QueryReserveWithdrawSnapshotRequest) XXX_Unmarshal added in v0.0.2

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

type QueryReserveWithdrawSnapshotResponse added in v0.0.2

type QueryReserveWithdrawSnapshotResponse struct {
	ReserveWithdrawSnapshot ReserveWithdrawSnapshot `protobuf:"bytes,1,opt,name=ReserveWithdrawSnapshot,proto3" json:"ReserveWithdrawSnapshot"`
}

func (*QueryReserveWithdrawSnapshotResponse) Descriptor added in v0.0.2

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

func (*QueryReserveWithdrawSnapshotResponse) GetReserveWithdrawSnapshot added in v0.0.2

func (m *QueryReserveWithdrawSnapshotResponse) GetReserveWithdrawSnapshot() ReserveWithdrawSnapshot

func (*QueryReserveWithdrawSnapshotResponse) Marshal added in v0.0.2

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

func (*QueryReserveWithdrawSnapshotResponse) MarshalTo added in v0.0.2

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

func (*QueryReserveWithdrawSnapshotResponse) MarshalToSizedBuffer added in v0.0.2

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

func (*QueryReserveWithdrawSnapshotResponse) ProtoMessage added in v0.0.2

func (*QueryReserveWithdrawSnapshotResponse) ProtoMessage()

func (*QueryReserveWithdrawSnapshotResponse) Reset added in v0.0.2

func (*QueryReserveWithdrawSnapshotResponse) Size added in v0.0.2

func (*QueryReserveWithdrawSnapshotResponse) String added in v0.0.2

func (*QueryReserveWithdrawSnapshotResponse) Unmarshal added in v0.0.2

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

func (*QueryReserveWithdrawSnapshotResponse) XXX_DiscardUnknown added in v0.0.2

func (m *QueryReserveWithdrawSnapshotResponse) XXX_DiscardUnknown()

func (*QueryReserveWithdrawSnapshotResponse) XXX_Marshal added in v0.0.2

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

func (*QueryReserveWithdrawSnapshotResponse) XXX_Merge added in v0.0.2

func (*QueryReserveWithdrawSnapshotResponse) XXX_Size added in v0.0.2

func (*QueryReserveWithdrawSnapshotResponse) XXX_Unmarshal added in v0.0.2

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

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a list of BtcReserve items.
	BtcReserve(context.Context, *QueryBtcReserveRequest) (*QueryBtcReserveResponse, error)
	// Queries a list of ClearingAccount items.
	ClearingAccount(context.Context, *QueryClearingAccountRequest) (*QueryClearingAccountResponse, error)
	// Queries a list of ReserveClearingAccountsAll items.
	ReserveClearingAccountsAll(context.Context, *QueryReserveClearingAccountsAllRequest) (*QueryReserveClearingAccountsAllResponse, error)
	// Queries a list of ReserveWithdrawSnapshot items.
	ReserveWithdrawSnapshot(context.Context, *QueryReserveWithdrawSnapshotRequest) (*QueryReserveWithdrawSnapshotResponse, error)
	// Queries a list of RefundTxSnapshot items.
	RefundTxSnapshot(context.Context, *QueryRefundTxSnapshotRequest) (*QueryRefundTxSnapshotResponse, error)
	// Queries a list of BtcWithdrawRequest items.
	BtcWithdrawRequest(context.Context, *QueryBtcWithdrawRequestRequest) (*QueryBtcWithdrawRequestResponse, error)
	// Queries a list of ReserveWithdrawPool items.
	ReserveWithdrawPool(context.Context, *QueryReserveWithdrawPoolRequest) (*QueryReserveWithdrawPoolResponse, error)
}

QueryServer is the server API for Query service.

type RefundTxAccountSnap added in v0.0.2

type RefundTxAccountSnap struct {
	Amount                      uint64 `protobuf:"varint,1,opt,name=Amount,proto3" json:"Amount,omitempty"`
	BtcDepositAddress           string `protobuf:"bytes,2,opt,name=BtcDepositAddress,proto3" json:"BtcDepositAddress,omitempty"`
	BtcDepositAddressIdentifier uint32 `protobuf:"varint,3,opt,name=BtcDepositAddressIdentifier,proto3" json:"BtcDepositAddressIdentifier,omitempty"`
}

RefundTxSnap is used to keep a mapping of the last refund transaction for a reserve

func (*RefundTxAccountSnap) Descriptor added in v0.0.2

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

func (*RefundTxAccountSnap) GetAmount added in v0.0.2

func (m *RefundTxAccountSnap) GetAmount() uint64

func (*RefundTxAccountSnap) GetBtcDepositAddress added in v0.0.2

func (m *RefundTxAccountSnap) GetBtcDepositAddress() string

func (*RefundTxAccountSnap) GetBtcDepositAddressIdentifier added in v0.0.2

func (m *RefundTxAccountSnap) GetBtcDepositAddressIdentifier() uint32

func (*RefundTxAccountSnap) Marshal added in v0.0.2

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

func (*RefundTxAccountSnap) MarshalTo added in v0.0.2

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

func (*RefundTxAccountSnap) MarshalToSizedBuffer added in v0.0.2

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

func (*RefundTxAccountSnap) ProtoMessage added in v0.0.2

func (*RefundTxAccountSnap) ProtoMessage()

func (*RefundTxAccountSnap) Reset added in v0.0.2

func (m *RefundTxAccountSnap) Reset()

func (*RefundTxAccountSnap) Size added in v0.0.2

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

func (*RefundTxAccountSnap) String added in v0.0.2

func (m *RefundTxAccountSnap) String() string

func (*RefundTxAccountSnap) Unmarshal added in v0.0.2

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

func (*RefundTxAccountSnap) XXX_DiscardUnknown added in v0.0.2

func (m *RefundTxAccountSnap) XXX_DiscardUnknown()

func (*RefundTxAccountSnap) XXX_Marshal added in v0.0.2

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

func (*RefundTxAccountSnap) XXX_Merge added in v0.0.2

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

func (*RefundTxAccountSnap) XXX_Size added in v0.0.2

func (m *RefundTxAccountSnap) XXX_Size() int

func (*RefundTxAccountSnap) XXX_Unmarshal added in v0.0.2

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

type RefundTxSnapshot added in v0.0.2

type RefundTxSnapshot struct {
	ReserveId                uint64                 `protobuf:"varint,1,opt,name=ReserveId,proto3" json:"ReserveId,omitempty"`
	RoundId                  uint64                 `protobuf:"varint,2,opt,name=RoundId,proto3" json:"RoundId,omitempty"`
	RefundAccounts           []*RefundTxAccountSnap `protobuf:"bytes,3,rep,name=refundAccounts,proto3" json:"refundAccounts,omitempty"`
	EndBlockerHeightTwilight int64                  `protobuf:"varint,4,opt,name=EndBlockerHeightTwilight,proto3" json:"EndBlockerHeightTwilight,omitempty"`
}

LastRefundTxSnapshot is a snapshot of the last refund for this reserve id

func (*RefundTxSnapshot) Descriptor added in v0.0.2

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

func (*RefundTxSnapshot) GetEndBlockerHeightTwilight added in v0.0.2

func (m *RefundTxSnapshot) GetEndBlockerHeightTwilight() int64

func (*RefundTxSnapshot) GetRefundAccounts added in v0.0.2

func (m *RefundTxSnapshot) GetRefundAccounts() []*RefundTxAccountSnap

func (*RefundTxSnapshot) GetReserveId added in v0.0.2

func (m *RefundTxSnapshot) GetReserveId() uint64

func (*RefundTxSnapshot) GetRoundId added in v0.0.2

func (m *RefundTxSnapshot) GetRoundId() uint64

func (*RefundTxSnapshot) Marshal added in v0.0.2

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

func (*RefundTxSnapshot) MarshalTo added in v0.0.2

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

func (*RefundTxSnapshot) MarshalToSizedBuffer added in v0.0.2

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

func (*RefundTxSnapshot) ProtoMessage added in v0.0.2

func (*RefundTxSnapshot) ProtoMessage()

func (*RefundTxSnapshot) Reset added in v0.0.2

func (m *RefundTxSnapshot) Reset()

func (*RefundTxSnapshot) Size added in v0.0.2

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

func (*RefundTxSnapshot) String added in v0.0.2

func (m *RefundTxSnapshot) String() string

func (*RefundTxSnapshot) Unmarshal added in v0.0.2

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

func (*RefundTxSnapshot) XXX_DiscardUnknown added in v0.0.2

func (m *RefundTxSnapshot) XXX_DiscardUnknown()

func (*RefundTxSnapshot) XXX_Marshal added in v0.0.2

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

func (*RefundTxSnapshot) XXX_Merge added in v0.0.2

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

func (*RefundTxSnapshot) XXX_Size added in v0.0.2

func (m *RefundTxSnapshot) XXX_Size() int

func (*RefundTxSnapshot) XXX_Unmarshal added in v0.0.2

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

type ReserveWithdrawPool added in v0.0.2

type ReserveWithdrawPool struct {
	ReserveID                     uint64   `protobuf:"varint,1,opt,name=ReserveID,proto3" json:"ReserveID,omitempty"`
	RoundID                       uint64   `protobuf:"varint,2,opt,name=RoundID,proto3" json:"RoundID,omitempty"`
	ProcessingWithdrawIdentifiers []uint32 `protobuf:"varint,3,rep,packed,name=processingWithdrawIdentifiers,proto3" json:"processingWithdrawIdentifiers,omitempty"`
	QueuedWithdrawIdentifiers     []uint32 `protobuf:"varint,4,rep,packed,name=queuedWithdrawIdentifiers,proto3" json:"queuedWithdrawIdentifiers,omitempty"`
	CurrentProcessingIndex        uint32   `protobuf:"varint,5,opt,name=currentProcessingIndex,proto3" json:"currentProcessingIndex,omitempty"`
}

func (*ReserveWithdrawPool) Descriptor added in v0.0.2

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

func (*ReserveWithdrawPool) GetCurrentProcessingIndex added in v0.0.2

func (m *ReserveWithdrawPool) GetCurrentProcessingIndex() uint32

func (*ReserveWithdrawPool) GetProcessingWithdrawIdentifiers added in v0.0.2

func (m *ReserveWithdrawPool) GetProcessingWithdrawIdentifiers() []uint32

func (*ReserveWithdrawPool) GetQueuedWithdrawIdentifiers added in v0.0.2

func (m *ReserveWithdrawPool) GetQueuedWithdrawIdentifiers() []uint32

func (*ReserveWithdrawPool) GetReserveID added in v0.0.2

func (m *ReserveWithdrawPool) GetReserveID() uint64

func (*ReserveWithdrawPool) GetRoundID added in v0.0.2

func (m *ReserveWithdrawPool) GetRoundID() uint64

func (*ReserveWithdrawPool) Marshal added in v0.0.2

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

func (*ReserveWithdrawPool) MarshalTo added in v0.0.2

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

func (*ReserveWithdrawPool) MarshalToSizedBuffer added in v0.0.2

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

func (*ReserveWithdrawPool) ProtoMessage added in v0.0.2

func (*ReserveWithdrawPool) ProtoMessage()

func (*ReserveWithdrawPool) Reset added in v0.0.2

func (m *ReserveWithdrawPool) Reset()

func (*ReserveWithdrawPool) Size added in v0.0.2

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

func (*ReserveWithdrawPool) String added in v0.0.2

func (m *ReserveWithdrawPool) String() string

func (*ReserveWithdrawPool) Unmarshal added in v0.0.2

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

func (*ReserveWithdrawPool) XXX_DiscardUnknown added in v0.0.2

func (m *ReserveWithdrawPool) XXX_DiscardUnknown()

func (*ReserveWithdrawPool) XXX_Marshal added in v0.0.2

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

func (*ReserveWithdrawPool) XXX_Merge added in v0.0.2

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

func (*ReserveWithdrawPool) XXX_Size added in v0.0.2

func (m *ReserveWithdrawPool) XXX_Size() int

func (*ReserveWithdrawPool) XXX_Unmarshal added in v0.0.2

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

type ReserveWithdrawSnapshot added in v0.0.2

type ReserveWithdrawSnapshot struct {
	ReserveId                uint64                 `protobuf:"varint,1,opt,name=ReserveId,proto3" json:"ReserveId,omitempty"`
	RoundId                  uint64                 `protobuf:"varint,2,opt,name=RoundId,proto3" json:"RoundId,omitempty"`
	WithdrawRequests         []*WithdrawRequestSnap `protobuf:"bytes,3,rep,name=withdrawRequests,proto3" json:"withdrawRequests,omitempty"`
	EndBlockerHeightTwilight int64                  `protobuf:"varint,4,opt,name=EndBlockerHeightTwilight,proto3" json:"EndBlockerHeightTwilight,omitempty"`
}

ReserveWithdrawSnapshot is a snapshot of the reserve withdraw, its used in sweep to know which withdraws are currently being processed

func (*ReserveWithdrawSnapshot) Descriptor added in v0.0.2

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

func (*ReserveWithdrawSnapshot) GetEndBlockerHeightTwilight added in v0.0.2

func (m *ReserveWithdrawSnapshot) GetEndBlockerHeightTwilight() int64

func (*ReserveWithdrawSnapshot) GetReserveId added in v0.0.2

func (m *ReserveWithdrawSnapshot) GetReserveId() uint64

func (*ReserveWithdrawSnapshot) GetRoundId added in v0.0.2

func (m *ReserveWithdrawSnapshot) GetRoundId() uint64

func (*ReserveWithdrawSnapshot) GetWithdrawRequests added in v0.0.2

func (m *ReserveWithdrawSnapshot) GetWithdrawRequests() []*WithdrawRequestSnap

func (*ReserveWithdrawSnapshot) Marshal added in v0.0.2

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

func (*ReserveWithdrawSnapshot) MarshalTo added in v0.0.2

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

func (*ReserveWithdrawSnapshot) MarshalToSizedBuffer added in v0.0.2

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

func (*ReserveWithdrawSnapshot) ProtoMessage added in v0.0.2

func (*ReserveWithdrawSnapshot) ProtoMessage()

func (*ReserveWithdrawSnapshot) Reset added in v0.0.2

func (m *ReserveWithdrawSnapshot) Reset()

func (*ReserveWithdrawSnapshot) Size added in v0.0.2

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

func (*ReserveWithdrawSnapshot) String added in v0.0.2

func (m *ReserveWithdrawSnapshot) String() string

func (*ReserveWithdrawSnapshot) Unmarshal added in v0.0.2

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

func (*ReserveWithdrawSnapshot) XXX_DiscardUnknown added in v0.0.2

func (m *ReserveWithdrawSnapshot) XXX_DiscardUnknown()

func (*ReserveWithdrawSnapshot) XXX_Marshal added in v0.0.2

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

func (*ReserveWithdrawSnapshot) XXX_Merge added in v0.0.2

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

func (*ReserveWithdrawSnapshot) XXX_Size added in v0.0.2

func (m *ReserveWithdrawSnapshot) XXX_Size() int

func (*ReserveWithdrawSnapshot) XXX_Unmarshal added in v0.0.2

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) BtcReserve

func (*UnimplementedQueryServer) BtcWithdrawRequest added in v0.0.2

func (*UnimplementedQueryServer) ClearingAccount added in v0.0.2

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) RefundTxSnapshot added in v0.0.2

func (*UnimplementedQueryServer) ReserveClearingAccountsAll added in v0.0.2

func (*UnimplementedQueryServer) ReserveWithdrawPool added in v0.0.2

func (*UnimplementedQueryServer) ReserveWithdrawSnapshot added in v0.0.2

type WithdrawRequestSnap added in v0.0.2

type WithdrawRequestSnap struct {
	WithdrawIdentifier uint32 `protobuf:"varint,1,opt,name=withdrawIdentifier,proto3" json:"withdrawIdentifier,omitempty"`
	WithdrawAddress    string `protobuf:"bytes,2,opt,name=withdrawAddress,proto3" json:"withdrawAddress,omitempty"`
	WithdrawAmount     uint64 `protobuf:"varint,3,opt,name=withdrawAmount,proto3" json:"withdrawAmount,omitempty"`
}

WithdrawRequestSnap is a snapshot of the withdraw request

func (*WithdrawRequestSnap) Descriptor added in v0.0.2

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

func (*WithdrawRequestSnap) GetWithdrawAddress added in v0.0.2

func (m *WithdrawRequestSnap) GetWithdrawAddress() string

func (*WithdrawRequestSnap) GetWithdrawAmount added in v0.0.2

func (m *WithdrawRequestSnap) GetWithdrawAmount() uint64

func (*WithdrawRequestSnap) GetWithdrawIdentifier added in v0.0.2

func (m *WithdrawRequestSnap) GetWithdrawIdentifier() uint32

func (*WithdrawRequestSnap) Marshal added in v0.0.2

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

func (*WithdrawRequestSnap) MarshalTo added in v0.0.2

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

func (*WithdrawRequestSnap) MarshalToSizedBuffer added in v0.0.2

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

func (*WithdrawRequestSnap) ProtoMessage added in v0.0.2

func (*WithdrawRequestSnap) ProtoMessage()

func (*WithdrawRequestSnap) Reset added in v0.0.2

func (m *WithdrawRequestSnap) Reset()

func (*WithdrawRequestSnap) Size added in v0.0.2

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

func (*WithdrawRequestSnap) String added in v0.0.2

func (m *WithdrawRequestSnap) String() string

func (*WithdrawRequestSnap) Unmarshal added in v0.0.2

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

func (*WithdrawRequestSnap) XXX_DiscardUnknown added in v0.0.2

func (m *WithdrawRequestSnap) XXX_DiscardUnknown()

func (*WithdrawRequestSnap) XXX_Marshal added in v0.0.2

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

func (*WithdrawRequestSnap) XXX_Merge added in v0.0.2

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

func (*WithdrawRequestSnap) XXX_Size added in v0.0.2

func (m *WithdrawRequestSnap) XXX_Size() int

func (*WithdrawRequestSnap) XXX_Unmarshal added in v0.0.2

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

Jump to

Keyboard shortcuts

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