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

chore: fix typos and link broken #712

Open
wants to merge 1 commit into
base: develop-2022
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Aggregation and unification are eternal themes in the crypto world. Aggregation
* [ComingChat](https://coming.chat/):Integrated web3 portal for encrypted social, digital identity, NFT, digital wallet, smart contract platform portal and other functions. Committed to being a secure and trusted web3 portal. Combining decentralized encryption algorithms and blockchain knowledge to solve trusted information transmission and asset management problems.
* [SherpaX](https://sherpax.io/): ChainX's EVM & WASM Smart Contract Parachain.
* [MiniX](https://github.com/MinixChain/MinixChain): ChainX's digital identity, NFT, reputation system parachain.
* [SoSwap](https://www.soswap.finance/): Omni-chain DEX, a distributed financial platform dedicated to allowing multiple chains to share liquidity.
* [SoSwap](https://soswap.rai.finance/): Omni-chain DEX, a distributed financial platform dedicated to allowing multiple chains to share liquidity.
* [ComFuture](https://comfuture.coming.chat/): Digital identity, NFT creation auction trading platform.
* USB: The decentralized expansion of BTC that allows BTC and any EVM ecological chain to be integrated with each other.

Expand Down
4 changes: 2 additions & 2 deletions xpallets/mining/asset/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ impl<'a, T: Config> AssetLedgerWrapper<'a, T> {
/// Mining weight properties of asset miners.
///
/// Aside from the mining weight information, this struct also contains
/// the `last_claim` field, for it's not neccessary to use another
/// storeage item due to the claim restrictions of asset miners.
/// the `last_claim` field, for it's not necessary to use another
/// storage item due to the claim restrictions of asset miners.
#[derive(PartialEq, Eq, Clone, Default, Encode, Decode, RuntimeDebug, TypeInfo)]
#[cfg_attr(feature = "std", derive(Serialize, Deserialize))]
#[cfg_attr(feature = "std", serde(rename_all = "camelCase"))]
Expand Down
2 changes: 1 addition & 1 deletion xpallets/mining/staking/src/reward/proposal09.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ impl<T: Config> Pallet<T> {
}

/// Issue new PCX to the action intentions and cross mining asset entities
/// accroding to DistributionRatio.
/// according to DistributionRatio.
fn distribute_mining_rewards(
total: BalanceOf<T>,
treasury_account: &T::AccountId,
Expand Down
2 changes: 1 addition & 1 deletion xpallets/mining/staking/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ impl MiningDistribution {
/// Return a tuple (m1, m2) for comparing whether asset_mining_power are reaching the upper limit.
///
/// If m1 >= m2, the asset mining cap has reached, all the reward calculated by the shares go to
/// the mining assets, but its unit mining power starts to decrease compared to the inital FixedPower.
/// the mining assets, but its unit mining power starts to decrease compared to the initial FixedPower.
fn asset_mining_vs_staking<T: Config>(&self) -> (u128, u128) {
let total_staking_power =
crate::Pallet::<T>::total_staked().saturated_into::<MiningPower>();
Expand Down
Loading