Skip to content

Commit

Permalink
predicates
Browse files Browse the repository at this point in the history
  • Loading branch information
pradel committed Mar 30, 2024
1 parent 28b983b commit 7d65c2f
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
23 changes: 23 additions & 0 deletions chainhooks/velar/univ2-router.add-liquidity.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"chain": "stacks",
"uuid": "1",
"name": "univ2-router.add-liquidity",
"version": 1,
"networks": {
"mainnet": {
"if_this": {
"scope": "contract_call",
"contract_identifier": "SP1Y5YSTAHZ88XYK1VPDH24GY0HPX5J4JECTMY4A1.univ2-router",
"method": "add-liquidity"
},
"then_that": {
"http_post": {
"url": "http://localhost:3000/api/chainhooks/velar/add-liquidity",
"authorization_header": "Bearer dev-api-token"
}
},
"start_block": 138413,
"decode_clarity_values": false
}
}
}
23 changes: 23 additions & 0 deletions chainhooks/velar/univ2-router.remove-liquidity.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"chain": "stacks",
"uuid": "1",
"name": "univ2-router.remove-liquidity",
"version": 1,
"networks": {
"mainnet": {
"if_this": {
"scope": "contract_call",
"contract_identifier": "SP1Y5YSTAHZ88XYK1VPDH24GY0HPX5J4JECTMY4A1.univ2-router",
"method": "remove-liquidity"
},
"then_that": {
"http_post": {
"url": "http://localhost:3000/api/chainhooks/velar/remove-liquidity",
"authorization_header": "Bearer dev-api-token"
}
},
"start_block": 138413,
"decode_clarity_values": false
}
}
}

0 comments on commit 7d65c2f

Please sign in to comment.