Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/v3.1 #845

Draft
wants to merge 91 commits into
base: rc/v3.0
Choose a base branch
from
Draft

Feat/v3.1 #845

wants to merge 91 commits into from

Conversation

psorinionut
Copy link
Contributor

@psorinionut psorinionut commented Feb 22, 2024

Not to be merged yet, we need to decide on which release we will cover these changes.

Copy link

github-actions bot commented Feb 22, 2024

Contract comparison - from 3fb4c2d to 44a4113

Path                                                                                             size                  has-allocator                     has-format
mx-exchange-sc
- pause-all/pause-all.wasm 5548 ➡️ 5545 🟢 No No
mx-exchange-sc/dex
- farm/farm.wasm 38815 ➡️ 39175 🔴 No No
- farm-with-locked-rewards/farm-with-locked-rewards.wasm 38495 ➡️ 40585 🔴 No No
- governance/governance.wasm 17355 ➡️ 17410 🔴 No No
- pair
- - pair.wasm 32131 ➡️ 32706 🔴 No No
- - pair-full.wasm 33534 ➡️ 34183 🔴 No No
- - safe-price-view.wasm 8457 ➡️ 8784 🔴 No No
- pair-mock/pair-mock.wasm 5470 ➡️ 5399 🟢 No No
- price-discovery/price-discovery.wasm 16381 ➡️ 16430 🔴 No No
- proxy-deployer/proxy-deployer.wasm 4502 ➡️ 4632 🔴 No No
- router/router.wasm 26881 ➡️ 27762 🔴 No No
mx-exchange-sc/energy-integration
- energy-factory-mock/energy-factory-mock.wasm 4277 No No
- energy-update/energy-update.wasm 1558 No No
- fees-collector/fees-collector.wasm 18953 ➡️ 18969 🔴 No No
- governance-v2/governance-v2.wasm 16680 ➡️ 16743 🔴 No No
mx-exchange-sc/farm-staking
- farm-staking/farm-staking.wasm 43472 ➡️ 45537 🔴 No No
- farm-staking-proxy/farm-staking-proxy.wasm 19393 ➡️ 19895 🔴 No No
- metabonding-staking/metabonding-staking.wasm 10176 ➡️ 10223 🔴 No No
mx-exchange-sc/locked-asset
- distribution/distribution.wasm 14292 ➡️ 14308 🔴 No No
- energy-factory/energy-factory.wasm 35046 ➡️ 35196 🔴 No No
- factory/factory.wasm 30471 ➡️ 30485 🔴 No No
- lkmex-transfer/lkmex-transfer.wasm 11288 ➡️ 11331 🔴 No No
- locked-token-wrapper/locked-token-wrapper.wasm 14538 ➡️ 14589 🔴 No No
- proxy_dex/proxy_dex.wasm 36989 ➡️ 37862 🔴 No No
- simple-lock/simple-lock.wasm 24678 ➡️ 25915 🔴 No No
- simple-lock-whitelist/simple-lock-whitelist.wasm 26803 ➡️ 28001 🔴 No No
- token-unstake/token-unstake.wasm 14288 ➡️ 14533 🔴 No No
- proxy-dex-xmex/proxy-dex-xmex.wasm N/A ➡️ 42037 ⚠️ N/A ➡️ No ⚠️ N/A ➡️ No ⚠️

@psorinionut psorinionut changed the base branch from main to rc/v3.0 April 9, 2024 08:51
@psorinionut psorinionut changed the title Feat/v3.1 Feat/v3.0 Apr 9, 2024
@psorinionut psorinionut changed the title Feat/v3.0 Feat/v3.1 Apr 9, 2024
@psorinionut psorinionut marked this pull request as ready for review April 10, 2024 07:14
Copy link

Coverage Summary

Totals

Count Covered %
Lines 42704 39552 92.62
Regions 9943 6455 64.92
Functions 3215 2530 78.69
Instantiations 32185 8511 26.44

Files

