@yodlpay/tokenlists 0.8.40 → 0.9.0-alpha.10
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/abis-ts/YodlRouterV0.9.abi.d.ts +513 -389
- package/dist/chainlist-v1.json +6 -6
- package/dist/index.d.ts +513 -389
- package/dist/tokenlist-featured.json +1 -0
- package/dist/tokenlist-generated.json +1 -1
- package/dist/tokenlists.cjs.development.js +752 -617
- package/dist/tokenlists.cjs.development.js.map +1 -1
- package/dist/tokenlists.cjs.production.min.js +1 -1
- package/dist/tokenlists.cjs.production.min.js.map +1 -1
- package/dist/tokenlists.esm.js +752 -617
- package/dist/tokenlists.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -5112,982 +5112,1106 @@ var yodlRouterAbiV08 = [{
|
|
|
5112
5112
|
}];
|
|
5113
5113
|
|
|
5114
5114
|
var yodlRouterAbiV09 = [{
|
|
5115
|
+
type: 'constructor',
|
|
5115
5116
|
inputs: [],
|
|
5116
|
-
stateMutability: 'nonpayable'
|
|
5117
|
-
type: 'constructor'
|
|
5118
|
-
}, {
|
|
5119
|
-
inputs: [],
|
|
5120
|
-
name: 'ECDSAInvalidSignature',
|
|
5121
|
-
type: 'error'
|
|
5122
|
-
}, {
|
|
5123
|
-
inputs: [{
|
|
5124
|
-
internalType: 'uint256',
|
|
5125
|
-
name: 'length',
|
|
5126
|
-
type: 'uint256'
|
|
5127
|
-
}],
|
|
5128
|
-
name: 'ECDSAInvalidSignatureLength',
|
|
5129
|
-
type: 'error'
|
|
5117
|
+
stateMutability: 'nonpayable'
|
|
5130
5118
|
}, {
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
name: 's',
|
|
5134
|
-
type: 'bytes32'
|
|
5135
|
-
}],
|
|
5136
|
-
name: 'ECDSAInvalidSignatureS',
|
|
5137
|
-
type: 'error'
|
|
5119
|
+
type: 'receive',
|
|
5120
|
+
stateMutability: 'payable'
|
|
5138
5121
|
}, {
|
|
5122
|
+
type: 'function',
|
|
5123
|
+
name: 'CHAINLINK_FEED',
|
|
5139
5124
|
inputs: [],
|
|
5140
|
-
|
|
5141
|
-
|
|
5142
|
-
|
|
5143
|
-
|
|
5144
|
-
inputs: [{
|
|
5145
|
-
indexed: true,
|
|
5146
|
-
internalType: 'address',
|
|
5147
|
-
name: 'priceFeed0',
|
|
5148
|
-
type: 'address'
|
|
5149
|
-
}, {
|
|
5150
|
-
indexed: true,
|
|
5151
|
-
internalType: 'address',
|
|
5152
|
-
name: 'priceFeed1',
|
|
5153
|
-
type: 'address'
|
|
5154
|
-
}, {
|
|
5155
|
-
indexed: false,
|
|
5156
|
-
internalType: 'int256',
|
|
5157
|
-
name: 'exchangeRate0',
|
|
5158
|
-
type: 'int256'
|
|
5159
|
-
}, {
|
|
5160
|
-
indexed: false,
|
|
5161
|
-
internalType: 'int256',
|
|
5162
|
-
name: 'exchangeRate1',
|
|
5163
|
-
type: 'int256'
|
|
5164
|
-
}],
|
|
5165
|
-
name: 'Convert',
|
|
5166
|
-
type: 'event'
|
|
5167
|
-
}, {
|
|
5168
|
-
anonymous: false,
|
|
5169
|
-
inputs: [{
|
|
5170
|
-
indexed: true,
|
|
5171
|
-
internalType: 'string',
|
|
5172
|
-
name: 'currency0',
|
|
5173
|
-
type: 'string'
|
|
5174
|
-
}, {
|
|
5175
|
-
indexed: true,
|
|
5176
|
-
internalType: 'address',
|
|
5177
|
-
name: 'priceFeed1',
|
|
5178
|
-
type: 'address'
|
|
5179
|
-
}, {
|
|
5180
|
-
indexed: false,
|
|
5181
|
-
internalType: 'int256',
|
|
5182
|
-
name: 'exchangeRate0',
|
|
5183
|
-
type: 'int256'
|
|
5184
|
-
}, {
|
|
5185
|
-
indexed: false,
|
|
5186
|
-
internalType: 'int256',
|
|
5187
|
-
name: 'exchangeRate1',
|
|
5188
|
-
type: 'int256'
|
|
5189
|
-
}],
|
|
5190
|
-
name: 'ConvertWithExternalRate',
|
|
5191
|
-
type: 'event'
|
|
5192
|
-
}, {
|
|
5193
|
-
anonymous: false,
|
|
5194
|
-
inputs: [{
|
|
5195
|
-
indexed: true,
|
|
5196
|
-
internalType: 'address',
|
|
5197
|
-
name: 'sender',
|
|
5198
|
-
type: 'address'
|
|
5199
|
-
}, {
|
|
5200
|
-
indexed: true,
|
|
5201
|
-
internalType: 'address',
|
|
5202
|
-
name: 'receiver',
|
|
5203
|
-
type: 'address'
|
|
5204
|
-
}, {
|
|
5205
|
-
indexed: false,
|
|
5206
|
-
internalType: 'address',
|
|
5207
|
-
name: 'token',
|
|
5208
|
-
type: 'address'
|
|
5209
|
-
}, {
|
|
5210
|
-
indexed: false,
|
|
5211
|
-
internalType: 'uint256',
|
|
5212
|
-
name: 'amount',
|
|
5213
|
-
type: 'uint256'
|
|
5214
|
-
}, {
|
|
5215
|
-
indexed: false,
|
|
5216
|
-
internalType: 'uint256',
|
|
5217
|
-
name: 'fees',
|
|
5218
|
-
type: 'uint256'
|
|
5219
|
-
}, {
|
|
5220
|
-
indexed: false,
|
|
5221
|
-
internalType: 'bytes32',
|
|
5222
|
-
name: 'memo',
|
|
5223
|
-
type: 'bytes32'
|
|
5224
|
-
}],
|
|
5225
|
-
name: 'Yodl',
|
|
5226
|
-
type: 'event'
|
|
5227
|
-
}, {
|
|
5228
|
-
anonymous: false,
|
|
5229
|
-
inputs: [{
|
|
5230
|
-
indexed: true,
|
|
5231
|
-
internalType: 'address',
|
|
5232
|
-
name: 'sender',
|
|
5233
|
-
type: 'address'
|
|
5234
|
-
}, {
|
|
5235
|
-
indexed: true,
|
|
5236
|
-
internalType: 'address',
|
|
5237
|
-
name: 'receiver',
|
|
5238
|
-
type: 'address'
|
|
5239
|
-
}, {
|
|
5240
|
-
indexed: true,
|
|
5241
|
-
internalType: 'uint256',
|
|
5242
|
-
name: 'amount',
|
|
5243
|
-
type: 'uint256'
|
|
5125
|
+
outputs: [{
|
|
5126
|
+
name: '',
|
|
5127
|
+
type: 'int8',
|
|
5128
|
+
internalType: 'int8'
|
|
5244
5129
|
}],
|
|
5245
|
-
|
|
5246
|
-
type: 'event'
|
|
5130
|
+
stateMutability: 'view'
|
|
5247
5131
|
}, {
|
|
5132
|
+
type: 'function',
|
|
5133
|
+
name: 'EXTERNAL_FEED',
|
|
5248
5134
|
inputs: [],
|
|
5249
|
-
name: 'CHAINLINK_FEED',
|
|
5250
5135
|
outputs: [{
|
|
5251
|
-
internalType: 'int8',
|
|
5252
5136
|
name: '',
|
|
5253
|
-
type: 'int8'
|
|
5137
|
+
type: 'int8',
|
|
5138
|
+
internalType: 'int8'
|
|
5254
5139
|
}],
|
|
5255
|
-
stateMutability: 'view'
|
|
5256
|
-
type: 'function'
|
|
5140
|
+
stateMutability: 'view'
|
|
5257
5141
|
}, {
|
|
5142
|
+
type: 'function',
|
|
5143
|
+
name: 'MAX_CONVENIENCE_FEE_BPS',
|
|
5258
5144
|
inputs: [],
|
|
5259
|
-
name: 'EXTERNAL_FEED',
|
|
5260
5145
|
outputs: [{
|
|
5261
|
-
internalType: 'int8',
|
|
5262
5146
|
name: '',
|
|
5263
|
-
type: '
|
|
5147
|
+
type: 'uint256',
|
|
5148
|
+
internalType: 'uint256'
|
|
5264
5149
|
}],
|
|
5265
|
-
stateMutability: 'view'
|
|
5266
|
-
type: 'function'
|
|
5150
|
+
stateMutability: 'view'
|
|
5267
5151
|
}, {
|
|
5268
|
-
|
|
5152
|
+
type: 'function',
|
|
5269
5153
|
name: 'MAX_EXTRA_FEE_BPS',
|
|
5154
|
+
inputs: [],
|
|
5270
5155
|
outputs: [{
|
|
5271
|
-
internalType: 'uint256',
|
|
5272
5156
|
name: '',
|
|
5273
|
-
type: 'uint256'
|
|
5157
|
+
type: 'uint256',
|
|
5158
|
+
internalType: 'uint256'
|
|
5274
5159
|
}],
|
|
5275
|
-
stateMutability: 'view'
|
|
5276
|
-
type: 'function'
|
|
5160
|
+
stateMutability: 'view'
|
|
5277
5161
|
}, {
|
|
5278
|
-
|
|
5162
|
+
type: 'function',
|
|
5279
5163
|
name: 'NATIVE_TOKEN',
|
|
5164
|
+
inputs: [],
|
|
5280
5165
|
outputs: [{
|
|
5281
|
-
internalType: 'address',
|
|
5282
5166
|
name: '',
|
|
5283
|
-
type: 'address'
|
|
5167
|
+
type: 'address',
|
|
5168
|
+
internalType: 'address'
|
|
5284
5169
|
}],
|
|
5285
|
-
stateMutability: 'view'
|
|
5286
|
-
type: 'function'
|
|
5170
|
+
stateMutability: 'view'
|
|
5287
5171
|
}, {
|
|
5288
|
-
|
|
5172
|
+
type: 'function',
|
|
5289
5173
|
name: 'NULL_FEED',
|
|
5174
|
+
inputs: [],
|
|
5290
5175
|
outputs: [{
|
|
5291
|
-
internalType: 'int8',
|
|
5292
5176
|
name: '',
|
|
5293
|
-
type: 'int8'
|
|
5177
|
+
type: 'int8',
|
|
5178
|
+
internalType: 'int8'
|
|
5294
5179
|
}],
|
|
5295
|
-
stateMutability: 'view'
|
|
5296
|
-
type: 'function'
|
|
5180
|
+
stateMutability: 'view'
|
|
5297
5181
|
}, {
|
|
5298
|
-
|
|
5182
|
+
type: 'function',
|
|
5299
5183
|
name: 'RATE_VERIFIER',
|
|
5184
|
+
inputs: [],
|
|
5300
5185
|
outputs: [{
|
|
5301
|
-
internalType: 'address',
|
|
5302
5186
|
name: '',
|
|
5303
|
-
type: 'address'
|
|
5187
|
+
type: 'address',
|
|
5188
|
+
internalType: 'address'
|
|
5304
5189
|
}],
|
|
5305
|
-
stateMutability: 'view'
|
|
5306
|
-
type: 'function'
|
|
5190
|
+
stateMutability: 'view'
|
|
5307
5191
|
}, {
|
|
5308
|
-
|
|
5192
|
+
type: 'function',
|
|
5309
5193
|
name: 'acrossSpokePool',
|
|
5194
|
+
inputs: [],
|
|
5310
5195
|
outputs: [{
|
|
5311
|
-
internalType: 'contract V3SpokePoolInterface',
|
|
5312
5196
|
name: '',
|
|
5313
|
-
type: 'address'
|
|
5197
|
+
type: 'address',
|
|
5198
|
+
internalType: 'contract V3SpokePoolInterface'
|
|
5314
5199
|
}],
|
|
5315
|
-
stateMutability: 'view'
|
|
5316
|
-
type: 'function'
|
|
5200
|
+
stateMutability: 'view'
|
|
5317
5201
|
}, {
|
|
5202
|
+
type: 'function',
|
|
5203
|
+
name: 'calculateFee',
|
|
5318
5204
|
inputs: [{
|
|
5319
|
-
internalType: 'uint256',
|
|
5320
5205
|
name: 'amount',
|
|
5321
|
-
type: 'uint256'
|
|
5206
|
+
type: 'uint256',
|
|
5207
|
+
internalType: 'uint256'
|
|
5322
5208
|
}, {
|
|
5323
|
-
internalType: 'uint256',
|
|
5324
5209
|
name: 'feeBps',
|
|
5325
|
-
type: 'uint256'
|
|
5210
|
+
type: 'uint256',
|
|
5211
|
+
internalType: 'uint256'
|
|
5326
5212
|
}],
|
|
5327
|
-
name: 'calculateFee',
|
|
5328
5213
|
outputs: [{
|
|
5329
|
-
internalType: 'uint256',
|
|
5330
5214
|
name: '',
|
|
5331
|
-
type: 'uint256'
|
|
5215
|
+
type: 'uint256',
|
|
5216
|
+
internalType: 'uint256'
|
|
5332
5217
|
}],
|
|
5333
|
-
stateMutability: 'pure'
|
|
5334
|
-
type: 'function'
|
|
5218
|
+
stateMutability: 'pure'
|
|
5335
5219
|
}, {
|
|
5336
|
-
|
|
5220
|
+
type: 'function',
|
|
5337
5221
|
name: 'curveRouter',
|
|
5222
|
+
inputs: [],
|
|
5338
5223
|
outputs: [{
|
|
5339
|
-
internalType: 'contract ICurveRouterNG',
|
|
5340
5224
|
name: '',
|
|
5341
|
-
type: 'address'
|
|
5225
|
+
type: 'address',
|
|
5226
|
+
internalType: 'contract ICurveRouterNG'
|
|
5342
5227
|
}],
|
|
5343
|
-
stateMutability: 'view'
|
|
5344
|
-
type: 'function'
|
|
5228
|
+
stateMutability: 'view'
|
|
5345
5229
|
}, {
|
|
5230
|
+
type: 'function',
|
|
5231
|
+
name: 'emitConversionEvent',
|
|
5346
5232
|
inputs: [{
|
|
5233
|
+
name: 'priceFeeds',
|
|
5234
|
+
type: 'tuple[2]',
|
|
5235
|
+
internalType: 'struct AbstractYodlRouter.PriceFeed[2]',
|
|
5347
5236
|
components: [{
|
|
5348
|
-
internalType: 'address',
|
|
5349
5237
|
name: 'feedAddress',
|
|
5350
|
-
type: 'address'
|
|
5238
|
+
type: 'address',
|
|
5239
|
+
internalType: 'address'
|
|
5351
5240
|
}, {
|
|
5352
|
-
internalType: 'int8',
|
|
5353
5241
|
name: 'feedType',
|
|
5354
|
-
type: 'int8'
|
|
5242
|
+
type: 'int8',
|
|
5243
|
+
internalType: 'int8'
|
|
5355
5244
|
}, {
|
|
5356
|
-
internalType: 'string',
|
|
5357
5245
|
name: 'currency',
|
|
5358
|
-
type: 'string'
|
|
5246
|
+
type: 'string',
|
|
5247
|
+
internalType: 'string'
|
|
5359
5248
|
}, {
|
|
5360
|
-
internalType: 'uint256',
|
|
5361
5249
|
name: 'amount',
|
|
5362
|
-
type: 'uint256'
|
|
5250
|
+
type: 'uint256',
|
|
5251
|
+
internalType: 'uint256'
|
|
5363
5252
|
}, {
|
|
5364
|
-
internalType: 'uint256',
|
|
5365
5253
|
name: 'deadline',
|
|
5366
|
-
type: 'uint256'
|
|
5254
|
+
type: 'uint256',
|
|
5255
|
+
internalType: 'uint256'
|
|
5367
5256
|
}, {
|
|
5368
|
-
internalType: 'bytes',
|
|
5369
5257
|
name: 'signature',
|
|
5370
|
-
type: 'bytes'
|
|
5371
|
-
|
|
5372
|
-
|
|
5373
|
-
name: 'priceFeeds',
|
|
5374
|
-
type: 'tuple[2]'
|
|
5258
|
+
type: 'bytes',
|
|
5259
|
+
internalType: 'bytes'
|
|
5260
|
+
}]
|
|
5375
5261
|
}, {
|
|
5376
|
-
internalType: 'int256[2]',
|
|
5377
5262
|
name: 'prices',
|
|
5378
|
-
type: 'int256[2]'
|
|
5263
|
+
type: 'int256[2]',
|
|
5264
|
+
internalType: 'int256[2]'
|
|
5379
5265
|
}],
|
|
5380
|
-
name: 'emitConversionEvent',
|
|
5381
5266
|
outputs: [],
|
|
5382
|
-
stateMutability: 'nonpayable'
|
|
5383
|
-
type: 'function'
|
|
5267
|
+
stateMutability: 'nonpayable'
|
|
5384
5268
|
}, {
|
|
5269
|
+
type: 'function',
|
|
5270
|
+
name: 'exchangeRate',
|
|
5385
5271
|
inputs: [{
|
|
5272
|
+
name: 'priceFeeds',
|
|
5273
|
+
type: 'tuple[2]',
|
|
5274
|
+
internalType: 'struct AbstractYodlRouter.PriceFeed[2]',
|
|
5386
5275
|
components: [{
|
|
5387
|
-
internalType: 'address',
|
|
5388
5276
|
name: 'feedAddress',
|
|
5389
|
-
type: 'address'
|
|
5277
|
+
type: 'address',
|
|
5278
|
+
internalType: 'address'
|
|
5390
5279
|
}, {
|
|
5391
|
-
internalType: 'int8',
|
|
5392
5280
|
name: 'feedType',
|
|
5393
|
-
type: 'int8'
|
|
5281
|
+
type: 'int8',
|
|
5282
|
+
internalType: 'int8'
|
|
5394
5283
|
}, {
|
|
5395
|
-
internalType: 'string',
|
|
5396
5284
|
name: 'currency',
|
|
5397
|
-
type: 'string'
|
|
5285
|
+
type: 'string',
|
|
5286
|
+
internalType: 'string'
|
|
5398
5287
|
}, {
|
|
5399
|
-
internalType: 'uint256',
|
|
5400
5288
|
name: 'amount',
|
|
5401
|
-
type: 'uint256'
|
|
5289
|
+
type: 'uint256',
|
|
5290
|
+
internalType: 'uint256'
|
|
5402
5291
|
}, {
|
|
5403
|
-
internalType: 'uint256',
|
|
5404
5292
|
name: 'deadline',
|
|
5405
|
-
type: 'uint256'
|
|
5293
|
+
type: 'uint256',
|
|
5294
|
+
internalType: 'uint256'
|
|
5406
5295
|
}, {
|
|
5407
|
-
internalType: 'bytes',
|
|
5408
5296
|
name: 'signature',
|
|
5409
|
-
type: 'bytes'
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
name: 'priceFeeds',
|
|
5413
|
-
type: 'tuple[2]'
|
|
5297
|
+
type: 'bytes',
|
|
5298
|
+
internalType: 'bytes'
|
|
5299
|
+
}]
|
|
5414
5300
|
}, {
|
|
5415
|
-
internalType: 'uint256',
|
|
5416
5301
|
name: 'amount',
|
|
5417
|
-
type: 'uint256'
|
|
5302
|
+
type: 'uint256',
|
|
5303
|
+
internalType: 'uint256'
|
|
5418
5304
|
}],
|
|
5419
|
-
name: 'exchangeRate',
|
|
5420
5305
|
outputs: [{
|
|
5421
|
-
internalType: 'uint256',
|
|
5422
5306
|
name: 'converted',
|
|
5423
|
-
type: 'uint256'
|
|
5307
|
+
type: 'uint256',
|
|
5308
|
+
internalType: 'uint256'
|
|
5424
5309
|
}, {
|
|
5425
|
-
internalType: 'address[2]',
|
|
5426
5310
|
name: 'priceFeedsUsed',
|
|
5427
|
-
type: 'address[2]'
|
|
5311
|
+
type: 'address[2]',
|
|
5312
|
+
internalType: 'address[2]'
|
|
5428
5313
|
}, {
|
|
5429
|
-
internalType: 'int256[2]',
|
|
5430
5314
|
name: 'prices',
|
|
5431
|
-
type: 'int256[2]'
|
|
5315
|
+
type: 'int256[2]',
|
|
5316
|
+
internalType: 'int256[2]'
|
|
5432
5317
|
}],
|
|
5433
|
-
stateMutability: 'view'
|
|
5434
|
-
type: 'function'
|
|
5318
|
+
stateMutability: 'view'
|
|
5435
5319
|
}, {
|
|
5320
|
+
type: 'function',
|
|
5321
|
+
name: 'sweep',
|
|
5436
5322
|
inputs: [{
|
|
5437
|
-
internalType: 'address',
|
|
5438
5323
|
name: 'token',
|
|
5439
|
-
type: 'address'
|
|
5324
|
+
type: 'address',
|
|
5325
|
+
internalType: 'address'
|
|
5440
5326
|
}],
|
|
5441
|
-
name: 'sweep',
|
|
5442
5327
|
outputs: [],
|
|
5443
|
-
stateMutability: 'nonpayable'
|
|
5444
|
-
type: 'function'
|
|
5328
|
+
stateMutability: 'nonpayable'
|
|
5445
5329
|
}, {
|
|
5446
|
-
|
|
5330
|
+
type: 'function',
|
|
5447
5331
|
name: 'uniswapRouter',
|
|
5332
|
+
inputs: [],
|
|
5448
5333
|
outputs: [{
|
|
5449
|
-
internalType: 'contract ISwapRouter02',
|
|
5450
5334
|
name: '',
|
|
5451
|
-
type: 'address'
|
|
5335
|
+
type: 'address',
|
|
5336
|
+
internalType: 'contract ISwapRouter02'
|
|
5452
5337
|
}],
|
|
5453
|
-
stateMutability: 'view'
|
|
5454
|
-
type: 'function'
|
|
5338
|
+
stateMutability: 'view'
|
|
5455
5339
|
}, {
|
|
5340
|
+
type: 'function',
|
|
5341
|
+
name: 'verifyRateSignature',
|
|
5456
5342
|
inputs: [{
|
|
5343
|
+
name: 'priceFeed',
|
|
5344
|
+
type: 'tuple',
|
|
5345
|
+
internalType: 'struct AbstractYodlRouter.PriceFeed',
|
|
5457
5346
|
components: [{
|
|
5458
|
-
internalType: 'address',
|
|
5459
5347
|
name: 'feedAddress',
|
|
5460
|
-
type: 'address'
|
|
5348
|
+
type: 'address',
|
|
5349
|
+
internalType: 'address'
|
|
5461
5350
|
}, {
|
|
5462
|
-
internalType: 'int8',
|
|
5463
5351
|
name: 'feedType',
|
|
5464
|
-
type: 'int8'
|
|
5352
|
+
type: 'int8',
|
|
5353
|
+
internalType: 'int8'
|
|
5465
5354
|
}, {
|
|
5466
|
-
internalType: 'string',
|
|
5467
5355
|
name: 'currency',
|
|
5468
|
-
type: 'string'
|
|
5356
|
+
type: 'string',
|
|
5357
|
+
internalType: 'string'
|
|
5469
5358
|
}, {
|
|
5470
|
-
internalType: 'uint256',
|
|
5471
5359
|
name: 'amount',
|
|
5472
|
-
type: 'uint256'
|
|
5360
|
+
type: 'uint256',
|
|
5361
|
+
internalType: 'uint256'
|
|
5473
5362
|
}, {
|
|
5474
|
-
internalType: 'uint256',
|
|
5475
5363
|
name: 'deadline',
|
|
5476
|
-
type: 'uint256'
|
|
5364
|
+
type: 'uint256',
|
|
5365
|
+
internalType: 'uint256'
|
|
5477
5366
|
}, {
|
|
5478
|
-
internalType: 'bytes',
|
|
5479
5367
|
name: 'signature',
|
|
5480
|
-
type: 'bytes'
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
name: 'priceFeed',
|
|
5484
|
-
type: 'tuple'
|
|
5368
|
+
type: 'bytes',
|
|
5369
|
+
internalType: 'bytes'
|
|
5370
|
+
}]
|
|
5485
5371
|
}],
|
|
5486
|
-
name: 'verifyRateSignature',
|
|
5487
5372
|
outputs: [{
|
|
5488
|
-
internalType: 'bool',
|
|
5489
5373
|
name: '',
|
|
5490
|
-
type: 'bool'
|
|
5374
|
+
type: 'bool',
|
|
5375
|
+
internalType: 'bool'
|
|
5491
5376
|
}],
|
|
5492
|
-
stateMutability: 'view'
|
|
5493
|
-
type: 'function'
|
|
5377
|
+
stateMutability: 'view'
|
|
5494
5378
|
}, {
|
|
5495
|
-
|
|
5379
|
+
type: 'function',
|
|
5496
5380
|
name: 'version',
|
|
5381
|
+
inputs: [],
|
|
5497
5382
|
outputs: [{
|
|
5498
|
-
internalType: 'string',
|
|
5499
5383
|
name: '',
|
|
5500
|
-
type: 'string'
|
|
5384
|
+
type: 'string',
|
|
5385
|
+
internalType: 'string'
|
|
5501
5386
|
}],
|
|
5502
|
-
stateMutability: 'view'
|
|
5503
|
-
type: 'function'
|
|
5387
|
+
stateMutability: 'view'
|
|
5504
5388
|
}, {
|
|
5505
|
-
|
|
5389
|
+
type: 'function',
|
|
5506
5390
|
name: 'wrappedNativeToken',
|
|
5391
|
+
inputs: [],
|
|
5507
5392
|
outputs: [{
|
|
5508
|
-
internalType: 'contract IWETH9',
|
|
5509
5393
|
name: '',
|
|
5510
|
-
type: 'address'
|
|
5394
|
+
type: 'address',
|
|
5395
|
+
internalType: 'contract IWETH9'
|
|
5511
5396
|
}],
|
|
5512
|
-
stateMutability: 'view'
|
|
5513
|
-
type: 'function'
|
|
5397
|
+
stateMutability: 'view'
|
|
5514
5398
|
}, {
|
|
5515
|
-
|
|
5399
|
+
type: 'function',
|
|
5516
5400
|
name: 'yodlFeeBps',
|
|
5401
|
+
inputs: [],
|
|
5517
5402
|
outputs: [{
|
|
5518
|
-
internalType: 'uint256',
|
|
5519
5403
|
name: '',
|
|
5520
|
-
type: 'uint256'
|
|
5404
|
+
type: 'uint256',
|
|
5405
|
+
internalType: 'uint256'
|
|
5521
5406
|
}],
|
|
5522
|
-
stateMutability: 'view'
|
|
5523
|
-
type: 'function'
|
|
5407
|
+
stateMutability: 'view'
|
|
5524
5408
|
}, {
|
|
5525
|
-
|
|
5409
|
+
type: 'function',
|
|
5526
5410
|
name: 'yodlFeeTreasury',
|
|
5411
|
+
inputs: [],
|
|
5527
5412
|
outputs: [{
|
|
5528
|
-
internalType: 'address',
|
|
5529
5413
|
name: '',
|
|
5530
|
-
type: 'address'
|
|
5414
|
+
type: 'address',
|
|
5415
|
+
internalType: 'address'
|
|
5531
5416
|
}],
|
|
5532
|
-
stateMutability: 'view'
|
|
5533
|
-
type: 'function'
|
|
5417
|
+
stateMutability: 'view'
|
|
5534
5418
|
}, {
|
|
5419
|
+
type: 'function',
|
|
5420
|
+
name: 'yodlWithAcross',
|
|
5535
5421
|
inputs: [{
|
|
5422
|
+
name: 'params',
|
|
5423
|
+
type: 'tuple',
|
|
5424
|
+
internalType: 'struct YodlAcrossRouter.YodlAcrossParams',
|
|
5536
5425
|
components: [{
|
|
5537
|
-
internalType: 'bytes32',
|
|
5538
5426
|
name: 'memo',
|
|
5539
|
-
type: 'bytes32'
|
|
5427
|
+
type: 'bytes32',
|
|
5428
|
+
internalType: 'bytes32'
|
|
5540
5429
|
}, {
|
|
5541
|
-
internalType: 'uint256',
|
|
5542
5430
|
name: 'amount',
|
|
5543
|
-
type: 'uint256'
|
|
5431
|
+
type: 'uint256',
|
|
5432
|
+
internalType: 'uint256'
|
|
5544
5433
|
}, {
|
|
5434
|
+
name: 'priceFeeds',
|
|
5435
|
+
type: 'tuple[2]',
|
|
5436
|
+
internalType: 'struct AbstractYodlRouter.PriceFeed[2]',
|
|
5545
5437
|
components: [{
|
|
5546
|
-
internalType: 'address',
|
|
5547
5438
|
name: 'feedAddress',
|
|
5548
|
-
type: 'address'
|
|
5439
|
+
type: 'address',
|
|
5440
|
+
internalType: 'address'
|
|
5549
5441
|
}, {
|
|
5550
|
-
internalType: 'int8',
|
|
5551
5442
|
name: 'feedType',
|
|
5552
|
-
type: 'int8'
|
|
5443
|
+
type: 'int8',
|
|
5444
|
+
internalType: 'int8'
|
|
5553
5445
|
}, {
|
|
5554
|
-
internalType: 'string',
|
|
5555
5446
|
name: 'currency',
|
|
5556
|
-
type: 'string'
|
|
5447
|
+
type: 'string',
|
|
5448
|
+
internalType: 'string'
|
|
5557
5449
|
}, {
|
|
5558
|
-
internalType: 'uint256',
|
|
5559
5450
|
name: 'amount',
|
|
5560
|
-
type: 'uint256'
|
|
5451
|
+
type: 'uint256',
|
|
5452
|
+
internalType: 'uint256'
|
|
5561
5453
|
}, {
|
|
5562
|
-
internalType: 'uint256',
|
|
5563
5454
|
name: 'deadline',
|
|
5564
|
-
type: 'uint256'
|
|
5455
|
+
type: 'uint256',
|
|
5456
|
+
internalType: 'uint256'
|
|
5565
5457
|
}, {
|
|
5566
|
-
internalType: 'bytes',
|
|
5567
5458
|
name: 'signature',
|
|
5568
|
-
type: 'bytes'
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
name: 'priceFeeds',
|
|
5572
|
-
type: 'tuple[2]'
|
|
5459
|
+
type: 'bytes',
|
|
5460
|
+
internalType: 'bytes'
|
|
5461
|
+
}]
|
|
5573
5462
|
}, {
|
|
5574
|
-
internalType: 'address',
|
|
5575
5463
|
name: 'token',
|
|
5576
|
-
type: 'address'
|
|
5464
|
+
type: 'address',
|
|
5465
|
+
internalType: 'address'
|
|
5577
5466
|
}, {
|
|
5578
|
-
internalType: 'address',
|
|
5579
5467
|
name: 'receiver',
|
|
5580
|
-
type: 'address'
|
|
5468
|
+
type: 'address',
|
|
5469
|
+
internalType: 'address'
|
|
5581
5470
|
}, {
|
|
5582
|
-
internalType: 'address',
|
|
5583
5471
|
name: 'extraFeeReceiver',
|
|
5584
|
-
type: 'address'
|
|
5472
|
+
type: 'address',
|
|
5473
|
+
internalType: 'address'
|
|
5585
5474
|
}, {
|
|
5586
|
-
internalType: 'uint256',
|
|
5587
5475
|
name: 'extraFeeBps',
|
|
5588
|
-
type: 'uint256'
|
|
5476
|
+
type: 'uint256',
|
|
5477
|
+
internalType: 'uint256'
|
|
5589
5478
|
}, {
|
|
5590
|
-
internalType: 'uint256',
|
|
5591
5479
|
name: 'yd',
|
|
5592
|
-
type: 'uint256'
|
|
5480
|
+
type: 'uint256',
|
|
5481
|
+
internalType: 'uint256'
|
|
5593
5482
|
}, {
|
|
5483
|
+
name: 'guards',
|
|
5484
|
+
type: 'tuple[]',
|
|
5485
|
+
internalType: 'struct AbstractYodlRouter.Guard[]',
|
|
5594
5486
|
components: [{
|
|
5595
|
-
internalType: 'address',
|
|
5596
5487
|
name: 'guardAddress',
|
|
5597
|
-
type: 'address'
|
|
5488
|
+
type: 'address',
|
|
5489
|
+
internalType: 'address'
|
|
5598
5490
|
}, {
|
|
5599
|
-
internalType: 'bytes[]',
|
|
5600
5491
|
name: 'payload',
|
|
5601
|
-
type: 'bytes[]'
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
name: 'guards',
|
|
5605
|
-
type: 'tuple[]'
|
|
5492
|
+
type: 'bytes[]',
|
|
5493
|
+
internalType: 'bytes[]'
|
|
5494
|
+
}]
|
|
5606
5495
|
}, {
|
|
5496
|
+
name: 'webhooks',
|
|
5497
|
+
type: 'tuple[]',
|
|
5498
|
+
internalType: 'struct AbstractYodlRouter.Webhook[]',
|
|
5607
5499
|
components: [{
|
|
5608
|
-
internalType: 'address',
|
|
5609
5500
|
name: 'webhookAddress',
|
|
5610
|
-
type: 'address'
|
|
5501
|
+
type: 'address',
|
|
5502
|
+
internalType: 'address'
|
|
5611
5503
|
}, {
|
|
5612
|
-
internalType: 'bytes[]',
|
|
5613
5504
|
name: 'payload',
|
|
5614
|
-
type: 'bytes[]'
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
name: 'webhooks',
|
|
5618
|
-
type: 'tuple[]'
|
|
5505
|
+
type: 'bytes[]',
|
|
5506
|
+
internalType: 'bytes[]'
|
|
5507
|
+
}]
|
|
5619
5508
|
}, {
|
|
5620
|
-
internalType: 'address',
|
|
5621
5509
|
name: 'outputToken',
|
|
5622
|
-
type: 'address'
|
|
5510
|
+
type: 'address',
|
|
5511
|
+
internalType: 'address'
|
|
5623
5512
|
}, {
|
|
5624
|
-
internalType: 'uint256',
|
|
5625
5513
|
name: 'outputAmount',
|
|
5626
|
-
type: 'uint256'
|
|
5514
|
+
type: 'uint256',
|
|
5515
|
+
internalType: 'uint256'
|
|
5627
5516
|
}, {
|
|
5628
|
-
internalType: 'uint256',
|
|
5629
5517
|
name: 'destinationChainId',
|
|
5630
|
-
type: 'uint256'
|
|
5518
|
+
type: 'uint256',
|
|
5519
|
+
internalType: 'uint256'
|
|
5631
5520
|
}, {
|
|
5632
|
-
internalType: 'address',
|
|
5633
5521
|
name: 'exclusiveRelayer',
|
|
5634
|
-
type: 'address'
|
|
5522
|
+
type: 'address',
|
|
5523
|
+
internalType: 'address'
|
|
5635
5524
|
}, {
|
|
5636
|
-
internalType: 'uint32',
|
|
5637
5525
|
name: 'quoteTimestamp',
|
|
5638
|
-
type: 'uint32'
|
|
5526
|
+
type: 'uint32',
|
|
5527
|
+
internalType: 'uint32'
|
|
5639
5528
|
}, {
|
|
5640
|
-
internalType: 'uint32',
|
|
5641
5529
|
name: 'fillDeadline',
|
|
5642
|
-
type: 'uint32'
|
|
5530
|
+
type: 'uint32',
|
|
5531
|
+
internalType: 'uint32'
|
|
5643
5532
|
}, {
|
|
5644
|
-
internalType: 'uint32',
|
|
5645
5533
|
name: 'exclusivityDeadline',
|
|
5646
|
-
type: 'uint32'
|
|
5534
|
+
type: 'uint32',
|
|
5535
|
+
internalType: 'uint32'
|
|
5647
5536
|
}, {
|
|
5648
|
-
internalType: 'bytes',
|
|
5649
5537
|
name: 'message',
|
|
5650
|
-
type: 'bytes'
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
name: 'params',
|
|
5654
|
-
type: 'tuple'
|
|
5538
|
+
type: 'bytes',
|
|
5539
|
+
internalType: 'bytes'
|
|
5540
|
+
}]
|
|
5655
5541
|
}],
|
|
5656
|
-
name: 'yodlWithAcross',
|
|
5657
5542
|
outputs: [{
|
|
5658
|
-
internalType: 'uint256',
|
|
5659
5543
|
name: '',
|
|
5660
|
-
type: 'uint256'
|
|
5544
|
+
type: 'uint256',
|
|
5545
|
+
internalType: 'uint256'
|
|
5661
5546
|
}],
|
|
5662
|
-
stateMutability: 'payable'
|
|
5663
|
-
type: 'function'
|
|
5547
|
+
stateMutability: 'payable'
|
|
5664
5548
|
}, {
|
|
5549
|
+
type: 'function',
|
|
5550
|
+
name: 'yodlWithCurve',
|
|
5665
5551
|
inputs: [{
|
|
5552
|
+
name: 'params',
|
|
5553
|
+
type: 'tuple',
|
|
5554
|
+
internalType: 'struct YodlCurveRouter.YodlCurveParams',
|
|
5666
5555
|
components: [{
|
|
5667
|
-
internalType: 'address',
|
|
5668
5556
|
name: 'sender',
|
|
5669
|
-
type: 'address'
|
|
5557
|
+
type: 'address',
|
|
5558
|
+
internalType: 'address'
|
|
5670
5559
|
}, {
|
|
5671
|
-
internalType: 'address',
|
|
5672
5560
|
name: 'receiver',
|
|
5673
|
-
type: 'address'
|
|
5561
|
+
type: 'address',
|
|
5562
|
+
internalType: 'address'
|
|
5674
5563
|
}, {
|
|
5675
|
-
internalType: 'uint256',
|
|
5676
5564
|
name: 'amountIn',
|
|
5677
|
-
type: 'uint256'
|
|
5565
|
+
type: 'uint256',
|
|
5566
|
+
internalType: 'uint256'
|
|
5678
5567
|
}, {
|
|
5679
|
-
internalType: 'uint256',
|
|
5680
5568
|
name: 'amountOut',
|
|
5681
|
-
type: 'uint256'
|
|
5569
|
+
type: 'uint256',
|
|
5570
|
+
internalType: 'uint256'
|
|
5682
5571
|
}, {
|
|
5683
|
-
internalType: 'bytes32',
|
|
5684
5572
|
name: 'memo',
|
|
5685
|
-
type: 'bytes32'
|
|
5573
|
+
type: 'bytes32',
|
|
5574
|
+
internalType: 'bytes32'
|
|
5686
5575
|
}, {
|
|
5687
|
-
internalType: 'address[11]',
|
|
5688
5576
|
name: 'route',
|
|
5689
|
-
type: 'address[11]'
|
|
5577
|
+
type: 'address[11]',
|
|
5578
|
+
internalType: 'address[11]'
|
|
5690
5579
|
}, {
|
|
5691
|
-
internalType: 'uint256[5][5]',
|
|
5692
5580
|
name: 'swapParams',
|
|
5693
|
-
type: 'uint256[5][5]'
|
|
5581
|
+
type: 'uint256[5][5]',
|
|
5582
|
+
internalType: 'uint256[5][5]'
|
|
5694
5583
|
}, {
|
|
5695
|
-
internalType: 'address[5]',
|
|
5696
5584
|
name: 'pools',
|
|
5697
|
-
type: 'address[5]'
|
|
5585
|
+
type: 'address[5]',
|
|
5586
|
+
internalType: 'address[5]'
|
|
5698
5587
|
}, {
|
|
5588
|
+
name: 'priceFeeds',
|
|
5589
|
+
type: 'tuple[2]',
|
|
5590
|
+
internalType: 'struct AbstractYodlRouter.PriceFeed[2]',
|
|
5699
5591
|
components: [{
|
|
5700
|
-
internalType: 'address',
|
|
5701
5592
|
name: 'feedAddress',
|
|
5702
|
-
type: 'address'
|
|
5593
|
+
type: 'address',
|
|
5594
|
+
internalType: 'address'
|
|
5703
5595
|
}, {
|
|
5704
|
-
internalType: 'int8',
|
|
5705
5596
|
name: 'feedType',
|
|
5706
|
-
type: 'int8'
|
|
5597
|
+
type: 'int8',
|
|
5598
|
+
internalType: 'int8'
|
|
5707
5599
|
}, {
|
|
5708
|
-
internalType: 'string',
|
|
5709
5600
|
name: 'currency',
|
|
5710
|
-
type: 'string'
|
|
5601
|
+
type: 'string',
|
|
5602
|
+
internalType: 'string'
|
|
5711
5603
|
}, {
|
|
5712
|
-
internalType: 'uint256',
|
|
5713
5604
|
name: 'amount',
|
|
5714
|
-
type: 'uint256'
|
|
5605
|
+
type: 'uint256',
|
|
5606
|
+
internalType: 'uint256'
|
|
5715
5607
|
}, {
|
|
5716
|
-
internalType: 'uint256',
|
|
5717
5608
|
name: 'deadline',
|
|
5718
|
-
type: 'uint256'
|
|
5609
|
+
type: 'uint256',
|
|
5610
|
+
internalType: 'uint256'
|
|
5719
5611
|
}, {
|
|
5720
|
-
internalType: 'bytes',
|
|
5721
5612
|
name: 'signature',
|
|
5722
|
-
type: 'bytes'
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
name: 'priceFeeds',
|
|
5726
|
-
type: 'tuple[2]'
|
|
5613
|
+
type: 'bytes',
|
|
5614
|
+
internalType: 'bytes'
|
|
5615
|
+
}]
|
|
5727
5616
|
}, {
|
|
5728
|
-
internalType: 'address',
|
|
5729
5617
|
name: 'extraFeeReceiver',
|
|
5730
|
-
type: 'address'
|
|
5618
|
+
type: 'address',
|
|
5619
|
+
internalType: 'address'
|
|
5731
5620
|
}, {
|
|
5732
|
-
internalType: 'uint256',
|
|
5733
5621
|
name: 'extraFeeBps',
|
|
5734
|
-
type: 'uint256'
|
|
5622
|
+
type: 'uint256',
|
|
5623
|
+
internalType: 'uint256'
|
|
5735
5624
|
}, {
|
|
5736
|
-
internalType: 'uint256',
|
|
5737
5625
|
name: 'yd',
|
|
5738
|
-
type: 'uint256'
|
|
5626
|
+
type: 'uint256',
|
|
5627
|
+
internalType: 'uint256'
|
|
5739
5628
|
}, {
|
|
5629
|
+
name: 'guards',
|
|
5630
|
+
type: 'tuple[]',
|
|
5631
|
+
internalType: 'struct AbstractYodlRouter.Guard[]',
|
|
5740
5632
|
components: [{
|
|
5741
|
-
internalType: 'address',
|
|
5742
5633
|
name: 'guardAddress',
|
|
5743
|
-
type: 'address'
|
|
5634
|
+
type: 'address',
|
|
5635
|
+
internalType: 'address'
|
|
5744
5636
|
}, {
|
|
5745
|
-
internalType: 'bytes[]',
|
|
5746
5637
|
name: 'payload',
|
|
5747
|
-
type: 'bytes[]'
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
name: 'guards',
|
|
5751
|
-
type: 'tuple[]'
|
|
5638
|
+
type: 'bytes[]',
|
|
5639
|
+
internalType: 'bytes[]'
|
|
5640
|
+
}]
|
|
5752
5641
|
}, {
|
|
5642
|
+
name: 'webhooks',
|
|
5643
|
+
type: 'tuple[]',
|
|
5644
|
+
internalType: 'struct AbstractYodlRouter.Webhook[]',
|
|
5753
5645
|
components: [{
|
|
5754
|
-
internalType: 'address',
|
|
5755
5646
|
name: 'webhookAddress',
|
|
5756
|
-
type: 'address'
|
|
5647
|
+
type: 'address',
|
|
5648
|
+
internalType: 'address'
|
|
5757
5649
|
}, {
|
|
5758
|
-
internalType: 'bytes[]',
|
|
5759
5650
|
name: 'payload',
|
|
5760
|
-
type: 'bytes[]'
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5651
|
+
type: 'bytes[]',
|
|
5652
|
+
internalType: 'bytes[]'
|
|
5653
|
+
}]
|
|
5654
|
+
}]
|
|
5655
|
+
}],
|
|
5656
|
+
outputs: [{
|
|
5657
|
+
name: '',
|
|
5658
|
+
type: 'uint256',
|
|
5659
|
+
internalType: 'uint256'
|
|
5660
|
+
}],
|
|
5661
|
+
stateMutability: 'payable'
|
|
5662
|
+
}, {
|
|
5663
|
+
type: 'function',
|
|
5664
|
+
name: 'yodlWithExternal',
|
|
5665
|
+
inputs: [{
|
|
5767
5666
|
name: 'params',
|
|
5768
|
-
type: 'tuple'
|
|
5667
|
+
type: 'tuple',
|
|
5668
|
+
internalType: 'struct YodlExternalFundingRouter.YodlExternalFundingParams',
|
|
5669
|
+
components: [{
|
|
5670
|
+
name: 'memo',
|
|
5671
|
+
type: 'bytes32',
|
|
5672
|
+
internalType: 'bytes32'
|
|
5673
|
+
}, {
|
|
5674
|
+
name: 'outAmountGross',
|
|
5675
|
+
type: 'uint256',
|
|
5676
|
+
internalType: 'uint256'
|
|
5677
|
+
}, {
|
|
5678
|
+
name: 'invoiceAmount',
|
|
5679
|
+
type: 'uint256',
|
|
5680
|
+
internalType: 'uint256'
|
|
5681
|
+
}, {
|
|
5682
|
+
name: 'priceFeeds',
|
|
5683
|
+
type: 'tuple[2]',
|
|
5684
|
+
internalType: 'struct AbstractYodlRouter.PriceFeed[2]',
|
|
5685
|
+
components: [{
|
|
5686
|
+
name: 'feedAddress',
|
|
5687
|
+
type: 'address',
|
|
5688
|
+
internalType: 'address'
|
|
5689
|
+
}, {
|
|
5690
|
+
name: 'feedType',
|
|
5691
|
+
type: 'int8',
|
|
5692
|
+
internalType: 'int8'
|
|
5693
|
+
}, {
|
|
5694
|
+
name: 'currency',
|
|
5695
|
+
type: 'string',
|
|
5696
|
+
internalType: 'string'
|
|
5697
|
+
}, {
|
|
5698
|
+
name: 'amount',
|
|
5699
|
+
type: 'uint256',
|
|
5700
|
+
internalType: 'uint256'
|
|
5701
|
+
}, {
|
|
5702
|
+
name: 'deadline',
|
|
5703
|
+
type: 'uint256',
|
|
5704
|
+
internalType: 'uint256'
|
|
5705
|
+
}, {
|
|
5706
|
+
name: 'signature',
|
|
5707
|
+
type: 'bytes',
|
|
5708
|
+
internalType: 'bytes'
|
|
5709
|
+
}]
|
|
5710
|
+
}, {
|
|
5711
|
+
name: 'token',
|
|
5712
|
+
type: 'address',
|
|
5713
|
+
internalType: 'address'
|
|
5714
|
+
}, {
|
|
5715
|
+
name: 'receiver',
|
|
5716
|
+
type: 'address',
|
|
5717
|
+
internalType: 'address'
|
|
5718
|
+
}, {
|
|
5719
|
+
name: 'extraFeeReceiver',
|
|
5720
|
+
type: 'address',
|
|
5721
|
+
internalType: 'address'
|
|
5722
|
+
}, {
|
|
5723
|
+
name: 'extraFeeBps',
|
|
5724
|
+
type: 'uint256',
|
|
5725
|
+
internalType: 'uint256'
|
|
5726
|
+
}, {
|
|
5727
|
+
name: 'yd',
|
|
5728
|
+
type: 'uint256',
|
|
5729
|
+
internalType: 'uint256'
|
|
5730
|
+
}, {
|
|
5731
|
+
name: 'guards',
|
|
5732
|
+
type: 'tuple[]',
|
|
5733
|
+
internalType: 'struct AbstractYodlRouter.Guard[]',
|
|
5734
|
+
components: [{
|
|
5735
|
+
name: 'guardAddress',
|
|
5736
|
+
type: 'address',
|
|
5737
|
+
internalType: 'address'
|
|
5738
|
+
}, {
|
|
5739
|
+
name: 'payload',
|
|
5740
|
+
type: 'bytes[]',
|
|
5741
|
+
internalType: 'bytes[]'
|
|
5742
|
+
}]
|
|
5743
|
+
}, {
|
|
5744
|
+
name: 'webhooks',
|
|
5745
|
+
type: 'tuple[]',
|
|
5746
|
+
internalType: 'struct AbstractYodlRouter.Webhook[]',
|
|
5747
|
+
components: [{
|
|
5748
|
+
name: 'webhookAddress',
|
|
5749
|
+
type: 'address',
|
|
5750
|
+
internalType: 'address'
|
|
5751
|
+
}, {
|
|
5752
|
+
name: 'payload',
|
|
5753
|
+
type: 'bytes[]',
|
|
5754
|
+
internalType: 'bytes[]'
|
|
5755
|
+
}]
|
|
5756
|
+
}, {
|
|
5757
|
+
name: 'convenienceFeeBps',
|
|
5758
|
+
type: 'uint256',
|
|
5759
|
+
internalType: 'uint256'
|
|
5760
|
+
}]
|
|
5769
5761
|
}],
|
|
5770
|
-
name: 'yodlWithCurve',
|
|
5771
5762
|
outputs: [{
|
|
5772
|
-
internalType: 'uint256',
|
|
5773
5763
|
name: '',
|
|
5774
|
-
type: 'uint256'
|
|
5764
|
+
type: 'uint256',
|
|
5765
|
+
internalType: 'uint256'
|
|
5775
5766
|
}],
|
|
5776
|
-
stateMutability: 'payable'
|
|
5777
|
-
type: 'function'
|
|
5767
|
+
stateMutability: 'payable'
|
|
5778
5768
|
}, {
|
|
5769
|
+
type: 'function',
|
|
5770
|
+
name: 'yodlWithPancake',
|
|
5779
5771
|
inputs: [{
|
|
5772
|
+
name: 'params',
|
|
5773
|
+
type: 'tuple',
|
|
5774
|
+
internalType: 'struct YodlUniswapRouter.YodlUniswapParams',
|
|
5780
5775
|
components: [{
|
|
5781
|
-
|
|
5776
|
+
name: 'sender',
|
|
5777
|
+
type: 'address',
|
|
5778
|
+
internalType: 'address'
|
|
5779
|
+
}, {
|
|
5780
|
+
name: 'receiver',
|
|
5781
|
+
type: 'address',
|
|
5782
|
+
internalType: 'address'
|
|
5783
|
+
}, {
|
|
5784
|
+
name: 'amountIn',
|
|
5785
|
+
type: 'uint256',
|
|
5786
|
+
internalType: 'uint256'
|
|
5787
|
+
}, {
|
|
5788
|
+
name: 'amountOut',
|
|
5789
|
+
type: 'uint256',
|
|
5790
|
+
internalType: 'uint256'
|
|
5791
|
+
}, {
|
|
5782
5792
|
name: 'memo',
|
|
5783
|
-
type: 'bytes32'
|
|
5793
|
+
type: 'bytes32',
|
|
5794
|
+
internalType: 'bytes32'
|
|
5784
5795
|
}, {
|
|
5785
|
-
|
|
5786
|
-
|
|
5787
|
-
|
|
5796
|
+
name: 'path',
|
|
5797
|
+
type: 'bytes',
|
|
5798
|
+
internalType: 'bytes'
|
|
5788
5799
|
}, {
|
|
5800
|
+
name: 'priceFeeds',
|
|
5801
|
+
type: 'tuple[2]',
|
|
5802
|
+
internalType: 'struct AbstractYodlRouter.PriceFeed[2]',
|
|
5789
5803
|
components: [{
|
|
5790
|
-
internalType: 'address',
|
|
5791
5804
|
name: 'feedAddress',
|
|
5792
|
-
type: 'address'
|
|
5805
|
+
type: 'address',
|
|
5806
|
+
internalType: 'address'
|
|
5793
5807
|
}, {
|
|
5794
|
-
internalType: 'int8',
|
|
5795
5808
|
name: 'feedType',
|
|
5796
|
-
type: 'int8'
|
|
5809
|
+
type: 'int8',
|
|
5810
|
+
internalType: 'int8'
|
|
5797
5811
|
}, {
|
|
5798
|
-
internalType: 'string',
|
|
5799
5812
|
name: 'currency',
|
|
5800
|
-
type: 'string'
|
|
5813
|
+
type: 'string',
|
|
5814
|
+
internalType: 'string'
|
|
5801
5815
|
}, {
|
|
5802
|
-
internalType: 'uint256',
|
|
5803
5816
|
name: 'amount',
|
|
5804
|
-
type: 'uint256'
|
|
5817
|
+
type: 'uint256',
|
|
5818
|
+
internalType: 'uint256'
|
|
5805
5819
|
}, {
|
|
5806
|
-
internalType: 'uint256',
|
|
5807
5820
|
name: 'deadline',
|
|
5808
|
-
type: 'uint256'
|
|
5821
|
+
type: 'uint256',
|
|
5822
|
+
internalType: 'uint256'
|
|
5809
5823
|
}, {
|
|
5810
|
-
internalType: 'bytes',
|
|
5811
5824
|
name: 'signature',
|
|
5812
|
-
type: 'bytes'
|
|
5813
|
-
|
|
5814
|
-
|
|
5815
|
-
name: 'priceFeeds',
|
|
5816
|
-
type: 'tuple[2]'
|
|
5817
|
-
}, {
|
|
5818
|
-
internalType: 'address',
|
|
5819
|
-
name: 'token',
|
|
5820
|
-
type: 'address'
|
|
5821
|
-
}, {
|
|
5822
|
-
internalType: 'address',
|
|
5823
|
-
name: 'receiver',
|
|
5824
|
-
type: 'address'
|
|
5825
|
+
type: 'bytes',
|
|
5826
|
+
internalType: 'bytes'
|
|
5827
|
+
}]
|
|
5825
5828
|
}, {
|
|
5826
|
-
internalType: 'address',
|
|
5827
5829
|
name: 'extraFeeReceiver',
|
|
5828
|
-
type: 'address'
|
|
5830
|
+
type: 'address',
|
|
5831
|
+
internalType: 'address'
|
|
5829
5832
|
}, {
|
|
5830
|
-
internalType: 'uint256',
|
|
5831
5833
|
name: 'extraFeeBps',
|
|
5832
|
-
type: 'uint256'
|
|
5834
|
+
type: 'uint256',
|
|
5835
|
+
internalType: 'uint256'
|
|
5836
|
+
}, {
|
|
5837
|
+
name: 'swapType',
|
|
5838
|
+
type: 'uint8',
|
|
5839
|
+
internalType: 'enum YodlUniswapRouter.SwapType'
|
|
5833
5840
|
}, {
|
|
5834
|
-
internalType: 'uint256',
|
|
5835
5841
|
name: 'yd',
|
|
5836
|
-
type: 'uint256'
|
|
5842
|
+
type: 'uint256',
|
|
5843
|
+
internalType: 'uint256'
|
|
5837
5844
|
}, {
|
|
5845
|
+
name: 'guards',
|
|
5846
|
+
type: 'tuple[]',
|
|
5847
|
+
internalType: 'struct AbstractYodlRouter.Guard[]',
|
|
5838
5848
|
components: [{
|
|
5839
|
-
internalType: 'address',
|
|
5840
5849
|
name: 'guardAddress',
|
|
5841
|
-
type: 'address'
|
|
5850
|
+
type: 'address',
|
|
5851
|
+
internalType: 'address'
|
|
5842
5852
|
}, {
|
|
5843
|
-
internalType: 'bytes[]',
|
|
5844
5853
|
name: 'payload',
|
|
5845
|
-
type: 'bytes[]'
|
|
5846
|
-
|
|
5847
|
-
|
|
5848
|
-
name: 'guards',
|
|
5849
|
-
type: 'tuple[]'
|
|
5854
|
+
type: 'bytes[]',
|
|
5855
|
+
internalType: 'bytes[]'
|
|
5856
|
+
}]
|
|
5850
5857
|
}, {
|
|
5858
|
+
name: 'webhooks',
|
|
5859
|
+
type: 'tuple[]',
|
|
5860
|
+
internalType: 'struct AbstractYodlRouter.Webhook[]',
|
|
5851
5861
|
components: [{
|
|
5852
|
-
internalType: 'address',
|
|
5853
5862
|
name: 'webhookAddress',
|
|
5854
|
-
type: 'address'
|
|
5863
|
+
type: 'address',
|
|
5864
|
+
internalType: 'address'
|
|
5855
5865
|
}, {
|
|
5856
|
-
internalType: 'bytes[]',
|
|
5857
5866
|
name: 'payload',
|
|
5858
|
-
type: 'bytes[]'
|
|
5859
|
-
|
|
5860
|
-
|
|
5861
|
-
|
|
5862
|
-
type: 'tuple[]'
|
|
5863
|
-
}, {
|
|
5864
|
-
internalType: 'uint256',
|
|
5865
|
-
name: 'convenienceFeeBps',
|
|
5866
|
-
type: 'uint256'
|
|
5867
|
-
}],
|
|
5868
|
-
internalType: 'struct YodlExternalFundingRouter.YodlExternalFundingParams',
|
|
5869
|
-
name: 'params',
|
|
5870
|
-
type: 'tuple'
|
|
5867
|
+
type: 'bytes[]',
|
|
5868
|
+
internalType: 'bytes[]'
|
|
5869
|
+
}]
|
|
5870
|
+
}]
|
|
5871
5871
|
}],
|
|
5872
|
-
name: 'yodlWithSwappedToken',
|
|
5873
5872
|
outputs: [{
|
|
5874
|
-
internalType: 'uint256',
|
|
5875
5873
|
name: '',
|
|
5876
|
-
type: 'uint256'
|
|
5874
|
+
type: 'uint256',
|
|
5875
|
+
internalType: 'uint256'
|
|
5877
5876
|
}],
|
|
5878
|
-
stateMutability: 'payable'
|
|
5879
|
-
type: 'function'
|
|
5877
|
+
stateMutability: 'payable'
|
|
5880
5878
|
}, {
|
|
5879
|
+
type: 'function',
|
|
5880
|
+
name: 'yodlWithToken',
|
|
5881
5881
|
inputs: [{
|
|
5882
|
+
name: 'params',
|
|
5883
|
+
type: 'tuple',
|
|
5884
|
+
internalType: 'struct YodlTransferRouter.YodlTransferParams',
|
|
5882
5885
|
components: [{
|
|
5883
|
-
internalType: 'bytes32',
|
|
5884
5886
|
name: 'memo',
|
|
5885
|
-
type: 'bytes32'
|
|
5887
|
+
type: 'bytes32',
|
|
5888
|
+
internalType: 'bytes32'
|
|
5886
5889
|
}, {
|
|
5887
|
-
internalType: 'uint256',
|
|
5888
5890
|
name: 'amount',
|
|
5889
|
-
type: 'uint256'
|
|
5891
|
+
type: 'uint256',
|
|
5892
|
+
internalType: 'uint256'
|
|
5890
5893
|
}, {
|
|
5894
|
+
name: 'priceFeeds',
|
|
5895
|
+
type: 'tuple[2]',
|
|
5896
|
+
internalType: 'struct AbstractYodlRouter.PriceFeed[2]',
|
|
5891
5897
|
components: [{
|
|
5892
|
-
internalType: 'address',
|
|
5893
5898
|
name: 'feedAddress',
|
|
5894
|
-
type: 'address'
|
|
5899
|
+
type: 'address',
|
|
5900
|
+
internalType: 'address'
|
|
5895
5901
|
}, {
|
|
5896
|
-
internalType: 'int8',
|
|
5897
5902
|
name: 'feedType',
|
|
5898
|
-
type: 'int8'
|
|
5903
|
+
type: 'int8',
|
|
5904
|
+
internalType: 'int8'
|
|
5899
5905
|
}, {
|
|
5900
|
-
internalType: 'string',
|
|
5901
5906
|
name: 'currency',
|
|
5902
|
-
type: 'string'
|
|
5907
|
+
type: 'string',
|
|
5908
|
+
internalType: 'string'
|
|
5903
5909
|
}, {
|
|
5904
|
-
internalType: 'uint256',
|
|
5905
5910
|
name: 'amount',
|
|
5906
|
-
type: 'uint256'
|
|
5911
|
+
type: 'uint256',
|
|
5912
|
+
internalType: 'uint256'
|
|
5907
5913
|
}, {
|
|
5908
|
-
internalType: 'uint256',
|
|
5909
5914
|
name: 'deadline',
|
|
5910
|
-
type: 'uint256'
|
|
5915
|
+
type: 'uint256',
|
|
5916
|
+
internalType: 'uint256'
|
|
5911
5917
|
}, {
|
|
5912
|
-
internalType: 'bytes',
|
|
5913
5918
|
name: 'signature',
|
|
5914
|
-
type: 'bytes'
|
|
5915
|
-
|
|
5916
|
-
|
|
5917
|
-
name: 'priceFeeds',
|
|
5918
|
-
type: 'tuple[2]'
|
|
5919
|
+
type: 'bytes',
|
|
5920
|
+
internalType: 'bytes'
|
|
5921
|
+
}]
|
|
5919
5922
|
}, {
|
|
5920
|
-
internalType: 'address',
|
|
5921
5923
|
name: 'token',
|
|
5922
|
-
type: 'address'
|
|
5924
|
+
type: 'address',
|
|
5925
|
+
internalType: 'address'
|
|
5923
5926
|
}, {
|
|
5924
|
-
internalType: 'address',
|
|
5925
5927
|
name: 'receiver',
|
|
5926
|
-
type: 'address'
|
|
5928
|
+
type: 'address',
|
|
5929
|
+
internalType: 'address'
|
|
5927
5930
|
}, {
|
|
5928
|
-
internalType: 'address',
|
|
5929
5931
|
name: 'extraFeeReceiver',
|
|
5930
|
-
type: 'address'
|
|
5932
|
+
type: 'address',
|
|
5933
|
+
internalType: 'address'
|
|
5931
5934
|
}, {
|
|
5932
|
-
internalType: 'uint256',
|
|
5933
5935
|
name: 'extraFeeBps',
|
|
5934
|
-
type: 'uint256'
|
|
5936
|
+
type: 'uint256',
|
|
5937
|
+
internalType: 'uint256'
|
|
5935
5938
|
}, {
|
|
5936
|
-
internalType: 'uint256',
|
|
5937
5939
|
name: 'yd',
|
|
5938
|
-
type: 'uint256'
|
|
5940
|
+
type: 'uint256',
|
|
5941
|
+
internalType: 'uint256'
|
|
5939
5942
|
}, {
|
|
5943
|
+
name: 'guards',
|
|
5944
|
+
type: 'tuple[]',
|
|
5945
|
+
internalType: 'struct AbstractYodlRouter.Guard[]',
|
|
5940
5946
|
components: [{
|
|
5941
|
-
internalType: 'address',
|
|
5942
5947
|
name: 'guardAddress',
|
|
5943
|
-
type: 'address'
|
|
5948
|
+
type: 'address',
|
|
5949
|
+
internalType: 'address'
|
|
5944
5950
|
}, {
|
|
5945
|
-
internalType: 'bytes[]',
|
|
5946
5951
|
name: 'payload',
|
|
5947
|
-
type: 'bytes[]'
|
|
5948
|
-
|
|
5949
|
-
|
|
5950
|
-
name: 'guards',
|
|
5951
|
-
type: 'tuple[]'
|
|
5952
|
+
type: 'bytes[]',
|
|
5953
|
+
internalType: 'bytes[]'
|
|
5954
|
+
}]
|
|
5952
5955
|
}, {
|
|
5956
|
+
name: 'webhooks',
|
|
5957
|
+
type: 'tuple[]',
|
|
5958
|
+
internalType: 'struct AbstractYodlRouter.Webhook[]',
|
|
5953
5959
|
components: [{
|
|
5954
|
-
internalType: 'address',
|
|
5955
5960
|
name: 'webhookAddress',
|
|
5956
|
-
type: 'address'
|
|
5961
|
+
type: 'address',
|
|
5962
|
+
internalType: 'address'
|
|
5957
5963
|
}, {
|
|
5958
|
-
internalType: 'bytes[]',
|
|
5959
5964
|
name: 'payload',
|
|
5960
|
-
type: 'bytes[]'
|
|
5961
|
-
|
|
5962
|
-
|
|
5963
|
-
|
|
5964
|
-
type: 'tuple[]'
|
|
5965
|
-
}],
|
|
5966
|
-
internalType: 'struct YodlTransferRouter.YodlTransferParams',
|
|
5967
|
-
name: 'params',
|
|
5968
|
-
type: 'tuple'
|
|
5965
|
+
type: 'bytes[]',
|
|
5966
|
+
internalType: 'bytes[]'
|
|
5967
|
+
}]
|
|
5968
|
+
}]
|
|
5969
5969
|
}],
|
|
5970
|
-
name: 'yodlWithToken',
|
|
5971
5970
|
outputs: [{
|
|
5972
|
-
internalType: 'uint256',
|
|
5973
5971
|
name: '',
|
|
5974
|
-
type: 'uint256'
|
|
5972
|
+
type: 'uint256',
|
|
5973
|
+
internalType: 'uint256'
|
|
5975
5974
|
}],
|
|
5976
|
-
stateMutability: 'payable'
|
|
5977
|
-
type: 'function'
|
|
5975
|
+
stateMutability: 'payable'
|
|
5978
5976
|
}, {
|
|
5977
|
+
type: 'function',
|
|
5978
|
+
name: 'yodlWithUniswap',
|
|
5979
5979
|
inputs: [{
|
|
5980
|
+
name: 'params',
|
|
5981
|
+
type: 'tuple',
|
|
5982
|
+
internalType: 'struct YodlUniswapRouter.YodlUniswapParams',
|
|
5980
5983
|
components: [{
|
|
5981
|
-
internalType: 'address',
|
|
5982
5984
|
name: 'sender',
|
|
5983
|
-
type: 'address'
|
|
5985
|
+
type: 'address',
|
|
5986
|
+
internalType: 'address'
|
|
5984
5987
|
}, {
|
|
5985
|
-
internalType: 'address',
|
|
5986
5988
|
name: 'receiver',
|
|
5987
|
-
type: 'address'
|
|
5989
|
+
type: 'address',
|
|
5990
|
+
internalType: 'address'
|
|
5988
5991
|
}, {
|
|
5989
|
-
internalType: 'uint256',
|
|
5990
5992
|
name: 'amountIn',
|
|
5991
|
-
type: 'uint256'
|
|
5993
|
+
type: 'uint256',
|
|
5994
|
+
internalType: 'uint256'
|
|
5992
5995
|
}, {
|
|
5993
|
-
internalType: 'uint256',
|
|
5994
5996
|
name: 'amountOut',
|
|
5995
|
-
type: 'uint256'
|
|
5997
|
+
type: 'uint256',
|
|
5998
|
+
internalType: 'uint256'
|
|
5996
5999
|
}, {
|
|
5997
|
-
internalType: 'bytes32',
|
|
5998
6000
|
name: 'memo',
|
|
5999
|
-
type: 'bytes32'
|
|
6001
|
+
type: 'bytes32',
|
|
6002
|
+
internalType: 'bytes32'
|
|
6000
6003
|
}, {
|
|
6001
|
-
internalType: 'bytes',
|
|
6002
6004
|
name: 'path',
|
|
6003
|
-
type: 'bytes'
|
|
6005
|
+
type: 'bytes',
|
|
6006
|
+
internalType: 'bytes'
|
|
6004
6007
|
}, {
|
|
6008
|
+
name: 'priceFeeds',
|
|
6009
|
+
type: 'tuple[2]',
|
|
6010
|
+
internalType: 'struct AbstractYodlRouter.PriceFeed[2]',
|
|
6005
6011
|
components: [{
|
|
6006
|
-
internalType: 'address',
|
|
6007
6012
|
name: 'feedAddress',
|
|
6008
|
-
type: 'address'
|
|
6013
|
+
type: 'address',
|
|
6014
|
+
internalType: 'address'
|
|
6009
6015
|
}, {
|
|
6010
|
-
internalType: 'int8',
|
|
6011
6016
|
name: 'feedType',
|
|
6012
|
-
type: 'int8'
|
|
6017
|
+
type: 'int8',
|
|
6018
|
+
internalType: 'int8'
|
|
6013
6019
|
}, {
|
|
6014
|
-
internalType: 'string',
|
|
6015
6020
|
name: 'currency',
|
|
6016
|
-
type: 'string'
|
|
6021
|
+
type: 'string',
|
|
6022
|
+
internalType: 'string'
|
|
6017
6023
|
}, {
|
|
6018
|
-
internalType: 'uint256',
|
|
6019
6024
|
name: 'amount',
|
|
6020
|
-
type: 'uint256'
|
|
6025
|
+
type: 'uint256',
|
|
6026
|
+
internalType: 'uint256'
|
|
6021
6027
|
}, {
|
|
6022
|
-
internalType: 'uint256',
|
|
6023
6028
|
name: 'deadline',
|
|
6024
|
-
type: 'uint256'
|
|
6029
|
+
type: 'uint256',
|
|
6030
|
+
internalType: 'uint256'
|
|
6025
6031
|
}, {
|
|
6026
|
-
internalType: 'bytes',
|
|
6027
6032
|
name: 'signature',
|
|
6028
|
-
type: 'bytes'
|
|
6029
|
-
|
|
6030
|
-
|
|
6031
|
-
name: 'priceFeeds',
|
|
6032
|
-
type: 'tuple[2]'
|
|
6033
|
+
type: 'bytes',
|
|
6034
|
+
internalType: 'bytes'
|
|
6035
|
+
}]
|
|
6033
6036
|
}, {
|
|
6034
|
-
internalType: 'address',
|
|
6035
6037
|
name: 'extraFeeReceiver',
|
|
6036
|
-
type: 'address'
|
|
6038
|
+
type: 'address',
|
|
6039
|
+
internalType: 'address'
|
|
6037
6040
|
}, {
|
|
6038
|
-
internalType: 'uint256',
|
|
6039
6041
|
name: 'extraFeeBps',
|
|
6040
|
-
type: 'uint256'
|
|
6042
|
+
type: 'uint256',
|
|
6043
|
+
internalType: 'uint256'
|
|
6041
6044
|
}, {
|
|
6042
|
-
internalType: 'enum YodlUniswapRouter.SwapType',
|
|
6043
6045
|
name: 'swapType',
|
|
6044
|
-
type: 'uint8'
|
|
6046
|
+
type: 'uint8',
|
|
6047
|
+
internalType: 'enum YodlUniswapRouter.SwapType'
|
|
6045
6048
|
}, {
|
|
6046
|
-
internalType: 'uint256',
|
|
6047
6049
|
name: 'yd',
|
|
6048
|
-
type: 'uint256'
|
|
6050
|
+
type: 'uint256',
|
|
6051
|
+
internalType: 'uint256'
|
|
6049
6052
|
}, {
|
|
6053
|
+
name: 'guards',
|
|
6054
|
+
type: 'tuple[]',
|
|
6055
|
+
internalType: 'struct AbstractYodlRouter.Guard[]',
|
|
6050
6056
|
components: [{
|
|
6051
|
-
internalType: 'address',
|
|
6052
6057
|
name: 'guardAddress',
|
|
6053
|
-
type: 'address'
|
|
6058
|
+
type: 'address',
|
|
6059
|
+
internalType: 'address'
|
|
6054
6060
|
}, {
|
|
6055
|
-
internalType: 'bytes[]',
|
|
6056
6061
|
name: 'payload',
|
|
6057
|
-
type: 'bytes[]'
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
name: 'guards',
|
|
6061
|
-
type: 'tuple[]'
|
|
6062
|
+
type: 'bytes[]',
|
|
6063
|
+
internalType: 'bytes[]'
|
|
6064
|
+
}]
|
|
6062
6065
|
}, {
|
|
6066
|
+
name: 'webhooks',
|
|
6067
|
+
type: 'tuple[]',
|
|
6068
|
+
internalType: 'struct AbstractYodlRouter.Webhook[]',
|
|
6063
6069
|
components: [{
|
|
6064
|
-
internalType: 'address',
|
|
6065
6070
|
name: 'webhookAddress',
|
|
6066
|
-
type: 'address'
|
|
6071
|
+
type: 'address',
|
|
6072
|
+
internalType: 'address'
|
|
6067
6073
|
}, {
|
|
6068
|
-
internalType: 'bytes[]',
|
|
6069
6074
|
name: 'payload',
|
|
6070
|
-
type: 'bytes[]'
|
|
6071
|
-
|
|
6072
|
-
|
|
6073
|
-
|
|
6074
|
-
type: 'tuple[]'
|
|
6075
|
-
}],
|
|
6076
|
-
internalType: 'struct YodlUniswapRouter.YodlUniswapParams',
|
|
6077
|
-
name: 'params',
|
|
6078
|
-
type: 'tuple'
|
|
6075
|
+
type: 'bytes[]',
|
|
6076
|
+
internalType: 'bytes[]'
|
|
6077
|
+
}]
|
|
6078
|
+
}]
|
|
6079
6079
|
}],
|
|
6080
|
-
name: 'yodlWithUniswap',
|
|
6081
6080
|
outputs: [{
|
|
6082
|
-
internalType: 'uint256',
|
|
6083
6081
|
name: '',
|
|
6084
|
-
type: 'uint256'
|
|
6082
|
+
type: 'uint256',
|
|
6083
|
+
internalType: 'uint256'
|
|
6085
6084
|
}],
|
|
6086
|
-
stateMutability: 'payable'
|
|
6087
|
-
type: 'function'
|
|
6085
|
+
stateMutability: 'payable'
|
|
6088
6086
|
}, {
|
|
6089
|
-
|
|
6090
|
-
|
|
6087
|
+
type: 'event',
|
|
6088
|
+
name: 'Convert',
|
|
6089
|
+
inputs: [{
|
|
6090
|
+
name: 'priceFeed0',
|
|
6091
|
+
type: 'address',
|
|
6092
|
+
indexed: true,
|
|
6093
|
+
internalType: 'address'
|
|
6094
|
+
}, {
|
|
6095
|
+
name: 'priceFeed1',
|
|
6096
|
+
type: 'address',
|
|
6097
|
+
indexed: true,
|
|
6098
|
+
internalType: 'address'
|
|
6099
|
+
}, {
|
|
6100
|
+
name: 'exchangeRate0',
|
|
6101
|
+
type: 'int256',
|
|
6102
|
+
indexed: false,
|
|
6103
|
+
internalType: 'int256'
|
|
6104
|
+
}, {
|
|
6105
|
+
name: 'exchangeRate1',
|
|
6106
|
+
type: 'int256',
|
|
6107
|
+
indexed: false,
|
|
6108
|
+
internalType: 'int256'
|
|
6109
|
+
}],
|
|
6110
|
+
anonymous: false
|
|
6111
|
+
}, {
|
|
6112
|
+
type: 'event',
|
|
6113
|
+
name: 'ConvertWithExternalRate',
|
|
6114
|
+
inputs: [{
|
|
6115
|
+
name: 'currency0',
|
|
6116
|
+
type: 'string',
|
|
6117
|
+
indexed: true,
|
|
6118
|
+
internalType: 'string'
|
|
6119
|
+
}, {
|
|
6120
|
+
name: 'priceFeed1',
|
|
6121
|
+
type: 'address',
|
|
6122
|
+
indexed: true,
|
|
6123
|
+
internalType: 'address'
|
|
6124
|
+
}, {
|
|
6125
|
+
name: 'exchangeRate0',
|
|
6126
|
+
type: 'int256',
|
|
6127
|
+
indexed: false,
|
|
6128
|
+
internalType: 'int256'
|
|
6129
|
+
}, {
|
|
6130
|
+
name: 'exchangeRate1',
|
|
6131
|
+
type: 'int256',
|
|
6132
|
+
indexed: false,
|
|
6133
|
+
internalType: 'int256'
|
|
6134
|
+
}],
|
|
6135
|
+
anonymous: false
|
|
6136
|
+
}, {
|
|
6137
|
+
type: 'event',
|
|
6138
|
+
name: 'Yodl',
|
|
6139
|
+
inputs: [{
|
|
6140
|
+
name: 'sender',
|
|
6141
|
+
type: 'address',
|
|
6142
|
+
indexed: true,
|
|
6143
|
+
internalType: 'address'
|
|
6144
|
+
}, {
|
|
6145
|
+
name: 'receiver',
|
|
6146
|
+
type: 'address',
|
|
6147
|
+
indexed: true,
|
|
6148
|
+
internalType: 'address'
|
|
6149
|
+
}, {
|
|
6150
|
+
name: 'token',
|
|
6151
|
+
type: 'address',
|
|
6152
|
+
indexed: false,
|
|
6153
|
+
internalType: 'address'
|
|
6154
|
+
}, {
|
|
6155
|
+
name: 'amount',
|
|
6156
|
+
type: 'uint256',
|
|
6157
|
+
indexed: false,
|
|
6158
|
+
internalType: 'uint256'
|
|
6159
|
+
}, {
|
|
6160
|
+
name: 'fees',
|
|
6161
|
+
type: 'uint256',
|
|
6162
|
+
indexed: false,
|
|
6163
|
+
internalType: 'uint256'
|
|
6164
|
+
}, {
|
|
6165
|
+
name: 'memo',
|
|
6166
|
+
type: 'bytes32',
|
|
6167
|
+
indexed: false,
|
|
6168
|
+
internalType: 'bytes32'
|
|
6169
|
+
}],
|
|
6170
|
+
anonymous: false
|
|
6171
|
+
}, {
|
|
6172
|
+
type: 'event',
|
|
6173
|
+
name: 'YodlNativeTokenTransfer',
|
|
6174
|
+
inputs: [{
|
|
6175
|
+
name: 'sender',
|
|
6176
|
+
type: 'address',
|
|
6177
|
+
indexed: true,
|
|
6178
|
+
internalType: 'address'
|
|
6179
|
+
}, {
|
|
6180
|
+
name: 'receiver',
|
|
6181
|
+
type: 'address',
|
|
6182
|
+
indexed: true,
|
|
6183
|
+
internalType: 'address'
|
|
6184
|
+
}, {
|
|
6185
|
+
name: 'amount',
|
|
6186
|
+
type: 'uint256',
|
|
6187
|
+
indexed: true,
|
|
6188
|
+
internalType: 'uint256'
|
|
6189
|
+
}],
|
|
6190
|
+
anonymous: false
|
|
6191
|
+
}, {
|
|
6192
|
+
type: 'error',
|
|
6193
|
+
name: 'ECDSAInvalidSignature',
|
|
6194
|
+
inputs: []
|
|
6195
|
+
}, {
|
|
6196
|
+
type: 'error',
|
|
6197
|
+
name: 'ECDSAInvalidSignatureLength',
|
|
6198
|
+
inputs: [{
|
|
6199
|
+
name: 'length',
|
|
6200
|
+
type: 'uint256',
|
|
6201
|
+
internalType: 'uint256'
|
|
6202
|
+
}]
|
|
6203
|
+
}, {
|
|
6204
|
+
type: 'error',
|
|
6205
|
+
name: 'ECDSAInvalidSignatureS',
|
|
6206
|
+
inputs: [{
|
|
6207
|
+
name: 's',
|
|
6208
|
+
type: 'bytes32',
|
|
6209
|
+
internalType: 'bytes32'
|
|
6210
|
+
}]
|
|
6211
|
+
}, {
|
|
6212
|
+
type: 'error',
|
|
6213
|
+
name: 'ReentrancyGuardReentrantCall',
|
|
6214
|
+
inputs: []
|
|
6091
6215
|
}];
|
|
6092
6216
|
|
|
6093
6217
|
var YODL_ROUTER_ABIS = {
|
|
@@ -6133,7 +6257,9 @@ var chains = [
|
|
|
6133
6257
|
"UNISWAP",
|
|
6134
6258
|
"CURVE",
|
|
6135
6259
|
"ODOS",
|
|
6136
|
-
"ONE_INCH"
|
|
6260
|
+
"ONE_INCH",
|
|
6261
|
+
"OKX",
|
|
6262
|
+
"UNIZEN"
|
|
6137
6263
|
]
|
|
6138
6264
|
},
|
|
6139
6265
|
{
|
|
@@ -6155,7 +6281,9 @@ var chains = [
|
|
|
6155
6281
|
"UNISWAP",
|
|
6156
6282
|
"CURVE",
|
|
6157
6283
|
"ODOS",
|
|
6158
|
-
"ONE_INCH"
|
|
6284
|
+
"ONE_INCH",
|
|
6285
|
+
"OKX",
|
|
6286
|
+
"UNIZEN"
|
|
6159
6287
|
]
|
|
6160
6288
|
},
|
|
6161
6289
|
{
|
|
@@ -6177,7 +6305,8 @@ var chains = [
|
|
|
6177
6305
|
"UNISWAP",
|
|
6178
6306
|
"CURVE",
|
|
6179
6307
|
"ODOS",
|
|
6180
|
-
"ONE_INCH"
|
|
6308
|
+
"ONE_INCH",
|
|
6309
|
+
"UNIZEN"
|
|
6181
6310
|
]
|
|
6182
6311
|
},
|
|
6183
6312
|
{
|
|
@@ -6219,7 +6348,9 @@ var chains = [
|
|
|
6219
6348
|
"UNISWAP",
|
|
6220
6349
|
"CURVE",
|
|
6221
6350
|
"ODOS",
|
|
6222
|
-
"ONE_INCH"
|
|
6351
|
+
"ONE_INCH",
|
|
6352
|
+
"OKX",
|
|
6353
|
+
"UNIZEN"
|
|
6223
6354
|
]
|
|
6224
6355
|
},
|
|
6225
6356
|
{
|
|
@@ -6241,7 +6372,8 @@ var chains = [
|
|
|
6241
6372
|
"UNISWAP",
|
|
6242
6373
|
"CURVE",
|
|
6243
6374
|
"ODOS",
|
|
6244
|
-
"ONE_INCH"
|
|
6375
|
+
"ONE_INCH",
|
|
6376
|
+
"UNIZEN"
|
|
6245
6377
|
]
|
|
6246
6378
|
},
|
|
6247
6379
|
{
|
|
@@ -6266,7 +6398,9 @@ var chains = [
|
|
|
6266
6398
|
"PANCAKE",
|
|
6267
6399
|
"CURVE",
|
|
6268
6400
|
"ODOS",
|
|
6269
|
-
"ONE_INCH"
|
|
6401
|
+
"ONE_INCH",
|
|
6402
|
+
"OKX",
|
|
6403
|
+
"UNIZEN"
|
|
6270
6404
|
]
|
|
6271
6405
|
}
|
|
6272
6406
|
];
|
|
@@ -23149,45 +23283,45 @@ var routerlist = {
|
|
|
23149
23283
|
},
|
|
23150
23284
|
routers: [{
|
|
23151
23285
|
chainId: 1,
|
|
23152
|
-
address: '
|
|
23153
|
-
timestamp: '2025-
|
|
23154
|
-
version: '0.
|
|
23286
|
+
address: '0x37f17Bc0e317AAaF663908DDBBca296E2119EB2b',
|
|
23287
|
+
timestamp: '2025-08-01T00:00:00+00:00',
|
|
23288
|
+
version: '0.9',
|
|
23155
23289
|
fee: '0.002'
|
|
23156
23290
|
}, {
|
|
23157
23291
|
chainId: 10,
|
|
23158
|
-
address: '
|
|
23159
|
-
timestamp: '2025-
|
|
23160
|
-
version: '0.
|
|
23292
|
+
address: '0x37f17Bc0e317AAaF663908DDBBca296E2119EB2b',
|
|
23293
|
+
timestamp: '2025-07-31T00:00:00+00:00',
|
|
23294
|
+
version: '0.9',
|
|
23161
23295
|
fee: '0.002'
|
|
23162
23296
|
}, {
|
|
23163
23297
|
chainId: 42161,
|
|
23164
|
-
address: '
|
|
23165
|
-
timestamp: '2025-
|
|
23166
|
-
version: '0.
|
|
23298
|
+
address: '0x37f17Bc0e317AAaF663908DDBBca296E2119EB2b',
|
|
23299
|
+
timestamp: '2025-07-31T00:00:00+00:00',
|
|
23300
|
+
version: '0.9',
|
|
23167
23301
|
fee: '0.002'
|
|
23168
23302
|
}, {
|
|
23169
23303
|
chainId: 100,
|
|
23170
|
-
address: '
|
|
23171
|
-
timestamp: '2025-
|
|
23172
|
-
version: '0.
|
|
23304
|
+
address: '0x37f17Bc0e317AAaF663908DDBBca296E2119EB2b',
|
|
23305
|
+
timestamp: '2025-07-31T00:00:00+00:00',
|
|
23306
|
+
version: '0.9',
|
|
23173
23307
|
fee: '0.002'
|
|
23174
23308
|
}, {
|
|
23175
23309
|
chainId: 137,
|
|
23176
|
-
address: '
|
|
23177
|
-
timestamp: '2025-
|
|
23178
|
-
version: '0.
|
|
23310
|
+
address: '0x37f17Bc0e317AAaF663908DDBBca296E2119EB2b',
|
|
23311
|
+
timestamp: '2025-07-31T00:00:00+00:00',
|
|
23312
|
+
version: '0.9',
|
|
23179
23313
|
fee: '0.002'
|
|
23180
23314
|
}, {
|
|
23181
23315
|
chainId: 8453,
|
|
23182
|
-
address: '
|
|
23183
|
-
timestamp: '2025-
|
|
23184
|
-
version: '0.
|
|
23316
|
+
address: '0x37f17Bc0e317AAaF663908DDBBca296E2119EB2b',
|
|
23317
|
+
timestamp: '2025-07-31T00:00:00+00:00',
|
|
23318
|
+
version: '0.9',
|
|
23185
23319
|
fee: '0.002'
|
|
23186
23320
|
}, {
|
|
23187
23321
|
chainId: 56,
|
|
23188
|
-
address: '
|
|
23189
|
-
timestamp: '2025-
|
|
23190
|
-
version: '0.
|
|
23322
|
+
address: '0x37f17Bc0e317AAaF663908DDBBca296E2119EB2b',
|
|
23323
|
+
timestamp: '2025-07-31T00:00:00+00:00',
|
|
23324
|
+
version: '0.9',
|
|
23191
23325
|
fee: '0.002'
|
|
23192
23326
|
}]
|
|
23193
23327
|
};
|
|
@@ -24135,6 +24269,7 @@ var tokens = [
|
|
|
24135
24269
|
coinGeckoId: "dai",
|
|
24136
24270
|
name: "Dai",
|
|
24137
24271
|
symbol: "DAI",
|
|
24272
|
+
currency: "USD",
|
|
24138
24273
|
decimals: 18,
|
|
24139
24274
|
tags: [
|
|
24140
24275
|
"BNB Smart Chain",
|