@superfluid-finance/sdk-core 0.5.6 → 0.5.7-dev.7824984.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/index.umd.js +20740 -19287
  3. package/dist/main/ConstantFlowAgreementV1.d.ts +1 -1
  4. package/dist/main/ConstantFlowAgreementV1.js +1 -1
  5. package/dist/main/Framework.d.ts +1 -2
  6. package/dist/main/Framework.d.ts.map +1 -1
  7. package/dist/main/Framework.js.map +1 -1
  8. package/dist/main/Governance.js +2 -2
  9. package/dist/main/InstantDistributionAgreementV1.d.ts +3 -3
  10. package/dist/main/InstantDistributionAgreementV1.js +3 -3
  11. package/dist/main/Operation.d.ts +3 -3
  12. package/dist/main/Operation.js +3 -3
  13. package/dist/main/SFError.js +1 -1
  14. package/dist/main/SFError.js.map +1 -1
  15. package/dist/main/abi/IConstantFlowAgreementV1.json +70 -0
  16. package/dist/main/abi/IInstantDistributionAgreementV1.json +10 -0
  17. package/dist/main/abi/ISETH.json +25 -0
  18. package/dist/main/abi/SuperToken.json +91 -0
  19. package/dist/main/abi/Superfluid.json +162 -30
  20. package/dist/main/abi/SuperfluidGovernanceII.json +161 -17
  21. package/dist/main/defaultSubgraphReleaseTag.json +1 -1
  22. package/dist/main/interfaces.d.ts +1 -0
  23. package/dist/main/interfaces.d.ts.map +1 -1
  24. package/dist/main/subgraph/entities/token/tokens.generated.d.ts +1 -0
  25. package/dist/main/subgraph/entities/token/tokens.generated.d.ts.map +1 -1
  26. package/dist/main/subgraph/entities/token/tokens.generated.js +1 -1
  27. package/dist/main/subgraph/entities/token/tokens.generated.js.map +1 -1
  28. package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.d.ts +1 -0
  29. package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.d.ts.map +1 -1
  30. package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.js +1 -1
  31. package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.js.map +1 -1
  32. package/dist/main/subgraph/queries/getIndexSubscriptions.generated.d.ts +1 -0
  33. package/dist/main/subgraph/queries/getIndexSubscriptions.generated.d.ts.map +1 -1
  34. package/dist/main/subgraph/queries/getIndexSubscriptions.generated.js +1 -1
  35. package/dist/main/subgraph/queries/getIndexSubscriptions.generated.js.map +1 -1
  36. package/dist/main/subgraph/queries/getIndexes.generated.d.ts +1 -0
  37. package/dist/main/subgraph/queries/getIndexes.generated.d.ts.map +1 -1
  38. package/dist/main/subgraph/queries/getIndexes.generated.js +1 -1
  39. package/dist/main/subgraph/queries/getIndexes.generated.js.map +1 -1
  40. package/dist/main/subgraph/queries/getStreams.generated.d.ts +1 -0
  41. package/dist/main/subgraph/queries/getStreams.generated.d.ts.map +1 -1
  42. package/dist/main/subgraph/queries/getStreams.generated.js +1 -1
  43. package/dist/main/subgraph/queries/getStreams.generated.js.map +1 -1
  44. package/dist/main/subgraph/queries/getTokens.generated.d.ts +1 -0
  45. package/dist/main/subgraph/queries/getTokens.generated.d.ts.map +1 -1
  46. package/dist/main/subgraph/queries/getTokens.generated.js +1 -1
  47. package/dist/main/subgraph/queries/getTokens.generated.js.map +1 -1
  48. package/dist/main/typechain/Superfluid.d.ts +37 -49
  49. package/dist/main/typechain/Superfluid.d.ts.map +1 -1
  50. package/dist/main/typechain/SuperfluidGovernanceII.d.ts +104 -21
  51. package/dist/main/typechain/SuperfluidGovernanceII.d.ts.map +1 -1
  52. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.d.ts +7 -0
  53. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.d.ts.map +1 -1
  54. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.js +70 -0
  55. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.js.map +1 -1
  56. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts +7 -0
  57. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts.map +1 -1
  58. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.js +10 -0
  59. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.js.map +1 -1
  60. package/dist/main/typechain/factories/ISETH__factory.d.ts +7 -0
  61. package/dist/main/typechain/factories/ISETH__factory.d.ts.map +1 -1
  62. package/dist/main/typechain/factories/ISETH__factory.js +25 -0
  63. package/dist/main/typechain/factories/ISETH__factory.js.map +1 -1
  64. package/dist/main/typechain/factories/SuperToken__factory.d.ts +12 -1
  65. package/dist/main/typechain/factories/SuperToken__factory.d.ts.map +1 -1
  66. package/dist/main/typechain/factories/SuperToken__factory.js +91 -0
  67. package/dist/main/typechain/factories/SuperToken__factory.js.map +1 -1
  68. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.d.ts +11 -0
  69. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.d.ts.map +1 -1
  70. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.js +161 -17
  71. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.js.map +1 -1
  72. package/dist/main/typechain/factories/Superfluid__factory.d.ts +12 -1
  73. package/dist/main/typechain/factories/Superfluid__factory.d.ts.map +1 -1
  74. package/dist/main/typechain/factories/Superfluid__factory.js +162 -30
  75. package/dist/main/typechain/factories/Superfluid__factory.js.map +1 -1
  76. package/dist/module/ConstantFlowAgreementV1.d.ts +1 -1
  77. package/dist/module/ConstantFlowAgreementV1.js +1 -1
  78. package/dist/module/Framework.d.ts +1 -2
  79. package/dist/module/Framework.d.ts.map +1 -1
  80. package/dist/module/Framework.js.map +1 -1
  81. package/dist/module/Governance.js +2 -2
  82. package/dist/module/InstantDistributionAgreementV1.d.ts +3 -3
  83. package/dist/module/InstantDistributionAgreementV1.js +3 -3
  84. package/dist/module/Operation.d.ts +3 -3
  85. package/dist/module/Operation.js +3 -3
  86. package/dist/module/SFError.js +1 -1
  87. package/dist/module/SFError.js.map +1 -1
  88. package/dist/module/abi/IConstantFlowAgreementV1.json +70 -0
  89. package/dist/module/abi/IInstantDistributionAgreementV1.json +10 -0
  90. package/dist/module/abi/ISETH.json +25 -0
  91. package/dist/module/abi/SuperToken.json +91 -0
  92. package/dist/module/abi/Superfluid.json +162 -30
  93. package/dist/module/abi/SuperfluidGovernanceII.json +161 -17
  94. package/dist/module/defaultSubgraphReleaseTag.json +1 -1
  95. package/dist/module/interfaces.d.ts +1 -0
  96. package/dist/module/interfaces.d.ts.map +1 -1
  97. package/dist/module/subgraph/entities/token/tokens.generated.d.ts +1 -0
  98. package/dist/module/subgraph/entities/token/tokens.generated.d.ts.map +1 -1
  99. package/dist/module/subgraph/entities/token/tokens.generated.js +1 -1
  100. package/dist/module/subgraph/entities/token/tokens.generated.js.map +1 -1
  101. package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.d.ts +1 -0
  102. package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.d.ts.map +1 -1
  103. package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.js +1 -1
  104. package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.js.map +1 -1
  105. package/dist/module/subgraph/queries/getIndexSubscriptions.generated.d.ts +1 -0
  106. package/dist/module/subgraph/queries/getIndexSubscriptions.generated.d.ts.map +1 -1
  107. package/dist/module/subgraph/queries/getIndexSubscriptions.generated.js +1 -1
  108. package/dist/module/subgraph/queries/getIndexSubscriptions.generated.js.map +1 -1
  109. package/dist/module/subgraph/queries/getIndexes.generated.d.ts +1 -0
  110. package/dist/module/subgraph/queries/getIndexes.generated.d.ts.map +1 -1
  111. package/dist/module/subgraph/queries/getIndexes.generated.js +1 -1
  112. package/dist/module/subgraph/queries/getIndexes.generated.js.map +1 -1
  113. package/dist/module/subgraph/queries/getStreams.generated.d.ts +1 -0
  114. package/dist/module/subgraph/queries/getStreams.generated.d.ts.map +1 -1
  115. package/dist/module/subgraph/queries/getStreams.generated.js +1 -1
  116. package/dist/module/subgraph/queries/getStreams.generated.js.map +1 -1
  117. package/dist/module/subgraph/queries/getTokens.generated.d.ts +1 -0
  118. package/dist/module/subgraph/queries/getTokens.generated.d.ts.map +1 -1
  119. package/dist/module/subgraph/queries/getTokens.generated.js +1 -1
  120. package/dist/module/subgraph/queries/getTokens.generated.js.map +1 -1
  121. package/dist/module/typechain/Superfluid.d.ts +37 -49
  122. package/dist/module/typechain/Superfluid.d.ts.map +1 -1
  123. package/dist/module/typechain/SuperfluidGovernanceII.d.ts +104 -21
  124. package/dist/module/typechain/SuperfluidGovernanceII.d.ts.map +1 -1
  125. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.d.ts +7 -0
  126. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.d.ts.map +1 -1
  127. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.js +70 -0
  128. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.js.map +1 -1
  129. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts +7 -0
  130. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts.map +1 -1
  131. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.js +10 -0
  132. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.js.map +1 -1
  133. package/dist/module/typechain/factories/ISETH__factory.d.ts +7 -0
  134. package/dist/module/typechain/factories/ISETH__factory.d.ts.map +1 -1
  135. package/dist/module/typechain/factories/ISETH__factory.js +25 -0
  136. package/dist/module/typechain/factories/ISETH__factory.js.map +1 -1
  137. package/dist/module/typechain/factories/SuperToken__factory.d.ts +12 -1
  138. package/dist/module/typechain/factories/SuperToken__factory.d.ts.map +1 -1
  139. package/dist/module/typechain/factories/SuperToken__factory.js +91 -0
  140. package/dist/module/typechain/factories/SuperToken__factory.js.map +1 -1
  141. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.d.ts +11 -0
  142. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.d.ts.map +1 -1
  143. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.js +161 -17
  144. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.js.map +1 -1
  145. package/dist/module/typechain/factories/Superfluid__factory.d.ts +12 -1
  146. package/dist/module/typechain/factories/Superfluid__factory.d.ts.map +1 -1
  147. package/dist/module/typechain/factories/Superfluid__factory.js +162 -30
  148. package/dist/module/typechain/factories/Superfluid__factory.js.map +1 -1
  149. package/package.json +9 -9
