Skip to content

Commit 76a7dde

Browse files
authored
add public allocator events (#831)
1 parent ba23ff7 commit 76a7dde

File tree

6 files changed

+381
-0
lines changed

6 files changed

+381
-0
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"parser": {
3+
"abi": {
4+
"anonymous": false,
5+
"inputs": [
6+
{
7+
"indexed": true,
8+
"internalType": "address",
9+
"name": "sender",
10+
"type": "address"
11+
},
12+
{
13+
"indexed": true,
14+
"internalType": "address",
15+
"name": "vault",
16+
"type": "address"
17+
},
18+
{
19+
"indexed": true,
20+
"internalType": "Id",
21+
"name": "supplyMarketId",
22+
"type": "bytes32"
23+
},
24+
{
25+
"indexed": false,
26+
"internalType": "uint256",
27+
"name": "suppliedAssets",
28+
"type": "uint256"
29+
}
30+
],
31+
"name": "PublicReallocateTo",
32+
"type": "event"
33+
},
34+
"contract_address": "0xfd32fa2ca22c76dd6e550706ad913fc6ce91c75d",
35+
"field_mapping": {},
36+
"type": "log"
37+
},
38+
"table": {
39+
"dataset_name": "morpho",
40+
"schema": [
41+
{
42+
"description": "",
43+
"name": "sender",
44+
"type": "STRING"
45+
},
46+
{
47+
"description": "",
48+
"name": "vault",
49+
"type": "STRING"
50+
},
51+
{
52+
"description": "",
53+
"name": "supplyMarketId",
54+
"type": "STRING"
55+
},
56+
{
57+
"description": "",
58+
"name": "suppliedAssets",
59+
"type": "STRING"
60+
}
61+
],
62+
"table_description": "",
63+
"table_name": "PublicAllocator_event_PublicReallocateTo"
64+
}
65+
}
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"parser": {
3+
"abi": {
4+
"anonymous": false,
5+
"inputs": [
6+
{
7+
"indexed": true,
8+
"internalType": "address",
9+
"name": "sender",
10+
"type": "address"
11+
},
12+
{
13+
"indexed": true,
14+
"internalType": "address",
15+
"name": "vault",
16+
"type": "address"
17+
},
18+
{
19+
"indexed": true,
20+
"internalType": "Id",
21+
"name": "id",
22+
"type": "bytes32"
23+
},
24+
{
25+
"indexed": false,
26+
"internalType": "uint256",
27+
"name": "withdrawnAssets",
28+
"type": "uint256"
29+
}
30+
],
31+
"name": "PublicWithdrawal",
32+
"type": "event"
33+
},
34+
"contract_address": "0xfd32fa2ca22c76dd6e550706ad913fc6ce91c75d",
35+
"field_mapping": {},
36+
"type": "log"
37+
},
38+
"table": {
39+
"dataset_name": "morpho",
40+
"schema": [
41+
{
42+
"description": "",
43+
"name": "sender",
44+
"type": "STRING"
45+
},
46+
{
47+
"description": "",
48+
"name": "vault",
49+
"type": "STRING"
50+
},
51+
{
52+
"description": "",
53+
"name": "id",
54+
"type": "STRING"
55+
},
56+
{
57+
"description": "",
58+
"name": "withdrawnAssets",
59+
"type": "STRING"
60+
}
61+
],
62+
"table_description": "",
63+
"table_name": "PublicAllocator_event_PublicWithdrawal"
64+
}
65+
}
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"parser": {
3+
"abi": {
4+
"anonymous": false,
5+
"inputs": [
6+
{
7+
"indexed": true,
8+
"internalType": "address",
9+
"name": "sender",
10+
"type": "address"
11+
},
12+
{
13+
"indexed": true,
14+
"internalType": "address",
15+
"name": "vault",
16+
"type": "address"
17+
},
18+
{
19+
"indexed": false,
20+
"internalType": "address",
21+
"name": "admin",
22+
"type": "address"
23+
}
24+
],
25+
"name": "SetAdmin",
26+
"type": "event"
27+
},
28+
"contract_address": "0xfd32fa2ca22c76dd6e550706ad913fc6ce91c75d",
29+
"field_mapping": {},
30+
"type": "log"
31+
},
32+
"table": {
33+
"dataset_name": "morpho",
34+
"schema": [
35+
{
36+
"description": "",
37+
"name": "sender",
38+
"type": "STRING"
39+
},
40+
{
41+
"description": "",
42+
"name": "vault",
43+
"type": "STRING"
44+
},
45+
{
46+
"description": "",
47+
"name": "admin",
48+
"type": "STRING"
49+
}
50+
],
51+
"table_description": "",
52+
"table_name": "PublicAllocator_event_SetAdmin"
53+
}
54+
}
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"parser": {
3+
"abi": {
4+
"anonymous": false,
5+
"inputs": [
6+
{
7+
"indexed": true,
8+
"internalType": "address",
9+
"name": "sender",
10+
"type": "address"
11+
},
12+
{
13+
"indexed": true,
14+
"internalType": "address",
15+
"name": "vault",
16+
"type": "address"
17+
},
18+
{
19+
"indexed": false,
20+
"internalType": "uint256",
21+
"name": "fee",
22+
"type": "uint256"
23+
}
24+
],
25+
"name": "SetFee",
26+
"type": "event"
27+
},
28+
"contract_address": "0xfd32fa2ca22c76dd6e550706ad913fc6ce91c75d",
29+
"field_mapping": {},
30+
"type": "log"
31+
},
32+
"table": {
33+
"dataset_name": "morpho",
34+
"schema": [
35+
{
36+
"description": "",
37+
"name": "sender",
38+
"type": "STRING"
39+
},
40+
{
41+
"description": "",
42+
"name": "vault",
43+
"type": "STRING"
44+
},
45+
{
46+
"description": "",
47+
"name": "fee",
48+
"type": "STRING"
49+
}
50+
],
51+
"table_description": "",
52+
"table_name": "PublicAllocator_event_SetFee"
53+
}
54+
}
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"parser": {
3+
"abi": {
4+
"anonymous": false,
5+
"inputs": [
6+
{
7+
"indexed": true,
8+
"internalType": "address",
9+
"name": "sender",
10+
"type": "address"
11+
},
12+
{
13+
"indexed": true,
14+
"internalType": "address",
15+
"name": "vault",
16+
"type": "address"
17+
},
18+
{
19+
"components": [
20+
{
21+
"internalType": "Id",
22+
"name": "id",
23+
"type": "bytes32"
24+
},
25+
{
26+
"components": [
27+
{
28+
"internalType": "uint128",
29+
"name": "maxIn",
30+
"type": "uint128"
31+
},
32+
{
33+
"internalType": "uint128",
34+
"name": "maxOut",
35+
"type": "uint128"
36+
}
37+
],
38+
"internalType": "struct FlowCaps",
39+
"name": "caps",
40+
"type": "tuple"
41+
}
42+
],
43+
"indexed": false,
44+
"internalType": "struct FlowCapsConfig[]",
45+
"name": "config",
46+
"type": "tuple[]"
47+
}
48+
],
49+
"name": "SetFlowCaps",
50+
"type": "event"
51+
},
52+
"contract_address": "0xfd32fa2ca22c76dd6e550706ad913fc6ce91c75d",
53+
"field_mapping": {},
54+
"type": "log"
55+
},
56+
"table": {
57+
"dataset_name": "morpho",
58+
"schema": [
59+
{
60+
"description": "",
61+
"name": "sender",
62+
"type": "STRING"
63+
},
64+
{
65+
"description": "",
66+
"name": "vault",
67+
"type": "STRING"
68+
},
69+
{
70+
"description": "",
71+
"name": "config",
72+
"type": "STRING"
73+
}
74+
],
75+
"table_description": "",
76+
"table_name": "PublicAllocator_event_SetFlowCaps"
77+
}
78+
}
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"parser": {
3+
"abi": {
4+
"anonymous": false,
5+
"inputs": [
6+
{
7+
"indexed": true,
8+
"internalType": "address",
9+
"name": "sender",
10+
"type": "address"
11+
},
12+
{
13+
"indexed": true,
14+
"internalType": "address",
15+
"name": "vault",
16+
"type": "address"
17+
},
18+
{
19+
"indexed": false,
20+
"internalType": "uint256",
21+
"name": "amount",
22+
"type": "uint256"
23+
},
24+
{
25+
"indexed": true,
26+
"internalType": "address",
27+
"name": "feeRecipient",
28+
"type": "address"
29+
}
30+
],
31+
"name": "TransferFee",
32+
"type": "event"
33+
},
34+
"contract_address": "0xfd32fa2ca22c76dd6e550706ad913fc6ce91c75d",
35+
"field_mapping": {},
36+
"type": "log"
37+
},
38+
"table": {
39+
"dataset_name": "morpho",
40+
"schema": [
41+
{
42+
"description": "",
43+
"name": "sender",
44+
"type": "STRING"
45+
},
46+
{
47+
"description": "",
48+
"name": "vault",
49+
"type": "STRING"
50+
},
51+
{
52+
"description": "",
53+
"name": "amount",
54+
"type": "STRING"
55+
},
56+
{
57+
"description": "",
58+
"name": "feeRecipient",
59+
"type": "STRING"
60+
}
61+
],
62+
"table_description": "",
63+
"table_name": "PublicAllocator_event_TransferFee"
64+
}
65+
}

0 commit comments

Comments
 (0)