@sherwoodagent/cli 0.88.2 → 0.89.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/dist/{abis-WJQ6IVYV.js → abis-2VBXBA7Y.js} +16 -2
  2. package/dist/{agent-FCGZL4GF.js → agent-KMLNSKBS.js} +11 -11
  3. package/dist/{chat-AKLYUJZV.js → chat-JW5Z3JRE.js} +13 -13
  4. package/dist/{chunk-6SAE2VDK.js → chunk-6IC2NRED.js} +2 -2
  5. package/dist/{chunk-HMFPP2PE.js → chunk-77MBGRE5.js} +52 -24
  6. package/dist/chunk-77MBGRE5.js.map +1 -0
  7. package/dist/{chunk-G5MXVAFC.js → chunk-D3GTHAJS.js} +5 -5
  8. package/dist/chunk-G5FOHSQW.js +338 -0
  9. package/dist/chunk-G5FOHSQW.js.map +1 -0
  10. package/dist/chunk-GAQMHH44.js +18 -0
  11. package/dist/chunk-GAQMHH44.js.map +1 -0
  12. package/dist/{chunk-FWQESFFM.js → chunk-GYGSKMZE.js} +91 -8
  13. package/dist/chunk-GYGSKMZE.js.map +1 -0
  14. package/dist/{chunk-J2IZWAEW.js → chunk-JCL2DEH3.js} +2048 -2
  15. package/dist/chunk-JCL2DEH3.js.map +1 -0
  16. package/dist/{chunk-BH3VTJ4F.js → chunk-JKSDCCVL.js} +6 -6
  17. package/dist/{chunk-EEI6FRTE.js → chunk-JLOROS5V.js} +3 -3
  18. package/dist/{chunk-6D3FNU75.js → chunk-JRGYI34A.js} +5 -5
  19. package/dist/chunk-KZGY7NT7.js +209 -0
  20. package/dist/chunk-KZGY7NT7.js.map +1 -0
  21. package/dist/{chunk-G3FUEM5N.js → chunk-LIW6K4OJ.js} +2 -2
  22. package/dist/{chunk-4ITTHKRX.js → chunk-P4LFNKSX.js} +5 -5
  23. package/dist/{chunk-3TZIOAPH.js → chunk-QUAVAJWE.js} +13 -2
  24. package/dist/chunk-QUAVAJWE.js.map +1 -0
  25. package/dist/chunk-QVXKYT2N.js +489 -0
  26. package/dist/chunk-QVXKYT2N.js.map +1 -0
  27. package/dist/chunk-UPRFO4YU.js +458 -0
  28. package/dist/chunk-UPRFO4YU.js.map +1 -0
  29. package/dist/{chunk-QFGZQYZA.js → chunk-WDPA2BYK.js} +1024 -87
  30. package/dist/chunk-WDPA2BYK.js.map +1 -0
  31. package/dist/{chunk-CWGP4VXZ.js → chunk-YIN6R66K.js} +7 -7
  32. package/dist/{chunk-D4BSBW3Q.js → chunk-Z53JZORT.js} +3 -3
  33. package/dist/{chunk-SCQAKMMI.js → chunk-ZPOPWFSP.js} +5 -5
  34. package/dist/{client-PYFE6YQR.js → client-DA434B67.js} +4 -4
  35. package/dist/{config-ZGFS4I7K.js → config-UZ2GIXAO.js} +6 -2
  36. package/dist/{eas-B4HR2HXX.js → eas-ZH7BDEOK.js} +7 -7
  37. package/dist/{governor-QFBN6RYS.js → governor-WHT2V2EU.js} +7 -7
  38. package/dist/identity-TRPUQEQK.js +19 -0
  39. package/dist/index.js +7758 -5862
  40. package/dist/index.js.map +1 -1
  41. package/dist/launchpad-3N4ZFL6J.js +26 -0
  42. package/dist/lighter-perp-template-VC4TB7AM.js +92 -0
  43. package/dist/lighter-preflight-GH3JKLR6.js +149 -0
  44. package/dist/lighter-preflight-GH3JKLR6.js.map +1 -0
  45. package/dist/{network-7445KSCF.js → network-EZ5X2BF7.js} +3 -3
  46. package/dist/network-EZ5X2BF7.js.map +1 -0
  47. package/dist/{price-EXZDYVDD.js → price-RX5J7GTO.js} +9 -7
  48. package/dist/{price-EXZDYVDD.js.map → price-RX5J7GTO.js.map} +1 -1
  49. package/dist/{providers-6UZKDFQD.js → providers-XEEFKITN.js} +5 -5
  50. package/dist/{research-T7A27OMB.js → research-PYMQ5VKH.js} +9 -9
  51. package/dist/{session-45NQAHFI.js → session-DE47TUEW.js} +15 -15
  52. package/dist/{trade-ZOVM433K.js → trade-3VMAQ75D.js} +20 -18
  53. package/dist/{trade-ZOVM433K.js.map → trade-3VMAQ75D.js.map} +1 -1
  54. package/dist/{vault-E7XD6DLD.js → vault-PXGG2E3K.js} +9 -9
  55. package/dist/vault-PXGG2E3K.js.map +1 -0
  56. package/dist/{xmtp-72IRK7JL.js → xmtp-5PTIIVAI.js} +7 -7
  57. package/package.json +1 -1
  58. package/dist/chunk-3TZIOAPH.js.map +0 -1
  59. package/dist/chunk-FWQESFFM.js.map +0 -1
  60. package/dist/chunk-HMFPP2PE.js.map +0 -1
  61. package/dist/chunk-J2IZWAEW.js.map +0 -1
  62. package/dist/chunk-QFGZQYZA.js.map +0 -1
  63. package/dist/identity-I2BG4IGT.js +0 -18
  64. /package/dist/{abis-WJQ6IVYV.js.map → abis-2VBXBA7Y.js.map} +0 -0
  65. /package/dist/{agent-FCGZL4GF.js.map → agent-KMLNSKBS.js.map} +0 -0
  66. /package/dist/{chat-AKLYUJZV.js.map → chat-JW5Z3JRE.js.map} +0 -0
  67. /package/dist/{chunk-6SAE2VDK.js.map → chunk-6IC2NRED.js.map} +0 -0
  68. /package/dist/{chunk-G5MXVAFC.js.map → chunk-D3GTHAJS.js.map} +0 -0
  69. /package/dist/{chunk-BH3VTJ4F.js.map → chunk-JKSDCCVL.js.map} +0 -0
  70. /package/dist/{chunk-EEI6FRTE.js.map → chunk-JLOROS5V.js.map} +0 -0
  71. /package/dist/{chunk-6D3FNU75.js.map → chunk-JRGYI34A.js.map} +0 -0
  72. /package/dist/{chunk-G3FUEM5N.js.map → chunk-LIW6K4OJ.js.map} +0 -0
  73. /package/dist/{chunk-4ITTHKRX.js.map → chunk-P4LFNKSX.js.map} +0 -0
  74. /package/dist/{chunk-CWGP4VXZ.js.map → chunk-YIN6R66K.js.map} +0 -0
  75. /package/dist/{chunk-D4BSBW3Q.js.map → chunk-Z53JZORT.js.map} +0 -0
  76. /package/dist/{chunk-SCQAKMMI.js.map → chunk-ZPOPWFSP.js.map} +0 -0
  77. /package/dist/{client-PYFE6YQR.js.map → client-DA434B67.js.map} +0 -0
  78. /package/dist/{config-ZGFS4I7K.js.map → config-UZ2GIXAO.js.map} +0 -0
  79. /package/dist/{eas-B4HR2HXX.js.map → eas-ZH7BDEOK.js.map} +0 -0
  80. /package/dist/{governor-QFBN6RYS.js.map → governor-WHT2V2EU.js.map} +0 -0
  81. /package/dist/{identity-I2BG4IGT.js.map → identity-TRPUQEQK.js.map} +0 -0
  82. /package/dist/{network-7445KSCF.js.map → launchpad-3N4ZFL6J.js.map} +0 -0
  83. /package/dist/{vault-E7XD6DLD.js.map → lighter-perp-template-VC4TB7AM.js.map} +0 -0
  84. /package/dist/{providers-6UZKDFQD.js.map → providers-XEEFKITN.js.map} +0 -0
  85. /package/dist/{research-T7A27OMB.js.map → research-PYMQ5VKH.js.map} +0 -0
  86. /package/dist/{session-45NQAHFI.js.map → session-DE47TUEW.js.map} +0 -0
  87. /package/dist/{xmtp-72IRK7JL.js.map → xmtp-5PTIIVAI.js.map} +0 -0
@@ -3950,6 +3950,2045 @@ var SYNTHRA_QUOTER_ABI = [
3950
3950
  outputs: [{ name: "amountOut", type: "uint256" }]
3951
3951
  }
3952
3952
  ];
