package
1.8.1
Repository: https://github.com/haqq-network/haqq.git
Documentation: pkg.go.dev

# Functions

CurrentPeriodShift calculates how much time has passed since the beginning of the current period.
No description provided by the author
No description provided by the author
DenomBaseNameFromID compose denom name based on id for exponent 0.
DenomDisplayNameFromID compose denom name based on id for exponent 18.
No description provided by the author
ExtractPastPeriods takes the list of periods with started time and returns list of periods which are already in the past.
ExtractUpcomingPeriods takes the list of periods with started time and returns list of periods which are currently upcoming.
No description provided by the author
No description provided by the author
NewMsgLiquidate creates new instance of MsgLiquidate.
NewMsgRedeem creates new instance of MsgLiquidate.
No description provided by the author
No description provided by the author
No description provided by the author
RegisterInterfaces associates protoName with AccountI and VestingAccount Interfaces and creates a registry of it's concrete implementations.
RegisterLegacyAminoCodec registers the necessary x/erc20 interfaces and concrete types on the provided LegacyAmino codec.
RegisterMsgHandler registers the http handlers for service Msg to "mux".
RegisterMsgHandlerClient registers the http handlers for service Msg to "mux".
RegisterMsgHandlerFromEndpoint is same as RegisterMsgHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterMsgHandlerServer registers the http handlers for service Msg to "mux".
No description provided by the author
RegisterQueryHandler registers the http handlers for service Query to "mux".
RegisterQueryHandlerClient registers the http handlers for service Query to "mux".
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
No description provided by the author
ReplacePeriodsTail replaces the last N periods in original periods list with replacements period list where N is length of replacement list.
SubtractAmountFromPeriods subtracts coin amount from given periods proportionally, returns decreased periods and diff of initial periods and decreased periods.

# Constants

liquidvesting events.
liquidvesting events.
DefaultMinimumLiquidationAmountISLM default parameter value in ISLM.
liquidvesting events.
liquidvesting events.
ModuleName defines the module name.
No description provided by the author
StoreKey defines the primary module store key.
No description provided by the author
No description provided by the author

# Variables

AminoCdc is a amino codec created to support amino JSON compatible msgs.
AttoMultiplier 10^18.
DefaultMinimumLiquidationAmount default atto parameter value.
DefaultMinimumLiquidationAmount default atto parameter value.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParamStoreKeyMinimumLiquidationAmount Parameter store keys.
ParamStoreKeyMinimumLiquidationAmount Parameter store keys.

# Structs

Denom represents liquid token bonded to some specific vesting schedule.
GenesisState defines the liquidvesting module's genesis state.
MsgLiquidate represents message to liquidate arbitrary amount of tokens locked in vesting.
MsgLiquidateResponse defines the Msg/Liquidate response type.
MsgLiquidate represents message to redeem arbitrary amount of liquid vesting tokens.
MsgRedeemResponse defines the Msg/Redeem response type.
Params holds parameters for the liquidvesting module.
QueryDenomRequest is request fo Denom rpc method.
QueryDenomResponse is response for Denom rpc method.
QueryDenomsRequest is request for Denoms rpc method.
QueryDenomsResponse is response for Denoms rpc method.
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.

# Interfaces

AccountKeeper defines the expected interface for the Account module.
BankKeeper defines the expected interface for the Bank module.
ERC20Keeper defines the expected interface for the ERC20 module.
MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.
VestingKeeper defines the expected interface for the Vesting module.