package
0.0.0-20200112091419-def7031ee614
Repository: https://github.com/cicizeo/hilo.git
Documentation: pkg.go.dev

# Functions

CreateCollateralSettingKey returns a KVStore key for getting and setting a borrower's collateral setting for a single uToken.
CreateLoanKey returns a KVStore key for getting and setting a Loan for a denom and borrower address.
CreateLoanKeyNoDenom returns the common prefix used by all loans associated with a given borrower address.
CreateRegisteredTokenKey returns a KVStore key for getting and setting a Token.
CreateTokenDenomKey returns a KVStore key for getting and storing a token's associated uToken denomination.
CreateUTokenDenomKey returns a KVStore key for getting and storing a uToken's associated token denomination.
DefaultGenesis returns the default genesis state of the x/leverage module.
DefaultParams returns a default set of parameters.
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
ParamKeyTable returns the x/leverage module's parameter KeyTable expected by the x/params module.
No description provided by the author
RegisterLegacyAminoCodec registers the necessary x/leverage interfaces and concrete types on the provided LegacyAmino codec.
No description provided by the author
No description provided by the author
UTokenFromTokenDenom returns the uToken denom given a token denom.

# Constants

Event types and attributes for the leverage module.
Event types and attributes for the leverage module.
Event types and attributes for the leverage module.
Event types and attributes for the leverage module.
Event types and attributes for the leverage module.
Event types and attributes for the leverage module.
Event types and attributes for the leverage module.
Event types and attributes for the leverage module.
Event types and attributes for the leverage module.
Event types and attributes for the leverage module.
ModuleName defines the module name.
ProposalTypeChange defines the type for a UpdateAssetsProposal.
ProposalTypeUpdateRegistryProposal defines the type for a UpdateRegistryProposal proposal type.
QuerierRoute defines the module's query routing key.
RouterKey is the message route for slashing.
StoreKey defines the primary module store key.
UTokenPrefix defines the uToken denomination prefix for all uToken types.

# Variables

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
KVStore key prefixes.
KVStore key prefixes.
KVStore key prefixes.
KVStore key prefixes.
KVStore key prefixes.
ModuleCdc references the global x/leverage module codec.

# Structs

GenesisState defines the x/leverage module's genesis state.
MsgBorrowAsset represents a lender's request to borrow a base asset type from the module.
MsgBorrowAssetResponse defines the Msg/BorrowAsset response type.
MsgLendAsset represents a lender's request to lend a base asset type to the module.
MsgLendAssetResponse defines the Msg/LendAsset response type.
MsgRepayAsset represents a lender's request to repay a borrowed base asset type to the module.
MsgRepayAssetResponse defines the Msg/RepayAsset response type.
MsgSetCollateral represents a lender's request to enable or disable a uToken type in their possession as collateral.
MsgSetCollateralResponse defines the Msg/SetCollateral response type.
MsgWithdrawAsset represents a lender's request to withdraw a previously lent base asset type from the module.
MsgWithdrawAssetResponse defines the Msg/WithdrawAsset response type.
Params defines the parameters for the leverage module.
Token defines a token, along with its capital metadata, in the Hilo capital facility that can be loaned and borrowed.
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.
UpdateRegistryProposal defines a governance proposal type where the token registry can be updated in the Hilo capital facility.

# Interfaces

BankKeeper defines the expected x/bank keeper interface.
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.