@logswap/sdk 0.5.76 → 0.5.78

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/dist/generated.js CHANGED
@@ -5,7 +5,8 @@ export const cPoolManagerAbi = [
5
5
  {
6
6
  type: 'constructor',
7
7
  inputs: [
8
- { name: '_feeCollector', internalType: 'address', type: 'address' },
8
+ { name: '_treasury', internalType: 'address', type: 'address' },
9
+ { name: '_registry', internalType: 'address', type: 'address' },
9
10
  { name: 'gate_', internalType: 'address', type: 'address' },
10
11
  ],
11
12
  stateMutability: 'nonpayable',
@@ -20,7 +21,7 @@ export const cPoolManagerAbi = [
20
21
  {
21
22
  type: 'function',
22
23
  inputs: [],
23
- name: 'acceptCollector',
24
+ name: 'acceptTreasury',
24
25
  outputs: [],
25
26
  stateMutability: 'nonpayable',
26
27
  },
@@ -163,7 +164,6 @@ export const cPoolManagerAbi = [
163
164
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
164
165
  ],
165
166
  },
166
- { name: 'to', internalType: 'address', type: 'address' },
167
167
  ],
168
168
  name: 'collectProtocolFees',
169
169
  outputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }],
@@ -210,13 +210,6 @@ export const cPoolManagerAbi = [
210
210
  outputs: [{ name: '', internalType: 'bytes32[]', type: 'bytes32[]' }],
211
211
  stateMutability: 'view',
212
212
  },
213
- {
214
- type: 'function',
215
- inputs: [],
216
- name: 'feeCollector',
217
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
218
- stateMutability: 'view',
219
- },
220
213
  {
221
214
  type: 'function',
222
215
  inputs: [],
@@ -354,14 +347,14 @@ export const cPoolManagerAbi = [
354
347
  {
355
348
  type: 'function',
356
349
  inputs: [],
357
- name: 'pendingCollector',
350
+ name: 'pendingTreasury',
358
351
  outputs: [{ name: '', internalType: 'address', type: 'address' }],
359
352
  stateMutability: 'view',
360
353
  },
361
354
  {
362
355
  type: 'function',
363
356
  inputs: [{ name: 'next', internalType: 'address', type: 'address' }],
364
- name: 'proposeCollector',
357
+ name: 'proposeTreasury',
365
358
  outputs: [],
366
359
  stateMutability: 'nonpayable',
367
360
  },
@@ -389,10 +382,10 @@ export const cPoolManagerAbi = [
389
382
  },
390
383
  {
391
384
  type: 'function',
392
- inputs: [{ name: 'gate_', internalType: 'address', type: 'address' }],
393
- name: 'setGate',
394
- outputs: [],
395
- stateMutability: 'nonpayable',
385
+ inputs: [],
386
+ name: 'registry',
387
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
388
+ stateMutability: 'view',
396
389
  },
397
390
  {
398
391
  type: 'function',
@@ -404,13 +397,6 @@ export const cPoolManagerAbi = [
404
397
  outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
405
398
  stateMutability: 'payable',
406
399
  },
407
- {
408
- type: 'function',
409
- inputs: [{ name: 'tax', internalType: 'uint256', type: 'uint256' }],
410
- name: 'setSwapFeeTax',
411
- outputs: [],
412
- stateMutability: 'nonpayable',
413
- },
414
400
  {
415
401
  type: 'function',
416
402
  inputs: [],
@@ -439,9 +425,17 @@ export const cPoolManagerAbi = [
439
425
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
440
426
  ],
441
427
  },
442
- { name: 'baseSide', internalType: 'bool', type: 'bool' },
443
- { name: 'amountSpecified', internalType: 'int256', type: 'int256' },
444
- { name: 'limit', internalType: 'uint256', type: 'uint256' },
428
+ {
429
+ name: 'sp',
430
+ internalType: 'struct CPoolManager.SwapParams',
431
+ type: 'tuple',
432
+ components: [
433
+ { name: 'baseSide', internalType: 'bool', type: 'bool' },
434
+ { name: 'amountSpecified', internalType: 'int256', type: 'int256' },
435
+ { name: 'limit', internalType: 'uint256', type: 'uint256' },
436
+ { name: 'taker', internalType: 'address', type: 'address' },
437
+ ],
438
+ },
445
439
  ],
446
440
  name: 'swap',
447
441
  outputs: [
@@ -450,13 +444,6 @@ export const cPoolManagerAbi = [
450
444
  ],
451
445
  stateMutability: 'nonpayable',
452
446
  },
453
- {
454
- type: 'function',
455
- inputs: [],
456
- name: 'swapFeeTax',
457
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
458
- stateMutability: 'view',
459
- },
460
447
  {
461
448
  type: 'function',
462
449
  inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
@@ -512,6 +499,13 @@ export const cPoolManagerAbi = [
512
499
  outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
513
500
  stateMutability: 'payable',
514
501
  },
502
+ {
503
+ type: 'function',
504
+ inputs: [],
505
+ name: 'treasury',
506
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
507
+ stateMutability: 'view',
508
+ },
515
509
  {
516
510
  type: 'function',
517
511
  inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
@@ -612,34 +606,49 @@ export const cPoolManagerAbi = [
612
606
  type: 'bytes32',
613
607
  indexed: true,
614
608
  },
615
- { name: 'from', internalType: 'address', type: 'address', indexed: true },
616
- { name: 'id', internalType: 'uint256', type: 'uint256', indexed: true },
617
609
  {
618
- name: 'shares',
619
- internalType: 'uint256',
620
- type: 'uint256',
610
+ name: 'logPrice',
611
+ internalType: 'int256',
612
+ type: 'int256',
621
613
  indexed: false,
622
614
  },
623
615
  {
624
- name: 'dBase',
616
+ name: 'feeGrowth',
625
617
  internalType: 'uint256',
626
618
  type: 'uint256',
627
619
  indexed: false,
628
620
  },
629
621
  {
630
- name: 'dQuote',
622
+ name: 'realizedVariance',
631
623
  internalType: 'uint256',
632
624
  type: 'uint256',
633
625
  indexed: false,
634
626
  },
635
627
  {
636
- name: 'fees',
628
+ name: 'lActive',
637
629
  internalType: 'uint256',
638
630
  type: 'uint256',
639
631
  indexed: false,
640
632
  },
641
633
  ],
642
- name: 'Burn',
634
+ name: 'CSwapState',
635
+ },
636
+ {
637
+ type: 'event',
638
+ anonymous: false,
639
+ inputs: [
640
+ { name: 'id', internalType: 'uint256', type: 'uint256', indexed: true },
641
+ {
642
+ name: 'poolId',
643
+ internalType: 'bytes32',
644
+ type: 'bytes32',
645
+ indexed: true,
646
+ },
647
+ { name: 'floor', internalType: 'int256', type: 'int256', indexed: false },
648
+ { name: 'cap', internalType: 'int256', type: 'int256', indexed: false },
649
+ { name: 'capped', internalType: 'bool', type: 'bool', indexed: false },
650
+ ],
651
+ name: 'ClassRegistered',
643
652
  },
644
653
  {
645
654
  type: 'event',
@@ -665,103 +674,125 @@ export const cPoolManagerAbi = [
665
674
  indexed: false,
666
675
  },
667
676
  ],
668
- name: 'Claim',
677
+ name: 'FeesClaimed',
678
+ },
679
+ {
680
+ type: 'event',
681
+ anonymous: false,
682
+ inputs: [
683
+ { name: 'gate', internalType: 'address', type: 'address', indexed: true },
684
+ ],
685
+ name: 'GateSet',
669
686
  },
670
687
  {
671
688
  type: 'event',
672
689
  anonymous: false,
673
690
  inputs: [
674
691
  {
675
- name: 'previous',
692
+ name: 'poolId',
693
+ internalType: 'bytes32',
694
+ type: 'bytes32',
695
+ indexed: true,
696
+ },
697
+ { name: 'base', internalType: 'address', type: 'address', indexed: true },
698
+ {
699
+ name: 'quote',
676
700
  internalType: 'address',
677
701
  type: 'address',
678
702
  indexed: true,
679
703
  },
680
704
  {
681
- name: 'current',
705
+ name: 'tickSpacing',
706
+ internalType: 'int256',
707
+ type: 'int256',
708
+ indexed: false,
709
+ },
710
+ {
711
+ name: 'swapFee',
712
+ internalType: 'uint256',
713
+ type: 'uint256',
714
+ indexed: false,
715
+ },
716
+ { name: 'x0', internalType: 'int256', type: 'int256', indexed: false },
717
+ {
718
+ name: 'creator',
682
719
  internalType: 'address',
683
720
  type: 'address',
684
- indexed: true,
721
+ indexed: false,
722
+ },
723
+ {
724
+ name: 'mintFee',
725
+ internalType: 'uint256',
726
+ type: 'uint256',
727
+ indexed: false,
728
+ },
729
+ {
730
+ name: 'swapFeeTax',
731
+ internalType: 'uint256',
732
+ type: 'uint256',
733
+ indexed: false,
685
734
  },
686
735
  ],
687
- name: 'CollectorAccepted',
736
+ name: 'MarketCreated',
688
737
  },
689
738
  {
690
739
  type: 'event',
691
740
  anonymous: false,
692
741
  inputs: [
693
742
  {
694
- name: 'current',
743
+ name: 'owner',
695
744
  internalType: 'address',
696
745
  type: 'address',
697
746
  indexed: true,
698
747
  },
699
748
  {
700
- name: 'proposed',
749
+ name: 'operator',
701
750
  internalType: 'address',
702
751
  type: 'address',
703
752
  indexed: true,
704
753
  },
754
+ { name: 'approved', internalType: 'bool', type: 'bool', indexed: false },
705
755
  ],
706
- name: 'CollectorProposed',
707
- },
708
- {
709
- type: 'event',
710
- anonymous: false,
711
- inputs: [
712
- { name: 'gate', internalType: 'address', type: 'address', indexed: true },
713
- ],
714
- name: 'GateSet',
756
+ name: 'OperatorSet',
715
757
  },
716
758
  {
717
759
  type: 'event',
718
760
  anonymous: false,
719
761
  inputs: [
720
- { name: 'id', internalType: 'uint256', type: 'uint256', indexed: true },
721
762
  {
722
763
  name: 'poolId',
723
764
  internalType: 'bytes32',
724
765
  type: 'bytes32',
725
766
  indexed: true,
726
767
  },
727
- { name: 'floor', internalType: 'int256', type: 'int256', indexed: false },
728
- { name: 'cap', internalType: 'int256', type: 'int256', indexed: false },
729
- { name: 'capped', internalType: 'bool', type: 'bool', indexed: false },
730
- ],
731
- name: 'IdRegistered',
732
- },
733
- {
734
- type: 'event',
735
- anonymous: false,
736
- inputs: [
768
+ { name: 'from', internalType: 'address', type: 'address', indexed: true },
769
+ { name: 'id', internalType: 'uint256', type: 'uint256', indexed: true },
737
770
  {
738
- name: 'poolId',
739
- internalType: 'bytes32',
740
- type: 'bytes32',
741
- indexed: true,
771
+ name: 'shares',
772
+ internalType: 'uint256',
773
+ type: 'uint256',
774
+ indexed: false,
742
775
  },
743
- { name: 'base', internalType: 'address', type: 'address', indexed: true },
744
776
  {
745
- name: 'quote',
746
- internalType: 'address',
747
- type: 'address',
748
- indexed: true,
777
+ name: 'dBase',
778
+ internalType: 'uint256',
779
+ type: 'uint256',
780
+ indexed: false,
749
781
  },
750
782
  {
751
- name: 'tickSpacing',
752
- internalType: 'int256',
753
- type: 'int256',
783
+ name: 'dQuote',
784
+ internalType: 'uint256',
785
+ type: 'uint256',
754
786
  indexed: false,
755
787
  },
756
788
  {
757
- name: 'swapFee',
789
+ name: 'fees',
758
790
  internalType: 'uint256',
759
791
  type: 'uint256',
760
792
  indexed: false,
761
793
  },
762
- { name: 'x0', internalType: 'int256', type: 'int256', indexed: false },
763
794
  ],
764
- name: 'Initialize',
795
+ name: 'PositionBurned',
765
796
  },
766
797
  {
767
798
  type: 'event',
@@ -794,27 +825,63 @@ export const cPoolManagerAbi = [
794
825
  indexed: false,
795
826
  },
796
827
  ],
797
- name: 'Mint',
828
+ name: 'PositionMinted',
798
829
  },
