Skip to content

Commit

Permalink
feat(#major); gaurda-staking; add subgraph (#2619)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruv-chauhan authored Sep 9, 2024
1 parent 85ce3e7 commit eaac2ef
Show file tree
Hide file tree
Showing 83 changed files with 14,805 additions and 0 deletions.
34 changes: 34 additions & 0 deletions deployment/deployment.json
Original file line number Diff line number Diff line change
Expand Up @@ -12356,5 +12356,39 @@
}
}
}
},
"gaurda-staking": {
"schema": "generic",
"base": "gaurda-staking",
"protocol": "gaurda-staking",
"project": "gaurda-staking",
"deployments": {
"gaurda-staking-ethereum": {
"network": "ethereum",
"status": "prod",
"versions": {
"schema": "3.0.0",
"subgraph": "1.0.0",
"methodology": "1.0.0"
},
"files": {
"template": "gaurda-staking.template.yaml"
},
"options": {
"prepare:yaml": true,
"prepare:constants": true
},
"services": {
"hosted-service": {
"slug": "gaurda-staking-ethereum",
"query-id": "gaurda-staking-ethereum"
},
"decentralized-network": {
"slug": "gaurda-staking-ethereum",
"query-id": "todo"
}
}
}
}
}
}
4 changes: 4 additions & 0 deletions subgraphs/gaurda-staking/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.DS_Store
configure.ts
docs/
package-lock.json
20 changes: 20 additions & 0 deletions subgraphs/gaurda-staking/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Gaurda Staking Subgraph

## Methodology v1.0.0

## Metrics

### Usage and Transactions

### TVL

### Fees

### Revenue

## Useful Links

- Landing Page:
- Staking App:
- Docs:
- Contracts:
287 changes: 287 additions & 0 deletions subgraphs/gaurda-staking/abis/GETH/GETH.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,287 @@
[
{
"constant": true,
"inputs": [],
"name": "name",
"outputs": [{ "name": "", "type": "string" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{ "name": "spender", "type": "address" },
{ "name": "value", "type": "uint256" }
],
"name": "approve",
"outputs": [{ "name": "", "type": "bool" }],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "totalSupply",
"outputs": [{ "name": "", "type": "uint256" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{ "name": "from", "type": "address" },
{ "name": "to", "type": "address" },
{ "name": "value", "type": "uint256" }
],
"name": "transferFrom",
"outputs": [{ "name": "", "type": "bool" }],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{ "name": "recipients", "type": "address[]" },
{ "name": "amounts", "type": "uint256[]" }
],
"name": "multiMint",
"outputs": [{ "name": "", "type": "bool" }],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "decimals",
"outputs": [{ "name": "", "type": "uint8" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{ "name": "spender", "type": "address" },
{ "name": "addedValue", "type": "uint256" }
],
"name": "increaseAllowance",
"outputs": [{ "name": "", "type": "bool" }],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "unpause",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{ "name": "account", "type": "address" },
{ "name": "amount", "type": "uint256" }
],
"name": "mint",
"outputs": [{ "name": "", "type": "bool" }],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [{ "name": "account", "type": "address" }],
"name": "isPauser",
"outputs": [{ "name": "", "type": "bool" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "paused",
"outputs": [{ "name": "", "type": "bool" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "renouncePauser",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [{ "name": "account", "type": "address" }],
"name": "balanceOf",
"outputs": [{ "name": "", "type": "uint256" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [{ "name": "account", "type": "address" }],
"name": "addPauser",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "pause",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "symbol",
"outputs": [{ "name": "", "type": "string" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [{ "name": "account", "type": "address" }],
"name": "addMinter",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "renounceMinter",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{ "name": "spender", "type": "address" },
{ "name": "subtractedValue", "type": "uint256" }
],
"name": "decreaseAllowance",
"outputs": [{ "name": "", "type": "bool" }],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{ "name": "to", "type": "address" },
{ "name": "value", "type": "uint256" }
],
"name": "transfer",
"outputs": [{ "name": "", "type": "bool" }],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [{ "name": "account", "type": "address" }],
"name": "isMinter",
"outputs": [{ "name": "", "type": "bool" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{ "name": "owner", "type": "address" },
{ "name": "spender", "type": "address" }
],
"name": "allowance",
"outputs": [{ "name": "", "type": "uint256" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "name": "initialSupply", "type": "uint256" }],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [{ "indexed": true, "name": "account", "type": "address" }],
"name": "MinterAdded",
"type": "event"
},
{
"anonymous": false,
"inputs": [{ "indexed": true, "name": "account", "type": "address" }],
"name": "MinterRemoved",
"type": "event"
},
{
"anonymous": false,
"inputs": [{ "indexed": false, "name": "account", "type": "address" }],
"name": "Paused",
"type": "event"
},
{
"anonymous": false,
"inputs": [{ "indexed": false, "name": "account", "type": "address" }],
"name": "Unpaused",
"type": "event"
},
{
"anonymous": false,
"inputs": [{ "indexed": true, "name": "account", "type": "address" }],
"name": "PauserAdded",
"type": "event"
},
{
"anonymous": false,
"inputs": [{ "indexed": true, "name": "account", "type": "address" }],
"name": "PauserRemoved",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{ "indexed": true, "name": "from", "type": "address" },
{ "indexed": true, "name": "to", "type": "address" },
{ "indexed": false, "name": "value", "type": "uint256" }
],
"name": "Transfer",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{ "indexed": true, "name": "owner", "type": "address" },
{ "indexed": true, "name": "spender", "type": "address" },
{ "indexed": false, "name": "value", "type": "uint256" }
],
"name": "Approval",
"type": "event"
}
]
Loading

0 comments on commit eaac2ef

Please sign in to comment.