...eppelin/contracts/token/ERC20/IERC20.sol";
// This is a HIGHLY simplified and INSECURE example. DO NOT USE IN PRODUCTION.
// 这是一个**高度简化**且**不安全**的例子。**不要**在生产环境中使用。
contract BasicBridge {
// The address of the token on the current blockch...
... blocks.
let sub = provider.subscribe_blocks().await?;
// Wait and take the next 4 blocks.
let mut stream = sub.into_stream().take(4);
// let mut stream = sub.into_stream();
println!("Awaiting block headers...");
// Take the stream and print the block number upon ...