Skip to content

Commit

Permalink
Merge pull request #79 from multiversx/typos
Browse files Browse the repository at this point in the history
Typo fixes
  • Loading branch information
andrei-marinica authored May 13, 2024
2 parents 93314eb + 5de2150 commit b48f241
Show file tree
Hide file tree
Showing 17 changed files with 50 additions and 50 deletions.
10 changes: 5 additions & 5 deletions auction-mock/output/auction-mock.abi.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"buildInfo": {
"rustc": {
"version": "1.80.0-nightly",
"commitHash": "87293c9585a7fb2cc83ca9949ae79661d5d3c31a",
"commitDate": "2024-05-08",
"channel": "Nightly",
"short": "rustc 1.80.0-nightly (87293c958 2024-05-08)"
"version": "1.78.0",
"commitHash": "9b00956e56009bab2aa15d7bff10916599e3d6d6",
"commitDate": "2024-04-29",
"channel": "Stable",
"short": "rustc 1.78.0 (9b00956e5 2024-04-29)"
},
"contractCrate": {
"name": "auction-mock",
Expand Down
8 changes: 4 additions & 4 deletions interact/src/latest_proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ where
.original_result()
}

/// Retrieves the number of delegtors, including the owner,
/// Retrieves the number of delegators, including the owner,
/// even if they no longer have anything in the contract.
pub fn get_num_users(
self,
Expand Down Expand Up @@ -834,7 +834,7 @@ where
}

/// The stake per node can be changed by the owner.
/// It does not get set in the contructor, so the owner has to manually set it after the contract is deployed.
/// It does not get set in the constructor, so the owner has to manually set it after the contract is deployed.
pub fn set_service_fee_endpoint<
Arg0: ProxyArg<usize>,
>(
Expand Down Expand Up @@ -961,7 +961,7 @@ where
.original_result()
}

/// Unstakes all fund buckets in the waiting list that are below a certin threshold.
/// Unstakes all fund buckets in the waiting list that are below a certain threshold.
/// Will stop if running low on gas.
/// Does not block the rest of the contract. If any operation interferes with an interrupted
/// dust cleanup, the operation can be begun again.
Expand All @@ -979,7 +979,7 @@ where
.original_result()
}

