Skip to content

Commit

Permalink
[Gauntlet] Add Metamorpho Vault events (#680)
Browse files Browse the repository at this point in the history
* add morpho contract

* add morpho blue

* add borrow rate update and rewards emission set

* add metamorpho factory

* add metamorpho vault events

* add supplyVault events

* make address lower case
  • Loading branch information
alifier authored Mar 1, 2024
1 parent 8a9a1e8 commit 95cf2d8
Show file tree
Hide file tree
Showing 40 changed files with 1,817 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "newTotalAssets",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "feeShares",
"type": "uint256"
}
],
"name": "AccrueInterest",
"type": "event"
},
"contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "morpho",
"schema": [
{
"description": "",
"name": "newTotalAssets",
"type": "STRING"
},
{
"description": "",
"name": "feeShares",
"type": "STRING"
}
],
"table_description": "",
"table_name": "MetaMorpho_event_AccrueInterest"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
"contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "morpho",
"schema": [
{
"description": "",
"name": "owner",
"type": "STRING"
},
{
"description": "",
"name": "spender",
"type": "STRING"
},
{
"description": "",
"name": "value",
"type": "STRING"
}
],
"table_description": "",
"table_name": "MetaMorpho_event_Approval"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "assets",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "shares",
"type": "uint256"
}
],
"name": "Deposit",
"type": "event"
},
"contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "morpho",
"schema": [
{
"description": "",
"name": "sender",
"type": "STRING"
},
{
"description": "",
"name": "owner",
"type": "STRING"
},
{
"description": "",
"name": "assets",
"type": "STRING"
},
{
"description": "",
"name": "shares",
"type": "STRING"
}
],
"table_description": "",
"table_name": "MetaMorpho_event_Deposit"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [],
"name": "EIP712DomainChanged",
"type": "event"
},
"contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "morpho",
"schema": [],
"table_description": "",
"table_name": "MetaMorpho_event_EIP712DomainChanged"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferStarted",
"type": "event"
},
"contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "morpho",
"schema": [
{
"description": "",
"name": "previousOwner",
"type": "STRING"
},
{
"description": "",
"name": "newOwner",
"type": "STRING"
}
],
"table_description": "",
"table_name": "MetaMorpho_event_OwnershipTransferStarted"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event"
},
"contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "morpho",
"schema": [
{
"description": "",
"name": "previousOwner",
"type": "STRING"
},
{
"description": "",
"name": "newOwner",
"type": "STRING"
}
],
"table_description": "",
"table_name": "MetaMorpho_event_OwnershipTransferred"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "caller",
"type": "address"
},
{
"indexed": true,
"internalType": "Id",
"name": "id",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "suppliedAssets",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "suppliedShares",
"type": "uint256"
}
],
"name": "ReallocateSupply",
"type": "event"
},
"contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "morpho",
"schema": [
{
"description": "",
"name": "caller",
"type": "STRING"
},
{
"description": "",
"name": "id",
"type": "STRING"
},
{
"description": "",
"name": "suppliedAssets",
"type": "STRING"
},
{
"description": "",
"name": "suppliedShares",
"type": "STRING"
}
],
"table_description": "",
"table_name": "MetaMorpho_event_ReallocateSupply"
}
}
Loading

0 comments on commit 95cf2d8

Please sign in to comment.