799
830
  {
800
831
  type: 'event',
801
832
  anonymous: false,
802
833
  inputs: [
803
834
  {
804
- name: 'owner',
805
- internalType: 'address',
806
- type: 'address',
835
+ name: 'poolId',
836
+ internalType: 'bytes32',
837
+ type: 'bytes32',
807
838
  indexed: true,
808
839
  },
809
840
  {
810
- name: 'operator',
841
+ name: 'holder',
811
842
  internalType: 'address',
812
843
  type: 'address',
813
844
  indexed: true,
814
845
  },
815
- { name: 'approved', internalType: 'bool', type: 'bool', indexed: false },
846
+ {
847
+ name: 'fromId',
848
+ internalType: 'uint256',
849
+ type: 'uint256',
850
+ indexed: true,
851
+ },
852
+ {
853
+ name: 'toId',
854
+ internalType: 'uint256',
855
+ type: 'uint256',
856
+ indexed: false,
857
+ },
858
+ {
859
+ name: 'oldL',
860
+ internalType: 'uint256',
861
+ type: 'uint256',
862
+ indexed: false,
863
+ },
864
+ {
865
+ name: 'newL',
866
+ internalType: 'uint256',
867
+ type: 'uint256',
868
+ indexed: false,
869
+ },
870
+ { name: 'dBase', internalType: 'int256', type: 'int256', indexed: false },
871
+ {
872
+ name: 'dQuote',
873
+ internalType: 'int256',
874
+ type: 'int256',
875
+ indexed: false,
876
+ },
877
+ {
878
+ name: 'fees',
879
+ internalType: 'uint256',
880
+ type: 'uint256',
881
+ indexed: false,
882
+ },
816
883
  ],
817
- name: 'OperatorSet',
884
+ name: 'PositionUpdated',
818
885
  },
819
886
  {
820
887
  type: 'event',
@@ -852,51 +919,46 @@ export const cPoolManagerAbi = [
852
919
  type: 'address',
853
920
  indexed: true,
854
921
  },
855
- { name: 'baseIn', internalType: 'bool', type: 'bool', indexed: false },
856
922
  {
857
- name: 'amountIn',
858
- internalType: 'uint256',
859
- type: 'uint256',
923
+ name: 'taker',
924
+ internalType: 'address',
925
+ type: 'address',
926
+ indexed: true,
927
+ },
928
+ {
929
+ name: 'tokenIn',
930
+ internalType: 'address',
931
+ type: 'address',
860
932
  indexed: false,
861
933
  },
862
934
  {
863
- name: 'amountOut',
864
- internalType: 'uint256',
865
- type: 'uint256',
935
+ name: 'tokenOut',
936
+ internalType: 'address',
937
+ type: 'address',
866
938
  indexed: false,
867
939
  },
868
- { name: 'fee', internalType: 'uint256', type: 'uint256', indexed: false },
869
- { name: 'newX', internalType: 'int256', type: 'int256', indexed: false },
870
940
  {
871
- name: 'swapFee',
941
+ name: 'amountIn',
872
942
  internalType: 'uint256',
873
943
  type: 'uint256',
874
944
  indexed: false,
875
945
  },
876
- { name: 'F', internalType: 'uint256', type: 'uint256', indexed: false },
877
946
  {
878
- name: 'bigSigma',
947
+ name: 'amountOut',
879
948
  internalType: 'uint256',
880
949
  type: 'uint256',
881
950
  indexed: false,
882
951
  },
952
+ { name: 'fee', internalType: 'uint256', type: 'uint256', indexed: false },
883
953
  {
884
- name: 'lActive',
885
- internalType: 'uint256',
886
- type: 'uint256',
954
+ name: 'feeToken',
955
+ internalType: 'address',
956
+ type: 'address',
887
957
  indexed: false,
888
958
  },
889
959
  ],
890
960
  name: 'Swap',
891
961
  },
892
- {
893
- type: 'event',
894
- anonymous: false,
895
- inputs: [
896
- { name: 'tax', internalType: 'uint256', type: 'uint256', indexed: false },
897
- ],
898
- name: 'SwapFeeTaxSet',
899
- },
900
962
  {
901
963
  type: 'event',
902
964
  anonymous: false,
@@ -916,7 +978,7 @@ export const cPoolManagerAbi = [
916
978
  indexed: false,
917
979
  },
918
980
  ],
919
- name: 'TickCross',
981
+ name: 'TickCrossed',
920
982
  },
