找到约 13 条结果

文章 深入理解EVM系统(1)

...[7.png](https://img.learnblockchain.cn/attachments/2022/03/N3fv7eK96243ae79a3f11.png!/scale/60) `PUSH4` 将`retrieve() (0x2e64cec1) `的4 字节函数签名推入调用栈。 如果你想知道它是如何知道这个值的,请记住这是在从solidity 代码编译的字节码中。因此...

文章 如何获取以太坊上的代币、交易、元数据、NFT 和价格

...Balance({ "chain": "0x1", "address": "0xDC24316b9AE028F1497c275EB9192a3Ea0f67022" }); ``` * `getWalletTokenBalances() `– 获取任意钱包的 ERC-20 代币余额: ```js const response = await Moralis.EvmApi.token.getWalletTokenBalances({ "chain": "0x1", "address": "0x1f9...

文章 通过逆向和调试深入EVM #6 - 完整的智能合约布局

...4 009F 57 *JUMPI 00A0 60 PUSH1 0x00 00A2 80 DUP1 00A3 FD *REVERT 00A4 5B JUMPDEST 00A5 81 DUP2 ... ``` 在0x9F和0xA4之间有一个条件,使用与之前相同的布局。 但是如果我们继续下去,在**0xB5**有一个奇怪的东西,有一...

文章 Foundry教程:使用多种方式编写可升级的智能合约(下)

...k256("PROXIABLE")`值,即`0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7`,该值其实可以有开发者自行决定。但在`EIP-1967`中,为了方便区块链浏览器的访问,该地址被标准化为`keccak256('eip1967.proxy.implementation') - 1`,即`0x360894a13ba1a...

文章 golang 实现区块链(Bitcoin)系列2 - 工作量证明

... Mining the block containing "Genesis Block" 00000041662c5fc2883535dc19ba8a33ac993b535da9899e593ff98e1eda56a1 Mining the block containing "Send 1 BTC to Ivan" 00000077a856e697c69833d9effb6bdad54c730a98d674f73c0b30020cc82804 Mining the block containing "Send 2 more BTC to Ivan" 000000b33185e...

文章 客户端验证EIP

...000961ef480eb55e80d19ad83579a64c007002" } }, "nextHash": "1c6a3b9f" } } ``` ## 参考实现 [Besu 中的示例实现](https://github.com/hyperledger/besu/pull/8417) ## 安全考虑事项 - **暴露风险**:不正确的配置可能会泄露操作细节。运营商**应该**将 ...

文章 使用Solidity和IPFS存储DApp

...[upload_test_example.js](https://gist.github.com/MCarlomagno/434564499b2a7ea3a4640d3005544155#file-upload_test_example-js) ```js it("uploads a valid file", async () => { // checks filecount variable // before uploading the file const countBeforeUpload = await this.contract.fileCo...

文章 都2023年了,为什么还有因为这种漏洞而损失50w美金的代码?

...D44CAE8F9b809396E0931F9Df71CA); IERC20 constant ecio = IERC20(0x327A3e880bF2674Ee40b6f872be2050Ed406b021); IERC20 constant busd = IERC20(0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56); IUniswapV2Router constant pancakeRouter = IUniswapV2Router(payable(0x10ED43C718714eb63d5aA57B7...

文章 [译]使用Eventeum监听以太坊合约事件

...-cache' \ -H 'Content-Type: application/json' \ -H 'Postman-Token: 616712a3-bf11-bbf5-b4ac-b82835779d51' \ -d '{ "id": "Country", "contractAddress": "ENTER_YOUR_CONTRACT_ADDRESS_CHECK_IN_REMIX", "eventSpecification": { "eventName": "CountryEvent", "nonIndexedParameterDefinitions": [ ...

文章 设计与产品

...tps://developerdao.notion.site/Hacer-lista-de-amigos-p-launch-7bb7b1396e3a4a3fa3f58590b27cb366?pvs=25) [Web3Con Part 2](https://developerdao.notion.site/Web3Con-Part-2-de37e56a94d54337bcae1cc65785e501?pvs=25) [![📄]()\\ \\ 项目模板](https://developerdao.notion.site/Project-Template-a565d85d4...

文章 bonding curve 数学:从理论到 Pump Fun

... ![](https://img.learnblockchain.cn/2025/10/28/Fa0c8dacd-bab2-4ecb-8894-a3f4d65a5edc_2302x670.png) - `owner` → 负责设置配置的协议所有者。 - `tokens_to_sell ` → 通过联合曲线出售的代币总数(例如,8 亿)。 - `total_tokens_to_mint` → 要铸造的代币总数,...

文章 如何在Solana去中心化应用程序中连接你的MetaMask钱包

...![授权](https://img.learnblockchain.cn/2025/03/03/authorize-d7676348d4690a3f6d5dede68b8f823b.png) 注意安全 一如既往,保持良好的安全习惯,仅授权来自可信来源的 Snaps。MetaMask 和 Solflare 提供了 Solana Snap 的审计,你可以在 [这里](https://consensys.io/di...

文章 Thanos开发故事 — 5

...tps://gist.github.com/AaronLee22/6c83b7d736f6e93f5ba2f01ac80e6068/raw/f010ea32f70bbcc7deb20b92369ceea89fe6672c/92442f5406fcbe3078bfa00f02b4fc3d.json) [92442f5406fcbe3078bfa00f02b4fc3d.json](https://gist.github.com/AaronLee22/6c83b7d736f6e93f5ba2f01ac80e6068#file-92442f5406fcbe3078bfa00f02b4fc3d-json...