Documentation
¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)deprecated
- 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)
- type BurnMintPair
- func (*BurnMintPair) Descriptor() ([]byte, []int)
- func (m *BurnMintPair) GetBurned() CoinPrice
- func (m *BurnMintPair) GetMinted() CoinPrice
- func (m *BurnMintPair) Marshal() (dAtA []byte, err error)
- func (m *BurnMintPair) MarshalTo(dAtA []byte) (int, error)
- func (m *BurnMintPair) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BurnMintPair) ProtoMessage()
- func (m *BurnMintPair) Reset()
- func (m *BurnMintPair) Size() (n int)
- func (m *BurnMintPair) String() string
- func (m *BurnMintPair) Unmarshal(dAtA []byte) error
- func (m *BurnMintPair) XXX_DiscardUnknown()
- func (m *BurnMintPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BurnMintPair) XXX_Merge(src proto.Message)
- func (m *BurnMintPair) XXX_Size() int
- func (m *BurnMintPair) XXX_Unmarshal(b []byte) error
- type CoinPrice
- func (*CoinPrice) Descriptor() ([]byte, []int)
- func (m *CoinPrice) GetCoin() types.Coin
- func (m *CoinPrice) Marshal() (dAtA []byte, err error)
- func (m *CoinPrice) MarshalTo(dAtA []byte) (int, error)
- func (m *CoinPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CoinPrice) ProtoMessage()
- func (m *CoinPrice) Reset()
- func (m *CoinPrice) Size() (n int)
- func (m *CoinPrice) String() string
- func (m *CoinPrice) Unmarshal(dAtA []byte) error
- func (m *CoinPrice) XXX_DiscardUnknown()
- func (m *CoinPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CoinPrice) XXX_Merge(src proto.Message)
- func (m *CoinPrice) XXX_Size() int
- func (m *CoinPrice) XXX_Unmarshal(b []byte) error
- type CollateralRatio
- func (*CollateralRatio) Descriptor() ([]byte, []int)
- func (m *CollateralRatio) GetStatus() MintStatus
- func (m *CollateralRatio) Marshal() (dAtA []byte, err error)
- func (m *CollateralRatio) MarshalTo(dAtA []byte) (int, error)
- func (m *CollateralRatio) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CollateralRatio) ProtoMessage()
- func (m *CollateralRatio) Reset()
- func (m *CollateralRatio) Size() (n int)
- func (m *CollateralRatio) String() string
- func (m *CollateralRatio) Unmarshal(dAtA []byte) error
- func (m *CollateralRatio) XXX_DiscardUnknown()
- func (m *CollateralRatio) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollateralRatio) XXX_Merge(src proto.Message)
- func (m *CollateralRatio) XXX_Size() int
- func (m *CollateralRatio) XXX_Unmarshal(b []byte) error
- type EventLedgerRecordExecuted
- func (*EventLedgerRecordExecuted) Descriptor() ([]byte, []int)
- func (m *EventLedgerRecordExecuted) GetID() LedgerRecordID
- func (m *EventLedgerRecordExecuted) Marshal() (dAtA []byte, err error)
- func (m *EventLedgerRecordExecuted) MarshalTo(dAtA []byte) (int, error)
- func (m *EventLedgerRecordExecuted) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventLedgerRecordExecuted) ProtoMessage()
- func (m *EventLedgerRecordExecuted) Reset()
- func (m *EventLedgerRecordExecuted) Size() (n int)
- func (m *EventLedgerRecordExecuted) String() string
- func (m *EventLedgerRecordExecuted) Unmarshal(dAtA []byte) error
- func (m *EventLedgerRecordExecuted) XXX_DiscardUnknown()
- func (m *EventLedgerRecordExecuted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventLedgerRecordExecuted) XXX_Merge(src proto.Message)
- func (m *EventLedgerRecordExecuted) XXX_Size() int
- func (m *EventLedgerRecordExecuted) XXX_Unmarshal(b []byte) error
- type EventMintStatusChange
- func (*EventMintStatusChange) Descriptor() ([]byte, []int)
- func (m *EventMintStatusChange) GetNewStatus() MintStatus
- func (m *EventMintStatusChange) GetPreviousStatus() MintStatus
- func (m *EventMintStatusChange) Marshal() (dAtA []byte, err error)
- func (m *EventMintStatusChange) MarshalTo(dAtA []byte) (int, error)
- func (m *EventMintStatusChange) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventMintStatusChange) ProtoMessage()
- func (m *EventMintStatusChange) Reset()
- func (m *EventMintStatusChange) Size() (n int)
- func (m *EventMintStatusChange) String() string
- func (m *EventMintStatusChange) Unmarshal(dAtA []byte) error
- func (m *EventMintStatusChange) XXX_DiscardUnknown()
- func (m *EventMintStatusChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventMintStatusChange) XXX_Merge(src proto.Message)
- func (m *EventMintStatusChange) XXX_Size() int
- func (m *EventMintStatusChange) XXX_Unmarshal(b []byte) error
- type EventVaultSeeded
- func (*EventVaultSeeded) Descriptor() ([]byte, []int)
- func (m *EventVaultSeeded) GetAmount() types.Coin
- func (m *EventVaultSeeded) GetNewVaultBalance() types.Coin
- func (m *EventVaultSeeded) GetSource() string
- func (m *EventVaultSeeded) Marshal() (dAtA []byte, err error)
- func (m *EventVaultSeeded) MarshalTo(dAtA []byte) (int, error)
- func (m *EventVaultSeeded) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventVaultSeeded) ProtoMessage()
- func (m *EventVaultSeeded) Reset()
- func (m *EventVaultSeeded) Size() (n int)
- func (m *EventVaultSeeded) String() string
- func (m *EventVaultSeeded) Unmarshal(dAtA []byte) error
- func (m *EventVaultSeeded) XXX_DiscardUnknown()
- func (m *EventVaultSeeded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventVaultSeeded) XXX_Merge(src proto.Message)
- func (m *EventVaultSeeded) XXX_Size() int
- func (m *EventVaultSeeded) XXX_Unmarshal(b []byte) error
- type GenesisLedgerPendingRecord
- func (*GenesisLedgerPendingRecord) Descriptor() ([]byte, []int)
- func (m *GenesisLedgerPendingRecord) GetID() LedgerRecordID
- func (m *GenesisLedgerPendingRecord) GetRecord() LedgerPendingRecord
- func (m *GenesisLedgerPendingRecord) Marshal() (dAtA []byte, err error)
- func (m *GenesisLedgerPendingRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisLedgerPendingRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisLedgerPendingRecord) ProtoMessage()
- func (m *GenesisLedgerPendingRecord) Reset()
- func (m *GenesisLedgerPendingRecord) Size() (n int)
- func (m *GenesisLedgerPendingRecord) String() string
- func (m *GenesisLedgerPendingRecord) Unmarshal(dAtA []byte) error
- func (m *GenesisLedgerPendingRecord) XXX_DiscardUnknown()
- func (m *GenesisLedgerPendingRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisLedgerPendingRecord) XXX_Merge(src proto.Message)
- func (m *GenesisLedgerPendingRecord) XXX_Size() int
- func (m *GenesisLedgerPendingRecord) XXX_Unmarshal(b []byte) error
- type GenesisLedgerRecord
- func (*GenesisLedgerRecord) Descriptor() ([]byte, []int)
- func (m *GenesisLedgerRecord) GetID() LedgerRecordID
- func (m *GenesisLedgerRecord) GetRecord() LedgerRecord
- func (m *GenesisLedgerRecord) Marshal() (dAtA []byte, err error)
- func (m *GenesisLedgerRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisLedgerRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisLedgerRecord) ProtoMessage()
- func (m *GenesisLedgerRecord) Reset()
- func (m *GenesisLedgerRecord) Size() (n int)
- func (m *GenesisLedgerRecord) String() string
- func (m *GenesisLedgerRecord) Unmarshal(dAtA []byte) error
- func (m *GenesisLedgerRecord) XXX_DiscardUnknown()
- func (m *GenesisLedgerRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisLedgerRecord) XXX_Merge(src proto.Message)
- func (m *GenesisLedgerRecord) XXX_Size() int
- func (m *GenesisLedgerRecord) XXX_Unmarshal(b []byte) error
- type GenesisLedgerState
- func (*GenesisLedgerState) Descriptor() ([]byte, []int)
- func (m *GenesisLedgerState) GetPendingRecords() []GenesisLedgerPendingRecord
- func (m *GenesisLedgerState) GetRecords() []GenesisLedgerRecord
- func (m *GenesisLedgerState) Marshal() (dAtA []byte, err error)
- func (m *GenesisLedgerState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisLedgerState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisLedgerState) ProtoMessage()
- func (m *GenesisLedgerState) Reset()
- func (m *GenesisLedgerState) Size() (n int)
- func (m *GenesisLedgerState) String() string
- func (m *GenesisLedgerState) Unmarshal(dAtA []byte) error
- func (m *GenesisLedgerState) XXX_DiscardUnknown()
- func (m *GenesisLedgerState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisLedgerState) XXX_Merge(src proto.Message)
- func (m *GenesisLedgerState) XXX_Size() int
- func (m *GenesisLedgerState) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetLedger() *GenesisLedgerState
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetState() GenesisVaultState
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs *GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type GenesisVaultState
- func (*GenesisVaultState) Descriptor() ([]byte, []int)
- func (m *GenesisVaultState) GetRemintCredits() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *GenesisVaultState) GetTotalBurned() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *GenesisVaultState) GetTotalMinted() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *GenesisVaultState) Marshal() (dAtA []byte, err error)
- func (m *GenesisVaultState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisVaultState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisVaultState) ProtoMessage()
- func (m *GenesisVaultState) Reset()
- func (m *GenesisVaultState) Size() (n int)
- func (m *GenesisVaultState) String() string
- func (m *GenesisVaultState) Unmarshal(dAtA []byte) error
- func (m *GenesisVaultState) XXX_DiscardUnknown()
- func (m *GenesisVaultState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisVaultState) XXX_Merge(src proto.Message)
- func (m *GenesisVaultState) XXX_Size() int
- func (m *GenesisVaultState) XXX_Unmarshal(b []byte) error
- type LedgerID
- func (*LedgerID) Descriptor() ([]byte, []int)
- func (m *LedgerID) GetHeight() int64
- func (m *LedgerID) GetSequence() int64
- func (m *LedgerID) Marshal() (dAtA []byte, err error)
- func (m *LedgerID) MarshalTo(dAtA []byte) (int, error)
- func (m *LedgerID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LedgerID) ProtoMessage()
- func (m *LedgerID) Reset()
- func (m *LedgerID) Size() (n int)
- func (m *LedgerID) String() string
- func (m *LedgerID) Unmarshal(dAtA []byte) error
- func (m *LedgerID) XXX_DiscardUnknown()
- func (m *LedgerID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LedgerID) XXX_Merge(src proto.Message)
- func (m *LedgerID) XXX_Size() int
- func (m *LedgerID) XXX_Unmarshal(b []byte) error
- type LedgerPendingRecord
- func (*LedgerPendingRecord) Descriptor() ([]byte, []int)
- func (m *LedgerPendingRecord) GetCoinsToBurn() types.Coin
- func (m *LedgerPendingRecord) GetDenomToMint() string
- func (m *LedgerPendingRecord) GetOwner() string
- func (m *LedgerPendingRecord) GetTo() string
- func (m *LedgerPendingRecord) Marshal() (dAtA []byte, err error)
- func (m *LedgerPendingRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *LedgerPendingRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LedgerPendingRecord) ProtoMessage()
- func (m *LedgerPendingRecord) Reset()
- func (m *LedgerPendingRecord) Size() (n int)
- func (m *LedgerPendingRecord) String() string
- func (m *LedgerPendingRecord) Unmarshal(dAtA []byte) error
- func (m *LedgerPendingRecord) XXX_DiscardUnknown()
- func (m *LedgerPendingRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LedgerPendingRecord) XXX_Merge(src proto.Message)
- func (m *LedgerPendingRecord) XXX_Size() int
- func (m *LedgerPendingRecord) XXX_Unmarshal(b []byte) error
- type LedgerRecord
- func (*LedgerRecord) Descriptor() ([]byte, []int)
- func (m *LedgerRecord) GetBurned() *CoinPrice
- func (m *LedgerRecord) GetBurnedFrom() string
- func (m *LedgerRecord) GetBurner() string
- func (m *LedgerRecord) GetMinted() *CoinPrice
- func (m *LedgerRecord) GetMintedTo() string
- func (m *LedgerRecord) GetMinter() string
- func (m *LedgerRecord) GetRemintCreditAccrued() *CoinPrice
- func (m *LedgerRecord) GetRemintCreditIssued() *CoinPrice
- func (m *LedgerRecord) Marshal() (dAtA []byte, err error)
- func (m *LedgerRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *LedgerRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LedgerRecord) ProtoMessage()
- func (m *LedgerRecord) Reset()
- func (m *LedgerRecord) Size() (n int)
- func (m *LedgerRecord) String() string
- func (m *LedgerRecord) Unmarshal(dAtA []byte) error
- func (m *LedgerRecord) XXX_DiscardUnknown()
- func (m *LedgerRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LedgerRecord) XXX_Merge(src proto.Message)
- func (m *LedgerRecord) XXX_Size() int
- func (m *LedgerRecord) XXX_Unmarshal(b []byte) error
- type LedgerRecordFilters
- func (filters *LedgerRecordFilters) AcceptExecuted(id LedgerRecordID, _ LedgerRecord) bool
- func (filters *LedgerRecordFilters) AcceptPending(id LedgerRecordID, _ LedgerPendingRecord) bool
- func (*LedgerRecordFilters) Descriptor() ([]byte, []int)
- func (m *LedgerRecordFilters) GetDenom() string
- func (m *LedgerRecordFilters) GetSource() string
- func (m *LedgerRecordFilters) GetStatus() string
- func (m *LedgerRecordFilters) GetToDenom() string
- func (m *LedgerRecordFilters) Marshal() (dAtA []byte, err error)
- func (m *LedgerRecordFilters) MarshalTo(dAtA []byte) (int, error)
- func (m *LedgerRecordFilters) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LedgerRecordFilters) ProtoMessage()
- func (m *LedgerRecordFilters) Reset()
- func (m *LedgerRecordFilters) Size() (n int)
- func (m *LedgerRecordFilters) String() string
- func (m *LedgerRecordFilters) Unmarshal(dAtA []byte) error
- func (m *LedgerRecordFilters) XXX_DiscardUnknown()
- func (m *LedgerRecordFilters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LedgerRecordFilters) XXX_Merge(src proto.Message)
- func (m *LedgerRecordFilters) XXX_Size() int
- func (m *LedgerRecordFilters) XXX_Unmarshal(b []byte) error
- type LedgerRecordID
- func (*LedgerRecordID) Descriptor() ([]byte, []int)
- func (m *LedgerRecordID) GetDenom() string
- func (m *LedgerRecordID) GetHeight() int64
- func (m *LedgerRecordID) GetSequence() int64
- func (m *LedgerRecordID) GetSource() string
- func (m *LedgerRecordID) GetToDenom() string
- func (m *LedgerRecordID) Marshal() (dAtA []byte, err error)
- func (m *LedgerRecordID) MarshalTo(dAtA []byte) (int, error)
- func (m *LedgerRecordID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LedgerRecordID) ProtoMessage()
- func (m *LedgerRecordID) Reset()
- func (m *LedgerRecordID) Size() (n int)
- func (m *LedgerRecordID) String() string
- func (m *LedgerRecordID) Unmarshal(dAtA []byte) error
- func (m *LedgerRecordID) XXX_DiscardUnknown()
- func (m *LedgerRecordID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LedgerRecordID) XXX_Merge(src proto.Message)
- func (m *LedgerRecordID) XXX_Size() int
- func (m *LedgerRecordID) XXX_Unmarshal(b []byte) error
- type LedgerRecordStatus
- type MintEpoch
- func (*MintEpoch) Descriptor() ([]byte, []int)
- func (m *MintEpoch) GetNextEpoch() int64
- func (m *MintEpoch) Marshal() (dAtA []byte, err error)
- func (m *MintEpoch) MarshalTo(dAtA []byte) (int, error)
- func (m *MintEpoch) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MintEpoch) ProtoMessage()
- func (m *MintEpoch) Reset()
- func (m *MintEpoch) Size() (n int)
- func (m *MintEpoch) String() string
- func (m *MintEpoch) Unmarshal(dAtA []byte) error
- func (m *MintEpoch) XXX_DiscardUnknown()
- func (m *MintEpoch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MintEpoch) XXX_Merge(src proto.Message)
- func (m *MintEpoch) XXX_Size() int
- func (m *MintEpoch) XXX_Unmarshal(b []byte) error
- type MintStatus
- type MsgBurnACT
- func (*MsgBurnACT) Descriptor() ([]byte, []int)
- func (m *MsgBurnACT) GetCoinsToBurn() types.Coin
- func (m *MsgBurnACT) GetOwner() string
- func (m *MsgBurnACT) GetTo() string
- func (m *MsgBurnACT) Marshal() (dAtA []byte, err error)
- func (m *MsgBurnACT) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBurnACT) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBurnACT) ProtoMessage()
- func (m *MsgBurnACT) Reset()
- func (m *MsgBurnACT) Size() (n int)
- func (m *MsgBurnACT) String() string
- func (m *MsgBurnACT) Unmarshal(dAtA []byte) error
- func (msg MsgBurnACT) ValidateBasic() error
- func (m *MsgBurnACT) XXX_DiscardUnknown()
- func (m *MsgBurnACT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBurnACT) XXX_Merge(src proto.Message)
- func (m *MsgBurnACT) XXX_Size() int
- func (m *MsgBurnACT) XXX_Unmarshal(b []byte) error
- type MsgBurnACTResponse
- func (*MsgBurnACTResponse) Descriptor() ([]byte, []int)
- func (m *MsgBurnACTResponse) GetID() LedgerRecordID
- func (m *MsgBurnACTResponse) GetStatus() LedgerRecordStatus
- func (m *MsgBurnACTResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBurnACTResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBurnACTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBurnACTResponse) ProtoMessage()
- func (m *MsgBurnACTResponse) Reset()
- func (m *MsgBurnACTResponse) Size() (n int)
- func (m *MsgBurnACTResponse) String() string
- func (m *MsgBurnACTResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBurnACTResponse) XXX_DiscardUnknown()
- func (m *MsgBurnACTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBurnACTResponse) XXX_Merge(src proto.Message)
- func (m *MsgBurnACTResponse) XXX_Size() int
- func (m *MsgBurnACTResponse) XXX_Unmarshal(b []byte) error
- type MsgBurnMint
- func (*MsgBurnMint) Descriptor() ([]byte, []int)
- func (m *MsgBurnMint) GetCoinsToBurn() types.Coin
- func (m *MsgBurnMint) GetDenomToMint() string
- func (m *MsgBurnMint) GetOwner() string
- func (m *MsgBurnMint) GetTo() string
- func (m *MsgBurnMint) Marshal() (dAtA []byte, err error)
- func (m *MsgBurnMint) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBurnMint) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBurnMint) ProtoMessage()
- func (m *MsgBurnMint) Reset()
- func (m *MsgBurnMint) Size() (n int)
- func (m *MsgBurnMint) String() string
- func (m *MsgBurnMint) Unmarshal(dAtA []byte) error
- func (msg MsgBurnMint) ValidateBasic() error
- func (m *MsgBurnMint) XXX_DiscardUnknown()
- func (m *MsgBurnMint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBurnMint) XXX_Merge(src proto.Message)
- func (m *MsgBurnMint) XXX_Size() int
- func (m *MsgBurnMint) XXX_Unmarshal(b []byte) error
- type MsgBurnMintResponse
- func (*MsgBurnMintResponse) Descriptor() ([]byte, []int)
- func (m *MsgBurnMintResponse) GetID() LedgerRecordID
- func (m *MsgBurnMintResponse) GetStatus() LedgerRecordStatus
- func (m *MsgBurnMintResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBurnMintResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBurnMintResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBurnMintResponse) ProtoMessage()
- func (m *MsgBurnMintResponse) Reset()
- func (m *MsgBurnMintResponse) Size() (n int)
- func (m *MsgBurnMintResponse) String() string
- func (m *MsgBurnMintResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBurnMintResponse) XXX_DiscardUnknown()
- func (m *MsgBurnMintResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBurnMintResponse) XXX_Merge(src proto.Message)
- func (m *MsgBurnMintResponse) XXX_Size() int
- func (m *MsgBurnMintResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgMintACT
- func (*MsgMintACT) Descriptor() ([]byte, []int)
- func (m *MsgMintACT) GetCoinsToBurn() types.Coin
- func (m *MsgMintACT) GetOwner() string
- func (m *MsgMintACT) GetTo() string
- func (m *MsgMintACT) Marshal() (dAtA []byte, err error)
- func (m *MsgMintACT) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMintACT) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMintACT) ProtoMessage()
- func (m *MsgMintACT) Reset()
- func (m *MsgMintACT) Size() (n int)
- func (m *MsgMintACT) String() string
- func (m *MsgMintACT) Unmarshal(dAtA []byte) error
- func (msg MsgMintACT) ValidateBasic() error
- func (m *MsgMintACT) XXX_DiscardUnknown()
- func (m *MsgMintACT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMintACT) XXX_Merge(src proto.Message)
- func (m *MsgMintACT) XXX_Size() int
- func (m *MsgMintACT) XXX_Unmarshal(b []byte) error
- type MsgMintACTResponse
- func (*MsgMintACTResponse) Descriptor() ([]byte, []int)
- func (m *MsgMintACTResponse) GetID() LedgerRecordID
- func (m *MsgMintACTResponse) GetStatus() LedgerRecordStatus
- func (m *MsgMintACTResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMintACTResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMintACTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMintACTResponse) ProtoMessage()
- func (m *MsgMintACTResponse) Reset()
- func (m *MsgMintACTResponse) Size() (n int)
- func (m *MsgMintACTResponse) String() string
- func (m *MsgMintACTResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMintACTResponse) XXX_DiscardUnknown()
- func (m *MsgMintACTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMintACTResponse) XXX_Merge(src proto.Message)
- func (m *MsgMintACTResponse) XXX_Size() int
- func (m *MsgMintACTResponse) XXX_Unmarshal(b []byte) error
- type MsgSeedVault
- func (*MsgSeedVault) Descriptor() ([]byte, []int)
- func (m *MsgSeedVault) GetAmount() types.Coin
- func (m *MsgSeedVault) GetAuthority() string
- func (msg MsgSeedVault) GetSigners() []sdk.AccAddress
- func (m *MsgSeedVault) GetSource() string
- func (m *MsgSeedVault) Marshal() (dAtA []byte, err error)
- func (m *MsgSeedVault) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSeedVault) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSeedVault) ProtoMessage()
- func (m *MsgSeedVault) Reset()
- func (m *MsgSeedVault) Size() (n int)
- func (m *MsgSeedVault) String() string
- func (m *MsgSeedVault) Unmarshal(dAtA []byte) error
- func (msg MsgSeedVault) ValidateBasic() error
- func (m *MsgSeedVault) XXX_DiscardUnknown()
- func (m *MsgSeedVault) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSeedVault) XXX_Merge(src proto.Message)
- func (m *MsgSeedVault) XXX_Size() int
- func (m *MsgSeedVault) XXX_Unmarshal(b []byte) error
- type MsgSeedVaultResponse
- func (*MsgSeedVaultResponse) Descriptor() ([]byte, []int)
- func (m *MsgSeedVaultResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSeedVaultResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSeedVaultResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSeedVaultResponse) ProtoMessage()
- func (m *MsgSeedVaultResponse) Reset()
- func (m *MsgSeedVaultResponse) Size() (n int)
- func (m *MsgSeedVaultResponse) String() string
- func (m *MsgSeedVaultResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSeedVaultResponse) XXX_DiscardUnknown()
- func (m *MsgSeedVaultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSeedVaultResponse) XXX_Merge(src proto.Message)
- func (m *MsgSeedVaultResponse) XXX_Size() int
- func (m *MsgSeedVaultResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (msg 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 (msg *MsgUpdateParams) Type() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (msg 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 Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetCircuitBreakerHaltThreshold() uint32
- func (m *Params) GetCircuitBreakerWarnThreshold() uint32
- func (m *Params) GetEpochBlocksBackoffPercent() uint32
- func (m *Params) GetMaxEndblockerRecords() uint32
- func (m *Params) GetMinEpochBlocks() int64
- func (m *Params) GetMintSpreadBps() uint32
- func (m *Params) GetSettleSpreadBps() uint32
- 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 (*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 QueryClient
- type QueryLedgerRecordEntry
- func (*QueryLedgerRecordEntry) Descriptor() ([]byte, []int)
- func (m *QueryLedgerRecordEntry) GetExecutedRecord() *LedgerRecord
- func (m *QueryLedgerRecordEntry) GetID() LedgerRecordID
- func (m *QueryLedgerRecordEntry) GetPendingRecord() *LedgerPendingRecord
- func (m *QueryLedgerRecordEntry) GetRecord() isQueryLedgerRecordEntry_Record
- func (m *QueryLedgerRecordEntry) GetStatus() LedgerRecordStatus
- func (m *QueryLedgerRecordEntry) Marshal() (dAtA []byte, err error)
- func (m *QueryLedgerRecordEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLedgerRecordEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLedgerRecordEntry) ProtoMessage()
- func (m *QueryLedgerRecordEntry) Reset()
- func (m *QueryLedgerRecordEntry) Size() (n int)
- func (m *QueryLedgerRecordEntry) String() string
- func (m *QueryLedgerRecordEntry) Unmarshal(dAtA []byte) error
- func (m *QueryLedgerRecordEntry) XXX_DiscardUnknown()
- func (m *QueryLedgerRecordEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLedgerRecordEntry) XXX_Merge(src proto.Message)
- func (*QueryLedgerRecordEntry) XXX_OneofWrappers() []interface{}
- func (m *QueryLedgerRecordEntry) XXX_Size() int
- func (m *QueryLedgerRecordEntry) XXX_Unmarshal(b []byte) error
- type QueryLedgerRecordEntry_ExecutedRecord
- type QueryLedgerRecordEntry_PendingRecord
- type QueryLedgerRecordsRequest
- func (*QueryLedgerRecordsRequest) Descriptor() ([]byte, []int)
- func (m *QueryLedgerRecordsRequest) GetFilters() LedgerRecordFilters
- func (m *QueryLedgerRecordsRequest) GetPagination() *query.PageRequest
- func (m *QueryLedgerRecordsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryLedgerRecordsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLedgerRecordsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLedgerRecordsRequest) ProtoMessage()
- func (m *QueryLedgerRecordsRequest) Reset()
- func (m *QueryLedgerRecordsRequest) Size() (n int)
- func (m *QueryLedgerRecordsRequest) String() string
- func (m *QueryLedgerRecordsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryLedgerRecordsRequest) XXX_DiscardUnknown()
- func (m *QueryLedgerRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLedgerRecordsRequest) XXX_Merge(src proto.Message)
- func (m *QueryLedgerRecordsRequest) XXX_Size() int
- func (m *QueryLedgerRecordsRequest) XXX_Unmarshal(b []byte) error
- type QueryLedgerRecordsResponse
- func (*QueryLedgerRecordsResponse) Descriptor() ([]byte, []int)
- func (m *QueryLedgerRecordsResponse) GetPagination() *query.PageResponse
- func (m *QueryLedgerRecordsResponse) GetRecords() []QueryLedgerRecordEntry
- func (m *QueryLedgerRecordsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryLedgerRecordsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLedgerRecordsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLedgerRecordsResponse) ProtoMessage()
- func (m *QueryLedgerRecordsResponse) Reset()
- func (m *QueryLedgerRecordsResponse) Size() (n int)
- func (m *QueryLedgerRecordsResponse) String() string
- func (m *QueryLedgerRecordsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryLedgerRecordsResponse) XXX_DiscardUnknown()
- func (m *QueryLedgerRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLedgerRecordsResponse) XXX_Merge(src proto.Message)
- func (m *QueryLedgerRecordsResponse) XXX_Size() int
- func (m *QueryLedgerRecordsResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryStatusRequest
- func (*QueryStatusRequest) Descriptor() ([]byte, []int)
- func (m *QueryStatusRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryStatusRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStatusRequest) ProtoMessage()
- func (m *QueryStatusRequest) Reset()
- func (m *QueryStatusRequest) Size() (n int)
- func (m *QueryStatusRequest) String() string
- func (m *QueryStatusRequest) Unmarshal(dAtA []byte) error
- func (m *QueryStatusRequest) XXX_DiscardUnknown()
- func (m *QueryStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStatusRequest) XXX_Merge(src proto.Message)
- func (m *QueryStatusRequest) XXX_Size() int
- func (m *QueryStatusRequest) XXX_Unmarshal(b []byte) error
- type QueryStatusResponse
- func (*QueryStatusResponse) Descriptor() ([]byte, []int)
- func (m *QueryStatusResponse) GetMintsAllowed() bool
- func (m *QueryStatusResponse) GetRefundsAllowed() bool
- func (m *QueryStatusResponse) GetStatus() MintStatus
- func (m *QueryStatusResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryStatusResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStatusResponse) ProtoMessage()
- func (m *QueryStatusResponse) Reset()
- func (m *QueryStatusResponse) Size() (n int)
- func (m *QueryStatusResponse) String() string
- func (m *QueryStatusResponse) Unmarshal(dAtA []byte) error
- func (m *QueryStatusResponse) XXX_DiscardUnknown()
- func (m *QueryStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStatusResponse) XXX_Merge(src proto.Message)
- func (m *QueryStatusResponse) XXX_Size() int
- func (m *QueryStatusResponse) XXX_Unmarshal(b []byte) error
- type QueryVaultStateRequest
- func (*QueryVaultStateRequest) Descriptor() ([]byte, []int)
- func (m *QueryVaultStateRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryVaultStateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVaultStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVaultStateRequest) ProtoMessage()
- func (m *QueryVaultStateRequest) Reset()
- func (m *QueryVaultStateRequest) Size() (n int)
- func (m *QueryVaultStateRequest) String() string
- func (m *QueryVaultStateRequest) Unmarshal(dAtA []byte) error
- func (m *QueryVaultStateRequest) XXX_DiscardUnknown()
- func (m *QueryVaultStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVaultStateRequest) XXX_Merge(src proto.Message)
- func (m *QueryVaultStateRequest) XXX_Size() int
- func (m *QueryVaultStateRequest) XXX_Unmarshal(b []byte) error
- type QueryVaultStateResponse
- func (*QueryVaultStateResponse) Descriptor() ([]byte, []int)
- func (m *QueryVaultStateResponse) GetVaultState() State
- func (m *QueryVaultStateResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryVaultStateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVaultStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVaultStateResponse) ProtoMessage()
- func (m *QueryVaultStateResponse) Reset()
- func (m *QueryVaultStateResponse) Size() (n int)
- func (m *QueryVaultStateResponse) String() string
- func (m *QueryVaultStateResponse) Unmarshal(dAtA []byte) error
- func (m *QueryVaultStateResponse) XXX_DiscardUnknown()
- func (m *QueryVaultStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVaultStateResponse) XXX_Merge(src proto.Message)
- func (m *QueryVaultStateResponse) XXX_Size() int
- func (m *QueryVaultStateResponse) XXX_Unmarshal(b []byte) error
- type State
- func (*State) Descriptor() ([]byte, []int)
- func (m *State) GetBalances() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *State) GetRemintCredits() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *State) GetTotalBurned() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *State) GetTotalMinted() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *State) Marshal() (dAtA []byte, err error)
- func (m *State) MarshalTo(dAtA []byte) (int, error)
- func (m *State) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*State) ProtoMessage()
- func (m *State) Reset()
- func (m *State) Size() (n int)
- func (m *State) String() string
- func (m *State) Unmarshal(dAtA []byte) error
- func (m *State) XXX_DiscardUnknown()
- func (m *State) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *State) XXX_Merge(src proto.Message)
- func (m *State) XXX_Size() int
- func (m *State) XXX_Unmarshal(b []byte) error
- type Status
- func (*Status) Descriptor() ([]byte, []int)
- func (m Status) Equal(other Status) bool
- func (m *Status) GetEpochHeightDiff() int64
- func (m *Status) GetPreviousStatus() MintStatus
- func (m *Status) GetStatus() MintStatus
- func (m *Status) Marshal() (dAtA []byte, err error)
- func (m *Status) MarshalTo(dAtA []byte) (int, error)
- func (m *Status) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Status) ProtoMessage()
- func (m *Status) Reset()
- func (m *Status) Size() (n int)
- func (m *Status) String() string
- func (m *Status) Unmarshal(dAtA []byte) error
- func (m *Status) XXX_DiscardUnknown()
- func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Status) XXX_Merge(src proto.Message)
- func (m *Status) XXX_Size() int
- func (m *Status) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) BurnACT(ctx context.Context, req *MsgBurnACT) (*MsgBurnACTResponse, error)
- func (*UnimplementedMsgServer) BurnMint(ctx context.Context, req *MsgBurnMint) (*MsgBurnMintResponse, error)
- func (*UnimplementedMsgServer) MintACT(ctx context.Context, req *MsgMintACT) (*MsgMintACTResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) LedgerRecords(ctx context.Context, req *QueryLedgerRecordsRequest) (*QueryLedgerRecordsResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) Status(ctx context.Context, req *QueryStatusRequest) (*QueryStatusResponse, error)
- func (*UnimplementedQueryServer) VaultState(ctx context.Context, req *QueryVaultStateRequest) (*QueryVaultStateResponse, error)
Constants ¶
const ( // ModuleName is the module name constant used in many places ModuleName = "bme" // StoreKey is the store key string for bme StoreKey = ModuleName // RouterKey is the message route for bme RouterKey = ModuleName )
const ( DefaultOracleOutlierThresholdBps = uint32(150) DefaultSettlementEpochName = "bme" DefaultCircuitBreakerWarnThreshold = uint32(9500) DefaultCircuitBreakerHaltThreshold = uint32(9000) DefaultMintSpreadBps = uint32(25) DefaultSettleSpreadBps = uint32(0) DefaultMinEpochBlocks = 10 DefaultEpochBlocksBackoffPercent = 10 DefaultMaxEndblockerRecords = 50 )
Variables ¶
var ( ErrInvalidParams = errors.RegisterWithGRPCCode(ModuleName, 2, codes.InvalidArgument, "invalid parameters") ErrOracleUnhealthy = errors.RegisterWithGRPCCode(ModuleName, 5, codes.Aborted, "oracle is unhealthy") ErrCircuitBreakerActive = errors.RegisterWithGRPCCode(ModuleName, 6, codes.Aborted, "circuit breaker is active") ErrInsufficientVaultFunds = errors.RegisterWithGRPCCode(ModuleName, 7, codes.Aborted, "insufficient vault funds") ErrInvalidAmount = errors.RegisterWithGRPCCode(ModuleName, 8, codes.InvalidArgument, "invalid amount") ErrInvalidDenom = errors.RegisterWithGRPCCode(ModuleName, 9, codes.InvalidArgument, "invalid denomination") ErrInvalidAddress = errors.RegisterWithGRPCCode(ModuleName, 10, codes.InvalidArgument, "invalid address") ErrInvalidSender = errors.RegisterWithGRPCCode(ModuleName, 11, codes.InvalidArgument, "invalid sender") ErrZeroPrice = errors.RegisterWithGRPCCode(ModuleName, 12, codes.Internal, "oracle price is zero") ErrRecordExists = errors.RegisterWithGRPCCode(ModuleName, 13, codes.AlreadyExists, "ledger record already exists") ErrMintFailed = errors.RegisterWithGRPCCode(ModuleName, 14, codes.Aborted, "failed to mint tokens") ErrBurnFailed = errors.RegisterWithGRPCCode(ModuleName, 15, codes.Aborted, "failed to burn tokens") )
var ( ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthFilters = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowFilters = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupFilters = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgs = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgs = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgs = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
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 ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") )
var DefaultOracleTWAPWindow = time.Hour
var LedgerRecordStatus_name = map[int32]string{
0: "ledger_record_status_invalid",
1: "ledger_record_status_pending",
2: "ledger_record_status_executed",
}
var LedgerRecordStatus_value = map[string]int32{
"ledger_record_status_invalid": 0,
"ledger_record_status_pending": 1,
"ledger_record_status_executed": 2,
}
var MintStatus_name = map[int32]string{
0: "mint_status_unspecified",
1: "mint_status_healthy",
2: "mint_status_warning",
3: "mint_status_halt_cr",
4: "mint_status_halt_oracle",
}
var MintStatus_value = map[string]int32{
"mint_status_unspecified": 0,
"mint_status_healthy": 1,
"mint_status_warning": 2,
"mint_status_halt_cr": 3,
"mint_status_halt_oracle": 4,
}
var ( // ModuleCdc references the global bme 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 the bme module and // defined at the application level. // // Deprecated: ModuleCdc use is deprecated ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var Msg_serviceDesc = _Msg_serviceDesc
var Query_serviceDesc = _Query_serviceDesc
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
RegisterInterfaces registers the bme module interfaces types with the interface registry
func RegisterLegacyAminoCodec
deprecated
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec register concrete types on codec
Deprecated: RegisterLegacyAminoCodec is deprecated
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)
Types ¶
type BurnMintPair ¶
type BurnMintPair struct {
// burned is the coin burned
Burned CoinPrice `protobuf:"bytes,1,opt,name=burned,proto3" json:"burned" yaml:"burned"`
// minted is coin minted
Minted CoinPrice `protobuf:"bytes,3,opt,name=minted,proto3" json:"minted" yaml:"minted"`
}
BurnMintPair represents a pair of burn and mint operations with their respective prices
func (*BurnMintPair) Descriptor ¶
func (*BurnMintPair) Descriptor() ([]byte, []int)
func (*BurnMintPair) GetBurned ¶
func (m *BurnMintPair) GetBurned() CoinPrice
func (*BurnMintPair) GetMinted ¶
func (m *BurnMintPair) GetMinted() CoinPrice
func (*BurnMintPair) Marshal ¶
func (m *BurnMintPair) Marshal() (dAtA []byte, err error)
func (*BurnMintPair) MarshalToSizedBuffer ¶
func (m *BurnMintPair) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BurnMintPair) ProtoMessage ¶
func (*BurnMintPair) ProtoMessage()
func (*BurnMintPair) Reset ¶
func (m *BurnMintPair) Reset()
func (*BurnMintPair) Size ¶
func (m *BurnMintPair) Size() (n int)
func (*BurnMintPair) String ¶
func (m *BurnMintPair) String() string
func (*BurnMintPair) Unmarshal ¶
func (m *BurnMintPair) Unmarshal(dAtA []byte) error
func (*BurnMintPair) XXX_DiscardUnknown ¶
func (m *BurnMintPair) XXX_DiscardUnknown()
func (*BurnMintPair) XXX_Marshal ¶
func (m *BurnMintPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BurnMintPair) XXX_Merge ¶
func (m *BurnMintPair) XXX_Merge(src proto.Message)
func (*BurnMintPair) XXX_Size ¶
func (m *BurnMintPair) XXX_Size() int
func (*BurnMintPair) XXX_Unmarshal ¶
func (m *BurnMintPair) XXX_Unmarshal(b []byte) error
type CoinPrice ¶
type CoinPrice struct {
// coin is the token amount
Coin types.Coin `protobuf:"bytes,1,opt,name=coin,proto3" json:"coin" yaml:"coin"`
// price (at oracle) of the coin at burn/mint event
Price cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=price,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"price" yaml:"price"`
}
CoinPrice represents a coin amount with its associated oracle price at a specific point in time
func (*CoinPrice) Descriptor ¶
func (*CoinPrice) MarshalToSizedBuffer ¶
func (*CoinPrice) ProtoMessage ¶
func (*CoinPrice) ProtoMessage()
func (*CoinPrice) XXX_DiscardUnknown ¶
func (m *CoinPrice) XXX_DiscardUnknown()
func (*CoinPrice) XXX_Marshal ¶
func (*CoinPrice) XXX_Unmarshal ¶
type CollateralRatio ¶
type CollateralRatio struct {
// ratio is CR = (VaultAKT * Price) / OutstandingACT
Ratio cosmossdk_io_math.LegacyDec `protobuf:"bytes,1,opt,name=ratio,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"ratio"`
// status indicates the current circuit breaker status
Status MintStatus `protobuf:"varint,2,opt,name=status,proto3,enum=akash.bme.v1.MintStatus" json:"status,omitempty"`
// reference_price is the price used to calculate CR
ReferencePrice cosmossdk_io_math.LegacyDec `` /* 132-byte string literal not displayed */
}
CollateralRatio represents the current collateral ratio
func (*CollateralRatio) Descriptor ¶
func (*CollateralRatio) Descriptor() ([]byte, []int)
func (*CollateralRatio) GetStatus ¶
func (m *CollateralRatio) GetStatus() MintStatus
func (*CollateralRatio) Marshal ¶
func (m *CollateralRatio) Marshal() (dAtA []byte, err error)
func (*CollateralRatio) MarshalToSizedBuffer ¶
func (m *CollateralRatio) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CollateralRatio) ProtoMessage ¶
func (*CollateralRatio) ProtoMessage()
func (*CollateralRatio) Reset ¶
func (m *CollateralRatio) Reset()
func (*CollateralRatio) Size ¶
func (m *CollateralRatio) Size() (n int)
func (*CollateralRatio) String ¶
func (m *CollateralRatio) String() string
func (*CollateralRatio) Unmarshal ¶
func (m *CollateralRatio) Unmarshal(dAtA []byte) error
func (*CollateralRatio) XXX_DiscardUnknown ¶
func (m *CollateralRatio) XXX_DiscardUnknown()
func (*CollateralRatio) XXX_Marshal ¶
func (m *CollateralRatio) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollateralRatio) XXX_Merge ¶
func (m *CollateralRatio) XXX_Merge(src proto.Message)
func (*CollateralRatio) XXX_Size ¶
func (m *CollateralRatio) XXX_Size() int
func (*CollateralRatio) XXX_Unmarshal ¶
func (m *CollateralRatio) XXX_Unmarshal(b []byte) error
type EventLedgerRecordExecuted ¶
type EventLedgerRecordExecuted struct {
// burned_from source address of the tokens burned
ID LedgerRecordID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"burneidd_from"`
}
EventLedgerRecordExecuted emitted information of burn/mint event of token A burn to mint token B
func (*EventLedgerRecordExecuted) Descriptor ¶
func (*EventLedgerRecordExecuted) Descriptor() ([]byte, []int)
func (*EventLedgerRecordExecuted) GetID ¶
func (m *EventLedgerRecordExecuted) GetID() LedgerRecordID
func (*EventLedgerRecordExecuted) Marshal ¶
func (m *EventLedgerRecordExecuted) Marshal() (dAtA []byte, err error)
func (*EventLedgerRecordExecuted) MarshalTo ¶
func (m *EventLedgerRecordExecuted) MarshalTo(dAtA []byte) (int, error)
func (*EventLedgerRecordExecuted) MarshalToSizedBuffer ¶
func (m *EventLedgerRecordExecuted) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventLedgerRecordExecuted) ProtoMessage ¶
func (*EventLedgerRecordExecuted) ProtoMessage()
func (*EventLedgerRecordExecuted) Reset ¶
func (m *EventLedgerRecordExecuted) Reset()
func (*EventLedgerRecordExecuted) Size ¶
func (m *EventLedgerRecordExecuted) Size() (n int)
func (*EventLedgerRecordExecuted) String ¶
func (m *EventLedgerRecordExecuted) String() string
func (*EventLedgerRecordExecuted) Unmarshal ¶
func (m *EventLedgerRecordExecuted) Unmarshal(dAtA []byte) error
func (*EventLedgerRecordExecuted) XXX_DiscardUnknown ¶
func (m *EventLedgerRecordExecuted) XXX_DiscardUnknown()
func (*EventLedgerRecordExecuted) XXX_Marshal ¶
func (m *EventLedgerRecordExecuted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventLedgerRecordExecuted) XXX_Merge ¶
func (m *EventLedgerRecordExecuted) XXX_Merge(src proto.Message)
func (*EventLedgerRecordExecuted) XXX_Size ¶
func (m *EventLedgerRecordExecuted) XXX_Size() int
func (*EventLedgerRecordExecuted) XXX_Unmarshal ¶
func (m *EventLedgerRecordExecuted) XXX_Unmarshal(b []byte) error
type EventMintStatusChange ¶
type EventMintStatusChange struct {
// previous_status is the previous status
PreviousStatus MintStatus `` /* 133-byte string literal not displayed */
// new_status is the new status
NewStatus MintStatus `protobuf:"varint,2,opt,name=new_status,json=newStatus,proto3,enum=akash.bme.v1.MintStatus" json:"new_status,omitempty"`
// collateral_ratio is the CR that triggered the change
CollateralRatio cosmossdk_io_math.LegacyDec `` /* 135-byte string literal not displayed */
}
EventCircuitBreakerStatusChange is emitted when circuit breaker status changes
func (*EventMintStatusChange) Descriptor ¶
func (*EventMintStatusChange) Descriptor() ([]byte, []int)
func (*EventMintStatusChange) GetNewStatus ¶
func (m *EventMintStatusChange) GetNewStatus() MintStatus
func (*EventMintStatusChange) GetPreviousStatus ¶
func (m *EventMintStatusChange) GetPreviousStatus() MintStatus
func (*EventMintStatusChange) Marshal ¶
func (m *EventMintStatusChange) Marshal() (dAtA []byte, err error)
func (*EventMintStatusChange) MarshalTo ¶
func (m *EventMintStatusChange) MarshalTo(dAtA []byte) (int, error)
func (*EventMintStatusChange) MarshalToSizedBuffer ¶
func (m *EventMintStatusChange) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventMintStatusChange) ProtoMessage ¶
func (*EventMintStatusChange) ProtoMessage()
func (*EventMintStatusChange) Reset ¶
func (m *EventMintStatusChange) Reset()
func (*EventMintStatusChange) Size ¶
func (m *EventMintStatusChange) Size() (n int)
func (*EventMintStatusChange) String ¶
func (m *EventMintStatusChange) String() string
func (*EventMintStatusChange) Unmarshal ¶
func (m *EventMintStatusChange) Unmarshal(dAtA []byte) error
func (*EventMintStatusChange) XXX_DiscardUnknown ¶
func (m *EventMintStatusChange) XXX_DiscardUnknown()
func (*EventMintStatusChange) XXX_Marshal ¶
func (m *EventMintStatusChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventMintStatusChange) XXX_Merge ¶
func (m *EventMintStatusChange) XXX_Merge(src proto.Message)
func (*EventMintStatusChange) XXX_Size ¶
func (m *EventMintStatusChange) XXX_Size() int
func (*EventMintStatusChange) XXX_Unmarshal ¶
func (m *EventMintStatusChange) XXX_Unmarshal(b []byte) error
type EventVaultSeeded ¶
type EventVaultSeeded struct {
// amount is the AKT amount added to vault
Amount types.Coin `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount"`
// source is where the funds came from
Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
// new_vault_balance is the new vault balance
NewVaultBalance types.Coin `protobuf:"bytes,3,opt,name=new_vault_balance,json=newVaultBalance,proto3" json:"new_vault_balance"`
}
EventVaultSeeded is emitted when the vault is seeded with AKT
func (*EventVaultSeeded) Descriptor ¶
func (*EventVaultSeeded) Descriptor() ([]byte, []int)
func (*EventVaultSeeded) GetAmount ¶
func (m *EventVaultSeeded) GetAmount() types.Coin
func (*EventVaultSeeded) GetNewVaultBalance ¶
func (m *EventVaultSeeded) GetNewVaultBalance() types.Coin
func (*EventVaultSeeded) GetSource ¶
func (m *EventVaultSeeded) GetSource() string
func (*EventVaultSeeded) Marshal ¶
func (m *EventVaultSeeded) Marshal() (dAtA []byte, err error)
func (*EventVaultSeeded) MarshalToSizedBuffer ¶
func (m *EventVaultSeeded) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventVaultSeeded) ProtoMessage ¶
func (*EventVaultSeeded) ProtoMessage()
func (*EventVaultSeeded) Reset ¶
func (m *EventVaultSeeded) Reset()
func (*EventVaultSeeded) Size ¶
func (m *EventVaultSeeded) Size() (n int)
func (*EventVaultSeeded) String ¶
func (m *EventVaultSeeded) String() string
func (*EventVaultSeeded) Unmarshal ¶
func (m *EventVaultSeeded) Unmarshal(dAtA []byte) error
func (*EventVaultSeeded) XXX_DiscardUnknown ¶
func (m *EventVaultSeeded) XXX_DiscardUnknown()
func (*EventVaultSeeded) XXX_Marshal ¶
func (m *EventVaultSeeded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventVaultSeeded) XXX_Merge ¶
func (m *EventVaultSeeded) XXX_Merge(src proto.Message)
func (*EventVaultSeeded) XXX_Size ¶
func (m *EventVaultSeeded) XXX_Size() int
func (*EventVaultSeeded) XXX_Unmarshal ¶
func (m *EventVaultSeeded) XXX_Unmarshal(b []byte) error
type GenesisLedgerPendingRecord ¶
type GenesisLedgerPendingRecord struct {
ID LedgerRecordID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"`
Record LedgerPendingRecord `protobuf:"bytes,2,opt,name=record,proto3" json:"record" yaml:"record"`
}
GenesisLedgerPendingRecord
func (*GenesisLedgerPendingRecord) Descriptor ¶
func (*GenesisLedgerPendingRecord) Descriptor() ([]byte, []int)
func (*GenesisLedgerPendingRecord) GetID ¶
func (m *GenesisLedgerPendingRecord) GetID() LedgerRecordID
func (*GenesisLedgerPendingRecord) GetRecord ¶
func (m *GenesisLedgerPendingRecord) GetRecord() LedgerPendingRecord
func (*GenesisLedgerPendingRecord) Marshal ¶
func (m *GenesisLedgerPendingRecord) Marshal() (dAtA []byte, err error)
func (*GenesisLedgerPendingRecord) MarshalTo ¶
func (m *GenesisLedgerPendingRecord) MarshalTo(dAtA []byte) (int, error)
func (*GenesisLedgerPendingRecord) MarshalToSizedBuffer ¶
func (m *GenesisLedgerPendingRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisLedgerPendingRecord) ProtoMessage ¶
func (*GenesisLedgerPendingRecord) ProtoMessage()
func (*GenesisLedgerPendingRecord) Reset ¶
func (m *GenesisLedgerPendingRecord) Reset()
func (*GenesisLedgerPendingRecord) Size ¶
func (m *GenesisLedgerPendingRecord) Size() (n int)
func (*GenesisLedgerPendingRecord) String ¶
func (m *GenesisLedgerPendingRecord) String() string
func (*GenesisLedgerPendingRecord) Unmarshal ¶
func (m *GenesisLedgerPendingRecord) Unmarshal(dAtA []byte) error
func (*GenesisLedgerPendingRecord) XXX_DiscardUnknown ¶
func (m *GenesisLedgerPendingRecord) XXX_DiscardUnknown()
func (*GenesisLedgerPendingRecord) XXX_Marshal ¶
func (m *GenesisLedgerPendingRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisLedgerPendingRecord) XXX_Merge ¶
func (m *GenesisLedgerPendingRecord) XXX_Merge(src proto.Message)
func (*GenesisLedgerPendingRecord) XXX_Size ¶
func (m *GenesisLedgerPendingRecord) XXX_Size() int
func (*GenesisLedgerPendingRecord) XXX_Unmarshal ¶
func (m *GenesisLedgerPendingRecord) XXX_Unmarshal(b []byte) error
type GenesisLedgerRecord ¶
type GenesisLedgerRecord struct {
ID LedgerRecordID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"`
Record LedgerRecord `protobuf:"bytes,2,opt,name=record,proto3" json:"record" yaml:"record"`
}
GenesisLedgerRecord
func (*GenesisLedgerRecord) Descriptor ¶
func (*GenesisLedgerRecord) Descriptor() ([]byte, []int)
func (*GenesisLedgerRecord) GetID ¶
func (m *GenesisLedgerRecord) GetID() LedgerRecordID
func (*GenesisLedgerRecord) GetRecord ¶
func (m *GenesisLedgerRecord) GetRecord() LedgerRecord
func (*GenesisLedgerRecord) Marshal ¶
func (m *GenesisLedgerRecord) Marshal() (dAtA []byte, err error)
func (*GenesisLedgerRecord) MarshalTo ¶
func (m *GenesisLedgerRecord) MarshalTo(dAtA []byte) (int, error)
func (*GenesisLedgerRecord) MarshalToSizedBuffer ¶
func (m *GenesisLedgerRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisLedgerRecord) ProtoMessage ¶
func (*GenesisLedgerRecord) ProtoMessage()
func (*GenesisLedgerRecord) Reset ¶
func (m *GenesisLedgerRecord) Reset()
func (*GenesisLedgerRecord) Size ¶
func (m *GenesisLedgerRecord) Size() (n int)
func (*GenesisLedgerRecord) String ¶
func (m *GenesisLedgerRecord) String() string
func (*GenesisLedgerRecord) Unmarshal ¶
func (m *GenesisLedgerRecord) Unmarshal(dAtA []byte) error
func (*GenesisLedgerRecord) XXX_DiscardUnknown ¶
func (m *GenesisLedgerRecord) XXX_DiscardUnknown()
func (*GenesisLedgerRecord) XXX_Marshal ¶
func (m *GenesisLedgerRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisLedgerRecord) XXX_Merge ¶
func (m *GenesisLedgerRecord) XXX_Merge(src proto.Message)
func (*GenesisLedgerRecord) XXX_Size ¶
func (m *GenesisLedgerRecord) XXX_Size() int
func (*GenesisLedgerRecord) XXX_Unmarshal ¶
func (m *GenesisLedgerRecord) XXX_Unmarshal(b []byte) error
type GenesisLedgerState ¶
type GenesisLedgerState struct {
Records []GenesisLedgerRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records" yaml:"records"`
PendingRecords []GenesisLedgerPendingRecord `protobuf:"bytes,2,rep,name=pending_records,json=pendingRecords,proto3" json:"pending_records" yaml:"pending_records"`
}
GenesisLedgerState
func (*GenesisLedgerState) Descriptor ¶
func (*GenesisLedgerState) Descriptor() ([]byte, []int)
func (*GenesisLedgerState) GetPendingRecords ¶
func (m *GenesisLedgerState) GetPendingRecords() []GenesisLedgerPendingRecord
func (*GenesisLedgerState) GetRecords ¶
func (m *GenesisLedgerState) GetRecords() []GenesisLedgerRecord
func (*GenesisLedgerState) Marshal ¶
func (m *GenesisLedgerState) Marshal() (dAtA []byte, err error)
func (*GenesisLedgerState) MarshalTo ¶
func (m *GenesisLedgerState) MarshalTo(dAtA []byte) (int, error)
func (*GenesisLedgerState) MarshalToSizedBuffer ¶
func (m *GenesisLedgerState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisLedgerState) ProtoMessage ¶
func (*GenesisLedgerState) ProtoMessage()
func (*GenesisLedgerState) Reset ¶
func (m *GenesisLedgerState) Reset()
func (*GenesisLedgerState) Size ¶
func (m *GenesisLedgerState) Size() (n int)
func (*GenesisLedgerState) String ¶
func (m *GenesisLedgerState) String() string
func (*GenesisLedgerState) Unmarshal ¶
func (m *GenesisLedgerState) Unmarshal(dAtA []byte) error
func (*GenesisLedgerState) XXX_DiscardUnknown ¶
func (m *GenesisLedgerState) XXX_DiscardUnknown()
func (*GenesisLedgerState) XXX_Marshal ¶
func (m *GenesisLedgerState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisLedgerState) XXX_Merge ¶
func (m *GenesisLedgerState) XXX_Merge(src proto.Message)
func (*GenesisLedgerState) XXX_Size ¶
func (m *GenesisLedgerState) XXX_Size() int
func (*GenesisLedgerState) XXX_Unmarshal ¶
func (m *GenesisLedgerState) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct {
// params defines the module parameters
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
// state is the initial vault state
State GenesisVaultState `protobuf:"bytes,2,opt,name=state,proto3" json:"state"`
Ledger *GenesisLedgerState `protobuf:"bytes,3,opt,name=ledger,proto3" json:"ledger,omitempty" yaml:"ledger,omitempty"`
}
GenesisState defines the BME module's genesis state
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState returns the default genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetLedger ¶
func (m *GenesisState) GetLedger() *GenesisLedgerState
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetState ¶
func (m *GenesisState) GetState() GenesisVaultState
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) Validate ¶
func (gs *GenesisState) Validate() error
Validate validates the genesis state.
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 GenesisVaultState ¶
type GenesisVaultState struct {
// burned is the cumulative burn for tracked tokens
TotalBurned github_com_cosmos_cosmos_sdk_types.Coins `` /* 138-byte string literal not displayed */
// minted is the cumulative mint back for tracked tokens
TotalMinted github_com_cosmos_cosmos_sdk_types.Coins `` /* 138-byte string literal not displayed */
// remint_credits tracks available credits for reminting tokens
// (e.g., from previous burns that can be reminted without additional collateral)
RemintCredits github_com_cosmos_cosmos_sdk_types.Coins `` /* 144-byte string literal not displayed */
}
GenesisVaultState
func (*GenesisVaultState) Descriptor ¶
func (*GenesisVaultState) Descriptor() ([]byte, []int)
func (*GenesisVaultState) GetRemintCredits ¶
func (m *GenesisVaultState) GetRemintCredits() github_com_cosmos_cosmos_sdk_types.Coins
func (*GenesisVaultState) GetTotalBurned ¶
func (m *GenesisVaultState) GetTotalBurned() github_com_cosmos_cosmos_sdk_types.Coins
func (*GenesisVaultState) GetTotalMinted ¶
func (m *GenesisVaultState) GetTotalMinted() github_com_cosmos_cosmos_sdk_types.Coins
func (*GenesisVaultState) Marshal ¶
func (m *GenesisVaultState) Marshal() (dAtA []byte, err error)
func (*GenesisVaultState) MarshalTo ¶
func (m *GenesisVaultState) MarshalTo(dAtA []byte) (int, error)
func (*GenesisVaultState) MarshalToSizedBuffer ¶
func (m *GenesisVaultState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisVaultState) ProtoMessage ¶
func (*GenesisVaultState) ProtoMessage()
func (*GenesisVaultState) Reset ¶
func (m *GenesisVaultState) Reset()
func (*GenesisVaultState) Size ¶
func (m *GenesisVaultState) Size() (n int)
func (*GenesisVaultState) String ¶
func (m *GenesisVaultState) String() string
func (*GenesisVaultState) Unmarshal ¶
func (m *GenesisVaultState) Unmarshal(dAtA []byte) error
func (*GenesisVaultState) XXX_DiscardUnknown ¶
func (m *GenesisVaultState) XXX_DiscardUnknown()
func (*GenesisVaultState) XXX_Marshal ¶
func (m *GenesisVaultState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisVaultState) XXX_Merge ¶
func (m *GenesisVaultState) XXX_Merge(src proto.Message)
func (*GenesisVaultState) XXX_Size ¶
func (m *GenesisVaultState) XXX_Size() int
func (*GenesisVaultState) XXX_Unmarshal ¶
func (m *GenesisVaultState) XXX_Unmarshal(b []byte) error
type LedgerID ¶
type LedgerID struct {
// height is the block height when the ledger entry was created
Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height" yaml:"height"`
// sequence is the sequence number within the block (for ordering)
Sequence int64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence" yaml:"sequence"`
}
LedgerID uniquely identifies a ledger entry by block height and sequence number
func (*LedgerID) Descriptor ¶
func (*LedgerID) GetSequence ¶
func (*LedgerID) MarshalToSizedBuffer ¶
func (*LedgerID) ProtoMessage ¶
func (*LedgerID) ProtoMessage()
func (*LedgerID) XXX_DiscardUnknown ¶
func (m *LedgerID) XXX_DiscardUnknown()
func (*LedgerID) XXX_Marshal ¶
func (*LedgerID) XXX_Unmarshal ¶
type LedgerPendingRecord ¶
type LedgerPendingRecord struct {
// owner source of the coins to be burned
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner" yaml:"owner"`
// to destination of the minted coins.
// if minted coin is ACT, "to" must be same as signer
To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to" yaml:"to"`
// coins_to_burn
CoinsToBurn types.Coin `protobuf:"bytes,3,opt,name=coins_to_burn,json=coinsToBurn,proto3" json:"coins_to_burn" yaml:"coins_to_burn"`
// denom_to_mint
DenomToMint string `protobuf:"bytes,4,opt,name=denom_to_mint,json=denomToMint,proto3" json:"denom_to_mint" yaml:"denom_to_mint"`
}
LedgerPendingRecord
func (*LedgerPendingRecord) Descriptor ¶
func (*LedgerPendingRecord) Descriptor() ([]byte, []int)
func (*LedgerPendingRecord) GetCoinsToBurn ¶
func (m *LedgerPendingRecord) GetCoinsToBurn() types.Coin
func (*LedgerPendingRecord) GetDenomToMint ¶
func (m *LedgerPendingRecord) GetDenomToMint() string
func (*LedgerPendingRecord) GetOwner ¶
func (m *LedgerPendingRecord) GetOwner() string
func (*LedgerPendingRecord) GetTo ¶
func (m *LedgerPendingRecord) GetTo() string
func (*LedgerPendingRecord) Marshal ¶
func (m *LedgerPendingRecord) Marshal() (dAtA []byte, err error)
func (*LedgerPendingRecord) MarshalTo ¶
func (m *LedgerPendingRecord) MarshalTo(dAtA []byte) (int, error)
func (*LedgerPendingRecord) MarshalToSizedBuffer ¶
func (m *LedgerPendingRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LedgerPendingRecord) ProtoMessage ¶
func (*LedgerPendingRecord) ProtoMessage()
func (*LedgerPendingRecord) Reset ¶
func (m *LedgerPendingRecord) Reset()
func (*LedgerPendingRecord) Size ¶
func (m *LedgerPendingRecord) Size() (n int)
func (*LedgerPendingRecord) String ¶
func (m *LedgerPendingRecord) String() string
func (*LedgerPendingRecord) Unmarshal ¶
func (m *LedgerPendingRecord) Unmarshal(dAtA []byte) error
func (*LedgerPendingRecord) XXX_DiscardUnknown ¶
func (m *LedgerPendingRecord) XXX_DiscardUnknown()
func (*LedgerPendingRecord) XXX_Marshal ¶
func (m *LedgerPendingRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LedgerPendingRecord) XXX_Merge ¶
func (m *LedgerPendingRecord) XXX_Merge(src proto.Message)
func (*LedgerPendingRecord) XXX_Size ¶
func (m *LedgerPendingRecord) XXX_Size() int
func (*LedgerPendingRecord) XXX_Unmarshal ¶
func (m *LedgerPendingRecord) XXX_Unmarshal(b []byte) error
type LedgerRecord ¶
type LedgerRecord struct {
// burned_from source address of the tokens burned
BurnedFrom string `protobuf:"bytes,1,opt,name=burned_from,json=burnedFrom,proto3" json:"burned_from" yaml:"burned_from"`
// minted_to destination address of the tokens minted
MintedTo string `protobuf:"bytes,2,opt,name=minted_to,json=mintedTo,proto3" json:"minted_to" yaml:"minted_to"`
// module is module account performing burn
Burner string `protobuf:"bytes,3,opt,name=burner,proto3" json:"burner" yaml:"burner"`
// module is module account performing mint
Minter string `protobuf:"bytes,4,opt,name=minter,proto3" json:"minter" yaml:"minter"`
// burned is the coin burned at price
Burned *CoinPrice `protobuf:"bytes,5,opt,name=burned,proto3" json:"burned" yaml:"burned"`
// minted is coin minted at price
Minted *CoinPrice `protobuf:"bytes,6,opt,name=minted,proto3" json:"minted" yaml:"minted"`
RemintCreditIssued *CoinPrice `` /* 135-byte string literal not displayed */
RemintCreditAccrued *CoinPrice `` /* 139-byte string literal not displayed */
}
LedgerRecord stores information of burn/mint event of token A burn to mint token B
func (*LedgerRecord) Descriptor ¶
func (*LedgerRecord) Descriptor() ([]byte, []int)
func (*LedgerRecord) GetBurned ¶
func (m *LedgerRecord) GetBurned() *CoinPrice
func (*LedgerRecord) GetBurnedFrom ¶
func (m *LedgerRecord) GetBurnedFrom() string
func (*LedgerRecord) GetBurner ¶
func (m *LedgerRecord) GetBurner() string
func (*LedgerRecord) GetMinted ¶
func (m *LedgerRecord) GetMinted() *CoinPrice
func (*LedgerRecord) GetMintedTo ¶
func (m *LedgerRecord) GetMintedTo() string
func (*LedgerRecord) GetMinter ¶
func (m *LedgerRecord) GetMinter() string
func (*LedgerRecord) GetRemintCreditAccrued ¶
func (m *LedgerRecord) GetRemintCreditAccrued() *CoinPrice
func (*LedgerRecord) GetRemintCreditIssued ¶
func (m *LedgerRecord) GetRemintCreditIssued() *CoinPrice
func (*LedgerRecord) Marshal ¶
func (m *LedgerRecord) Marshal() (dAtA []byte, err error)
func (*LedgerRecord) MarshalToSizedBuffer ¶
func (m *LedgerRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LedgerRecord) ProtoMessage ¶
func (*LedgerRecord) ProtoMessage()
func (*LedgerRecord) Reset ¶
func (m *LedgerRecord) Reset()
func (*LedgerRecord) Size ¶
func (m *LedgerRecord) Size() (n int)
func (*LedgerRecord) String ¶
func (m *LedgerRecord) String() string
func (*LedgerRecord) Unmarshal ¶
func (m *LedgerRecord) Unmarshal(dAtA []byte) error
func (*LedgerRecord) XXX_DiscardUnknown ¶
func (m *LedgerRecord) XXX_DiscardUnknown()
func (*LedgerRecord) XXX_Marshal ¶
func (m *LedgerRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LedgerRecord) XXX_Merge ¶
func (m *LedgerRecord) XXX_Merge(src proto.Message)
func (*LedgerRecord) XXX_Size ¶
func (m *LedgerRecord) XXX_Size() int
func (*LedgerRecord) XXX_Unmarshal ¶
func (m *LedgerRecord) XXX_Unmarshal(b []byte) error
type LedgerRecordFilters ¶
type LedgerRecordFilters struct {
// source is the account address of the user who initiated the burn/mint
Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source" yaml:"source"`
// denom filters by the burn denomination
Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom" yaml:"denom"`
// to_denom filters by the mint denomination
ToDenom string `protobuf:"bytes,3,opt,name=to_denom,json=toDenom,proto3" json:"to_denom" yaml:"to_denom"`
// status filters by record status (pending or executed).
// Uses the string representation of LedgerRecordStatus enum values.
// If empty, returns both pending and executed records.
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status" yaml:"status"`
}
LedgerRecordFilters defines filters used to filter ledger records
func (*LedgerRecordFilters) AcceptExecuted ¶
func (filters *LedgerRecordFilters) AcceptExecuted(id LedgerRecordID, _ LedgerRecord) bool
AcceptExecuted returns whether the executed record matches the filter criteria
func (*LedgerRecordFilters) AcceptPending ¶
func (filters *LedgerRecordFilters) AcceptPending(id LedgerRecordID, _ LedgerPendingRecord) bool
AcceptPending returns whether the pending record matches the filter criteria
func (*LedgerRecordFilters) Descriptor ¶
func (*LedgerRecordFilters) Descriptor() ([]byte, []int)
func (*LedgerRecordFilters) GetDenom ¶
func (m *LedgerRecordFilters) GetDenom() string
func (*LedgerRecordFilters) GetSource ¶
func (m *LedgerRecordFilters) GetSource() string
func (*LedgerRecordFilters) GetStatus ¶
func (m *LedgerRecordFilters) GetStatus() string
func (*LedgerRecordFilters) GetToDenom ¶
func (m *LedgerRecordFilters) GetToDenom() string
func (*LedgerRecordFilters) Marshal ¶
func (m *LedgerRecordFilters) Marshal() (dAtA []byte, err error)
func (*LedgerRecordFilters) MarshalTo ¶
func (m *LedgerRecordFilters) MarshalTo(dAtA []byte) (int, error)
func (*LedgerRecordFilters) MarshalToSizedBuffer ¶
func (m *LedgerRecordFilters) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LedgerRecordFilters) ProtoMessage ¶
func (*LedgerRecordFilters) ProtoMessage()
func (*LedgerRecordFilters) Reset ¶
func (m *LedgerRecordFilters) Reset()
func (*LedgerRecordFilters) Size ¶
func (m *LedgerRecordFilters) Size() (n int)
func (*LedgerRecordFilters) String ¶
func (m *LedgerRecordFilters) String() string
func (*LedgerRecordFilters) Unmarshal ¶
func (m *LedgerRecordFilters) Unmarshal(dAtA []byte) error
func (*LedgerRecordFilters) XXX_DiscardUnknown ¶
func (m *LedgerRecordFilters) XXX_DiscardUnknown()
func (*LedgerRecordFilters) XXX_Marshal ¶
func (m *LedgerRecordFilters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LedgerRecordFilters) XXX_Merge ¶
func (m *LedgerRecordFilters) XXX_Merge(src proto.Message)
func (*LedgerRecordFilters) XXX_Size ¶
func (m *LedgerRecordFilters) XXX_Size() int
func (*LedgerRecordFilters) XXX_Unmarshal ¶
func (m *LedgerRecordFilters) XXX_Unmarshal(b []byte) error
type LedgerRecordID ¶
type LedgerRecordID struct {
// denom is the asset denomination
Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom" yaml:"denom"`
// to_denom is what denom swap to
ToDenom string `protobuf:"bytes,2,opt,name=to_denom,json=toDenom,proto3" json:"to_denom" yaml:"to_denom"`
Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source" yaml:"source"`
Height int64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
Sequence int64 `protobuf:"varint,5,opt,name=sequence,proto3" json:"sequence,omitempty"`
}
LedgerRecordID
func (*LedgerRecordID) Descriptor ¶
func (*LedgerRecordID) Descriptor() ([]byte, []int)
func (*LedgerRecordID) GetDenom ¶
func (m *LedgerRecordID) GetDenom() string
func (*LedgerRecordID) GetHeight ¶
func (m *LedgerRecordID) GetHeight() int64
func (*LedgerRecordID) GetSequence ¶
func (m *LedgerRecordID) GetSequence() int64
func (*LedgerRecordID) GetSource ¶
func (m *LedgerRecordID) GetSource() string
func (*LedgerRecordID) GetToDenom ¶
func (m *LedgerRecordID) GetToDenom() string
func (*LedgerRecordID) Marshal ¶
func (m *LedgerRecordID) Marshal() (dAtA []byte, err error)
func (*LedgerRecordID) MarshalToSizedBuffer ¶
func (m *LedgerRecordID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LedgerRecordID) ProtoMessage ¶
func (*LedgerRecordID) ProtoMessage()
func (*LedgerRecordID) Reset ¶
func (m *LedgerRecordID) Reset()
func (*LedgerRecordID) Size ¶
func (m *LedgerRecordID) Size() (n int)
func (*LedgerRecordID) String ¶
func (m *LedgerRecordID) String() string
func (*LedgerRecordID) Unmarshal ¶
func (m *LedgerRecordID) Unmarshal(dAtA []byte) error
func (*LedgerRecordID) XXX_DiscardUnknown ¶
func (m *LedgerRecordID) XXX_DiscardUnknown()
func (*LedgerRecordID) XXX_Marshal ¶
func (m *LedgerRecordID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LedgerRecordID) XXX_Merge ¶
func (m *LedgerRecordID) XXX_Merge(src proto.Message)
func (*LedgerRecordID) XXX_Size ¶
func (m *LedgerRecordID) XXX_Size() int
func (*LedgerRecordID) XXX_Unmarshal ¶
func (m *LedgerRecordID) XXX_Unmarshal(b []byte) error
type LedgerRecordStatus ¶
type LedgerRecordStatus int32
LedgerRecordStatus indicates the current state of a burn/mint ledger record
const ( // LEDGER_RECORD_STATUS_INVALID is the default/uninitialized value // This status should never appear in a valid ledger record LedgerRecordSatusInvalid LedgerRecordStatus = 0 // LEDGER_RECORD_STATUS_PENDING indicates a burn/mint operation has been initiated // but not yet executed (e.g., waiting for oracle price or circuit breaker clearance) LedgerRecordSatusPending LedgerRecordStatus = 1 // LEDGER_RECORD_STATUS_EXECUTED indicates the burn/mint operation has been // successfully completed and tokens have been burned and minted LedgerRecordSatusExecuted LedgerRecordStatus = 2 )
func (LedgerRecordStatus) EnumDescriptor ¶
func (LedgerRecordStatus) EnumDescriptor() ([]byte, []int)
func (LedgerRecordStatus) String ¶
func (x LedgerRecordStatus) String() string
type MintEpoch ¶
type MintEpoch struct {
NextEpoch int64 `protobuf:"varint,1,opt,name=next_epoch,json=nextEpoch,proto3" json:"next_epoch,omitempty"`
}
MintEpoch stores information about mint epoch
func (*MintEpoch) Descriptor ¶
func (*MintEpoch) GetNextEpoch ¶
func (*MintEpoch) MarshalToSizedBuffer ¶
func (*MintEpoch) ProtoMessage ¶
func (*MintEpoch) ProtoMessage()
func (*MintEpoch) XXX_DiscardUnknown ¶
func (m *MintEpoch) XXX_DiscardUnknown()
func (*MintEpoch) XXX_Marshal ¶
func (*MintEpoch) XXX_Unmarshal ¶
type MintStatus ¶
type MintStatus int32
MintStatus indicates the current state of mint
const ( // MINT_STATUS_UNSPECIFIED is the default value MintStatusUnspecified MintStatus = 0 // MINT_STATUS_HEALTHY indicates normal operation (CR > warn threshold) MintStatusHealthy MintStatus = 1 // MINT_STATUS_WARNING indicates CR is below warning threshold MintStatusWarning MintStatus = 2 // MINT_STATUS_HALT_CR indicates CR is below halt threshold, mints paused MintStatusHaltCR MintStatus = 3 // MINT_STATUS_HALT_ORACLE indicates circuit breaker tripped due to unhealthy oracle price MintStatusHaltOracle MintStatus = 4 )
func (MintStatus) EnumDescriptor ¶
func (MintStatus) EnumDescriptor() ([]byte, []int)
func (MintStatus) String ¶
func (x MintStatus) String() string
type MsgBurnACT ¶
type MsgBurnACT struct {
// owner source of the coins to be burned
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner" yaml:"owner"`
// to destination of the minted coins.
// if minted coin is ACT, "to" must be same as signer
To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to" yaml:"to"`
// coins_to_burn
CoinsToBurn types.Coin `protobuf:"bytes,3,opt,name=coins_to_burn,json=coinsToBurn,proto3" json:"coins_to_burn" yaml:"coins_to_burn"`
}
MsgMintACT defines the message for burning one token to mint another Allows burning AKT to mint ACT, or burning unused ACT back to AKT
func (*MsgBurnACT) Descriptor ¶
func (*MsgBurnACT) Descriptor() ([]byte, []int)
func (*MsgBurnACT) GetCoinsToBurn ¶
func (m *MsgBurnACT) GetCoinsToBurn() types.Coin
func (*MsgBurnACT) GetOwner ¶
func (m *MsgBurnACT) GetOwner() string
func (*MsgBurnACT) GetTo ¶
func (m *MsgBurnACT) GetTo() string
func (*MsgBurnACT) Marshal ¶
func (m *MsgBurnACT) Marshal() (dAtA []byte, err error)
func (*MsgBurnACT) MarshalToSizedBuffer ¶
func (m *MsgBurnACT) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBurnACT) ProtoMessage ¶
func (*MsgBurnACT) ProtoMessage()
func (*MsgBurnACT) Reset ¶
func (m *MsgBurnACT) Reset()
func (*MsgBurnACT) Size ¶
func (m *MsgBurnACT) Size() (n int)
func (*MsgBurnACT) String ¶
func (m *MsgBurnACT) String() string
func (*MsgBurnACT) Unmarshal ¶
func (m *MsgBurnACT) Unmarshal(dAtA []byte) error
func (MsgBurnACT) ValidateBasic ¶
func (msg MsgBurnACT) ValidateBasic() error
func (*MsgBurnACT) XXX_DiscardUnknown ¶
func (m *MsgBurnACT) XXX_DiscardUnknown()
func (*MsgBurnACT) XXX_Marshal ¶
func (m *MsgBurnACT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBurnACT) XXX_Merge ¶
func (m *MsgBurnACT) XXX_Merge(src proto.Message)
func (*MsgBurnACT) XXX_Size ¶
func (m *MsgBurnACT) XXX_Size() int
func (*MsgBurnACT) XXX_Unmarshal ¶
func (m *MsgBurnACT) XXX_Unmarshal(b []byte) error
type MsgBurnACTResponse ¶
type MsgBurnACTResponse struct {
ID LedgerRecordID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"`
Status LedgerRecordStatus `protobuf:"varint,2,opt,name=status,proto3,enum=akash.bme.v1.LedgerRecordStatus" json:"status,omitempty"`
}
MsgBurnMintResponse is the response type for MsgBurnMint
func (*MsgBurnACTResponse) Descriptor ¶
func (*MsgBurnACTResponse) Descriptor() ([]byte, []int)
func (*MsgBurnACTResponse) GetID ¶
func (m *MsgBurnACTResponse) GetID() LedgerRecordID
func (*MsgBurnACTResponse) GetStatus ¶
func (m *MsgBurnACTResponse) GetStatus() LedgerRecordStatus
func (*MsgBurnACTResponse) Marshal ¶
func (m *MsgBurnACTResponse) Marshal() (dAtA []byte, err error)
func (*MsgBurnACTResponse) MarshalTo ¶
func (m *MsgBurnACTResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgBurnACTResponse) MarshalToSizedBuffer ¶
func (m *MsgBurnACTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBurnACTResponse) ProtoMessage ¶
func (*MsgBurnACTResponse) ProtoMessage()
func (*MsgBurnACTResponse) Reset ¶
func (m *MsgBurnACTResponse) Reset()
func (*MsgBurnACTResponse) Size ¶
func (m *MsgBurnACTResponse) Size() (n int)
func (*MsgBurnACTResponse) String ¶
func (m *MsgBurnACTResponse) String() string
func (*MsgBurnACTResponse) Unmarshal ¶
func (m *MsgBurnACTResponse) Unmarshal(dAtA []byte) error
func (*MsgBurnACTResponse) XXX_DiscardUnknown ¶
func (m *MsgBurnACTResponse) XXX_DiscardUnknown()
func (*MsgBurnACTResponse) XXX_Marshal ¶
func (m *MsgBurnACTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBurnACTResponse) XXX_Merge ¶
func (m *MsgBurnACTResponse) XXX_Merge(src proto.Message)
func (*MsgBurnACTResponse) XXX_Size ¶
func (m *MsgBurnACTResponse) XXX_Size() int
func (*MsgBurnACTResponse) XXX_Unmarshal ¶
func (m *MsgBurnACTResponse) XXX_Unmarshal(b []byte) error
type MsgBurnMint ¶
type MsgBurnMint struct {
// owner source of the coins to be burned
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner" yaml:"owner"`
// to destination of the minted coins.
// if minted coin is ACT, "to" must be same as signer
To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to" yaml:"to"`
// coins_to_burn
CoinsToBurn types.Coin `protobuf:"bytes,3,opt,name=coins_to_burn,json=coinsToBurn,proto3" json:"coins_to_burn" yaml:"coins_to_burn"`
// denom_to_mint
DenomToMint string `protobuf:"bytes,4,opt,name=denom_to_mint,json=denomToMint,proto3" json:"denom_to_mint" yaml:"denom_to_mint"`
}
MsgBurnMint defines the message for burning one token to mint another Allows burning AKT to mint ACT, or burning unused ACT back to AKT
func (*MsgBurnMint) Descriptor ¶
func (*MsgBurnMint) Descriptor() ([]byte, []int)
func (*MsgBurnMint) GetCoinsToBurn ¶
func (m *MsgBurnMint) GetCoinsToBurn() types.Coin
func (*MsgBurnMint) GetDenomToMint ¶
func (m *MsgBurnMint) GetDenomToMint() string
func (*MsgBurnMint) GetOwner ¶
func (m *MsgBurnMint) GetOwner() string
func (*MsgBurnMint) GetTo ¶
func (m *MsgBurnMint) GetTo() string
func (*MsgBurnMint) Marshal ¶
func (m *MsgBurnMint) Marshal() (dAtA []byte, err error)
func (*MsgBurnMint) MarshalToSizedBuffer ¶
func (m *MsgBurnMint) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBurnMint) ProtoMessage ¶
func (*MsgBurnMint) ProtoMessage()
func (*MsgBurnMint) Reset ¶
func (m *MsgBurnMint) Reset()
func (*MsgBurnMint) Size ¶
func (m *MsgBurnMint) Size() (n int)
func (*MsgBurnMint) String ¶
func (m *MsgBurnMint) String() string
func (*MsgBurnMint) Unmarshal ¶
func (m *MsgBurnMint) Unmarshal(dAtA []byte) error
func (MsgBurnMint) ValidateBasic ¶
func (msg MsgBurnMint) ValidateBasic() error
func (*MsgBurnMint) XXX_DiscardUnknown ¶
func (m *MsgBurnMint) XXX_DiscardUnknown()
func (*MsgBurnMint) XXX_Marshal ¶
func (m *MsgBurnMint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBurnMint) XXX_Merge ¶
func (m *MsgBurnMint) XXX_Merge(src proto.Message)
func (*MsgBurnMint) XXX_Size ¶
func (m *MsgBurnMint) XXX_Size() int
func (*MsgBurnMint) XXX_Unmarshal ¶
func (m *MsgBurnMint) XXX_Unmarshal(b []byte) error
type MsgBurnMintResponse ¶
type MsgBurnMintResponse struct {
ID LedgerRecordID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"`
Status LedgerRecordStatus `protobuf:"varint,2,opt,name=status,proto3,enum=akash.bme.v1.LedgerRecordStatus" json:"status,omitempty"`
}
MsgBurnMintResponse is the response type for MsgBurnMint
func (*MsgBurnMintResponse) Descriptor ¶
func (*MsgBurnMintResponse) Descriptor() ([]byte, []int)
func (*MsgBurnMintResponse) GetID ¶
func (m *MsgBurnMintResponse) GetID() LedgerRecordID
func (*MsgBurnMintResponse) GetStatus ¶
func (m *MsgBurnMintResponse) GetStatus() LedgerRecordStatus
func (*MsgBurnMintResponse) Marshal ¶
func (m *MsgBurnMintResponse) Marshal() (dAtA []byte, err error)
func (*MsgBurnMintResponse) MarshalTo ¶
func (m *MsgBurnMintResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgBurnMintResponse) MarshalToSizedBuffer ¶
func (m *MsgBurnMintResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBurnMintResponse) ProtoMessage ¶
func (*MsgBurnMintResponse) ProtoMessage()
func (*MsgBurnMintResponse) Reset ¶
func (m *MsgBurnMintResponse) Reset()
func (*MsgBurnMintResponse) Size ¶
func (m *MsgBurnMintResponse) Size() (n int)
func (*MsgBurnMintResponse) String ¶
func (m *MsgBurnMintResponse) String() string
func (*MsgBurnMintResponse) Unmarshal ¶
func (m *MsgBurnMintResponse) Unmarshal(dAtA []byte) error
func (*MsgBurnMintResponse) XXX_DiscardUnknown ¶
func (m *MsgBurnMintResponse) XXX_DiscardUnknown()
func (*MsgBurnMintResponse) XXX_Marshal ¶
func (m *MsgBurnMintResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBurnMintResponse) XXX_Merge ¶
func (m *MsgBurnMintResponse) XXX_Merge(src proto.Message)
func (*MsgBurnMintResponse) XXX_Size ¶
func (m *MsgBurnMintResponse) XXX_Size() int
func (*MsgBurnMintResponse) XXX_Unmarshal ¶
func (m *MsgBurnMintResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface {
// UpdateParams updates the module parameters.
// This operation can only be performed through governance proposals.
UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
// BurnMint allows users to burn one token and mint another at current oracle prices.
// Typically used to burn unused ACT tokens back to AKT.
// The operation may be delayed or rejected based on circuit breaker status.
BurnMint(ctx context.Context, in *MsgBurnMint, opts ...grpc.CallOption) (*MsgBurnMintResponse, error)
// MintACT mints ACT tokens by burning the specified source token.
// The mint amount is calculated based on current oracle prices and
// the collateral ratio. May be halted if circuit breaker is triggered.
MintACT(ctx context.Context, in *MsgMintACT, opts ...grpc.CallOption) (*MsgMintACTResponse, error)
// BurnACT burns ACT tokens and mints the specified destination token.
// The burn operation uses remint credits when available, otherwise
// requires adequate collateral backing based on oracle prices.
BurnACT(ctx context.Context, in *MsgBurnACT, opts ...grpc.CallOption) (*MsgBurnACTResponse, 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 MsgMintACT ¶
type MsgMintACT struct {
// owner source of the coins to be burned
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner" yaml:"owner"`
// to destination of the minted coins.
// if minted coin is ACT, "to" must be same as signer
To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to" yaml:"to"`
// coins_to_burn
CoinsToBurn types.Coin `protobuf:"bytes,3,opt,name=coins_to_burn,json=coinsToBurn,proto3" json:"coins_to_burn" yaml:"coins_to_burn"`
}
MsgMintACT defines the message for burning one token to mint another Allows burning AKT to mint ACT, or burning unused ACT back to AKT
func (*MsgMintACT) Descriptor ¶
func (*MsgMintACT) Descriptor() ([]byte, []int)
func (*MsgMintACT) GetCoinsToBurn ¶
func (m *MsgMintACT) GetCoinsToBurn() types.Coin
func (*MsgMintACT) GetOwner ¶
func (m *MsgMintACT) GetOwner() string
func (*MsgMintACT) GetTo ¶
func (m *MsgMintACT) GetTo() string
func (*MsgMintACT) Marshal ¶
func (m *MsgMintACT) Marshal() (dAtA []byte, err error)
func (*MsgMintACT) MarshalToSizedBuffer ¶
func (m *MsgMintACT) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMintACT) ProtoMessage ¶
func (*MsgMintACT) ProtoMessage()
func (*MsgMintACT) Reset ¶
func (m *MsgMintACT) Reset()
func (*MsgMintACT) Size ¶
func (m *MsgMintACT) Size() (n int)
func (*MsgMintACT) String ¶
func (m *MsgMintACT) String() string
func (*MsgMintACT) Unmarshal ¶
func (m *MsgMintACT) Unmarshal(dAtA []byte) error
func (MsgMintACT) ValidateBasic ¶
func (msg MsgMintACT) ValidateBasic() error
func (*MsgMintACT) XXX_DiscardUnknown ¶
func (m *MsgMintACT) XXX_DiscardUnknown()
func (*MsgMintACT) XXX_Marshal ¶
func (m *MsgMintACT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMintACT) XXX_Merge ¶
func (m *MsgMintACT) XXX_Merge(src proto.Message)
func (*MsgMintACT) XXX_Size ¶
func (m *MsgMintACT) XXX_Size() int
func (*MsgMintACT) XXX_Unmarshal ¶
func (m *MsgMintACT) XXX_Unmarshal(b []byte) error
type MsgMintACTResponse ¶
type MsgMintACTResponse struct {
ID LedgerRecordID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"`
Status LedgerRecordStatus `protobuf:"varint,2,opt,name=status,proto3,enum=akash.bme.v1.LedgerRecordStatus" json:"status,omitempty"`
}
MsgBurnMintResponse is the response type for MsgBurnMint
func (*MsgMintACTResponse) Descriptor ¶
func (*MsgMintACTResponse) Descriptor() ([]byte, []int)
func (*MsgMintACTResponse) GetID ¶
func (m *MsgMintACTResponse) GetID() LedgerRecordID
func (*MsgMintACTResponse) GetStatus ¶
func (m *MsgMintACTResponse) GetStatus() LedgerRecordStatus
func (*MsgMintACTResponse) Marshal ¶
func (m *MsgMintACTResponse) Marshal() (dAtA []byte, err error)
func (*MsgMintACTResponse) MarshalTo ¶
func (m *MsgMintACTResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgMintACTResponse) MarshalToSizedBuffer ¶
func (m *MsgMintACTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMintACTResponse) ProtoMessage ¶
func (*MsgMintACTResponse) ProtoMessage()
func (*MsgMintACTResponse) Reset ¶
func (m *MsgMintACTResponse) Reset()
func (*MsgMintACTResponse) Size ¶
func (m *MsgMintACTResponse) Size() (n int)
func (*MsgMintACTResponse) String ¶
func (m *MsgMintACTResponse) String() string
func (*MsgMintACTResponse) Unmarshal ¶
func (m *MsgMintACTResponse) Unmarshal(dAtA []byte) error
func (*MsgMintACTResponse) XXX_DiscardUnknown ¶
func (m *MsgMintACTResponse) XXX_DiscardUnknown()
func (*MsgMintACTResponse) XXX_Marshal ¶
func (m *MsgMintACTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMintACTResponse) XXX_Merge ¶
func (m *MsgMintACTResponse) XXX_Merge(src proto.Message)
func (*MsgMintACTResponse) XXX_Size ¶
func (m *MsgMintACTResponse) XXX_Size() int
func (*MsgMintACTResponse) XXX_Unmarshal ¶
func (m *MsgMintACTResponse) XXX_Unmarshal(b []byte) error
type MsgSeedVault ¶
type MsgSeedVault struct {
// authority is the address that controls the module (governance)
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
// amount is the AKT amount to seed the vault with
Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount"`
// source is the source of funds (e.g., community pool)
Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
}
MsgSeedVault defines the message for seeding the BME vault with AKT This is used to provide an initial volatility buffer
func (*MsgSeedVault) Descriptor ¶
func (*MsgSeedVault) Descriptor() ([]byte, []int)
func (*MsgSeedVault) GetAmount ¶
func (m *MsgSeedVault) GetAmount() types.Coin
func (*MsgSeedVault) GetAuthority ¶
func (m *MsgSeedVault) GetAuthority() string
func (MsgSeedVault) GetSigners ¶
func (msg MsgSeedVault) GetSigners() []sdk.AccAddress
func (*MsgSeedVault) GetSource ¶
func (m *MsgSeedVault) GetSource() string
func (*MsgSeedVault) Marshal ¶
func (m *MsgSeedVault) Marshal() (dAtA []byte, err error)
func (*MsgSeedVault) MarshalToSizedBuffer ¶
func (m *MsgSeedVault) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSeedVault) ProtoMessage ¶
func (*MsgSeedVault) ProtoMessage()
func (*MsgSeedVault) Reset ¶
func (m *MsgSeedVault) Reset()
func (*MsgSeedVault) Size ¶
func (m *MsgSeedVault) Size() (n int)
func (*MsgSeedVault) String ¶
func (m *MsgSeedVault) String() string
func (*MsgSeedVault) Unmarshal ¶
func (m *MsgSeedVault) Unmarshal(dAtA []byte) error
func (MsgSeedVault) ValidateBasic ¶
func (msg MsgSeedVault) ValidateBasic() error
func (*MsgSeedVault) XXX_DiscardUnknown ¶
func (m *MsgSeedVault) XXX_DiscardUnknown()
func (*MsgSeedVault) XXX_Marshal ¶
func (m *MsgSeedVault) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSeedVault) XXX_Merge ¶
func (m *MsgSeedVault) XXX_Merge(src proto.Message)
func (*MsgSeedVault) XXX_Size ¶
func (m *MsgSeedVault) XXX_Size() int
func (*MsgSeedVault) XXX_Unmarshal ¶
func (m *MsgSeedVault) XXX_Unmarshal(b []byte) error
type MsgSeedVaultResponse ¶
type MsgSeedVaultResponse struct {
// vault_akt is the new vault AKT balance
VaultAkt cosmossdk_io_math.Int `protobuf:"bytes,1,opt,name=vault_akt,json=vaultAkt,proto3,customtype=cosmossdk.io/math.Int" json:"vault_akt"`
}
MsgSeedVaultResponse is the response type for MsgSeedVault
func (*MsgSeedVaultResponse) Descriptor ¶
func (*MsgSeedVaultResponse) Descriptor() ([]byte, []int)
func (*MsgSeedVaultResponse) Marshal ¶
func (m *MsgSeedVaultResponse) Marshal() (dAtA []byte, err error)
func (*MsgSeedVaultResponse) MarshalTo ¶
func (m *MsgSeedVaultResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSeedVaultResponse) MarshalToSizedBuffer ¶
func (m *MsgSeedVaultResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSeedVaultResponse) ProtoMessage ¶
func (*MsgSeedVaultResponse) ProtoMessage()
func (*MsgSeedVaultResponse) Reset ¶
func (m *MsgSeedVaultResponse) Reset()
func (*MsgSeedVaultResponse) Size ¶
func (m *MsgSeedVaultResponse) Size() (n int)
func (*MsgSeedVaultResponse) String ¶
func (m *MsgSeedVaultResponse) String() string
func (*MsgSeedVaultResponse) Unmarshal ¶
func (m *MsgSeedVaultResponse) Unmarshal(dAtA []byte) error
func (*MsgSeedVaultResponse) XXX_DiscardUnknown ¶
func (m *MsgSeedVaultResponse) XXX_DiscardUnknown()
func (*MsgSeedVaultResponse) XXX_Marshal ¶
func (m *MsgSeedVaultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSeedVaultResponse) XXX_Merge ¶
func (m *MsgSeedVaultResponse) XXX_Merge(src proto.Message)
func (*MsgSeedVaultResponse) XXX_Size ¶
func (m *MsgSeedVaultResponse) XXX_Size() int
func (*MsgSeedVaultResponse) XXX_Unmarshal ¶
func (m *MsgSeedVaultResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface {
// UpdateParams updates the module parameters.
// This operation can only be performed through governance proposals.
UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
// BurnMint allows users to burn one token and mint another at current oracle prices.
// Typically used to burn unused ACT tokens back to AKT.
// The operation may be delayed or rejected based on circuit breaker status.
BurnMint(context.Context, *MsgBurnMint) (*MsgBurnMintResponse, error)
// MintACT mints ACT tokens by burning the specified source token.
// The mint amount is calculated based on current oracle prices and
// the collateral ratio. May be halted if circuit breaker is triggered.
MintACT(context.Context, *MsgMintACT) (*MsgMintACTResponse, error)
// BurnACT burns ACT tokens and mints the specified destination token.
// The burn operation uses remint credits when available, otherwise
// requires adequate collateral backing based on oracle prices.
BurnACT(context.Context, *MsgBurnACT) (*MsgBurnACTResponse, error)
}
MsgServer is the server API for Msg service.
type MsgUpdateParams ¶
type MsgUpdateParams struct {
// authority is the address that controls the module (governance)
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
// params defines the updated parameters
Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}
MsgUpdateParams defines the message for updating module parameters
func (*MsgUpdateParams) Descriptor ¶
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (m *MsgUpdateParams) GetParams() Params
func (MsgUpdateParams) GetSigners ¶
func (msg MsgUpdateParams) GetSigners() []sdk.AccAddress
func (*MsgUpdateParams) Marshal ¶
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Size ¶
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Type ¶
func (msg *MsgUpdateParams) Type() string
Type implements the sdk.Msg interface
func (*MsgUpdateParams) Unmarshal ¶
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (MsgUpdateParams) ValidateBasic ¶
func (msg MsgUpdateParams) ValidateBasic() error
func (*MsgUpdateParams) XXX_DiscardUnknown ¶
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct {
}
MsgUpdateParamsResponse is the response type for MsgUpdateParams
func (*MsgUpdateParamsResponse) Descriptor ¶
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct {
// circuit_breaker_warn_threshold is the CR below which warning is triggered
// Stored as basis points * 100 (e.g., 9500 = 0.95)
CircuitBreakerWarnThreshold uint32 `` /* 147-byte string literal not displayed */
// circuit_breaker_halt_threshold is the CR below which mints are halted
// Stored as basis points * 100 (e.g., 9000 = 0.90)
CircuitBreakerHaltThreshold uint32 `` /* 147-byte string literal not displayed */
// min_epoch_blocks is the minimum amount of blocks required for ACT mints
MinEpochBlocks int64 `protobuf:"varint,3,opt,name=min_epoch_blocks,json=minEpochBlocks,proto3" json:"min_epoch_blocks,omitempty"`
// epoch_blocks_backoff increase of runway_blocks in % during warn threshold
// for drop in 1 basis point of circuit_breaker_warn_threshold
// Stored as basis points * 100 (e.g., 9500 = 0.95)
// e.g: runway_blocks = 100
//
// min_runway_blocks_backoff = 1000
// circuit_breaker_warn_threshold drops from 0.95 to 0.94
// then runway_blocks = (100*0.1 + 100) = 110
//
// circuit_breaker_warn_threshold drops from 0.94 to 0.92
// then runway_blocks = (110*(0.1*2) + 110) = 132
EpochBlocksBackoffPercent uint32 `` /* 141-byte string literal not displayed */
// mint_spread_bps is the spread in basis points applied during ACT mint
// (default: 25 bps = 0.25%)
MintSpreadBps uint32 `protobuf:"varint,6,opt,name=mint_spread_bps,json=mintSpreadBps,proto3" json:"mint_spread_bps,omitempty"`
// settle_spread_bps is the spread in basis points applied during settlement
// (default: 0 for no provider tax)
SettleSpreadBps uint32 `protobuf:"varint,7,opt,name=settle_spread_bps,json=settleSpreadBps,proto3" json:"settle_spread_bps,omitempty"`
// max_endblocker_records is the deterministic upper bound on pending ledger
// records processed in a single EndBlocker invocation.
MaxEndblockerRecords uint32 `protobuf:"varint,8,opt,name=max_endblocker_records,json=maxEndblockerRecords,proto3" json:"max_endblocker_records,omitempty"`
}
Params defines the parameters for the BME module
func DefaultParams ¶
func DefaultParams() Params
func (*Params) Descriptor ¶
func (*Params) GetCircuitBreakerHaltThreshold ¶
func (*Params) GetCircuitBreakerWarnThreshold ¶
func (*Params) GetEpochBlocksBackoffPercent ¶
func (*Params) GetMaxEndblockerRecords ¶
func (*Params) GetMinEpochBlocks ¶
func (*Params) GetMintSpreadBps ¶
func (*Params) GetSettleSpreadBps ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryClient ¶
type QueryClient interface {
// Params returns the module parameters
Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
// VaultState returns the current vault state
VaultState(ctx context.Context, in *QueryVaultStateRequest, opts ...grpc.CallOption) (*QueryVaultStateResponse, error)
// Status returns the current circuit breaker status
Status(ctx context.Context, in *QueryStatusRequest, opts ...grpc.CallOption) (*QueryStatusResponse, error)
// LedgerRecords queries ledger records with optional filters for status, source, denom, to_denom
LedgerRecords(ctx context.Context, in *QueryLedgerRecordsRequest, opts ...grpc.CallOption) (*QueryLedgerRecordsResponse, 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 QueryLedgerRecordEntry ¶
type QueryLedgerRecordEntry struct {
// id is the unique identifier of the ledger record
ID LedgerRecordID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"`
// status indicates whether this record is pending or executed
Status LedgerRecordStatus `protobuf:"varint,2,opt,name=status,proto3,enum=akash.bme.v1.LedgerRecordStatus" json:"status,omitempty"`
// record contains either a pending or executed record
//
// Types that are valid to be assigned to Record:
// *QueryLedgerRecordEntry_PendingRecord
// *QueryLedgerRecordEntry_ExecutedRecord
Record isQueryLedgerRecordEntry_Record `protobuf_oneof:"record"`
}
QueryLedgerRecordEntry wraps a ledger record with its ID and status
func (*QueryLedgerRecordEntry) Descriptor ¶
func (*QueryLedgerRecordEntry) Descriptor() ([]byte, []int)
func (*QueryLedgerRecordEntry) GetExecutedRecord ¶
func (m *QueryLedgerRecordEntry) GetExecutedRecord() *LedgerRecord
func (*QueryLedgerRecordEntry) GetID ¶
func (m *QueryLedgerRecordEntry) GetID() LedgerRecordID
func (*QueryLedgerRecordEntry) GetPendingRecord ¶
func (m *QueryLedgerRecordEntry) GetPendingRecord() *LedgerPendingRecord
func (*QueryLedgerRecordEntry) GetRecord ¶
func (m *QueryLedgerRecordEntry) GetRecord() isQueryLedgerRecordEntry_Record
func (*QueryLedgerRecordEntry) GetStatus ¶
func (m *QueryLedgerRecordEntry) GetStatus() LedgerRecordStatus
func (*QueryLedgerRecordEntry) Marshal ¶
func (m *QueryLedgerRecordEntry) Marshal() (dAtA []byte, err error)
func (*QueryLedgerRecordEntry) MarshalTo ¶
func (m *QueryLedgerRecordEntry) MarshalTo(dAtA []byte) (int, error)
func (*QueryLedgerRecordEntry) MarshalToSizedBuffer ¶
func (m *QueryLedgerRecordEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLedgerRecordEntry) ProtoMessage ¶
func (*QueryLedgerRecordEntry) ProtoMessage()
func (*QueryLedgerRecordEntry) Reset ¶
func (m *QueryLedgerRecordEntry) Reset()
func (*QueryLedgerRecordEntry) Size ¶
func (m *QueryLedgerRecordEntry) Size() (n int)
func (*QueryLedgerRecordEntry) String ¶
func (m *QueryLedgerRecordEntry) String() string
func (*QueryLedgerRecordEntry) Unmarshal ¶
func (m *QueryLedgerRecordEntry) Unmarshal(dAtA []byte) error
func (*QueryLedgerRecordEntry) XXX_DiscardUnknown ¶
func (m *QueryLedgerRecordEntry) XXX_DiscardUnknown()
func (*QueryLedgerRecordEntry) XXX_Marshal ¶
func (m *QueryLedgerRecordEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLedgerRecordEntry) XXX_Merge ¶
func (m *QueryLedgerRecordEntry) XXX_Merge(src proto.Message)
func (*QueryLedgerRecordEntry) XXX_OneofWrappers ¶
func (*QueryLedgerRecordEntry) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*QueryLedgerRecordEntry) XXX_Size ¶
func (m *QueryLedgerRecordEntry) XXX_Size() int
func (*QueryLedgerRecordEntry) XXX_Unmarshal ¶
func (m *QueryLedgerRecordEntry) XXX_Unmarshal(b []byte) error
type QueryLedgerRecordEntry_ExecutedRecord ¶
type QueryLedgerRecordEntry_ExecutedRecord struct {
ExecutedRecord *LedgerRecord `protobuf:"bytes,4,opt,name=executed_record,json=executedRecord,proto3,oneof" json:"executed_record,omitempty"`
}
func (*QueryLedgerRecordEntry_ExecutedRecord) MarshalTo ¶
func (m *QueryLedgerRecordEntry_ExecutedRecord) MarshalTo(dAtA []byte) (int, error)
func (*QueryLedgerRecordEntry_ExecutedRecord) MarshalToSizedBuffer ¶
func (m *QueryLedgerRecordEntry_ExecutedRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLedgerRecordEntry_ExecutedRecord) Size ¶
func (m *QueryLedgerRecordEntry_ExecutedRecord) Size() (n int)
type QueryLedgerRecordEntry_PendingRecord ¶
type QueryLedgerRecordEntry_PendingRecord struct {
PendingRecord *LedgerPendingRecord `protobuf:"bytes,3,opt,name=pending_record,json=pendingRecord,proto3,oneof" json:"pending_record,omitempty"`
}
func (*QueryLedgerRecordEntry_PendingRecord) MarshalTo ¶
func (m *QueryLedgerRecordEntry_PendingRecord) MarshalTo(dAtA []byte) (int, error)
func (*QueryLedgerRecordEntry_PendingRecord) MarshalToSizedBuffer ¶
func (m *QueryLedgerRecordEntry_PendingRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLedgerRecordEntry_PendingRecord) Size ¶
func (m *QueryLedgerRecordEntry_PendingRecord) Size() (n int)
type QueryLedgerRecordsRequest ¶
type QueryLedgerRecordsRequest struct {
// filters holds the ledger record fields to filter the request
Filters LedgerRecordFilters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters"`
// pagination defines the pagination for the request
Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryLedgerRecordsRequest is the request type for the Query/LedgerRecords RPC method
func (*QueryLedgerRecordsRequest) Descriptor ¶
func (*QueryLedgerRecordsRequest) Descriptor() ([]byte, []int)
func (*QueryLedgerRecordsRequest) GetFilters ¶
func (m *QueryLedgerRecordsRequest) GetFilters() LedgerRecordFilters
func (*QueryLedgerRecordsRequest) GetPagination ¶
func (m *QueryLedgerRecordsRequest) GetPagination() *query.PageRequest
func (*QueryLedgerRecordsRequest) Marshal ¶
func (m *QueryLedgerRecordsRequest) Marshal() (dAtA []byte, err error)
func (*QueryLedgerRecordsRequest) MarshalTo ¶
func (m *QueryLedgerRecordsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryLedgerRecordsRequest) MarshalToSizedBuffer ¶
func (m *QueryLedgerRecordsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLedgerRecordsRequest) ProtoMessage ¶
func (*QueryLedgerRecordsRequest) ProtoMessage()
func (*QueryLedgerRecordsRequest) Reset ¶
func (m *QueryLedgerRecordsRequest) Reset()
func (*QueryLedgerRecordsRequest) Size ¶
func (m *QueryLedgerRecordsRequest) Size() (n int)
func (*QueryLedgerRecordsRequest) String ¶
func (m *QueryLedgerRecordsRequest) String() string
func (*QueryLedgerRecordsRequest) Unmarshal ¶
func (m *QueryLedgerRecordsRequest) Unmarshal(dAtA []byte) error
func (*QueryLedgerRecordsRequest) XXX_DiscardUnknown ¶
func (m *QueryLedgerRecordsRequest) XXX_DiscardUnknown()
func (*QueryLedgerRecordsRequest) XXX_Marshal ¶
func (m *QueryLedgerRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLedgerRecordsRequest) XXX_Merge ¶
func (m *QueryLedgerRecordsRequest) XXX_Merge(src proto.Message)
func (*QueryLedgerRecordsRequest) XXX_Size ¶
func (m *QueryLedgerRecordsRequest) XXX_Size() int
func (*QueryLedgerRecordsRequest) XXX_Unmarshal ¶
func (m *QueryLedgerRecordsRequest) XXX_Unmarshal(b []byte) error
type QueryLedgerRecordsResponse ¶
type QueryLedgerRecordsResponse struct {
// records is a list of ledger records matching the filters
Records []QueryLedgerRecordEntry `protobuf:"bytes,1,rep,name=records,proto3" json:"records"`
// pagination contains the information about response pagination
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryLedgerRecordsResponse is the response type for the Query/LedgerRecords RPC method
func (*QueryLedgerRecordsResponse) Descriptor ¶
func (*QueryLedgerRecordsResponse) Descriptor() ([]byte, []int)
func (*QueryLedgerRecordsResponse) GetPagination ¶
func (m *QueryLedgerRecordsResponse) GetPagination() *query.PageResponse
func (*QueryLedgerRecordsResponse) GetRecords ¶
func (m *QueryLedgerRecordsResponse) GetRecords() []QueryLedgerRecordEntry
func (*QueryLedgerRecordsResponse) Marshal ¶
func (m *QueryLedgerRecordsResponse) Marshal() (dAtA []byte, err error)
func (*QueryLedgerRecordsResponse) MarshalTo ¶
func (m *QueryLedgerRecordsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryLedgerRecordsResponse) MarshalToSizedBuffer ¶
func (m *QueryLedgerRecordsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLedgerRecordsResponse) ProtoMessage ¶
func (*QueryLedgerRecordsResponse) ProtoMessage()
func (*QueryLedgerRecordsResponse) Reset ¶
func (m *QueryLedgerRecordsResponse) Reset()
func (*QueryLedgerRecordsResponse) Size ¶
func (m *QueryLedgerRecordsResponse) Size() (n int)
func (*QueryLedgerRecordsResponse) String ¶
func (m *QueryLedgerRecordsResponse) String() string
func (*QueryLedgerRecordsResponse) Unmarshal ¶
func (m *QueryLedgerRecordsResponse) Unmarshal(dAtA []byte) error
func (*QueryLedgerRecordsResponse) XXX_DiscardUnknown ¶
func (m *QueryLedgerRecordsResponse) XXX_DiscardUnknown()
func (*QueryLedgerRecordsResponse) XXX_Marshal ¶
func (m *QueryLedgerRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLedgerRecordsResponse) XXX_Merge ¶
func (m *QueryLedgerRecordsResponse) XXX_Merge(src proto.Message)
func (*QueryLedgerRecordsResponse) XXX_Size ¶
func (m *QueryLedgerRecordsResponse) XXX_Size() int
func (*QueryLedgerRecordsResponse) XXX_Unmarshal ¶
func (m *QueryLedgerRecordsResponse) 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 QueryServer ¶
type QueryServer interface {
// Params returns the module parameters
Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
// VaultState returns the current vault state
VaultState(context.Context, *QueryVaultStateRequest) (*QueryVaultStateResponse, error)
// Status returns the current circuit breaker status
Status(context.Context, *QueryStatusRequest) (*QueryStatusResponse, error)
// LedgerRecords queries ledger records with optional filters for status, source, denom, to_denom
LedgerRecords(context.Context, *QueryLedgerRecordsRequest) (*QueryLedgerRecordsResponse, error)
}
QueryServer is the server API for Query service.
type QueryStatusRequest ¶
type QueryStatusRequest struct {
}
QueryStatusRequest is the request type for the circuit breaker status
func (*QueryStatusRequest) Descriptor ¶
func (*QueryStatusRequest) Descriptor() ([]byte, []int)
func (*QueryStatusRequest) Marshal ¶
func (m *QueryStatusRequest) Marshal() (dAtA []byte, err error)
func (*QueryStatusRequest) MarshalTo ¶
func (m *QueryStatusRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryStatusRequest) MarshalToSizedBuffer ¶
func (m *QueryStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStatusRequest) ProtoMessage ¶
func (*QueryStatusRequest) ProtoMessage()
func (*QueryStatusRequest) Reset ¶
func (m *QueryStatusRequest) Reset()
func (*QueryStatusRequest) Size ¶
func (m *QueryStatusRequest) Size() (n int)
func (*QueryStatusRequest) String ¶
func (m *QueryStatusRequest) String() string
func (*QueryStatusRequest) Unmarshal ¶
func (m *QueryStatusRequest) Unmarshal(dAtA []byte) error
func (*QueryStatusRequest) XXX_DiscardUnknown ¶
func (m *QueryStatusRequest) XXX_DiscardUnknown()
func (*QueryStatusRequest) XXX_Marshal ¶
func (m *QueryStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStatusRequest) XXX_Merge ¶
func (m *QueryStatusRequest) XXX_Merge(src proto.Message)
func (*QueryStatusRequest) XXX_Size ¶
func (m *QueryStatusRequest) XXX_Size() int
func (*QueryStatusRequest) XXX_Unmarshal ¶
func (m *QueryStatusRequest) XXX_Unmarshal(b []byte) error
type QueryStatusResponse ¶
type QueryStatusResponse struct {
// status is the current circuit breaker status
Status MintStatus `protobuf:"varint,1,opt,name=status,proto3,enum=akash.bme.v1.MintStatus" json:"status,omitempty"`
// collateral_ratio is the current CR
CollateralRatio cosmossdk_io_math.LegacyDec `` /* 135-byte string literal not displayed */
// warn_threshold is the warning threshold
WarnThreshold cosmossdk_io_math.LegacyDec `` /* 129-byte string literal not displayed */
// halt_threshold is the halt threshold
HaltThreshold cosmossdk_io_math.LegacyDec `` /* 129-byte string literal not displayed */
// mints_allowed indicates if new ACT mints are allowed
MintsAllowed bool `protobuf:"varint,5,opt,name=mints_allowed,json=mintsAllowed,proto3" json:"mints_allowed,omitempty"`
// refunds_allowed indicates if ACT refunds are allowed
RefundsAllowed bool `protobuf:"varint,6,opt,name=refunds_allowed,json=refundsAllowed,proto3" json:"refunds_allowed,omitempty"`
}
QueryMintStatusResponse is the response type for the circuit breaker status
func (*QueryStatusResponse) Descriptor ¶
func (*QueryStatusResponse) Descriptor() ([]byte, []int)
func (*QueryStatusResponse) GetMintsAllowed ¶
func (m *QueryStatusResponse) GetMintsAllowed() bool
func (*QueryStatusResponse) GetRefundsAllowed ¶
func (m *QueryStatusResponse) GetRefundsAllowed() bool
func (*QueryStatusResponse) GetStatus ¶
func (m *QueryStatusResponse) GetStatus() MintStatus
func (*QueryStatusResponse) Marshal ¶
func (m *QueryStatusResponse) Marshal() (dAtA []byte, err error)
func (*QueryStatusResponse) MarshalTo ¶
func (m *QueryStatusResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryStatusResponse) MarshalToSizedBuffer ¶
func (m *QueryStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStatusResponse) ProtoMessage ¶
func (*QueryStatusResponse) ProtoMessage()
func (*QueryStatusResponse) Reset ¶
func (m *QueryStatusResponse) Reset()
func (*QueryStatusResponse) Size ¶
func (m *QueryStatusResponse) Size() (n int)
func (*QueryStatusResponse) String ¶
func (m *QueryStatusResponse) String() string
func (*QueryStatusResponse) Unmarshal ¶
func (m *QueryStatusResponse) Unmarshal(dAtA []byte) error
func (*QueryStatusResponse) XXX_DiscardUnknown ¶
func (m *QueryStatusResponse) XXX_DiscardUnknown()
func (*QueryStatusResponse) XXX_Marshal ¶
func (m *QueryStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStatusResponse) XXX_Merge ¶
func (m *QueryStatusResponse) XXX_Merge(src proto.Message)
func (*QueryStatusResponse) XXX_Size ¶
func (m *QueryStatusResponse) XXX_Size() int
func (*QueryStatusResponse) XXX_Unmarshal ¶
func (m *QueryStatusResponse) XXX_Unmarshal(b []byte) error
type QueryVaultStateRequest ¶
type QueryVaultStateRequest struct {
}
QueryVaultStateRequest is the request type for the Query/VaultState RPC method
func (*QueryVaultStateRequest) Descriptor ¶
func (*QueryVaultStateRequest) Descriptor() ([]byte, []int)
func (*QueryVaultStateRequest) Marshal ¶
func (m *QueryVaultStateRequest) Marshal() (dAtA []byte, err error)
func (*QueryVaultStateRequest) MarshalTo ¶
func (m *QueryVaultStateRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryVaultStateRequest) MarshalToSizedBuffer ¶
func (m *QueryVaultStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryVaultStateRequest) ProtoMessage ¶
func (*QueryVaultStateRequest) ProtoMessage()
func (*QueryVaultStateRequest) Reset ¶
func (m *QueryVaultStateRequest) Reset()
func (*QueryVaultStateRequest) Size ¶
func (m *QueryVaultStateRequest) Size() (n int)
func (*QueryVaultStateRequest) String ¶
func (m *QueryVaultStateRequest) String() string
func (*QueryVaultStateRequest) Unmarshal ¶
func (m *QueryVaultStateRequest) Unmarshal(dAtA []byte) error
func (*QueryVaultStateRequest) XXX_DiscardUnknown ¶
func (m *QueryVaultStateRequest) XXX_DiscardUnknown()
func (*QueryVaultStateRequest) XXX_Marshal ¶
func (m *QueryVaultStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryVaultStateRequest) XXX_Merge ¶
func (m *QueryVaultStateRequest) XXX_Merge(src proto.Message)
func (*QueryVaultStateRequest) XXX_Size ¶
func (m *QueryVaultStateRequest) XXX_Size() int
func (*QueryVaultStateRequest) XXX_Unmarshal ¶
func (m *QueryVaultStateRequest) XXX_Unmarshal(b []byte) error
type QueryVaultStateResponse ¶
type QueryVaultStateResponse struct {
VaultState State `protobuf:"bytes,1,opt,name=vault_state,json=vaultState,proto3" json:"vault_state"`
}
QueryVaultStateResponse is the response type for the Query/VaultState RPC method
func (*QueryVaultStateResponse) Descriptor ¶
func (*QueryVaultStateResponse) Descriptor() ([]byte, []int)
func (*QueryVaultStateResponse) GetVaultState ¶
func (m *QueryVaultStateResponse) GetVaultState() State
func (*QueryVaultStateResponse) Marshal ¶
func (m *QueryVaultStateResponse) Marshal() (dAtA []byte, err error)
func (*QueryVaultStateResponse) MarshalTo ¶
func (m *QueryVaultStateResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryVaultStateResponse) MarshalToSizedBuffer ¶
func (m *QueryVaultStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryVaultStateResponse) ProtoMessage ¶
func (*QueryVaultStateResponse) ProtoMessage()
func (*QueryVaultStateResponse) Reset ¶
func (m *QueryVaultStateResponse) Reset()
func (*QueryVaultStateResponse) Size ¶
func (m *QueryVaultStateResponse) Size() (n int)
func (*QueryVaultStateResponse) String ¶
func (m *QueryVaultStateResponse) String() string
func (*QueryVaultStateResponse) Unmarshal ¶
func (m *QueryVaultStateResponse) Unmarshal(dAtA []byte) error
func (*QueryVaultStateResponse) XXX_DiscardUnknown ¶
func (m *QueryVaultStateResponse) XXX_DiscardUnknown()
func (*QueryVaultStateResponse) XXX_Marshal ¶
func (m *QueryVaultStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryVaultStateResponse) XXX_Merge ¶
func (m *QueryVaultStateResponse) XXX_Merge(src proto.Message)
func (*QueryVaultStateResponse) XXX_Size ¶
func (m *QueryVaultStateResponse) XXX_Size() int
func (*QueryVaultStateResponse) XXX_Unmarshal ¶
func (m *QueryVaultStateResponse) XXX_Unmarshal(b []byte) error
type State ¶
type State struct {
// burned is the cumulative burn for tracked tokens
Balances github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=balances,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"balances"`
// burned is the cumulative burn for tracked tokens
TotalBurned github_com_cosmos_cosmos_sdk_types.Coins `` /* 138-byte string literal not displayed */
// minted is the cumulative mint back for tracked tokens
TotalMinted github_com_cosmos_cosmos_sdk_types.Coins `` /* 138-byte string literal not displayed */
// remint_credits tracks available credits for reminting tokens
// (e.g., from previous burns that can be reminted without additional collateral)
RemintCredits github_com_cosmos_cosmos_sdk_types.Coins `` /* 144-byte string literal not displayed */
}
State tracks net burn metrics since BME start
func (*State) Descriptor ¶
func (*State) GetBalances ¶
func (m *State) GetBalances() github_com_cosmos_cosmos_sdk_types.Coins
func (*State) GetRemintCredits ¶
func (m *State) GetRemintCredits() github_com_cosmos_cosmos_sdk_types.Coins
func (*State) GetTotalBurned ¶
func (m *State) GetTotalBurned() github_com_cosmos_cosmos_sdk_types.Coins
func (*State) GetTotalMinted ¶
func (m *State) GetTotalMinted() github_com_cosmos_cosmos_sdk_types.Coins
func (*State) ProtoMessage ¶
func (*State) ProtoMessage()
func (*State) XXX_DiscardUnknown ¶
func (m *State) XXX_DiscardUnknown()
func (*State) XXX_Marshal ¶
func (*State) XXX_Unmarshal ¶
type Status ¶
type Status struct {
Status MintStatus `protobuf:"varint,1,opt,name=status,proto3,enum=akash.bme.v1.MintStatus" json:"status,omitempty"`
PreviousStatus MintStatus `` /* 133-byte string literal not displayed */
EpochHeightDiff int64 `protobuf:"varint,3,opt,name=epoch_height_diff,json=epochHeightDiff,proto3" json:"epoch_height_diff,omitempty"`
}
Status stores status of mint operations
func (*Status) Descriptor ¶
func (*Status) GetEpochHeightDiff ¶
func (*Status) GetPreviousStatus ¶
func (m *Status) GetPreviousStatus() MintStatus
func (*Status) GetStatus ¶
func (m *Status) GetStatus() MintStatus
func (*Status) MarshalToSizedBuffer ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) XXX_DiscardUnknown ¶
func (m *Status) XXX_DiscardUnknown()
func (*Status) XXX_Marshal ¶
func (*Status) XXX_Unmarshal ¶
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct {
}
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) BurnACT ¶
func (*UnimplementedMsgServer) BurnACT(ctx context.Context, req *MsgBurnACT) (*MsgBurnACTResponse, error)
func (*UnimplementedMsgServer) BurnMint ¶
func (*UnimplementedMsgServer) BurnMint(ctx context.Context, req *MsgBurnMint) (*MsgBurnMintResponse, error)
func (*UnimplementedMsgServer) MintACT ¶
func (*UnimplementedMsgServer) MintACT(ctx context.Context, req *MsgMintACT) (*MsgMintACTResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct {
}
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) LedgerRecords ¶
func (*UnimplementedQueryServer) LedgerRecords(ctx context.Context, req *QueryLedgerRecordsRequest) (*QueryLedgerRecordsResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) Status ¶
func (*UnimplementedQueryServer) Status(ctx context.Context, req *QueryStatusRequest) (*QueryStatusResponse, error)
func (*UnimplementedQueryServer) VaultState ¶
func (*UnimplementedQueryServer) VaultState(ctx context.Context, req *QueryVaultStateRequest) (*QueryVaultStateResponse, error)