Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add app and evm data #9090

Merged
merged 16 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add analyzer configuration for unoswap function in EVM chain
  • Loading branch information
0xnekoya committed Jan 9, 2025
commit fb82c5b1305474137be7e1384329f76819920328
99 changes: 99 additions & 0 deletions evms/analyzers/0x83800a8e.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
[
{
"example": {
"chainId": 1,
"hash": "0x4fb3f74eb129404ac8ac9e9d59bcb9716abefe82e95af8fe7b3655536dd649fa",
"addresses": ["0x840b924613f78b4d5f243552ca0c9557288d7614"]
},
"condition": {
"related": {
"type": "array-in",
"values": [
{
"type": "from"
}
]
},
"value": {
"type": "between",
"max": "0"
},
"function": {
"id": "0x83800a8e",
"interface": "unoswap(uint256, uint256, uint256, uint256)"
},
"logs": {
"type": "some",
"patterns": [
{
"signature": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"indexedCount": 2,
"args": [
{
"index": 0,
"value": {
"type": "from"
}
}
],
"count": {
"type": "between",
"min": "1",
"max": "1"
}
},
{
"signature": "0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65",
"indexedCount": 1,
"count": {
"type": "between",
"min": "1",
"max": "1"
}
}
]
}
},
"generators": [
{
"type": "trade",
"transfers": [
{
"type": "internal",
"direction": "in",
"from": {
"type": "array-in",
"not": true,
"values": ["related"]
},
"to": {
"type": "array-in",
"values": ["related"]
},
"value": {
"type": "between",
"min": "1"
}
},
{
"type": "erc20",
"direction": "out",
"from": {
"type": "array-in",
"values": ["related"]
},
"to": {
"type": "array-in",
"not": true,
"values": ["related"]
},
"amount": {
"type": "between",
"min": "1"
}
}
]
}
]
}
]
Loading
Loading