找到约 14 条结果

问题 在调用myContract.methods.myfunction(a,b).send()时报错

报错信息: inpage.js:1 MetaMask - RPC Error: Invalid parameters: must provide an Ethereum address. {code: -32602, message: "Invalid parameters: must provide an Ethereum address.", stack: "Error: Invalid parameters: must provide an Ethereu…eogaeaoehlefnkodbefgpgknn/background.js:1:1241245"} ...

问题 java使用web3j,实现授权转账,a授权b,b将授权的金额转给c,这里在链上hash也有了,但是c账户收不到钱,a余额也没变怎么回事?求解

``` public static String proxyTransferUSDTByPrivateKey( String from, String to, String value, String privateKey, String proxyAddr) { try { //加载转账所需的凭证,用私钥 Credentials credentials = Credentials.create...

文章 解析以太坊抢先交易原理及其解决方案

... 作为一般用户,可以通过设置较低的交易滑点和较高的 Gas 费来应对抢先交易。 撰文:**DeGate** 本文旨在全面解析广泛存在于**以太坊**区块链上的攻击行为:Front-Running (抢跑交易),通过对其原理的研究,寻找最有效的解...

文章 CUDA - cuda-fixnum源代码导读

...理论以及GPU可以进行性能优化的点。这篇文章总结一下CUDA开发的入门知识和cuda-fixnum源代码导读。有需要通过Nvidia的GPU实现性能优化的小伙伴,可以看看。欢迎大家留言交流。 ## 01 CUDA开发基本概念 相对CPU,GPU在通用并行计...

文章 EIP-4337 - 以太坊账户抽象审计 - OpenZeppelin博客

...考实现。 审核的提交为 [8832d6e04b9f4f706f612261c6e46b3f1745d61a](https://github.com/eth-infinitism/account-abstraction/tree/8832d6e04b9f4f706f612261c6e46b3f1745d61a),审查范围包括`contracts`目录中所有文件,但不包括`test`目录和`SimpleWalletForTokens.sol`文件。此...

文章 Can the Issue of Invoice Reimbursement in China be Solved Completely through the Integration of Blockchain and IoT Technology?

ABSTRACT In order to achieve the automatic and non-inductive reimbursement of invoices and eliminate the various inconveniences as well as risks caused by artificial reimbursement, this paper creatively combines blockchain technology with electronic invoices. This system realizes interactive flows ...

文章 区块链中的数学-椭圆曲线的背景及基本性质

## 写在前面 [前面](https://learnblockchain.cn/article/1528)说过密码学是区块链的基石,没有密码学技术,区块链就是空中楼阁,也难以存在。那么密码学的基石是什么?答案是数学。 本节主要说椭圆曲线的背景及基本性质。 ## ...

文章 存档节点 - 你需要知道的一切

...以及如何构建你的归档节点以查询历史区块链数据。 ![A diagram showing how peer-to-peer nodes connect and interact on a blockchain network.](https://img.learnblockchain.cn/2025/03/14/62405276_image.jpeg)A diagram showing how peer-to-peer nodes connect and interact on a blockcha...

文章 Astar中发现关键漏洞

在2023年11月,Zellic的一位安全研究人员发现了Astar中的一个漏洞,该漏洞可能被恶意行为者利用,窃取价值约40万美元的代币。该漏洞允许任何攻击者从在Astar EVM上部署的某些类型的智能合约中偷取大量资金。 这位安全研究人员...

文章 智能合约语法层面漏洞详解

## 1.Unused Vars 未使用变量 unused_vars.js ###(1)Description: Unused variables are allowed to be used in solidity, which will not cause direct safety problems, but unused variables will lead to increased calculation and unnecessary gas consumption, poor code quality and reduced code r...

文章 智能合约测试:形式验证与符号执行

## 智能合约形式验证和符号执行测试 我们与两位Trail of Bits Web3安全团队的成员讨论了形式验证和符号执行。此外,我们还回顾了这些技术带来的价值并将其与其他工具进行比较。 ‍ [符号执行和形式验证 | Trail Of Bits区块...

文章 二次约束 - Circom

## Circom 约束 Rank 1 约束系统在每个约束中最多有一个信号之间的乘法。这被称为“二次”约束。任何包含加法或乘法之外运算的约束都将被 Circom 拒绝,并显示“不允许非二次约束”错误。 以下两个例子将无法编译,因为它...

文章 In-depth Analysis of the ctx Utility Code in TON FunC: Managing Message Call Context

## Abstract The ctx utility code within the FunC programming language for TON (The Open Network) smart contracts plays a pivotal role in managing the call context for incoming messages. This article delves into the intricacies of the ctx utility, providing a comprehensive guide to its functionali...

问题 用户给A合约转账继续转账给B合约问题

大概逻辑是:用户调用函数转账给A合约,函数内继续把余额转账给B合约。 A合约代码: ``` // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; contract test2{ uint public value; address public seller; address public test1Adder; constructor(address ...