Skip to content

Commit

Permalink
[Gauntlet] Add Morpho Optimizer contract events (#681)
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

* add aavev2 optimizer

* add morpho optimizer events
  • Loading branch information
alifier authored Mar 1, 2024
1 parent 95cf2d8 commit 319bd90
Show file tree
Hide file tree
Showing 41 changed files with 1,730 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"components": [
{
"internalType": "uint64",
"name": "supply",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "borrow",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "withdraw",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "repay",
"type": "uint64"
}
],
"indexed": false,
"internalType": "struct Types.MaxGasForMatching",
"name": "_defaultMaxGasForMatching",
"type": "tuple"
}
],
"name": "DefaultMaxGasForMatchingSet",
"type": "event"
},
"contract_address": "0x777777c9898d384f785ee44acfe945efdff5f3e0",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "morpho",
"schema": [
{
"description": "",
"fields": [
{
"description": "",
"name": "supply",
"type": "STRING"
},
{
"description": "",
"name": "borrow",
"type": "STRING"
},
{
"description": "",
"name": "withdraw",
"type": "STRING"
},
{
"description": "",
"name": "repay",
"type": "STRING"
}
],
"name": "_defaultMaxGasForMatching",
"type": "RECORD"
}
],
"table_description": "",
"table_name": "MorphoAaveV2Optimizer_event_DefaultMaxGasForMatchingSet"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_entryPositionsManager",
"type": "address"
}
],
"name": "EntryPositionsManagerSet",
"type": "event"
},
"contract_address": "0x777777c9898d384f785ee44acfe945efdff5f3e0",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "morpho",
"schema": [
{
"description": "",
"name": "_entryPositionsManager",
"type": "STRING"
}
],
"table_description": "",
"table_name": "MorphoAaveV2Optimizer_event_EntryPositionsManagerSet"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_exitPositionsManager",
"type": "address"
}
],
"name": "ExitPositionsManagerSet",
"type": "event"
},
"contract_address": "0x777777c9898d384f785ee44acfe945efdff5f3e0",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "morpho",
"schema": [
{
"description": "",
"name": "_exitPositionsManager",
"type": "STRING"
}
],
"table_description": "",
"table_name": "MorphoAaveV2Optimizer_event_ExitPositionsManagerSet"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_interestRatesManager",
"type": "address"
}
],
"name": "InterestRatesSet",
"type": "event"
},
"contract_address": "0x777777c9898d384f785ee44acfe945efdff5f3e0",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "morpho",
"schema": [
{
"description": "",
"name": "_interestRatesManager",
"type": "STRING"
}
],
"table_description": "",
"table_name": "MorphoAaveV2Optimizer_event_InterestRatesSet"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_poolToken",
"type": "address"
},
{
"indexed": false,
"internalType": "bool",
"name": "_isPaused",
"type": "bool"
}
],
"name": "IsBorrowPausedSet",
"type": "event"
},
"contract_address": "0x777777c9898d384f785ee44acfe945efdff5f3e0",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "morpho",
"schema": [
{
"description": "",
"name": "_poolToken",
"type": "STRING"
},
{
"description": "",
"name": "_isPaused",
"type": "STRING"
}
],
"table_description": "",
"table_name": "MorphoAaveV2Optimizer_event_IsBorrowPausedSet"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_poolToken",
"type": "address"
},
{
"indexed": false,
"internalType": "bool",
"name": "_isDeprecated",
"type": "bool"
}
],
"name": "IsDeprecatedSet",
"type": "event"
},
"contract_address": "0x777777c9898d384f785ee44acfe945efdff5f3e0",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "morpho",
"schema": [
{
"description": "",
"name": "_poolToken",
"type": "STRING"
},
{
"description": "",
"name": "_isDeprecated",
"type": "STRING"
}
],
"table_description": "",
"table_name": "MorphoAaveV2Optimizer_event_IsDeprecatedSet"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_poolToken",
"type": "address"
},
{
"indexed": false,
"internalType": "bool",
"name": "_isPaused",
"type": "bool"
}
],
"name": "IsLiquidateBorrowPausedSet",
"type": "event"
},
"contract_address": "0x777777c9898d384f785ee44acfe945efdff5f3e0",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "morpho",
"schema": [
{
"description": "",
"name": "_poolToken",
"type": "STRING"
},
{
"description": "",
"name": "_isPaused",
"type": "STRING"
}
],
"table_description": "",
"table_name": "MorphoAaveV2Optimizer_event_IsLiquidateBorrowPausedSet"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_poolToken",
"type": "address"
},
{
"indexed": false,
"internalType": "bool",
"name": "_isPaused",
"type": "bool"
}
],
"name": "IsLiquidateCollateralPausedSet",
"type": "event"
},
"contract_address": "0x777777c9898d384f785ee44acfe945efdff5f3e0",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "morpho",
"schema": [
{
"description": "",
"name": "_poolToken",
"type": "STRING"
},
{
"description": "",
"name": "_isPaused",
"type": "STRING"
}
],
"table_description": "",
"table_name": "MorphoAaveV2Optimizer_event_IsLiquidateCollateralPausedSet"
}
}
Loading

0 comments on commit 319bd90

Please sign in to comment.