diff --git a/docs.wrm/api-keys.wrm b/docs.wrm/api-keys.wrm index 45aca92c1..e8ba12248 100644 --- a/docs.wrm/api-keys.wrm +++ b/docs.wrm/api-keys.wrm @@ -14,7 +14,7 @@ These API keys are a provided as a community resource by the backend services for low-traffic projects and for early prototyping. Since these API keys are shared by all users (that have not acquired their -own API key), they are aggressively throttled which means reties occur more +own API key), they are aggressively throttled which means retries occur more frequently and the responses are slower. It is **highly recommended** that you sign up for a free API key from each service for their diff --git a/docs.wrm/api/contract/contract-factory.wrm b/docs.wrm/api/contract/contract-factory.wrm index ef8ceb3ea..df16a86ce 100644 --- a/docs.wrm/api/contract/contract-factory.wrm +++ b/docs.wrm/api/contract/contract-factory.wrm @@ -24,7 +24,7 @@ _subsection: Methods @ _property: contractFactory.attach(address) => [[Contract]] @ -Return an instance of a [[Contract]] attched to //address//. This is the +Return an instance of a [[Contract]] attached to //address//. This is the same as using the [Contract constructor](Contract--creating) with //address// and this the the //interface// and //signerOrProvider// passed in when creating the ContractFactory. @@ -37,7 +37,7 @@ to the Contract's constructor. _property: contractFactory.deploy(...args) => Promise<[[Contract]]> @ Uses the signer to deploy the Contract with //args// passed into the constructor and -retruns a Contract which is attached to the address where this contract **will** be +returns a Contract which is attached to the address where this contract **will** be deployed once the transaction is mined. The transaction can be found at ``contract.deployTransaction``, and no interactions diff --git a/docs.wrm/api/experimental.wrm b/docs.wrm/api/experimental.wrm index 08c5d0062..c0eca3c05 100644 --- a/docs.wrm/api/experimental.wrm +++ b/docs.wrm/api/experimental.wrm @@ -17,7 +17,7 @@ Generates a brain wallet, with a slightly improved experience, in which the generated wallet has a mnemonic. _property: BrainWallet.generateLegacy(username, password [ , progressCallback ]) => [[experimental-brainwallet]] -Generate a brain wallet which is compatibile with the ethers v3 and earlier. +Generate a brain wallet which is compatible with the ethers v3 and earlier. _subsection: EIP1193Bridge @ @INHERIT<[[link-npm-events]]> diff --git a/docs.wrm/api/other/assembly/api.wrm b/docs.wrm/api/other/assembly/api.wrm index 4b37e7ade..ee300a12d 100644 --- a/docs.wrm/api/other/assembly/api.wrm +++ b/docs.wrm/api/other/assembly/api.wrm @@ -26,7 +26,7 @@ Create a formatted output of an array of [[asm-operation]]. _heading: Bytecode @ @INHERIT> -Each arary index represents an operation, collapsing multi-byte operations +Each array index represents an operation, collapsing multi-byte operations (i.e. ``PUSH``) into a single operation. _property: bytecode.getOperation(offset) => [[asm-operation]] @@ -52,7 +52,7 @@ If the opcode is a ``PUSH``, this is the value of that push _subsection: Opcode @ @SRC _property: asm.Opcode.from(valueOrMnemonic) => [[asm-opcode]] -Create a new instnace of an Opcode for a given numeric value +Create a new instance of an Opcode for a given numeric value (e.g. 0x60 is PUSH1) or mnemonic string (e.g. "PUSH1"). _heading: Properties diff --git a/docs.wrm/api/other/assembly/ast.wrm b/docs.wrm/api/other/assembly/ast.wrm index 57ce3530b..a9ed91096 100644 --- a/docs.wrm/api/other/assembly/ast.wrm +++ b/docs.wrm/api/other/assembly/ast.wrm @@ -49,7 +49,7 @@ string of a decimal number. _property: literalNode.verbatim => boolean This is true in a [[asm-datanode]] context, since in that case the -value should be taken verbatim and no ``PUSH`` operation shoud be +value should be taken verbatim and no ``PUSH`` operation should be added, otherwise false. @@ -96,7 +96,7 @@ any output assembly, using the ``{{! code here }}`` syntax. _property: literalNode.verbatim => boolean This is true in a [[asm-datanode]] context, since in that case the -value should be taken verbatim and no ``PUSH`` operation shoud be +value should be taken verbatim and no ``PUSH`` operation should be added, otherwise false. _property: evaluationNode.script => string diff --git a/docs.wrm/api/other/assembly/dialect.wrm b/docs.wrm/api/other/assembly/dialect.wrm index ab8d6a934..b19baf8e6 100644 --- a/docs.wrm/api/other/assembly/dialect.wrm +++ b/docs.wrm/api/other/assembly/dialect.wrm @@ -1,9 +1,9 @@ _section: Ethers ASM Dialect @ -This provides a quick, high-level overcview of the **Ethers ASM Dialect** +This provides a quick, high-level overview of the **Ethers ASM Dialect** for EVM, which is defined by the [Ethers ASM Dialect Grammar](link-ethers-asm-grammar) -Once a program is compiled by a higher level langauge into ASM (assembly), +Once a program is compiled by a higher level language into ASM (assembly), or hand-coded directly in ASM, it needs to be assembled into bytecode. The assembly process performs a very small set of operations and is @@ -34,7 +34,7 @@ A **Label** is a position in the program which can be jumped to. A ``JUMPDEST`` is automatically added to this point in the assembled output. -@TODO: Exmaples +@TODO: Examples _subsection: Literals @ @@ -45,7 +45,7 @@ operation. A **Literal** can be provided using a [[DataHexString]] or a decimal byte value. -@TODO: exmples +@TODO: examples _subsection: Comments @ @@ -64,7 +64,7 @@ within a **deployment bytecode**, which can be used as **init code**. When deploying a program to Ethereum, an **init transaction** is used. An //init transaction// has a null ``to`` address and contains bytecode in the ``data``. This ``data`` bytecode is a program, that when executed -returns some other bytecode as a result, this restul is the bytecode +returns some other bytecode as a result, this result is the bytecode to be installed. Therefore it is important that embedded code uses jumps relative to itself, @@ -84,7 +84,7 @@ _subsection: Data Segment @ A **Data Segment** allows arbitrary data to be embedded into a program, which can be useful for lookup tables or deploy-time constants. -An emtpty **Data Segment** can also be used when a labelled location is +An empty **Data Segment** can also be used when a labelled location is required, but without the ``JUMPDEST`` which a [[asm-dialect-label]] adds. @TODO: Example @@ -111,5 +111,5 @@ _subsection: Stack Placeholders @ @TODO: exampl -_subsection: Evaluation and Excution @ +_subsection: Evaluation and Execution @ diff --git a/docs.wrm/api/providers/other.wrm b/docs.wrm/api/providers/other.wrm index 4a5416425..89fdb311c 100644 --- a/docs.wrm/api/providers/other.wrm +++ b/docs.wrm/api/providers/other.wrm @@ -11,7 +11,7 @@ It uses a quorum and connects to multiple [Providers](Provider) as backends, each configured with a //priority// and a //weight// . When a request is made, the request is dispatched to multiple backends, randomly -choosen (higher prioirty backends are always selected first) and the results from +chosen (higher priority backends are always selected first) and the results from each are compared against the others. Only once the quorum has been reached will that result be accepted and returned to the caller. @@ -41,7 +41,7 @@ The provider for this configuration. _property: fallbackProviderConfig.priority => number The priority used for the provider. Higher priorities are favoured over lower -priorities. If multiple providers share the same prioirty, they are choosen +priorities. If multiple providers share the same prioirty, they are chosen at random. _property: fallbackProviderConfig.stallTimeout => number @@ -96,7 +96,7 @@ The URL to use for the JsonRpcProvider instance. _subsection: Web3Provider @ @INHERIT<[[JsonRpcProvider]]> @SRC The Web3Provider is meant to ease moving from a [web3.js based](link-web3) -application to ethers by wraping an existing Web3-compatible (such as a +application to ethers by wrapping an existing Web3-compatible (such as a [Web3HttpProvider](link-web3-http), [Web3IpcProvider](link-web3-ipc) or [Web3WsProvider](link-web3-ws)) and exposing it as an ethers.js [[Provider]] which can then be used with the rest of the library. diff --git a/docs.wrm/api/providers/types.wrm b/docs.wrm/api/providers/types.wrm index 3b2a77c0a..cfada06ac 100644 --- a/docs.wrm/api/providers/types.wrm +++ b/docs.wrm/api/providers/types.wrm @@ -26,10 +26,10 @@ A **Networkish** may be any of the following: - the name of a common network as a string (e.g. ``"homestead"``) - the chain ID a network as a number; if the chain ID is that of a common network, the ``name`` and ``ensAddress`` will be populated, otherwise, - the deafults name ``"unknown"`` and no ``ensAddress`` is used + the default name ``"unknown"`` and no ``ensAddress`` is used _subsection: Network @ -A **Network** represents an Etherem network. +A **Network** represents an Ethereum network. _property: network.name => string The human-readable name of the network, such as ``homestead``. If the network @@ -273,7 +273,7 @@ The amount of gas actually used by this transaction. _property: receipt.logsBloom => string<[[DataHexString]]> A [bloom-filter](link-wiki-bloomfilter), which -incldues all the addresses and topics included in any log in this +includes all the addresses and topics included in any log in this transaction. _property: receipt.blockHash => string<[[DataHexString]]<32>> diff --git a/docs.wrm/api/utils/abi/coder.wrm b/docs.wrm/api/utils/abi/coder.wrm index 1c5c40c57..c08087b55 100644 --- a/docs.wrm/api/utils/abi/coder.wrm +++ b/docs.wrm/api/utils/abi/coder.wrm @@ -12,7 +12,7 @@ _subsection: Creating Instance @ For the most part, there should never be a need to manually create an instance of an [[AbiCoder]], since one is created with the -default coersion function when the library is loaded which can +default coercion function when the library is loaded which can be used universally. This is likely only needed by those with specific needs to override diff --git a/docs.wrm/api/utils/abi/fragments.wrm b/docs.wrm/api/utils/abi/fragments.wrm index d3f201890..046fe2823 100644 --- a/docs.wrm/api/utils/abi/fragments.wrm +++ b/docs.wrm/api/utils/abi/fragments.wrm @@ -212,7 +212,7 @@ to parameters which are part of an [[EventFragment]]. _property: paramType.arrayChildren => [[ParamType]] @ The type of children of the array. This is null for for any parameter -wjhich is not an array. +which is not an array. _property: paramType.arrayLength => number @ diff --git a/docs.wrm/api/utils/abi/interface.wrm b/docs.wrm/api/utils/abi/interface.wrm index aee68bcad..b574c28f1 100644 --- a/docs.wrm/api/utils/abi/interface.wrm +++ b/docs.wrm/api/utils/abi/interface.wrm @@ -4,7 +4,7 @@ The **Interface** Class abstracts the encoding and decoding required to interact with contracts on the Ethereum network. Many of the standards organically evolved along side the [[link-solidity]] -language, which other languages have adopted to remain compatibile with +language, which other languages have adopted to remain compatible with existing deployed contracts. The EVM itself does not understand what the ABI is. It is simply an agreed diff --git a/docs.wrm/api/utils/bignumber.wrm b/docs.wrm/api/utils/bignumber.wrm index 0efc3f11e..75d921464 100644 --- a/docs.wrm/api/utils/bignumber.wrm +++ b/docs.wrm/api/utils/bignumber.wrm @@ -17,7 +17,7 @@ _heading: BigNumberish @ Many functions and methods in this library take in values which can be non-ambiguously and safely converted to a BigNumber. These -values can be sepcified as: +values can be specified as: _definition: **//string//** A [[HexString]] or a decimal string, either of which may @@ -232,7 +232,7 @@ mathematical operations handled safely. _heading: Why not BigNumber.js, BN.js, BigDecimal, etc? Everyone has their own favourite Big Number library, and once someone -has choosen one, it becomes part of their identity, like their editor, +has chosen one, it becomes part of their identity, like their editor, vi vs emacs. There are over 100 Big Number libraries on [npm](link-npm-query-bignumber). One of the biggest differences between the Ethers [[BigNumber]] object and @@ -246,7 +246,7 @@ low-level library's objects which supports myriad in-place operations. Second, the Ethers [[BigNumber]] provides all the functionality required internally and should generally be sufficient for most developers while not exposing some of the more advanced and rare functionality. So it will -be eaiser to swap out the underlying library without impacting consumers. +be easier to swap out the underlying library without impacting consumers. For example, if [[link-npm-bnjs]] was exposed, someone may use the greatest-common-denominator functions, which would then be functionality diff --git a/docs.wrm/api/utils/bytes.wrm b/docs.wrm/api/utils/bytes.wrm index 420b27f7e..748d7bdd5 100644 --- a/docs.wrm/api/utils/bytes.wrm +++ b/docs.wrm/api/utils/bytes.wrm @@ -25,7 +25,7 @@ binary data as a string. _heading: HexString @ A **Hexstring** is a string which has a ``0x`` prefix followed by any -number of nibbles (i.e. case-insensitive hexidecumal characters, ``0-9`` and ``a-f``). +number of nibbles (i.e. case-insensitive hexadecimal characters, ``0-9`` and ``a-f``). _heading: Signature @ @@ -37,7 +37,7 @@ _heading: Signature @ _heading: Raw Signature @ @inherit\>> A **Raw Signature** is a common Signature format where the r, s and v are -concanenated into a 65 byte (130 nibble) [[DataHexString]]. +concatenated into a 65 byte (130 nibble) [[DataHexString]]. _heading: SignatureLike @ @@ -112,7 +112,7 @@ _property: ethers.utils.stripZeros(aBytesLike) => Uint8Array @ Uint8Array @ @SRC -Retutns a Uint8Array of the data in //aBytesLike// with ``0`` bytes prepended to +Returns a Uint8Array of the data in //aBytesLike// with ``0`` bytes prepended to //length// bytes long. If //aBytesLike// is already longer than //length// bytes long, an InvalidArgument diff --git a/docs.wrm/api/utils/fixednumber.wrm b/docs.wrm/api/utils/fixednumber.wrm index a3accfa5e..fbd7f28ff 100644 --- a/docs.wrm/api/utils/fixednumber.wrm +++ b/docs.wrm/api/utils/fixednumber.wrm @@ -93,7 +93,7 @@ A signed format string begins with ``fixed``, which an unsigned format string begins with ``ufixed``, followed by the width (in bits) and the number of decimals. -The width must be conguent to 0 mod 8 (i.e. ``(width % 8) == 0``) and no +The width must be congruent to 0 mod 8 (i.e. ``(width % 8) == 0``) and no larger than 256 bits and the number of decimals must be no larger than 80. For example: diff --git a/docs.wrm/api/utils/hashing.wrm b/docs.wrm/api/utils/hashing.wrm index d370b6541..4dd1a644e 100644 --- a/docs.wrm/api/utils/hashing.wrm +++ b/docs.wrm/api/utils/hashing.wrm @@ -163,7 +163,7 @@ the tightly packing algorithm. _property: ethers.utils.solidityPack(types, values) => string<[[DataHexString]]> @ @SRC Returns the non-standard encoded //values// packed according to -their respecive type in //types//. +their respective type in //types//. _property: ethers.utils.solidityKeccak256(types, values) => string<[[DataHexString]]<32>> @ @SRC Returns the [KECCAK256](link-wiki-sha3) of the non-standard encoded //values// packed diff --git a/docs.wrm/api/utils/hdnode.wrm b/docs.wrm/api/utils/hdnode.wrm index 28b45cb7e..3e4ac8f08 100644 --- a/docs.wrm/api/utils/hdnode.wrm +++ b/docs.wrm/api/utils/hdnode.wrm @@ -101,7 +101,7 @@ _heading: Methods @ _property: hdNode.neuter() => [[HDNode]] @ @SRC Return a new instance of //hdNode// with its private key removed -but all otehr properties preserved. This ensures that the key +but all other properties preserved. This ensures that the key can not leak the private key of itself or any derived children, but may still be used to compute the addresses of itself and any non-hardened children. diff --git a/docs.wrm/api/utils/logger.wrm b/docs.wrm/api/utils/logger.wrm index 1fefdb217..b971ab344 100644 --- a/docs.wrm/api/utils/logger.wrm +++ b/docs.wrm/api/utils/logger.wrm @@ -56,11 +56,11 @@ _heading: Usage Validation There can be used to ensure various properties and actions are safe. _property: logger.checkAbstract(target, kind) => void @SRC -Checks that //target// is not //kind// and performs the same operatons +Checks that //target// is not //kind// and performs the same operations as ``checkNew``. This is useful for ensuring abstract classes are not being instantiated. -_property: logger.checkArgumentCount(count, expectedCound [ , message) => void @SRC +_property: logger.checkArgumentCount(count, expectedCount [ , message) => void @SRC If //count// is not equal to //expectedCount//, throws a [MISSING_ARGUMENT](errors-MissingArgument) or [UNEXPECTED_ARGUMENT](errors-UnexpectedArgument) error. diff --git a/docs.wrm/api/utils/signing-key.wrm b/docs.wrm/api/utils/signing-key.wrm index 16907e9ce..a09609f3b 100644 --- a/docs.wrm/api/utils/signing-key.wrm +++ b/docs.wrm/api/utils/signing-key.wrm @@ -8,11 +8,11 @@ The private key for this Signing Key. _property: signingKey.publicKey => string<[[DataHexString]]<65>> The uncompressed public key for this Signing Key. It will always be -65 bytes (130 nibbles) and begine with ``0x04``. +65 bytes (130 nibbles) and begins with ``0x04``. _property: signingKey.compressedPublicKey => string<[[DataHexString]]<33>> The compressed public key for this Signing Key. It will always be -33 bytes (66 nibbles) and begine with either ``0x02`` or ``0x03``. +33 bytes (66 nibbles) and begins with either ``0x02`` or ``0x03``. _property: signingKey.signDigest(digest) => [[Signature]] Sign the //digest// and return the signature. diff --git a/docs.wrm/api/utils/strings.wrm b/docs.wrm/api/utils/strings.wrm index 9a24e4c0b..350a98cc1 100644 --- a/docs.wrm/api/utils/strings.wrm +++ b/docs.wrm/api/utils/strings.wrm @@ -40,7 +40,7 @@ Returns the Array of codepoints of //text//, optionally normalized using the _note: Note This function correctly splits each **user-perceived character** into its codepoint, accounting for surrogate pairs. This should not be confused with -``string.split("")``, which destroys surrogate pairs, spliting between each UTF-16 +``string.split("")``, which destroys surrogate pairs, splitting between each UTF-16 codeunit instead. _property: ethers.utils.toUtf8String(aBytesLike [ , onError = error ] ) => string @ @SRC @@ -88,7 +88,7 @@ See NFKC for more an example. _note: Note Only certain specified characters are folded in Canonical Equivalence, and thus -it should **not** be considered a method to acheive //any// level of security from +it should **not** be considered a method to achieve //any// level of security from [homoglyph attacks](link-wiki-homoglyph). diff --git a/docs.wrm/api/utils/transactions.wrm b/docs.wrm/api/utils/transactions.wrm index 8228600e1..0669e65b0 100644 --- a/docs.wrm/api/utils/transactions.wrm +++ b/docs.wrm/api/utils/transactions.wrm @@ -54,7 +54,7 @@ _property: transaction.gasLimit => [[BigNumber]] The gas limit for //transaction//. An account must have enough ether to cover the gas (at the specified **gasPrice**). Any unused gas is refunded at the end of the transaction, and if there is insufficient gas -to complete execution, the effects of the trasaction are reverted, but +to complete execution, the effects of the transaction are reverted, but the gas is **fully consumed** and an out-of-gas error occurs. _property: transaction.gasPrice => [[BigNumber]] diff --git a/docs.wrm/api/utils/web.wrm b/docs.wrm/api/utils/web.wrm index cf206a06e..da66bbbf8 100644 --- a/docs.wrm/api/utils/web.wrm +++ b/docs.wrm/api/utils/web.wrm @@ -37,7 +37,7 @@ Additional headers to include in the connection. _heading: PollOptions @ _property: options.timeout => number -The amount of time allowed to ellapse before triggering a timeout +The amount of time allowed to elapse before triggering a timeout error. _property: options.floor => number diff --git a/docs.wrm/api/utils/wordlists.wrm b/docs.wrm/api/utils/wordlists.wrm index c7dbb6e1e..eef1895de 100644 --- a/docs.wrm/api/utils/wordlists.wrm +++ b/docs.wrm/api/utils/wordlists.wrm @@ -30,8 +30,8 @@ the registered //name//. _subsection: Languages @ -The [official wordlists](link-bip39-wordlists) availalbe in at -`ethers.wordlists`. In the browser, only the english langauge is +The [official wordlists](link-bip39-wordlists) available in at +`ethers.wordlists`. In the browser, only the english language is available by default; to include the others (which increases the size of the library), see the dist files in the `ethers` package. diff --git a/docs.wrm/cli/asm.wrm b/docs.wrm/cli/asm.wrm index ac72c9568..e249cd5b3 100644 --- a/docs.wrm/cli/asm.wrm +++ b/docs.wrm/cli/asm.wrm @@ -2,7 +2,7 @@ _section: Assembler @ The assembler Command-Line utility allows you to assemble the [Ethers ASM Dialect](asm-dialect) into deployable EVM bytecode -and disassemle EVM bytecode into human-readable mnemonics. +and disassemble EVM bytecode into human-readable mnemonics. _subsection: Help @@ -31,7 +31,7 @@ _code: SimpleStore.asm @lang ; SimpleStore (uint) -; Set the inital value of 42 +; Set the initial value of 42 sstore(0, 42) ; Init code to deploy myContract @@ -144,7 +144,7 @@ Byt specifying the **Position Independent Code** flag, code will be generated in a way such that all offsets are relative, allowing the program to be moved without any impact to its logic. -This does incur an additional gsas cost of 8 gas per offset access though. +This does incur an additional gas cost of 8 gas per offset access though. _definition: **-\-target LABEL** All programs have a root scope named ``_`` which is by default diff --git a/docs.wrm/cli/ens.wrm b/docs.wrm/cli/ens.wrm index 74054c224..5a07797cc 100644 --- a/docs.wrm/cli/ens.wrm +++ b/docs.wrm/cli/ens.wrm @@ -62,7 +62,7 @@ TRANSACTION OPTIONS (default: query network) --gasPrice GWEI Default gas price for transactions(in wei) --gasLimit GAS Default gas limit for transactions --nonce NONCE Initial nonce for the first transaction - --yes Always accept Siging and Sending + --yes Always accept Signing and Sending OTHER OPTIONS --wait Wait until transactions are mined diff --git a/docs.wrm/cli/ethers.wrm b/docs.wrm/cli/ethers.wrm index 1e1d8b30d..b60513e92 100644 --- a/docs.wrm/cli/ethers.wrm +++ b/docs.wrm/cli/ethers.wrm @@ -1,7 +1,7 @@ _section: Sandbox Utility The sandbox utility provides a simple way to use the most common -ethers utilities required during learning, debuging and managing +ethers utilities required during learning, debugging and managing interactions with the Ethereum network. If no command is given, it will enter a REPL interface with many @@ -64,7 +64,7 @@ TRANSACTION OPTIONS (default: query network) --gasPrice GWEI Default gas price for transactions(in wei) --gasLimit GAS Default gas limit for transactions --nonce NONCE Initial nonce for the first transaction - --yes Always accept Siging and Sending + --yes Always accept Signing and Sending OTHER OPTIONS --wait Wait until transactions are mined diff --git a/docs.wrm/cli/plugin.wrm b/docs.wrm/cli/plugin.wrm index 67e161d4b..09ed26371 100644 --- a/docs.wrm/cli/plugin.wrm +++ b/docs.wrm/cli/plugin.wrm @@ -21,7 +21,7 @@ associated plugin class will be instantiated and run. _property: setPlugin(pluginClass) => void @ @SRC Set a dedicated [[cli-plugin]] class which will handle all input. This -may not be used in conjuction with addPlugin and will not automatically +may not be used in conjunction with addPlugin and will not automatically accept a command from the arguments. _property: showUsage([ message = "" [ , status = 0 ] ]) => never @ @SRC @@ -36,7 +36,7 @@ _subsection: Plugin @ @SRC Each **Plugin** manages each command of a CLI and is executed in phases. If the usage (i.e. help) of a CLI is requested, the static methods ``getHelp`` -and ``getOptionHelp`` are used to geneate the help screen. +and ``getOptionHelp`` are used to generate the help screen. Otherwise, a plugin is instantiated and the ``prepareOptions`` is called. Each plugin **must** call ``super.prepareOptions``, otherwise the basic options are @@ -83,7 +83,7 @@ _property: plugin.prepareArgs(args) => Promise @ @SR _property: plugin.run() => Promise @ @SRC _property: plugin.getAddress(addressOrName [ , message = "", [ allowZero = false ] ]) => Promise @ @SRC -A plugin should use this method to resolve an address. If the resovled address is +A plugin should use this method to resolve an address. If the resolved address is the zero address and //allowZero// is not true, an error is raised. _property: plugin.dump(header, info) => void @ @SRC @@ -92,7 +92,7 @@ formatted style. In the future, plugins may support a JSON output format which will automatically work with this method. _property: plugin.throwUsageError([ message = "" ]) => never @ @SRC -Stops exectuion of the plugin and shows the help screen of the plugin with +Stops execution of the plugin and shows the help screen of the plugin with the optional //message//. _property: plugin.throwError(message) => never @ @SRC @@ -133,7 +133,7 @@ Flags are simple binary options (such as the ``--yes``), which are true if prese otherwise false. Options require a single parameter follow them on the command line -(such as ``--account wallet.json``, which nhas the name ``account`` and the value +(such as ``--account wallet.json``, which has the name ``account`` and the value ``wallet.json``) Arguments are all other values on the command line, and are not accessed through diff --git a/docs.wrm/contributing.wrm b/docs.wrm/contributing.wrm index 56e71dc8a..7d52f0b89 100644 --- a/docs.wrm/contributing.wrm +++ b/docs.wrm/contributing.wrm @@ -94,7 +94,7 @@ Style Guide (this section will have much more coming): - Avoid inline links in the source; use the ``externalLinks`` field in the config.js - Prefix external links with ``link-`` - Changing an anchor name must be well justified, as it will break all existing links - to that section; flatworm will support symblinks in the future + to that section; flatworm will support symlinks in the future - In general, I aim for xonsistency; look to similar situations throughout the documentation diff --git a/docs.wrm/cookbook/react-native.wrm b/docs.wrm/cookbook/react-native.wrm index eb9b98371..5b216dbff 100644 --- a/docs.wrm/cookbook/react-native.wrm +++ b/docs.wrm/cookbook/react-native.wrm @@ -18,7 +18,7 @@ To use ethers in React Native, you must either provide shims for the needed missing functionality, or use the ethers.js shim. It is **HIGHLY RECOMMENDED** you check out the [security section](cookbook-reactnative-security> -below for instructions on installing pacakges which can affect the security +below for instructions on installing packages which can affect the security of your application. After installing packages, you may need to restart your packager and company. diff --git a/docs.wrm/documentation.wrm b/docs.wrm/documentation.wrm index 4c0b271cb..81a192ecf 100644 --- a/docs.wrm/documentation.wrm +++ b/docs.wrm/documentation.wrm @@ -280,7 +280,7 @@ The language can be specified using the [@lang extension](flatworm--ext-lang). _table: | **Language** | **Notes** | -| javascript | Syntax highlights and [evaluates](flatworm--code-eval) the JavaScipt | +| javascript | Syntax highlights and [evaluates](flatworm--code-eval) the JavaScript | | script | Same as ``javascript``, but does not evaluate the results | | shell | Shell scripts or command-line | | text | Plain text with no syntax highlighting | @@ -379,7 +379,7 @@ _heading: Variables @ Often the layout of a table is easier to express and maintain without uneven or changing content within it. So the content can be defined -separately within a table directive using **variables**. A varaible +separately within a table directive using **variables**. A variable name must being with a letter and must only contain letters and numbers. Variables are also useful when content is repeated throughout a table. diff --git a/docs.wrm/getting-started.wrm b/docs.wrm/getting-started.wrm index 9ebbe28c5..625ee388d 100644 --- a/docs.wrm/getting-started.wrm +++ b/docs.wrm/getting-started.wrm @@ -65,7 +65,7 @@ $Signer: A Signer is a class which (usually) in some way directly or ether to perform operations. $Contract: A Contract is an abstraction which represents a connection to a specific contract on the Ethereum Network, so that applications - can use it like a normal JavaScipt object. + can use it like a normal JavaScript object. | **Provider** | $Provider | @@ -225,7 +225,7 @@ const daiContract = new ethers.Contract("dai.tokens.ethers.eth", daiAbi, provide daiContract.name() //! -// Get the ERC-20 token synbol (for tickers and UIs) +// Get the ERC-20 token symbol (for tickers and UIs) daiContract.symbol() //! diff --git a/docs.wrm/migration/ethers-v4.wrm b/docs.wrm/migration/ethers-v4.wrm index e06e07805..1481eece6 100644 --- a/docs.wrm/migration/ethers-v4.wrm +++ b/docs.wrm/migration/ethers-v4.wrm @@ -3,7 +3,7 @@ _section: Migration: From Ethers v4 @ This document only covers the features present in v4 which have changed in some important way in v5. -It does not cover all the new additional featuers that have been added and +It does not cover all the new additional features that have been added and mainly aims to help those updating their older scripts and applications to retain functional parity. @@ -52,7 +52,7 @@ _subsection: Contracts _heading: ENS Name Resolution The name of the resolved address has changed. If the address passed into the -constructor was an ENS name, the address will be resovled before any calls +constructor was an ENS name, the address will be resolved before any calls are made to the contract. The name of the property where the resolved address has changed from ``addressPromise`` @@ -151,7 +151,7 @@ All errors now belong to the [[Logger]] class and the related functions have been moved to [[Logger]] instances, which can include a per-package version string. -Global error fucntions have been moved [[Logger]] class methods. +Global error functions have been moved [[Logger]] class methods. _code: @lang