摘要: 1.solidity实现: 1.1.引入eip712合约: // SPDX-License-Identifier: MIT pragma solidity ^ 0.8.0; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a 阅读全文
posted @ 2024-06-16 23:34 若-飞 阅读(141) 评论(0) 推荐(0)
摘要: 直接上代码: // SPDX-License-Identifier: MIT pragma solidity ^ 0.8.0; abstract contract EIP712 { event LogValues(bytes32 domainSeparator, bytes32 structHash 阅读全文
posted @ 2024-06-16 23:24 若-飞 阅读(33) 评论(0) 推荐(0)