@yodlpay/tokenlists 0.9.0-alpha.7 → 0.9.0-alpha.9
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.8.abi.d.ts +114 -0
- package/dist/abis-ts/YodlRouterV0.9.abi.d.ts +506 -396
- package/dist/index.d.ts +661 -437
- package/dist/tokenlist-featured.json +98 -548
- package/dist/tokenlists.cjs.development.js +857 -633
- 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 +857 -633
- package/dist/tokenlists.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3632,6 +3632,10 @@ export declare function getRouterAbi(version: AbiVersion): readonly [{
|
|
|
3632
3632
|
}];
|
|
3633
3633
|
readonly name: "ECDSAInvalidSignatureS";
|
|
3634
3634
|
readonly type: "error";
|
|
3635
|
+
}, {
|
|
3636
|
+
readonly inputs: readonly [];
|
|
3637
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
3638
|
+
readonly type: "error";
|
|
3635
3639
|
}, {
|
|
3636
3640
|
readonly anonymous: false;
|
|
3637
3641
|
readonly inputs: readonly [{
|
|
@@ -4268,6 +4272,116 @@ export declare function getRouterAbi(version: AbiVersion): readonly [{
|
|
|
4268
4272
|
}];
|
|
4269
4273
|
readonly stateMutability: "payable";
|
|
4270
4274
|
readonly type: "function";
|
|
4275
|
+
}, {
|
|
4276
|
+
readonly inputs: readonly [{
|
|
4277
|
+
readonly components: readonly [{
|
|
4278
|
+
readonly internalType: "address";
|
|
4279
|
+
readonly name: "sender";
|
|
4280
|
+
readonly type: "address";
|
|
4281
|
+
}, {
|
|
4282
|
+
readonly internalType: "address";
|
|
4283
|
+
readonly name: "receiver";
|
|
4284
|
+
readonly type: "address";
|
|
4285
|
+
}, {
|
|
4286
|
+
readonly internalType: "uint256";
|
|
4287
|
+
readonly name: "amountIn";
|
|
4288
|
+
readonly type: "uint256";
|
|
4289
|
+
}, {
|
|
4290
|
+
readonly internalType: "uint256";
|
|
4291
|
+
readonly name: "amountOut";
|
|
4292
|
+
readonly type: "uint256";
|
|
4293
|
+
}, {
|
|
4294
|
+
readonly internalType: "bytes32";
|
|
4295
|
+
readonly name: "memo";
|
|
4296
|
+
readonly type: "bytes32";
|
|
4297
|
+
}, {
|
|
4298
|
+
readonly internalType: "bytes";
|
|
4299
|
+
readonly name: "path";
|
|
4300
|
+
readonly type: "bytes";
|
|
4301
|
+
}, {
|
|
4302
|
+
readonly components: readonly [{
|
|
4303
|
+
readonly internalType: "address";
|
|
4304
|
+
readonly name: "feedAddress";
|
|
4305
|
+
readonly type: "address";
|
|
4306
|
+
}, {
|
|
4307
|
+
readonly internalType: "int8";
|
|
4308
|
+
readonly name: "feedType";
|
|
4309
|
+
readonly type: "int8";
|
|
4310
|
+
}, {
|
|
4311
|
+
readonly internalType: "string";
|
|
4312
|
+
readonly name: "currency";
|
|
4313
|
+
readonly type: "string";
|
|
4314
|
+
}, {
|
|
4315
|
+
readonly internalType: "uint256";
|
|
4316
|
+
readonly name: "amount";
|
|
4317
|
+
readonly type: "uint256";
|
|
4318
|
+
}, {
|
|
4319
|
+
readonly internalType: "uint256";
|
|
4320
|
+
readonly name: "deadline";
|
|
4321
|
+
readonly type: "uint256";
|
|
4322
|
+
}, {
|
|
4323
|
+
readonly internalType: "bytes";
|
|
4324
|
+
readonly name: "signature";
|
|
4325
|
+
readonly type: "bytes";
|
|
4326
|
+
}];
|
|
4327
|
+
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
4328
|
+
readonly name: "priceFeeds";
|
|
4329
|
+
readonly type: "tuple[2]";
|
|
4330
|
+
}, {
|
|
4331
|
+
readonly internalType: "address";
|
|
4332
|
+
readonly name: "extraFeeReceiver";
|
|
4333
|
+
readonly type: "address";
|
|
4334
|
+
}, {
|
|
4335
|
+
readonly internalType: "uint256";
|
|
4336
|
+
readonly name: "extraFeeBps";
|
|
4337
|
+
readonly type: "uint256";
|
|
4338
|
+
}, {
|
|
4339
|
+
readonly internalType: "enum YodlUniswapRouter.SwapType";
|
|
4340
|
+
readonly name: "swapType";
|
|
4341
|
+
readonly type: "uint8";
|
|
4342
|
+
}, {
|
|
4343
|
+
readonly internalType: "uint256";
|
|
4344
|
+
readonly name: "yd";
|
|
4345
|
+
readonly type: "uint256";
|
|
4346
|
+
}, {
|
|
4347
|
+
readonly components: readonly [{
|
|
4348
|
+
readonly internalType: "address";
|
|
4349
|
+
readonly name: "guardAddress";
|
|
4350
|
+
readonly type: "address";
|
|
4351
|
+
}, {
|
|
4352
|
+
readonly internalType: "bytes[]";
|
|
4353
|
+
readonly name: "payload";
|
|
4354
|
+
readonly type: "bytes[]";
|
|
4355
|
+
}];
|
|
4356
|
+
readonly internalType: "struct AbstractYodlRouter.Guard[]";
|
|
4357
|
+
readonly name: "guards";
|
|
4358
|
+
readonly type: "tuple[]";
|
|
4359
|
+
}, {
|
|
4360
|
+
readonly components: readonly [{
|
|
4361
|
+
readonly internalType: "address";
|
|
4362
|
+
readonly name: "webhookAddress";
|
|
4363
|
+
readonly type: "address";
|
|
4364
|
+
}, {
|
|
4365
|
+
readonly internalType: "bytes[]";
|
|
4366
|
+
readonly name: "payload";
|
|
4367
|
+
readonly type: "bytes[]";
|
|
4368
|
+
}];
|
|
4369
|
+
readonly internalType: "struct AbstractYodlRouter.Webhook[]";
|
|
4370
|
+
readonly name: "webhooks";
|
|
4371
|
+
readonly type: "tuple[]";
|
|
4372
|
+
}];
|
|
4373
|
+
readonly internalType: "struct YodlUniswapRouter.YodlUniswapParams";
|
|
4374
|
+
readonly name: "params";
|
|
4375
|
+
readonly type: "tuple";
|
|
4376
|
+
}];
|
|
4377
|
+
readonly name: "yodlWithPancake";
|
|
4378
|
+
readonly outputs: readonly [{
|
|
4379
|
+
readonly internalType: "uint256";
|
|
4380
|
+
readonly name: "";
|
|
4381
|
+
readonly type: "uint256";
|
|
4382
|
+
}];
|
|
4383
|
+
readonly stateMutability: "payable";
|
|
4384
|
+
readonly type: "function";
|
|
4271
4385
|
}, {
|
|
4272
4386
|
readonly inputs: readonly [{
|
|
4273
4387
|
readonly components: readonly [{
|
|
@@ -4480,996 +4594,1106 @@ export declare function getRouterAbi(version: AbiVersion): readonly [{
|
|
|
4480
4594
|
readonly stateMutability: "payable";
|
|
4481
4595
|
readonly type: "receive";
|
|
4482
4596
|
}] | readonly [{
|
|
4597
|
+
readonly type: "constructor";
|
|
4483
4598
|
readonly inputs: readonly [];
|
|
4484
4599
|
readonly stateMutability: "nonpayable";
|
|
4485
|
-
readonly type: "constructor";
|
|
4486
4600
|
}, {
|
|
4601
|
+
readonly type: "receive";
|
|
4602
|
+
readonly stateMutability: "payable";
|
|
4603
|
+
}, {
|
|
4604
|
+
readonly type: "function";
|
|
4605
|
+
readonly name: "CHAINLINK_FEED";
|
|
4487
4606
|
readonly inputs: readonly [];
|
|
4488
|
-
readonly
|
|
4489
|
-
|
|
4607
|
+
readonly outputs: readonly [{
|
|
4608
|
+
readonly name: "";
|
|
4609
|
+
readonly type: "int8";
|
|
4610
|
+
readonly internalType: "int8";
|
|
4611
|
+
}];
|
|
4612
|
+
readonly stateMutability: "view";
|
|
4490
4613
|
}, {
|
|
4491
|
-
readonly
|
|
4614
|
+
readonly type: "function";
|
|
4615
|
+
readonly name: "EXTERNAL_FEED";
|
|
4616
|
+
readonly inputs: readonly [];
|
|
4617
|
+
readonly outputs: readonly [{
|
|
4618
|
+
readonly name: "";
|
|
4619
|
+
readonly type: "int8";
|
|
4620
|
+
readonly internalType: "int8";
|
|
4621
|
+
}];
|
|
4622
|
+
readonly stateMutability: "view";
|
|
4623
|
+
}, {
|
|
4624
|
+
readonly type: "function";
|
|
4625
|
+
readonly name: "MAX_CONVENIENCE_FEE_BPS";
|
|
4626
|
+
readonly inputs: readonly [];
|
|
4627
|
+
readonly outputs: readonly [{
|
|
4628
|
+
readonly name: "";
|
|
4629
|
+
readonly type: "uint256";
|
|
4492
4630
|
readonly internalType: "uint256";
|
|
4493
|
-
|
|
4631
|
+
}];
|
|
4632
|
+
readonly stateMutability: "view";
|
|
4633
|
+
}, {
|
|
4634
|
+
readonly type: "function";
|
|
4635
|
+
readonly name: "MAX_EXTRA_FEE_BPS";
|
|
4636
|
+
readonly inputs: readonly [];
|
|
4637
|
+
readonly outputs: readonly [{
|
|
4638
|
+
readonly name: "";
|
|
4494
4639
|
readonly type: "uint256";
|
|
4640
|
+
readonly internalType: "uint256";
|
|
4495
4641
|
}];
|
|
4496
|
-
readonly
|
|
4497
|
-
readonly type: "error";
|
|
4642
|
+
readonly stateMutability: "view";
|
|
4498
4643
|
}, {
|
|
4499
|
-
readonly
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4644
|
+
readonly type: "function";
|
|
4645
|
+
readonly name: "NATIVE_TOKEN";
|
|
4646
|
+
readonly inputs: readonly [];
|
|
4647
|
+
readonly outputs: readonly [{
|
|
4648
|
+
readonly name: "";
|
|
4649
|
+
readonly type: "address";
|
|
4650
|
+
readonly internalType: "address";
|
|
4503
4651
|
}];
|
|
4504
|
-
readonly
|
|
4505
|
-
readonly type: "error";
|
|
4652
|
+
readonly stateMutability: "view";
|
|
4506
4653
|
}, {
|
|
4654
|
+
readonly type: "function";
|
|
4655
|
+
readonly name: "NULL_FEED";
|
|
4507
4656
|
readonly inputs: readonly [];
|
|
4508
|
-
readonly
|
|
4509
|
-
|
|
4657
|
+
readonly outputs: readonly [{
|
|
4658
|
+
readonly name: "";
|
|
4659
|
+
readonly type: "int8";
|
|
4660
|
+
readonly internalType: "int8";
|
|
4661
|
+
}];
|
|
4662
|
+
readonly stateMutability: "view";
|
|
4510
4663
|
}, {
|
|
4511
|
-
readonly
|
|
4512
|
-
readonly
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
readonly name: "
|
|
4664
|
+
readonly type: "function";
|
|
4665
|
+
readonly name: "RATE_VERIFIER";
|
|
4666
|
+
readonly inputs: readonly [];
|
|
4667
|
+
readonly outputs: readonly [{
|
|
4668
|
+
readonly name: "";
|
|
4516
4669
|
readonly type: "address";
|
|
4517
|
-
}, {
|
|
4518
|
-
readonly indexed: true;
|
|
4519
4670
|
readonly internalType: "address";
|
|
4520
|
-
readonly name: "priceFeed1";
|
|
4521
|
-
readonly type: "address";
|
|
4522
|
-
}, {
|
|
4523
|
-
readonly indexed: false;
|
|
4524
|
-
readonly internalType: "int256";
|
|
4525
|
-
readonly name: "exchangeRate0";
|
|
4526
|
-
readonly type: "int256";
|
|
4527
|
-
}, {
|
|
4528
|
-
readonly indexed: false;
|
|
4529
|
-
readonly internalType: "int256";
|
|
4530
|
-
readonly name: "exchangeRate1";
|
|
4531
|
-
readonly type: "int256";
|
|
4532
4671
|
}];
|
|
4533
|
-
readonly
|
|
4534
|
-
readonly type: "event";
|
|
4672
|
+
readonly stateMutability: "view";
|
|
4535
4673
|
}, {
|
|
4536
|
-
readonly
|
|
4537
|
-
readonly
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
readonly name: "
|
|
4541
|
-
readonly type: "string";
|
|
4542
|
-
}, {
|
|
4543
|
-
readonly indexed: true;
|
|
4544
|
-
readonly internalType: "address";
|
|
4545
|
-
readonly name: "priceFeed1";
|
|
4674
|
+
readonly type: "function";
|
|
4675
|
+
readonly name: "acrossSpokePool";
|
|
4676
|
+
readonly inputs: readonly [];
|
|
4677
|
+
readonly outputs: readonly [{
|
|
4678
|
+
readonly name: "";
|
|
4546
4679
|
readonly type: "address";
|
|
4547
|
-
|
|
4548
|
-
readonly indexed: false;
|
|
4549
|
-
readonly internalType: "int256";
|
|
4550
|
-
readonly name: "exchangeRate0";
|
|
4551
|
-
readonly type: "int256";
|
|
4552
|
-
}, {
|
|
4553
|
-
readonly indexed: false;
|
|
4554
|
-
readonly internalType: "int256";
|
|
4555
|
-
readonly name: "exchangeRate1";
|
|
4556
|
-
readonly type: "int256";
|
|
4680
|
+
readonly internalType: "contract V3SpokePoolInterface";
|
|
4557
4681
|
}];
|
|
4558
|
-
readonly
|
|
4559
|
-
readonly type: "event";
|
|
4682
|
+
readonly stateMutability: "view";
|
|
4560
4683
|
}, {
|
|
4561
|
-
readonly
|
|
4684
|
+
readonly type: "function";
|
|
4685
|
+
readonly name: "calculateFee";
|
|
4562
4686
|
readonly inputs: readonly [{
|
|
4563
|
-
readonly
|
|
4564
|
-
readonly
|
|
4565
|
-
readonly
|
|
4566
|
-
readonly type: "address";
|
|
4567
|
-
}, {
|
|
4568
|
-
readonly indexed: true;
|
|
4569
|
-
readonly internalType: "address";
|
|
4570
|
-
readonly name: "receiver";
|
|
4571
|
-
readonly type: "address";
|
|
4687
|
+
readonly name: "amount";
|
|
4688
|
+
readonly type: "uint256";
|
|
4689
|
+
readonly internalType: "uint256";
|
|
4572
4690
|
}, {
|
|
4573
|
-
readonly
|
|
4574
|
-
readonly internalType: "address";
|
|
4575
|
-
readonly name: "token";
|
|
4576
|
-
readonly type: "address";
|
|
4577
|
-
}, {
|
|
4578
|
-
readonly indexed: false;
|
|
4579
|
-
readonly internalType: "uint256";
|
|
4580
|
-
readonly name: "amount";
|
|
4581
|
-
readonly type: "uint256";
|
|
4582
|
-
}, {
|
|
4583
|
-
readonly indexed: false;
|
|
4584
|
-
readonly internalType: "uint256";
|
|
4585
|
-
readonly name: "fees";
|
|
4691
|
+
readonly name: "feeBps";
|
|
4586
4692
|
readonly type: "uint256";
|
|
4587
|
-
}, {
|
|
4588
|
-
readonly indexed: false;
|
|
4589
|
-
readonly internalType: "bytes32";
|
|
4590
|
-
readonly name: "memo";
|
|
4591
|
-
readonly type: "bytes32";
|
|
4592
|
-
}];
|
|
4593
|
-
readonly name: "Yodl";
|
|
4594
|
-
readonly type: "event";
|
|
4595
|
-
}, {
|
|
4596
|
-
readonly anonymous: false;
|
|
4597
|
-
readonly inputs: readonly [{
|
|
4598
|
-
readonly indexed: true;
|
|
4599
|
-
readonly internalType: "address";
|
|
4600
|
-
readonly name: "sender";
|
|
4601
|
-
readonly type: "address";
|
|
4602
|
-
}, {
|
|
4603
|
-
readonly indexed: true;
|
|
4604
|
-
readonly internalType: "address";
|
|
4605
|
-
readonly name: "receiver";
|
|
4606
|
-
readonly type: "address";
|
|
4607
|
-
}, {
|
|
4608
|
-
readonly indexed: true;
|
|
4609
4693
|
readonly internalType: "uint256";
|
|
4610
|
-
readonly name: "amount";
|
|
4611
|
-
readonly type: "uint256";
|
|
4612
|
-
}];
|
|
4613
|
-
readonly name: "YodlNativeTokenTransfer";
|
|
4614
|
-
readonly type: "event";
|
|
4615
|
-
}, {
|
|
4616
|
-
readonly inputs: readonly [];
|
|
4617
|
-
readonly name: "CHAINLINK_FEED";
|
|
4618
|
-
readonly outputs: readonly [{
|
|
4619
|
-
readonly internalType: "int8";
|
|
4620
|
-
readonly name: "";
|
|
4621
|
-
readonly type: "int8";
|
|
4622
|
-
}];
|
|
4623
|
-
readonly stateMutability: "view";
|
|
4624
|
-
readonly type: "function";
|
|
4625
|
-
}, {
|
|
4626
|
-
readonly inputs: readonly [];
|
|
4627
|
-
readonly name: "EXTERNAL_FEED";
|
|
4628
|
-
readonly outputs: readonly [{
|
|
4629
|
-
readonly internalType: "int8";
|
|
4630
|
-
readonly name: "";
|
|
4631
|
-
readonly type: "int8";
|
|
4632
4694
|
}];
|
|
4633
|
-
readonly stateMutability: "view";
|
|
4634
|
-
readonly type: "function";
|
|
4635
|
-
}, {
|
|
4636
|
-
readonly inputs: readonly [];
|
|
4637
|
-
readonly name: "MAX_CONVENIENCE_FEE_BPS";
|
|
4638
4695
|
readonly outputs: readonly [{
|
|
4639
|
-
readonly internalType: "uint256";
|
|
4640
4696
|
readonly name: "";
|
|
4641
4697
|
readonly type: "uint256";
|
|
4642
|
-
}];
|
|
4643
|
-
readonly stateMutability: "view";
|
|
4644
|
-
readonly type: "function";
|
|
4645
|
-
}, {
|
|
4646
|
-
readonly inputs: readonly [];
|
|
4647
|
-
readonly name: "MAX_EXTRA_FEE_BPS";
|
|
4648
|
-
readonly outputs: readonly [{
|
|
4649
4698
|
readonly internalType: "uint256";
|
|
4650
|
-
readonly name: "";
|
|
4651
|
-
readonly type: "uint256";
|
|
4652
|
-
}];
|
|
4653
|
-
readonly stateMutability: "view";
|
|
4654
|
-
readonly type: "function";
|
|
4655
|
-
}, {
|
|
4656
|
-
readonly inputs: readonly [];
|
|
4657
|
-
readonly name: "NATIVE_TOKEN";
|
|
4658
|
-
readonly outputs: readonly [{
|
|
4659
|
-
readonly internalType: "address";
|
|
4660
|
-
readonly name: "";
|
|
4661
|
-
readonly type: "address";
|
|
4662
|
-
}];
|
|
4663
|
-
readonly stateMutability: "view";
|
|
4664
|
-
readonly type: "function";
|
|
4665
|
-
}, {
|
|
4666
|
-
readonly inputs: readonly [];
|
|
4667
|
-
readonly name: "NULL_FEED";
|
|
4668
|
-
readonly outputs: readonly [{
|
|
4669
|
-
readonly internalType: "int8";
|
|
4670
|
-
readonly name: "";
|
|
4671
|
-
readonly type: "int8";
|
|
4672
4699
|
}];
|
|
4673
|
-
readonly stateMutability: "
|
|
4674
|
-
readonly type: "function";
|
|
4700
|
+
readonly stateMutability: "pure";
|
|
4675
4701
|
}, {
|
|
4676
|
-
readonly inputs: readonly [];
|
|
4677
|
-
readonly name: "RATE_VERIFIER";
|
|
4678
|
-
readonly outputs: readonly [{
|
|
4679
|
-
readonly internalType: "address";
|
|
4680
|
-
readonly name: "";
|
|
4681
|
-
readonly type: "address";
|
|
4682
|
-
}];
|
|
4683
|
-
readonly stateMutability: "view";
|
|
4684
4702
|
readonly type: "function";
|
|
4685
|
-
|
|
4703
|
+
readonly name: "curveRouter";
|
|
4686
4704
|
readonly inputs: readonly [];
|
|
4687
|
-
readonly name: "acrossSpokePool";
|
|
4688
4705
|
readonly outputs: readonly [{
|
|
4689
|
-
readonly internalType: "contract V3SpokePoolInterface";
|
|
4690
4706
|
readonly name: "";
|
|
4691
4707
|
readonly type: "address";
|
|
4692
|
-
}];
|
|
4693
|
-
readonly stateMutability: "view";
|
|
4694
|
-
readonly type: "function";
|
|
4695
|
-
}, {
|
|
4696
|
-
readonly inputs: readonly [{
|
|
4697
|
-
readonly internalType: "uint256";
|
|
4698
|
-
readonly name: "amount";
|
|
4699
|
-
readonly type: "uint256";
|
|
4700
|
-
}, {
|
|
4701
|
-
readonly internalType: "uint256";
|
|
4702
|
-
readonly name: "feeBps";
|
|
4703
|
-
readonly type: "uint256";
|
|
4704
|
-
}];
|
|
4705
|
-
readonly name: "calculateFee";
|
|
4706
|
-
readonly outputs: readonly [{
|
|
4707
|
-
readonly internalType: "uint256";
|
|
4708
|
-
readonly name: "";
|
|
4709
|
-
readonly type: "uint256";
|
|
4710
|
-
}];
|
|
4711
|
-
readonly stateMutability: "pure";
|
|
4712
|
-
readonly type: "function";
|
|
4713
|
-
}, {
|
|
4714
|
-
readonly inputs: readonly [];
|
|
4715
|
-
readonly name: "curveRouter";
|
|
4716
|
-
readonly outputs: readonly [{
|
|
4717
4708
|
readonly internalType: "contract ICurveRouterNG";
|
|
4718
|
-
readonly name: "";
|
|
4719
|
-
readonly type: "address";
|
|
4720
4709
|
}];
|
|
4721
4710
|
readonly stateMutability: "view";
|
|
4722
|
-
readonly type: "function";
|
|
4723
4711
|
}, {
|
|
4712
|
+
readonly type: "function";
|
|
4713
|
+
readonly name: "emitConversionEvent";
|
|
4724
4714
|
readonly inputs: readonly [{
|
|
4715
|
+
readonly name: "priceFeeds";
|
|
4716
|
+
readonly type: "tuple[2]";
|
|
4717
|
+
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
4725
4718
|
readonly components: readonly [{
|
|
4726
|
-
readonly internalType: "address";
|
|
4727
4719
|
readonly name: "feedAddress";
|
|
4728
4720
|
readonly type: "address";
|
|
4721
|
+
readonly internalType: "address";
|
|
4729
4722
|
}, {
|
|
4730
|
-
readonly internalType: "int8";
|
|
4731
4723
|
readonly name: "feedType";
|
|
4732
4724
|
readonly type: "int8";
|
|
4725
|
+
readonly internalType: "int8";
|
|
4733
4726
|
}, {
|
|
4734
|
-
readonly internalType: "string";
|
|
4735
4727
|
readonly name: "currency";
|
|
4736
4728
|
readonly type: "string";
|
|
4729
|
+
readonly internalType: "string";
|
|
4737
4730
|
}, {
|
|
4738
|
-
readonly internalType: "uint256";
|
|
4739
4731
|
readonly name: "amount";
|
|
4740
4732
|
readonly type: "uint256";
|
|
4741
|
-
}, {
|
|
4742
4733
|
readonly internalType: "uint256";
|
|
4734
|
+
}, {
|
|
4743
4735
|
readonly name: "deadline";
|
|
4744
4736
|
readonly type: "uint256";
|
|
4737
|
+
readonly internalType: "uint256";
|
|
4745
4738
|
}, {
|
|
4746
|
-
readonly internalType: "bytes";
|
|
4747
4739
|
readonly name: "signature";
|
|
4748
4740
|
readonly type: "bytes";
|
|
4741
|
+
readonly internalType: "bytes";
|
|
4749
4742
|
}];
|
|
4750
|
-
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
4751
|
-
readonly name: "priceFeeds";
|
|
4752
|
-
readonly type: "tuple[2]";
|
|
4753
4743
|
}, {
|
|
4754
|
-
readonly internalType: "int256[2]";
|
|
4755
4744
|
readonly name: "prices";
|
|
4756
4745
|
readonly type: "int256[2]";
|
|
4746
|
+
readonly internalType: "int256[2]";
|
|
4757
4747
|
}];
|
|
4758
|
-
readonly name: "emitConversionEvent";
|
|
4759
4748
|
readonly outputs: readonly [];
|
|
4760
4749
|
readonly stateMutability: "nonpayable";
|
|
4761
|
-
readonly type: "function";
|
|
4762
4750
|
}, {
|
|
4751
|
+
readonly type: "function";
|
|
4752
|
+
readonly name: "exchangeRate";
|
|
4763
4753
|
readonly inputs: readonly [{
|
|
4754
|
+
readonly name: "priceFeeds";
|
|
4755
|
+
readonly type: "tuple[2]";
|
|
4756
|
+
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
4764
4757
|
readonly components: readonly [{
|
|
4765
|
-
readonly internalType: "address";
|
|
4766
4758
|
readonly name: "feedAddress";
|
|
4767
4759
|
readonly type: "address";
|
|
4760
|
+
readonly internalType: "address";
|
|
4768
4761
|
}, {
|
|
4769
|
-
readonly internalType: "int8";
|
|
4770
4762
|
readonly name: "feedType";
|
|
4771
4763
|
readonly type: "int8";
|
|
4764
|
+
readonly internalType: "int8";
|
|
4772
4765
|
}, {
|
|
4773
|
-
readonly internalType: "string";
|
|
4774
4766
|
readonly name: "currency";
|
|
4775
4767
|
readonly type: "string";
|
|
4768
|
+
readonly internalType: "string";
|
|
4776
4769
|
}, {
|
|
4777
|
-
readonly internalType: "uint256";
|
|
4778
4770
|
readonly name: "amount";
|
|
4779
4771
|
readonly type: "uint256";
|
|
4780
|
-
}, {
|
|
4781
4772
|
readonly internalType: "uint256";
|
|
4773
|
+
}, {
|
|
4782
4774
|
readonly name: "deadline";
|
|
4783
4775
|
readonly type: "uint256";
|
|
4776
|
+
readonly internalType: "uint256";
|
|
4784
4777
|
}, {
|
|
4785
|
-
readonly internalType: "bytes";
|
|
4786
4778
|
readonly name: "signature";
|
|
4787
4779
|
readonly type: "bytes";
|
|
4780
|
+
readonly internalType: "bytes";
|
|
4788
4781
|
}];
|
|
4789
|
-
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
4790
|
-
readonly name: "priceFeeds";
|
|
4791
|
-
readonly type: "tuple[2]";
|
|
4792
4782
|
}, {
|
|
4793
|
-
readonly internalType: "uint256";
|
|
4794
4783
|
readonly name: "amount";
|
|
4795
4784
|
readonly type: "uint256";
|
|
4785
|
+
readonly internalType: "uint256";
|
|
4796
4786
|
}];
|
|
4797
|
-
readonly name: "exchangeRate";
|
|
4798
4787
|
readonly outputs: readonly [{
|
|
4799
|
-
readonly internalType: "uint256";
|
|
4800
4788
|
readonly name: "converted";
|
|
4801
4789
|
readonly type: "uint256";
|
|
4790
|
+
readonly internalType: "uint256";
|
|
4802
4791
|
}, {
|
|
4803
|
-
readonly internalType: "address[2]";
|
|
4804
4792
|
readonly name: "priceFeedsUsed";
|
|
4805
4793
|
readonly type: "address[2]";
|
|
4794
|
+
readonly internalType: "address[2]";
|
|
4806
4795
|
}, {
|
|
4807
|
-
readonly internalType: "int256[2]";
|
|
4808
4796
|
readonly name: "prices";
|
|
4809
4797
|
readonly type: "int256[2]";
|
|
4798
|
+
readonly internalType: "int256[2]";
|
|
4810
4799
|
}];
|
|
4811
4800
|
readonly stateMutability: "view";
|
|
4812
|
-
readonly type: "function";
|
|
4813
4801
|
}, {
|
|
4802
|
+
readonly type: "function";
|
|
4803
|
+
readonly name: "sweep";
|
|
4814
4804
|
readonly inputs: readonly [{
|
|
4815
|
-
readonly internalType: "address";
|
|
4816
4805
|
readonly name: "token";
|
|
4817
4806
|
readonly type: "address";
|
|
4807
|
+
readonly internalType: "address";
|
|
4818
4808
|
}];
|
|
4819
|
-
readonly name: "sweep";
|
|
4820
4809
|
readonly outputs: readonly [];
|
|
4821
4810
|
readonly stateMutability: "nonpayable";
|
|
4822
|
-
readonly type: "function";
|
|
4823
4811
|
}, {
|
|
4824
|
-
readonly
|
|
4812
|
+
readonly type: "function";
|
|
4825
4813
|
readonly name: "uniswapRouter";
|
|
4814
|
+
readonly inputs: readonly [];
|
|
4826
4815
|
readonly outputs: readonly [{
|
|
4827
|
-
readonly internalType: "contract ISwapRouter02";
|
|
4828
4816
|
readonly name: "";
|
|
4829
4817
|
readonly type: "address";
|
|
4818
|
+
readonly internalType: "contract ISwapRouter02";
|
|
4830
4819
|
}];
|
|
4831
4820
|
readonly stateMutability: "view";
|
|
4832
|
-
readonly type: "function";
|
|
4833
4821
|
}, {
|
|
4822
|
+
readonly type: "function";
|
|
4823
|
+
readonly name: "verifyRateSignature";
|
|
4834
4824
|
readonly inputs: readonly [{
|
|
4825
|
+
readonly name: "priceFeed";
|
|
4826
|
+
readonly type: "tuple";
|
|
4827
|
+
readonly internalType: "struct AbstractYodlRouter.PriceFeed";
|
|
4835
4828
|
readonly components: readonly [{
|
|
4836
|
-
readonly internalType: "address";
|
|
4837
4829
|
readonly name: "feedAddress";
|
|
4838
4830
|
readonly type: "address";
|
|
4831
|
+
readonly internalType: "address";
|
|
4839
4832
|
}, {
|
|
4840
|
-
readonly internalType: "int8";
|
|
4841
4833
|
readonly name: "feedType";
|
|
4842
4834
|
readonly type: "int8";
|
|
4835
|
+
readonly internalType: "int8";
|
|
4843
4836
|
}, {
|
|
4844
|
-
readonly internalType: "string";
|
|
4845
4837
|
readonly name: "currency";
|
|
4846
4838
|
readonly type: "string";
|
|
4839
|
+
readonly internalType: "string";
|
|
4847
4840
|
}, {
|
|
4848
|
-
readonly internalType: "uint256";
|
|
4849
4841
|
readonly name: "amount";
|
|
4850
4842
|
readonly type: "uint256";
|
|
4851
|
-
}, {
|
|
4852
4843
|
readonly internalType: "uint256";
|
|
4844
|
+
}, {
|
|
4853
4845
|
readonly name: "deadline";
|
|
4854
4846
|
readonly type: "uint256";
|
|
4847
|
+
readonly internalType: "uint256";
|
|
4855
4848
|
}, {
|
|
4856
|
-
readonly internalType: "bytes";
|
|
4857
4849
|
readonly name: "signature";
|
|
4858
4850
|
readonly type: "bytes";
|
|
4851
|
+
readonly internalType: "bytes";
|
|
4859
4852
|
}];
|
|
4860
|
-
readonly internalType: "struct AbstractYodlRouter.PriceFeed";
|
|
4861
|
-
readonly name: "priceFeed";
|
|
4862
|
-
readonly type: "tuple";
|
|
4863
4853
|
}];
|
|
4864
|
-
readonly name: "verifyRateSignature";
|
|
4865
4854
|
readonly outputs: readonly [{
|
|
4866
|
-
readonly internalType: "bool";
|
|
4867
4855
|
readonly name: "";
|
|
4868
4856
|
readonly type: "bool";
|
|
4857
|
+
readonly internalType: "bool";
|
|
4869
4858
|
}];
|
|
4870
4859
|
readonly stateMutability: "view";
|
|
4871
|
-
readonly type: "function";
|
|
4872
4860
|
}, {
|
|
4873
|
-
readonly
|
|
4861
|
+
readonly type: "function";
|
|
4874
4862
|
readonly name: "version";
|
|
4863
|
+
readonly inputs: readonly [];
|
|
4875
4864
|
readonly outputs: readonly [{
|
|
4876
|
-
readonly internalType: "string";
|
|
4877
4865
|
readonly name: "";
|
|
4878
4866
|
readonly type: "string";
|
|
4867
|
+
readonly internalType: "string";
|
|
4879
4868
|
}];
|
|
4880
4869
|
readonly stateMutability: "view";
|
|
4881
|
-
readonly type: "function";
|
|
4882
4870
|
}, {
|
|
4883
|
-
readonly
|
|
4871
|
+
readonly type: "function";
|
|
4884
4872
|
readonly name: "wrappedNativeToken";
|
|
4873
|
+
readonly inputs: readonly [];
|
|
4885
4874
|
readonly outputs: readonly [{
|
|
4886
|
-
readonly internalType: "contract IWETH9";
|
|
4887
4875
|
readonly name: "";
|
|
4888
4876
|
readonly type: "address";
|
|
4877
|
+
readonly internalType: "contract IWETH9";
|
|
4889
4878
|
}];
|
|
4890
4879
|
readonly stateMutability: "view";
|
|
4891
|
-
readonly type: "function";
|
|
4892
4880
|
}, {
|
|
4893
|
-
readonly
|
|
4881
|
+
readonly type: "function";
|
|
4894
4882
|
readonly name: "yodlFeeBps";
|
|
4883
|
+
readonly inputs: readonly [];
|
|
4895
4884
|
readonly outputs: readonly [{
|
|
4896
|
-
readonly internalType: "uint256";
|
|
4897
4885
|
readonly name: "";
|
|
4898
4886
|
readonly type: "uint256";
|
|
4887
|
+
readonly internalType: "uint256";
|
|
4899
4888
|
}];
|
|
4900
4889
|
readonly stateMutability: "view";
|
|
4901
|
-
readonly type: "function";
|
|
4902
4890
|
}, {
|
|
4903
|
-
readonly
|
|
4891
|
+
readonly type: "function";
|
|
4904
4892
|
readonly name: "yodlFeeTreasury";
|
|
4893
|
+
readonly inputs: readonly [];
|
|
4905
4894
|
readonly outputs: readonly [{
|
|
4906
|
-
readonly internalType: "address";
|
|
4907
4895
|
readonly name: "";
|
|
4908
4896
|
readonly type: "address";
|
|
4897
|
+
readonly internalType: "address";
|
|
4909
4898
|
}];
|
|
4910
4899
|
readonly stateMutability: "view";
|
|
4911
|
-
readonly type: "function";
|
|
4912
4900
|
}, {
|
|
4901
|
+
readonly type: "function";
|
|
4902
|
+
readonly name: "yodlWithAcross";
|
|
4913
4903
|
readonly inputs: readonly [{
|
|
4904
|
+
readonly name: "params";
|
|
4905
|
+
readonly type: "tuple";
|
|
4906
|
+
readonly internalType: "struct YodlAcrossRouter.YodlAcrossParams";
|
|
4914
4907
|
readonly components: readonly [{
|
|
4915
|
-
readonly internalType: "bytes32";
|
|
4916
4908
|
readonly name: "memo";
|
|
4917
4909
|
readonly type: "bytes32";
|
|
4910
|
+
readonly internalType: "bytes32";
|
|
4918
4911
|
}, {
|
|
4919
|
-
readonly internalType: "uint256";
|
|
4920
4912
|
readonly name: "amount";
|
|
4921
4913
|
readonly type: "uint256";
|
|
4914
|
+
readonly internalType: "uint256";
|
|
4922
4915
|
}, {
|
|
4916
|
+
readonly name: "priceFeeds";
|
|
4917
|
+
readonly type: "tuple[2]";
|
|
4918
|
+
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
4923
4919
|
readonly components: readonly [{
|
|
4924
|
-
readonly internalType: "address";
|
|
4925
4920
|
readonly name: "feedAddress";
|
|
4926
4921
|
readonly type: "address";
|
|
4922
|
+
readonly internalType: "address";
|
|
4927
4923
|
}, {
|
|
4928
|
-
readonly internalType: "int8";
|
|
4929
4924
|
readonly name: "feedType";
|
|
4930
4925
|
readonly type: "int8";
|
|
4926
|
+
readonly internalType: "int8";
|
|
4931
4927
|
}, {
|
|
4932
|
-
readonly internalType: "string";
|
|
4933
4928
|
readonly name: "currency";
|
|
4934
4929
|
readonly type: "string";
|
|
4930
|
+
readonly internalType: "string";
|
|
4935
4931
|
}, {
|
|
4936
|
-
readonly internalType: "uint256";
|
|
4937
4932
|
readonly name: "amount";
|
|
4938
4933
|
readonly type: "uint256";
|
|
4939
|
-
}, {
|
|
4940
4934
|
readonly internalType: "uint256";
|
|
4935
|
+
}, {
|
|
4941
4936
|
readonly name: "deadline";
|
|
4942
4937
|
readonly type: "uint256";
|
|
4938
|
+
readonly internalType: "uint256";
|
|
4943
4939
|
}, {
|
|
4944
|
-
readonly internalType: "bytes";
|
|
4945
4940
|
readonly name: "signature";
|
|
4946
4941
|
readonly type: "bytes";
|
|
4942
|
+
readonly internalType: "bytes";
|
|
4947
4943
|
}];
|
|
4948
|
-
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
4949
|
-
readonly name: "priceFeeds";
|
|
4950
|
-
readonly type: "tuple[2]";
|
|
4951
4944
|
}, {
|
|
4952
|
-
readonly internalType: "address";
|
|
4953
4945
|
readonly name: "token";
|
|
4954
4946
|
readonly type: "address";
|
|
4955
|
-
}, {
|
|
4956
4947
|
readonly internalType: "address";
|
|
4948
|
+
}, {
|
|
4957
4949
|
readonly name: "receiver";
|
|
4958
4950
|
readonly type: "address";
|
|
4959
|
-
}, {
|
|
4960
4951
|
readonly internalType: "address";
|
|
4952
|
+
}, {
|
|
4961
4953
|
readonly name: "extraFeeReceiver";
|
|
4962
4954
|
readonly type: "address";
|
|
4955
|
+
readonly internalType: "address";
|
|
4963
4956
|
}, {
|
|
4964
|
-
readonly internalType: "uint256";
|
|
4965
4957
|
readonly name: "extraFeeBps";
|
|
4966
4958
|
readonly type: "uint256";
|
|
4967
|
-
}, {
|
|
4968
4959
|
readonly internalType: "uint256";
|
|
4960
|
+
}, {
|
|
4969
4961
|
readonly name: "yd";
|
|
4970
4962
|
readonly type: "uint256";
|
|
4963
|
+
readonly internalType: "uint256";
|
|
4971
4964
|
}, {
|
|
4965
|
+
readonly name: "guards";
|
|
4966
|
+
readonly type: "tuple[]";
|
|
4967
|
+
readonly internalType: "struct AbstractYodlRouter.Guard[]";
|
|
4972
4968
|
readonly components: readonly [{
|
|
4973
|
-
readonly internalType: "address";
|
|
4974
4969
|
readonly name: "guardAddress";
|
|
4975
4970
|
readonly type: "address";
|
|
4971
|
+
readonly internalType: "address";
|
|
4976
4972
|
}, {
|
|
4977
|
-
readonly internalType: "bytes[]";
|
|
4978
4973
|
readonly name: "payload";
|
|
4979
4974
|
readonly type: "bytes[]";
|
|
4975
|
+
readonly internalType: "bytes[]";
|
|
4980
4976
|
}];
|
|
4981
|
-
readonly internalType: "struct AbstractYodlRouter.Guard[]";
|
|
4982
|
-
readonly name: "guards";
|
|
4983
|
-
readonly type: "tuple[]";
|
|
4984
4977
|
}, {
|
|
4978
|
+
readonly name: "webhooks";
|
|
4979
|
+
readonly type: "tuple[]";
|
|
4980
|
+
readonly internalType: "struct AbstractYodlRouter.Webhook[]";
|
|
4985
4981
|
readonly components: readonly [{
|
|
4986
|
-
readonly internalType: "address";
|
|
4987
4982
|
readonly name: "webhookAddress";
|
|
4988
4983
|
readonly type: "address";
|
|
4984
|
+
readonly internalType: "address";
|
|
4989
4985
|
}, {
|
|
4990
|
-
readonly internalType: "bytes[]";
|
|
4991
4986
|
readonly name: "payload";
|
|
4992
4987
|
readonly type: "bytes[]";
|
|
4988
|
+
readonly internalType: "bytes[]";
|
|
4993
4989
|
}];
|
|
4994
|
-
readonly internalType: "struct AbstractYodlRouter.Webhook[]";
|
|
4995
|
-
readonly name: "webhooks";
|
|
4996
|
-
readonly type: "tuple[]";
|
|
4997
4990
|
}, {
|
|
4998
|
-
readonly internalType: "address";
|
|
4999
4991
|
readonly name: "outputToken";
|
|
5000
4992
|
readonly type: "address";
|
|
4993
|
+
readonly internalType: "address";
|
|
5001
4994
|
}, {
|
|
5002
|
-
readonly internalType: "uint256";
|
|
5003
4995
|
readonly name: "outputAmount";
|
|
5004
4996
|
readonly type: "uint256";
|
|
5005
|
-
}, {
|
|
5006
4997
|
readonly internalType: "uint256";
|
|
4998
|
+
}, {
|
|
5007
4999
|
readonly name: "destinationChainId";
|
|
5008
5000
|
readonly type: "uint256";
|
|
5001
|
+
readonly internalType: "uint256";
|
|
5009
5002
|
}, {
|
|
5010
|
-
readonly internalType: "address";
|
|
5011
5003
|
readonly name: "exclusiveRelayer";
|
|
5012
5004
|
readonly type: "address";
|
|
5005
|
+
readonly internalType: "address";
|
|
5013
5006
|
}, {
|
|
5014
|
-
readonly internalType: "uint32";
|
|
5015
5007
|
readonly name: "quoteTimestamp";
|
|
5016
5008
|
readonly type: "uint32";
|
|
5017
|
-
}, {
|
|
5018
5009
|
readonly internalType: "uint32";
|
|
5010
|
+
}, {
|
|
5019
5011
|
readonly name: "fillDeadline";
|
|
5020
5012
|
readonly type: "uint32";
|
|
5021
|
-
}, {
|
|
5022
5013
|
readonly internalType: "uint32";
|
|
5014
|
+
}, {
|
|
5023
5015
|
readonly name: "exclusivityDeadline";
|
|
5024
5016
|
readonly type: "uint32";
|
|
5017
|
+
readonly internalType: "uint32";
|
|
5025
5018
|
}, {
|
|
5026
|
-
readonly internalType: "bytes";
|
|
5027
5019
|
readonly name: "message";
|
|
5028
5020
|
readonly type: "bytes";
|
|
5021
|
+
readonly internalType: "bytes";
|
|
5029
5022
|
}];
|
|
5030
|
-
readonly internalType: "struct YodlAcrossRouter.YodlAcrossParams";
|
|
5031
|
-
readonly name: "params";
|
|
5032
|
-
readonly type: "tuple";
|
|
5033
5023
|
}];
|
|
5034
|
-
readonly name: "yodlWithAcross";
|
|
5035
5024
|
readonly outputs: readonly [{
|
|
5036
|
-
readonly internalType: "uint256";
|
|
5037
5025
|
readonly name: "";
|
|
5038
5026
|
readonly type: "uint256";
|
|
5027
|
+
readonly internalType: "uint256";
|
|
5039
5028
|
}];
|
|
5040
5029
|
readonly stateMutability: "payable";
|
|
5041
|
-
readonly type: "function";
|
|
5042
5030
|
}, {
|
|
5031
|
+
readonly type: "function";
|
|
5032
|
+
readonly name: "yodlWithCurve";
|
|
5043
5033
|
readonly inputs: readonly [{
|
|
5034
|
+
readonly name: "params";
|
|
5035
|
+
readonly type: "tuple";
|
|
5036
|
+
readonly internalType: "struct YodlCurveRouter.YodlCurveParams";
|
|
5044
5037
|
readonly components: readonly [{
|
|
5045
|
-
readonly internalType: "address";
|
|
5046
5038
|
readonly name: "sender";
|
|
5047
5039
|
readonly type: "address";
|
|
5048
|
-
}, {
|
|
5049
5040
|
readonly internalType: "address";
|
|
5041
|
+
}, {
|
|
5050
5042
|
readonly name: "receiver";
|
|
5051
5043
|
readonly type: "address";
|
|
5044
|
+
readonly internalType: "address";
|
|
5052
5045
|
}, {
|
|
5053
|
-
readonly internalType: "uint256";
|
|
5054
5046
|
readonly name: "amountIn";
|
|
5055
5047
|
readonly type: "uint256";
|
|
5056
|
-
}, {
|
|
5057
5048
|
readonly internalType: "uint256";
|
|
5049
|
+
}, {
|
|
5058
5050
|
readonly name: "amountOut";
|
|
5059
5051
|
readonly type: "uint256";
|
|
5052
|
+
readonly internalType: "uint256";
|
|
5060
5053
|
}, {
|
|
5061
|
-
readonly internalType: "bytes32";
|
|
5062
5054
|
readonly name: "memo";
|
|
5063
5055
|
readonly type: "bytes32";
|
|
5056
|
+
readonly internalType: "bytes32";
|
|
5064
5057
|
}, {
|
|
5065
|
-
readonly internalType: "address[11]";
|
|
5066
5058
|
readonly name: "route";
|
|
5067
5059
|
readonly type: "address[11]";
|
|
5060
|
+
readonly internalType: "address[11]";
|
|
5068
5061
|
}, {
|
|
5069
|
-
readonly internalType: "uint256[5][5]";
|
|
5070
5062
|
readonly name: "swapParams";
|
|
5071
5063
|
readonly type: "uint256[5][5]";
|
|
5064
|
+
readonly internalType: "uint256[5][5]";
|
|
5072
5065
|
}, {
|
|
5073
|
-
readonly internalType: "address[5]";
|
|
5074
5066
|
readonly name: "pools";
|
|
5075
5067
|
readonly type: "address[5]";
|
|
5068
|
+
readonly internalType: "address[5]";
|
|
5076
5069
|
}, {
|
|
5070
|
+
readonly name: "priceFeeds";
|
|
5071
|
+
readonly type: "tuple[2]";
|
|
5072
|
+
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
5077
5073
|
readonly components: readonly [{
|
|
5078
|
-
readonly internalType: "address";
|
|
5079
5074
|
readonly name: "feedAddress";
|
|
5080
5075
|
readonly type: "address";
|
|
5076
|
+
readonly internalType: "address";
|
|
5081
5077
|
}, {
|
|
5082
|
-
readonly internalType: "int8";
|
|
5083
5078
|
readonly name: "feedType";
|
|
5084
5079
|
readonly type: "int8";
|
|
5080
|
+
readonly internalType: "int8";
|
|
5085
5081
|
}, {
|
|
5086
|
-
readonly internalType: "string";
|
|
5087
5082
|
readonly name: "currency";
|
|
5088
5083
|
readonly type: "string";
|
|
5084
|
+
readonly internalType: "string";
|
|
5089
5085
|
}, {
|
|
5090
|
-
readonly internalType: "uint256";
|
|
5091
5086
|
readonly name: "amount";
|
|
5092
5087
|
readonly type: "uint256";
|
|
5093
|
-
}, {
|
|
5094
5088
|
readonly internalType: "uint256";
|
|
5089
|
+
}, {
|
|
5095
5090
|
readonly name: "deadline";
|
|
5096
5091
|
readonly type: "uint256";
|
|
5092
|
+
readonly internalType: "uint256";
|
|
5097
5093
|
}, {
|
|
5098
|
-
readonly internalType: "bytes";
|
|
5099
5094
|
readonly name: "signature";
|
|
5100
5095
|
readonly type: "bytes";
|
|
5096
|
+
readonly internalType: "bytes";
|
|
5101
5097
|
}];
|
|
5102
|
-
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
5103
|
-
readonly name: "priceFeeds";
|
|
5104
|
-
readonly type: "tuple[2]";
|
|
5105
5098
|
}, {
|
|
5106
|
-
readonly internalType: "address";
|
|
5107
5099
|
readonly name: "extraFeeReceiver";
|
|
5108
5100
|
readonly type: "address";
|
|
5101
|
+
readonly internalType: "address";
|
|
5109
5102
|
}, {
|
|
5110
|
-
readonly internalType: "uint256";
|
|
5111
5103
|
readonly name: "extraFeeBps";
|
|
5112
5104
|
readonly type: "uint256";
|
|
5113
|
-
}, {
|
|
5114
5105
|
readonly internalType: "uint256";
|
|
5106
|
+
}, {
|
|
5115
5107
|
readonly name: "yd";
|
|
5116
5108
|
readonly type: "uint256";
|
|
5109
|
+
readonly internalType: "uint256";
|
|
5117
5110
|
}, {
|
|
5111
|
+
readonly name: "guards";
|
|
5112
|
+
readonly type: "tuple[]";
|
|
5113
|
+
readonly internalType: "struct AbstractYodlRouter.Guard[]";
|
|
5118
5114
|
readonly components: readonly [{
|
|
5119
|
-
readonly internalType: "address";
|
|
5120
5115
|
readonly name: "guardAddress";
|
|
5121
5116
|
readonly type: "address";
|
|
5117
|
+
readonly internalType: "address";
|
|
5122
5118
|
}, {
|
|
5123
|
-
readonly internalType: "bytes[]";
|
|
5124
5119
|
readonly name: "payload";
|
|
5125
5120
|
readonly type: "bytes[]";
|
|
5121
|
+
readonly internalType: "bytes[]";
|
|
5126
5122
|
}];
|
|
5127
|
-
readonly internalType: "struct AbstractYodlRouter.Guard[]";
|
|
5128
|
-
readonly name: "guards";
|
|
5129
|
-
readonly type: "tuple[]";
|
|
5130
5123
|
}, {
|
|
5124
|
+
readonly name: "webhooks";
|
|
5125
|
+
readonly type: "tuple[]";
|
|
5126
|
+
readonly internalType: "struct AbstractYodlRouter.Webhook[]";
|
|
5131
5127
|
readonly components: readonly [{
|
|
5132
|
-
readonly internalType: "address";
|
|
5133
5128
|
readonly name: "webhookAddress";
|
|
5134
5129
|
readonly type: "address";
|
|
5130
|
+
readonly internalType: "address";
|
|
5135
5131
|
}, {
|
|
5136
|
-
readonly internalType: "bytes[]";
|
|
5137
5132
|
readonly name: "payload";
|
|
5138
5133
|
readonly type: "bytes[]";
|
|
5134
|
+
readonly internalType: "bytes[]";
|
|
5139
5135
|
}];
|
|
5140
|
-
readonly internalType: "struct AbstractYodlRouter.Webhook[]";
|
|
5141
|
-
readonly name: "webhooks";
|
|
5142
|
-
readonly type: "tuple[]";
|
|
5143
5136
|
}];
|
|
5144
|
-
readonly internalType: "struct YodlCurveRouter.YodlCurveParams";
|
|
5145
|
-
readonly name: "params";
|
|
5146
|
-
readonly type: "tuple";
|
|
5147
5137
|
}];
|
|
5148
|
-
readonly name: "yodlWithCurve";
|
|
5149
5138
|
readonly outputs: readonly [{
|
|
5150
|
-
readonly internalType: "uint256";
|
|
5151
5139
|
readonly name: "";
|
|
5152
5140
|
readonly type: "uint256";
|
|
5141
|
+
readonly internalType: "uint256";
|
|
5153
5142
|
}];
|
|
5154
5143
|
readonly stateMutability: "payable";
|
|
5155
|
-
readonly type: "function";
|
|
5156
5144
|
}, {
|
|
5145
|
+
readonly type: "function";
|
|
5146
|
+
readonly name: "yodlWithExternal";
|
|
5157
5147
|
readonly inputs: readonly [{
|
|
5148
|
+
readonly name: "params";
|
|
5149
|
+
readonly type: "tuple";
|
|
5150
|
+
readonly internalType: "struct YodlExternalFundingRouter.YodlExternalFundingParams";
|
|
5158
5151
|
readonly components: readonly [{
|
|
5159
|
-
readonly internalType: "bytes32";
|
|
5160
5152
|
readonly name: "memo";
|
|
5161
5153
|
readonly type: "bytes32";
|
|
5154
|
+
readonly internalType: "bytes32";
|
|
5162
5155
|
}, {
|
|
5163
|
-
readonly internalType: "uint256";
|
|
5164
5156
|
readonly name: "outAmountGross";
|
|
5165
5157
|
readonly type: "uint256";
|
|
5166
|
-
}, {
|
|
5167
5158
|
readonly internalType: "uint256";
|
|
5159
|
+
}, {
|
|
5168
5160
|
readonly name: "invoiceAmount";
|
|
5169
5161
|
readonly type: "uint256";
|
|
5162
|
+
readonly internalType: "uint256";
|
|
5170
5163
|
}, {
|
|
5164
|
+
readonly name: "priceFeeds";
|
|
5165
|
+
readonly type: "tuple[2]";
|
|
5166
|
+
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
5171
5167
|
readonly components: readonly [{
|
|
5172
|
-
readonly internalType: "address";
|
|
5173
5168
|
readonly name: "feedAddress";
|
|
5174
5169
|
readonly type: "address";
|
|
5170
|
+
readonly internalType: "address";
|
|
5175
5171
|
}, {
|
|
5176
|
-
readonly internalType: "int8";
|
|
5177
5172
|
readonly name: "feedType";
|
|
5178
5173
|
readonly type: "int8";
|
|
5174
|
+
readonly internalType: "int8";
|
|
5179
5175
|
}, {
|
|
5180
|
-
readonly internalType: "string";
|
|
5181
5176
|
readonly name: "currency";
|
|
5182
5177
|
readonly type: "string";
|
|
5178
|
+
readonly internalType: "string";
|
|
5183
5179
|
}, {
|
|
5184
|
-
readonly internalType: "uint256";
|
|
5185
5180
|
readonly name: "amount";
|
|
5186
5181
|
readonly type: "uint256";
|
|
5187
|
-
}, {
|
|
5188
5182
|
readonly internalType: "uint256";
|
|
5183
|
+
}, {
|
|
5189
5184
|
readonly name: "deadline";
|
|
5190
5185
|
readonly type: "uint256";
|
|
5186
|
+
readonly internalType: "uint256";
|
|
5191
5187
|
}, {
|
|
5192
|
-
readonly internalType: "bytes";
|
|
5193
5188
|
readonly name: "signature";
|
|
5194
5189
|
readonly type: "bytes";
|
|
5190
|
+
readonly internalType: "bytes";
|
|
5195
5191
|
}];
|
|
5196
|
-
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
5197
|
-
readonly name: "priceFeeds";
|
|
5198
|
-
readonly type: "tuple[2]";
|
|
5199
5192
|
}, {
|
|
5200
|
-
readonly internalType: "address";
|
|
5201
5193
|
readonly name: "token";
|
|
5202
5194
|
readonly type: "address";
|
|
5203
|
-
}, {
|
|
5204
5195
|
readonly internalType: "address";
|
|
5196
|
+
}, {
|
|
5205
5197
|
readonly name: "receiver";
|
|
5206
5198
|
readonly type: "address";
|
|
5207
|
-
}, {
|
|
5208
5199
|
readonly internalType: "address";
|
|
5200
|
+
}, {
|
|
5209
5201
|
readonly name: "extraFeeReceiver";
|
|
5210
5202
|
readonly type: "address";
|
|
5203
|
+
readonly internalType: "address";
|
|
5211
5204
|
}, {
|
|
5212
|
-
readonly internalType: "uint256";
|
|
5213
5205
|
readonly name: "extraFeeBps";
|
|
5214
5206
|
readonly type: "uint256";
|
|
5215
|
-
}, {
|
|
5216
5207
|
readonly internalType: "uint256";
|
|
5208
|
+
}, {
|
|
5217
5209
|
readonly name: "yd";
|
|
5218
5210
|
readonly type: "uint256";
|
|
5211
|
+
readonly internalType: "uint256";
|
|
5219
5212
|
}, {
|
|
5213
|
+
readonly name: "guards";
|
|
5214
|
+
readonly type: "tuple[]";
|
|
5215
|
+
readonly internalType: "struct AbstractYodlRouter.Guard[]";
|
|
5220
5216
|
readonly components: readonly [{
|
|
5221
|
-
readonly internalType: "address";
|
|
5222
5217
|
readonly name: "guardAddress";
|
|
5223
5218
|
readonly type: "address";
|
|
5219
|
+
readonly internalType: "address";
|
|
5224
5220
|
}, {
|
|
5225
|
-
readonly internalType: "bytes[]";
|
|
5226
5221
|
readonly name: "payload";
|
|
5227
5222
|
readonly type: "bytes[]";
|
|
5223
|
+
readonly internalType: "bytes[]";
|
|
5228
5224
|
}];
|
|
5229
|
-
readonly internalType: "struct AbstractYodlRouter.Guard[]";
|
|
5230
|
-
readonly name: "guards";
|
|
5231
|
-
readonly type: "tuple[]";
|
|
5232
5225
|
}, {
|
|
5226
|
+
readonly name: "webhooks";
|
|
5227
|
+
readonly type: "tuple[]";
|
|
5228
|
+
readonly internalType: "struct AbstractYodlRouter.Webhook[]";
|
|
5233
5229
|
readonly components: readonly [{
|
|
5234
|
-
readonly internalType: "address";
|
|
5235
5230
|
readonly name: "webhookAddress";
|
|
5236
5231
|
readonly type: "address";
|
|
5232
|
+
readonly internalType: "address";
|
|
5237
5233
|
}, {
|
|
5238
|
-
readonly internalType: "bytes[]";
|
|
5239
5234
|
readonly name: "payload";
|
|
5240
5235
|
readonly type: "bytes[]";
|
|
5236
|
+
readonly internalType: "bytes[]";
|
|
5241
5237
|
}];
|
|
5242
|
-
readonly internalType: "struct AbstractYodlRouter.Webhook[]";
|
|
5243
|
-
readonly name: "webhooks";
|
|
5244
|
-
readonly type: "tuple[]";
|
|
5245
5238
|
}, {
|
|
5246
|
-
readonly internalType: "uint256";
|
|
5247
5239
|
readonly name: "convenienceFeeBps";
|
|
5248
5240
|
readonly type: "uint256";
|
|
5241
|
+
readonly internalType: "uint256";
|
|
5249
5242
|
}];
|
|
5250
|
-
readonly internalType: "struct YodlExternalFundingRouter.YodlExternalFundingParams";
|
|
5251
|
-
readonly name: "params";
|
|
5252
|
-
readonly type: "tuple";
|
|
5253
5243
|
}];
|
|
5254
|
-
readonly name: "yodlWithExternal";
|
|
5255
5244
|
readonly outputs: readonly [{
|
|
5256
|
-
readonly internalType: "uint256";
|
|
5257
5245
|
readonly name: "";
|
|
5258
5246
|
readonly type: "uint256";
|
|
5247
|
+
readonly internalType: "uint256";
|
|
5259
5248
|
}];
|
|
5260
5249
|
readonly stateMutability: "payable";
|
|
5261
|
-
readonly type: "function";
|
|
5262
5250
|
}, {
|
|
5251
|
+
readonly type: "function";
|
|
5252
|
+
readonly name: "yodlWithPancake";
|
|
5263
5253
|
readonly inputs: readonly [{
|
|
5254
|
+
readonly name: "params";
|
|
5255
|
+
readonly type: "tuple";
|
|
5256
|
+
readonly internalType: "struct YodlUniswapRouter.YodlUniswapParams";
|
|
5264
5257
|
readonly components: readonly [{
|
|
5265
|
-
readonly
|
|
5266
|
-
readonly
|
|
5267
|
-
readonly
|
|
5258
|
+
readonly name: "sender";
|
|
5259
|
+
readonly type: "address";
|
|
5260
|
+
readonly internalType: "address";
|
|
5261
|
+
}, {
|
|
5262
|
+
readonly name: "receiver";
|
|
5263
|
+
readonly type: "address";
|
|
5264
|
+
readonly internalType: "address";
|
|
5268
5265
|
}, {
|
|
5266
|
+
readonly name: "amountIn";
|
|
5267
|
+
readonly type: "uint256";
|
|
5269
5268
|
readonly internalType: "uint256";
|
|
5270
|
-
|
|
5269
|
+
}, {
|
|
5270
|
+
readonly name: "amountOut";
|
|
5271
5271
|
readonly type: "uint256";
|
|
5272
|
+
readonly internalType: "uint256";
|
|
5273
|
+
}, {
|
|
5274
|
+
readonly name: "memo";
|
|
5275
|
+
readonly type: "bytes32";
|
|
5276
|
+
readonly internalType: "bytes32";
|
|
5277
|
+
}, {
|
|
5278
|
+
readonly name: "path";
|
|
5279
|
+
readonly type: "bytes";
|
|
5280
|
+
readonly internalType: "bytes";
|
|
5272
5281
|
}, {
|
|
5282
|
+
readonly name: "priceFeeds";
|
|
5283
|
+
readonly type: "tuple[2]";
|
|
5284
|
+
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
5273
5285
|
readonly components: readonly [{
|
|
5274
|
-
readonly internalType: "address";
|
|
5275
5286
|
readonly name: "feedAddress";
|
|
5276
5287
|
readonly type: "address";
|
|
5288
|
+
readonly internalType: "address";
|
|
5277
5289
|
}, {
|
|
5278
|
-
readonly internalType: "int8";
|
|
5279
5290
|
readonly name: "feedType";
|
|
5280
5291
|
readonly type: "int8";
|
|
5292
|
+
readonly internalType: "int8";
|
|
5281
5293
|
}, {
|
|
5282
|
-
readonly internalType: "string";
|
|
5283
5294
|
readonly name: "currency";
|
|
5284
5295
|
readonly type: "string";
|
|
5296
|
+
readonly internalType: "string";
|
|
5285
5297
|
}, {
|
|
5286
|
-
readonly internalType: "uint256";
|
|
5287
5298
|
readonly name: "amount";
|
|
5288
5299
|
readonly type: "uint256";
|
|
5289
|
-
}, {
|
|
5290
5300
|
readonly internalType: "uint256";
|
|
5301
|
+
}, {
|
|
5291
5302
|
readonly name: "deadline";
|
|
5292
5303
|
readonly type: "uint256";
|
|
5304
|
+
readonly internalType: "uint256";
|
|
5293
5305
|
}, {
|
|
5294
|
-
readonly internalType: "bytes";
|
|
5295
5306
|
readonly name: "signature";
|
|
5296
5307
|
readonly type: "bytes";
|
|
5308
|
+
readonly internalType: "bytes";
|
|
5297
5309
|
}];
|
|
5298
|
-
|
|
5310
|
+
}, {
|
|
5311
|
+
readonly name: "extraFeeReceiver";
|
|
5312
|
+
readonly type: "address";
|
|
5313
|
+
readonly internalType: "address";
|
|
5314
|
+
}, {
|
|
5315
|
+
readonly name: "extraFeeBps";
|
|
5316
|
+
readonly type: "uint256";
|
|
5317
|
+
readonly internalType: "uint256";
|
|
5318
|
+
}, {
|
|
5319
|
+
readonly name: "swapType";
|
|
5320
|
+
readonly type: "uint8";
|
|
5321
|
+
readonly internalType: "enum YodlUniswapRouter.SwapType";
|
|
5322
|
+
}, {
|
|
5323
|
+
readonly name: "yd";
|
|
5324
|
+
readonly type: "uint256";
|
|
5325
|
+
readonly internalType: "uint256";
|
|
5326
|
+
}, {
|
|
5327
|
+
readonly name: "guards";
|
|
5328
|
+
readonly type: "tuple[]";
|
|
5329
|
+
readonly internalType: "struct AbstractYodlRouter.Guard[]";
|
|
5330
|
+
readonly components: readonly [{
|
|
5331
|
+
readonly name: "guardAddress";
|
|
5332
|
+
readonly type: "address";
|
|
5333
|
+
readonly internalType: "address";
|
|
5334
|
+
}, {
|
|
5335
|
+
readonly name: "payload";
|
|
5336
|
+
readonly type: "bytes[]";
|
|
5337
|
+
readonly internalType: "bytes[]";
|
|
5338
|
+
}];
|
|
5339
|
+
}, {
|
|
5340
|
+
readonly name: "webhooks";
|
|
5341
|
+
readonly type: "tuple[]";
|
|
5342
|
+
readonly internalType: "struct AbstractYodlRouter.Webhook[]";
|
|
5343
|
+
readonly components: readonly [{
|
|
5344
|
+
readonly name: "webhookAddress";
|
|
5345
|
+
readonly type: "address";
|
|
5346
|
+
readonly internalType: "address";
|
|
5347
|
+
}, {
|
|
5348
|
+
readonly name: "payload";
|
|
5349
|
+
readonly type: "bytes[]";
|
|
5350
|
+
readonly internalType: "bytes[]";
|
|
5351
|
+
}];
|
|
5352
|
+
}];
|
|
5353
|
+
}];
|
|
5354
|
+
readonly outputs: readonly [{
|
|
5355
|
+
readonly name: "";
|
|
5356
|
+
readonly type: "uint256";
|
|
5357
|
+
readonly internalType: "uint256";
|
|
5358
|
+
}];
|
|
5359
|
+
readonly stateMutability: "payable";
|
|
5360
|
+
}, {
|
|
5361
|
+
readonly type: "function";
|
|
5362
|
+
readonly name: "yodlWithToken";
|
|
5363
|
+
readonly inputs: readonly [{
|
|
5364
|
+
readonly name: "params";
|
|
5365
|
+
readonly type: "tuple";
|
|
5366
|
+
readonly internalType: "struct YodlTransferRouter.YodlTransferParams";
|
|
5367
|
+
readonly components: readonly [{
|
|
5368
|
+
readonly name: "memo";
|
|
5369
|
+
readonly type: "bytes32";
|
|
5370
|
+
readonly internalType: "bytes32";
|
|
5371
|
+
}, {
|
|
5372
|
+
readonly name: "amount";
|
|
5373
|
+
readonly type: "uint256";
|
|
5374
|
+
readonly internalType: "uint256";
|
|
5375
|
+
}, {
|
|
5299
5376
|
readonly name: "priceFeeds";
|
|
5300
5377
|
readonly type: "tuple[2]";
|
|
5378
|
+
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
5379
|
+
readonly components: readonly [{
|
|
5380
|
+
readonly name: "feedAddress";
|
|
5381
|
+
readonly type: "address";
|
|
5382
|
+
readonly internalType: "address";
|
|
5383
|
+
}, {
|
|
5384
|
+
readonly name: "feedType";
|
|
5385
|
+
readonly type: "int8";
|
|
5386
|
+
readonly internalType: "int8";
|
|
5387
|
+
}, {
|
|
5388
|
+
readonly name: "currency";
|
|
5389
|
+
readonly type: "string";
|
|
5390
|
+
readonly internalType: "string";
|
|
5391
|
+
}, {
|
|
5392
|
+
readonly name: "amount";
|
|
5393
|
+
readonly type: "uint256";
|
|
5394
|
+
readonly internalType: "uint256";
|
|
5395
|
+
}, {
|
|
5396
|
+
readonly name: "deadline";
|
|
5397
|
+
readonly type: "uint256";
|
|
5398
|
+
readonly internalType: "uint256";
|
|
5399
|
+
}, {
|
|
5400
|
+
readonly name: "signature";
|
|
5401
|
+
readonly type: "bytes";
|
|
5402
|
+
readonly internalType: "bytes";
|
|
5403
|
+
}];
|
|
5301
5404
|
}, {
|
|
5302
|
-
readonly internalType: "address";
|
|
5303
5405
|
readonly name: "token";
|
|
5304
5406
|
readonly type: "address";
|
|
5305
|
-
}, {
|
|
5306
5407
|
readonly internalType: "address";
|
|
5408
|
+
}, {
|
|
5307
5409
|
readonly name: "receiver";
|
|
5308
5410
|
readonly type: "address";
|
|
5309
|
-
}, {
|
|
5310
5411
|
readonly internalType: "address";
|
|
5412
|
+
}, {
|
|
5311
5413
|
readonly name: "extraFeeReceiver";
|
|
5312
5414
|
readonly type: "address";
|
|
5415
|
+
readonly internalType: "address";
|
|
5313
5416
|
}, {
|
|
5314
|
-
readonly internalType: "uint256";
|
|
5315
5417
|
readonly name: "extraFeeBps";
|
|
5316
5418
|
readonly type: "uint256";
|
|
5317
|
-
}, {
|
|
5318
5419
|
readonly internalType: "uint256";
|
|
5420
|
+
}, {
|
|
5319
5421
|
readonly name: "yd";
|
|
5320
5422
|
readonly type: "uint256";
|
|
5423
|
+
readonly internalType: "uint256";
|
|
5321
5424
|
}, {
|
|
5425
|
+
readonly name: "guards";
|
|
5426
|
+
readonly type: "tuple[]";
|
|
5427
|
+
readonly internalType: "struct AbstractYodlRouter.Guard[]";
|
|
5322
5428
|
readonly components: readonly [{
|
|
5323
|
-
readonly internalType: "address";
|
|
5324
5429
|
readonly name: "guardAddress";
|
|
5325
5430
|
readonly type: "address";
|
|
5431
|
+
readonly internalType: "address";
|
|
5326
5432
|
}, {
|
|
5327
|
-
readonly internalType: "bytes[]";
|
|
5328
5433
|
readonly name: "payload";
|
|
5329
5434
|
readonly type: "bytes[]";
|
|
5435
|
+
readonly internalType: "bytes[]";
|
|
5330
5436
|
}];
|
|
5331
|
-
readonly internalType: "struct AbstractYodlRouter.Guard[]";
|
|
5332
|
-
readonly name: "guards";
|
|
5333
|
-
readonly type: "tuple[]";
|
|
5334
5437
|
}, {
|
|
5438
|
+
readonly name: "webhooks";
|
|
5439
|
+
readonly type: "tuple[]";
|
|
5440
|
+
readonly internalType: "struct AbstractYodlRouter.Webhook[]";
|
|
5335
5441
|
readonly components: readonly [{
|
|
5336
|
-
readonly internalType: "address";
|
|
5337
5442
|
readonly name: "webhookAddress";
|
|
5338
5443
|
readonly type: "address";
|
|
5444
|
+
readonly internalType: "address";
|
|
5339
5445
|
}, {
|
|
5340
|
-
readonly internalType: "bytes[]";
|
|
5341
5446
|
readonly name: "payload";
|
|
5342
5447
|
readonly type: "bytes[]";
|
|
5448
|
+
readonly internalType: "bytes[]";
|
|
5343
5449
|
}];
|
|
5344
|
-
readonly internalType: "struct AbstractYodlRouter.Webhook[]";
|
|
5345
|
-
readonly name: "webhooks";
|
|
5346
|
-
readonly type: "tuple[]";
|
|
5347
5450
|
}];
|
|
5348
|
-
readonly internalType: "struct YodlTransferRouter.YodlTransferParams";
|
|
5349
|
-
readonly name: "params";
|
|
5350
|
-
readonly type: "tuple";
|
|
5351
5451
|
}];
|
|
5352
|
-
readonly name: "yodlWithToken";
|
|
5353
5452
|
readonly outputs: readonly [{
|
|
5354
|
-
readonly internalType: "uint256";
|
|
5355
5453
|
readonly name: "";
|
|
5356
5454
|
readonly type: "uint256";
|
|
5455
|
+
readonly internalType: "uint256";
|
|
5357
5456
|
}];
|
|
5358
5457
|
readonly stateMutability: "payable";
|
|
5359
|
-
readonly type: "function";
|
|
5360
5458
|
}, {
|
|
5459
|
+
readonly type: "function";
|
|
5460
|
+
readonly name: "yodlWithUniswap";
|
|
5361
5461
|
readonly inputs: readonly [{
|
|
5462
|
+
readonly name: "params";
|
|
5463
|
+
readonly type: "tuple";
|
|
5464
|
+
readonly internalType: "struct YodlUniswapRouter.YodlUniswapParams";
|
|
5362
5465
|
readonly components: readonly [{
|
|
5363
|
-
readonly internalType: "address";
|
|
5364
5466
|
readonly name: "sender";
|
|
5365
5467
|
readonly type: "address";
|
|
5366
|
-
}, {
|
|
5367
5468
|
readonly internalType: "address";
|
|
5469
|
+
}, {
|
|
5368
5470
|
readonly name: "receiver";
|
|
5369
5471
|
readonly type: "address";
|
|
5472
|
+
readonly internalType: "address";
|
|
5370
5473
|
}, {
|
|
5371
|
-
readonly internalType: "uint256";
|
|
5372
5474
|
readonly name: "amountIn";
|
|
5373
5475
|
readonly type: "uint256";
|
|
5374
|
-
}, {
|
|
5375
5476
|
readonly internalType: "uint256";
|
|
5477
|
+
}, {
|
|
5376
5478
|
readonly name: "amountOut";
|
|
5377
5479
|
readonly type: "uint256";
|
|
5480
|
+
readonly internalType: "uint256";
|
|
5378
5481
|
}, {
|
|
5379
|
-
readonly internalType: "bytes32";
|
|
5380
5482
|
readonly name: "memo";
|
|
5381
5483
|
readonly type: "bytes32";
|
|
5484
|
+
readonly internalType: "bytes32";
|
|
5382
5485
|
}, {
|
|
5383
|
-
readonly internalType: "bytes";
|
|
5384
5486
|
readonly name: "path";
|
|
5385
5487
|
readonly type: "bytes";
|
|
5488
|
+
readonly internalType: "bytes";
|
|
5386
5489
|
}, {
|
|
5490
|
+
readonly name: "priceFeeds";
|
|
5491
|
+
readonly type: "tuple[2]";
|
|
5492
|
+
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
5387
5493
|
readonly components: readonly [{
|
|
5388
|
-
readonly internalType: "address";
|
|
5389
5494
|
readonly name: "feedAddress";
|
|
5390
5495
|
readonly type: "address";
|
|
5496
|
+
readonly internalType: "address";
|
|
5391
5497
|
}, {
|
|
5392
|
-
readonly internalType: "int8";
|
|
5393
5498
|
readonly name: "feedType";
|
|
5394
5499
|
readonly type: "int8";
|
|
5500
|
+
readonly internalType: "int8";
|
|
5395
5501
|
}, {
|
|
5396
|
-
readonly internalType: "string";
|
|
5397
5502
|
readonly name: "currency";
|
|
5398
5503
|
readonly type: "string";
|
|
5504
|
+
readonly internalType: "string";
|
|
5399
5505
|
}, {
|
|
5400
|
-
readonly internalType: "uint256";
|
|
5401
5506
|
readonly name: "amount";
|
|
5402
5507
|
readonly type: "uint256";
|
|
5403
|
-
}, {
|
|
5404
5508
|
readonly internalType: "uint256";
|
|
5509
|
+
}, {
|
|
5405
5510
|
readonly name: "deadline";
|
|
5406
5511
|
readonly type: "uint256";
|
|
5512
|
+
readonly internalType: "uint256";
|
|
5407
5513
|
}, {
|
|
5408
|
-
readonly internalType: "bytes";
|
|
5409
5514
|
readonly name: "signature";
|
|
5410
5515
|
readonly type: "bytes";
|
|
5516
|
+
readonly internalType: "bytes";
|
|
5411
5517
|
}];
|
|
5412
|
-
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
5413
|
-
readonly name: "priceFeeds";
|
|
5414
|
-
readonly type: "tuple[2]";
|
|
5415
5518
|
}, {
|
|
5416
|
-
readonly internalType: "address";
|
|
5417
5519
|
readonly name: "extraFeeReceiver";
|
|
5418
5520
|
readonly type: "address";
|
|
5521
|
+
readonly internalType: "address";
|
|
5419
5522
|
}, {
|
|
5420
|
-
readonly internalType: "uint256";
|
|
5421
5523
|
readonly name: "extraFeeBps";
|
|
5422
5524
|
readonly type: "uint256";
|
|
5525
|
+
readonly internalType: "uint256";
|
|
5423
5526
|
}, {
|
|
5424
|
-
readonly internalType: "enum YodlUniswapRouter.SwapType";
|
|
5425
5527
|
readonly name: "swapType";
|
|
5426
5528
|
readonly type: "uint8";
|
|
5529
|
+
readonly internalType: "enum YodlUniswapRouter.SwapType";
|
|
5427
5530
|
}, {
|
|
5428
|
-
readonly internalType: "uint256";
|
|
5429
5531
|
readonly name: "yd";
|
|
5430
5532
|
readonly type: "uint256";
|
|
5533
|
+
readonly internalType: "uint256";
|
|
5431
5534
|
}, {
|
|
5535
|
+
readonly name: "guards";
|
|
5536
|
+
readonly type: "tuple[]";
|
|
5537
|
+
readonly internalType: "struct AbstractYodlRouter.Guard[]";
|
|
5432
5538
|
readonly components: readonly [{
|
|
5433
|
-
readonly internalType: "address";
|
|
5434
5539
|
readonly name: "guardAddress";
|
|
5435
5540
|
readonly type: "address";
|
|
5541
|
+
readonly internalType: "address";
|
|
5436
5542
|
}, {
|
|
5437
|
-
readonly internalType: "bytes[]";
|
|
5438
5543
|
readonly name: "payload";
|
|
5439
5544
|
readonly type: "bytes[]";
|
|
5545
|
+
readonly internalType: "bytes[]";
|
|
5440
5546
|
}];
|
|
5441
|
-
readonly internalType: "struct AbstractYodlRouter.Guard[]";
|
|
5442
|
-
readonly name: "guards";
|
|
5443
|
-
readonly type: "tuple[]";
|
|
5444
5547
|
}, {
|
|
5548
|
+
readonly name: "webhooks";
|
|
5549
|
+
readonly type: "tuple[]";
|
|
5550
|
+
readonly internalType: "struct AbstractYodlRouter.Webhook[]";
|
|
5445
5551
|
readonly components: readonly [{
|
|
5446
|
-
readonly internalType: "address";
|
|
5447
5552
|
readonly name: "webhookAddress";
|
|
5448
5553
|
readonly type: "address";
|
|
5554
|
+
readonly internalType: "address";
|
|
5449
5555
|
}, {
|
|
5450
|
-
readonly internalType: "bytes[]";
|
|
5451
5556
|
readonly name: "payload";
|
|
5452
5557
|
readonly type: "bytes[]";
|
|
5558
|
+
readonly internalType: "bytes[]";
|
|
5453
5559
|
}];
|
|
5454
|
-
readonly internalType: "struct AbstractYodlRouter.Webhook[]";
|
|
5455
|
-
readonly name: "webhooks";
|
|
5456
|
-
readonly type: "tuple[]";
|
|
5457
5560
|
}];
|
|
5458
|
-
readonly internalType: "struct YodlUniswapRouter.YodlUniswapParams";
|
|
5459
|
-
readonly name: "params";
|
|
5460
|
-
readonly type: "tuple";
|
|
5461
5561
|
}];
|
|
5462
|
-
readonly name: "yodlWithUniswap";
|
|
5463
5562
|
readonly outputs: readonly [{
|
|
5464
|
-
readonly internalType: "uint256";
|
|
5465
5563
|
readonly name: "";
|
|
5466
5564
|
readonly type: "uint256";
|
|
5565
|
+
readonly internalType: "uint256";
|
|
5467
5566
|
}];
|
|
5468
5567
|
readonly stateMutability: "payable";
|
|
5469
|
-
readonly type: "function";
|
|
5470
5568
|
}, {
|
|
5471
|
-
readonly
|
|
5472
|
-
readonly
|
|
5569
|
+
readonly type: "event";
|
|
5570
|
+
readonly name: "Convert";
|
|
5571
|
+
readonly inputs: readonly [{
|
|
5572
|
+
readonly name: "priceFeed0";
|
|
5573
|
+
readonly type: "address";
|
|
5574
|
+
readonly indexed: true;
|
|
5575
|
+
readonly internalType: "address";
|
|
5576
|
+
}, {
|
|
5577
|
+
readonly name: "priceFeed1";
|
|
5578
|
+
readonly type: "address";
|
|
5579
|
+
readonly indexed: true;
|
|
5580
|
+
readonly internalType: "address";
|
|
5581
|
+
}, {
|
|
5582
|
+
readonly name: "exchangeRate0";
|
|
5583
|
+
readonly type: "int256";
|
|
5584
|
+
readonly indexed: false;
|
|
5585
|
+
readonly internalType: "int256";
|
|
5586
|
+
}, {
|
|
5587
|
+
readonly name: "exchangeRate1";
|
|
5588
|
+
readonly type: "int256";
|
|
5589
|
+
readonly indexed: false;
|
|
5590
|
+
readonly internalType: "int256";
|
|
5591
|
+
}];
|
|
5592
|
+
readonly anonymous: false;
|
|
5593
|
+
}, {
|
|
5594
|
+
readonly type: "event";
|
|
5595
|
+
readonly name: "ConvertWithExternalRate";
|
|
5596
|
+
readonly inputs: readonly [{
|
|
5597
|
+
readonly name: "currency0";
|
|
5598
|
+
readonly type: "string";
|
|
5599
|
+
readonly indexed: true;
|
|
5600
|
+
readonly internalType: "string";
|
|
5601
|
+
}, {
|
|
5602
|
+
readonly name: "priceFeed1";
|
|
5603
|
+
readonly type: "address";
|
|
5604
|
+
readonly indexed: true;
|
|
5605
|
+
readonly internalType: "address";
|
|
5606
|
+
}, {
|
|
5607
|
+
readonly name: "exchangeRate0";
|
|
5608
|
+
readonly type: "int256";
|
|
5609
|
+
readonly indexed: false;
|
|
5610
|
+
readonly internalType: "int256";
|
|
5611
|
+
}, {
|
|
5612
|
+
readonly name: "exchangeRate1";
|
|
5613
|
+
readonly type: "int256";
|
|
5614
|
+
readonly indexed: false;
|
|
5615
|
+
readonly internalType: "int256";
|
|
5616
|
+
}];
|
|
5617
|
+
readonly anonymous: false;
|
|
5618
|
+
}, {
|
|
5619
|
+
readonly type: "event";
|
|
5620
|
+
readonly name: "Yodl";
|
|
5621
|
+
readonly inputs: readonly [{
|
|
5622
|
+
readonly name: "sender";
|
|
5623
|
+
readonly type: "address";
|
|
5624
|
+
readonly indexed: true;
|
|
5625
|
+
readonly internalType: "address";
|
|
5626
|
+
}, {
|
|
5627
|
+
readonly name: "receiver";
|
|
5628
|
+
readonly type: "address";
|
|
5629
|
+
readonly indexed: true;
|
|
5630
|
+
readonly internalType: "address";
|
|
5631
|
+
}, {
|
|
5632
|
+
readonly name: "token";
|
|
5633
|
+
readonly type: "address";
|
|
5634
|
+
readonly indexed: false;
|
|
5635
|
+
readonly internalType: "address";
|
|
5636
|
+
}, {
|
|
5637
|
+
readonly name: "amount";
|
|
5638
|
+
readonly type: "uint256";
|
|
5639
|
+
readonly indexed: false;
|
|
5640
|
+
readonly internalType: "uint256";
|
|
5641
|
+
}, {
|
|
5642
|
+
readonly name: "fees";
|
|
5643
|
+
readonly type: "uint256";
|
|
5644
|
+
readonly indexed: false;
|
|
5645
|
+
readonly internalType: "uint256";
|
|
5646
|
+
}, {
|
|
5647
|
+
readonly name: "memo";
|
|
5648
|
+
readonly type: "bytes32";
|
|
5649
|
+
readonly indexed: false;
|
|
5650
|
+
readonly internalType: "bytes32";
|
|
5651
|
+
}];
|
|
5652
|
+
readonly anonymous: false;
|
|
5653
|
+
}, {
|
|
5654
|
+
readonly type: "event";
|
|
5655
|
+
readonly name: "YodlNativeTokenTransfer";
|
|
5656
|
+
readonly inputs: readonly [{
|
|
5657
|
+
readonly name: "sender";
|
|
5658
|
+
readonly type: "address";
|
|
5659
|
+
readonly indexed: true;
|
|
5660
|
+
readonly internalType: "address";
|
|
5661
|
+
}, {
|
|
5662
|
+
readonly name: "receiver";
|
|
5663
|
+
readonly type: "address";
|
|
5664
|
+
readonly indexed: true;
|
|
5665
|
+
readonly internalType: "address";
|
|
5666
|
+
}, {
|
|
5667
|
+
readonly name: "amount";
|
|
5668
|
+
readonly type: "uint256";
|
|
5669
|
+
readonly indexed: true;
|
|
5670
|
+
readonly internalType: "uint256";
|
|
5671
|
+
}];
|
|
5672
|
+
readonly anonymous: false;
|
|
5673
|
+
}, {
|
|
5674
|
+
readonly type: "error";
|
|
5675
|
+
readonly name: "ECDSAInvalidSignature";
|
|
5676
|
+
readonly inputs: readonly [];
|
|
5677
|
+
}, {
|
|
5678
|
+
readonly type: "error";
|
|
5679
|
+
readonly name: "ECDSAInvalidSignatureLength";
|
|
5680
|
+
readonly inputs: readonly [{
|
|
5681
|
+
readonly name: "length";
|
|
5682
|
+
readonly type: "uint256";
|
|
5683
|
+
readonly internalType: "uint256";
|
|
5684
|
+
}];
|
|
5685
|
+
}, {
|
|
5686
|
+
readonly type: "error";
|
|
5687
|
+
readonly name: "ECDSAInvalidSignatureS";
|
|
5688
|
+
readonly inputs: readonly [{
|
|
5689
|
+
readonly name: "s";
|
|
5690
|
+
readonly type: "bytes32";
|
|
5691
|
+
readonly internalType: "bytes32";
|
|
5692
|
+
}];
|
|
5693
|
+
}, {
|
|
5694
|
+
readonly type: "error";
|
|
5695
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
5696
|
+
readonly inputs: readonly [];
|
|
5473
5697
|
}];
|
|
5474
5698
|
export declare function getShortNames(): string[];
|
|
5475
5699
|
export declare function getNativeToken(chainId: number): string;
|