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