Skip to content

Commit e20773e

Browse files
committed
Upgrade BeneficiarySuperApp on OP Sepolia
1 parent b6756b1 commit e20773e

File tree

34 files changed

+10579
-1279
lines changed

34 files changed

+10579
-1279
lines changed

.openzeppelin/unknown-11155420.json

+107
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,113 @@
148148
}
149149
}
150150
}
151+
},
152+
"673bc2ee0a4b0a2021df59f616ca34e2350b7322e0c79d266b1d97731b911bae": {
153+
"address": "0x907013ca55ABB0B64E26c8109340e0121819B97e",
154+
"txHash": "0x9014ddb76aca154d8f7b3db0b1542e4455274313298f14ddb8aa53000e4d3cf5",
155+
"layout": {
156+
"storage": [
157+
{
158+
"contract": "Initializable",
159+
"label": "_initialized",
160+
"type": "t_uint8",
161+
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:62"
162+
},
163+
{
164+
"contract": "Initializable",
165+
"label": "_initializing",
166+
"type": "t_bool",
167+
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:67"
168+
},
169+
{
170+
"contract": "ContextUpgradeable",
171+
"label": "__gap",
172+
"type": "t_array(t_uint256)50_storage",
173+
"src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36"
174+
},
175+
{
176+
"contract": "OwnableUpgradeable",
177+
"label": "_owner",
178+
"type": "t_address",
179+
"src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22"
180+
},
181+
{
182+
"contract": "OwnableUpgradeable",
183+
"label": "__gap",
184+
"type": "t_array(t_uint256)49_storage",
185+
"src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94"
186+
},
187+
{
188+
"contract": "BeneficiarySuperApp",
189+
"label": "cfaV1",
190+
"type": "t_struct(InitData)8150_storage",
191+
"src": "contracts/beneficiary/BeneficiarySuperApp.sol:28"
192+
},
193+
{
194+
"contract": "BeneficiarySuperApp",
195+
"label": "paramsStore",
196+
"type": "t_contract(IPCOLicenseParamsStore)25684",
197+
"src": "contracts/beneficiary/BeneficiarySuperApp.sol:29"
198+
},
199+
{
200+
"contract": "BeneficiarySuperApp",
201+
"label": "lastDeletion",
202+
"type": "t_mapping(t_address,t_uint256)",
203+
"src": "contracts/beneficiary/BeneficiarySuperApp.sol:32"
204+
},
205+
{
206+
"contract": "BeneficiarySuperApp",
207+
"label": "beneficiary",
208+
"type": "t_address",
209+
"src": "contracts/beneficiary/BeneficiarySuperApp.sol:35"
210+
}
211+
],
212+
"types": {
213+
"t_struct(InitData)8150_storage": {
214+
"label": "struct CFAv1Library.InitData",
215+
"members": [
216+
{
217+
"label": "host",
218+
"type": "t_contract(ISuperfluid)17357"
219+
},
220+
{
221+
"label": "cfa",
222+
"type": "t_contract(IConstantFlowAgreementV1)14167"
223+
}
224+
]
225+
},
226+
"t_contract(ISuperfluid)17357": {
227+
"label": "contract ISuperfluid"
228+
},
229+
"t_contract(IConstantFlowAgreementV1)14167": {
230+
"label": "contract IConstantFlowAgreementV1"
231+
},
232+
"t_contract(IPCOLicenseParamsStore)25684": {
233+
"label": "contract IPCOLicenseParamsStore"
234+
},
235+
"t_mapping(t_address,t_uint256)": {
236+
"label": "mapping(address => uint256)"
237+
},
238+
"t_address": {
239+
"label": "address"
240+
},
241+
"t_uint256": {
242+
"label": "uint256"
243+
},
244+
"t_array(t_uint256)49_storage": {
245+
"label": "uint256[49]"
246+
},
247+
"t_array(t_uint256)50_storage": {
248+
"label": "uint256[50]"
249+
},
250+
"t_uint8": {
251+
"label": "uint8"
252+
},
253+
"t_bool": {
254+
"label": "bool"
255+
}
256+
}
257+
}
151258
}
152259
}
153260
}