921
983
  {
922
984
  type: 'event',
@@ -940,56 +1002,38 @@ export const cPoolManagerAbi = [
940
1002
  anonymous: false,
941
1003
  inputs: [
942
1004
  {
943
- name: 'poolId',
944
- internalType: 'bytes32',
945
- type: 'bytes32',
1005
+ name: 'previous',
1006
+ internalType: 'address',
1007
+ type: 'address',
946
1008
  indexed: true,
947
1009
  },
948
1010
  {
949
- name: 'holder',
1011
+ name: 'current',
950
1012
  internalType: 'address',
951
1013
  type: 'address',
952
1014
  indexed: true,
953
1015
  },
1016
+ ],
1017
+ name: 'TreasuryAccepted',
1018
+ },
1019
+ {
1020
+ type: 'event',
1021
+ anonymous: false,
1022
+ inputs: [
954
1023
  {
955
- name: 'fromId',
956
- internalType: 'uint256',
957
- type: 'uint256',
1024
+ name: 'current',
1025
+ internalType: 'address',
1026
+ type: 'address',
958
1027
  indexed: true,
959
1028
  },
960
1029
  {
961
- name: 'toId',
962
- internalType: 'uint256',
963
- type: 'uint256',
964
- indexed: false,
965
- },
966
- {
967
- name: 'oldL',
968
- internalType: 'uint256',
969
- type: 'uint256',
970
- indexed: false,
971
- },
972
- {
973
- name: 'newL',
974
- internalType: 'uint256',
975
- type: 'uint256',
976
- indexed: false,
977
- },
978
- { name: 'dBase', internalType: 'int256', type: 'int256', indexed: false },
979
- {
980
- name: 'dQuote',
981
- internalType: 'int256',
982
- type: 'int256',
983
- indexed: false,
984
- },
985
- {
986
- name: 'fees',
987
- internalType: 'uint256',
988
- type: 'uint256',
989
- indexed: false,
1030
+ name: 'proposed',
1031
+ internalType: 'address',
1032
+ type: 'address',
1033
+ indexed: true,
990
1034
  },
991
1035
  ],
992
- name: 'Update',
1036
+ name: 'TreasuryProposed',
993
1037
  },
994
1038
  { type: 'error', inputs: [], name: 'AlreadyUnlocked' },
995
1039
  { type: 'error', inputs: [], name: 'BackstopMustBeUncapped' },
@@ -1009,7 +1053,8 @@ export const cPoolManagerAbi = [
1009
1053
  { type: 'error', inputs: [], name: 'InvalidToken' },
1010
1054
  { type: 'error', inputs: [], name: 'NoLiquidity' },
1011
1055
  { type: 'error', inputs: [], name: 'NotAuthorized' },
1012
- { type: 'error', inputs: [], name: 'NotCollector' },
1056
+ { type: 'error', inputs: [], name: 'NotLogAuthority' },
1057
+ { type: 'error', inputs: [], name: 'NotTreasury' },
1013
1058
  { type: 'error', inputs: [], name: 'OffGrid' },
1014
1059
  { type: 'error', inputs: [], name: 'PoolAlreadyInitialized' },
1015
1060
  { type: 'error', inputs: [], name: 'PoolLocked' },
@@ -1038,11 +1083,25 @@ export const fPoolManagerAbi = [
1038
1083
  {
1039
1084
  type: 'constructor',
1040
1085
  inputs: [
1041
- { name: '_feeCollector', internalType: 'address', type: 'address' },
1086
+ { name: '_treasury', internalType: 'address', type: 'address' },
1042
1087
  { name: '_registry', internalType: 'address', type: 'address' },
1043
1088
  ],
1044
1089
  stateMutability: 'nonpayable',
1045
1090
  },
1091
+ {
1092
+ type: 'function',
1093
+ inputs: [],
1094
+ name: 'PAD_PAYOUT_MAX',
1095
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1096
+ stateMutability: 'view',
1097
+ },
1098
+ {
1099
+ type: 'function',
1100
+ inputs: [],
1101
+ name: 'PAYEE_CUT_MAX',
1102
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1103
+ stateMutability: 'view',
1104
+ },
1046
1105
  {
1047
1106
  type: 'function',
1048
1107
  inputs: [],
@@ -1053,7 +1112,7 @@ export const fPoolManagerAbi = [
1053
1112
  {
1054
1113
  type: 'function',
1055
1114
  inputs: [],
1056
- name: 'acceptCollector',
1115
+ name: 'acceptTreasury',
1057
1116
  outputs: [],
1058
1117
  stateMutability: 'nonpayable',
1059
1118
  },
@@ -1184,13 +1243,6 @@ export const fPoolManagerAbi = [
1184
1243
  outputs: [{ name: '', internalType: 'bytes32[]', type: 'bytes32[]' }],
1185
1244
  stateMutability: 'view',
1186
1245
  },
1187
- {
1188
- type: 'function',
1189
- inputs: [],
1190
- name: 'feeCollector',
1191
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
1192
- stateMutability: 'view',
1193
- },
1194
1246
  {
1195
1247
  type: 'function',
1196
1248
  inputs: [
@@ -1217,7 +1269,7 @@ export const fPoolManagerAbi = [
1217
1269
  { name: 'policy', internalType: 'address', type: 'address' },
1218
1270
  { name: 'creator', internalType: 'address', type: 'address' },
1219
1271
  { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
1220
- { name: 'cap', internalType: 'uint24', type: 'uint24' },
1272
+ { name: 'lnCapOverFloor', internalType: 'uint24', type: 'uint24' },
1221
1273
  ],
1222
1274
  },
1223
1275
  { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
@@ -1301,7 +1353,7 @@ export const fPoolManagerAbi = [
1301
1353
  {
1302
1354
  type: 'function',
1303
1355
  inputs: [],
1304
- name: 'pendingCollector',
1356
+ name: 'pendingTreasury',
1305
1357
  outputs: [{ name: '', internalType: 'address', type: 'address' }],
1306
1358
  stateMutability: 'view',
1307
1359
  },
@@ -1315,7 +1367,7 @@ export const fPoolManagerAbi = [
1315
1367
  {
1316
1368
  type: 'function',
1317
1369
  inputs: [{ name: 'next', internalType: 'address', type: 'address' }],
1318
- name: 'proposeCollector',
1370
+ name: 'proposeTreasury',
1319
1371
  outputs: [],
1320
1372
  stateMutability: 'nonpayable',
1321
1373
  },
@@ -1345,9 +1397,7 @@ export const fPoolManagerAbi = [
1345
1397
  type: 'function',
1346
1398
  inputs: [],
1347
1399
  name: 'registry',
1348
- outputs: [
1349
- { name: '', internalType: 'contract PolicyRegistry', type: 'address' },
1350
- ],
1400
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
1351
1401
  stateMutability: 'view',
1352
1402
  },
1353
1403
  {
@@ -1544,6 +1594,13 @@ export const fPoolManagerAbi = [
1544
1594
  outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
1545
1595
  stateMutability: 'payable',
1546
1596
  },
1597
+ {
1598
+ type: 'function',
1599
+ inputs: [],
1600
+ name: 'treasury',
1601
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
1602
+ stateMutability: 'view',
1603
+ },
1547
1604
  {
1548
1605
  type: 'function',
1549
1606
  inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
@@ -1615,38 +1672,76 @@ export const fPoolManagerAbi = [
1615
1672
  anonymous: false,
1616
1673
  inputs: [
1617
1674
  {
1618
- name: 'previous',
1619
- internalType: 'address',
1620
- type: 'address',
1675
+ name: 'poolId',
1676
+ internalType: 'bytes32',
1677
+ type: 'bytes32',
1621
1678
  indexed: true,
1622
1679
  },
1623
1680
  {
1624
- name: 'current',
1681
+ name: 'holder',
1625
1682
  internalType: 'address',
1626
1683
  type: 'address',
1627
1684
  indexed: true,
1628
1685
  },
1686
+ { name: 'to', internalType: 'address', type: 'address', indexed: true },
1687
+ {
1688
+ name: 'amount',
1689
+ internalType: 'uint256',
1690
+ type: 'uint256',
1691
+ indexed: false,
1692
+ },
1629
1693
  ],
1630
- name: 'CollectorAccepted',
1694
+ name: 'DividendClaimed',
1631
1695
  },
1632
1696
  {
1633
1697
  type: 'event',
1634
1698
  anonymous: false,
1635
1699
  inputs: [
1636
1700
  {
1637
- name: 'current',
1701
+ name: 'poolId',
1702
+ internalType: 'bytes32',
1703
+ type: 'bytes32',
1704
+ indexed: true,
1705
+ },
1706
+ {
1707
+ name: 'tokenIn',
1638
1708
  internalType: 'address',
1639
1709
  type: 'address',
1640
- indexed: true,
1710
+ indexed: false,
1641
1711
  },
1642
1712
  {
1643
- name: 'proposed',
1713
+ name: 'tokenOut',
1644
1714
  internalType: 'address',
1645
1715
  type: 'address',
1646
- indexed: true,
1716
+ indexed: false,
1717
+ },
1718
+ {
1719
+ name: 'reserveIn',
1720
+ internalType: 'uint256',
1721
+ type: 'uint256',
1722
+ indexed: false,
1723
+ },
1724
+ {
1725
+ name: 'reserveOut',
1726
+ internalType: 'uint256',
1727
+ type: 'uint256',
1728
+ indexed: false,
1729
+ },
1730
+ {
1731
+ name: 'reserveQuote',
1732
+ internalType: 'uint256',
1733
+ type: 'uint256',
1734
+ indexed: false,
1735
+ },
1736
+ { name: 'L', internalType: 'uint256', type: 'uint256', indexed: false },
1737
+ {
1738
+ name: 'realizedVariance',
1739
+ internalType: 'uint256',
1740
+ type: 'uint256',
1741
+ indexed: false,
1647
1742
  },
1648
1743
  ],
1649
- name: 'CollectorProposed',
1744
+ name: 'FSwapState',
1650
1745
  },
1651
1746
  {
1652
1747
  type: 'event',
@@ -1658,21 +1753,21 @@ export const fPoolManagerAbi = [
1658
1753
  type: 'bytes32',
1659
1754
  indexed: true,
1660
1755
  },
1756
+ { name: 'gen', internalType: 'uint256', type: 'uint256', indexed: true },
1661
1757
  {
1662
- name: 'holder',
1663
- internalType: 'address',
1664
- type: 'address',
1665
- indexed: true,
1758
+ name: 'supply',
1759
+ internalType: 'uint256',
1760
+ type: 'uint256',
1761
+ indexed: false,
1666
1762
  },
1667
- { name: 'to', internalType: 'address', type: 'address', indexed: true },
1668
1763
  {
1669
- name: 'amount',
1764
+ name: 'quote',
1670
1765
  internalType: 'uint256',
1671
1766
  type: 'uint256',
1672
1767
  indexed: false,
1673
1768
  },
1674
1769
  ],
1675
- name: 'DividendClaimed',
1770
+ name: 'GenerationRetired',
1676
1771
  },
1677
1772
  {
1678
1773
  type: 'event',
@@ -1684,30 +1779,46 @@ export const fPoolManagerAbi = [
1684
1779
  type: 'bytes32',
1685
1780
  indexed: true,
1686
1781
  },
1687
- { name: 'from', internalType: 'address', type: 'address', indexed: true },
1688
- { name: 'gen', internalType: 'uint256', type: 'uint256', indexed: false },
1689
- { name: 'dL', internalType: 'uint256', type: 'uint256', indexed: false },
1782
+ { name: 'gen', internalType: 'uint256', type: 'uint256', indexed: true },
1783
+ { name: 'L0', internalType: 'uint256', type: 'uint256', indexed: false },
1784
+ { name: 'Q0', internalType: 'uint256', type: 'uint256', indexed: false },
1690
1785
  {
1691
- name: 'shares',
1692
- internalType: 'uint256',
1693
- type: 'uint256',
1786
+ name: 'r0',
1787
+ internalType: 'uint256[]',
1788
+ type: 'uint256[]',
1694
1789
  indexed: false,
1695
1790
  },
1791
+ ],
1792
+ name: 'GenerationSeeded',
1793
+ },
1794
+ {
1795
+ type: 'event',
1796
+ anonymous: false,
1797
+ inputs: [
1798
+ {
1799
+ name: 'poolId',
1800
+ internalType: 'bytes32',
1801
+ type: 'bytes32',
1802
+ indexed: true,
1803
+ },
1804
+ { name: 'to', internalType: 'address', type: 'address', indexed: true },
1805
+ { name: 'gen', internalType: 'uint256', type: 'uint256', indexed: false },
1696
1806
  {
1697
- name: 'dQuote',
1807
+ name: 'amount',
1698
1808
  internalType: 'uint256',
1699
1809
  type: 'uint256',
1700
1810
  indexed: false,
1701
1811
  },
1702
- { name: 'L', internalType: 'uint256', type: 'uint256', indexed: false },
1812
+ { name: 'cut', internalType: 'uint256', type: 'uint256', indexed: false },
1703
1813
  {
1704
- name: 'supply',
1814
+ name: 'toOperator',
1705
1815
  internalType: 'uint256',
1706
1816
  type: 'uint256',
1707
1817
  indexed: false,
1708
1818
  },
1819
+ { name: 'Q', internalType: 'uint256', type: 'uint256', indexed: false },
1709
1820
  ],
1710
- name: 'FBurn',
1821
+ name: 'IncomeHarvested',
1711
1822
  },
1712
1823
  {
1713
1824
  type: 'event',
@@ -1719,18 +1830,7 @@ export const fPoolManagerAbi = [
1719
1830
  type: 'bytes32',
1720
1831
  indexed: true,
1721
1832
  },
1722
- {
1723
- name: 'quote',
1724
- internalType: 'address',
1725
- type: 'address',
1726
- indexed: true,
1727
- },
1728
- {
1729
- name: 'creator',
1730
- internalType: 'address',
1731
- type: 'address',
1732
- indexed: true,
1733
- },
1833
+ { name: 'gen', internalType: 'uint256', type: 'uint256', indexed: true },
1734
1834
  {
1735
1835
  name: 'bases',
1736
1836
  internalType: 'address[]',
@@ -1743,21 +1843,28 @@ export const fPoolManagerAbi = [
1743
1843
  type: 'uint256[]',
1744
1844
  indexed: false,
1745
1845
  },
1846
+ ],
1847
+ name: 'LegsSet',
1848
+ },
1849
+ {
1850
+ type: 'event',
1851
+ anonymous: false,
1852
+ inputs: [
1746
1853
  {
1747
- name: 'swapFee',
1748
- internalType: 'uint256',
1749
- type: 'uint256',
1750
- indexed: false,
1854
+ name: 'owner',
1855
+ internalType: 'address',
1856
+ type: 'address',
1857
+ indexed: true,
1751
1858
  },
1752
1859
  {
1753
- name: 'policy',
1860
+ name: 'operator',
1754
1861
  internalType: 'address',
1755
1862
  type: 'address',
1756
- indexed: false,
1863
+ indexed: true,
1757
1864
  },
1758
- { name: 'cap', internalType: 'uint24', type: 'uint24', indexed: false },
1865
+ { name: 'approved', internalType: 'bool', type: 'bool', indexed: false },
1759
1866
  ],
1760
- name: 'FInitialize',
1867
+ name: 'OperatorSet',
1761
1868
  },
1762
1869
  {
1763
1870
  type: 'event',
@@ -1769,30 +1876,11 @@ export const fPoolManagerAbi = [
1769
1876
  type: 'bytes32',
1770
1877
  indexed: true,
1771
1878
  },
1879
+ { name: 'from', internalType: 'address', type: 'address', indexed: true },
1772
1880
  { name: 'to', internalType: 'address', type: 'address', indexed: true },
1773
- { name: 'gen', internalType: 'uint256', type: 'uint256', indexed: false },
1774
- { name: 'dL', internalType: 'uint256', type: 'uint256', indexed: false },
1775
- {
1776
- name: 'shares',
1777
- internalType: 'uint256',
1778
- type: 'uint256',
1779
- indexed: false,
1780
- },
1781
- {
1782
- name: 'dQuote',
1783
- internalType: 'uint256',
1784
- type: 'uint256',
1785
- indexed: false,
1786
- },
1787
- { name: 'L', internalType: 'uint256', type: 'uint256', indexed: false },
1788
- {
1789
- name: 'supply',
1790
- internalType: 'uint256',
1791
- type: 'uint256',
1792
- indexed: false,
1793
- },
1881
+ { name: 'asks', internalType: 'uint8', type: 'uint8', indexed: false },
1794
1882
  ],
1795
- name: 'FMint',
1883
+ name: 'PolicyMigrated',
1796
1884
  },
1797
1885
  {
1798
1886
  type: 'event',
@@ -1805,56 +1893,55 @@ export const fPoolManagerAbi = [
1805
1893
  indexed: true,
1806
1894
  },
1807
1895
  {
1808
- name: 'sender',
1896
+ name: 'quote',
1809
1897
  internalType: 'address',
1810
1898
  type: 'address',
1811
1899
  indexed: true,
1812
1900
  },
1813
1901
  {
1814
- name: 'taker',
1902
+ name: 'creator',
1815
1903
  internalType: 'address',
1816
1904
  type: 'address',
1817
1905
  indexed: true,
1818
1906
  },
1819
1907
  {
1820
- name: 'tokenIn',
1821
- internalType: 'address',
1822
- type: 'address',
1908
+ name: 'bases',
1909
+ internalType: 'address[]',
1910
+ type: 'address[]',
1823
1911
  indexed: false,
1824
1912
  },
1825
1913
  {
1826
- name: 'tokenOut',
1827
- internalType: 'address',
1828
- type: 'address',
1914
+ name: 'weights',
1915
+ internalType: 'uint256[]',
1916
+ type: 'uint256[]',
1829
1917
  indexed: false,
1830
1918
  },
1831
1919
  {
1832
- name: 'amountIn',
1920
+ name: 'swapFee',
1833
1921
  internalType: 'uint256',
1834
1922
  type: 'uint256',
1835
1923
  indexed: false,
1836
1924
  },
1837
1925
  {
1838
- name: 'amountOut',
1839
- internalType: 'uint256',
1840
- type: 'uint256',
1926
+ name: 'policy',
1927
+ internalType: 'address',
1928
+ type: 'address',
1841
1929
  indexed: false,
1842
1930
  },
1843
- { name: 'fee', internalType: 'uint256', type: 'uint256', indexed: false },
1844
1931
  {
1845
- name: 'reserveIn',
1846
- internalType: 'uint256',
1847
- type: 'uint256',
1932
+ name: 'lnCapOverFloor',
1933
+ internalType: 'uint24',
1934
+ type: 'uint24',
1848
1935
  indexed: false,
1849
1936
  },
1850
1937
  {
1851
- name: 'reserveOut',
1938
+ name: 'mintFee',
1852
1939
  internalType: 'uint256',
1853
1940
  type: 'uint256',
1854
1941
  indexed: false,
1855
1942
  },
1856
1943
  ],
1857
- name: 'FSwap',
1944
+ name: 'PoolCreated',
1858
1945
  },
1859
1946
  {
1860
1947
  type: 'event',
@@ -1866,24 +1953,28 @@ export const fPoolManagerAbi = [
1866
1953
  type: 'bytes32',
1867
1954
  indexed: true,
1868
1955
  },
1869
- { name: 'to', internalType: 'address', type: 'address', indexed: true },
1870
- { name: 'gen', internalType: 'uint256', type: 'uint256', indexed: false },
1956
+ { name: 'pot', internalType: 'uint256', type: 'uint256', indexed: false },
1871
1957
  {
1872
- name: 'amount',
1958
+ name: 'payee',
1959
+ internalType: 'address',
1960
+ type: 'address',
1961
+ indexed: false,
1962
+ },
1963
+ {
1964
+ name: 'toPayee',
1873
1965
  internalType: 'uint256',
1874
1966
  type: 'uint256',
1875
1967
  indexed: false,
1876
1968
  },
1877
1969
  { name: 'cut', internalType: 'uint256', type: 'uint256', indexed: false },
1878
1970
  {
1879
- name: 'toOperator',
1971
+ name: 'deepened',
1880
1972
  internalType: 'uint256',
1881
1973
  type: 'uint256',
1882
1974
  indexed: false,
1883
1975
  },
1884
- { name: 'Q', internalType: 'uint256', type: 'uint256', indexed: false },
1885
1976
  ],
1886
- name: 'Harvest',
1977
+ name: 'PotReleased',
1887
1978
  },
1888
1979
  {
1889
1980
  type: 'event',
@@ -1895,41 +1986,50 @@ export const fPoolManagerAbi = [
1895
1986
  type: 'bytes32',
1896
1987
  indexed: true,
1897
1988
  },
1898
- { name: 'gen', internalType: 'uint256', type: 'uint256', indexed: true },
1899
- {
1900
- name: 'bases',
1901
- internalType: 'address[]',
1902
- type: 'address[]',
1903
- indexed: false,
1904
- },
1989
+ { name: 'inShares', internalType: 'bool', type: 'bool', indexed: false },
1905
1990
  {
1906
- name: 'weights',
1907
- internalType: 'uint256[]',
1908
- type: 'uint256[]',
1991
+ name: 'amount',
1992
+ internalType: 'uint256',
1993
+ type: 'uint256',
1909
1994
  indexed: false,
1910
1995
  },
1911
1996
  ],
1912
- name: 'LegsSet',
1997
+ name: 'ProtocolFeeTaken',
1913
1998
  },
1914
1999
  {
1915
2000
  type: 'event',
1916
2001
  anonymous: false,
1917
2002
  inputs: [
1918
2003
  {
1919
- name: 'owner',
1920
- internalType: 'address',
1921
- type: 'address',
2004
+ name: 'poolId',
2005
+ internalType: 'bytes32',
2006
+ type: 'bytes32',
1922
2007
  indexed: true,
1923
2008
  },
2009
+ { name: 'from', internalType: 'address', type: 'address', indexed: true },
2010
+ { name: 'gen', internalType: 'uint256', type: 'uint256', indexed: false },
2011
+ { name: 'dL', internalType: 'uint256', type: 'uint256', indexed: false },
1924
2012
  {
1925
- name: 'operator',
1926
- internalType: 'address',
1927
- type: 'address',
1928
- indexed: true,
2013
+ name: 'shares',
2014
+ internalType: 'uint256',
2015
+ type: 'uint256',
2016
+ indexed: false,
2017
+ },
2018
+ {
2019
+ name: 'dQuote',
2020
+ internalType: 'uint256',
2021
+ type: 'uint256',
2022
+ indexed: false,
2023
+ },
2024
+ { name: 'L', internalType: 'uint256', type: 'uint256', indexed: false },
2025
+ {
2026
+ name: 'supply',
2027
+ internalType: 'uint256',
2028
+ type: 'uint256',
2029
+ indexed: false,
1929
2030
  },
1930
- { name: 'approved', internalType: 'bool', type: 'bool', indexed: false },
1931
2031
  ],
1932
- name: 'OperatorSet',
2032
+ name: 'SharesBurned',
1933
2033
  },
1934
2034
  {
1935
2035
  type: 'event',
@@ -1941,31 +2041,30 @@ export const fPoolManagerAbi = [
1941
2041
  type: 'bytes32',
1942
2042
  indexed: true,
1943
2043
  },
1944
- { name: 'from', internalType: 'address', type: 'address', indexed: true },
1945
2044
  { name: 'to', internalType: 'address', type: 'address', indexed: true },
1946
- { name: 'asks', internalType: 'uint8', type: 'uint8', indexed: false },
1947
- ],
1948
- name: 'PolicyMigrated',
1949
- },
1950
- {
1951
- type: 'event',
1952
- anonymous: false,
1953
- inputs: [
2045
+ { name: 'gen', internalType: 'uint256', type: 'uint256', indexed: false },
2046
+ { name: 'dL', internalType: 'uint256', type: 'uint256', indexed: false },
1954
2047
  {
1955
- name: 'poolId',
1956
- internalType: 'bytes32',
1957
- type: 'bytes32',
1958
- indexed: true,
2048
+ name: 'shares',
2049
+ internalType: 'uint256',
2050
+ type: 'uint256',
2051
+ indexed: false,
1959
2052
  },
1960
- { name: 'inShares', internalType: 'bool', type: 'bool', indexed: false },
1961
2053
  {
1962
- name: 'amount',
2054
+ name: 'dQuote',
2055
+ internalType: 'uint256',
2056
+ type: 'uint256',
2057
+ indexed: false,
2058
+ },
2059
+ { name: 'L', internalType: 'uint256', type: 'uint256', indexed: false },
2060
+ {
2061
+ name: 'supply',
1963
2062
  internalType: 'uint256',
1964
2063
  type: 'uint256',
1965
2064
  indexed: false,
1966
2065
  },
1967
2066
  ],
1968
- name: 'ProtocolFee',
2067
+ name: 'SharesMinted',
1969
2068
  },
1970
2069
  {
1971
2070
  type: 'event',
@@ -1997,7 +2096,7 @@ export const fPoolManagerAbi = [
1997
2096
  indexed: false,
1998
2097
  },
1999
2098
  ],
2000
- name: 'Redeem',
2099
+ name: 'SharesRedeemed',
2001
2100
  },
2002
2101
  {
2003
2102
  type: 'event',
@@ -2009,112 +2108,119 @@ export const fPoolManagerAbi = [
2009
2108
  type: 'bytes32',
2010
2109
  indexed: true,
2011
2110
  },
2012
- { name: 'pot', internalType: 'uint256', type: 'uint256', indexed: false },
2111
+ ],
2112
+ name: 'Stamped',
2113
+ },
2114
+ {
2115
+ type: 'event',
2116
+ anonymous: false,
2117
+ inputs: [
2013
2118
  {
2014
- name: 'payee',
2119
+ name: 'poolId',
2120
+ internalType: 'bytes32',
2121
+ type: 'bytes32',
2122
+ indexed: true,
2123
+ },
2124
+ {
2125
+ name: 'sender',
2126
+ internalType: 'address',
2127
+ type: 'address',
2128
+ indexed: true,
2129
+ },
2130
+ {
2131
+ name: 'taker',
2132
+ internalType: 'address',
2133
+ type: 'address',
2134
+ indexed: true,
2135
+ },
2136
+ {
2137
+ name: 'tokenIn',
2015
2138
  internalType: 'address',
2016
2139
  type: 'address',
2017
2140
  indexed: false,
2018
2141
  },
2019
2142
  {
2020
- name: 'toPayee',
2143
+ name: 'tokenOut',
2144
+ internalType: 'address',
2145
+ type: 'address',
2146
+ indexed: false,
2147
+ },
2148
+ {
2149
+ name: 'amountIn',
2021
2150
  internalType: 'uint256',
2022
2151
  type: 'uint256',
2023
2152
  indexed: false,
2024
2153
  },
2025
- { name: 'cut', internalType: 'uint256', type: 'uint256', indexed: false },
2026
2154
  {
2027
- name: 'burnt',
2155
+ name: 'amountOut',
2028
2156
  internalType: 'uint256',
2029
2157
  type: 'uint256',
2030
2158
  indexed: false,
2031
2159
  },
2160
+ { name: 'fee', internalType: 'uint256', type: 'uint256', indexed: false },
2032
2161
  {
2033
- name: 'deepened',
2034
- internalType: 'uint256',
2035
- type: 'uint256',
2162
+ name: 'feeToken',
2163
+ internalType: 'address',
2164
+ type: 'address',
2036
2165
  indexed: false,
2037
2166
  },
2038
2167
  ],
2039
- name: 'Regenerated',
2168
+ name: 'Swap',
2040
2169
  },
2041
2170
  {
2042
2171
  type: 'event',
2043
2172
  anonymous: false,
2044
2173
  inputs: [
2174
+ { name: 'by', internalType: 'address', type: 'address', indexed: false },
2175
+ { name: 'from', internalType: 'address', type: 'address', indexed: true },
2176
+ { name: 'to', internalType: 'address', type: 'address', indexed: true },
2177
+ { name: 'id', internalType: 'uint256', type: 'uint256', indexed: true },
2045
2178
  {
2046
- name: 'poolId',
2047
- internalType: 'bytes32',
2048
- type: 'bytes32',
2049
- indexed: true,
2050
- },
2051
- { name: 'gen', internalType: 'uint256', type: 'uint256', indexed: true },
2052
- {
2053
- name: 'supply',
2054
- internalType: 'uint256',
2055
- type: 'uint256',
2056
- indexed: false,
2057
- },
2058
- {
2059
- name: 'quote',
2179
+ name: 'amount',
2060
2180
  internalType: 'uint256',
2061
2181
  type: 'uint256',
2062
2182
  indexed: false,
2063
2183
  },
2064
2184
  ],
2065
- name: 'Retired',
2185
+ name: 'Transfer',
2066
2186
  },
2067
2187
  {
2068
2188
  type: 'event',
2069
2189
  anonymous: false,
2070
2190
  inputs: [
2071
2191
  {
2072
- name: 'poolId',
2073
- internalType: 'bytes32',
2074
- type: 'bytes32',
2192
+ name: 'previous',
2193
+ internalType: 'address',
2194
+ type: 'address',
2075
2195
  indexed: true,
2076
2196
  },
2077
- { name: 'gen', internalType: 'uint256', type: 'uint256', indexed: true },
2078
- { name: 'L0', internalType: 'uint256', type: 'uint256', indexed: false },
2079
- { name: 'Q0', internalType: 'uint256', type: 'uint256', indexed: false },
2080
2197
  {
2081
- name: 'r0',
2082
- internalType: 'uint256[]',
2083
- type: 'uint256[]',
2084
- indexed: false,
2198
+ name: 'current',
2199
+ internalType: 'address',
2200
+ type: 'address',
2201
+ indexed: true,
2085
2202
  },
2086
2203
  ],
2087
- name: 'Seeded',
2204
+ name: 'TreasuryAccepted',
2088
2205
  },
2089
2206
  {
2090
2207
  type: 'event',
2091
2208
  anonymous: false,
2092
2209
  inputs: [
2093
2210
  {
2094
- name: 'poolId',
2095
- internalType: 'bytes32',
2096
- type: 'bytes32',
2211
+ name: 'current',
2212
+ internalType: 'address',
2213
+ type: 'address',
2097
2214
  indexed: true,
2098
2215
  },
2099
- ],
2100
- name: 'Stamped',
2101
- },
2102
- {
2103
- type: 'event',
2104
- anonymous: false,
2105
- inputs: [
2106
- { name: 'by', internalType: 'address', type: 'address', indexed: false },
2107
- { name: 'from', internalType: 'address', type: 'address', indexed: true },
2108
- { name: 'to', internalType: 'address', type: 'address', indexed: true },
2109
- { name: 'id', internalType: 'uint256', type: 'uint256', indexed: true },
2110
2216
  {
2111
- name: 'amount',
2112
- internalType: 'uint256',
2113
- type: 'uint256',
2114
- indexed: false,
2217
+ name: 'proposed',
2218
+ internalType: 'address',
2219
+ type: 'address',
2220
+ indexed: true,
2115
2221
  },
2116
2222
  ],
2117
- name: 'Transfer',
2223
+ name: 'TreasuryProposed',
2118
2224
  },
2119
2225
  { type: 'error', inputs: [], name: 'AlreadySeeded' },
2120
2226
  { type: 'error', inputs: [], name: 'AlreadyUnlocked' },
@@ -2139,11 +2245,13 @@ export const fPoolManagerAbi = [
2139
2245
  },
2140
2246
  { type: 'error', inputs: [], name: 'NonstandardToken' },
2141
2247
  { type: 'error', inputs: [], name: 'NotAuthorized' },
2142
- { type: 'error', inputs: [], name: 'NotCollector' },
2248
+ { type: 'error', inputs: [], name: 'NotLogAuthority' },
2143
2249
  { type: 'error', inputs: [], name: 'NotPolicy' },
2144
2250
  { type: 'error', inputs: [], name: 'NotRegistry' },
2145
2251
  { type: 'error', inputs: [], name: 'NotRetired' },
2146
2252
  { type: 'error', inputs: [], name: 'NotSeeded' },
2253
+ { type: 'error', inputs: [], name: 'NotTreasury' },
2254
+ { type: 'error', inputs: [], name: 'PadNeverRetires' },
2147
2255
  { type: 'error', inputs: [], name: 'PolicyNotApproved' },
2148
2256
  { type: 'error', inputs: [], name: 'PoolAlreadyInitialized' },
2149
2257
  { type: 'error', inputs: [], name: 'PoolLocked' },
@@ -2358,12 +2466,16 @@ export const logswapLensAbi = [
2358
2466
  { name: 'gen', internalType: 'uint16', type: 'uint16' },
2359
2467
  { name: 'n', internalType: 'uint8', type: 'uint8' },
2360
2468
  {
2361
- name: 'restructureBlock',
2469
+ name: 'restructureTime',
2362
2470
  internalType: 'uint32',
2363
2471
  type: 'uint32',
2364
2472
  },
2365
2473
  { name: 'asks', internalType: 'uint8', type: 'uint8' },
2366
- { name: 'cap', internalType: 'uint24', type: 'uint24' },
2474
+ {
2475
+ name: 'lnCapOverFloor',
2476
+ internalType: 'uint24',
2477
+ type: 'uint24',
2478
+ },
2367
2479
  { name: 'Q', internalType: 'uint128', type: 'uint128' },
2368
2480
  { name: 'bigSigma', internalType: 'uint128', type: 'uint128' },
2369
2481
  { name: 'L', internalType: 'uint256', type: 'uint256' },
@@ -2453,9 +2565,9 @@ export const logswapLensAbi = [
2453
2565
  { name: 'seeded', internalType: 'bool', type: 'bool' },
2454
2566
  { name: 'gen', internalType: 'uint16', type: 'uint16' },
2455
2567
  { name: 'n', internalType: 'uint8', type: 'uint8' },
2456
- { name: 'restructureBlock', internalType: 'uint32', type: 'uint32' },
2568
+ { name: 'restructureTime', internalType: 'uint32', type: 'uint32' },
2457
2569
  { name: 'asks', internalType: 'uint8', type: 'uint8' },
2458
- { name: 'cap', internalType: 'uint24', type: 'uint24' },
2570
+ { name: 'lnCapOverFloor', internalType: 'uint24', type: 'uint24' },
2459
2571
  { name: 'Q', internalType: 'uint128', type: 'uint128' },
2460
2572
  { name: 'bigSigma', internalType: 'uint128', type: 'uint128' },
2461
2573
  { name: 'L', internalType: 'uint256', type: 'uint256' },
@@ -2490,6 +2602,7 @@ export const logswapLensAbi = [
2490
2602
  { name: 'minBackstopL', internalType: 'uint256', type: 'uint256' },
2491
2603
  { name: 'backstopFloor', internalType: 'int256', type: 'int256' },
2492
2604
  { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2605
+ { name: 'swapFeeTax', internalType: 'uint256', type: 'uint256' },
2493
2606
  ],
2494
2607
  },
2495
2608
  ],
@@ -3649,7 +3762,8 @@ export const padPolicyAbi = [
3649
3762
  internalType: 'contract FPoolManager',
3650
3763
  type: 'address',
3651
3764
  },
3652
- { name: '_thresholdBase', internalType: 'uint256', type: 'uint256' },
3765
+ { name: 'quote', internalType: 'address', type: 'address' },
3766
+ { name: 'base', internalType: 'uint256', type: 'uint256' },
3653
3767
  ],
3654
3768
  stateMutability: 'nonpayable',
3655
3769
  },
@@ -3667,20 +3781,6 @@ export const padPolicyAbi = [
3667
3781
  outputs: [{ name: '', internalType: 'address', type: 'address' }],
3668
3782
  stateMutability: 'view',
3669
3783
  },
3670
- {
3671
- type: 'function',
3672
- inputs: [],
3673
- name: 'burnMax',
3674
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
3675
- stateMutability: 'view',
3676
- },
3677
- {
3678
- type: 'function',
3679
- inputs: [],
3680
- name: 'burnMin',
3681
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
3682
- stateMutability: 'view',
3683
- },
3684
3784
  {
3685
3785
  type: 'function',
3686
3786
  inputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
@@ -3818,7 +3918,7 @@ export const padPolicyAbi = [
3818
3918
  { name: 'policy', internalType: 'address', type: 'address' },
3819
3919
  { name: 'creator', internalType: 'address', type: 'address' },
3820
3920
  { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
3821
- { name: 'cap', internalType: 'uint24', type: 'uint24' },
3921
+ { name: 'lnCapOverFloor', internalType: 'uint24', type: 'uint24' },
3822
3922
  ],
3823
3923
  },
3824
3924
  { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
@@ -3877,7 +3977,6 @@ export const padPolicyAbi = [
3877
3977
  { name: 'payee', internalType: 'address', type: 'address' },
3878
3978
  { name: 'toPayee', internalType: 'uint256', type: 'uint256' },
3879
3979
  { name: 'protocolCut', internalType: 'uint256', type: 'uint256' },
3880
- { name: 'burn', internalType: 'uint256', type: 'uint256' },
3881
3980
  { name: 'carried', internalType: 'address', type: 'address' },
3882
3981
  ],
3883
3982
  },
@@ -3888,7 +3987,6 @@ export const padPolicyAbi = [
3888
3987
  type: 'function',
3889
3988
  inputs: [
3890
3989
  { name: 'creatorShare', internalType: 'uint256', type: 'uint256' },
3891
- { name: 'burnShare', internalType: 'uint256', type: 'uint256' },
3892
3990
  { name: 'nonce', internalType: 'uint128', type: 'uint128' },
3893
3991
  ],
3894
3992
  name: 'pack',
@@ -4021,40 +4119,49 @@ export const padPolicyAbi = [
4021
4119
  {
4022
4120
  type: 'function',
4023
4121
  inputs: [
4024
- { name: '_thresholdBase', internalType: 'uint256', type: 'uint256' },
4025
4122
  { name: '_thresholdGrowth', internalType: 'uint256', type: 'uint256' },
4026
4123
  { name: '_protocolShare', internalType: 'uint256', type: 'uint256' },
4027
4124
  { name: '_creatorShareMin', internalType: 'uint256', type: 'uint256' },
4028
4125
  { name: '_creatorShareMax', internalType: 'uint256', type: 'uint256' },
4029
- { name: '_burnMin', internalType: 'uint256', type: 'uint256' },
4030
- { name: '_burnMax', internalType: 'uint256', type: 'uint256' },
4031
4126
  ],
4032
4127
  name: 'setSchedule',
4033
4128
  outputs: [],
4034
4129
  stateMutability: 'nonpayable',
4035
4130
  },
4131
+ {
4132
+ type: 'function',
4133
+ inputs: [
4134
+ { name: 'quote', internalType: 'address', type: 'address' },
4135
+ { name: 'base', internalType: 'uint256', type: 'uint256' },
4136
+ ],
4137
+ name: 'setThresholdBase',
4138
+ outputs: [],
4139
+ stateMutability: 'nonpayable',
4140
+ },
4036
4141
  {
4037
4142
  type: 'function',
4038
4143
  inputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
4039
4144
  name: 'splitOf',
4040
4145
  outputs: [
4041
4146
  { name: 'creatorShare', internalType: 'uint64', type: 'uint64' },
4042
- { name: 'burnShare', internalType: 'uint64', type: 'uint64' },
4043
4147
  { name: 'protocolShare', internalType: 'uint64', type: 'uint64' },
4044
4148
  ],
4045
4149
  stateMutability: 'view',
4046
4150
  },
4047
4151
  {
4048
4152
  type: 'function',
4049
- inputs: [{ name: 'r', internalType: 'uint256', type: 'uint256' }],
4153
+ inputs: [
4154
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
4155
+ { name: 'r', internalType: 'uint256', type: 'uint256' },
4156
+ ],
4050
4157
  name: 'threshold',
4051
- outputs: [{ name: 't', internalType: 'uint256', type: 'uint256' }],
4158
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
4052
4159
  stateMutability: 'view',
4053
4160
  },
4054
4161
  {
4055
4162
  type: 'function',
4056
- inputs: [],
4057
- name: 'thresholdBase',
4163
+ inputs: [{ name: '', internalType: 'address', type: 'address' }],
4164
+ name: 'thresholdBaseOf',
4058
4165
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
4059
4166
  stateMutability: 'view',
4060
4167
  },
@@ -4065,6 +4172,23 @@ export const padPolicyAbi = [
4065
4172
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
4066
4173
  stateMutability: 'view',
4067
4174
  },
4175
+ {
4176
+ type: 'function',
4177
+ inputs: [
4178
+ { name: 'quote', internalType: 'address', type: 'address' },
4179
+ { name: 'r', internalType: 'uint256', type: 'uint256' },
4180
+ ],
4181
+ name: 'thresholdOf',
4182
+ outputs: [{ name: 't', internalType: 'uint256', type: 'uint256' }],
4183
+ stateMutability: 'view',
4184
+ },
4185
+ {
4186
+ type: 'function',
4187
+ inputs: [{ name: '', internalType: 'address', type: 'address' }],
4188
+ name: 'thresholdSet',
4189
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
4190
+ stateMutability: 'view',
4191
+ },
4068
4192
  {
4069
4193
  type: 'event',
4070
4194
  anonymous: false,
@@ -4226,12 +4350,6 @@ export const padPolicyAbi = [
4226
4350
  type: 'event',
4227
4351
  anonymous: false,
4228
4352
  inputs: [
4229
- {
4230
- name: 'thresholdBase',
4231
- internalType: 'uint256',
4232
- type: 'uint256',
4233
- indexed: false,
4234
- },
4235
4353
  {
4236
4354
  name: 'thresholdGrowth',
4237
4355
  internalType: 'uint256',
@@ -4256,18 +4374,6 @@ export const padPolicyAbi = [
4256
4374
  type: 'uint256',
4257
4375
  indexed: false,
4258
4376
  },
4259
- {
4260
- name: 'burnMin',
4261
- internalType: 'uint256',
4262
- type: 'uint256',
4263
- indexed: false,
4264
- },
4265
- {
4266
- name: 'burnMax',
4267
- internalType: 'uint256',
4268
- type: 'uint256',
4269
- indexed: false,
4270
- },
4271
4377
  ],
4272
4378
  name: 'ScheduleSet',
4273
4379
  },
@@ -4288,19 +4394,32 @@ export const padPolicyAbi = [
4288
4394
  indexed: false,
4289
4395
  },
4290
4396
  {
4291
- name: 'burnShare',
4397
+ name: 'protocolShare',
4292
4398
  internalType: 'uint256',
4293
4399
  type: 'uint256',
4294
4400
  indexed: false,
4295
4401
  },
4402
+ ],
4403
+ name: 'SplitSet',
4404
+ },
4405
+ {
4406
+ type: 'event',
4407
+ anonymous: false,
4408
+ inputs: [
4296
4409
  {
4297
- name: 'protocolShare',
4410
+ name: 'quote',
4411
+ internalType: 'address',
4412
+ type: 'address',
4413
+ indexed: true,
4414
+ },
4415
+ {
4416
+ name: 'thresholdBase',
4298
4417
  internalType: 'uint256',
4299
4418
  type: 'uint256',
4300
4419
  indexed: false,
4301
4420
  },
4302
4421
  ],
4303
- name: 'SplitSet',
4422
+ name: 'ThresholdBaseSet',
4304
4423
  },
4305
4424
  { type: 'error', inputs: [], name: 'BadFee' },
4306
4425
  { type: 'error', inputs: [], name: 'BadRate' },
@@ -4320,9 +4439,14 @@ export const padPolicyAbi = [
4320
4439
  name: 'MintFeeNotListed',
4321
4440
  },
4322
4441
  { type: 'error', inputs: [], name: 'NoCreator' },
4442
+ {
4443
+ type: 'error',
4444
+ inputs: [{ name: 'quote', internalType: 'address', type: 'address' }],
4445
+ name: 'NoThreshold',
4446
+ },
4323
4447
  { type: 'error', inputs: [], name: 'NotAuthority' },
4324
- { type: 'error', inputs: [], name: 'NotCollector' },
4325
4448
  { type: 'error', inputs: [], name: 'NotGraduated' },
4449
+ { type: 'error', inputs: [], name: 'NotLogAuthority' },
4326
4450
  { type: 'error', inputs: [], name: 'NotManager' },
4327
4451
  { type: 'error', inputs: [], name: 'NotRegistry' },
4328
4452
  { type: 'error', inputs: [], name: 'OneBase' },
@@ -4508,7 +4632,7 @@ export const polPolicyAbi = [
4508
4632
  { name: 'policy', internalType: 'address', type: 'address' },
4509
4633
  { name: 'creator', internalType: 'address', type: 'address' },
4510
4634
  { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
4511
- { name: 'cap', internalType: 'uint24', type: 'uint24' },
4635
+ { name: 'lnCapOverFloor', internalType: 'uint24', type: 'uint24' },
4512
4636
  ],
4513
4637
  },
4514
4638
  { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
@@ -4567,7 +4691,6 @@ export const polPolicyAbi = [
4567
4691
  { name: 'payee', internalType: 'address', type: 'address' },
4568
4692
  { name: 'toPayee', internalType: 'uint256', type: 'uint256' },
4569
4693
  { name: 'protocolCut', internalType: 'uint256', type: 'uint256' },
4570
- { name: 'burn', internalType: 'uint256', type: 'uint256' },
4571
4694
  { name: 'carried', internalType: 'address', type: 'address' },
4572
4695
  ],
4573
4696
  },
@@ -4873,7 +4996,7 @@ export const polPolicyAbi = [
4873
4996
  },
4874
4997
  { type: 'error', inputs: [], name: 'NoCreator' },
4875
4998
  { type: 'error', inputs: [], name: 'NotAuthority' },
4876
- { type: 'error', inputs: [], name: 'NotCollector' },
4999
+ { type: 'error', inputs: [], name: 'NotLogAuthority' },
4877
5000
  { type: 'error', inputs: [], name: 'NotManager' },
4878
5001
  { type: 'error', inputs: [], name: 'NotRegistry' },
4879
5002
  { type: 'error', inputs: [], name: 'OneBase' },
@@ -4891,13 +5014,15 @@ export const polPolicyAbi = [
4891
5014
  export const policyRegistryAbi = [
4892
5015
  {
4893
5016
  type: 'constructor',
4894
- inputs: [{ name: '_owner', internalType: 'address', type: 'address' }],
5017
+ inputs: [
5018
+ { name: '_logAuthority', internalType: 'address', type: 'address' },
5019
+ ],
4895
5020
  stateMutability: 'nonpayable',
4896
5021
  },
4897
5022
  {
4898
5023
  type: 'function',
4899
5024
  inputs: [],
4900
- name: 'acceptOwner',
5025
+ name: 'acceptLogAuthority',
4901
5026
  outputs: [],
4902
5027
  stateMutability: 'nonpayable',
4903
5028
  },
@@ -4937,6 +5062,13 @@ export const policyRegistryAbi = [
4937
5062
  outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
4938
5063
  stateMutability: 'view',
4939
5064
  },
5065
+ {
5066
+ type: 'function',
5067
+ inputs: [],
5068
+ name: 'logAuthority',
5069
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
5070
+ stateMutability: 'view',
5071
+ },
4940
5072
  {
4941
5073
  type: 'function',
4942
5074
  inputs: [
@@ -4953,7 +5085,7 @@ export const policyRegistryAbi = [
4953
5085
  { name: 'policy', internalType: 'address', type: 'address' },
4954
5086
  { name: 'creator', internalType: 'address', type: 'address' },
4955
5087
  { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
4956
- { name: 'cap', internalType: 'uint24', type: 'uint24' },
5088
+ { name: 'lnCapOverFloor', internalType: 'uint24', type: 'uint24' },
4957
5089
  ],
4958
5090
  },
4959
5091
  { name: 'to', internalType: 'address', type: 'address' },
@@ -4965,14 +5097,7 @@ export const policyRegistryAbi = [
4965
5097
  {
4966
5098
  type: 'function',
4967
5099
  inputs: [],
4968
- name: 'owner',
4969
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
4970
- stateMutability: 'view',
4971
- },
4972
- {
4973
- type: 'function',
4974
- inputs: [],
4975
- name: 'pendingOwner',
5100
+ name: 'pendingLogAuthority',
4976
5101
  outputs: [{ name: '', internalType: 'address', type: 'address' }],
4977
5102
  stateMutability: 'view',
4978
5103
  },
@@ -4986,7 +5111,7 @@ export const policyRegistryAbi = [
4986
5111
  {
4987
5112
  type: 'function',
4988
5113
  inputs: [{ name: 'next', internalType: 'address', type: 'address' }],
4989
- name: 'proposeOwner',
5114
+ name: 'proposeLogAuthority',
4990
5115
  outputs: [],
4991
5116
  stateMutability: 'nonpayable',
4992
5117
  },
@@ -5018,7 +5143,7 @@ export const policyRegistryAbi = [
5018
5143
  type: 'function',
5019
5144
  inputs: [
5020
5145
  { name: 'policy', internalType: 'address', type: 'address' },
5021
- { name: 'untilBlock', internalType: 'uint64', type: 'uint64' },
5146
+ { name: 'untilTime', internalType: 'uint64', type: 'uint64' },
5022
5147
  ],
5023
5148
  name: 'sunset',
5024
5149
  outputs: [],
@@ -5043,6 +5168,34 @@ export const policyRegistryAbi = [
5043
5168
  ],
5044
5169
  name: 'Approved',
5045
5170
  },
5171
+ {
5172
+ type: 'event',
5173
+ anonymous: false,
5174
+ inputs: [
5175
+ { name: 'prev', internalType: 'address', type: 'address', indexed: true },
5176
+ { name: 'next', internalType: 'address', type: 'address', indexed: true },
5177
+ ],
5178
+ name: 'LogAuthorityAccepted',
5179
+ },
5180
+ {
5181
+ type: 'event',
5182
+ anonymous: false,
5183
+ inputs: [
5184
+ {
5185
+ name: 'current',
5186
+ internalType: 'address',
5187
+ type: 'address',
5188
+ indexed: true,
5189
+ },
5190
+ {
5191
+ name: 'proposed',
5192
+ internalType: 'address',
5193
+ type: 'address',
5194
+ indexed: true,
5195
+ },
5196
+ ],
5197
+ name: 'LogAuthorityProposed',
5198
+ },
5046
5199
  {
5047
5200
  type: 'event',
5048
5201
  anonymous: false,
@@ -5075,34 +5228,6 @@ export const policyRegistryAbi = [
5075
5228
  ],
5076
5229
  name: 'Migrated',
5077
5230
  },
5078
- {
5079
- type: 'event',
5080
- anonymous: false,
5081
- inputs: [
5082
- { name: 'prev', internalType: 'address', type: 'address', indexed: true },
5083
- { name: 'next', internalType: 'address', type: 'address', indexed: true },
5084
- ],
5085
- name: 'OwnerAccepted',
5086
- },
5087
- {
5088
- type: 'event',
5089
- anonymous: false,
5090
- inputs: [
5091
- {
5092
- name: 'current',
5093
- internalType: 'address',
5094
- type: 'address',
5095
- indexed: true,
5096
- },
5097
- {
5098
- name: 'proposed',
5099
- internalType: 'address',
5100
- type: 'address',
5101
- indexed: true,
5102
- },
5103
- ],
5104
- name: 'OwnerProposed',
5105
- },
5106
5231
  {
5107
5232
  type: 'event',
5108
5233
  anonymous: false,
@@ -5141,7 +5266,7 @@ export const policyRegistryAbi = [
5141
5266
  indexed: true,
5142
5267
  },
5143
5268
  {
5144
- name: 'untilBlock',
5269
+ name: 'untilTime',
5145
5270
  internalType: 'uint64',
5146
5271
  type: 'uint64',
5147
5272
  indexed: false,
@@ -5154,7 +5279,7 @@ export const policyRegistryAbi = [
5154
5279
  { type: 'error', inputs: [], name: 'NoPool' },
5155
5280
  { type: 'error', inputs: [], name: 'NotAPolicy' },
5156
5281
  { type: 'error', inputs: [], name: 'NotListed' },
5157
- { type: 'error', inputs: [], name: 'NotOwner' },
5282
+ { type: 'error', inputs: [], name: 'NotLogAuthority' },
5158
5283
  { type: 'error', inputs: [], name: 'SamePolicy' },
5159
5284
  { type: 'error', inputs: [], name: 'WrongManager' },
5160
5285
  ];
@@ -5392,7 +5517,7 @@ export const privatePolicyAbi = [
5392
5517
  { name: 'policy', internalType: 'address', type: 'address' },
5393
5518
  { name: 'creator', internalType: 'address', type: 'address' },
5394
5519
  { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
5395
- { name: 'cap', internalType: 'uint24', type: 'uint24' },
5520
+ { name: 'lnCapOverFloor', internalType: 'uint24', type: 'uint24' },
5396
5521
  ],
5397
5522
  },
5398
5523
  { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
@@ -5451,7 +5576,6 @@ export const privatePolicyAbi = [
5451
5576
  { name: 'payee', internalType: 'address', type: 'address' },
5452
5577
  { name: 'toPayee', internalType: 'uint256', type: 'uint256' },
5453
5578
  { name: 'protocolCut', internalType: 'uint256', type: 'uint256' },
5454
- { name: 'burn', internalType: 'uint256', type: 'uint256' },
5455
5579
  { name: 'carried', internalType: 'address', type: 'address' },
5456
5580
  ],
5457
5581
  },
@@ -5859,7 +5983,7 @@ export const privatePolicyAbi = [
5859
5983
  },
5860
5984
  { type: 'error', inputs: [], name: 'NoCreator' },
5861
5985
  { type: 'error', inputs: [], name: 'NotAuthority' },
5862
- { type: 'error', inputs: [], name: 'NotCollector' },
5986
+ { type: 'error', inputs: [], name: 'NotLogAuthority' },
5863
5987
  { type: 'error', inputs: [], name: 'NotManager' },
5864
5988
  { type: 'error', inputs: [], name: 'NotOperator' },
5865
5989
  { type: 'error', inputs: [], name: 'NotRegistry' },
@@ -5887,6 +6011,13 @@ export const publicPolicyAbi = [
5887
6011
  ],
5888
6012
  stateMutability: 'nonpayable',
5889
6013
  },
6014
+ {
6015
+ type: 'function',
6016
+ inputs: [],
6017
+ name: 'SWAP_FEE_TAX_MAX',
6018
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
6019
+ stateMutability: 'view',
6020
+ },
5890
6021
  {
5891
6022
  type: 'function',
5892
6023
  inputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
@@ -6065,7 +6196,10 @@ export const publicPolicyAbi = [
6065
6196
  { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
6066
6197
  ],
6067
6198
  name: 'onCInitialize',
6068
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
6199
+ outputs: [
6200
+ { name: '', internalType: 'uint256', type: 'uint256' },
6201
+ { name: '', internalType: 'uint256', type: 'uint256' },
6202
+ ],
6069
6203
  stateMutability: 'nonpayable',
6070
6204
  },
6071
6205
  {
@@ -6084,7 +6218,7 @@ export const publicPolicyAbi = [
6084
6218
  { name: 'policy', internalType: 'address', type: 'address' },
6085
6219
  { name: 'creator', internalType: 'address', type: 'address' },
6086
6220
  { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
6087
- { name: 'cap', internalType: 'uint24', type: 'uint24' },
6221
+ { name: 'lnCapOverFloor', internalType: 'uint24', type: 'uint24' },
6088
6222
  ],
6089
6223
  },
6090
6224
  { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
@@ -6143,7 +6277,6 @@ export const publicPolicyAbi = [
6143
6277
  { name: 'payee', internalType: 'address', type: 'address' },
6144
6278
  { name: 'toPayee', internalType: 'uint256', type: 'uint256' },
6145
6279
  { name: 'protocolCut', internalType: 'uint256', type: 'uint256' },
6146
- { name: 'burn', internalType: 'uint256', type: 'uint256' },
6147
6280
  { name: 'carried', internalType: 'address', type: 'address' },
6148
6281
  ],
6149
6282
  },
@@ -6331,6 +6464,13 @@ export const publicPolicyAbi = [
6331
6464
  outputs: [],
6332
6465
  stateMutability: 'nonpayable',
6333
6466
  },
6467
+ {
6468
+ type: 'function',
6469
+ inputs: [{ name: 'tax', internalType: 'uint256', type: 'uint256' }],
6470
+ name: 'setSwapFeeTax',
6471
+ outputs: [],
6472
+ stateMutability: 'nonpayable',
6473
+ },
6334
6474
  {
6335
6475
  type: 'function',
6336
6476
  inputs: [{ name: '', internalType: 'int256', type: 'int256' }],
@@ -6338,6 +6478,13 @@ export const publicPolicyAbi = [
6338
6478
  outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
6339
6479
  stateMutability: 'view',
6340
6480
  },
6481
+ {
6482
+ type: 'function',
6483
+ inputs: [],
6484
+ name: 'swapFeeTax',
6485
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
6486
+ stateMutability: 'view',
6487
+ },
6341
6488
  {
6342
6489
  type: 'event',
6343
6490
  anonymous: false,
@@ -6553,6 +6700,14 @@ export const publicPolicyAbi = [
6553
6700
  ],
6554
6701
  name: 'SpacingListed',
6555
6702
  },
6703
+ {
6704
+ type: 'event',
6705
+ anonymous: false,
6706
+ inputs: [
6707
+ { name: 'tax', internalType: 'uint256', type: 'uint256', indexed: false },
6708
+ ],
6709
+ name: 'SwapFeeTaxSet',
6710
+ },
6556
6711
  { type: 'error', inputs: [], name: 'BadFee' },
6557
6712
  { type: 'error', inputs: [], name: 'BadRate' },
6558
6713
  {
@@ -6587,12 +6742,12 @@ export const publicPolicyAbi = [
6587
6742
  },
6588
6743
  { type: 'error', inputs: [], name: 'NotAuthority' },
6589
6744
  { type: 'error', inputs: [], name: 'NotCanonical' },
6590
- { type: 'error', inputs: [], name: 'NotCollector' },
6591
6745
  {
6592
6746
  type: 'error',
6593
6747
  inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
6594
6748
  name: 'NotListed',
6595
6749
  },
6750
+ { type: 'error', inputs: [], name: 'NotLogAuthority' },
6596
6751
  { type: 'error', inputs: [], name: 'NotManager' },
6597
6752
  { type: 'error', inputs: [], name: 'NotRegistry' },
6598
6753
  { type: 'error', inputs: [], name: 'OneBase' },