Documentation ¶
Index ¶
Constants ¶
View Source
const ( RestOwner = "owner" RestDenom = "denom" RestName = "name" )
REST variable names nolint
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PostBorrowReq ¶
type PostBorrowReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` From sdk.AccAddress `json:"from" yaml:"from"` Amount sdk.Coins `json:"amount" yaml:"amount"` }
PostBorrowReq defines the properties of a borrow request's body
type PostCreateDepositReq ¶
type PostCreateDepositReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` From sdk.AccAddress `json:"from" yaml:"from"` Amount sdk.Coins `json:"amount" yaml:"amount"` }
PostCreateDepositReq defines the properties of a deposit create request's body
type PostCreateWithdrawReq ¶
type PostCreateWithdrawReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` From sdk.AccAddress `json:"from" yaml:"from"` Amount sdk.Coins `json:"amount" yaml:"amount"` }
PostCreateWithdrawReq defines the properties of a deposit withdraw request's body
type PostLiquidateReq ¶
type PostLiquidateReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` From sdk.AccAddress `json:"from" yaml:"from"` Borrower sdk.AccAddress `json:"borrower" yaml:"borrower"` }
PostLiquidateReq defines the properties of a liquidate request's body
type PostRepayReq ¶
type PostRepayReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` From sdk.AccAddress `json:"from" yaml:"from"` Owner sdk.AccAddress `json:"owner" yaml:"owner"` Amount sdk.Coins `json:"amount" yaml:"amount"` }
PostRepayReq defines the properties of a repay request's body
Click to show internal directories.
Click to hide internal directories.