@@ -1,4 +1,74 @@
1
1
  { "abi": [
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_RATE_TOO_BIG",
55
+ "type": "error"
56
+ },
57
+ {
58
+ "inputs": [],
59
+ "name": "CFA_INVALID_FLOW_RATE",
60
+ "type": "error"
61
+ },
62
+ {
63
+ "inputs": [],
64
+ "name": "CFA_NON_CRITICAL_SENDER",
65
+ "type": "error"
66
+ },
67
+ {
68
+ "inputs": [],
69
+ "name": "CFA_NO_SELF_FLOW",
70
+ "type": "error"
71
+ },
2
72
  {
3
73
  "anonymous": false,
4
74
  "inputs": [
@@ -1,4 +1,14 @@
1
1
  { "abi": [
2
+ {
3
+ "inputs": [],
4
+ "name": "IDA_INDEX_SHOULD_GROW",
5
+ "type": "error"
6
+ },
7
+ {
8
+ "inputs": [],
9
+ "name": "IDA_OPERATION_NOT_ALLOWED",
10
+ "type": "error"
11
+ },
2
12
  {
3
13
  "anonymous": false,
4
14
  "inputs": [
@@ -1,4 +1,29 @@
1
1
  { "abi": [
2
+ {
3
+ "inputs": [],
4
+ "name": "SUPER_TOKEN_CALLER_IS_NOT_OPERATOR_FOR_HOLDER",
5
+ "type": "error"
6
+ },
7
+ {
8
+ "inputs": [],
9
+ "name": "SUPER_TOKEN_INFLATIONARY_DEFLATIONARY_NOT_SUPPORTED",
10
+ "type": "error"
11
+ },
12
+ {
13
+ "inputs": [],
14
+ "name": "SUPER_TOKEN_NOT_ERC777_TOKENS_RECIPIENT",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [],
19
+ "name": "SUPER_TOKEN_NO_UNDERLYING_TOKEN",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [],
24
+ "name": "SUPER_TOKEN_ONLY_SELF",
25
+ "type": "error"
26
+ },
2
27
  {
3
28
  "anonymous": false,
4
29
  "inputs": [
@@ -10,6 +10,97 @@
10
10
  "stateMutability": "nonpayable",
11
11
  "type": "constructor"
12
12
  },
13
+ {
14
+ "inputs": [
15
+ {
16
+ "internalType": "uint256",
17
+ "name": "_code",
18
+ "type": "uint256"
19
+ }
20
+ ],
21
+ "name": "ALREADY_EXISTS",
22
+ "type": "error"
23
+ },
24
+ {
25
+ "inputs": [
26
+ {
27
+ "internalType": "uint256",
28
+ "name": "_code",
29
+ "type": "uint256"
30
+ }
31
+ ],
32
+ "name": "DOES_NOT_EXIST",
33
+ "type": "error"
34
+ },
35
+ {
36
+ "inputs": [
37
+ {
38
+ "internalType": "uint256",
39
+ "name": "_code",
40
+ "type": "uint256"
41
+ }
42
+ ],
43
+ "name": "INSUFFICIENT_BALANCE",
44
+ "type": "error"
45
+ },
46
+ {
47
+ "inputs": [
48
+ {
49
+ "internalType": "uint256",
50
+ "name": "_code",
51
+ "type": "uint256"
52
+ }
53
+ ],
54
+ "name": "ONLY_HOST",
55
+ "type": "error"
56
+ },
57
+ {
58
+ "inputs": [
59
+ {
60
+ "internalType": "uint256",
61
+ "name": "_code",
62
+ "type": "uint256"
63
+ }
64
+ ],
65
+ "name": "ONLY_LISTED_AGREEMENT",
66
+ "type": "error"
67
+ },
68
+ {
69
+ "inputs": [],
70
+ "name": "SUPER_TOKEN_CALLER_IS_NOT_OPERATOR_FOR_HOLDER",
71
+ "type": "error"
72
+ },
73
+ {
74
+ "inputs": [],
75
+ "name": "SUPER_TOKEN_INFLATIONARY_DEFLATIONARY_NOT_SUPPORTED",
76
+ "type": "error"
77
+ },
78
+ {
79
+ "inputs": [],
80
+ "name": "SUPER_TOKEN_NOT_ERC777_TOKENS_RECIPIENT",
81
+ "type": "error"
82
+ },
83
+ {
84
+ "inputs": [],
85
+ "name": "SUPER_TOKEN_NO_UNDERLYING_TOKEN",
86
+ "type": "error"
87
+ },
88
+ {
89
+ "inputs": [],
90
+ "name": "SUPER_TOKEN_ONLY_SELF",
91
+ "type": "error"
92
+ },
93
+ {
94
+ "inputs": [
95
+ {
96
+ "internalType": "uint256",
97
+ "name": "_code",
98
+ "type": "uint256"
99
+ }
100
+ ],
101
+ "name": "ZERO_ADDRESS",
102
+ "type": "error"
103
+ },
13
104
  {
14
105
  "anonymous": false,
15
106
  "inputs": [
@@ -15,6 +15,156 @@
15
15
  "stateMutability": "nonpayable",
16
16
  "type": "constructor"
17
17
  },
18
+ {
19
+ "inputs": [
20
+ {
21
+ "internalType": "uint256",
22
+ "name": "_code",
23
+ "type": "uint256"
24
+ }
25
+ ],
26
+ "name": "ALREADY_EXISTS",
27
+ "type": "error"
28
+ },
29
+ {
30
+ "inputs": [
31
+ {
32
+ "internalType": "uint256",
33
+ "name": "_code",
34
+ "type": "uint256"
35
+ }
36
+ ],
37
+ "name": "APP_RULE",
38
+ "type": "error"
39
+ },
40
+ {
41
+ "inputs": [
42
+ {
43
+ "internalType": "uint256",
44
+ "name": "_code",
45
+ "type": "uint256"
46
+ }
47
+ ],
48
+ "name": "DOES_NOT_EXIST",
49
+ "type": "error"
50
+ },
51
+ {
52
+ "inputs": [],
53
+ "name": "HOST_AGREEMENT_CALLBACK_IS_NOT_ACTION",
54
+ "type": "error"
55
+ },
56
+ {
57
+ "inputs": [],
58
+ "name": "HOST_CALL_AGREEMENT_WITH_CTX_FROM_WRONG_ADDRESS",
59
+ "type": "error"
60
+ },
61
+ {
62
+ "inputs": [],
63
+ "name": "HOST_CALL_APP_ACTION_WITH_CTX_FROM_WRONG_ADDRESS",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [],
68
+ "name": "HOST_CANNOT_DOWNGRADE_TO_NON_UPGRADEABLE",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [],
73
+ "name": "HOST_INVALID_CONFIG_WORD",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [],
78
+ "name": "HOST_INVALID_OR_EXPIRED_SUPER_APP_REGISTRATION_KEY",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [],
83
+ "name": "HOST_MAX_256_AGREEMENTS",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [],
88
+ "name": "HOST_NON_UPGRADEABLE",
89
+ "type": "error"
90
+ },
91
+ {
92
+ "inputs": [],
93
+ "name": "HOST_NON_ZERO_LENGTH_PLACEHOLDER_CTX",
94
+ "type": "error"
95
+ },
96
+ {
97
+ "inputs": [],
98
+ "name": "HOST_NOT_A_SUPER_APP",
99
+ "type": "error"
100
+ },
101
+ {
102
+ "inputs": [],
103
+ "name": "HOST_NO_APP_REGISTRATION_PERMISSIONS",
104
+ "type": "error"
105
+ },
106
+ {
107
+ "inputs": [],
108
+ "name": "HOST_ONLY_GOVERNANCE",
109
+ "type": "error"
110
+ },
111
+ {
112
+ "inputs": [],
113
+ "name": "HOST_RECEIVER_IS_NOT_SUPER_APP",
114
+ "type": "error"
115
+ },
116
+ {
117
+ "inputs": [],
118
+ "name": "HOST_SENDER_IS_NOT_SUPER_APP",
119
+ "type": "error"
120
+ },
121
+ {
122
+ "inputs": [],
123
+ "name": "HOST_SOURCE_APP_NEEDS_HIGHER_APP_LEVEL",
124
+ "type": "error"
125
+ },
126
+ {
127
+ "inputs": [],
128
+ "name": "HOST_SUPER_APP_ALREADY_REGISTERED",
129
+ "type": "error"
130
+ },
131
+ {
132
+ "inputs": [],
133
+ "name": "HOST_SUPER_APP_IS_JAILED",
134
+ "type": "error"
135
+ },
136
+ {
137
+ "inputs": [],
138
+ "name": "HOST_UNAUTHORIZED_SUPER_APP_FACTORY",
139
+ "type": "error"
140
+ },
141
+ {
142
+ "inputs": [],
143
+ "name": "HOST_UNKNOWN_BATCH_CALL_OPERATION_TYPE",
144
+ "type": "error"
145
+ },
146
+ {
147
+ "inputs": [
148
+ {
149
+ "internalType": "uint256",
150
+ "name": "_code",
151
+ "type": "uint256"
152
+ }
153
+ ],
154
+ "name": "MUST_BE_CONTRACT",
155
+ "type": "error"
156
+ },
157
+ {
158
+ "inputs": [
159
+ {
160
+ "internalType": "uint256",
161
+ "name": "_code",
162
+ "type": "uint256"
163
+ }
164
+ ],
165
+ "name": "ONLY_LISTED_AGREEMENT",
166
+ "type": "error"
167
+ },
18
168
  {
19
169
  "anonymous": false,
20
170
  "inputs": [
@@ -194,19 +344,6 @@
194
344
  "stateMutability": "view",
195
345
  "type": "function"
196
346
  },
197
- {
198
- "inputs": [],
199
- "name": "MAX_APP_LEVEL",
200
- "outputs": [
201
- {
202
- "internalType": "uint256",
203
- "name": "",
204
- "type": "uint256"
205
- }
206
- ],
207
- "stateMutability": "view",
208
- "type": "function"
209
- },
210
347
  {
211
348
  "inputs": [],
212
349
  "name": "NON_UPGRADABLE_DEPLOYMENT",
@@ -596,7 +733,7 @@
596
733
  "type": "address"
597
734
  }
598
735
  ],
599
- "name": "getAppLevel",
736
+ "name": "getAppCallbackLevel",
600
737
  "outputs": [
601
738
  {
602
739
  "internalType": "uint8",
@@ -774,17 +911,17 @@
774
911
  },
775
912
  {
776
913
  "internalType": "uint256",
777
- "name": "appAllowanceGranted",
914
+ "name": "appCreditGranted",
778
915
  "type": "uint256"
779
916
  },
780
917
  {
781
918
  "internalType": "int256",
782
- "name": "appAllowanceUsed",
919
+ "name": "appCreditUsed",
783
920
  "type": "int256"
784
921
  },
785
922
  {
786
923
  "internalType": "contract ISuperfluidToken",
787
- "name": "appAllowanceToken",
924
+ "name": "appCreditToken",
788
925
  "type": "address"
789
926
  }
790
927
  ],
@@ -808,7 +945,7 @@
808
945
  },
809
946
  {
810
947
  "internalType": "int256",
811
- "name": "appAllowanceUsedDelta",
948
+ "name": "appCreditUsedDelta",
812
949
  "type": "int256"
813
950
  }
814
951
  ],
@@ -830,18 +967,13 @@
830
967
  "name": "ctx",
831
968
  "type": "bytes"
832
969
  },
833
- {
834
- "internalType": "uint256",
835
- "name": "appAllowanceWantedMore",
836
- "type": "uint256"
837
- },
838
970
  {
839
971
  "internalType": "int256",
840
- "name": "appAllowanceUsedDelta",
972
+ "name": "appCreditUsedMore",
841
973
  "type": "int256"
842
974
  }
843
975
  ],
844
- "name": "ctxUseAllowance",
976
+ "name": "ctxUseCredit",
845
977
  "outputs": [
846
978
  {
847
979
  "internalType": "bytes",
@@ -1016,7 +1148,7 @@
1016
1148
  "components": [
1017
1149
  {
1018
1150
  "internalType": "uint8",
1019
- "name": "appLevel",
1151
+ "name": "appCallbackLevel",
1020
1152
  "type": "uint8"
1021
1153
  },
1022
1154
  {
@@ -1046,17 +1178,17 @@
1046
1178
  },
1047
1179
  {
1048
1180
  "internalType": "uint256",
1049
- "name": "appAllowanceGranted",
1181
+ "name": "appCreditGranted",
1050
1182
  "type": "uint256"
1051
1183
  },
1052
1184
  {
1053
1185
  "internalType": "uint256",
1054
- "name": "appAllowanceWanted",
1186
+ "name": "appCreditWantedDeprecated",
1055
1187
  "type": "uint256"
1056
1188
  },
1057
1189
  {
1058
1190
  "internalType": "int256",
1059
- "name": "appAllowanceUsed",
1191
+ "name": "appCreditUsed",
1060
1192
  "type": "int256"
1061
1193
  },
1062
1194
  {
@@ -1066,7 +1198,7 @@
1066
1198
  },
1067
1199
  {
1068
1200
  "internalType": "contract ISuperfluidToken",
1069
- "name": "appAllowanceToken",
1201
+ "name": "appCreditToken",
1070
1202
  "type": "address"
1071
1203
  }
1072
1204
  ],