Expand
File Lines Regions Functions Instantiations
/common/common_structs/src/farm_types.rs 80.70% 34.04% 56.25% 43.95%
/common/common_structs/src/locked_token_types.rs 74.85% 49.76% 56.25% 17.61%
/common/common_structs/src/wrapper_types.rs 58.62% 23.75% 40.00% 12.63%
/common/modules/farm/config/src/config.rs 48.00% 45.83% 41.18% 32.61%
/common/modules/farm/contexts/src/claim_rewards_context.rs 93.55% 77.78% 100.00% 63.16%
/common/modules/farm/contexts/src/enter_farm_context.rs 91.67% 81.82% 100.00% 72.22%
/common/modules/farm/contexts/src/exit_farm_context.rs 95.24% 66.67% 100.00% 68.42%
/common/modules/farm/contexts/src/storage_cache.rs 100.00% 100.00% 100.00% 73.68%
/common/modules/farm/events/src/events.rs 97.01% 25.42% 69.23% 41.33%
/common/modules/farm/farm_base_impl/src/base_farm_init.rs 82.14% 71.43% 100.00% 23.75%
/common/modules/farm/farm_base_impl/src/base_farm_validation.rs 83.33% 62.50% 100.00% 18.75%
/common/modules/farm/farm_base_impl/src/base_traits_impl.rs 84.76% 82.00% 82.35% 61.82%
/common/modules/farm/farm_base_impl/src/claim_rewards.rs 100.00% 93.33% 100.00% 22.92%
/common/modules/farm/farm_base_impl/src/compound_rewards.rs 98.41% 87.50% 100.00% 5.48%
/common/modules/farm/farm_base_impl/src/enter_farm.rs 100.00% 93.33% 100.00% 29.29%
/common/modules/farm/farm_base_impl/src/exit_farm.rs 100.00% 92.86% 100.00% 17.50%
/common/modules/farm/farm_base_impl/src/lib.rs 0.00% 0.00% 0.00% 0.00%
/common/modules/farm/farm_token/src/farm_token.rs 2.00% 22.73% 10.00% 16.93%
/common/modules/farm/rewards/src/rewards.rs 20.00% 63.64% 66.67% 24.58%
/common/modules/legacy_token_decode_module/src/lib.rs 100.00% 85.71% 100.00% 8.77%
/common/modules/locking_module/src/lock_with_energy_module.rs 100.00% 70.00% 100.00% 22.89%
/common/modules/locking_module/src/locking_module.rs 80.00% 54.55% 71.43% 16.28%
/common/modules/math/src/lib.rs 79.55% 80.00% 75.00% 32.56%
/common/modules/pausable/src/pausable.rs 68.00% 52.00% 63.64% 21.78%
/common/modules/permissions_module/src/permissions.rs 53.85% 70.00% 60.00% 56.52%
/common/modules/permissions_module/src/permissions_module.rs 60.00% 66.67% 66.67% 22.05%
/common/modules/sc_whitelist_module/src/sc_whitelist_module.rs 70.00% 60.00% 66.67% 15.58%
/common/modules/token_merge_helper/src/lib.rs 15.79% 23.53% 33.33% 4.76%
/common/modules/token_send/src/token_send.rs 95.83% 88.24% 100.00% 30.32%
/common/modules/utils/src/lib.rs 96.55% 84.62% 91.67% 36.92%
/common/traits/fixed-supply-token/src/lib.rs 95.00% 85.71% 100.00% 54.76%
/common/traits/mergeable/src/lib.rs 55.88% 47.06% 57.14% 14.47%
/common/traits/unwrappable/src/lib.rs 75.00% 66.67% 50.00% 23.44%
/dex/farm-with-locked-rewards/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/dex/farm-with-locked-rewards/src/lib.rs 79.57% 35.62% 71.43% 26.24%
/dex/farm-with-locked-rewards/tests/farm_with_locked_rewards_setup/fees_collector_mock.rs 42.86% 33.33% 33.33% 33.33%
/dex/farm-with-locked-rewards/tests/farm_with_locked_rewards_setup/mod.rs 100.00% 100.00% 100.00% 100.00%
/dex/farm-with-locked-rewards/tests/farm_with_locked_rewards_setup/unbond_sc_mock.rs 93.33% 71.43% 75.00% 75.00%
/dex/farm-with-locked-rewards/tests/farm_with_locked_rewards_test.rs 100.00% 100.00% 100.00% 100.00%
/dex/farm/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/dex/farm/src/base_functions.rs 96.58% 60.71% 90.00% 38.81%
/dex/farm/src/exit_penalty.rs 50.00% 20.00% 40.00% 21.12%
/dex/farm/src/lib.rs 89.16% 40.00% 78.57% 18.83%
/dex/farm/tests/energy_update_test.rs 100.00% 100.00% 100.00% 100.00%
/dex/farm/tests/farm_multi_user_test.rs 100.00% 100.00% 100.00% 100.00%
/dex/farm/tests/farm_review_distribution.rs 100.00% 100.00% 100.00% 100.00%
/dex/farm/tests/farm_setup/farm_rewards_distr_setup.rs 96.96% 94.59% 94.12% 18.82%
/dex/farm/tests/farm_setup/multi_user_farm_setup.rs 90.21% 91.82% 92.31% 26.92%
/dex/farm/tests/farm_setup/single_user_farm_setup.rs 89.18% 87.23% 87.50% 17.50%
/dex/farm/tests/farm_single_user_test.rs 100.00% 100.00% 100.00% 100.00%
/dex/farm/tests/total_farm_position_test.rs 100.00% 100.00% 100.00% 100.00%
/dex/fuzz/src/fuzz_data.rs 99.29% 44.26% 77.78% 77.78%
/dex/fuzz/src/fuzz_factory.rs 69.23% 54.55% 75.00% 75.00%
/dex/fuzz/src/fuzz_farm.rs 94.69% 83.78% 100.00% 100.00%
/dex/fuzz/src/fuzz_pair.rs 89.61% 70.59% 100.00% 100.00%
/dex/fuzz/src/fuzz_price_discovery.rs 88.30% 83.33% 100.00% 100.00%
/dex/fuzz/src/fuzz_start.rs 99.59% 96.00% 100.00% 100.00%
/dex/governance/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/dex/governance/src/config.rs 46.97% 70.59% 56.25% 15.00%
/dex/governance/src/events.rs 100.00% 70.00% 100.00% 32.14%
/dex/governance/src/lib.rs 98.91% 65.62% 88.89% 13.11%
/dex/governance/src/proposal.rs 67.61% 20.95% 30.43% 9.64%
/dex/governance/src/validation.rs 85.71% 16.67% 50.00% 8.33%
/dex/governance/src/vote.rs 86.27% 34.00% 58.82% 28.57%
/dex/governance/src/weight.rs 78.12% 52.63% 100.00% 30.77%
/dex/governance/tests/gov_tests.rs 100.00% 100.00% 100.00% 100.00%
/dex/pair-mock/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/dex/pair-mock/src/pair.rs 46.59% 20.00% 75.00% 25.00%
/dex/pair/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/dex/pair/src/amm.rs 100.00% 92.86% 100.00% 28.36%
/dex/pair/src/config.rs 58.82% 71.43% 60.00% 29.09%
/dex/pair/src/contexts/add_liquidity.rs 100.00% 100.00% 100.00% 64.29%
/dex/pair/src/contexts/base.rs 97.14% 92.86% 77.78% 39.22%
/dex/pair/src/contexts/output_builder.rs 100.00% 95.00% 100.00% 34.57%
/dex/pair/src/contexts/remove_liquidity.rs 100.00% 100.00% 100.00% 57.14%
/dex/pair/src/contexts/swap.rs 100.00% 100.00% 100.00% 28.57%
/dex/pair/src/events.rs 76.47% 20.51% 53.85% 32.05%
/dex/pair/src/fee.rs 39.83% 40.18% 48.00% 6.04%
/dex/pair/src/lib.rs 65.96% 70.83% 50.00% 33.20%
/dex/pair/src/liquidity_pool.rs 93.75% 73.08% 100.00% 33.33%
/dex/pair/src/locking_wrapper.rs 94.87% 88.24% 88.89% 8.28%
/dex/pair/src/pair_actions/add_liq.rs 92.50% 77.50% 100.00% 32.18%
/dex/pair/src/pair_actions/common_methods.rs 100.00% 85.71% 100.00% 29.49%
/dex/pair/src/pair_actions/initial_liq.rs 91.23% 78.12% 100.00% 15.29%
/dex/pair/src/pair_actions/remove_liq.rs 92.66% 76.19% 100.00% 22.96%
/dex/pair/src/pair_actions/swap.rs 73.02% 52.87% 41.67% 10.10%
/dex/pair/src/pair_actions/views.rs 75.38% 55.56% 83.33% 5.12%
/dex/pair/src/read_pair_storage.rs 100.00% 90.00% 100.00% 14.18%
/dex/pair/src/safe_price.rs 91.30% 63.51% 66.67% 25.20%
/dex/pair/src/safe_price_view.rs 86.09% 69.00% 84.21% 6.59%
/dex/pair/tests/pair_rs_test.rs 99.80% 88.89% 93.75% 93.75%
/dex/pair/tests/pair_setup/mod.rs 100.00% 100.00% 100.00% 100.00%
/dex/price-discovery/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/dex/price-discovery/src/common_storage.rs 100.00% 25.00% 100.00% 13.04%
/dex/price-discovery/src/events.rs 96.25% 21.74% 70.00% 26.47%
/dex/price-discovery/src/lib.rs 98.53% 78.46% 91.67% 17.33%
/dex/price-discovery/src/phase.rs 93.85% 50.85% 72.73% 18.84%
/dex/price-discovery/src/redeem_token.rs 43.90% 50.00% 75.00% 15.91%
/dex/price-discovery/tests/price_disc_tests.rs 100.00% 100.00% 100.00% 100.00%
/dex/price-discovery/tests/tests_common.rs 100.00% 100.00% 100.00% 50.00%
/dex/proxy-deployer/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/dex/proxy-deployer/src/farm_deploy.rs 0.00% 0.00% 0.00% 0.00%
/dex/proxy-deployer/src/lib.rs 0.00% 0.00% 0.00% 0.00%
/dex/router/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/dex/router/src/config.rs 57.14% 62.50% 60.00% 20.00%
/dex/router/src/contract.rs 55.48% 56.04% 64.71% 11.53%
/dex/router/src/enable_swap_by_user.rs 93.75% 62.30% 87.50% 7.69%
/dex/router/src/events.rs 94.74% 24.14% 71.43% 15.19%
/dex/router/src/factory.rs 64.08% 27.50% 36.36% 10.83%
/dex/router/src/multi_pair_swap.rs 65.52% 54.55% 75.00% 5.88%
/dex/router/tests/router_setup/mod.rs 100.00% 100.00% 100.00% 100.00%
/dex/router/tests/router_test.rs 100.00% 100.00% 100.00% 100.00%
/dex/tests/dex_scenario_go_test.rs 100.00% 100.00% 100.00% 100.00%
/dex/tests/dex_scenario_rs_test.rs 100.00% 100.00% 100.00% 100.00%
/energy-integration/common-modules/energy-query/src/lib.rs 95.65% 85.00% 90.00% 33.48%
/energy-integration/common-modules/week-timekeeping/src/lib.rs 63.16% 50.00% 60.00% 31.37%
/energy-integration/common-modules/weekly-rewards-splitting/src/base_impl.rs 100.00% 93.75% 100.00% 37.25%
/energy-integration/common-modules/weekly-rewards-splitting/src/events.rs 100.00% 88.89% 100.00% 38.60%
/energy-integration/common-modules/weekly-rewards-splitting/src/global_info.rs 100.00% 96.97% 100.00% 38.37%
/energy-integration/common-modules/weekly-rewards-splitting/src/lib.rs 80.39% 68.42% 69.23% 16.53%
/energy-integration/common-modules/weekly-rewards-splitting/src/locked_token_buckets.rs 97.67% 86.27% 92.31% 38.73%
/energy-integration/common-modules/weekly-rewards-splitting/src/update_claim_progress_energy.rs 94.12% 91.67% 100.00% 23.17%
/energy-integration/common-types/src/lib.rs 0.00% 0.00% 0.00% 0.00%
/energy-integration/energy-factory-mock/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/energy-integration/energy-factory-mock/src/lib.rs 20.83% 33.33% 50.00% 14.55%
/energy-integration/energy-update/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/energy-integration/energy-update/src/lib.rs 20.00% 18.18% 50.00% 10.34%
/energy-integration/farm-boosted-yields/src/boosted_yields_factors.rs 87.80% 51.58% 65.38% 29.18%
/energy-integration/farm-boosted-yields/src/lib.rs 96.55% 89.74% 100.00% 26.62%
/energy-integration/fees-collector/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/energy-integration/fees-collector/src/additional_locked_tokens.rs 100.00% 50.00% 100.00% 12.00%
/energy-integration/fees-collector/src/config.rs 25.00% 36.67% 28.57% 10.69%
/energy-integration/fees-collector/src/events.rs 100.00% 80.00% 100.00% 18.18%
/energy-integration/fees-collector/src/fees_accumulation.rs 100.00% 73.68% 100.00% 15.07%
/energy-integration/fees-collector/src/lib.rs 94.51% 75.00% 77.78% 15.85%
/energy-integration/fees-collector/tests/fees_collector_rust_test.rs 100.00% 100.00% 100.00% 100.00%
/energy-integration/fees-collector/tests/fees_collector_test_setup/mod.rs 100.00% 100.00% 100.00% 100.00%
/energy-integration/governance-v2/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/energy-integration/governance-v2/src/configurable.rs 75.00% 62.96% 66.67% 15.38%
/energy-integration/governance-v2/src/events.rs 100.00% 25.00% 100.00% 29.17%
/energy-integration/governance-v2/src/lib.rs 97.55% 76.19% 92.31% 18.46%
/energy-integration/governance-v2/src/proposal.rs 61.54% 12.73% 37.50% 27.50%
/energy-integration/governance-v2/src/proposal_storage.rs 78.57% 20.41% 53.85% 18.00%
/energy-integration/governance-v2/src/views.rs 93.85% 71.88% 88.89% 21.43%
/energy-integration/governance-v2/tests/gov_rust_test.rs 98.17% 86.27% 100.00% 100.00%
/energy-integration/governance-v2/tests/gov_test_setup/mod.rs 99.27% 96.23% 96.67% 96.67%
/farm-staking/farm-staking-proxy/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/farm-staking/farm-staking-proxy/src/dual_yield_token.rs 66.67% 43.75% 63.64% 20.00%
/farm-staking/farm-staking-proxy/src/external_contracts_interactions.rs 96.77% 64.29% 100.00% 25.00%
/farm-staking/farm-staking-proxy/src/lib.rs 96.15% 11.11% 66.67% 6.90%
/farm-staking/farm-staking-proxy/src/lp_farm_token.rs 100.00% 40.00% 100.00% 11.11%
/farm-staking/farm-staking-proxy/src/proxy_actions/claim.rs 98.67% 14.29% 66.67% 11.11%
/farm-staking/farm-staking-proxy/src/proxy_actions/stake.rs 98.53% 33.33% 50.00% 6.25%
/farm-staking/farm-staking-proxy/src/proxy_actions/unstake.rs 97.73% 7.69% 50.00% 6.25%
/farm-staking/farm-staking-proxy/src/result_types.rs 59.38% 5.17% 18.75% 11.54%
/farm-staking/farm-staking-proxy/tests/staking_farm_with_lp.rs 100.00% 100.00% 100.00% 100.00%
/farm-staking/farm-staking-proxy/tests/staking_farm_with_lp_external_contracts/mod.rs 100.00% 100.00% 100.00% 100.00%
/farm-staking/farm-staking-proxy/tests/staking_farm_with_lp_staking_contract_interactions/mod.rs 100.00% 100.00% 100.00% 100.00%
/farm-staking/farm-staking-proxy/tests/staking_farm_with_lp_staking_contract_setup/mod.rs 100.00% 100.00% 100.00% 100.00%
/farm-staking/farm-staking/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/farm-staking/farm-staking/src/base_impl_wrapper.rs 94.17% 85.11% 92.31% 69.39%
/farm-staking/farm-staking/src/claim_only_boosted_staking_rewards.rs 76.92% 85.45% 85.71% 26.09%
/farm-staking/farm-staking/src/claim_stake_farm_rewards.rs 100.00% 94.59% 100.00% 21.95%
/farm-staking/farm-staking/src/compound_stake_farm_rewards.rs 100.00% 96.55% 100.00% 7.69%
/farm-staking/farm-staking/src/custom_rewards.rs 53.52% 75.00% 50.00% 15.49%
/farm-staking/farm-staking/src/farm_token_roles.rs 25.00% 75.00% 50.00% 3.85%
/farm-staking/farm-staking/src/lib.rs 45.98% 61.22% 42.86% 15.29%
/farm-staking/farm-staking/src/stake_farm.rs 100.00% 96.77% 100.00% 24.39%
/farm-staking/farm-staking/src/token_attributes.rs 71.43% 50.00% 55.56% 45.36%
/farm-staking/farm-staking/src/unbond_farm.rs 80.30% 13.73% 28.57% 6.98%
/farm-staking/farm-staking/src/unbond_token.rs 5.26% 7.69% 33.33% 6.52%
/farm-staking/farm-staking/src/unstake_farm.rs 100.00% 20.59% 100.00% 28.89%
/farm-staking/farm-staking/tests/farm_staking_energy_test.rs 100.00% 100.00% 100.00% 100.00%
/farm-staking/farm-staking/tests/farm_staking_setup/mod.rs 100.00% 100.00% 100.00% 67.19%
/farm-staking/farm-staking/tests/farm_staking_test.rs 100.00% 100.00% 100.00% 100.00%
/farm-staking/metabonding-staking/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/farm-staking/metabonding-staking/src/events.rs 100.00% 25.00% 100.00% 18.75%
/farm-staking/metabonding-staking/src/lib.rs 77.32% 48.72% 63.64% 10.14%
/farm-staking/metabonding-staking/src/locked_asset_token.rs 96.72% 56.82% 84.62% 26.56%
/farm-staking/metabonding-staking/tests/metabonding_staking_setup/mod.rs 100.00% 100.00% 100.00% 100.00%
/farm-staking/metabonding-staking/tests/metabonding_staking_test.rs 100.00% 100.00% 100.00% 100.00%
/locked-asset/distribution/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/locked-asset/distribution/src/global_op.rs 0.00% 0.00% 0.00% 0.00%
/locked-asset/distribution/src/lib.rs 0.00% 0.00% 0.00% 0.00%
/locked-asset/energy-factory/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/locked-asset/energy-factory/src/energy.rs 95.65% 72.97% 90.00% 49.36%
/locked-asset/energy-factory/src/events.rs 88.24% 35.29% 60.00% 44.03%
/locked-asset/energy-factory/src/extend_lock.rs 100.00% 96.30% 100.00% 29.76%
/locked-asset/energy-factory/src/lib.rs 99.21% 88.64% 87.50% 29.27%
/locked-asset/energy-factory/src/local_roles.rs 10.00% 42.86% 33.33% 5.77%
/locked-asset/energy-factory/src/lock_options.rs 84.62% 53.49% 66.67% 47.90%
/locked-asset/energy-factory/src/lock_options_endpoints.rs 92.00% 87.50% 87.50% 35.00%
/locked-asset/energy-factory/src/locked_token_transfer.rs 73.68% 41.18% 75.00% 15.86%
/locked-asset/energy-factory/src/migration.rs 94.70% 91.23% 100.00% 14.84%
/locked-asset/energy-factory/src/penalty.rs 100.00% 93.75% 100.00% 17.05%
/locked-asset/energy-factory/src/token_merging.rs 93.33% 64.44% 58.33% 20.27%
/locked-asset/energy-factory/src/token_whitelist.rs 100.00% 80.00% 100.00% 32.39%
/locked-asset/energy-factory/src/unlock_with_penalty.rs 99.16% 90.24% 100.00% 11.74%
/locked-asset/energy-factory/src/unstake.rs 100.00% 95.65% 100.00% 15.17%
/locked-asset/energy-factory/src/virtual_lock.rs 100.00% 95.83% 100.00% 21.83%
/locked-asset/energy-factory/tests/energy_factory_setup/mod.rs 100.00% 100.00% 100.00% 47.22%
/locked-asset/energy-factory/tests/energy_factory_setup/unbond_sc_mock.rs 96.67% 85.71% 75.00% 37.50%
/locked-asset/energy-factory/tests/old_tokens_test.rs 100.00% 100.00% 100.00% 100.00%
/locked-asset/energy-factory/tests/simple_lock_energy_test.rs 100.00% 100.00% 100.00% 100.00%
/locked-asset/energy-factory/tests/token_merging_test.rs 100.00% 100.00% 100.00% 100.00%
/locked-asset/energy-factory/tests/virtual_lock_test.rs 100.00% 100.00% 100.00% 100.00%
/locked-asset/factory/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/locked-asset/factory/src/attr_ex_helper.rs 40.74% 41.67% 66.67% 17.07%
/locked-asset/factory/src/cache.rs 66.67% 72.73% 60.00% 14.29%
/locked-asset/factory/src/events.rs 95.65% 17.50% 71.43% 11.32%
/locked-asset/factory/src/lib.rs 72.38% 58.21% 58.82% 15.72%
/locked-asset/factory/src/locked_asset.rs 63.96% 62.07% 70.00% 26.79%
/locked-asset/factory/src/locked_asset_token_merge.rs 98.41% 84.00% 100.00% 21.05%
/locked-asset/factory/src/migration.rs 38.71% 11.11% 40.00% 4.29%
/locked-asset/factory/tests/factory_setup/mod.rs 100.00% 100.00% 100.00% 100.00%
/locked-asset/factory/tests/lock_test.rs 100.00% 100.00% 100.00% 100.00%
/locked-asset/factory/tests/unlock_test.rs 100.00% 100.00% 100.00% 100.00%
/locked-asset/lkmex-transfer/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/locked-asset/lkmex-transfer/src/energy_transfer.rs 97.73% 66.67% 75.00% 18.75%
/locked-asset/lkmex-transfer/src/events.rs 96.30% 40.00% 83.33% 16.67%
/locked-asset/lkmex-transfer/src/lib.rs 80.67% 32.93% 50.00% 10.84%
/locked-asset/lkmex-transfer/tests/lkmex_transfer_tests.rs 100.00% 100.00% 100.00% 100.00%
/locked-asset/locked-token-wrapper/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/locked-asset/locked-token-wrapper/src/lib.rs 97.37% 29.41% 80.00% 5.80%
/locked-asset/locked-token-wrapper/src/wrapped_token.rs 49.23% 35.48% 58.33% 10.98%
/locked-asset/locked-token-wrapper/tests/locked_token_wrapping_test.rs 100.00% 100.00% 100.00% 100.00%
/locked-asset/proxy-dex-xmex/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/locked-asset/proxy-dex-xmex/src/create_pair_foundation.rs 95.87% 43.24% 75.00% 12.50%
/locked-asset/proxy-dex-xmex/src/create_pair_user.rs 92.45% 36.00% 70.00% 6.14%
/locked-asset/proxy-dex-xmex/src/lib.rs 23.53% 5.00% 28.57% 4.88%
/locked-asset/proxy-dex-xmex/src/proxy_interactions/proxy_farm.rs 95.65% 56.86% 88.89% 8.08%
/locked-asset/proxy-dex-xmex/src/proxy_interactions/proxy_pair.rs 88.85% 29.17% 45.00% 13.60%
/locked-asset/proxy-dex-xmex/tests/create_pair_test.rs 100.00% 100.00% 100.00% 100.00%
/locked-asset/proxy-dex-xmex/tests/proxy_dex_test_setup/mod.rs 99.17% 95.00% 91.30% 88.41%
/locked-asset/proxy-dex-xmex/tests/proxy_farm_test.rs 100.00% 100.00% 100.00% 100.00%
/locked-asset/proxy-dex-xmex/tests/proxy_lp_test.rs 100.00% 100.00% 100.00% 100.00%
/locked-asset/proxy_dex/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/locked-asset/proxy_dex/src/energy_update.rs 72.73% 29.17% 80.00% 33.33%
/locked-asset/proxy_dex/src/events.rs 79.31% 24.62% 57.89% 27.44%
/locked-asset/proxy_dex/src/lib.rs 20.97% 5.13% 28.57% 3.77%
/locked-asset/proxy_dex/src/merge_tokens/external_merging.rs 100.00% 100.00% 100.00% 47.62%
/locked-asset/proxy_dex/src/merge_tokens/wrapped_farm_token_merge.rs 69.09% 18.75% 50.00% 6.56%
/locked-asset/proxy_dex/src/merge_tokens/wrapped_lp_token_merge.rs 64.58% 21.43% 50.00% 6.56%
/locked-asset/proxy_dex/src/other_sc_whitelist.rs 44.00% 30.00% 42.86% 11.26%
/locked-asset/proxy_dex/src/proxy_interactions/farm_interactions.rs 100.00% 57.14% 100.00% 14.04%
/locked-asset/proxy_dex/src/proxy_interactions/pair_interactions.rs 100.00% 57.14% 100.00% 25.45%
/locked-asset/proxy_dex/src/proxy_interactions/proxy_common.rs 58.75% 54.05% 80.00% 25.81%
/locked-asset/proxy_dex/src/proxy_interactions/proxy_farm.rs 95.20% 39.47% 60.00% 8.18%
/locked-asset/proxy_dex/src/proxy_interactions/proxy_pair.rs 89.08% 52.63% 85.71% 14.71%
/locked-asset/proxy_dex/src/wrapped_farm_attributes.rs 87.72% 65.96% 75.00% 28.92%
/locked-asset/proxy_dex/src/wrapped_lp_attributes.rs 94.79% 56.52% 68.75% 38.17%
/locked-asset/proxy_dex/tests/proxy_dex_test_setup/mod.rs 99.05% 94.29% 90.00% 87.50%
/locked-asset/proxy_dex/tests/proxy_farm_test.rs 100.00% 100.00% 100.00% 100.00%
/locked-asset/proxy_dex/tests/proxy_lp_test.rs 100.00% 100.00% 100.00% 100.00%
/locked-asset/simple-lock-whitelist/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/locked-asset/simple-lock-whitelist/src/lib.rs 53.12% 23.91% 54.55% 9.88%
/locked-asset/simple-lock-whitelist/tests/whitelist_test.rs 100.00% 100.00% 100.00% 100.00%
/locked-asset/simple-lock/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/locked-asset/simple-lock/src/basic_lock_unlock.rs 100.00% 85.00% 100.00% 28.16%
/locked-asset/simple-lock/src/farm_interactions.rs 100.00% 75.00% 100.00% 8.21%
/locked-asset/simple-lock/src/increase_lock_time.rs 95.83% 25.00% 50.00% 1.75%
/locked-asset/simple-lock/src/lib.rs 90.91% 25.00% 80.00% 21.11%
/locked-asset/simple-lock/src/locked_token.rs 74.32% 60.00% 55.56% 32.67%
/locked-asset/simple-lock/src/lp_interactions.rs 96.30% 61.54% 100.00% 7.76%
/locked-asset/simple-lock/src/merge_tokens.rs 96.67% 42.86% 50.00% 1.75%
/locked-asset/simple-lock/src/proxy_farm.rs 83.33% 37.37% 54.17% 5.33%
/locked-asset/simple-lock/src/proxy_lp.rs 80.43% 37.97% 72.22% 7.32%
/locked-asset/simple-lock/src/token_attributes.rs 96.43% 77.78% 66.67% 28.42%
/locked-asset/simple-lock/tests/rust_test.rs 100.00% 100.00% 100.00% 100.00%
/locked-asset/tests/distribution_scenario_go_test.rs 0.00% 0.00% 0.00% 0.00%
/locked-asset/token-unstake/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/locked-asset/token-unstake/src/cancel_unstake.rs 85.42% 43.75% 50.00% 4.76%
/locked-asset/token-unstake/src/events.rs 100.00% 40.00% 100.00% 21.05%
/locked-asset/token-unstake/src/fees_handler.rs 98.46% 65.00% 100.00% 41.67%
/locked-asset/token-unstake/src/lib.rs 92.31% 40.00% 66.67% 21.05%
/locked-asset/token-unstake/src/tokens_per_user.rs 60.00% 33.33% 60.00% 50.62%
/locked-asset/token-unstake/src/unbond_tokens.rs 100.00% 75.00% 100.00% 25.00%
/locked-asset/token-unstake/tests/token_unstake_setup/fees_collector_mock.rs 85.71% 66.67% 66.67% 66.67%
/locked-asset/token-unstake/tests/token_unstake_setup/mod.rs 93.33% 88.89% 86.36% 63.64%
/locked-asset/token-unstake/tests/token_unstake_test.rs 100.00% 100.00% 100.00% 100.00%
/locked-asset/token-unstake/tests/unlock_early_test.rs 100.00% 100.00% 100.00% 100.00%
/pause-all/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/pause-all/src/lib.rs 70.00% 50.00% 71.43% 18.28%
/pause-all/src/ongoing_pause_operation.rs 56.25% 18.52% 50.00% 15.00%
/pause-all/tests/pause_all_test.rs 100.00% 100.00% 100.00% 100.00%

dorin-iancu
dorin-iancu previously approved these changes Apr 10, 2024
CostinCarabas
CostinCarabas previously approved these changes Apr 10, 2024
@psorinionut psorinionut marked this pull request as draft April 10, 2024 12:25
@psorinionut psorinionut dismissed stale reviews from CostinCarabas and dorin-iancu via bae1441 May 20, 2024 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants