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
|
/// Returns the CREATE2 of a smart contract as specified in
|
||||||
/// [EIP1014](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1014.md)
|
/// [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(
|
pub fn get_create2_address(
|
||||||
from: impl Into<Address>,
|
from: impl Into<Address>,
|
||||||
salt: impl Into<Bytes>,
|
salt: impl Into<Bytes>,
|
||||||
|
|
|
@ -33,6 +33,10 @@
|
||||||
//! signature.verify("hello world", wallet.address()).unwrap();
|
//! signature.verify("hello world", wallet.address()).unwrap();
|
||||||
//! # Ok(())
|
//! # Ok(())
|
||||||
//! # }
|
//! # }
|
||||||
|
//! ```
|
||||||
|
//!
|
||||||
|
//! [`Transaction`]: ethers_core::types::Transaction
|
||||||
|
//! [`TransactionRequest`]: ethers_core::types::TransactionRequest
|
||||||
// mod wallet;
|
// mod wallet;
|
||||||
// pub use wallet::Wallet;
|
// pub use wallet::Wallet;
|
||||||
mod wallet;
|
mod wallet;
|
||||||
|
|
|
@ -56,9 +56,7 @@
|
||||||
//! ## `signers`
|
//! ## `signers`
|
||||||
//!
|
//!
|
||||||
//! For security reasons, you typically do not want your private keys to be stored on the nodes.
|
//! 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
|
//! This module provides a [`Wallet`] type for connecting to a private key or a YubiHSM2
|
||||||
//! [`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.
|
|
||||||
//!
|
//!
|
||||||
//! ## `contract`
|
//! ## `contract`
|
||||||
//!
|
//!
|
||||||
|
@ -74,9 +72,7 @@
|
||||||
//! It also provides typesafe bindings via the [`abigen`] macro and the [`Abigen` builder].
|
//! It also provides typesafe bindings via the [`abigen`] macro and the [`Abigen` builder].
|
||||||
//!
|
//!
|
||||||
//! [`Provider`]: providers::Provider
|
//! [`Provider`]: providers::Provider
|
||||||
//!
|
|
||||||
//! [`Wallet`]: signers::Wallet
|
//! [`Wallet`]: signers::Wallet
|
||||||
//! [`Client`]: signers::Client
|
|
||||||
//!
|
//!
|
||||||
//! [`ContractFactory`]: contract::ContractFactory
|
//! [`ContractFactory`]: contract::ContractFactory
|
||||||
//! [`Contract`]: contract::Contract
|
//! [`Contract`]: contract::Contract
|
||||||
|
|
Loading…
Reference in New Issue