docs: fixed typos in docs
This commit is contained in:
parent
ba967875f7
commit
4f2d1e1c7b
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* When sending values to or receiving values from a [[Contract]], the
|
* When sending values to or receiving values from a [[Contract]], the
|
||||||
* data is generally encoded using the [ABI standard](solc-abi-standard).
|
* data is generally encoded using the [ABI standard](link-solc-abi).
|
||||||
*
|
*
|
||||||
* The AbiCoder provides a utility to encode values to ABI data and
|
* The AbiCoder provides a utility to encode values to ABI data and
|
||||||
* decode values from ABI data.
|
* decode values from ABI data.
|
||||||
|
@ -150,7 +150,7 @@ export function getAddress(address: string): string {
|
|||||||
/**
|
/**
|
||||||
* The [ICAP Address format](link-icap) format is an early checksum
|
* The [ICAP Address format](link-icap) format is an early checksum
|
||||||
* format which attempts to be compatible with the banking
|
* format which attempts to be compatible with the banking
|
||||||
* industry [IBAN format](link-wiki-iban] for bank accounts.
|
* industry [IBAN format](link-wiki-iban) for bank accounts.
|
||||||
*
|
*
|
||||||
* It is no longer common or a recommended format.
|
* It is no longer common or a recommended format.
|
||||||
*
|
*
|
||||||
|
@ -32,7 +32,7 @@ export interface Signer extends Addressable, ContractRunner, NameResolver {
|
|||||||
// State
|
// State
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the [[Address]] of the Signer.
|
* Get the address of the Signer.
|
||||||
*/
|
*/
|
||||||
getAddress(): Promise<string>;
|
getAddress(): Promise<string>;
|
||||||
|
|
||||||
@ -109,7 +109,7 @@ export interface Signer extends Addressable, ContractRunner, NameResolver {
|
|||||||
call(tx: TransactionRequest): Promise<string>;
|
call(tx: TransactionRequest): Promise<string>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Resolves an [[Address]] or ENS Name to an [[Address]].
|
* Resolves an ENS Name to an address.
|
||||||
*/
|
*/
|
||||||
resolveName(name: string): Promise<null | string>;
|
resolveName(name: string): Promise<null | string>;
|
||||||
|
|
||||||
@ -131,7 +131,7 @@ export interface Signer extends Addressable, ContractRunner, NameResolver {
|
|||||||
sendTransaction(tx: TransactionRequest): Promise<TransactionResponse>;
|
sendTransaction(tx: TransactionRequest): Promise<TransactionResponse>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Signers an [[EIP-191]] prefixed personal message.
|
* Signers an [[link-eip-191]] prefixed personal message.
|
||||||
*
|
*
|
||||||
* If the %%message%% is a string, it is signed as UTF-8 encoded bytes. It is **not**
|
* If the %%message%% is a string, it is signed as UTF-8 encoded bytes. It is **not**
|
||||||
* interpretted as a [[BytesLike]]; so the string ``"0x1234"`` is signed as six
|
* interpretted as a [[BytesLike]]; so the string ``"0x1234"`` is signed as six
|
||||||
@ -143,7 +143,7 @@ export interface Signer extends Addressable, ContractRunner, NameResolver {
|
|||||||
signMessage(message: string | Uint8Array): Promise<string>;
|
signMessage(message: string | Uint8Array): Promise<string>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Signs the [[EIP-712]] typed data.
|
* Signs the [[link-eip-712]] typed data.
|
||||||
*/
|
*/
|
||||||
signTypedData(domain: TypedDataDomain, types: Record<string, Array<TypedDataField>>, value: Record<string, any>): Promise<string>;
|
signTypedData(domain: TypedDataDomain, types: Record<string, Array<TypedDataField>>, value: Record<string, any>): Promise<string>;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user