...rest() + _upfrontFee;
3
4 // Mint part of the BOLD interest to the SP and part to the router for LPs.
5 if (mintedAmount > 0) {
6 uint256 spYield = SP_YIELD_SPLIT * mintedAmount / DECIMAL_PRECISION;
7 uint256 remainderToLPs = mintedAmount - spYield;
8
9 _boldToken.m...
...rted
warning mocha > glob > inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
[2/4] 🚚 Fetching packages...
[3/4] 🔗 L...
...
cargo stylus -V
stylus 0.5.12
cargo stylus --help
Cargo subcommand for developing Stylus projects
Usage: cargo stylus
Commands:
new Create a new Stylus project
init Initializes a Stylus project in the current directory
export-abi Export a Solidity AB...
... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: using `is_empty` is clearer and more explicit:
`stripped_decimals.is_empty()`
= note: `#[warn(clippy::len_zero)]` on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
warning: t...