clanker-sdk 4.2.2 → 4.2.3
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/{clankerTokenV4-CYKWWpwe.d.ts → clankerTokenV4-Btn0ZN4v.d.ts} +1 -1
- package/dist/errors-5Gv28Tkr.d.ts +14 -0
- package/dist/index.d.ts +2 -2
- package/dist/legacyFeeClaims/data/token_creators_with_updates.csv +356508 -0
- package/dist/legacyFeeClaims/index.d.ts +2686 -0
- package/dist/legacyFeeClaims/index.js +682 -0
- package/dist/v3/index.d.ts +2 -1
- package/dist/v4/extensions/index.d.ts +3 -2
- package/dist/v4/index.d.ts +4 -3
- package/dist/{write-clanker-contracts-DVM3LXMa.d.ts → write-clanker-contracts-B4LSHPv2.d.ts} +401 -15
- package/package.json +7 -2
package/dist/v4/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { C as ClankerTransactionConfig,
|
|
1
|
+
import { C as ClankerTransactionConfig, d as ClankerFeeLocker_abi, b as ClankerFactory, c as ClankerResult, e as ClankerLocker_v4_abi } from '../write-clanker-contracts-B4LSHPv2.js';
|
|
2
2
|
import * as viem from 'viem';
|
|
3
3
|
import { WalletClient, Transport, Chain, Account, PublicClient } from 'viem';
|
|
4
4
|
import { a as ClankerToken_v4_abi } from '../ClankerToken-Dra5lppJ.js';
|
|
5
|
-
import { C as ClankerTokenV4 } from '../clankerTokenV4-
|
|
6
|
-
export { e as encodeFeeConfig } from '../clankerTokenV4-
|
|
5
|
+
import { C as ClankerTokenV4 } from '../clankerTokenV4-Btn0ZN4v.js';
|
|
6
|
+
export { e as encodeFeeConfig } from '../clankerTokenV4-Btn0ZN4v.js';
|
|
7
|
+
import { C as ClankerError } from '../errors-5Gv28Tkr.js';
|
|
7
8
|
import 'zod/v4';
|
|
8
9
|
|
|
9
10
|
type ClankerConfig = {
|
package/dist/{write-clanker-contracts-DVM3LXMa.d.ts → write-clanker-contracts-B4LSHPv2.d.ts}
RENAMED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ContractFunctionName, ContractFunctionArgs } from 'viem';
|
|
2
2
|
import { C as ClankerToken_v3_1_abi, a as ClankerToken_v4_abi } from './ClankerToken-Dra5lppJ.js';
|
|
3
|
+
import { C as ClankerError } from './errors-5Gv28Tkr.js';
|
|
3
4
|
|
|
4
5
|
declare const Clanker_v3_1_abi: readonly [{
|
|
5
6
|
readonly inputs: readonly [{
|
|
@@ -847,6 +848,404 @@ declare const Clanker_v3_1_abi: readonly [{
|
|
|
847
848
|
readonly type: "function";
|
|
848
849
|
}];
|
|
849
850
|
|
|
851
|
+
declare const Clanker_v0_abi: readonly [{
|
|
852
|
+
readonly type: "constructor";
|
|
853
|
+
readonly inputs: readonly [{
|
|
854
|
+
readonly name: "owner_";
|
|
855
|
+
readonly type: "address";
|
|
856
|
+
readonly internalType: "address";
|
|
857
|
+
}, {
|
|
858
|
+
readonly name: "teamSpender_";
|
|
859
|
+
readonly type: "address";
|
|
860
|
+
readonly internalType: "address";
|
|
861
|
+
}, {
|
|
862
|
+
readonly name: "teamGrantedTokens_";
|
|
863
|
+
readonly type: "address[]";
|
|
864
|
+
readonly internalType: "address[]";
|
|
865
|
+
}];
|
|
866
|
+
readonly stateMutability: "nonpayable";
|
|
867
|
+
}, {
|
|
868
|
+
readonly type: "function";
|
|
869
|
+
readonly name: "initializeTokenCreator";
|
|
870
|
+
readonly inputs: readonly [{
|
|
871
|
+
readonly name: "token";
|
|
872
|
+
readonly type: "address";
|
|
873
|
+
readonly internalType: "address";
|
|
874
|
+
}, {
|
|
875
|
+
readonly name: "newCreator";
|
|
876
|
+
readonly type: "address";
|
|
877
|
+
readonly internalType: "address";
|
|
878
|
+
}, {
|
|
879
|
+
readonly name: "proof";
|
|
880
|
+
readonly type: "bytes32[]";
|
|
881
|
+
readonly internalType: "bytes32[]";
|
|
882
|
+
}];
|
|
883
|
+
readonly outputs: readonly [];
|
|
884
|
+
readonly stateMutability: "nonpayable";
|
|
885
|
+
}, {
|
|
886
|
+
readonly type: "function";
|
|
887
|
+
readonly name: "owner";
|
|
888
|
+
readonly inputs: readonly [];
|
|
889
|
+
readonly outputs: readonly [{
|
|
890
|
+
readonly name: "";
|
|
891
|
+
readonly type: "address";
|
|
892
|
+
readonly internalType: "address";
|
|
893
|
+
}];
|
|
894
|
+
readonly stateMutability: "view";
|
|
895
|
+
}, {
|
|
896
|
+
readonly type: "function";
|
|
897
|
+
readonly name: "renounceOwnership";
|
|
898
|
+
readonly inputs: readonly [];
|
|
899
|
+
readonly outputs: readonly [];
|
|
900
|
+
readonly stateMutability: "nonpayable";
|
|
901
|
+
}, {
|
|
902
|
+
readonly type: "function";
|
|
903
|
+
readonly name: "setTeamSpender";
|
|
904
|
+
readonly inputs: readonly [{
|
|
905
|
+
readonly name: "teamSpender_";
|
|
906
|
+
readonly type: "address";
|
|
907
|
+
readonly internalType: "address";
|
|
908
|
+
}];
|
|
909
|
+
readonly outputs: readonly [];
|
|
910
|
+
readonly stateMutability: "nonpayable";
|
|
911
|
+
}, {
|
|
912
|
+
readonly type: "function";
|
|
913
|
+
readonly name: "setTokenCreatorRoot";
|
|
914
|
+
readonly inputs: readonly [{
|
|
915
|
+
readonly name: "tokenCreatorRoot_";
|
|
916
|
+
readonly type: "bytes32";
|
|
917
|
+
readonly internalType: "bytes32";
|
|
918
|
+
}];
|
|
919
|
+
readonly outputs: readonly [];
|
|
920
|
+
readonly stateMutability: "nonpayable";
|
|
921
|
+
}, {
|
|
922
|
+
readonly type: "function";
|
|
923
|
+
readonly name: "teamGrantedTokens";
|
|
924
|
+
readonly inputs: readonly [{
|
|
925
|
+
readonly name: "";
|
|
926
|
+
readonly type: "uint256";
|
|
927
|
+
readonly internalType: "uint256";
|
|
928
|
+
}];
|
|
929
|
+
readonly outputs: readonly [{
|
|
930
|
+
readonly name: "";
|
|
931
|
+
readonly type: "address";
|
|
932
|
+
readonly internalType: "address";
|
|
933
|
+
}];
|
|
934
|
+
readonly stateMutability: "view";
|
|
935
|
+
}, {
|
|
936
|
+
readonly type: "function";
|
|
937
|
+
readonly name: "teamGrantedTokensMap";
|
|
938
|
+
readonly inputs: readonly [{
|
|
939
|
+
readonly name: "token";
|
|
940
|
+
readonly type: "address";
|
|
941
|
+
readonly internalType: "address";
|
|
942
|
+
}];
|
|
943
|
+
readonly outputs: readonly [{
|
|
944
|
+
readonly name: "teamGranted";
|
|
945
|
+
readonly type: "bool";
|
|
946
|
+
readonly internalType: "bool";
|
|
947
|
+
}];
|
|
948
|
+
readonly stateMutability: "view";
|
|
949
|
+
}, {
|
|
950
|
+
readonly type: "function";
|
|
951
|
+
readonly name: "teamSpender";
|
|
952
|
+
readonly inputs: readonly [];
|
|
953
|
+
readonly outputs: readonly [{
|
|
954
|
+
readonly name: "";
|
|
955
|
+
readonly type: "address";
|
|
956
|
+
readonly internalType: "address";
|
|
957
|
+
}];
|
|
958
|
+
readonly stateMutability: "view";
|
|
959
|
+
}, {
|
|
960
|
+
readonly type: "function";
|
|
961
|
+
readonly name: "teamTransfer";
|
|
962
|
+
readonly inputs: readonly [{
|
|
963
|
+
readonly name: "safe";
|
|
964
|
+
readonly type: "address";
|
|
965
|
+
readonly internalType: "address";
|
|
966
|
+
}, {
|
|
967
|
+
readonly name: "token";
|
|
968
|
+
readonly type: "address";
|
|
969
|
+
readonly internalType: "address";
|
|
970
|
+
}, {
|
|
971
|
+
readonly name: "recipient";
|
|
972
|
+
readonly type: "address";
|
|
973
|
+
readonly internalType: "address";
|
|
974
|
+
}, {
|
|
975
|
+
readonly name: "amount";
|
|
976
|
+
readonly type: "uint256";
|
|
977
|
+
readonly internalType: "uint256";
|
|
978
|
+
}];
|
|
979
|
+
readonly outputs: readonly [];
|
|
980
|
+
readonly stateMutability: "nonpayable";
|
|
981
|
+
}, {
|
|
982
|
+
readonly type: "function";
|
|
983
|
+
readonly name: "teamTransferEth";
|
|
984
|
+
readonly inputs: readonly [{
|
|
985
|
+
readonly name: "safe";
|
|
986
|
+
readonly type: "address";
|
|
987
|
+
readonly internalType: "address";
|
|
988
|
+
}];
|
|
989
|
+
readonly outputs: readonly [];
|
|
990
|
+
readonly stateMutability: "nonpayable";
|
|
991
|
+
}, {
|
|
992
|
+
readonly type: "function";
|
|
993
|
+
readonly name: "tokenCreator";
|
|
994
|
+
readonly inputs: readonly [{
|
|
995
|
+
readonly name: "token";
|
|
996
|
+
readonly type: "address";
|
|
997
|
+
readonly internalType: "address";
|
|
998
|
+
}];
|
|
999
|
+
readonly outputs: readonly [{
|
|
1000
|
+
readonly name: "creator";
|
|
1001
|
+
readonly type: "address";
|
|
1002
|
+
readonly internalType: "address";
|
|
1003
|
+
}];
|
|
1004
|
+
readonly stateMutability: "view";
|
|
1005
|
+
}, {
|
|
1006
|
+
readonly type: "function";
|
|
1007
|
+
readonly name: "tokenCreatorRoot";
|
|
1008
|
+
readonly inputs: readonly [];
|
|
1009
|
+
readonly outputs: readonly [{
|
|
1010
|
+
readonly name: "";
|
|
1011
|
+
readonly type: "bytes32";
|
|
1012
|
+
readonly internalType: "bytes32";
|
|
1013
|
+
}];
|
|
1014
|
+
readonly stateMutability: "view";
|
|
1015
|
+
}, {
|
|
1016
|
+
readonly type: "function";
|
|
1017
|
+
readonly name: "tokenCreatorTransfer";
|
|
1018
|
+
readonly inputs: readonly [{
|
|
1019
|
+
readonly name: "safe";
|
|
1020
|
+
readonly type: "address";
|
|
1021
|
+
readonly internalType: "address";
|
|
1022
|
+
}, {
|
|
1023
|
+
readonly name: "token";
|
|
1024
|
+
readonly type: "address";
|
|
1025
|
+
readonly internalType: "address";
|
|
1026
|
+
}, {
|
|
1027
|
+
readonly name: "recipient";
|
|
1028
|
+
readonly type: "address";
|
|
1029
|
+
readonly internalType: "address";
|
|
1030
|
+
}];
|
|
1031
|
+
readonly outputs: readonly [];
|
|
1032
|
+
readonly stateMutability: "nonpayable";
|
|
1033
|
+
}, {
|
|
1034
|
+
readonly type: "function";
|
|
1035
|
+
readonly name: "transferOwnership";
|
|
1036
|
+
readonly inputs: readonly [{
|
|
1037
|
+
readonly name: "newOwner";
|
|
1038
|
+
readonly type: "address";
|
|
1039
|
+
readonly internalType: "address";
|
|
1040
|
+
}];
|
|
1041
|
+
readonly outputs: readonly [];
|
|
1042
|
+
readonly stateMutability: "nonpayable";
|
|
1043
|
+
}, {
|
|
1044
|
+
readonly type: "function";
|
|
1045
|
+
readonly name: "updateTokenCreator";
|
|
1046
|
+
readonly inputs: readonly [{
|
|
1047
|
+
readonly name: "token";
|
|
1048
|
+
readonly type: "address";
|
|
1049
|
+
readonly internalType: "address";
|
|
1050
|
+
}, {
|
|
1051
|
+
readonly name: "newCreator";
|
|
1052
|
+
readonly type: "address";
|
|
1053
|
+
readonly internalType: "address";
|
|
1054
|
+
}];
|
|
1055
|
+
readonly outputs: readonly [];
|
|
1056
|
+
readonly stateMutability: "nonpayable";
|
|
1057
|
+
}, {
|
|
1058
|
+
readonly type: "event";
|
|
1059
|
+
readonly name: "InitializeTokenCreator";
|
|
1060
|
+
readonly inputs: readonly [{
|
|
1061
|
+
readonly name: "token";
|
|
1062
|
+
readonly type: "address";
|
|
1063
|
+
readonly indexed: false;
|
|
1064
|
+
readonly internalType: "address";
|
|
1065
|
+
}, {
|
|
1066
|
+
readonly name: "initializer";
|
|
1067
|
+
readonly type: "address";
|
|
1068
|
+
readonly indexed: false;
|
|
1069
|
+
readonly internalType: "address";
|
|
1070
|
+
}, {
|
|
1071
|
+
readonly name: "creator";
|
|
1072
|
+
readonly type: "address";
|
|
1073
|
+
readonly indexed: false;
|
|
1074
|
+
readonly internalType: "address";
|
|
1075
|
+
}];
|
|
1076
|
+
readonly anonymous: false;
|
|
1077
|
+
}, {
|
|
1078
|
+
readonly type: "event";
|
|
1079
|
+
readonly name: "OwnershipTransferred";
|
|
1080
|
+
readonly inputs: readonly [{
|
|
1081
|
+
readonly name: "previousOwner";
|
|
1082
|
+
readonly type: "address";
|
|
1083
|
+
readonly indexed: true;
|
|
1084
|
+
readonly internalType: "address";
|
|
1085
|
+
}, {
|
|
1086
|
+
readonly name: "newOwner";
|
|
1087
|
+
readonly type: "address";
|
|
1088
|
+
readonly indexed: true;
|
|
1089
|
+
readonly internalType: "address";
|
|
1090
|
+
}];
|
|
1091
|
+
readonly anonymous: false;
|
|
1092
|
+
}, {
|
|
1093
|
+
readonly type: "event";
|
|
1094
|
+
readonly name: "SetTeamSpender";
|
|
1095
|
+
readonly inputs: readonly [{
|
|
1096
|
+
readonly name: "previousTeamSpender";
|
|
1097
|
+
readonly type: "address";
|
|
1098
|
+
readonly indexed: true;
|
|
1099
|
+
readonly internalType: "address";
|
|
1100
|
+
}, {
|
|
1101
|
+
readonly name: "newTeamSpender";
|
|
1102
|
+
readonly type: "address";
|
|
1103
|
+
readonly indexed: true;
|
|
1104
|
+
readonly internalType: "address";
|
|
1105
|
+
}];
|
|
1106
|
+
readonly anonymous: false;
|
|
1107
|
+
}, {
|
|
1108
|
+
readonly type: "event";
|
|
1109
|
+
readonly name: "SetTokenCreatorRoot";
|
|
1110
|
+
readonly inputs: readonly [{
|
|
1111
|
+
readonly name: "tokenCreatorRoot";
|
|
1112
|
+
readonly type: "bytes32";
|
|
1113
|
+
readonly indexed: false;
|
|
1114
|
+
readonly internalType: "bytes32";
|
|
1115
|
+
}];
|
|
1116
|
+
readonly anonymous: false;
|
|
1117
|
+
}, {
|
|
1118
|
+
readonly type: "event";
|
|
1119
|
+
readonly name: "Transfer";
|
|
1120
|
+
readonly inputs: readonly [{
|
|
1121
|
+
readonly name: "safe";
|
|
1122
|
+
readonly type: "address";
|
|
1123
|
+
readonly indexed: true;
|
|
1124
|
+
readonly internalType: "address";
|
|
1125
|
+
}, {
|
|
1126
|
+
readonly name: "token";
|
|
1127
|
+
readonly type: "address";
|
|
1128
|
+
readonly indexed: true;
|
|
1129
|
+
readonly internalType: "address";
|
|
1130
|
+
}, {
|
|
1131
|
+
readonly name: "amount";
|
|
1132
|
+
readonly type: "uint256";
|
|
1133
|
+
readonly indexed: false;
|
|
1134
|
+
readonly internalType: "uint256";
|
|
1135
|
+
}, {
|
|
1136
|
+
readonly name: "spender";
|
|
1137
|
+
readonly type: "address";
|
|
1138
|
+
readonly indexed: false;
|
|
1139
|
+
readonly internalType: "address";
|
|
1140
|
+
}, {
|
|
1141
|
+
readonly name: "recipient";
|
|
1142
|
+
readonly type: "address";
|
|
1143
|
+
readonly indexed: true;
|
|
1144
|
+
readonly internalType: "address";
|
|
1145
|
+
}];
|
|
1146
|
+
readonly anonymous: false;
|
|
1147
|
+
}, {
|
|
1148
|
+
readonly type: "event";
|
|
1149
|
+
readonly name: "UpdateTokenCreator";
|
|
1150
|
+
readonly inputs: readonly [{
|
|
1151
|
+
readonly name: "token";
|
|
1152
|
+
readonly type: "address";
|
|
1153
|
+
readonly indexed: false;
|
|
1154
|
+
readonly internalType: "address";
|
|
1155
|
+
}, {
|
|
1156
|
+
readonly name: "previousCreator";
|
|
1157
|
+
readonly type: "address";
|
|
1158
|
+
readonly indexed: false;
|
|
1159
|
+
readonly internalType: "address";
|
|
1160
|
+
}, {
|
|
1161
|
+
readonly name: "newCreator";
|
|
1162
|
+
readonly type: "address";
|
|
1163
|
+
readonly indexed: false;
|
|
1164
|
+
readonly internalType: "address";
|
|
1165
|
+
}];
|
|
1166
|
+
readonly anonymous: false;
|
|
1167
|
+
}, {
|
|
1168
|
+
readonly type: "error";
|
|
1169
|
+
readonly name: "InsufficientBalance";
|
|
1170
|
+
readonly inputs: readonly [{
|
|
1171
|
+
readonly name: "safe";
|
|
1172
|
+
readonly type: "address";
|
|
1173
|
+
readonly internalType: "address";
|
|
1174
|
+
}, {
|
|
1175
|
+
readonly name: "token";
|
|
1176
|
+
readonly type: "address";
|
|
1177
|
+
readonly internalType: "address";
|
|
1178
|
+
}, {
|
|
1179
|
+
readonly name: "balance";
|
|
1180
|
+
readonly type: "uint256";
|
|
1181
|
+
readonly internalType: "uint256";
|
|
1182
|
+
}];
|
|
1183
|
+
}, {
|
|
1184
|
+
readonly type: "error";
|
|
1185
|
+
readonly name: "InvalidProof";
|
|
1186
|
+
readonly inputs: readonly [];
|
|
1187
|
+
}, {
|
|
1188
|
+
readonly type: "error";
|
|
1189
|
+
readonly name: "NotAuthorizedToSpend";
|
|
1190
|
+
readonly inputs: readonly [{
|
|
1191
|
+
readonly name: "sender";
|
|
1192
|
+
readonly type: "address";
|
|
1193
|
+
readonly internalType: "address";
|
|
1194
|
+
}, {
|
|
1195
|
+
readonly name: "token";
|
|
1196
|
+
readonly type: "address";
|
|
1197
|
+
readonly internalType: "address";
|
|
1198
|
+
}];
|
|
1199
|
+
}, {
|
|
1200
|
+
readonly type: "error";
|
|
1201
|
+
readonly name: "OwnableInvalidOwner";
|
|
1202
|
+
readonly inputs: readonly [{
|
|
1203
|
+
readonly name: "owner";
|
|
1204
|
+
readonly type: "address";
|
|
1205
|
+
readonly internalType: "address";
|
|
1206
|
+
}];
|
|
1207
|
+
}, {
|
|
1208
|
+
readonly type: "error";
|
|
1209
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
1210
|
+
readonly inputs: readonly [{
|
|
1211
|
+
readonly name: "account";
|
|
1212
|
+
readonly type: "address";
|
|
1213
|
+
readonly internalType: "address";
|
|
1214
|
+
}];
|
|
1215
|
+
}, {
|
|
1216
|
+
readonly type: "error";
|
|
1217
|
+
readonly name: "TokenCreatorAlreadyInitialized";
|
|
1218
|
+
readonly inputs: readonly [{
|
|
1219
|
+
readonly name: "token";
|
|
1220
|
+
readonly type: "address";
|
|
1221
|
+
readonly internalType: "address";
|
|
1222
|
+
}, {
|
|
1223
|
+
readonly name: "delegate";
|
|
1224
|
+
readonly type: "address";
|
|
1225
|
+
readonly internalType: "address";
|
|
1226
|
+
}];
|
|
1227
|
+
}, {
|
|
1228
|
+
readonly type: "error";
|
|
1229
|
+
readonly name: "TokenCreatorRootAlreadySet";
|
|
1230
|
+
readonly inputs: readonly [{
|
|
1231
|
+
readonly name: "tokenCreatorRoot";
|
|
1232
|
+
readonly type: "bytes32";
|
|
1233
|
+
readonly internalType: "bytes32";
|
|
1234
|
+
}];
|
|
1235
|
+
}, {
|
|
1236
|
+
readonly type: "error";
|
|
1237
|
+
readonly name: "TokenCreatorRootNotSet";
|
|
1238
|
+
readonly inputs: readonly [];
|
|
1239
|
+
}, {
|
|
1240
|
+
readonly type: "error";
|
|
1241
|
+
readonly name: "Unauthorized";
|
|
1242
|
+
readonly inputs: readonly [{
|
|
1243
|
+
readonly name: "unauthorized";
|
|
1244
|
+
readonly type: "address";
|
|
1245
|
+
readonly internalType: "address";
|
|
1246
|
+
}];
|
|
1247
|
+
}];
|
|
1248
|
+
|
|
850
1249
|
declare const LpLockerv2_abi: readonly [{
|
|
851
1250
|
readonly inputs: readonly [{
|
|
852
1251
|
readonly internalType: "address";
|
|
@@ -8787,20 +9186,7 @@ declare const Clanker_PresaleEthToCreator_v4_1_abi: readonly [{
|
|
|
8787
9186
|
type ClankerToken = typeof ClankerToken_v3_1_abi | typeof ClankerToken_v4_abi;
|
|
8788
9187
|
type ClankerFactory = typeof Clanker_v3_1_abi | typeof Clanker_v4_abi;
|
|
8789
9188
|
type ClankerHooks = typeof ClankerHook_DynamicFee_v4_abi | typeof ClankerHook_StaticFee_v4_abi;
|
|
8790
|
-
type ClankerContract = typeof ClankerFeeLocker_abi | ClankerFactory | ClankerToken | ClankerHooks | typeof ClankerAirdrop_v4_abi | typeof ClankerAirdropv2_v4_abi | typeof LpLockerv2_abi | typeof ClankerLocker_v4_abi | typeof Clanker_PresaleEthToCreator_v4_1_abi;
|
|
8791
|
-
|
|
8792
|
-
type ClankerErrorType = 'caller' | 'state' | 'unknown';
|
|
8793
|
-
type ClankerErrorData = {
|
|
8794
|
-
type: ClankerErrorType;
|
|
8795
|
-
label: string;
|
|
8796
|
-
rawName: string;
|
|
8797
|
-
};
|
|
8798
|
-
declare class ClankerError extends Error {
|
|
8799
|
-
readonly error: Error;
|
|
8800
|
-
readonly data: ClankerErrorData;
|
|
8801
|
-
static unknown(e: Error, name?: string): ClankerError;
|
|
8802
|
-
constructor(error: Error, data: ClankerErrorData);
|
|
8803
|
-
}
|
|
9189
|
+
type ClankerContract = typeof ClankerFeeLocker_abi | ClankerFactory | ClankerToken | ClankerHooks | typeof ClankerAirdrop_v4_abi | typeof ClankerAirdropv2_v4_abi | typeof LpLockerv2_abi | typeof ClankerLocker_v4_abi | typeof Clanker_PresaleEthToCreator_v4_1_abi | typeof Clanker_v0_abi;
|
|
8804
9190
|
|
|
8805
9191
|
type UndefinedValues<T> = {
|
|
8806
9192
|
[P in keyof T]?: undefined;
|
|
@@ -8821,4 +9207,4 @@ type ClankerTransactionConfig<abi extends ClankerContract = ClankerContract, fun
|
|
|
8821
9207
|
chainId?: number;
|
|
8822
9208
|
};
|
|
8823
9209
|
|
|
8824
|
-
export { type ClankerTransactionConfig as C, Clanker_v3_1_abi as a,
|
|
9210
|
+
export { type ClankerTransactionConfig as C, Clanker_v3_1_abi as a, type ClankerFactory as b, type ClankerResult as c, ClankerFeeLocker_abi as d, ClankerLocker_v4_abi as e, ClankerAirdrop_v4_abi as f, Clanker_PresaleEthToCreator_v4_1_abi as g };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clanker-sdk",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.3",
|
|
4
4
|
"description": "SDK for deploying tokens using Clanker",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
"./cli": "./dist/cli/cli.js",
|
|
10
10
|
"./v3": "./dist/v3/index.js",
|
|
11
11
|
"./v4": "./dist/v4/index.js",
|
|
12
|
-
"./v4/extensions": "./dist/v4/extensions/index.js"
|
|
12
|
+
"./v4/extensions": "./dist/v4/extensions/index.js",
|
|
13
|
+
"./legacyFeeClaims": "./dist/legacyFeeClaims/index.js"
|
|
13
14
|
},
|
|
14
15
|
"bin": {
|
|
15
16
|
"clanker-sdk": "./dist/cli/cli.js"
|
|
@@ -44,8 +45,12 @@
|
|
|
44
45
|
"devDependencies": {
|
|
45
46
|
"@biomejs/biome": "2.2.0",
|
|
46
47
|
"@types/bun": "latest",
|
|
48
|
+
"@types/csv-parse": "^1.2.5",
|
|
47
49
|
"@types/inquirer": "^8.2.6",
|
|
48
50
|
"@types/node": "^22.14.0",
|
|
51
|
+
"csv-parse": "^6.1.0",
|
|
52
|
+
"ethers": "^6.15.0",
|
|
53
|
+
"merkletreejs": "^0.6.0",
|
|
49
54
|
"tsup": "^8.4.0",
|
|
50
55
|
"typescript": "^5.3.3"
|
|
51
56
|
},
|