@4mica/sdk 1.2.3 → 1.2.6
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.
- package/README.md +6 -5
- package/dist/abi/core4mica.d.ts +492 -9
- package/dist/abi/core4mica.js +649 -19
- package/dist/client/user.d.ts +3 -1
- package/dist/client/user.js +2 -2
- package/dist/config.d.ts +4 -4
- package/dist/config.js +6 -6
- package/dist/contract.d.ts +3 -1
- package/dist/contract.js +8 -3
- package/dist/networks.d.ts +4 -4
- package/dist/networks.js +8 -4
- package/package.json +4 -1
package/dist/abi/core4mica.js
CHANGED
|
@@ -37,6 +37,11 @@ exports.core4micaAbi = [
|
|
|
37
37
|
},
|
|
38
38
|
],
|
|
39
39
|
},
|
|
40
|
+
{
|
|
41
|
+
name: 'stablecoins_',
|
|
42
|
+
type: 'address[]',
|
|
43
|
+
internalType: 'address[]',
|
|
44
|
+
},
|
|
40
45
|
],
|
|
41
46
|
stateMutability: 'nonpayable',
|
|
42
47
|
},
|
|
@@ -89,6 +94,45 @@ exports.core4micaAbi = [
|
|
|
89
94
|
],
|
|
90
95
|
stateMutability: 'view',
|
|
91
96
|
},
|
|
97
|
+
{
|
|
98
|
+
type: 'function',
|
|
99
|
+
name: 'MAX_YIELD_FEE_BPS',
|
|
100
|
+
inputs: [],
|
|
101
|
+
outputs: [
|
|
102
|
+
{
|
|
103
|
+
name: '',
|
|
104
|
+
type: 'uint256',
|
|
105
|
+
internalType: 'uint256',
|
|
106
|
+
},
|
|
107
|
+
],
|
|
108
|
+
stateMutability: 'view',
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
type: 'function',
|
|
112
|
+
name: 'RECONCILIATION_DUST_TOLERANCE_SCALED',
|
|
113
|
+
inputs: [],
|
|
114
|
+
outputs: [
|
|
115
|
+
{
|
|
116
|
+
name: '',
|
|
117
|
+
type: 'uint256',
|
|
118
|
+
internalType: 'uint256',
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
stateMutability: 'view',
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
type: 'function',
|
|
125
|
+
name: 'aaveAddressesProvider',
|
|
126
|
+
inputs: [],
|
|
127
|
+
outputs: [
|
|
128
|
+
{
|
|
129
|
+
name: '',
|
|
130
|
+
type: 'address',
|
|
131
|
+
internalType: 'contract IPoolAddressesProvider',
|
|
132
|
+
},
|
|
133
|
+
],
|
|
134
|
+
stateMutability: 'view',
|
|
135
|
+
},
|
|
92
136
|
{
|
|
93
137
|
type: 'function',
|
|
94
138
|
name: 'authority',
|
|
@@ -122,6 +166,52 @@ exports.core4micaAbi = [
|
|
|
122
166
|
outputs: [],
|
|
123
167
|
stateMutability: 'nonpayable',
|
|
124
168
|
},
|
|
169
|
+
{
|
|
170
|
+
type: 'function',
|
|
171
|
+
name: 'claimProtocolYield',
|
|
172
|
+
inputs: [
|
|
173
|
+
{
|
|
174
|
+
name: 'asset',
|
|
175
|
+
type: 'address',
|
|
176
|
+
internalType: 'address',
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
name: 'to',
|
|
180
|
+
type: 'address',
|
|
181
|
+
internalType: 'address',
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
name: 'amount',
|
|
185
|
+
type: 'uint256',
|
|
186
|
+
internalType: 'uint256',
|
|
187
|
+
},
|
|
188
|
+
],
|
|
189
|
+
outputs: [],
|
|
190
|
+
stateMutability: 'nonpayable',
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
type: 'function',
|
|
194
|
+
name: 'claimSurplusATokens',
|
|
195
|
+
inputs: [
|
|
196
|
+
{
|
|
197
|
+
name: 'asset',
|
|
198
|
+
type: 'address',
|
|
199
|
+
internalType: 'address',
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
name: 'to',
|
|
203
|
+
type: 'address',
|
|
204
|
+
internalType: 'address',
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
name: 'scaledAmount',
|
|
208
|
+
type: 'uint256',
|
|
209
|
+
internalType: 'uint256',
|
|
210
|
+
},
|
|
211
|
+
],
|
|
212
|
+
outputs: [],
|
|
213
|
+
stateMutability: 'nonpayable',
|
|
214
|
+
},
|
|
125
215
|
{
|
|
126
216
|
type: 'function',
|
|
127
217
|
name: 'collateral',
|
|
@@ -165,6 +255,24 @@ exports.core4micaAbi = [
|
|
|
165
255
|
],
|
|
166
256
|
stateMutability: 'view',
|
|
167
257
|
},
|
|
258
|
+
{
|
|
259
|
+
type: 'function',
|
|
260
|
+
name: 'configureAave',
|
|
261
|
+
inputs: [
|
|
262
|
+
{
|
|
263
|
+
name: 'poolAddressesProvider',
|
|
264
|
+
type: 'address',
|
|
265
|
+
internalType: 'address',
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
name: 'aTokens',
|
|
269
|
+
type: 'address[]',
|
|
270
|
+
internalType: 'address[]',
|
|
271
|
+
},
|
|
272
|
+
],
|
|
273
|
+
outputs: [],
|
|
274
|
+
stateMutability: 'nonpayable',
|
|
275
|
+
},
|
|
168
276
|
{
|
|
169
277
|
type: 'function',
|
|
170
278
|
name: 'configureGuaranteeVersion',
|
|
@@ -220,6 +328,25 @@ exports.core4micaAbi = [
|
|
|
220
328
|
outputs: [],
|
|
221
329
|
stateMutability: 'nonpayable',
|
|
222
330
|
},
|
|
331
|
+
{
|
|
332
|
+
type: 'function',
|
|
333
|
+
name: 'contractScaledATokenBalance',
|
|
334
|
+
inputs: [
|
|
335
|
+
{
|
|
336
|
+
name: 'asset',
|
|
337
|
+
type: 'address',
|
|
338
|
+
internalType: 'address',
|
|
339
|
+
},
|
|
340
|
+
],
|
|
341
|
+
outputs: [
|
|
342
|
+
{
|
|
343
|
+
name: '',
|
|
344
|
+
type: 'uint256',
|
|
345
|
+
internalType: 'uint256',
|
|
346
|
+
},
|
|
347
|
+
],
|
|
348
|
+
stateMutability: 'view',
|
|
349
|
+
},
|
|
223
350
|
{
|
|
224
351
|
type: 'function',
|
|
225
352
|
name: 'deposit',
|
|
@@ -339,7 +466,7 @@ exports.core4micaAbi = [
|
|
|
339
466
|
name: 'getPaymentStatus',
|
|
340
467
|
inputs: [
|
|
341
468
|
{
|
|
342
|
-
name: '
|
|
469
|
+
name: 'tabId',
|
|
343
470
|
type: 'uint256',
|
|
344
471
|
internalType: 'uint256',
|
|
345
472
|
},
|
|
@@ -467,6 +594,54 @@ exports.core4micaAbi = [
|
|
|
467
594
|
],
|
|
468
595
|
stateMutability: 'view',
|
|
469
596
|
},
|
|
597
|
+
{
|
|
598
|
+
type: 'function',
|
|
599
|
+
name: 'grossYield',
|
|
600
|
+
inputs: [
|
|
601
|
+
{
|
|
602
|
+
name: 'user',
|
|
603
|
+
type: 'address',
|
|
604
|
+
internalType: 'address',
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
name: 'asset',
|
|
608
|
+
type: 'address',
|
|
609
|
+
internalType: 'address',
|
|
610
|
+
},
|
|
611
|
+
],
|
|
612
|
+
outputs: [
|
|
613
|
+
{
|
|
614
|
+
name: '',
|
|
615
|
+
type: 'uint256',
|
|
616
|
+
internalType: 'uint256',
|
|
617
|
+
},
|
|
618
|
+
],
|
|
619
|
+
stateMutability: 'view',
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
type: 'function',
|
|
623
|
+
name: 'guaranteeCapacity',
|
|
624
|
+
inputs: [
|
|
625
|
+
{
|
|
626
|
+
name: 'user',
|
|
627
|
+
type: 'address',
|
|
628
|
+
internalType: 'address',
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
name: 'asset',
|
|
632
|
+
type: 'address',
|
|
633
|
+
internalType: 'address',
|
|
634
|
+
},
|
|
635
|
+
],
|
|
636
|
+
outputs: [
|
|
637
|
+
{
|
|
638
|
+
name: '',
|
|
639
|
+
type: 'uint256',
|
|
640
|
+
internalType: 'uint256',
|
|
641
|
+
},
|
|
642
|
+
],
|
|
643
|
+
stateMutability: 'view',
|
|
644
|
+
},
|
|
470
645
|
{
|
|
471
646
|
type: 'function',
|
|
472
647
|
name: 'guaranteeDomainSeparator',
|
|
@@ -518,7 +693,7 @@ exports.core4micaAbi = [
|
|
|
518
693
|
name: 'payTabInERC20Token',
|
|
519
694
|
inputs: [
|
|
520
695
|
{
|
|
521
|
-
name: '
|
|
696
|
+
name: 'tabId',
|
|
522
697
|
type: 'uint256',
|
|
523
698
|
internalType: 'uint256',
|
|
524
699
|
},
|
|
@@ -570,12 +745,92 @@ exports.core4micaAbi = [
|
|
|
570
745
|
],
|
|
571
746
|
stateMutability: 'view',
|
|
572
747
|
},
|
|
748
|
+
{
|
|
749
|
+
type: 'function',
|
|
750
|
+
name: 'principalBalance',
|
|
751
|
+
inputs: [
|
|
752
|
+
{
|
|
753
|
+
name: 'user',
|
|
754
|
+
type: 'address',
|
|
755
|
+
internalType: 'address',
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
name: 'asset',
|
|
759
|
+
type: 'address',
|
|
760
|
+
internalType: 'address',
|
|
761
|
+
},
|
|
762
|
+
],
|
|
763
|
+
outputs: [
|
|
764
|
+
{
|
|
765
|
+
name: '',
|
|
766
|
+
type: 'uint256',
|
|
767
|
+
internalType: 'uint256',
|
|
768
|
+
},
|
|
769
|
+
],
|
|
770
|
+
stateMutability: 'view',
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
type: 'function',
|
|
774
|
+
name: 'protocolScaledBalance',
|
|
775
|
+
inputs: [
|
|
776
|
+
{
|
|
777
|
+
name: 'asset',
|
|
778
|
+
type: 'address',
|
|
779
|
+
internalType: 'address',
|
|
780
|
+
},
|
|
781
|
+
],
|
|
782
|
+
outputs: [
|
|
783
|
+
{
|
|
784
|
+
name: '',
|
|
785
|
+
type: 'uint256',
|
|
786
|
+
internalType: 'uint256',
|
|
787
|
+
},
|
|
788
|
+
],
|
|
789
|
+
stateMutability: 'view',
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
type: 'function',
|
|
793
|
+
name: 'protocolYieldShare',
|
|
794
|
+
inputs: [
|
|
795
|
+
{
|
|
796
|
+
name: 'user',
|
|
797
|
+
type: 'address',
|
|
798
|
+
internalType: 'address',
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
name: 'asset',
|
|
802
|
+
type: 'address',
|
|
803
|
+
internalType: 'address',
|
|
804
|
+
},
|
|
805
|
+
],
|
|
806
|
+
outputs: [
|
|
807
|
+
{
|
|
808
|
+
name: '',
|
|
809
|
+
type: 'uint256',
|
|
810
|
+
internalType: 'uint256',
|
|
811
|
+
},
|
|
812
|
+
],
|
|
813
|
+
stateMutability: 'view',
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
type: 'function',
|
|
817
|
+
name: 'reconciliationDustToleranceScaled',
|
|
818
|
+
inputs: [],
|
|
819
|
+
outputs: [
|
|
820
|
+
{
|
|
821
|
+
name: '',
|
|
822
|
+
type: 'uint256',
|
|
823
|
+
internalType: 'uint256',
|
|
824
|
+
},
|
|
825
|
+
],
|
|
826
|
+
stateMutability: 'pure',
|
|
827
|
+
},
|
|
573
828
|
{
|
|
574
829
|
type: 'function',
|
|
575
830
|
name: 'recordPayment',
|
|
576
831
|
inputs: [
|
|
577
832
|
{
|
|
578
|
-
name: '
|
|
833
|
+
name: 'tabId',
|
|
579
834
|
type: 'uint256',
|
|
580
835
|
internalType: 'uint256',
|
|
581
836
|
},
|
|
@@ -827,37 +1082,131 @@ exports.core4micaAbi = [
|
|
|
827
1082
|
},
|
|
828
1083
|
{
|
|
829
1084
|
type: 'function',
|
|
830
|
-
name: '
|
|
831
|
-
inputs: [
|
|
832
|
-
outputs: [
|
|
1085
|
+
name: 'setYieldFeeBps',
|
|
1086
|
+
inputs: [
|
|
833
1087
|
{
|
|
834
|
-
name: '',
|
|
1088
|
+
name: 'feeBps',
|
|
835
1089
|
type: 'uint256',
|
|
836
1090
|
internalType: 'uint256',
|
|
837
1091
|
},
|
|
838
1092
|
],
|
|
839
|
-
|
|
1093
|
+
outputs: [],
|
|
1094
|
+
stateMutability: 'nonpayable',
|
|
840
1095
|
},
|
|
841
1096
|
{
|
|
842
1097
|
type: 'function',
|
|
843
|
-
name: '
|
|
844
|
-
inputs: [
|
|
1098
|
+
name: 'stablecoinAToken',
|
|
1099
|
+
inputs: [
|
|
1100
|
+
{
|
|
1101
|
+
name: 'asset',
|
|
1102
|
+
type: 'address',
|
|
1103
|
+
internalType: 'address',
|
|
1104
|
+
},
|
|
1105
|
+
],
|
|
845
1106
|
outputs: [
|
|
846
1107
|
{
|
|
847
1108
|
name: '',
|
|
848
|
-
type: '
|
|
849
|
-
internalType: '
|
|
1109
|
+
type: 'address',
|
|
1110
|
+
internalType: 'address',
|
|
850
1111
|
},
|
|
851
1112
|
],
|
|
852
1113
|
stateMutability: 'view',
|
|
853
1114
|
},
|
|
854
1115
|
{
|
|
855
1116
|
type: 'function',
|
|
856
|
-
name: '
|
|
1117
|
+
name: 'surplusScaledBalance',
|
|
1118
|
+
inputs: [
|
|
1119
|
+
{
|
|
1120
|
+
name: 'asset',
|
|
1121
|
+
type: 'address',
|
|
1122
|
+
internalType: 'address',
|
|
1123
|
+
},
|
|
1124
|
+
],
|
|
1125
|
+
outputs: [
|
|
1126
|
+
{
|
|
1127
|
+
name: '',
|
|
1128
|
+
type: 'uint256',
|
|
1129
|
+
internalType: 'uint256',
|
|
1130
|
+
},
|
|
1131
|
+
],
|
|
1132
|
+
stateMutability: 'view',
|
|
1133
|
+
},
|
|
1134
|
+
{
|
|
1135
|
+
type: 'function',
|
|
1136
|
+
name: 'synchronizationDelay',
|
|
1137
|
+
inputs: [],
|
|
1138
|
+
outputs: [
|
|
1139
|
+
{
|
|
1140
|
+
name: '',
|
|
1141
|
+
type: 'uint256',
|
|
1142
|
+
internalType: 'uint256',
|
|
1143
|
+
},
|
|
1144
|
+
],
|
|
1145
|
+
stateMutability: 'view',
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
type: 'function',
|
|
1149
|
+
name: 'tabExpirationTime',
|
|
1150
|
+
inputs: [],
|
|
1151
|
+
outputs: [
|
|
1152
|
+
{
|
|
1153
|
+
name: '',
|
|
1154
|
+
type: 'uint256',
|
|
1155
|
+
internalType: 'uint256',
|
|
1156
|
+
},
|
|
1157
|
+
],
|
|
1158
|
+
stateMutability: 'view',
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
type: 'function',
|
|
1162
|
+
name: 'totalUserScaledBalance',
|
|
1163
|
+
inputs: [
|
|
1164
|
+
{
|
|
1165
|
+
name: 'asset',
|
|
1166
|
+
type: 'address',
|
|
1167
|
+
internalType: 'address',
|
|
1168
|
+
},
|
|
1169
|
+
],
|
|
1170
|
+
outputs: [
|
|
1171
|
+
{
|
|
1172
|
+
name: '',
|
|
1173
|
+
type: 'uint256',
|
|
1174
|
+
internalType: 'uint256',
|
|
1175
|
+
},
|
|
1176
|
+
],
|
|
1177
|
+
stateMutability: 'view',
|
|
1178
|
+
},
|
|
1179
|
+
{
|
|
1180
|
+
type: 'function',
|
|
1181
|
+
name: 'unpause',
|
|
857
1182
|
inputs: [],
|
|
858
1183
|
outputs: [],
|
|
859
1184
|
stateMutability: 'nonpayable',
|
|
860
1185
|
},
|
|
1186
|
+
{
|
|
1187
|
+
type: 'function',
|
|
1188
|
+
name: 'userNetYield',
|
|
1189
|
+
inputs: [
|
|
1190
|
+
{
|
|
1191
|
+
name: 'user',
|
|
1192
|
+
type: 'address',
|
|
1193
|
+
internalType: 'address',
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
name: 'asset',
|
|
1197
|
+
type: 'address',
|
|
1198
|
+
internalType: 'address',
|
|
1199
|
+
},
|
|
1200
|
+
],
|
|
1201
|
+
outputs: [
|
|
1202
|
+
{
|
|
1203
|
+
name: '',
|
|
1204
|
+
type: 'uint256',
|
|
1205
|
+
internalType: 'uint256',
|
|
1206
|
+
},
|
|
1207
|
+
],
|
|
1208
|
+
stateMutability: 'view',
|
|
1209
|
+
},
|
|
861
1210
|
{
|
|
862
1211
|
type: 'function',
|
|
863
1212
|
name: 'verifyAndDecodeGuarantee',
|
|
@@ -927,12 +1276,12 @@ exports.core4micaAbi = [
|
|
|
927
1276
|
internalType: 'bytes32',
|
|
928
1277
|
},
|
|
929
1278
|
{
|
|
930
|
-
name: '
|
|
1279
|
+
name: 'tabId',
|
|
931
1280
|
type: 'uint256',
|
|
932
1281
|
internalType: 'uint256',
|
|
933
1282
|
},
|
|
934
1283
|
{
|
|
935
|
-
name: '
|
|
1284
|
+
name: 'reqId',
|
|
936
1285
|
type: 'uint256',
|
|
937
1286
|
internalType: 'uint256',
|
|
938
1287
|
},
|
|
@@ -952,7 +1301,7 @@ exports.core4micaAbi = [
|
|
|
952
1301
|
internalType: 'uint256',
|
|
953
1302
|
},
|
|
954
1303
|
{
|
|
955
|
-
name: '
|
|
1304
|
+
name: 'totalAmount',
|
|
956
1305
|
type: 'uint256',
|
|
957
1306
|
internalType: 'uint256',
|
|
958
1307
|
},
|
|
@@ -976,6 +1325,30 @@ exports.core4micaAbi = [
|
|
|
976
1325
|
],
|
|
977
1326
|
stateMutability: 'view',
|
|
978
1327
|
},
|
|
1328
|
+
{
|
|
1329
|
+
type: 'function',
|
|
1330
|
+
name: 'withdrawableBalance',
|
|
1331
|
+
inputs: [
|
|
1332
|
+
{
|
|
1333
|
+
name: 'user',
|
|
1334
|
+
type: 'address',
|
|
1335
|
+
internalType: 'address',
|
|
1336
|
+
},
|
|
1337
|
+
{
|
|
1338
|
+
name: 'asset',
|
|
1339
|
+
type: 'address',
|
|
1340
|
+
internalType: 'address',
|
|
1341
|
+
},
|
|
1342
|
+
],
|
|
1343
|
+
outputs: [
|
|
1344
|
+
{
|
|
1345
|
+
name: '',
|
|
1346
|
+
type: 'uint256',
|
|
1347
|
+
internalType: 'uint256',
|
|
1348
|
+
},
|
|
1349
|
+
],
|
|
1350
|
+
stateMutability: 'view',
|
|
1351
|
+
},
|
|
979
1352
|
{
|
|
980
1353
|
type: 'function',
|
|
981
1354
|
name: 'withdrawalGracePeriod',
|
|
@@ -1018,6 +1391,38 @@ exports.core4micaAbi = [
|
|
|
1018
1391
|
],
|
|
1019
1392
|
stateMutability: 'view',
|
|
1020
1393
|
},
|
|
1394
|
+
{
|
|
1395
|
+
type: 'function',
|
|
1396
|
+
name: 'yieldFeeBps',
|
|
1397
|
+
inputs: [],
|
|
1398
|
+
outputs: [
|
|
1399
|
+
{
|
|
1400
|
+
name: '',
|
|
1401
|
+
type: 'uint256',
|
|
1402
|
+
internalType: 'uint256',
|
|
1403
|
+
},
|
|
1404
|
+
],
|
|
1405
|
+
stateMutability: 'view',
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
type: 'event',
|
|
1409
|
+
name: 'AaveConfigured',
|
|
1410
|
+
inputs: [
|
|
1411
|
+
{
|
|
1412
|
+
name: 'provider',
|
|
1413
|
+
type: 'address',
|
|
1414
|
+
indexed: true,
|
|
1415
|
+
internalType: 'address',
|
|
1416
|
+
},
|
|
1417
|
+
{
|
|
1418
|
+
name: 'pool',
|
|
1419
|
+
type: 'address',
|
|
1420
|
+
indexed: true,
|
|
1421
|
+
internalType: 'address',
|
|
1422
|
+
},
|
|
1423
|
+
],
|
|
1424
|
+
anonymous: false,
|
|
1425
|
+
},
|
|
1021
1426
|
{
|
|
1022
1427
|
type: 'event',
|
|
1023
1428
|
name: 'AuthorityUpdated',
|
|
@@ -1158,7 +1563,7 @@ exports.core4micaAbi = [
|
|
|
1158
1563
|
name: 'PaymentRecorded',
|
|
1159
1564
|
inputs: [
|
|
1160
1565
|
{
|
|
1161
|
-
name: '
|
|
1566
|
+
name: 'tabId',
|
|
1162
1567
|
type: 'uint256',
|
|
1163
1568
|
indexed: true,
|
|
1164
1569
|
internalType: 'uint256',
|
|
@@ -1178,12 +1583,37 @@ exports.core4micaAbi = [
|
|
|
1178
1583
|
],
|
|
1179
1584
|
anonymous: false,
|
|
1180
1585
|
},
|
|
1586
|
+
{
|
|
1587
|
+
type: 'event',
|
|
1588
|
+
name: 'ProtocolYieldClaimed',
|
|
1589
|
+
inputs: [
|
|
1590
|
+
{
|
|
1591
|
+
name: 'asset',
|
|
1592
|
+
type: 'address',
|
|
1593
|
+
indexed: true,
|
|
1594
|
+
internalType: 'address',
|
|
1595
|
+
},
|
|
1596
|
+
{
|
|
1597
|
+
name: 'to',
|
|
1598
|
+
type: 'address',
|
|
1599
|
+
indexed: true,
|
|
1600
|
+
internalType: 'address',
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
name: 'amount',
|
|
1604
|
+
type: 'uint256',
|
|
1605
|
+
indexed: false,
|
|
1606
|
+
internalType: 'uint256',
|
|
1607
|
+
},
|
|
1608
|
+
],
|
|
1609
|
+
anonymous: false,
|
|
1610
|
+
},
|
|
1181
1611
|
{
|
|
1182
1612
|
type: 'event',
|
|
1183
1613
|
name: 'RecipientRemunerated',
|
|
1184
1614
|
inputs: [
|
|
1185
1615
|
{
|
|
1186
|
-
name: '
|
|
1616
|
+
name: 'tabId',
|
|
1187
1617
|
type: 'uint256',
|
|
1188
1618
|
indexed: true,
|
|
1189
1619
|
internalType: 'uint256',
|
|
@@ -1216,6 +1646,56 @@ exports.core4micaAbi = [
|
|
|
1216
1646
|
],
|
|
1217
1647
|
anonymous: false,
|
|
1218
1648
|
},
|
|
1649
|
+
{
|
|
1650
|
+
type: 'event',
|
|
1651
|
+
name: 'StablecoinAssetUpdated',
|
|
1652
|
+
inputs: [
|
|
1653
|
+
{
|
|
1654
|
+
name: 'asset',
|
|
1655
|
+
type: 'address',
|
|
1656
|
+
indexed: true,
|
|
1657
|
+
internalType: 'address',
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
name: 'enabled',
|
|
1661
|
+
type: 'bool',
|
|
1662
|
+
indexed: false,
|
|
1663
|
+
internalType: 'bool',
|
|
1664
|
+
},
|
|
1665
|
+
],
|
|
1666
|
+
anonymous: false,
|
|
1667
|
+
},
|
|
1668
|
+
{
|
|
1669
|
+
type: 'event',
|
|
1670
|
+
name: 'SurplusATokensClaimed',
|
|
1671
|
+
inputs: [
|
|
1672
|
+
{
|
|
1673
|
+
name: 'asset',
|
|
1674
|
+
type: 'address',
|
|
1675
|
+
indexed: true,
|
|
1676
|
+
internalType: 'address',
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
name: 'to',
|
|
1680
|
+
type: 'address',
|
|
1681
|
+
indexed: true,
|
|
1682
|
+
internalType: 'address',
|
|
1683
|
+
},
|
|
1684
|
+
{
|
|
1685
|
+
name: 'scaledAmount',
|
|
1686
|
+
type: 'uint256',
|
|
1687
|
+
indexed: false,
|
|
1688
|
+
internalType: 'uint256',
|
|
1689
|
+
},
|
|
1690
|
+
{
|
|
1691
|
+
name: 'nominalAmount',
|
|
1692
|
+
type: 'uint256',
|
|
1693
|
+
indexed: false,
|
|
1694
|
+
internalType: 'uint256',
|
|
1695
|
+
},
|
|
1696
|
+
],
|
|
1697
|
+
anonymous: false,
|
|
1698
|
+
},
|
|
1219
1699
|
{
|
|
1220
1700
|
type: 'event',
|
|
1221
1701
|
name: 'SynchronizationDelayUpdated',
|
|
@@ -1247,7 +1727,7 @@ exports.core4micaAbi = [
|
|
|
1247
1727
|
name: 'TabPaid',
|
|
1248
1728
|
inputs: [
|
|
1249
1729
|
{
|
|
1250
|
-
name: '
|
|
1730
|
+
name: 'tabId',
|
|
1251
1731
|
type: 'uint256',
|
|
1252
1732
|
indexed: true,
|
|
1253
1733
|
internalType: 'uint256',
|
|
@@ -1264,6 +1744,12 @@ exports.core4micaAbi = [
|
|
|
1264
1744
|
indexed: true,
|
|
1265
1745
|
internalType: 'address',
|
|
1266
1746
|
},
|
|
1747
|
+
{
|
|
1748
|
+
name: 'recipient',
|
|
1749
|
+
type: 'address',
|
|
1750
|
+
indexed: false,
|
|
1751
|
+
internalType: 'address',
|
|
1752
|
+
},
|
|
1267
1753
|
{
|
|
1268
1754
|
name: 'amount',
|
|
1269
1755
|
type: 'uint256',
|
|
@@ -1384,6 +1870,35 @@ exports.core4micaAbi = [
|
|
|
1384
1870
|
],
|
|
1385
1871
|
anonymous: false,
|
|
1386
1872
|
},
|
|
1873
|
+
{
|
|
1874
|
+
type: 'event',
|
|
1875
|
+
name: 'YieldFeeBpsUpdated',
|
|
1876
|
+
inputs: [
|
|
1877
|
+
{
|
|
1878
|
+
name: 'oldFeeBps',
|
|
1879
|
+
type: 'uint256',
|
|
1880
|
+
indexed: false,
|
|
1881
|
+
internalType: 'uint256',
|
|
1882
|
+
},
|
|
1883
|
+
{
|
|
1884
|
+
name: 'newFeeBps',
|
|
1885
|
+
type: 'uint256',
|
|
1886
|
+
indexed: false,
|
|
1887
|
+
internalType: 'uint256',
|
|
1888
|
+
},
|
|
1889
|
+
],
|
|
1890
|
+
anonymous: false,
|
|
1891
|
+
},
|
|
1892
|
+
{
|
|
1893
|
+
type: 'error',
|
|
1894
|
+
name: 'AaveNotConfigured',
|
|
1895
|
+
inputs: [],
|
|
1896
|
+
},
|
|
1897
|
+
{
|
|
1898
|
+
type: 'error',
|
|
1899
|
+
name: 'AaveProviderReconfigurationBlocked',
|
|
1900
|
+
inputs: [],
|
|
1901
|
+
},
|
|
1387
1902
|
{
|
|
1388
1903
|
type: 'error',
|
|
1389
1904
|
name: 'AccessManagedInvalidAuthority',
|
|
@@ -1447,6 +1962,11 @@ exports.core4micaAbi = [
|
|
|
1447
1962
|
name: 'ExpectedPause',
|
|
1448
1963
|
inputs: [],
|
|
1449
1964
|
},
|
|
1965
|
+
{
|
|
1966
|
+
type: 'error',
|
|
1967
|
+
name: 'FeeTooHigh',
|
|
1968
|
+
inputs: [],
|
|
1969
|
+
},
|
|
1450
1970
|
{
|
|
1451
1971
|
type: 'error',
|
|
1452
1972
|
name: 'GracePeriodNotElapsed',
|
|
@@ -1462,6 +1982,22 @@ exports.core4micaAbi = [
|
|
|
1462
1982
|
name: 'InsufficientAvailable',
|
|
1463
1983
|
inputs: [],
|
|
1464
1984
|
},
|
|
1985
|
+
{
|
|
1986
|
+
type: 'error',
|
|
1987
|
+
name: 'InvalidAToken',
|
|
1988
|
+
inputs: [
|
|
1989
|
+
{
|
|
1990
|
+
name: 'asset',
|
|
1991
|
+
type: 'address',
|
|
1992
|
+
internalType: 'address',
|
|
1993
|
+
},
|
|
1994
|
+
{
|
|
1995
|
+
name: 'aToken',
|
|
1996
|
+
type: 'address',
|
|
1997
|
+
internalType: 'address',
|
|
1998
|
+
},
|
|
1999
|
+
],
|
|
2000
|
+
},
|
|
1465
2001
|
{
|
|
1466
2002
|
type: 'error',
|
|
1467
2003
|
name: 'InvalidAsset',
|
|
@@ -1504,6 +2040,27 @@ exports.core4micaAbi = [
|
|
|
1504
2040
|
name: 'NoWithdrawalRequested',
|
|
1505
2041
|
inputs: [],
|
|
1506
2042
|
},
|
|
2043
|
+
{
|
|
2044
|
+
type: 'error',
|
|
2045
|
+
name: 'ReconciliationLoss',
|
|
2046
|
+
inputs: [
|
|
2047
|
+
{
|
|
2048
|
+
name: 'asset',
|
|
2049
|
+
type: 'address',
|
|
2050
|
+
internalType: 'address',
|
|
2051
|
+
},
|
|
2052
|
+
{
|
|
2053
|
+
name: 'tracked',
|
|
2054
|
+
type: 'uint256',
|
|
2055
|
+
internalType: 'uint256',
|
|
2056
|
+
},
|
|
2057
|
+
{
|
|
2058
|
+
name: 'observed',
|
|
2059
|
+
type: 'uint256',
|
|
2060
|
+
internalType: 'uint256',
|
|
2061
|
+
},
|
|
2062
|
+
],
|
|
2063
|
+
},
|
|
1507
2064
|
{
|
|
1508
2065
|
type: 'error',
|
|
1509
2066
|
name: 'ReentrancyGuardReentrantCall',
|
|
@@ -1520,6 +2077,32 @@ exports.core4micaAbi = [
|
|
|
1520
2077
|
},
|
|
1521
2078
|
],
|
|
1522
2079
|
},
|
|
2080
|
+
{
|
|
2081
|
+
type: 'error',
|
|
2082
|
+
name: 'StablecoinWithdrawShortfall',
|
|
2083
|
+
inputs: [
|
|
2084
|
+
{
|
|
2085
|
+
name: 'asset',
|
|
2086
|
+
type: 'address',
|
|
2087
|
+
internalType: 'address',
|
|
2088
|
+
},
|
|
2089
|
+
{
|
|
2090
|
+
name: 'requested',
|
|
2091
|
+
type: 'uint256',
|
|
2092
|
+
internalType: 'uint256',
|
|
2093
|
+
},
|
|
2094
|
+
{
|
|
2095
|
+
name: 'actual',
|
|
2096
|
+
type: 'uint256',
|
|
2097
|
+
internalType: 'uint256',
|
|
2098
|
+
},
|
|
2099
|
+
],
|
|
2100
|
+
},
|
|
2101
|
+
{
|
|
2102
|
+
type: 'error',
|
|
2103
|
+
name: 'SurplusClaimExceedsAvailable',
|
|
2104
|
+
inputs: [],
|
|
2105
|
+
},
|
|
1523
2106
|
{
|
|
1524
2107
|
type: 'error',
|
|
1525
2108
|
name: 'TabAlreadyPaid',
|
|
@@ -1545,6 +2128,11 @@ exports.core4micaAbi = [
|
|
|
1545
2128
|
name: 'TransferFailed',
|
|
1546
2129
|
inputs: [],
|
|
1547
2130
|
},
|
|
2131
|
+
{
|
|
2132
|
+
type: 'error',
|
|
2133
|
+
name: 'TreasuryClaimExceedsAvailable',
|
|
2134
|
+
inputs: [],
|
|
2135
|
+
},
|
|
1548
2136
|
{
|
|
1549
2137
|
type: 'error',
|
|
1550
2138
|
name: 'UnsupportedAsset',
|
|
@@ -1567,4 +2155,46 @@ exports.core4micaAbi = [
|
|
|
1567
2155
|
},
|
|
1568
2156
|
],
|
|
1569
2157
|
},
|
|
2158
|
+
{
|
|
2159
|
+
type: 'error',
|
|
2160
|
+
name: 'UnsupportedTreasuryAsset',
|
|
2161
|
+
inputs: [
|
|
2162
|
+
{
|
|
2163
|
+
name: 'asset',
|
|
2164
|
+
type: 'address',
|
|
2165
|
+
internalType: 'address',
|
|
2166
|
+
},
|
|
2167
|
+
],
|
|
2168
|
+
},
|
|
2169
|
+
{
|
|
2170
|
+
type: 'error',
|
|
2171
|
+
name: 'UserScaledBalanceUnderflow',
|
|
2172
|
+
inputs: [
|
|
2173
|
+
{
|
|
2174
|
+
name: 'asset',
|
|
2175
|
+
type: 'address',
|
|
2176
|
+
internalType: 'address',
|
|
2177
|
+
},
|
|
2178
|
+
{
|
|
2179
|
+
name: 'user',
|
|
2180
|
+
type: 'address',
|
|
2181
|
+
internalType: 'address',
|
|
2182
|
+
},
|
|
2183
|
+
{
|
|
2184
|
+
name: 'deduction',
|
|
2185
|
+
type: 'uint256',
|
|
2186
|
+
internalType: 'uint256',
|
|
2187
|
+
},
|
|
2188
|
+
{
|
|
2189
|
+
name: 'balance',
|
|
2190
|
+
type: 'uint256',
|
|
2191
|
+
internalType: 'uint256',
|
|
2192
|
+
},
|
|
2193
|
+
],
|
|
2194
|
+
},
|
|
2195
|
+
{
|
|
2196
|
+
type: 'error',
|
|
2197
|
+
name: 'ZeroAddress',
|
|
2198
|
+
inputs: [],
|
|
2199
|
+
},
|
|
1570
2200
|
];
|