abi/@superfluid-finance/ethereum-contracts/contracts/interfaces/agreements/IConstantFlowAgreementV1.sol/IConstantFlowAgreementV1.json

+246
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,104 @@
11
[
2+
{
3+
"inputs": [],
4+
"name": "CFA_ACL_FLOW_RATE_ALLOWANCE_EXCEEDED",
5+
"type": "error"
6+
},
7+
{
8+
"inputs": [],
9+
"name": "CFA_ACL_NO_NEGATIVE_ALLOWANCE",
10+
"type": "error"
11+
},
12+
{
13+
"inputs": [],
14+
"name": "CFA_ACL_NO_SENDER_CREATE",
15+
"type": "error"
16+
},
17+
{
18+
"inputs": [],
19+
"name": "CFA_ACL_NO_SENDER_FLOW_OPERATOR",
20+
"type": "error"
21+
},
22+
{
23+
"inputs": [],
24+
"name": "CFA_ACL_NO_SENDER_UPDATE",
25+
"type": "error"
26+
},
27+
{
28+
"inputs": [],
29+
"name": "CFA_ACL_OPERATOR_NO_CREATE_PERMISSIONS",
30+
"type": "error"
31+
},
32+
{
33+
"inputs": [],
34+
"name": "CFA_ACL_OPERATOR_NO_DELETE_PERMISSIONS",
35+
"type": "error"
36+
},
37+
{
38+
"inputs": [],
39+
"name": "CFA_ACL_OPERATOR_NO_UPDATE_PERMISSIONS",
40+
"type": "error"
41+
},
42+
{
43+
"inputs": [],
44+
"name": "CFA_ACL_UNCLEAN_PERMISSIONS",
45+
"type": "error"
46+
},
47+
{
48+
"inputs": [],
49+
"name": "CFA_DEPOSIT_TOO_BIG",
50+
"type": "error"
51+
},
52+
{
53+
"inputs": [],
54+
"name": "CFA_FLOW_ALREADY_EXISTS",
55+
"type": "error"
56+
},
57+
{
58+
"inputs": [],
59+
"name": "CFA_FLOW_DOES_NOT_EXIST",
60+
"type": "error"
61+
},
62+
{
63+
"inputs": [],
64+
"name": "CFA_FLOW_RATE_TOO_BIG",
65+
"type": "error"
66+
},
67+
{
68+
"inputs": [],
69+
"name": "CFA_HOOK_OUT_OF_GAS",
70+
"type": "error"
71+
},
72+
{
73+
"inputs": [],
74+
"name": "CFA_INSUFFICIENT_BALANCE",
75+
"type": "error"
76+
},
77+
{
78+
"inputs": [],
79+
"name": "CFA_INVALID_FLOW_RATE",
80+
"type": "error"
81+
},
82+
{
83+
"inputs": [],
84+
"name": "CFA_NON_CRITICAL_SENDER",
85+
"type": "error"
86+
},
87+
{
88+
"inputs": [],
89+
"name": "CFA_NO_SELF_FLOW",
90+
"type": "error"
91+
},
92+
{
93+
"inputs": [],
94+
"name": "CFA_ZERO_ADDRESS_RECEIVER",
95+
"type": "error"
96+
},
97+
{
98+
"inputs": [],
99+
"name": "CFA_ZERO_ADDRESS_SENDER",
100+
"type": "error"
101+
},
2102
{
3103
"anonymous": false,
4104
"inputs": [
@@ -219,6 +319,79 @@
219319
"stateMutability": "nonpayable",
220320
"type": "function"
221321
},
322+
{
323+
"inputs": [
324+
{
325+
"internalType": "contract ISuperfluidToken",
326+
"name": "token",
327+
"type": "address"
328+
},
329+
{
330+
"internalType": "address",
331+
"name": "flowOperator",
332+
"type": "address"
333+
},
334+
{
335+
"internalType": "int96",
336+
"name": "subtractedFlowRateAllowance",
337+
"type": "int96"
338+
},
339+
{
340+
"internalType": "bytes",
341+
"name": "ctx",
342+
"type": "bytes"
343+
}
344+
],
345+
"name": "decreaseFlowRateAllowance",
346+
"outputs": [
347+
{
348+
"internalType": "bytes",
349+
"name": "newCtx",
350+
"type": "bytes"
351+
}
352+
],
353+
"stateMutability": "nonpayable",
354+
"type": "function"
355+
},
356+
{
357+
"inputs": [
358+
{
359+
"internalType": "contract ISuperfluidToken",
360+
"name": "token",
361+
"type": "address"
362+
},
363+
{
364+
"internalType": "address",
365+
"name": "flowOperator",
366+
"type": "address"
367+
},
368+
{
369+
"internalType": "uint8",
370+
"name": "permissionsToRemove",
371+
"type": "uint8"
372+
},
373+
{
374+
"internalType": "int96",
375+
"name": "subtractedFlowRateAllowance",
376+
"type": "int96"
377+
},
378+
{
379+
"internalType": "bytes",
380+
"name": "ctx",
381+
"type": "bytes"
382+
}
383+
],
384+
"name": "decreaseFlowRateAllowanceWithPermissions",
385+
"outputs": [
386+
{
387+
"internalType": "bytes",
388+
"name": "newCtx",
389+
"type": "bytes"
390+
}
391+
],
392+
"stateMutability": "nonpayable",
393+
"type": "function"
394+
},
222395
{
223396
"inputs": [
224397
{
@@ -549,6 +722,79 @@
549722
"stateMutability": "view",
550723
"type": "function"
551724
},
725+
{
726+
"inputs": [
727+
{
728+
"internalType": "contract ISuperfluidToken",
729+
"name": "token",
730+
"type": "address"
731+
},
732+
{
733+
"internalType": "address",
734+
"name": "flowOperator",
735+
"type": "address"
736+
},
737+
{
738+
"internalType": "int96",
739+
"name": "addedFlowRateAllowance",
740+
"type": "int96"
741+
},
742+
{
743+
"internalType": "bytes",
744+
"name": "ctx",
745+
"type": "bytes"
746+
}
747+
],
748+
"name": "increaseFlowRateAllowance",
749+
"outputs": [
750+
{
751+
"internalType": "bytes",
752+
"name": "newCtx",
753+
"type": "bytes"
754+
}
755+
],
756+
"stateMutability": "nonpayable",
757+
"type": "function"
758+
},
759+
{
760+
"inputs": [
761+
{
762+
"internalType": "contract ISuperfluidToken",
763+
"name": "token",
764+
"type": "address"
765+
},
766+
{
767+
"internalType": "address",
768+
"name": "flowOperator",
769+
"type": "address"
770+
},
771+
{
772+
"internalType": "uint8",
773+
"name": "permissionsToAdd",
774+
"type": "uint8"
775+
},
776+
{
777+
"internalType": "int96",
778+
"name": "addedFlowRateAllowance",
779+
"type": "int96"
780+
},
781+
{
782+
"internalType": "bytes",
783+
"name": "ctx",
784+
"type": "bytes"
785+
}
786+
],
787+
"name": "increaseFlowRateAllowanceWithPermissions",
788+
"outputs": [
789+
{
790+
"internalType": "bytes",
791+
"name": "newCtx",
792+
"type": "bytes"
793+
}
794+
],
795+
"stateMutability": "nonpayable",
796+
"type": "function"
797+
},
552798
{
553799
"inputs": [
554800
{

0 commit comments

Comments
 (0)