Skip to content

Commit

Permalink
chore: fix typos and link broken
Browse files Browse the repository at this point in the history
Signed-off-by: snoppy <[email protected]>
  • Loading branch information
xiaoxianBoy committed May 22, 2024
1 parent 8fca94c commit 6470c4e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
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

0 comments on commit 6470c4e

Please sign in to comment.