Skip to content

Commit 47d5716

Browse files
authored
Fix vale contractions (#349)
* Fix vale contractions * Remove extra whitespace * Fix missed items * Fix an error --------- Co-authored-by: Tanay Pant <tanaypantprotonmail.com>
1 parent 2047419 commit 47d5716

File tree

10 files changed

+19
-19
lines changed

10 files changed

+19
-19
lines changed

.github/styles/Microsoft/Contractions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
extends: substitution
22
message: "Use '%s' instead of '%s'."
33
link: https://docs.microsoft.com/en-us/style-guide/word-choice/use-contractions
4-
level: error
4+
level: warning
55
ignorecase: true
66
action:
77
name: replace

pages/apps-sdk-release.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ criteria:
2121

2222
### Smart contracts must be audited
2323

24-
Security is the top priority for Safe. Please provide an external audit result document if the Safe App includes smart contracts. If a third party created the smart contracts, ensure they're audited.
24+
Security is the top priority for Safe. Please provide an external audit result document if the Safe App includes smart contracts. If a third party created the smart contracts, ensure they are audited.
2525

2626
### Your Safe App must include a manifest
2727

@@ -63,7 +63,7 @@ Alternatively, you can provide us with the ABIs as JSON files or the links to th
6363

6464
## Official launch and beyond
6565

66-
After we've reviewed and integrated your Safe App, the App will first be available in the [staging environment](https://safe-wallet-web.staging.5afe.dev) of the Safe for you to do a final review. We would then approach you to coordinate the launch and a joint announcement.
66+
After we have reviewed and integrated your Safe App, the App will first be available in the [staging environment](https://safe-wallet-web.staging.5afe.dev) of the Safe for you to do a final review. We would then approach you to coordinate the launch and a joint announcement.
6767

6868
At any point after the launch, if you or your users encounter issues with the Safe App or want to release an update to an existing Safe App, please contact us via [Discord](https://chat.safe.global).
6969

pages/bug-bounty.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Bug Bounty
22

3-
Participate in the Safe Bug Bounty program to find bugs and get rewards. Earn up to $1,000,000 for every bug you report. Please carefully read through the [submission process](./bug-bounty.md#submission-process) section and get in touch via [[email protected]](mailto:[email protected]). You can also review the [bug bounties](./bug-bounty/past-paid-bounties.md) we've paid in the past.
3+
Participate in the Safe Bug Bounty program to find bugs and get rewards. Earn up to $1,000,000 for every bug you report. Please carefully read through the [submission process](./bug-bounty.md#submission-process) section and get in touch via [[email protected]](mailto:[email protected]). You can also review the [bug bounties](./bug-bounty/past-paid-bounties.md) we have paid in the past.
44

55
## Audits
66

pages/sdk-auth-kit/reference/safe-auth-pack.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ AuthKitSignInData {
135135
**Caveats**
136136

137137
- To get the Safe addresses, instantiate the `authKit` with the `txServiceUrl` property in the config object. Otherwise, only the EOA will be returned.
138-
- ⚠️ This method currently returns the Safe addresses where the EOA is an owner. It doesn't create a Safe. We're investigating ways to enhance the Auth Kit and the associated flows.
138+
- ⚠️ This method currently returns the Safe addresses where the EOA is an owner. It doesn't create a Safe. We are investigating ways to enhance the Auth Kit and the associated flows.
139139

140140
### `signOut(safeAuthSignOutOptions?)`
141141

@@ -217,4 +217,4 @@ safeAuthPack.unsubscribe(packEvent, handler);
217217

218218
// Sign out
219219
await safeAuthPack.signOut();
220-
```
220+
```

pages/sdk-onramp-kit/guides/monerium.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ const orders = await moneriumClient.getOrders()
9898

9999
5. When you reload a page, you usually want to stay authenticated as long as the tokens are valid. To do this, just call the `open()` method without arguments.
100100

101-
6. You're now ready to place orders. In the `production` environment, real funds will be transferred. In the `sandbox` environment, fake money will be used. If you add funds using the `sandbox` or create a transfer from your bank account to your Monerium IBAN in the `production` environment, you'll receive the corresponding tokens in your Safe. For example, if your Monerium IBAN is associated with the EURe token of your Safe, and you transfer 10 euros, the EURe balance of your Safe will be 10 after the SEPA system completes the transfer.
101+
6. You are now ready to place orders. In the `production` environment, real funds will be transferred. In the `sandbox` environment, fake money will be used. If you add funds using the `sandbox` or create a transfer from your bank account to your Monerium IBAN in the `production` environment, you'll receive the corresponding tokens in your Safe. For example, if your Monerium IBAN is associated with the EURe token of your Safe, and you transfer 10 euros, the EURe balance of your Safe will be 10 after the SEPA system completes the transfer.
102102

103103
Add tokens to your Safe using the `sandbox`. They should be available almost instantly. You can check the balance of your assets [here](https://app.safe.global/balances) afterwards.
104104

pages/sdk-onramp-kit/guides/stripe.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The [Stripe Crypto Onramp service](https://stripe.com/docs/crypto/overview) allo
66

77
This guide demonstrates how to use the `StripePack` as part of the [`OnrampKit`](https://github.com/safe-global/safe-core-sdk/tree/main/packages/onramp-kit) and incorporate it into your web application.
88

9-
We're going to learn how to render the Stripe widget into your page. This widget allows the use your own Ethereum address for onramping cryptocurrencies. As [Stripe API](https://stripe.com/docs/crypto/using-the-api) usage [requires a server](https://stripe.com/docs/crypto/quickstart?client=html&lang=node) to start the interaction with their services, we will also be using a [pre-deployed server](https://github.com/5afe/aa-stripe-service) and providing a public key for testing purposes.
9+
We are going to learn how to render the Stripe widget into your page. This widget allows the use your own Ethereum address for onramping cryptocurrencies. As [Stripe API](https://stripe.com/docs/crypto/using-the-api) usage [requires a server](https://stripe.com/docs/crypto/quickstart?client=html&lang=node) to start the interaction with their services, we will also be using a [pre-deployed server](https://github.com/5afe/aa-stripe-service) and providing a public key for testing purposes.
1010

1111
![The Stripe widget](https://b.stripecdn.com/docs-statics-srv/assets/crypto-onramp-overview.c4c0682697f2cd4c1c2769c3c5e08506.png)
1212

@@ -15,7 +15,7 @@ We're going to learn how to render the Stripe widget into your page. This widget
1515
1. [Node.js and npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
1616
2. [Stripe account to get your own public and private keys](https://dashboard.stripe.com/register)
1717
3. A deployed server ([example](https://github.com/5afe/aa-stripe-service)) for communicating with Stripe APIs.
18-
We're providing both the public key and the server for testing purposes but you must use your own public key and server in production.
18+
We are providing both the public key and the server for testing purposes but you must use your own public key and server in production.
1919

2020
## Install dependencies
2121

@@ -25,7 +25,7 @@ yarn add @safe-global/onramp-kit @stripe/stripe-js @stripe/crypto
2525

2626
## Using the `StripePack` in your Web App
2727

28-
The `StripePack` can be used with any frontend framework like React, Vue, Angular or even plain HTML and JavaScript. In this example, we're using it with plain JavaScript.
28+
The `StripePack` can be used with any frontend framework like React, Vue, Angular or even plain HTML and JavaScript. In this example, we are using it with plain JavaScript.
2929

3030
1. Load the application and initialize the `StripePack` using the following snippet:
3131

pages/sdk-protocol-kit.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ For a more detailed guide, including how to integrate with `web3.js` and more Sa
1515

1616
### Install dependencies
1717

18-
First, we'll need to install some dependencies from `safe-core-sdk` and the `ethers` library.
18+
First, we need to install some dependencies from `safe-core-sdk` and the `ethers` library.
1919

20-
To interact with Ethereum and other EVM blockchains in Node, we can either use: web3.js or ethers.js. In this tutorial, we'll use the ethers.js library. To use `web3js`, see [Instantiate an EthAdapter section in Guide: Integrating the Safe Core SDK](https://github.com/safe-global/safe-core-sdk/blob/main/guides/integrating-the-safe-core-sdk.md#instantiate-an-ethadapter).
20+
To interact with Ethereum and other EVM blockchains in Node, we can either use: web3.js or ethers.js. In this tutorial, we will use the ethers.js library. To use `web3js`, see [Instantiate an EthAdapter section in Guide: Integrating the Safe Core SDK](https://github.com/safe-global/safe-core-sdk/blob/main/guides/integrating-the-safe-core-sdk.md#instantiate-an-ethadapter).
2121

22-
The Protocol Kit's compatible only with **ethers.js v6**. Make sure you specify this version when installing the SDK.
22+
The Protocol Kit is compatible only with **ethers.js v6**. Make sure you specify this version when installing the SDK.
2323

2424
You can store your environment variables such as private keys in a `.env` file. To read easily from `.env` files, use the `dotenv` library.
2525

pages/sdk-relay-kit/guides/gelato-relay.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ yarn add ethers @safe-global/relay-kit @safe-global/protocol-kit @safe-global/sa
1616

1717
## Relay Kit options
1818

19-
Currently, the Relay Kit's only compatible with the [Gelato relay](https://docs.gelato.network/developer-services/relay). The Gelato relay can be used in two ways:
19+
Currently, the Relay Kit is only compatible with the [Gelato relay](https://docs.gelato.network/developer-services/relay). The Gelato relay can be used in two ways:
2020
1. [Gelato 1Balance](https://docs.gelato.network/developer-services/relay/payment-and-fees/1balance)
2121
2. [Gelato SyncFee](https://docs.gelato.network/developer-services/relay/quick-start/callwithsyncfee)
2222

2323
## Gelato 1Balance
2424

2525
[Gelato 1Balance](https://docs.gelato.network/developer-services/relay/payment-and-fees/1balance) allows you to execute transactions using a prepaid deposit. This can be used to sponsor transactions to other Safes or even to use a deposit on Polygon to pay the fees for a wallet on another chain.
2626

27-
For the 1Balance quickstart tutorial, you will use the Gelato relayer to pay for the gas fees on BNB Chain using the Polygon USDC you've deposited into your Gelato 1Balance account.
27+
For the 1Balance quickstart tutorial, you will use the Gelato relayer to pay for the gas fees on BNB Chain using the Polygon USDC you have deposited into your Gelato 1Balance account.
2828

2929
For this tutorial you will need a Safe with a threshold of 1 deployed on BNB Chain. You can create one using [Safe{Wallet}](https://app.safe.global/) or the [Protocol Kit](../../sdk-protocol-kit.md).
3030

pages/smart-account-modules.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import YouTube from '../components/YouTube'
44

55
# Safe Modules
66

7-
Safe Modules add custom features to Safe contracts. They're smart contracts that add functionality to Safe while separating module logic from Safe's core contracts. A basic Safe doesn't require any modules. Adding and removing a module requires confirmation from the configured threshold number of owners. Events are emitted whenever a module is added or removed and a module transaction succeeds or fails.
7+
Safe Modules add custom features to Safe contracts. They are smart contracts that add functionality to Safe while separating module logic from Safe's core contracts. A basic Safe doesn't require any modules. Adding and removing a module requires confirmation from the configured threshold number of owners. Events are emitted whenever a module is added or removed and a module transaction succeeds or fails.
88

99
Safe Modules can include daily spending allowances, amounts that can be spent without the approval of other owners, recurring transactions modules, and standing orders performed on a recurring date. For example, paying your rent or social recovery modules may allow you to recover a Safe if you lose access to owner accounts.
1010

pages/smart-account-signatures/eip-1271.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ In order to enable off-chain signing in a Safe App, the `safe-apps-sdk` package
2121

2222
### EIP-191 messages
2323

24-
To sign a message we've to call the `signMessage` function and pass in the message as hex string.
24+
To sign a message we have to call the `signMessage` function and pass in the message as hex string.
2525

2626
The signing request will be blocked until the message is fully signed and then return the `signature` as a string.
2727
As Safe{Wallet} is a multi signature wallet, this process can take some time because multiple signers may need to sign the message.
@@ -41,7 +41,7 @@ After signing a message it will be available in the Safe's Message list (Transac
4141

4242
### EIP-712 typed data
4343

44-
To sign typed data we've to call the `signTypedData` function and pass in the typed data object.
44+
To sign typed data we have to call the `signTypedData` function and pass in the typed data object.
4545

4646
The signing request will be blocked until the message is fully signed and then return the `signature` as a string.
4747
As Safe{Wallet} is a multi signature wallet, this process can take some time because multiple signers may need to sign the message.
@@ -88,7 +88,7 @@ After signing, the message will be available in the Safe's Message list (Transac
8888

8989
You can fetch the signature asynchronously instead of waiting for the RPC response via the [Safe Transaction Service](https://github.com/safe-global/safe-transaction-service).
9090

91-
To do so we've to generate a hash of the `message` or `typedData` using ethers `hashMessage(message)` or `_TypedDataEncoder.hash(domain, types, message)` and then compute the `Safe message hash` by calling `getMessageHash(messageHash)` on the Safe contract.
91+
To do so we have to generate a hash of the `message` or `typedData` using ethers `hashMessage(message)` or `_TypedDataEncoder.hash(domain, types, message)` and then compute the `Safe message hash` by calling `getMessageHash(messageHash)` on the Safe contract.
9292

9393
### Example: Get Safe message hash
9494

0 commit comments

Comments
 (0)