Skip to content

Commit

Permalink
default valuation
Browse files Browse the repository at this point in the history
  • Loading branch information
onnovisser committed Jun 17, 2024
1 parent 39a4b69 commit a2a02e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions centrifuge-app/src/pages/IssuerPool/Assets/CreateLoan.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ function IssuerCreateLoan() {
assetName: '',
attributes: {},
pricing: {
valuationMethod: 'outstandingDebt',
valuationMethod: 'oracle',
maxBorrowAmount: 'upToTotalBorrowed',
maturity: 'fixed',
value: '',
Expand All @@ -249,7 +249,7 @@ function IssuerCreateLoan() {
onSubmit: async (values, { setSubmitting }) => {
if (!collateralCollectionId || !account || !templateMetadata) return
const { decimals } = pool.currency
let pricingInfo
let pricingInfo: LoanInfoInput
if (values.pricing.valuationMethod === 'cash') {
pricingInfo = {
valuationMethod: values.pricing.valuationMethod,
Expand Down

0 comments on commit a2a02e3

Please sign in to comment.