Created
January 6, 2024 02:19
-
-
Save kamescg/b1981cca0e5057c6c3a685069a498494 to your computer and use it in GitHub Desktop.
Money Market Set
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Money Market Set", | |
"timestamp": "2023-09-08T19:28:15.497Z", | |
"version": { | |
"major": 1, | |
"minor": 0, | |
"patch": 0 | |
}, | |
"tags": {}, | |
"logoURI": "ipfs://QmNa8mQkrNKp1WEEeGjFezDmDeodkWRevGFN8JCV7b4Xir", | |
"keywords": [ | |
"protocols", | |
"actions" | |
], | |
"protocols": [ | |
{ | |
"id": "aaveV3", | |
"category": "money-market", | |
"alias": "aaveV3", | |
"name": "Aave", | |
"keywords": [ | |
"aave", | |
"lending", | |
"borrowing" | |
], | |
"description": "Aave is a decentralized money market protocol where users can lend and borrow crypto assets.", | |
"website": "https://aave.com", | |
"logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9/logo.png", | |
"data": [ | |
{ | |
"type": "apy-historical", | |
"source": "api", | |
"action": "read", | |
"description": "The current APY for supplying tokens to the Aave money market.", | |
"url": "https://app.districtlabs.io/api/aave-v3/apy/$chainId/$token", | |
"inputs": [ | |
{ | |
"name": "chainId", | |
"type": "number" | |
}, | |
{ | |
"name": "token", | |
"type": "address" | |
} | |
] | |
}, | |
{ | |
"type": "apy", | |
"source": "onchain", | |
"description": "The current APY for supplying tokens to the Aave money market.", | |
"chains": { | |
"1": "0x0000000000000000000000000000000000000000", | |
"10": "0x0000000000000000000000000000000000000000" | |
}, | |
"functionSignature": "apy(address)", | |
"inputs": [ | |
{ | |
"name": "asset", | |
"type": "address" | |
} | |
] | |
}, | |
{ | |
"type": "utilization", | |
"source": "api", | |
"action": "read", | |
"description": "The current utilization for supplying tokens to the Aave money market.", | |
"url": "https://app.districtlabs.io/api/aave-v3/utilization/$chainId/$token" | |
} | |
], | |
"actions": [ | |
{ | |
"type": "exit", | |
"name": "Withdraw", | |
"description": "Withdraw tokens from the Aave money market.", | |
"chains": { | |
"1": "0x0000000000000000000000000000000000000000", | |
"10": "0x0000000000000000000000000000000000000000" | |
}, | |
"functionSignature": "withdraw(address,uint256)", | |
"inputs": [ | |
{ | |
"name": "asset", | |
"type": "address" | |
}, | |
{ | |
"name": "amount", | |
"type": "uint256" | |
} | |
], | |
"details": [ | |
{ | |
"name": "asset", | |
"label": "Asset", | |
"description": "The asset to be deposited" | |
}, | |
{ | |
"name": "amount", | |
"label": "Amount", | |
"description": "The amount to be deposited" | |
} | |
] | |
}, | |
{ | |
"type": "enter", | |
"name": "Deposit", | |
"description": "Supply tokens to the Aave money market.", | |
"chains": { | |
"1": "0x0000000000000000000000000000000000000000", | |
"10": "0x0000000000000000000000000000000000000000" | |
}, | |
"functionSignature": "deposit(address,uint256,address,uint16)", | |
"inputs": [ | |
{ | |
"name": "asset", | |
"type": "address" | |
}, | |
{ | |
"name": "amount", | |
"type": "uint256" | |
}, | |
{ | |
"name": "onBehalfOf", | |
"type": "address" | |
}, | |
{ | |
"name": "referralCode", | |
"type": "uint16" | |
} | |
], | |
"details": [ | |
{ | |
"name": "asset", | |
"label": "Asset", | |
"description": "The asset to be deposited" | |
}, | |
{ | |
"name": "amount", | |
"label": "Amount", | |
"description": "The amount to be deposited" | |
}, | |
{ | |
"name": "onBehalfOf", | |
"label": "On Behalf Of", | |
"description": "The address that will receive control the deposited tokens" | |
}, | |
{ | |
"name": "referralCode", | |
"label": "Referral Code", | |
"description": "The referral code to be used" | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment