-
-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Gauntlet] Add Metamorpho Vault events (#680)
* 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
Showing
40 changed files
with
1,817 additions
and
0 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_AccrueInterest.json
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
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" | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_Approval.json
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
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" | ||
} | ||
} |
65 changes: 65 additions & 0 deletions
65
dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_Deposit.json
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
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" | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...resources/stages/parse/table_definitions/morpho/MetaMorpho_event_EIP712DomainChanged.json
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
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" | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
...rces/stages/parse/table_definitions/morpho/MetaMorpho_event_OwnershipTransferStarted.json
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
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" | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
...esources/stages/parse/table_definitions/morpho/MetaMorpho_event_OwnershipTransferred.json
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
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" | ||
} | ||
} |
65 changes: 65 additions & 0 deletions
65
dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_ReallocateSupply.json
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
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" | ||
} | ||
} |
Oops, something went wrong.