-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Description
Hello sirs.
When I try to execute the run.rs script (the backtest one), the return is always "not a buy tx", probably because they changed the contract address and even changing it to the new one in the code, it probably won't pass the conditional below because they changed the token purchase method in the new contract.
Conditional:
if !tx.input.starts_with(&hex!("3deec419")) || tx.input.len() != 4 + 32 * 3 {
return Err();
}
New contract address:
0x1de460f363AF910f51726DEf188F9004276Bf4bc
New buy token method:
Function: buyMemeToken(address tokenManager,address token,address recipient,uint256 funds,uint256 minAmount)
MethodID: 0x7771fdb0
[0]: 0000000000000000000000005c952063c7fc8610ffdb798152d69f0b9550762b
[1]: 00000000000000000000000098d4fabc378a6bf50f620e7c7b67e701be8e5b62
[2]: 000000000000000000000000577ca8eda209a3753a5a38d0fb98b80b4b17a4e1
[3]: 0000000000000000000000000000000000000000000000000023e2d0aef17eb6
[4]: 00000000000000000000000000000000000000000000b53fbffca8f985734900
Could you guys help with this, please?
Metadata
Metadata
Assignees
Labels
No labels