Skip to content

Commit

Permalink
Update Predictions.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
grctest committed Sep 8, 2024
1 parent d879791 commit b2b2344
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions src/components/Predictions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -813,17 +813,15 @@ export default function Predictions(properties) {
headerText={t(`Predictions:dialogContent.header_issue`)}
trxJSON={[{
funding_account: usr.id,
/*
delta_collateral: {
amount: blockchainFloat(existingCollateral + issueAmount, res.precision),
asset_id: res.id
},
delta_debt: {
amount: blockchainFloat(existingCollateral + issueAmount, res.backingAsset.precision),
asset_id: res.backingAsset.id
amount: blockchainFloat(existingCollateral + issueAmount, _backingPrecision),
asset_id: _backingAssetID
},
extensions: []
*/
extensions: {}
}]}
/>
: null
Expand Down Expand Up @@ -1048,7 +1046,7 @@ export default function Predictions(properties) {
},
expiration: expiry,
fill_or_kill: expiryType === "fkill" ? true : false,
extensions: []
extensions: {}
}]}
/>
: null
Expand Down Expand Up @@ -1288,7 +1286,7 @@ export default function Predictions(properties) {
},
expiration: expiry,
fill_or_kill: expiryType === "fkill" ? true : false,
extensions: []
extensions: {}
}]}
/>
: null
Expand Down Expand Up @@ -1407,7 +1405,7 @@ export default function Predictions(properties) {
amount: blockchainFloat(claimAmount, res.precision).toFixed(0),
asset_id: res.id
},
extensions: []
extensions: {}
}]}
/>
: null
Expand Down Expand Up @@ -1543,7 +1541,7 @@ export default function Predictions(properties) {
asset_id: _backingAssetID
}
},
extensions: []
extensions: {}
}]}
/>
: null
Expand Down Expand Up @@ -1670,7 +1668,7 @@ export default function Predictions(properties) {
asset_to_update: res.id,
new_feed_producers: priceFeeders.map((_usr) => _usr.id),
},
extensions: []
extensions: {}
}]}
/>
: null
Expand Down Expand Up @@ -1911,7 +1909,7 @@ export default function Predictions(properties) {
},
expiration: expiry,
fill_or_kill: false,
extensions: []
extensions: {}
}]}
/>
: null
Expand Down

0 comments on commit b2b2344

Please sign in to comment.