Skip to content

Commit

Permalink
Merge pull request #201 from taikoxyz/TP-637--avalon-claim
Browse files Browse the repository at this point in the history
TP-637--avalon-claim
  • Loading branch information
myronrotter authored Feb 7, 2025
2 parents fbc6860 + 9b72c92 commit d9c3fef
Show file tree
Hide file tree
Showing 10 changed files with 481 additions and 99 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/contracts
27 changes: 27 additions & 0 deletions abi/avalon_claim.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[
{
"inputs": [
{
"internalType": "address",
"name": "user",
"type": "address",
"indexed": true
},
{
"internalType": "uint256",
"name": "avlAmount",
"type": "uint256",
"indexed": false
},
{
"internalType": "uint256",
"name": "usdaAmount",
"type": "uint256",
"indexed": false
}
],
"type": "event",
"name": "Claimed",
"anonymous": false
}
]
2 changes: 1 addition & 1 deletion abigen.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#/bin/sh

names=("erc20" "ritsu" "izumi" "iziPool" "drips" "symmetric" "balancer_vault" "balancer_token" "robinos" "loopring" "dorahacks_voting")
names=("erc20" "ritsu" "izumi" "iziPool" "drips" "symmetric" "balancer_vault" "balancer_token" "robinos" "loopring" "dorahacks_voting" "avalon_claim")

for (( i = 0; i < ${#names[@]}; ++i ));
do
Expand Down
31 changes: 31 additions & 0 deletions adapters/contracts/avalon_claim/abi.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
package avalon_claim

var ABI = `
[
{
"inputs": [
{
"internalType": "address",
"name": "user",
"type": "address",
"indexed": true
},
{
"internalType": "uint256",
"name": "avlAmount",
"type": "uint256",
"indexed": false
},
{
"internalType": "uint256",
"name": "usdaAmount",
"type": "uint256",
"indexed": false
}
],
"type": "event",
"name": "Claimed",
"anonymous": false
}
]
`
327 changes: 327 additions & 0 deletions adapters/contracts/avalon_claim/avalon_claim.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d9c3fef

Please sign in to comment.