3953
+ var MORPHO_SUPPLY_STRATEGY_ABI = [
3954
+ {
3955
+ name: "asset",
3956
+ type: "function",
3957
+ stateMutability: "view",
3958
+ inputs: [],
3959
+ outputs: [{ name: "", type: "address" }]
3960
+ },
3961
+ { name: "execute", type: "function", stateMutability: "nonpayable", inputs: [], outputs: [] },
3962
+ {
3963
+ name: "executed",
3964
+ type: "function",
3965
+ stateMutability: "view",
3966
+ inputs: [],
3967
+ outputs: [{ name: "", type: "bool" }]
3968
+ },
3969
+ {
3970
+ name: "initialize",
3971
+ type: "function",
3972
+ stateMutability: "nonpayable",
3973
+ inputs: [
3974
+ { name: "vault_", type: "address" },
3975
+ { name: "proposer_", type: "address" },
3976
+ { name: "data", type: "bytes" }
3977
+ ],
3978
+ outputs: []
3979
+ },
3980
+ {
3981
+ name: "marketId",
3982
+ type: "function",
3983
+ stateMutability: "view",
3984
+ inputs: [],
3985
+ outputs: [{ name: "", type: "bytes32" }]
3986
+ },
3987
+ {
3988
+ name: "marketParams",
3989
+ type: "function",
3990
+ stateMutability: "view",
3991
+ inputs: [],
3992
+ outputs: [
3993
+ {
3994
+ name: "",
3995
+ type: "tuple",
3996
+ components: [
3997
+ { name: "loanToken", type: "address" },
3998
+ { name: "collateralToken", type: "address" },
3999
+ { name: "oracle", type: "address" },
4000
+ { name: "irm", type: "address" },
4001
+ { name: "lltv", type: "uint256" }
4002
+ ]
4003
+ }
4004
+ ]
4005
+ },
4006
+ {
4007
+ name: "morpho",
4008
+ type: "function",
4009
+ stateMutability: "view",
4010
+ inputs: [],
4011
+ outputs: [{ name: "", type: "address" }]
4012
+ },
4013
+ {
4014
+ name: "name",
4015
+ type: "function",
4016
+ stateMutability: "pure",
4017
+ inputs: [],
4018
+ outputs: [{ name: "", type: "string" }]
4019
+ },
4020
+ {
4021
+ name: "proposer",
4022
+ type: "function",
4023
+ stateMutability: "view",
4024
+ inputs: [],
4025
+ outputs: [{ name: "", type: "address" }]
4026
+ },
4027
+ {
4028
+ name: "rescueTo",
4029
+ type: "function",
4030
+ stateMutability: "nonpayable",
4031
+ inputs: [{ name: "token", type: "address" }],
4032
+ outputs: []
4033
+ },
4034
+ { name: "settle", type: "function", stateMutability: "nonpayable", inputs: [], outputs: [] },
4035
+ {
4036
+ name: "state",
4037
+ type: "function",
4038
+ stateMutability: "view",
4039
+ inputs: [],
4040
+ outputs: [{ name: "", type: "uint8" }]
4041
+ },
4042
+ {
4043
+ name: "supplyAmount",
4044
+ type: "function",
4045
+ stateMutability: "view",
4046
+ inputs: [],
4047
+ outputs: [{ name: "", type: "uint256" }]
4048
+ },
4049
+ {
4050
+ name: "updateParams",
4051
+ type: "function",
4052
+ stateMutability: "nonpayable",
4053
+ inputs: [{ name: "data", type: "bytes" }],
4054
+ outputs: []
4055
+ },
4056
+ {
4057
+ name: "vault",
4058
+ type: "function",
4059
+ stateMutability: "view",
4060
+ inputs: [],
4061
+ outputs: [{ name: "", type: "address" }]
4062
+ },
4063
+ { name: "AlreadyExecuted", type: "error", inputs: [] },
4064
+ { name: "AlreadyInitialized", type: "error", inputs: [] },
4065
+ { name: "AlreadySettled", type: "error", inputs: [] },
4066
+ { name: "InvalidAmount", type: "error", inputs: [] },
4067
+ { name: "LoanAssetMismatch", type: "error", inputs: [] },
4068
+ { name: "MarketNotCreated", type: "error", inputs: [] },
4069
+ {
4070
+ name: "MorphoNotAllowed",
4071
+ type: "error",
4072
+ inputs: [{ name: "morpho", type: "address" }, { name: "registry", type: "address" }]
4073
+ },
4074
+ { name: "NoTunableParams", type: "error", inputs: [] },
4075
+ { name: "NotActiveProposalStrategy", type: "error", inputs: [] },
4076
+ { name: "NotExecuted", type: "error", inputs: [] },
4077
+ { name: "NotProposer", type: "error", inputs: [] },
4078
+ { name: "NotVault", type: "error", inputs: [] },
4079
+ { name: "ProposerNoLongerAgent", type: "error", inputs: [] },
4080
+ {
4081
+ name: "SafeERC20FailedOperation",
4082
+ type: "error",
4083
+ inputs: [{ name: "token", type: "address" }]
4084
+ },
4085
+ { name: "TierRegistryUnresolved", type: "error", inputs: [] },
4086
+ { name: "ZeroAddress", type: "error", inputs: [] }
4087
+ ];
4088
+ var CONCENTRATED_LIQUIDITY_STRATEGY_ABI = [
4089
+ {
4090
+ name: "BPS_DENOMINATOR",
4091
+ type: "function",
4092
+ stateMutability: "view",
4093
+ inputs: [],
4094
+ outputs: [{ name: "", type: "uint256" }]
4095
+ },
4096
+ {
4097
+ name: "FEE_DENOMINATOR",
4098
+ type: "function",
4099
+ stateMutability: "view",
4100
+ inputs: [],
4101
+ outputs: [{ name: "", type: "uint256" }]
4102
+ },
4103
+ {
4104
+ name: "MAX_DELEVERAGE_PASSES",
4105
+ type: "function",
4106
+ stateMutability: "view",
4107
+ inputs: [],
4108
+ outputs: [{ name: "", type: "uint256" }]
4109
+ },
4110
+ {
4111
+ name: "MAX_HALF_WIDTH_TICKS",
4112
+ type: "function",
4113
+ stateMutability: "view",
4114
+ inputs: [],
4115
+ outputs: [{ name: "", type: "int24" }]
4116
+ },
4117
+ {
4118
+ name: "MAX_POOL_SHARE_BPS",
4119
+ type: "function",
4120
+ stateMutability: "view",
4121
+ inputs: [],
4122
+ outputs: [{ name: "", type: "uint256" }]
4123
+ },
4124
+ {
4125
+ name: "MAX_RERANGE_LIMIT",
4126
+ type: "function",
4127
+ stateMutability: "view",
4128
+ inputs: [],
4129
+ outputs: [{ name: "", type: "uint256" }]
4130
+ },
4131
+ {
4132
+ name: "MAX_SLIPPAGE_BPS",
4133
+ type: "function",
4134
+ stateMutability: "view",
4135
+ inputs: [],
4136
+ outputs: [{ name: "", type: "uint256" }]
4137
+ },
4138
+ {
4139
+ name: "MAX_TICK",
4140
+ type: "function",
4141
+ stateMutability: "view",
4142
+ inputs: [],
4143
+ outputs: [{ name: "", type: "int24" }]
4144
+ },
4145
+ {
4146
+ name: "MAX_TWAP_DEVIATION_BPS",
4147
+ type: "function",
4148
+ stateMutability: "view",
4149
+ inputs: [],
4150
+ outputs: [{ name: "", type: "uint256" }]
4151
+ },
4152
+ {
4153
+ name: "MIN_LLTV_BUFFER_BPS",
4154
+ type: "function",
4155
+ stateMutability: "view",
4156
+ inputs: [],
4157
+ outputs: [{ name: "", type: "uint256" }]
4158
+ },
4159
+ {
4160
+ name: "MIN_TICK",
4161
+ type: "function",
4162
+ stateMutability: "view",
4163
+ inputs: [],
4164
+ outputs: [{ name: "", type: "int24" }]
4165
+ },
4166
+ {
4167
+ name: "MIN_TWAP_WINDOW",
4168
+ type: "function",
4169
+ stateMutability: "view",
4170
+ inputs: [],
4171
+ outputs: [{ name: "", type: "uint32" }]
4172
+ },
4173
+ {
4174
+ name: "ORACLE_PRICE_SCALE",
4175
+ type: "function",
4176
+ stateMutability: "view",
4177
+ inputs: [],
4178
+ outputs: [{ name: "", type: "uint256" }]
4179
+ },
4180
+ {
4181
+ name: "asset",
4182
+ type: "function",
4183
+ stateMutability: "view",
4184
+ inputs: [],
4185
+ outputs: [{ name: "", type: "address" }]
4186
+ },
4187
+ {
4188
+ name: "assetIsToken0",
4189
+ type: "function",
4190
+ stateMutability: "view",
4191
+ inputs: [],
4192
+ outputs: [{ name: "", type: "bool" }]
4193
+ },
4194
+ {
4195
+ name: "borrowAmount",
4196
+ type: "function",
4197
+ stateMutability: "view",
4198
+ inputs: [],
4199
+ outputs: [{ name: "", type: "uint256" }]
4200
+ },
4201
+ {
4202
+ name: "collateralAmount",
4203
+ type: "function",
4204
+ stateMutability: "view",
4205
+ inputs: [],
4206
+ outputs: [{ name: "", type: "uint256" }]
4207
+ },
4208
+ {
4209
+ name: "derivedRange",
4210
+ type: "function",
4211
+ stateMutability: "view",
4212
+ inputs: [],
4213
+ outputs: [{ name: "newLower", type: "int24" }, { name: "newUpper", type: "int24" }]
4214
+ },
4215
+ { name: "execute", type: "function", stateMutability: "nonpayable", inputs: [], outputs: [] },
4216
+ {
4217
+ name: "executed",
4218
+ type: "function",
4219
+ stateMutability: "view",
4220
+ inputs: [],
4221
+ outputs: [{ name: "", type: "bool" }]
4222
+ },
4223
+ {
4224
+ name: "expectedLiquidity",
4225
+ type: "function",
4226
+ stateMutability: "view",
4227
+ inputs: [],
4228
+ outputs: [{ name: "", type: "uint128" }]
4229
+ },
4230
+ {
4231
+ name: "initialize",
4232
+ type: "function",
4233
+ stateMutability: "nonpayable",
4234
+ inputs: [
4235
+ { name: "vault_", type: "address" },
4236
+ { name: "proposer_", type: "address" },
4237
+ { name: "data", type: "bytes" }
4238
+ ],
4239
+ outputs: []
4240
+ },
4241
+ {
4242
+ name: "lastRerangeAt",
4243
+ type: "function",
4244
+ stateMutability: "view",
4245
+ inputs: [],
4246
+ outputs: [{ name: "", type: "uint256" }]
4247
+ },
4248
+ {
4249
+ name: "marketId",
4250
+ type: "function",
4251
+ stateMutability: "view",
4252
+ inputs: [],
4253
+ outputs: [{ name: "", type: "bytes32" }]
4254
+ },
4255
+ {
4256
+ name: "marketParams",
4257
+ type: "function",
4258
+ stateMutability: "view",
4259
+ inputs: [],
4260
+ outputs: [
4261
+ {
4262
+ name: "",
4263
+ type: "tuple",
4264
+ components: [
4265
+ { name: "loanToken", type: "address" },
4266
+ { name: "collateralToken", type: "address" },
4267
+ { name: "oracle", type: "address" },
4268
+ { name: "irm", type: "address" },
4269
+ { name: "lltv", type: "uint256" }
4270
+ ]
4271
+ }
4272
+ ]
4273
+ },
4274
+ {
4275
+ name: "maxTwapDeviationBps",
4276
+ type: "function",
4277
+ stateMutability: "view",
4278
+ inputs: [],
4279
+ outputs: [{ name: "", type: "uint256" }]
4280
+ },
4281
+ {
4282
+ name: "mintSlippageBps",
4283
+ type: "function",
4284
+ stateMutability: "view",
4285
+ inputs: [],
4286
+ outputs: [{ name: "", type: "uint256" }]
4287
+ },
4288
+ {
4289
+ name: "morpho",
4290
+ type: "function",
4291
+ stateMutability: "view",
4292
+ inputs: [],
4293
+ outputs: [{ name: "", type: "address" }]
4294
+ },
4295
+ {
4296
+ name: "name",
4297
+ type: "function",
4298
+ stateMutability: "pure",
4299
+ inputs: [],
4300
+ outputs: [{ name: "", type: "string" }]
4301
+ },
4302
+ {
4303
+ name: "otherToken",
4304
+ type: "function",
4305
+ stateMutability: "view",
4306
+ inputs: [],
4307
+ outputs: [{ name: "", type: "address" }]
4308
+ },
4309
+ {
4310
+ name: "pool",
4311
+ type: "function",
4312
+ stateMutability: "view",
4313
+ inputs: [],
4314
+ outputs: [{ name: "", type: "address" }]
4315
+ },
4316
+ {
4317
+ name: "positionManager",
4318
+ type: "function",
4319
+ stateMutability: "view",
4320
+ inputs: [],
4321
+ outputs: [{ name: "", type: "address" }]
4322
+ },
4323
+ {
4324
+ name: "proposer",
4325
+ type: "function",
4326
+ stateMutability: "view",
4327
+ inputs: [],
4328
+ outputs: [{ name: "", type: "address" }]
4329
+ },
4330
+ {
4331
+ name: "rerange",
4332
+ type: "function",
4333
+ stateMutability: "nonpayable",
4334
+ inputs: [],
4335
+ outputs: [{ name: "newTokenId", type: "uint256" }]
4336
+ },
4337
+ {
4338
+ name: "rerangeCount",
4339
+ type: "function",
4340
+ stateMutability: "view",
4341
+ inputs: [],
4342
+ outputs: [{ name: "", type: "uint256" }]
4343
+ },
4344
+ {
4345
+ name: "rerangePolicy",
4346
+ type: "function",
4347
+ stateMutability: "view",
4348
+ inputs: [],
4349
+ outputs: [
4350
+ {
4351
+ name: "",
4352
+ type: "tuple",
4353
+ components: [
4354
+ { name: "halfWidthTicks", type: "int24" },
4355
+ { name: "triggerBps", type: "uint256" },
4356
+ { name: "minInterval", type: "uint256" },
4357
+ { name: "maxReranges", type: "uint256" },
4358
+ { name: "slippageBps", type: "uint256" },
4359
+ { name: "swapFractionBps", type: "uint256" }
4360
+ ]
4361
+ }
4362
+ ]
4363
+ },
4364
+ {
4365
+ name: "rescueTo",
4366
+ type: "function",
4367
+ stateMutability: "nonpayable",
4368
+ inputs: [{ name: "token", type: "address" }],
4369
+ outputs: []
4370
+ },
4371
+ { name: "settle", type: "function", stateMutability: "nonpayable", inputs: [], outputs: [] },
4372
+ {
4373
+ name: "settleDeadline",
4374
+ type: "function",
4375
+ stateMutability: "view",
4376
+ inputs: [],
4377
+ outputs: [{ name: "", type: "uint256" }]
4378
+ },
4379
+ {
4380
+ name: "settleSlippageBps",
4381
+ type: "function",
4382
+ stateMutability: "view",
4383
+ inputs: [],
4384
+ outputs: [{ name: "", type: "uint256" }]
4385
+ },
4386
+ {
4387
+ name: "state",
4388
+ type: "function",
4389
+ stateMutability: "view",
4390
+ inputs: [],
4391
+ outputs: [{ name: "", type: "uint8" }]
4392
+ },
4393
+ {
4394
+ name: "swapAdapter",
4395
+ type: "function",
4396
+ stateMutability: "view",
4397
+ inputs: [],
4398
+ outputs: [{ name: "", type: "address" }]
4399
+ },
4400
+ {
4401
+ name: "swapExtraData",
4402
+ type: "function",
4403
+ stateMutability: "view",
4404
+ inputs: [],
4405
+ outputs: [{ name: "", type: "bytes" }]
4406
+ },
4407
+ {
4408
+ name: "swapFractionBps",
4409
+ type: "function",
4410
+ stateMutability: "view",
4411
+ inputs: [],
4412
+ outputs: [{ name: "", type: "uint256" }]
4413
+ },
4414
+ {
4415
+ name: "tickLower",
4416
+ type: "function",
4417
+ stateMutability: "view",
4418
+ inputs: [],
4419
+ outputs: [{ name: "", type: "int24" }]
4420
+ },
4421
+ {
4422
+ name: "tickSpacing",
4423
+ type: "function",
4424
+ stateMutability: "view",
4425
+ inputs: [],
4426
+ outputs: [{ name: "", type: "int24" }]
4427
+ },
4428
+ {
4429
+ name: "tickUpper",
4430
+ type: "function",
4431
+ stateMutability: "view",
4432
+ inputs: [],
4433
+ outputs: [{ name: "", type: "int24" }]
4434
+ },
4435
+ {
4436
+ name: "tokenId",
4437
+ type: "function",
4438
+ stateMutability: "view",
4439
+ inputs: [],
4440
+ outputs: [{ name: "", type: "uint256" }]
4441
+ },
4442
+ {
4443
+ name: "twapWindow",
4444
+ type: "function",
4445
+ stateMutability: "view",
4446
+ inputs: [],
4447
+ outputs: [{ name: "", type: "uint32" }]
4448
+ },
4449
+ {
4450
+ name: "updateParams",
4451
+ type: "function",
4452
+ stateMutability: "nonpayable",
4453
+ inputs: [{ name: "data", type: "bytes" }],
4454
+ outputs: []
4455
+ },
4456
+ {
4457
+ name: "vault",
4458
+ type: "function",
4459
+ stateMutability: "view",
4460
+ inputs: [],
4461
+ outputs: [{ name: "", type: "address" }]
4462
+ },
4463
+ {
4464
+ name: "PositionOpened",
4465
+ type: "event",
4466
+ inputs: [
4467
+ { name: "pool", type: "address", indexed: true },
4468
+ { name: "tokenId", type: "uint256", indexed: true },
4469
+ { name: "tickLower", type: "int24", indexed: false },
4470
+ { name: "tickUpper", type: "int24", indexed: false },
4471
+ { name: "liquidity", type: "uint128", indexed: false },
4472
+ { name: "borrowed", type: "uint256", indexed: false },
4473
+ { name: "collateral", type: "uint256", indexed: false }
4474
+ ]
4475
+ },
4476
+ {
4477
+ name: "PositionReranged",
4478
+ type: "event",
4479
+ inputs: [
4480
+ { name: "rerangeIndex", type: "uint256", indexed: true },
4481
+ { name: "oldTokenId", type: "uint256", indexed: false },
4482
+ { name: "newTokenId", type: "uint256", indexed: true },
4483
+ { name: "oldTickLower", type: "int24", indexed: false },
4484
+ { name: "oldTickUpper", type: "int24", indexed: false },
4485
+ { name: "newTickLower", type: "int24", indexed: false },
4486
+ { name: "newTickUpper", type: "int24", indexed: false },
4487
+ { name: "twapTick", type: "int24", indexed: false },
4488
+ { name: "liquidityBefore", type: "uint128", indexed: false },
4489
+ { name: "liquidityAfter", type: "uint128", indexed: false }
4490
+ ]
4491
+ },
4492
+ { name: "AlreadyExecuted", type: "error", inputs: [] },
4493
+ { name: "AlreadyInitialized", type: "error", inputs: [] },
4494
+ { name: "AlreadySettled", type: "error", inputs: [] },
4495
+ { name: "BorrowExceedsLiquidity", type: "error", inputs: [] },
4496
+ { name: "CollateralAssetMismatch", type: "error", inputs: [] },
4497
+ {
4498
+ name: "CollateralNotFreeable",
4499
+ type: "error",
4500
+ inputs: [{ name: "owed", type: "uint256" }, { name: "collateral", type: "uint256" }]
4501
+ },
4502
+ { name: "CollateralValueUnavailable", type: "error", inputs: [] },
4503
+ {
4504
+ name: "CounterpartyNotAllowed",
4505
+ type: "error",
4506
+ inputs: [{ name: "counterparty", type: "address" }, { name: "registry", type: "address" }]
4507
+ },
4508
+ { name: "ImmutableParam", type: "error", inputs: [] },
4509
+ { name: "InvalidAmount", type: "error", inputs: [] },
4510
+ { name: "InvalidBound", type: "error", inputs: [] },
4511
+ { name: "InvalidRerangePolicy", type: "error", inputs: [] },
4512
+ { name: "InvalidTickRange", type: "error", inputs: [] },
4513
+ { name: "LoanAssetMismatch", type: "error", inputs: [] },
4514
+ { name: "LtvInsideLiquidationBuffer", type: "error", inputs: [] },
4515
+ { name: "MarketNotCreated", type: "error", inputs: [] },
4516
+ { name: "NotActiveProposalStrategy", type: "error", inputs: [] },
4517
+ { name: "NotExecuted", type: "error", inputs: [] },
4518
+ { name: "NotExecutedForRerange", type: "error", inputs: [] },
4519
+ { name: "NotProposer", type: "error", inputs: [] },
4520
+ { name: "NotVault", type: "error", inputs: [] },
4521
+ { name: "PoolAssetMismatch", type: "error", inputs: [] },
4522
+ { name: "PoolNotFromFactory", type: "error", inputs: [] },
4523
+ { name: "PositionExceedsPoolShareCap", type: "error", inputs: [] },
4524
+ {
4525
+ name: "ProceedsBelowDebt",
4526
+ type: "error",
4527
+ inputs: [{ name: "held", type: "uint256" }, { name: "owed", type: "uint256" }]
4528
+ },
4529
+ { name: "ProposerNoLongerAgent", type: "error", inputs: [] },
4530
+ { name: "QuoteUnavailable", type: "error", inputs: [] },
4531
+ { name: "ReentrancyGuardReentrantCall", type: "error", inputs: [] },
4532
+ { name: "RerangeCapReached", type: "error", inputs: [] },
4533
+ { name: "RerangeTooSoon", type: "error", inputs: [] },
4534
+ { name: "RerangeTriggerNotReached", type: "error", inputs: [] },
4535
+ {
4536
+ name: "SafeERC20FailedOperation",
4537
+ type: "error",
4538
+ inputs: [{ name: "token", type: "address" }]
4539
+ },
4540
+ { name: "SpotOutsideTwapBound", type: "error", inputs: [] },
4541
+ {
4542
+ name: "StrategyHoldsTokens",
4543
+ type: "error",
4544
+ inputs: [{ name: "token", type: "address" }, { name: "amount", type: "uint256" }]
4545
+ },
4546
+ { name: "TierRegistryUnresolved", type: "error", inputs: [] },
4547
+ { name: "TwapUnavailable", type: "error", inputs: [] },
4548
+ { name: "ZeroAddress", type: "error", inputs: [] }
4549
+ ];
4550
+ var LAUNCHPAD_STRATEGY_ABI = [
4551
+ {
4552
+ name: "CLAIM_SETTLE_BUFFER",
4553
+ type: "function",
4554
+ stateMutability: "view",
4555
+ inputs: [],
4556
+ outputs: [{ name: "", type: "uint256" }]
4557
+ },
4558
+ {
4559
+ name: "MAX_CLAIM_WINDOW",
4560
+ type: "function",
4561
+ stateMutability: "view",
4562
+ inputs: [],
4563
+ outputs: [{ name: "", type: "uint256" }]
4564
+ },
4565
+ {
4566
+ name: "MAX_RESERVE_BPS",
4567
+ type: "function",
4568
+ stateMutability: "view",
4569
+ inputs: [],
4570
+ outputs: [{ name: "", type: "uint256" }]
4571
+ },
4572
+ {
4573
+ name: "MAX_SLIPPAGE_BPS",
4574
+ type: "function",
4575
+ stateMutability: "view",
4576
+ inputs: [],
4577
+ outputs: [{ name: "", type: "uint256" }]
4578
+ },
4579
+ {
4580
+ name: "anyoneSettleAt",
4581
+ type: "function",
4582
+ stateMutability: "view",
4583
+ inputs: [],
4584
+ outputs: [{ name: "", type: "uint256" }]
4585
+ },
4586
+ {
4587
+ name: "asset",
4588
+ type: "function",
4589
+ stateMutability: "view",
4590
+ inputs: [],
4591
+ outputs: [{ name: "", type: "address" }]
4592
+ },
4593
+ {
4594
+ name: "assetIn",
4595
+ type: "function",
4596
+ stateMutability: "view",
4597
+ inputs: [],
4598
+ outputs: [{ name: "", type: "uint256" }]
4599
+ },
4600
+ {
4601
+ name: "claim",
4602
+ type: "function",
4603
+ stateMutability: "nonpayable",
4604
+ inputs: [],
4605
+ outputs: [{ name: "amount", type: "uint256" }]
4606
+ },
4607
+ {
4608
+ name: "claimFor",
4609
+ type: "function",
4610
+ stateMutability: "nonpayable",
4611
+ inputs: [{ name: "holder", type: "address" }],
4612
+ outputs: [{ name: "amount", type: "uint256" }]
4613
+ },
4614
+ {
4615
+ name: "claimWindow",
4616
+ type: "function",
4617
+ stateMutability: "view",
4618
+ inputs: [],
4619
+ outputs: [{ name: "", type: "uint256" }]
4620
+ },
4621
+ {
4622
+ name: "claimable",
4623
+ type: "function",
4624
+ stateMutability: "view",
4625
+ inputs: [{ name: "holder", type: "address" }],
4626
+ outputs: [{ name: "", type: "uint256" }]
4627
+ },
4628
+ {
4629
+ name: "claimed",
4630
+ type: "function",
4631
+ stateMutability: "view",
4632
+ inputs: [{ name: "", type: "address" }],
4633
+ outputs: [{ name: "", type: "bool" }]
4634
+ },
4635
+ {
4636
+ name: "deadline",
4637
+ type: "function",
4638
+ stateMutability: "view",
4639
+ inputs: [],
4640
+ outputs: [{ name: "", type: "uint64" }]
4641
+ },
4642
+ { name: "execute", type: "function", stateMutability: "nonpayable", inputs: [], outputs: [] },
4643
+ {
4644
+ name: "executed",
4645
+ type: "function",
4646
+ stateMutability: "view",
4647
+ inputs: [],
4648
+ outputs: [{ name: "", type: "bool" }]
4649
+ },
4650
+ {
4651
+ name: "initialize",
4652
+ type: "function",
4653
+ stateMutability: "nonpayable",
4654
+ inputs: [
4655
+ { name: "vault_", type: "address" },
4656
+ { name: "proposer_", type: "address" },
4657
+ { name: "data", type: "bytes" }
4658
+ ],
4659
+ outputs: []
4660
+ },
4661
+ {
4662
+ name: "launchAdapter",
4663
+ type: "function",
4664
+ stateMutability: "view",
4665
+ inputs: [],
4666
+ outputs: [{ name: "", type: "address" }]
4667
+ },
4668
+ {
4669
+ name: "launchRef",
4670
+ type: "function",
4671
+ stateMutability: "view",
4672
+ inputs: [],
4673
+ outputs: [{ name: "", type: "bytes32" }]
4674
+ },
4675
+ {
4676
+ name: "launchSupply",
4677
+ type: "function",
4678
+ stateMutability: "view",
4679
+ inputs: [],
4680
+ outputs: [{ name: "", type: "uint256" }]
4681
+ },
4682
+ {
4683
+ name: "launchToken",
4684
+ type: "function",
4685
+ stateMutability: "view",
4686
+ inputs: [],
4687
+ outputs: [{ name: "", type: "address" }]
4688
+ },
4689
+ {
4690
+ name: "maxFeeIn",
4691
+ type: "function",
4692
+ stateMutability: "view",
4693
+ inputs: [],
4694
+ outputs: [{ name: "", type: "uint256" }]
4695
+ },
4696
+ {
4697
+ name: "minQuoteOut",
4698
+ type: "function",
4699
+ stateMutability: "view",
4700
+ inputs: [],
4701
+ outputs: [{ name: "", type: "uint256" }]
4702
+ },
4703
+ {
4704
+ name: "minTokensOut",
4705
+ type: "function",
4706
+ stateMutability: "view",
4707
+ inputs: [],
4708
+ outputs: [{ name: "", type: "uint256" }]
4709
+ },
4710
+ {
4711
+ name: "name",
4712
+ type: "function",
4713
+ stateMutability: "pure",
4714
+ inputs: [],
4715
+ outputs: [{ name: "", type: "string" }]
4716
+ },
4717
+ {
4718
+ name: "proposer",
4719
+ type: "function",
4720
+ stateMutability: "view",
4721
+ inputs: [],
4722
+ outputs: [{ name: "", type: "address" }]
4723
+ },
4724
+ {
4725
+ name: "quoteToken",
4726
+ type: "function",
4727
+ stateMutability: "view",
4728
+ inputs: [],
4729
+ outputs: [{ name: "", type: "address" }]
4730
+ },
4731
+ {
4732
+ name: "rescueTo",
4733
+ type: "function",
4734
+ stateMutability: "nonpayable",
4735
+ inputs: [{ name: "token", type: "address" }],
4736
+ outputs: []
4737
+ },
4738
+ {
4739
+ name: "reserve",
4740
+ type: "function",
4741
+ stateMutability: "view",
4742
+ inputs: [],
4743
+ outputs: [{ name: "", type: "uint256" }]
4744
+ },
4745
+ {
4746
+ name: "reserveAmount",
4747
+ type: "function",
4748
+ stateMutability: "view",
4749
+ inputs: [],
4750
+ outputs: [{ name: "", type: "uint256" }]
4751
+ },
4752
+ { name: "settle", type: "function", stateMutability: "nonpayable", inputs: [], outputs: [] },
4753
+ {
4754
+ name: "settleSlippageBps",
4755
+ type: "function",
4756
+ stateMutability: "view",
4757
+ inputs: [],
4758
+ outputs: [{ name: "", type: "uint256" }]
4759
+ },
4760
+ {
4761
+ name: "snap",
4762
+ type: "function",
4763
+ stateMutability: "view",
4764
+ inputs: [],
4765
+ outputs: [{ name: "", type: "uint256" }]
4766
+ },
4767
+ {
4768
+ name: "state",
4769
+ type: "function",
4770
+ stateMutability: "view",
4771
+ inputs: [],
4772
+ outputs: [{ name: "", type: "uint8" }]
4773
+ },
4774
+ {
4775
+ name: "swapAdapter",
4776
+ type: "function",
4777
+ stateMutability: "view",
4778
+ inputs: [],
4779
+ outputs: [{ name: "", type: "address" }]
4780
+ },
4781
+ {
4782
+ name: "tokenName",
4783
+ type: "function",
4784
+ stateMutability: "view",
4785
+ inputs: [],
4786
+ outputs: [{ name: "", type: "string" }]
4787
+ },
4788
+ {
4789
+ name: "tokenSymbol",
4790
+ type: "function",
4791
+ stateMutability: "view",
4792
+ inputs: [],
4793
+ outputs: [{ name: "", type: "string" }]
4794
+ },
4795
+ {
4796
+ name: "totalClaimed",
4797
+ type: "function",
4798
+ stateMutability: "view",
4799
+ inputs: [],
4800
+ outputs: [{ name: "", type: "uint256" }]
4801
+ },
4802
+ {
4803
+ name: "updateParams",
4804
+ type: "function",
4805
+ stateMutability: "nonpayable",
4806
+ inputs: [{ name: "data", type: "bytes" }],
4807
+ outputs: []
4808
+ },
4809
+ {
4810
+ name: "vault",
4811
+ type: "function",
4812
+ stateMutability: "view",
4813
+ inputs: [],
4814
+ outputs: [{ name: "", type: "address" }]
4815
+ },
4816
+ {
4817
+ name: "venueData",
4818
+ type: "function",
4819
+ stateMutability: "view",
4820
+ inputs: [],
4821
+ outputs: [{ name: "", type: "bytes" }]
4822
+ },
4823
+ {
4824
+ name: "windowEnd",
4825
+ type: "function",
4826
+ stateMutability: "view",
4827
+ inputs: [],
4828
+ outputs: [{ name: "", type: "uint256" }]
4829
+ },
4830
+ {
4831
+ name: "FeeTokenResidueDelivered",
4832
+ type: "event",
4833
+ inputs: [
4834
+ { name: "feeToken", type: "address", indexed: true },
4835
+ { name: "to", type: "address", indexed: true },
4836
+ { name: "amount", type: "uint256", indexed: false }
4837
+ ]
4838
+ },
4839
+ {
4840
+ name: "FundLaunched",
4841
+ type: "event",
4842
+ inputs: [
4843
+ { name: "token", type: "address", indexed: true },
4844
+ { name: "launchRef", type: "bytes32", indexed: true },
4845
+ { name: "reserve", type: "uint256", indexed: false },
4846
+ { name: "snapshot", type: "uint256", indexed: false },
4847
+ { name: "windowEnd", type: "uint256", indexed: false },
4848
+ { name: "anyoneSettleAt", type: "uint256", indexed: false }
4849
+ ]
4850
+ },
4851
+ {
4852
+ name: "FundSettled",
4853
+ type: "event",
4854
+ inputs: [
4855
+ { name: "assetDelivered", type: "uint256", indexed: false },
4856
+ { name: "tokenDelivered", type: "uint256", indexed: false },
4857
+ { name: "quoteDelivered", type: "uint256", indexed: false }
4858
+ ]
4859
+ },
4860
+ {
4861
+ name: "ReserveClaimed",
4862
+ type: "event",
4863
+ inputs: [
4864
+ { name: "holder", type: "address", indexed: true },
4865
+ { name: "amount", type: "uint256", indexed: false },
4866
+ { name: "totalClaimed", type: "uint256", indexed: false }
4867
+ ]
4868
+ },
4869
+ {
4870
+ name: "SettlementLegSkipped",
4871
+ type: "event",
4872
+ inputs: [{ name: "leg", type: "bytes32", indexed: true }]
4873
+ },
4874
+ { name: "AlreadyClaimed", type: "error", inputs: [{ name: "holder", type: "address" }] },
4875
+ { name: "AlreadyExecuted", type: "error", inputs: [] },
4876
+ { name: "AlreadyInitialized", type: "error", inputs: [] },
4877
+ { name: "AlreadySettled", type: "error", inputs: [] },
4878
+ {
4879
+ name: "ClaimExceedsReserve",
4880
+ type: "error",
4881
+ inputs: [{ name: "wouldBe", type: "uint256" }, { name: "reserve", type: "uint256" }]
4882
+ },
4883
+ {
4884
+ name: "ClaimWindowClosed",
4885
+ type: "error",
4886
+ inputs: [{ name: "nowTs", type: "uint256" }, { name: "windowEnd", type: "uint256" }]
4887
+ },
4888
+ {
4889
+ name: "ClaimWindowStillOpen",
4890
+ type: "error",
4891
+ inputs: [
4892
+ { name: "nowTs", type: "uint256" },
4893
+ { name: "windowEnd", type: "uint256" },
4894
+ { name: "anyoneSettleAt", type: "uint256" }
4895
+ ]
4896
+ },
4897
+ {
4898
+ name: "FeeAboveCap",
4899
+ type: "error",
4900
+ inputs: [{ name: "cost", type: "uint256" }, { name: "maxFeeIn", type: "uint256" }]
4901
+ },
4902
+ {
4903
+ name: "FeeAcquisitionFailed",
4904
+ type: "error",
4905
+ inputs: [
4906
+ { name: "feeToken", type: "address" },
4907
+ { name: "required", type: "uint256" },
4908
+ { name: "held", type: "uint256" }
4909
+ ]
4910
+ },
4911
+ { name: "InvalidAmount", type: "error", inputs: [] },
4912
+ {
4913
+ name: "InvalidClaimWindow",
4914
+ type: "error",
4915
+ inputs: [{ name: "claimWindow", type: "uint256" }, { name: "maxWindow", type: "uint256" }]
4916
+ },
4917
+ { name: "InvalidSlippage", type: "error", inputs: [{ name: "slippageBps", type: "uint256" }] },
4918
+ {
4919
+ name: "LaunchAdapterNotAllowed",
4920
+ type: "error",
4921
+ inputs: [{ name: "adapter", type: "address" }, { name: "registry", type: "address" }]
4922
+ },
4923
+ { name: "NotActiveProposalStrategy", type: "error", inputs: [] },
4924
+ { name: "NotClaimable", type: "error", inputs: [] },
4925
+ { name: "NotExecuted", type: "error", inputs: [] },
4926
+ { name: "NotPending", type: "error", inputs: [] },
4927
+ { name: "NotProposer", type: "error", inputs: [] },
4928
+ { name: "NotTightening", type: "error", inputs: [] },
4929
+ { name: "NotVault", type: "error", inputs: [] },
4930
+ { name: "ProposerNoLongerAgent", type: "error", inputs: [] },
4931
+ { name: "QueueCannotClaim", type: "error", inputs: [{ name: "queue", type: "address" }] },
4932
+ {
4933
+ name: "QuoteAcquisitionFailed",
4934
+ type: "error",
4935
+ inputs: [{ name: "received", type: "uint256" }, { name: "minQuoteOut", type: "uint256" }]
4936
+ },
4937
+ {
4938
+ name: "QuoteNotSupported",
4939
+ type: "error",
4940
+ inputs: [{ name: "quoteToken", type: "address" }]
4941
+ },
4942
+ {
4943
+ name: "ReserveNotDelivered",
4944
+ type: "error",
4945
+ inputs: [
4946
+ { name: "reserveHeld", type: "uint256" },
4947
+ { name: "balance", type: "uint256" },
4948
+ { name: "required", type: "uint256" }
4949
+ ]
4950
+ },
4951
+ {
4952
+ name: "ReserveTooLarge",
4953
+ type: "error",
4954
+ inputs: [{ name: "reserveAmount", type: "uint256" }, { name: "maxReserve", type: "uint256" }]
4955
+ },
4956
+ {
4957
+ name: "SafeERC20FailedOperation",
4958
+ type: "error",
4959
+ inputs: [{ name: "token", type: "address" }]
4960
+ },
4961
+ {
4962
+ name: "SnapshotNotFinal",
4963
+ type: "error",
4964
+ inputs: [{ name: "vaultClock", type: "uint256" }, { name: "snapshot", type: "uint256" }]
4965
+ },
4966
+ {
4967
+ name: "StrategyDurationTooShort",
4968
+ type: "error",
4969
+ inputs: [{ name: "strategyDuration", type: "uint256" }, { name: "buffer", type: "uint256" }]
4970
+ },
4971
+ {
4972
+ name: "SupplyMismatch",
4973
+ type: "error",
4974
+ inputs: [{ name: "actualSupply", type: "uint256" }, { name: "declaredSupply", type: "uint256" }]
4975
+ },
4976
+ {
4977
+ name: "SwapAdapterNotAllowed",
4978
+ type: "error",
4979
+ inputs: [{ name: "adapter", type: "address" }, { name: "registry", type: "address" }]
4980
+ },
4981
+ { name: "TierRegistryUnresolved", type: "error", inputs: [] },
4982
+ { name: "VaultClockUnreadable", type: "error", inputs: [] },
4983
+ { name: "ZeroAddress", type: "error", inputs: [] },
4984
+ { name: "ZeroEntitlement", type: "error", inputs: [{ name: "holder", type: "address" }] },
4985
+ { name: "ZeroReserve", type: "error", inputs: [] }
4986
+ ];
4987
+ var LAUNCH_ADAPTER_ABI = [
4988
+ {
4989
+ name: "collectFees",
4990
+ type: "function",
4991
+ stateMutability: "nonpayable",
4992
+ inputs: [{ name: "launchRef", type: "bytes32" }],
4993
+ outputs: [{ name: "quoteOut", type: "uint256" }, { name: "tokenOut", type: "uint256" }]
4994
+ },
4995
+ {
4996
+ name: "finalize",
4997
+ type: "function",
4998
+ stateMutability: "nonpayable",
4999
+ inputs: [{ name: "launchRef", type: "bytes32" }],
5000
+ outputs: []
5001
+ },
5002
+ {
5003
+ name: "launch",
5004
+ type: "function",
5005
+ stateMutability: "payable",
5006
+ inputs: [
5007
+ {
5008
+ name: "p",
5009
+ type: "tuple",
5010
+ components: [
5011
+ { name: "name", type: "string" },
5012
+ { name: "symbol", type: "string" },
5013
+ { name: "quoteToken", type: "address" },
5014
+ { name: "quoteIn", type: "uint256" },
5015
+ { name: "minTokensOut", type: "uint256" },
5016
+ { name: "reserveAmount", type: "uint256" },
5017
+ { name: "deadline", type: "uint64" },
5018
+ { name: "feeRecipient", type: "address" },
5019
+ { name: "venueData", type: "bytes" }
5020
+ ]
5021
+ }
5022
+ ],
5023
+ outputs: [
5024
+ {
5025
+ name: "",
5026
+ type: "tuple",
5027
+ components: [
5028
+ { name: "token", type: "address" },
5029
+ { name: "launchRef", type: "bytes32" },
5030
+ { name: "reserveHeld", type: "uint256" },
5031
+ { name: "quoteSpent", type: "uint256" }
5032
+ ]
5033
+ }
5034
+ ]
5035
+ },
5036
+ {
5037
+ name: "launchTarget",
5038
+ type: "function",
5039
+ stateMutability: "view",
5040
+ inputs: [],
5041
+ outputs: [{ name: "", type: "address" }]
5042
+ },
5043
+ {
5044
+ name: "nativeFeeSource",
5045
+ type: "function",
5046
+ stateMutability: "view",
5047
+ inputs: [],
5048
+ outputs: [{ name: "token", type: "address" }, { name: "amount", type: "uint256" }]
5049
+ },
5050
+ {
5051
+ name: "phase",
5052
+ type: "function",
5053
+ stateMutability: "view",
5054
+ inputs: [{ name: "launchRef", type: "bytes32" }],
5055
+ outputs: [{ name: "", type: "uint8" }]
5056
+ },
5057
+ {
5058
+ name: "quoteSupported",
5059
+ type: "function",
5060
+ stateMutability: "view",
5061
+ inputs: [{ name: "quoteToken", type: "address" }],
5062
+ outputs: [{ name: "", type: "bool" }]
5063
+ }
5064
+ ];
5065
+ var SUSHI_LAUNCH_ADAPTER_ABI = [
5066
+ {
5067
+ name: "cloneCollectFees",
5068
+ type: "function",
5069
+ stateMutability: "nonpayable",
5070
+ inputs: [],
5071
+ outputs: [{ name: "quoteOut", type: "uint256" }, { name: "tokenOut", type: "uint256" }]
5072
+ },
5073
+ {
5074
+ name: "clonePhase",
5075
+ type: "function",
5076
+ stateMutability: "view",
5077
+ inputs: [],
5078
+ outputs: [{ name: "", type: "uint8" }]
5079
+ },
5080
+ {
5081
+ name: "collectFees",
5082
+ type: "function",
5083
+ stateMutability: "nonpayable",
5084
+ inputs: [{ name: "launchRef", type: "bytes32" }],
5085
+ outputs: [{ name: "quoteOut", type: "uint256" }, { name: "tokenOut", type: "uint256" }]
5086
+ },
5087
+ {
5088
+ name: "executeLaunch",
5089
+ type: "function",
5090
+ stateMutability: "nonpayable",
5091
+ inputs: [
5092
+ {
5093
+ name: "p",
5094
+ type: "tuple",
5095
+ components: [
5096
+ { name: "name", type: "string" },
5097
+ { name: "symbol", type: "string" },
5098
+ { name: "quoteToken", type: "address" },
5099
+ { name: "quoteIn", type: "uint256" },
5100
+ { name: "minTokensOut", type: "uint256" },
5101
+ { name: "reserveAmount", type: "uint256" },
5102
+ { name: "deadline", type: "uint64" },
5103
+ { name: "feeRecipient", type: "address" },
5104
+ { name: "venueData", type: "bytes" }
5105
+ ]
5106
+ },
5107
+ {
5108
+ name: "v",
5109
+ type: "tuple",
5110
+ components: [{ name: "liquidityMode", type: "uint8" }, { name: "feeDisposition", type: "uint8" }]
5111
+ },
5112
+ { name: "fee", type: "uint256" }
5113
+ ],
5114
+ outputs: [{ name: "token", type: "address" }, { name: "reserveHeld", type: "uint256" }]
5115
+ },
5116
+ {
5117
+ name: "feeRecipient",
5118
+ type: "function",
5119
+ stateMutability: "view",
5120
+ inputs: [],
5121
+ outputs: [{ name: "", type: "address" }]
5122
+ },
5123
+ {
5124
+ name: "finalize",
5125
+ type: "function",
5126
+ stateMutability: "nonpayable",
5127
+ inputs: [{ name: "", type: "bytes32" }],
5128
+ outputs: []
5129
+ },
5130
+ {
5131
+ name: "implementation",
5132
+ type: "function",
5133
+ stateMutability: "view",
5134
+ inputs: [],
5135
+ outputs: [{ name: "", type: "address" }]
5136
+ },
5137
+ {
5138
+ name: "initialize",
5139
+ type: "function",
5140
+ stateMutability: "nonpayable",
5141
+ inputs: [{ name: "owner_", type: "address" }, { name: "feeRecipient_", type: "address" }],
5142
+ outputs: []
5143
+ },
5144
+ {
5145
+ name: "isClone",
5146
+ type: "function",
5147
+ stateMutability: "view",
5148
+ inputs: [{ name: "target", type: "address" }],
5149
+ outputs: [{ name: "", type: "bool" }]
5150
+ },
5151
+ {
5152
+ name: "launch",
5153
+ type: "function",
5154
+ stateMutability: "payable",
5155
+ inputs: [
5156
+ {
5157
+ name: "p",
5158
+ type: "tuple",
5159
+ components: [
5160
+ { name: "name", type: "string" },
5161
+ { name: "symbol", type: "string" },
5162
+ { name: "quoteToken", type: "address" },
5163
+ { name: "quoteIn", type: "uint256" },
5164
+ { name: "minTokensOut", type: "uint256" },
5165
+ { name: "reserveAmount", type: "uint256" },
5166
+ { name: "deadline", type: "uint64" },
5167
+ { name: "feeRecipient", type: "address" },
5168
+ { name: "venueData", type: "bytes" }
5169
+ ]
5170
+ }
5171
+ ],
5172
+ outputs: [
5173
+ {
5174
+ name: "",
5175
+ type: "tuple",
5176
+ components: [
5177
+ { name: "token", type: "address" },
5178
+ { name: "launchRef", type: "bytes32" },
5179
+ { name: "reserveHeld", type: "uint256" },
5180
+ { name: "quoteSpent", type: "uint256" }
5181
+ ]
5182
+ }
5183
+ ]
5184
+ },
5185
+ {
5186
+ name: "launchTarget",
5187
+ type: "function",
5188
+ stateMutability: "view",
5189
+ inputs: [],
5190
+ outputs: [{ name: "", type: "address" }]
5191
+ },
5192
+ {
5193
+ name: "launchToken",
5194
+ type: "function",
5195
+ stateMutability: "view",
5196
+ inputs: [],
5197
+ outputs: [{ name: "", type: "address" }]
5198
+ },
5199
+ {
5200
+ name: "launchpad",
5201
+ type: "function",
5202
+ stateMutability: "view",
5203
+ inputs: [],
5204
+ outputs: [{ name: "", type: "address" }]
5205
+ },
5206
+ {
5207
+ name: "nativeFeeSource",
5208
+ type: "function",
5209
+ stateMutability: "view",
5210
+ inputs: [],
5211
+ outputs: [{ name: "token", type: "address" }, { name: "amount", type: "uint256" }]
5212
+ },
5213
+ {
5214
+ name: "owner",
5215
+ type: "function",
5216
+ stateMutability: "view",
5217
+ inputs: [],
5218
+ outputs: [{ name: "", type: "address" }]
5219
+ },
5220
+ {
5221
+ name: "phase",
5222
+ type: "function",
5223
+ stateMutability: "view",
5224
+ inputs: [{ name: "launchRef", type: "bytes32" }],
5225
+ outputs: [{ name: "", type: "uint8" }]
5226
+ },
5227
+ {
5228
+ name: "quoteSupported",
5229
+ type: "function",
5230
+ stateMutability: "view",
5231
+ inputs: [{ name: "quoteToken_", type: "address" }],
5232
+ outputs: [{ name: "", type: "bool" }]
5233
+ },
5234
+ {
5235
+ name: "quoteToken",
5236
+ type: "function",
5237
+ stateMutability: "view",
5238
+ inputs: [],
5239
+ outputs: [{ name: "", type: "address" }]
5240
+ },
5241
+ {
5242
+ name: "weth",
5243
+ type: "function",
5244
+ stateMutability: "view",
5245
+ inputs: [],
5246
+ outputs: [{ name: "", type: "address" }]
5247
+ },
5248
+ {
5249
+ name: "FeesCollected",
5250
+ type: "event",
5251
+ inputs: [
5252
+ { name: "recipient", type: "address", indexed: true },
5253
+ { name: "quoteOut", type: "uint256", indexed: false },
5254
+ { name: "tokenOut", type: "uint256", indexed: false }
5255
+ ]
5256
+ },
5257
+ {
5258
+ name: "LaunchCloned",
5259
+ type: "event",
5260
+ inputs: [
5261
+ { name: "clone", type: "address", indexed: true },
5262
+ { name: "strategy", type: "address", indexed: true },
5263
+ { name: "token", type: "address", indexed: true },
5264
+ { name: "liquidityMode", type: "uint8", indexed: false },
5265
+ { name: "feeDisposition", type: "uint8", indexed: false }
5266
+ ]
5267
+ },
5268
+ {
5269
+ name: "VenueCallFailed",
5270
+ type: "event",
5271
+ inputs: [
5272
+ { name: "leg", type: "bytes32", indexed: true },
5273
+ { name: "reason", type: "bytes4", indexed: true },
5274
+ { name: "launchRef", type: "bytes32", indexed: false },
5275
+ { name: "gasStarved", type: "bool", indexed: false }
5276
+ ]
5277
+ },
5278
+ { name: "AlreadyInitialized", type: "error", inputs: [] },
5279
+ { name: "AlreadyLaunched", type: "error", inputs: [{ name: "token", type: "address" }] },
5280
+ {
5281
+ name: "DeadlineExpired",
5282
+ type: "error",
5283
+ inputs: [{ name: "deadline", type: "uint64" }, { name: "nowTimestamp", type: "uint256" }]
5284
+ },
5285
+ {
5286
+ name: "DispositionUnsupported",
5287
+ type: "error",
5288
+ inputs: [{ name: "feeDisposition", type: "uint8" }]
5289
+ },
5290
+ {
5291
+ name: "DustRemains",
5292
+ type: "error",
5293
+ inputs: [{ name: "token", type: "address" }, { name: "amount", type: "uint256" }]
5294
+ },
5295
+ { name: "FailedDeployment", type: "error", inputs: [] },
5296
+ {
5297
+ name: "FeeReceiverNotClone",
5298
+ type: "error",
5299
+ inputs: [{ name: "creator", type: "address" }, { name: "feeReceiver", type: "address" }]
5300
+ },
5301
+ {
5302
+ name: "InsufficientBalance",
5303
+ type: "error",
5304
+ inputs: [{ name: "balance", type: "uint256" }, { name: "needed", type: "uint256" }]
5305
+ },
5306
+ { name: "InvalidLaunchpad", type: "error", inputs: [] },
5307
+ { name: "InvalidVenueData", type: "error", inputs: [{ name: "length", type: "uint256" }] },
5308
+ { name: "InvalidWeth", type: "error", inputs: [] },
5309
+ { name: "NativeValueRejected", type: "error", inputs: [{ name: "value", type: "uint256" }] },
5310
+ { name: "NotImplementation", type: "error", inputs: [{ name: "caller", type: "address" }] },
5311
+ { name: "NotInitialized", type: "error", inputs: [] },
5312
+ {
5313
+ name: "ReserveFloorBelowReserve",
5314
+ type: "error",
5315
+ inputs: [{ name: "minTokensOut", type: "uint256" }, { name: "reserveAmount", type: "uint256" }]
5316
+ },
5317
+ {
5318
+ name: "ReserveNotDelivered",
5319
+ type: "error",
5320
+ inputs: [{ name: "delivered", type: "uint256" }, { name: "required", type: "uint256" }]
5321
+ },
5322
+ {
5323
+ name: "SafeERC20FailedOperation",
5324
+ type: "error",
5325
+ inputs: [{ name: "token", type: "address" }]
5326
+ },
5327
+ {
5328
+ name: "UnexpectedNativePayment",
5329
+ type: "error",
5330
+ inputs: [{ name: "sender", type: "address" }]
5331
+ },
5332
+ { name: "UnsupportedQuote", type: "error", inputs: [{ name: "quoteToken", type: "address" }] },
5333
+ {
5334
+ name: "WrongRole",
5335
+ type: "error",
5336
+ inputs: [{ name: "self", type: "address" }, { name: "expected", type: "address" }]
5337
+ },
5338
+ { name: "ZeroFeeRecipient", type: "error", inputs: [] },
5339
+ { name: "ZeroQuoteIn", type: "error", inputs: [] }
5340
+ ];
5341
+ var STONK_LAUNCH_ADAPTER_ABI = [
5342
+ { name: "abort", type: "function", stateMutability: "nonpayable", inputs: [], outputs: [] },
5343
+ {
5344
+ name: "cloneCollectFees",
5345
+ type: "function",
5346
+ stateMutability: "nonpayable",
5347
+ inputs: [],
5348
+ outputs: [{ name: "quoteOut", type: "uint256" }, { name: "tokenOut", type: "uint256" }]
5349
+ },
5350
+ {
5351
+ name: "cloneFinalize",
5352
+ type: "function",
5353
+ stateMutability: "nonpayable",
5354
+ inputs: [],
5355
+ outputs: []
5356
+ },
5357
+ {
5358
+ name: "clonePhase",
5359
+ type: "function",
5360
+ stateMutability: "view",
5361
+ inputs: [],
5362
+ outputs: [{ name: "", type: "uint8" }]
5363
+ },
5364
+ {
5365
+ name: "collectFees",
5366
+ type: "function",
5367
+ stateMutability: "nonpayable",
5368
+ inputs: [{ name: "launchRef", type: "bytes32" }],
5369
+ outputs: [{ name: "quoteOut", type: "uint256" }, { name: "tokenOut", type: "uint256" }]
5370
+ },
5371
+ {
5372
+ name: "executeLaunch",
5373
+ type: "function",
5374
+ stateMutability: "nonpayable",
5375
+ inputs: [
5376
+ {
5377
+ name: "p",
5378
+ type: "tuple",
5379
+ components: [
5380
+ { name: "name", type: "string" },
5381
+ { name: "symbol", type: "string" },
5382
+ { name: "quoteToken", type: "address" },
5383
+ { name: "quoteIn", type: "uint256" },
5384
+ { name: "minTokensOut", type: "uint256" },
5385
+ { name: "reserveAmount", type: "uint256" },
5386
+ { name: "deadline", type: "uint64" },
5387
+ { name: "feeRecipient", type: "address" },
5388
+ { name: "venueData", type: "bytes" }
5389
+ ]
5390
+ }
5391
+ ],
5392
+ outputs: [
5393
+ { name: "token", type: "address" },
5394
+ { name: "id", type: "uint256" },
5395
+ { name: "reserveHeld", type: "uint256" },
5396
+ { name: "quoteSpent", type: "uint256" }
5397
+ ]
5398
+ },
5399
+ {
5400
+ name: "feeRecipient",
5401
+ type: "function",
5402
+ stateMutability: "view",
5403
+ inputs: [],
5404
+ outputs: [{ name: "", type: "address" }]
5405
+ },
5406
+ {
5407
+ name: "finalize",
5408
+ type: "function",
5409
+ stateMutability: "nonpayable",
5410
+ inputs: [{ name: "launchRef", type: "bytes32" }],
5411
+ outputs: []
5412
+ },
5413
+ {
5414
+ name: "implementation",
5415
+ type: "function",
5416
+ stateMutability: "view",
5417
+ inputs: [],
5418
+ outputs: [{ name: "", type: "address" }]
5419
+ },
5420
+ {
5421
+ name: "initialize",
5422
+ type: "function",
5423
+ stateMutability: "nonpayable",
5424
+ inputs: [
5425
+ { name: "owner_", type: "address" },
5426
+ { name: "pad_", type: "address" },
5427
+ { name: "laneQuote_", type: "address" },
5428
+ { name: "feeRecipient_", type: "address" }
5429
+ ],
5430
+ outputs: []
5431
+ },
5432
+ {
5433
+ name: "isClone",
5434
+ type: "function",
5435
+ stateMutability: "view",
5436
+ inputs: [{ name: "target", type: "address" }],
5437
+ outputs: [{ name: "", type: "bool" }]
5438
+ },
5439
+ {
5440
+ name: "laneQuote",
5441
+ type: "function",
5442
+ stateMutability: "view",
5443
+ inputs: [],
5444
+ outputs: [{ name: "", type: "address" }]
5445
+ },
5446
+ {
5447
+ name: "lanes",
5448
+ type: "function",
5449
+ stateMutability: "view",
5450
+ inputs: [],
5451
+ outputs: [{ name: "quotes", type: "address[]" }, { name: "pads", type: "address[]" }]
5452
+ },
5453
+ {
5454
+ name: "launch",
5455
+ type: "function",
5456
+ stateMutability: "payable",
5457
+ inputs: [
5458
+ {
5459
+ name: "p",
5460
+ type: "tuple",
5461
+ components: [
5462
+ { name: "name", type: "string" },
5463
+ { name: "symbol", type: "string" },
5464
+ { name: "quoteToken", type: "address" },
5465
+ { name: "quoteIn", type: "uint256" },
5466
+ { name: "minTokensOut", type: "uint256" },
5467
+ { name: "reserveAmount", type: "uint256" },
5468
+ { name: "deadline", type: "uint64" },
5469
+ { name: "feeRecipient", type: "address" },
5470
+ { name: "venueData", type: "bytes" }
5471
+ ]
5472
+ }
5473
+ ],
5474
+ outputs: [
5475
+ {
5476
+ name: "",
5477
+ type: "tuple",
5478
+ components: [
5479
+ { name: "token", type: "address" },
5480
+ { name: "launchRef", type: "bytes32" },
5481
+ { name: "reserveHeld", type: "uint256" },
5482
+ { name: "quoteSpent", type: "uint256" }
5483
+ ]
5484
+ }
5485
+ ]
5486
+ },
5487
+ {
5488
+ name: "launchId",
5489
+ type: "function",
5490
+ stateMutability: "view",
5491
+ inputs: [],
5492
+ outputs: [{ name: "", type: "uint256" }]
5493
+ },
5494
+ {
5495
+ name: "launchTarget",
5496
+ type: "function",
5497
+ stateMutability: "pure",
5498
+ inputs: [],
5499
+ outputs: [{ name: "", type: "address" }]
5500
+ },
5501
+ {
5502
+ name: "launchToken",
5503
+ type: "function",
5504
+ stateMutability: "view",
5505
+ inputs: [],
5506
+ outputs: [{ name: "", type: "address" }]
5507
+ },
5508
+ {
5509
+ name: "lens",
5510
+ type: "function",
5511
+ stateMutability: "view",
5512
+ inputs: [],
5513
+ outputs: [{ name: "", type: "address" }]
5514
+ },
5515
+ {
5516
+ name: "nativeFeeSource",
5517
+ type: "function",
5518
+ stateMutability: "view",
5519
+ inputs: [],
5520
+ outputs: [{ name: "token", type: "address" }, { name: "amount", type: "uint256" }]
5521
+ },
5522
+ {
5523
+ name: "owner",
5524
+ type: "function",
5525
+ stateMutability: "view",
5526
+ inputs: [],
5527
+ outputs: [{ name: "", type: "address" }]
5528
+ },
5529
+ {
5530
+ name: "pad",
5531
+ type: "function",
5532
+ stateMutability: "view",
5533
+ inputs: [],
5534
+ outputs: [{ name: "", type: "address" }]
5535
+ },
5536
+ {
5537
+ name: "padOf",
5538
+ type: "function",
5539
+ stateMutability: "view",
5540
+ inputs: [{ name: "quoteToken", type: "address" }],
5541
+ outputs: [{ name: "pad", type: "address" }]
5542
+ },
5543
+ {
5544
+ name: "padSetHash",
5545
+ type: "function",
5546
+ stateMutability: "view",
5547
+ inputs: [],
5548
+ outputs: [{ name: "", type: "bytes32" }]
5549
+ },
5550
+ {
5551
+ name: "phase",
5552
+ type: "function",
5553
+ stateMutability: "view",
5554
+ inputs: [{ name: "launchRef", type: "bytes32" }],
5555
+ outputs: [{ name: "", type: "uint8" }]
5556
+ },
5557
+ {
5558
+ name: "quoteSupported",
5559
+ type: "function",
5560
+ stateMutability: "view",
5561
+ inputs: [{ name: "quoteToken", type: "address" }],
5562
+ outputs: [{ name: "", type: "bool" }]
5563
+ },
5564
+ {
5565
+ name: "FeesCollected",
5566
+ type: "event",
5567
+ inputs: [
5568
+ { name: "recipient", type: "address", indexed: true },
5569
+ { name: "quoteOut", type: "uint256", indexed: false },
5570
+ { name: "tokenOut", type: "uint256", indexed: false }
5571
+ ]
5572
+ },
5573
+ {
5574
+ name: "LaunchAborted",
5575
+ type: "event",
5576
+ inputs: [
5577
+ { name: "owner", type: "address", indexed: true },
5578
+ { name: "returned", type: "uint256", indexed: false }
5579
+ ]
5580
+ },
5581
+ {
5582
+ name: "LaunchCloned",
5583
+ type: "event",
5584
+ inputs: [
5585
+ { name: "clone", type: "address", indexed: true },
5586
+ { name: "strategy", type: "address", indexed: true },
5587
+ { name: "padAddress", type: "address", indexed: true },
5588
+ { name: "launchId", type: "uint256", indexed: false },
5589
+ { name: "token", type: "address", indexed: false }
5590
+ ]
5591
+ },
5592
+ {
5593
+ name: "VenueCallFailed",
5594
+ type: "event",
5595
+ inputs: [
5596
+ { name: "leg", type: "bytes32", indexed: true },
5597
+ { name: "reason", type: "bytes4", indexed: true },
5598
+ { name: "launchRef", type: "bytes32", indexed: false },
5599
+ { name: "gasStarved", type: "bool", indexed: false }
5600
+ ]
5601
+ },
5602
+ {
5603
+ name: "VenueLegSkipped",
5604
+ type: "event",
5605
+ inputs: [{ name: "leg", type: "bytes32", indexed: true }]
5606
+ },
5607
+ { name: "AlreadyInitialized", type: "error", inputs: [] },
5608
+ { name: "AlreadyLaunched", type: "error", inputs: [{ name: "token", type: "address" }] },
5609
+ {
5610
+ name: "DeadlineExpired",
5611
+ type: "error",
5612
+ inputs: [{ name: "deadline", type: "uint64" }, { name: "nowTimestamp", type: "uint256" }]
5613
+ },
5614
+ { name: "DuplicateQuote", type: "error", inputs: [{ name: "quoteToken", type: "address" }] },
5615
+ {
5616
+ name: "DustRemains",
5617
+ type: "error",
5618
+ inputs: [{ name: "token", type: "address" }, { name: "amount", type: "uint256" }]
5619
+ },
5620
+ { name: "FailedDeployment", type: "error", inputs: [] },
5621
+ {
5622
+ name: "InsufficientBalance",
5623
+ type: "error",
5624
+ inputs: [{ name: "balance", type: "uint256" }, { name: "needed", type: "uint256" }]
5625
+ },
5626
+ {
5627
+ name: "InvalidLane",
5628
+ type: "error",
5629
+ inputs: [
5630
+ { name: "index", type: "uint256" },
5631
+ { name: "quoteToken", type: "address" },
5632
+ { name: "padAddress", type: "address" }
5633
+ ]
5634
+ },
5635
+ {
5636
+ name: "InvalidLaneSet",
5637
+ type: "error",
5638
+ inputs: [{ name: "quotesLength", type: "uint256" }, { name: "padsLength", type: "uint256" }]
5639
+ },
5640
+ { name: "InvalidLens", type: "error", inputs: [] },
5641
+ {
5642
+ name: "MinOutWithoutBuy",
5643
+ type: "error",
5644
+ inputs: [{ name: "minTokensOut", type: "uint256" }]
5645
+ },
5646
+ {
5647
+ name: "NativeFeeUnsupported",
5648
+ type: "error",
5649
+ inputs: [{ name: "padAddress", type: "address" }, { name: "feeWei", type: "uint256" }]
5650
+ },
5651
+ { name: "NativeValueRejected", type: "error", inputs: [{ name: "value", type: "uint256" }] },
5652
+ { name: "NotImplementation", type: "error", inputs: [{ name: "caller", type: "address" }] },
5653
+ { name: "NotInitialized", type: "error", inputs: [] },
5654
+ { name: "NotLaunched", type: "error", inputs: [] },
5655
+ {
5656
+ name: "NotOwner",
5657
+ type: "error",
5658
+ inputs: [{ name: "caller", type: "address" }, { name: "expectedOwner", type: "address" }]
5659
+ },
5660
+ {
5661
+ name: "PadQuoteMismatch",
5662
+ type: "error",
5663
+ inputs: [
5664
+ { name: "padAddress", type: "address" },
5665
+ { name: "expected", type: "address" },
5666
+ { name: "actual", type: "address" }
5667
+ ]
5668
+ },
5669
+ {
5670
+ name: "ReserveExceedsSupply",
5671
+ type: "error",
5672
+ inputs: [{ name: "reserveAmount", type: "uint256" }, { name: "supply", type: "uint256" }]
5673
+ },
5674
+ {
5675
+ name: "SafeERC20FailedOperation",
5676
+ type: "error",
5677
+ inputs: [{ name: "token", type: "address" }]
5678
+ },
5679
+ {
5680
+ name: "SupplyNotDelivered",
5681
+ type: "error",
5682
+ inputs: [{ name: "delivered", type: "uint256" }, { name: "supply", type: "uint256" }]
5683
+ },
5684
+ { name: "UnsupportedQuote", type: "error", inputs: [{ name: "quoteToken", type: "address" }] },
5685
+ {
5686
+ name: "WrongRole",
5687
+ type: "error",
5688
+ inputs: [{ name: "self", type: "address" }, { name: "expected", type: "address" }]
5689
+ },
5690
+ { name: "ZeroFeeRecipient", type: "error", inputs: [] }
5691
+ ];
5692
+ var LIGHTER_PERP_STRATEGY_ABI = [
5693
+ {
5694
+ name: "accountIndex",
5695
+ type: "function",
5696
+ stateMutability: "view",
5697
+ inputs: [],
5698
+ outputs: [{ name: "", type: "uint48" }]
5699
+ },
5700
+ {
5701
+ name: "acknowledgeShortfall",
5702
+ type: "function",
5703
+ stateMutability: "nonpayable",
5704
+ inputs: [],
5705
+ outputs: []
5706
+ },
5707
+ {
5708
+ name: "apiKeyIndex",
5709
+ type: "function",
5710
+ stateMutability: "view",
5711
+ inputs: [],
5712
+ outputs: [{ name: "", type: "uint8" }]
5713
+ },
5714
+ {
5715
+ name: "apiKeyPubKey",
5716
+ type: "function",
5717
+ stateMutability: "view",
5718
+ inputs: [],
5719
+ outputs: [{ name: "", type: "bytes" }]
5720
+ },
5721
+ {
5722
+ name: "deployedAmount",
5723
+ type: "function",
5724
+ stateMutability: "view",
5725
+ inputs: [],
5726
+ outputs: [{ name: "", type: "uint256" }]
5727
+ },
5728
+ {
5729
+ name: "depositAmount",
5730
+ type: "function",
5731
+ stateMutability: "view",
5732
+ inputs: [],
5733
+ outputs: [{ name: "", type: "uint256" }]
5734
+ },
5735
+ { name: "execute", type: "function", stateMutability: "nonpayable", inputs: [], outputs: [] },
5736
+ {
5737
+ name: "executed",
5738
+ type: "function",
5739
+ stateMutability: "view",
5740
+ inputs: [],
5741
+ outputs: [{ name: "", type: "bool" }]
5742
+ },
5743
+ {
5744
+ name: "guardrailAction",
5745
+ type: "function",
5746
+ stateMutability: "nonpayable",
5747
+ inputs: [{ name: "data", type: "bytes" }],
5748
+ outputs: []
5749
+ },
5750
+ {
5751
+ name: "initialize",
5752
+ type: "function",
5753
+ stateMutability: "nonpayable",
5754
+ inputs: [
5755
+ { name: "vault_", type: "address" },
5756
+ { name: "proposer_", type: "address" },
5757
+ { name: "data", type: "bytes" }
5758
+ ],
5759
+ outputs: []
5760
+ },
5761
+ {
5762
+ name: "initiateReturn",
5763
+ type: "function",
5764
+ stateMutability: "nonpayable",
5765
+ inputs: [],
5766
+ outputs: []
5767
+ },
5768
+ {
5769
+ name: "markets",
5770
+ type: "function",
5771
+ stateMutability: "view",
5772
+ inputs: [{ name: "", type: "uint256" }],
5773
+ outputs: [{ name: "", type: "uint16" }]
5774
+ },
5775
+ {
5776
+ name: "name",
5777
+ type: "function",
5778
+ stateMutability: "pure",
5779
+ inputs: [],
5780
+ outputs: [{ name: "", type: "string" }]
5781
+ },
5782
+ {
5783
+ name: "pendingBalance",
5784
+ type: "function",
5785
+ stateMutability: "view",
5786
+ inputs: [],
5787
+ outputs: [{ name: "", type: "uint128" }]
5788
+ },
5789
+ {
5790
+ name: "proposer",
5791
+ type: "function",
5792
+ stateMutability: "view",
5793
+ inputs: [],
5794
+ outputs: [{ name: "", type: "address" }]
5795
+ },
5796
+ {
5797
+ name: "queueWithdraw",
5798
+ type: "function",
5799
+ stateMutability: "nonpayable",
5800
+ inputs: [{ name: "ticks", type: "uint64" }],
5801
+ outputs: []
5802
+ },
5803
+ {
5804
+ name: "queuedTicks",
5805
+ type: "function",
5806
+ stateMutability: "view",
5807
+ inputs: [],
5808
+ outputs: [{ name: "", type: "uint256" }]
5809
+ },
5810
+ {
5811
+ name: "recoverResiduals",
5812
+ type: "function",
5813
+ stateMutability: "nonpayable",
5814
+ inputs: [],
5815
+ outputs: []
5816
+ },
5817
+ {
5818
+ name: "registerAgentKey",
5819
+ type: "function",
5820
+ stateMutability: "nonpayable",
5821
+ inputs: [],
5822
+ outputs: []
5823
+ },
5824
+ {
5825
+ name: "rescueTo",
5826
+ type: "function",
5827
+ stateMutability: "nonpayable",
5828
+ inputs: [{ name: "token", type: "address" }],
5829
+ outputs: []
5830
+ },
5831
+ {
5832
+ name: "returnedAssets",
5833
+ type: "function",
5834
+ stateMutability: "view",
5835
+ inputs: [],
5836
+ outputs: [{ name: "", type: "uint256" }]
5837
+ },
5838
+ {
5839
+ name: "returnsInitiatedAt",
5840
+ type: "function",
5841
+ stateMutability: "view",
5842
+ inputs: [],
5843
+ outputs: [{ name: "", type: "uint256" }]
5844
+ },
5845
+ { name: "settle", type: "function", stateMutability: "nonpayable", inputs: [], outputs: [] },
5846
+ {
5847
+ name: "settled",
5848
+ type: "function",
5849
+ stateMutability: "view",
5850
+ inputs: [],
5851
+ outputs: [{ name: "", type: "bool" }]
5852
+ },
5853
+ {
5854
+ name: "shortfallAcknowledged",
5855
+ type: "function",
5856
+ stateMutability: "view",
5857
+ inputs: [],
5858
+ outputs: [{ name: "", type: "bool" }]
5859
+ },
5860
+ {
5861
+ name: "state",
5862
+ type: "function",
5863
+ stateMutability: "view",
5864
+ inputs: [],
5865
+ outputs: [{ name: "", type: "uint8" }]
5866
+ },
5867
+ {
5868
+ name: "updateParams",
5869
+ type: "function",
5870
+ stateMutability: "nonpayable",
5871
+ inputs: [{ name: "data", type: "bytes" }],
5872
+ outputs: []
5873
+ },
5874
+ {
5875
+ name: "vault",
5876
+ type: "function",
5877
+ stateMutability: "view",
5878
+ inputs: [],
5879
+ outputs: [{ name: "", type: "address" }]
5880
+ },
5881
+ {
5882
+ name: "AgentKeyRegistered",
5883
+ type: "event",
5884
+ inputs: [
5885
+ { name: "accountIndex", type: "uint48", indexed: false },
5886
+ { name: "apiKeyIndex", type: "uint8", indexed: false }
5887
+ ]
5888
+ },
5889
+ {
5890
+ name: "Deposited",
5891
+ type: "event",
5892
+ inputs: [
5893
+ { name: "amount", type: "uint256", indexed: false },
5894
+ { name: "accountIndex", type: "uint48", indexed: false }
5895
+ ]
5896
+ },
5897
+ {
5898
+ name: "FundsSwept",
5899
+ type: "event",
5900
+ inputs: [{ name: "amount", type: "uint256", indexed: false }]
5901
+ },
5902
+ {
5903
+ name: "MarketClosed",
5904
+ type: "event",
5905
+ inputs: [
5906
+ { name: "market", type: "uint16", indexed: false },
5907
+ { name: "isAsk", type: "uint8", indexed: false }
5908
+ ]
5909
+ },
5910
+ {
5911
+ name: "OrdersCancelled",
5912
+ type: "event",
5913
+ inputs: [{ name: "accountIndex", type: "uint48", indexed: false }]
5914
+ },
5915
+ {
5916
+ name: "ReturnsInitiated",
5917
+ type: "event",
5918
+ inputs: [{ name: "caller", type: "address", indexed: true }]
5919
+ },
5920
+ { name: "Settled", type: "event", inputs: [] },
5921
+ {
5922
+ name: "ShortfallAcknowledged",
5923
+ type: "event",
5924
+ inputs: [
5925
+ { name: "caller", type: "address", indexed: true },
5926
+ { name: "queuedTicks", type: "uint256", indexed: false },
5927
+ { name: "accounted", type: "uint256", indexed: false }
5928
+ ]
5929
+ },
5930
+ {
5931
+ name: "WithdrawQueued",
5932
+ type: "event",
5933
+ inputs: [
5934
+ { name: "ticks", type: "uint64", indexed: false },
5935
+ { name: "cumulativeTicks", type: "uint256", indexed: false }
5936
+ ]
5937
+ },
5938
+ { name: "AccountNotRegistered", type: "error", inputs: [] },
5939
+ { name: "AlreadyExecuted", type: "error", inputs: [] },
5940
+ { name: "AlreadyInitialized", type: "error", inputs: [] },
5941
+ { name: "AlreadyInitiated", type: "error", inputs: [] },
5942
+ { name: "AlreadySettled", type: "error", inputs: [] },
5943
+ { name: "AssetMismatch", type: "error", inputs: [] },
5944
+ {
5945
+ name: "CounterpartyNotAllowed",
5946
+ type: "error",
5947
+ inputs: [{ name: "counterparty", type: "address" }, { name: "registry", type: "address" }]
5948
+ },
5949
+ { name: "DepositTooLarge", type: "error", inputs: [] },
5950
+ { name: "DepositTooSmall", type: "error", inputs: [] },
5951
+ { name: "DuplicateMarket", type: "error", inputs: [] },
5952
+ { name: "InvalidAction", type: "error", inputs: [] },
5953
+ { name: "InvalidApiKeyIndex", type: "error", inputs: [] },
5954
+ { name: "InvalidMarket", type: "error", inputs: [] },
5955
+ { name: "InvalidPubKey", type: "error", inputs: [] },
5956
+ { name: "NoMarkets", type: "error", inputs: [] },
5957
+ {
5958
+ name: "NoShortfall",
5959
+ type: "error",
5960
+ inputs: [{ name: "queued", type: "uint256" }, { name: "accounted", type: "uint256" }]
5961
+ },
5962
+ { name: "NotActiveProposalStrategy", type: "error", inputs: [] },
5963
+ { name: "NotAuthorized", type: "error", inputs: [] },
5964
+ { name: "NotExecuted", type: "error", inputs: [] },
5965
+ { name: "NotProposer", type: "error", inputs: [] },
5966
+ { name: "NotVault", type: "error", inputs: [] },
5967
+ { name: "NothingQueued", type: "error", inputs: [] },
5968
+ { name: "ProposerNoLongerAgent", type: "error", inputs: [] },
5969
+ { name: "ReturnsNotInitiated", type: "error", inputs: [] },
5970
+ {
5971
+ name: "SafeERC20FailedOperation",
5972
+ type: "error",
5973
+ inputs: [{ name: "token", type: "address" }]
5974
+ },
5975
+ {
5976
+ name: "SettleIncomplete",
5977
+ type: "error",
5978
+ inputs: [{ name: "stillPending", type: "uint128" }]
5979
+ },
5980
+ { name: "SettleTooSoon", type: "error", inputs: [] },
5981
+ { name: "TierRegistryUnresolved", type: "error", inputs: [] },
5982
+ { name: "TooManyMarkets", type: "error", inputs: [] },
5983
+ { name: "UnsupportedChain", type: "error", inputs: [] },
5984
+ {
5985
+ name: "WithdrawalInFlight",
5986
+ type: "error",
5987
+ inputs: [{ name: "queued", type: "uint256" }, { name: "accounted", type: "uint256" }]
5988
+ },
5989
+ { name: "ZeroAddress", type: "error", inputs: [] },
5990
+ { name: "ZeroTicks", type: "error", inputs: [] }
5991
+ ];
3953
5992
 
3954
5993
  export {
3955
5994
  SYNDICATE_VAULT_ABI,
@@ -3967,6 +6006,13 @@ export {
3967
6006
  SCHEMA_REGISTRY_ABI,
3968
6007
  BASE_STRATEGY_ABI,
3969
6008
  PORTFOLIO_STRATEGY_ABI,
3970
- SYNTHRA_QUOTER_ABI
6009
+ SYNTHRA_QUOTER_ABI,
6010
+ MORPHO_SUPPLY_STRATEGY_ABI,
6011
+ CONCENTRATED_LIQUIDITY_STRATEGY_ABI,
6012
+ LAUNCHPAD_STRATEGY_ABI,
6013
+ LAUNCH_ADAPTER_ABI,
6014
+ SUSHI_LAUNCH_ADAPTER_ABI,
6015
+ STONK_LAUNCH_ADAPTER_ABI,
6016
+ LIGHTER_PERP_STRATEGY_ABI
3971
6017
  };
3972
- //# sourceMappingURL=chunk-J2IZWAEW.js.map
6018
+ //# sourceMappingURL=chunk-JCL2DEH3.js.map