docs: fix broken links
This commit is contained in:
parent
75aa7f930b
commit
ca1283b23a
|
@ -87,7 +87,7 @@ pub fn get_contract_address(sender: impl Into<Address>, nonce: impl Into<U256>)
|
|||
/// Returns the CREATE2 of a smart contract as specified in
|
||||
/// [EIP1014](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1014.md)
|
||||
///
|
||||
/// keccak256( 0xff ++ senderAddress ++ salt ++ keccak256(init_code))[12:]
|
||||
/// keccak256( 0xff ++ senderAddress ++ salt ++ keccak256(init_code))[12..]
|
||||
pub fn get_create2_address(
|
||||
from: impl Into<Address>,
|
||||
salt: impl Into<Bytes>,
|
||||
|
|
|
@ -33,6 +33,10 @@
|
|||
//! signature.verify("hello world", wallet.address()).unwrap();
|
||||
//! # Ok(())
|
||||
//! # }
|
||||
//! ```
|
||||
//!
|
||||
//! [`Transaction`]: ethers_core::types::Transaction
|
||||
//! [`TransactionRequest`]: ethers_core::types::TransactionRequest
|
||||
// mod wallet;
|
||||
// pub use wallet::Wallet;
|
||||
mod wallet;
|
||||
|
|
|
@ -56,9 +56,7 @@
|
|||
//! ## `signers`
|
||||
//!
|
||||
//! For security reasons, you typically do not want your private keys to be stored on the nodes.
|
||||
//! This module provides a [`Wallet`] type for loading a private key which can be connected with a
|
||||
//! [`Provider`] to produce a [`Client`]. The [`Client`] type is the object via which we recommend
|
||||
//! users with local private keys to use when interacting with Ethereum.
|
||||
//! This module provides a [`Wallet`] type for connecting to a private key or a YubiHSM2
|
||||
//!
|
||||
//! ## `contract`
|
||||
//!
|
||||
|
@ -74,9 +72,7 @@
|
|||
//! It also provides typesafe bindings via the [`abigen`] macro and the [`Abigen` builder].
|
||||
//!
|
||||
//! [`Provider`]: providers::Provider
|
||||
//!
|
||||
//! [`Wallet`]: signers::Wallet
|
||||
//! [`Client`]: signers::Client
|
||||
//!
|
||||
//! [`ContractFactory`]: contract::ContractFactory
|
||||
//! [`Contract`]: contract::Contract
|
||||
|
|
Loading…
Reference in New Issue