Skip to content

Commit

Permalink
fix gas percentage
Browse files Browse the repository at this point in the history
  • Loading branch information
rouzwelt committed Sep 16, 2023
1 parent 38b80b6 commit 279e634
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions docs/html/curve.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ <h1 class="page-title">Source: curve.js</h1>
if (arbType === "order-taker") takeOrdersConfigStruct.data = exchangeData;

const gasPrice = await signer.provider.getGasPrice();
const ethPrice = gasCoveragePercentage !== "0"
const ethPrice = gasCoveragePercentage === "0"
? "0"
: await getEthPrice(
config,
Expand Down Expand Up @@ -673,7 +673,7 @@ <h2><a href="index.html">Home</a></h2><h3>Global</h3><ul><li><a href="global.htm
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Sat Sep 16 2023 15:09:46 GMT+0000 (Coordinated Universal Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Sat Sep 16 2023 15:19:19 GMT+0000 (Coordinated Universal Time)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/global.html
Original file line number Diff line number Diff line change
Expand Up @@ -7067,7 +7067,7 @@ <h2><a href="index.html">Home</a></h2><h3>Global</h3><ul><li><a href="global.htm
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Sat Sep 16 2023 15:09:46 GMT+0000 (Coordinated Universal Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Sat Sep 16 2023 15:19:19 GMT+0000 (Coordinated Universal Time)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h2><a href="index.html">Home</a></h2><h3>Global</h3><ul><li><a href="global.htm
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Sat Sep 16 2023 15:09:46 GMT+0000 (Coordinated Universal Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Sat Sep 16 2023 15:19:19 GMT+0000 (Coordinated Universal Time)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ <h2><a href="index.html">Home</a></h2><h3>Global</h3><ul><li><a href="global.htm
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Sat Sep 16 2023 15:09:46 GMT+0000 (Coordinated Universal Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Sat Sep 16 2023 15:19:19 GMT+0000 (Coordinated Universal Time)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/query.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ <h2><a href="index.html">Home</a></h2><h3>Global</h3><ul><li><a href="global.htm
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Sat Sep 16 2023 15:09:46 GMT+0000 (Coordinated Universal Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Sat Sep 16 2023 15:19:19 GMT+0000 (Coordinated Universal Time)
</footer>

<script> prettyPrint(); </script>
Expand Down
4 changes: 2 additions & 2 deletions docs/html/router.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ <h1 class="page-title">Source: router.js</h1>
);
if (arbType === "order-taker") takeOrdersConfigStruct.data = exchangeData;

const ethPrice = gasCoveragePercentage !== "0"
const ethPrice = gasCoveragePercentage === "0"
? "0"
: await getEthPrice(
config,
Expand Down Expand Up @@ -506,7 +506,7 @@ <h2><a href="index.html">Home</a></h2><h3>Global</h3><ul><li><a href="global.htm
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Sat Sep 16 2023 15:09:46 GMT+0000 (Coordinated Universal Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Sat Sep 16 2023 15:19:19 GMT+0000 (Coordinated Universal Time)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/srouter.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ <h2><a href="index.html">Home</a></h2><h3>Global</h3><ul><li><a href="global.htm
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Sat Sep 16 2023 15:09:46 GMT+0000 (Coordinated Universal Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Sat Sep 16 2023 15:19:19 GMT+0000 (Coordinated Universal Time)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/utils.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -1523,7 +1523,7 @@ <h2><a href="index.html">Home</a></h2><h3>Global</h3><ul><li><a href="global.htm
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Sat Sep 16 2023 15:09:46 GMT+0000 (Coordinated Universal Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Sat Sep 16 2023 15:19:19 GMT+0000 (Coordinated Universal Time)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/zeroex.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ <h2><a href="index.html">Home</a></h2><h3>Global</h3><ul><li><a href="global.htm
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Sat Sep 16 2023 15:09:46 GMT+0000 (Coordinated Universal Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Sat Sep 16 2023 15:19:19 GMT+0000 (Coordinated Universal Time)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion src/curve.js
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ const curveClear = async(
if (arbType === "order-taker") takeOrdersConfigStruct.data = exchangeData;

const gasPrice = await signer.provider.getGasPrice();
const ethPrice = gasCoveragePercentage !== "0"
const ethPrice = gasCoveragePercentage === "0"
? "0"
: await getEthPrice(
config,
Expand Down
2 changes: 1 addition & 1 deletion src/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ const routerClear = async(
);
if (arbType === "order-taker") takeOrdersConfigStruct.data = exchangeData;

const ethPrice = gasCoveragePercentage !== "0"
const ethPrice = gasCoveragePercentage === "0"
? "0"
: await getEthPrice(
config,
Expand Down

0 comments on commit 279e634

Please sign in to comment.