/// Unstakes and unbonds all active fund buckets that are below a certin threshold.
/// Unstakes and unbonds all active fund buckets that are below a certain threshold.
/// Unlike the regular unstake/unbond process, it will send the funds directly in `WithdrawOnly` state.
/// Will stop if running low on gas.
/// Does not block the rest of the contract. If any operation interferes with an interrupted
Expand Down
18 changes: 9 additions & 9 deletions latest/output/delegation_latest_full.abi.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"buildInfo": {
"rustc": {
"version": "1.80.0-nightly",
"commitHash": "87293c9585a7fb2cc83ca9949ae79661d5d3c31a",
"commitDate": "2024-05-08",
"channel": "Nightly",
"short": "rustc 1.80.0-nightly (87293c958 2024-05-08)"
"version": "1.78.0",
"commitHash": "9b00956e56009bab2aa15d7bff10916599e3d6d6",
"commitDate": "2024-04-29",
"channel": "Stable",
"short": "rustc 1.78.0 (9b00956e5 2024-04-29)"
},
"contractCrate": {
"name": "delegation_latest",
Expand Down Expand Up @@ -216,7 +216,7 @@
},
{
"docs": [
"Retrieves the number of delegtors, including the owner,",
"Retrieves the number of delegators, including the owner,",
"even if they no longer have anything in the contract."
],
"name": "getNumUsers",
Expand Down Expand Up @@ -926,7 +926,7 @@
{
"docs": [
"The stake per node can be changed by the owner.",
"It does not get set in the contructor, so the owner has to manually set it after the contract is deployed."
"It does not get set in the constructor, so the owner has to manually set it after the contract is deployed."
],
"name": "setServiceFee",
"mutability": "mutable",
Expand Down Expand Up @@ -1075,7 +1075,7 @@
},
{
"docs": [
"Unstakes all fund buckets in the waiting list that are below a certin threshold.",
"Unstakes all fund buckets in the waiting list that are below a certain threshold.",
"Will stop if running low on gas.",
"Does not block the rest of the contract. If any operation interferes with an interrupted",
"dust cleanup, the operation can be begun again.",
Expand All @@ -1094,7 +1094,7 @@
},
{
"docs": [
"Unstakes and unbonds all active fund buckets that are below a certin threshold.",
"Unstakes and unbonds all active fund buckets that are below a certain threshold.",
"Unlike the regular unstake/unbond process, it will send the funds directly in `WithdrawOnly` state.",
"Will stop if running low on gas.",
"Does not block the rest of the contract. If any operation interferes with an interrupted",
Expand Down
8 changes: 4 additions & 4 deletions latest/output/delegation_latest_full.mxsc.json
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
},
{
"docs": [
"Retrieves the number of delegtors, including the owner,",
"Retrieves the number of delegators, including the owner,",
"even if they no longer have anything in the contract."
],
"name": "getNumUsers",
Expand Down Expand Up @@ -927,7 +927,7 @@
{
"docs": [
"The stake per node can be changed by the owner.",
"It does not get set in the contructor, so the owner has to manually set it after the contract is deployed."
"It does not get set in the constructor, so the owner has to manually set it after the contract is deployed."
],
"name": "setServiceFee",
"mutability": "mutable",
Expand Down Expand Up @@ -1076,7 +1076,7 @@
},
{
"docs": [
"Unstakes all fund buckets in the waiting list that are below a certin threshold.",
"Unstakes all fund buckets in the waiting list that are below a certain threshold.",
"Will stop if running low on gas.",
"Does not block the rest of the contract. If any operation interferes with an interrupted",
"dust cleanup, the operation can be begun again.",
Expand All @@ -1095,7 +1095,7 @@
},
{
"docs": [
"Unstakes and unbonds all active fund buckets that are below a certin threshold.",
"Unstakes and unbonds all active fund buckets that are below a certain threshold.",
"Unlike the regular unstake/unbond process, it will send the funds directly in `WithdrawOnly` state.",
"Will stop if running low on gas.",
"Does not block the rest of the contract. If any operation interferes with an interrupted",
Expand Down
18 changes: 9 additions & 9 deletions latest/output/delegation_latest_update.abi.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"buildInfo": {
"rustc": {
"version": "1.80.0-nightly",
"commitHash": "87293c9585a7fb2cc83ca9949ae79661d5d3c31a",
"commitDate": "2024-05-08",
"channel": "Nightly",
"short": "rustc 1.80.0-nightly (87293c958 2024-05-08)"
"version": "1.78.0",
"commitHash": "9b00956e56009bab2aa15d7bff10916599e3d6d6",
"commitDate": "2024-04-29",
"channel": "Stable",
"short": "rustc 1.78.0 (9b00956e5 2024-04-29)"
},
"contractCrate": {
"name": "delegation_latest",
Expand Down Expand Up @@ -188,7 +188,7 @@
},
{
"docs": [
"Retrieves the number of delegtors, including the owner,",
"Retrieves the number of delegators, including the owner,",
"even if they no longer have anything in the contract."
],
"name": "getNumUsers",
Expand Down Expand Up @@ -898,7 +898,7 @@
{
"docs": [
"The stake per node can be changed by the owner.",
"It does not get set in the contructor, so the owner has to manually set it after the contract is deployed."
"It does not get set in the constructor, so the owner has to manually set it after the contract is deployed."
],
"name": "setServiceFee",
"mutability": "mutable",
Expand Down Expand Up @@ -1047,7 +1047,7 @@
},
{
"docs": [
"Unstakes all fund buckets in the waiting list that are below a certin threshold.",
"Unstakes all fund buckets in the waiting list that are below a certain threshold.",
"Will stop if running low on gas.",
"Does not block the rest of the contract. If any operation interferes with an interrupted",
"dust cleanup, the operation can be begun again.",
Expand All @@ -1066,7 +1066,7 @@
},
{
"docs": [
"Unstakes and unbonds all active fund buckets that are below a certin threshold.",
"Unstakes and unbonds all active fund buckets that are below a certain threshold.",
"Unlike the regular unstake/unbond process, it will send the funds directly in `WithdrawOnly` state.",
"Will stop if running low on gas.",
"Does not block the rest of the contract. If any operation interferes with an interrupted",
Expand Down
8 changes: 4 additions & 4 deletions latest/output/delegation_latest_update.mxsc.json
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
},
{
"docs": [
"Retrieves the number of delegtors, including the owner,",
"Retrieves the number of delegators, including the owner,",
"even if they no longer have anything in the contract."
],
"name": "getNumUsers",
Expand Down Expand Up @@ -899,7 +899,7 @@
{
"docs": [
"The stake per node can be changed by the owner.",
"It does not get set in the contructor, so the owner has to manually set it after the contract is deployed."
"It does not get set in the constructor, so the owner has to manually set it after the contract is deployed."
],
"name": "setServiceFee",
"mutability": "mutable",
Expand Down Expand Up @@ -1048,7 +1048,7 @@
},
{
"docs": [
"Unstakes all fund buckets in the waiting list that are below a certin threshold.",
"Unstakes all fund buckets in the waiting list that are below a certain threshold.",
"Will stop if running low on gas.",
"Does not block the rest of the contract. If any operation interferes with an interrupted",
"dust cleanup, the operation can be begun again.",
Expand All @@ -1067,7 +1067,7 @@
},
{
"docs": [
"Unstakes and unbonds all active fund buckets that are below a certin threshold.",
"Unstakes and unbonds all active fund buckets that are below a certain threshold.",
"Unlike the regular unstake/unbond process, it will send the funds directly in `WithdrawOnly` state.",
"Will stop if running low on gas.",
"Does not block the rest of the contract. If any operation interferes with an interrupted",
Expand Down
8 changes: 4 additions & 4 deletions latest/output/proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ where
.original_result()
}

/// Retrieves the number of delegtors, including the owner,
/// Retrieves the number of delegators, including the owner,
/// even if they no longer have anything in the contract.
pub fn get_num_users(
self,
Expand Down Expand Up @@ -834,7 +834,7 @@ where
}

/// The stake per node can be changed by the owner.
/// It does not get set in the contructor, so the owner has to manually set it after the contract is deployed.
/// It does not get set in the constructor, so the owner has to manually set it after the contract is deployed.
pub fn set_service_fee_endpoint<
Arg0: ProxyArg<usize>,
>(
Expand Down Expand Up @@ -961,7 +961,7 @@ where
.original_result()
}

/// Unstakes all fund buckets in the waiting list that are below a certin threshold.
/// Unstakes all fund buckets in the waiting list that are below a certain threshold.
/// Will stop if running low on gas.
/// Does not block the rest of the contract. If any operation interferes with an interrupted
/// dust cleanup, the operation can be begun again.
Expand All @@ -979,7 +979,7 @@ where
.original_result()
}

/// Unstakes and unbonds all active fund buckets that are below a certin threshold.
/// Unstakes and unbonds all active fund buckets that are below a certain threshold.
/// Unlike the regular unstake/unbond process, it will send the funds directly in `WithdrawOnly` state.
/// Will stop if running low on gas.
/// Does not block the rest of the contract. If any operation interferes with an interrupted
Expand Down
2 changes: 1 addition & 1 deletion latest/scenarios/claim_rewards_owner_with_stake.scen.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
{
"step": "scCall",
"id": "user-unstake",
"comment": "unStake 1,000,000,000 from delegator_1 so that the first delegator has 33,(3)% stake, and the secon one 66,(6)%",
"comment": "unStake 1,000,000,000 from delegator_1 so that the first delegator has 33,(3)% stake, and the second one 66,(6)%",
"tx": {
"from": "address:delegator1",
"to": "sc:delegation",
Expand Down
2 changes: 1 addition & 1 deletion latest/src/reset_checkpoint_endpoints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ pub trait ResetCheckpointsModule:
}

/// The stake per node can be changed by the owner.
/// It does not get set in the contructor, so the owner has to manually set it after the contract is deployed.
/// It does not get set in the constructor, so the owner has to manually set it after the contract is deployed.
#[endpoint(setServiceFee)]
fn set_service_fee_endpoint(&self, service_fee_per_10000: usize) -> OperationCompletionStatus {
require!(
Expand Down
4 changes: 2 additions & 2 deletions latest/src/user_stake_dust_cleanup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pub trait UserStakeDustCleanupModule:
})
}

/// Unstakes all fund buckets in the waiting list that are below a certin threshold.
/// Unstakes all fund buckets in the waiting list that are below a certain threshold.
/// Will stop if running low on gas.
/// Does not block the rest of the contract. If any operation interferes with an interrupted
/// dust cleanup, the operation can be begun again.
Expand All @@ -66,7 +66,7 @@ pub trait UserStakeDustCleanupModule:
});
}

/// Unstakes and unbonds all active fund buckets that are below a certin threshold.
/// Unstakes and unbonds all active fund buckets that are below a certain threshold.
/// Unlike the regular unstake/unbond process, it will send the funds directly in `WithdrawOnly` state.
/// Will stop if running low on gas.
/// Does not block the rest of the contract. If any operation interferes with an interrupted
Expand Down
2 changes: 1 addition & 1 deletion user-fund-storage/src/user_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub trait UserDataModule {
#[storage_set("user_address")]
fn set_user_address(&self, user_id: usize, address: &ManagedAddress);

/// Retrieves the number of delegtors, including the owner,
/// Retrieves the number of delegators, including the owner,
/// even if they no longer have anything in the contract.
#[view(getNumUsers)]
#[storage_get("num_users")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
{
"step": "scCall",
"comment": "unStake 1,000,000,000 from delegator_1 so that the first delegator has 33,(3)% stake, and the secon one 66,(6)%",
"comment": "unStake 1,000,000,000 from delegator_1 so that the first delegator has 33,(3)% stake, and the second one 66,(6)%",
"txId": "user-unstake",
"tx": {
"from": "address:delegator1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
{
"step": "scCall",
"comment": "unStake 1,000,000,000 from delegator_1 so that the first delegator has 33,(3)% stake, and the secon one 66,(6)%",
"comment": "unStake 1,000,000,000 from delegator_1 so that the first delegator has 33,(3)% stake, and the second one 66,(6)%",
"txId": "user-unstake",
"tx": {
"from": "address:delegator1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
{
"step": "scCall",
"comment": "unStake 1,000,000,000 from delegator_1 so that the first delegator has 33,(3)% stake, and the secon one 66,(6)%",
"comment": "unStake 1,000,000,000 from delegator_1 so that the first delegator has 33,(3)% stake, and the second one 66,(6)%",
"txId": "user-unstake",
"tx": {
"from": "address:delegator1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
{
"step": "scCall",
"comment": "unStake 1,000,000,000 from delegator_1 so that the first delegator has 33,(3)% stake, and the secon one 66,(6)%",
"comment": "unStake 1,000,000,000 from delegator_1 so that the first delegator has 33,(3)% stake, and the second one 66,(6)%",
"txId": "user-unstake",
"tx": {
"from": "address:delegator1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
{
"step": "scCall",
"comment": "unStake 1,000,000,000 from delegator_1 so that the first delegator has 33,(3)% stake, and the secon one 66,(6)%",
"comment": "unStake 1,000,000,000 from delegator_1 so that the first delegator has 33,(3)% stake, and the second one 66,(6)%",
"txId": "user-unstake",
"tx": {
"from": "address:delegator1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
{
"step": "scCall",
"comment": "unStake 1,000,000,000 from delegator_1 so that the first delegator has 33,(3)% stake, and the secon one 66,(6)%",
"comment": "unStake 1,000,000,000 from delegator_1 so that the first delegator has 33,(3)% stake, and the second one 66,(6)%",
"txId": "user-unstake",
"tx": {
"from": "address:delegator1",
Expand Down

0 comments on commit b48f241

Please sign in to comment.