This commit is contained in:
2026-02-24 16:44:47 +08:00
parent ae33e0ec07
commit e39529984d
7 changed files with 13 additions and 5 deletions

View File

@@ -1,6 +1,10 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
// forge script scripts/test.s.sol:TestFun \
// --fork-url https://data-seed-prebsc-1-s1.binance.org:8545 \
// -vvvvv
import "forge-std/Script.sol";
import "forge-std/console.sol";
@@ -8,9 +12,9 @@ contract TestFun is Script {
function run() external {
address from = 0xa013422A5918CD099C63c8CC35283EACa99a705d;
address to = 0x51eEF57eC57c867AC23945f0ce21aA5A9a2C246c;
address to = 0xfdbFD4656b74aD16F23264121eD9F58219f5C3Cf;
bytes memory data = hex"925a9aef0000000000000000000000005d91fd16fa85547b0784c377a47bf7706d7875d3000000000000000000000000333805c9ee75f59aa2cc79dfde2499f920c7b408000000000000000000000000000000000000000000000001c9f78d2893e400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a013422a5918cd099c63c8cc35283eaca99a705d";
bytes memory data = hex"2e1a7d4d000000000000000000000000000000000000000000000005f68e8131ecf80000";
vm.startPrank(from);