@permissionless-technologies/upp-sdk 0.5.1 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-DKJNSLBS.cjs → chunk-6DCMXFSQ.cjs} +2 -2
- package/dist/{chunk-DKJNSLBS.cjs.map → chunk-6DCMXFSQ.cjs.map} +1 -1
- package/dist/{chunk-V2KDYF5A.js → chunk-MVSBQMRA.js} +2 -2
- package/dist/{chunk-V2KDYF5A.js.map → chunk-MVSBQMRA.js.map} +1 -1
- package/dist/{index-BuUCObcz.d.cts → index-D6YhhbRP.d.cts} +767 -2
- package/dist/{index-C7OdmKfs.d.ts → index-DHW5lKcd.d.ts} +767 -2
- package/dist/index.cjs +960 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +959 -2
- package/dist/index.js.map +1 -1
- package/dist/indexer/index.cjs +6 -6
- package/dist/indexer/index.d.cts +2 -2
- package/dist/indexer/index.d.ts +2 -2
- package/dist/indexer/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var chunkHB43C26P_cjs = require('./chunk-HB43C26P.cjs');
|
|
4
4
|
var chunkO2SKZZAP_cjs = require('./chunk-O2SKZZAP.cjs');
|
|
5
5
|
var chunkIX7HV5TE_cjs = require('./chunk-IX7HV5TE.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunk6DCMXFSQ_cjs = require('./chunk-6DCMXFSQ.cjs');
|
|
7
7
|
var chunk7BNJV2ZS_cjs = require('./chunk-7BNJV2ZS.cjs');
|
|
8
8
|
var chunkIYRCJAME_cjs = require('./chunk-IYRCJAME.cjs');
|
|
9
9
|
var chunkXVIICZKW_cjs = require('./chunk-XVIICZKW.cjs');
|
|
@@ -4479,6 +4479,963 @@ var TEST_STABLE_TOKEN_2_ABI = [
|
|
|
4479
4479
|
}
|
|
4480
4480
|
];
|
|
4481
4481
|
|
|
4482
|
+
// src/contracts/abi/UPPSwapModule.ts
|
|
4483
|
+
var UPP_SWAP_MODULE_ABI = [
|
|
4484
|
+
{
|
|
4485
|
+
"type": "constructor",
|
|
4486
|
+
"inputs": [],
|
|
4487
|
+
"stateMutability": "nonpayable"
|
|
4488
|
+
},
|
|
4489
|
+
{
|
|
4490
|
+
"type": "function",
|
|
4491
|
+
"name": "UPGRADE_INTERFACE_VERSION",
|
|
4492
|
+
"inputs": [],
|
|
4493
|
+
"outputs": [
|
|
4494
|
+
{
|
|
4495
|
+
"name": "",
|
|
4496
|
+
"type": "string",
|
|
4497
|
+
"internalType": "string"
|
|
4498
|
+
}
|
|
4499
|
+
],
|
|
4500
|
+
"stateMutability": "view"
|
|
4501
|
+
},
|
|
4502
|
+
{
|
|
4503
|
+
"type": "function",
|
|
4504
|
+
"name": "initialize",
|
|
4505
|
+
"inputs": [
|
|
4506
|
+
{
|
|
4507
|
+
"name": "_pool",
|
|
4508
|
+
"type": "address",
|
|
4509
|
+
"internalType": "address"
|
|
4510
|
+
},
|
|
4511
|
+
{
|
|
4512
|
+
"name": "initialOwner",
|
|
4513
|
+
"type": "address",
|
|
4514
|
+
"internalType": "address"
|
|
4515
|
+
}
|
|
4516
|
+
],
|
|
4517
|
+
"outputs": [],
|
|
4518
|
+
"stateMutability": "nonpayable"
|
|
4519
|
+
},
|
|
4520
|
+
{
|
|
4521
|
+
"type": "function",
|
|
4522
|
+
"name": "owner",
|
|
4523
|
+
"inputs": [],
|
|
4524
|
+
"outputs": [
|
|
4525
|
+
{
|
|
4526
|
+
"name": "",
|
|
4527
|
+
"type": "address",
|
|
4528
|
+
"internalType": "address"
|
|
4529
|
+
}
|
|
4530
|
+
],
|
|
4531
|
+
"stateMutability": "view"
|
|
4532
|
+
},
|
|
4533
|
+
{
|
|
4534
|
+
"type": "function",
|
|
4535
|
+
"name": "pool",
|
|
4536
|
+
"inputs": [],
|
|
4537
|
+
"outputs": [
|
|
4538
|
+
{
|
|
4539
|
+
"name": "",
|
|
4540
|
+
"type": "address",
|
|
4541
|
+
"internalType": "contract IUPPPool"
|
|
4542
|
+
}
|
|
4543
|
+
],
|
|
4544
|
+
"stateMutability": "view"
|
|
4545
|
+
},
|
|
4546
|
+
{
|
|
4547
|
+
"type": "function",
|
|
4548
|
+
"name": "proxiableUUID",
|
|
4549
|
+
"inputs": [],
|
|
4550
|
+
"outputs": [
|
|
4551
|
+
{
|
|
4552
|
+
"name": "",
|
|
4553
|
+
"type": "bytes32",
|
|
4554
|
+
"internalType": "bytes32"
|
|
4555
|
+
}
|
|
4556
|
+
],
|
|
4557
|
+
"stateMutability": "view"
|
|
4558
|
+
},
|
|
4559
|
+
{
|
|
4560
|
+
"type": "function",
|
|
4561
|
+
"name": "renounceOwnership",
|
|
4562
|
+
"inputs": [],
|
|
4563
|
+
"outputs": [],
|
|
4564
|
+
"stateMutability": "nonpayable"
|
|
4565
|
+
},
|
|
4566
|
+
{
|
|
4567
|
+
"type": "function",
|
|
4568
|
+
"name": "swapCancel",
|
|
4569
|
+
"inputs": [
|
|
4570
|
+
{
|
|
4571
|
+
"name": "orderId",
|
|
4572
|
+
"type": "bytes32",
|
|
4573
|
+
"internalType": "bytes32"
|
|
4574
|
+
},
|
|
4575
|
+
{
|
|
4576
|
+
"name": "cancelSecret",
|
|
4577
|
+
"type": "bytes32",
|
|
4578
|
+
"internalType": "bytes32"
|
|
4579
|
+
},
|
|
4580
|
+
{
|
|
4581
|
+
"name": "refundCommitment",
|
|
4582
|
+
"type": "bytes32",
|
|
4583
|
+
"internalType": "bytes32"
|
|
4584
|
+
},
|
|
4585
|
+
{
|
|
4586
|
+
"name": "encryptedRefundNote",
|
|
4587
|
+
"type": "bytes",
|
|
4588
|
+
"internalType": "bytes"
|
|
4589
|
+
}
|
|
4590
|
+
],
|
|
4591
|
+
"outputs": [],
|
|
4592
|
+
"stateMutability": "nonpayable"
|
|
4593
|
+
},
|
|
4594
|
+
{
|
|
4595
|
+
"type": "function",
|
|
4596
|
+
"name": "swapClaim",
|
|
4597
|
+
"inputs": [
|
|
4598
|
+
{
|
|
4599
|
+
"name": "orderId",
|
|
4600
|
+
"type": "bytes32",
|
|
4601
|
+
"internalType": "bytes32"
|
|
4602
|
+
},
|
|
4603
|
+
{
|
|
4604
|
+
"name": "cancelSecret",
|
|
4605
|
+
"type": "bytes32",
|
|
4606
|
+
"internalType": "bytes32"
|
|
4607
|
+
},
|
|
4608
|
+
{
|
|
4609
|
+
"name": "buyOutputCommitment",
|
|
4610
|
+
"type": "bytes32",
|
|
4611
|
+
"internalType": "bytes32"
|
|
4612
|
+
},
|
|
4613
|
+
{
|
|
4614
|
+
"name": "encryptedBuyNote",
|
|
4615
|
+
"type": "bytes",
|
|
4616
|
+
"internalType": "bytes"
|
|
4617
|
+
},
|
|
4618
|
+
{
|
|
4619
|
+
"name": "refundCommitment",
|
|
4620
|
+
"type": "bytes32",
|
|
4621
|
+
"internalType": "bytes32"
|
|
4622
|
+
},
|
|
4623
|
+
{
|
|
4624
|
+
"name": "encryptedRefundNote",
|
|
4625
|
+
"type": "bytes",
|
|
4626
|
+
"internalType": "bytes"
|
|
4627
|
+
}
|
|
4628
|
+
],
|
|
4629
|
+
"outputs": [],
|
|
4630
|
+
"stateMutability": "nonpayable"
|
|
4631
|
+
},
|
|
4632
|
+
{
|
|
4633
|
+
"type": "function",
|
|
4634
|
+
"name": "swapFill",
|
|
4635
|
+
"inputs": [
|
|
4636
|
+
{
|
|
4637
|
+
"name": "orderId",
|
|
4638
|
+
"type": "bytes32",
|
|
4639
|
+
"internalType": "bytes32"
|
|
4640
|
+
},
|
|
4641
|
+
{
|
|
4642
|
+
"name": "proof",
|
|
4643
|
+
"type": "tuple",
|
|
4644
|
+
"internalType": "struct PlonkVerifierBLS12381.Proof",
|
|
4645
|
+
"components": [
|
|
4646
|
+
{
|
|
4647
|
+
"name": "A",
|
|
4648
|
+
"type": "bytes",
|
|
4649
|
+
"internalType": "bytes"
|
|
4650
|
+
},
|
|
4651
|
+
{
|
|
4652
|
+
"name": "B",
|
|
4653
|
+
"type": "bytes",
|
|
4654
|
+
"internalType": "bytes"
|
|
4655
|
+
},
|
|
4656
|
+
{
|
|
4657
|
+
"name": "C",
|
|
4658
|
+
"type": "bytes",
|
|
4659
|
+
"internalType": "bytes"
|
|
4660
|
+
},
|
|
4661
|
+
{
|
|
4662
|
+
"name": "Z",
|
|
4663
|
+
"type": "bytes",
|
|
4664
|
+
"internalType": "bytes"
|
|
4665
|
+
},
|
|
4666
|
+
{
|
|
4667
|
+
"name": "T1",
|
|
4668
|
+
"type": "bytes",
|
|
4669
|
+
"internalType": "bytes"
|
|
4670
|
+
},
|
|
4671
|
+
{
|
|
4672
|
+
"name": "T2",
|
|
4673
|
+
"type": "bytes",
|
|
4674
|
+
"internalType": "bytes"
|
|
4675
|
+
},
|
|
4676
|
+
{
|
|
4677
|
+
"name": "T3",
|
|
4678
|
+
"type": "bytes",
|
|
4679
|
+
"internalType": "bytes"
|
|
4680
|
+
},
|
|
4681
|
+
{
|
|
4682
|
+
"name": "eval_a",
|
|
4683
|
+
"type": "uint256",
|
|
4684
|
+
"internalType": "uint256"
|
|
4685
|
+
},
|
|
4686
|
+
{
|
|
4687
|
+
"name": "eval_b",
|
|
4688
|
+
"type": "uint256",
|
|
4689
|
+
"internalType": "uint256"
|
|
4690
|
+
},
|
|
4691
|
+
{
|
|
4692
|
+
"name": "eval_c",
|
|
4693
|
+
"type": "uint256",
|
|
4694
|
+
"internalType": "uint256"
|
|
4695
|
+
},
|
|
4696
|
+
{
|
|
4697
|
+
"name": "eval_s1",
|
|
4698
|
+
"type": "uint256",
|
|
4699
|
+
"internalType": "uint256"
|
|
4700
|
+
},
|
|
4701
|
+
{
|
|
4702
|
+
"name": "eval_s2",
|
|
4703
|
+
"type": "uint256",
|
|
4704
|
+
"internalType": "uint256"
|
|
4705
|
+
},
|
|
4706
|
+
{
|
|
4707
|
+
"name": "eval_zw",
|
|
4708
|
+
"type": "uint256",
|
|
4709
|
+
"internalType": "uint256"
|
|
4710
|
+
},
|
|
4711
|
+
{
|
|
4712
|
+
"name": "Wxi",
|
|
4713
|
+
"type": "bytes",
|
|
4714
|
+
"internalType": "bytes"
|
|
4715
|
+
},
|
|
4716
|
+
{
|
|
4717
|
+
"name": "Wxiw",
|
|
4718
|
+
"type": "bytes",
|
|
4719
|
+
"internalType": "bytes"
|
|
4720
|
+
}
|
|
4721
|
+
]
|
|
4722
|
+
},
|
|
4723
|
+
{
|
|
4724
|
+
"name": "nullifier",
|
|
4725
|
+
"type": "bytes32",
|
|
4726
|
+
"internalType": "bytes32"
|
|
4727
|
+
},
|
|
4728
|
+
{
|
|
4729
|
+
"name": "stateRoot",
|
|
4730
|
+
"type": "uint256",
|
|
4731
|
+
"internalType": "uint256"
|
|
4732
|
+
},
|
|
4733
|
+
{
|
|
4734
|
+
"name": "aspRoot",
|
|
4735
|
+
"type": "uint256",
|
|
4736
|
+
"internalType": "uint256"
|
|
4737
|
+
},
|
|
4738
|
+
{
|
|
4739
|
+
"name": "aspId",
|
|
4740
|
+
"type": "uint256",
|
|
4741
|
+
"internalType": "uint256"
|
|
4742
|
+
},
|
|
4743
|
+
{
|
|
4744
|
+
"name": "takeAmount",
|
|
4745
|
+
"type": "uint256",
|
|
4746
|
+
"internalType": "uint256"
|
|
4747
|
+
},
|
|
4748
|
+
{
|
|
4749
|
+
"name": "fillerOutputCommitment",
|
|
4750
|
+
"type": "bytes32",
|
|
4751
|
+
"internalType": "bytes32"
|
|
4752
|
+
},
|
|
4753
|
+
{
|
|
4754
|
+
"name": "encryptedFillerNote",
|
|
4755
|
+
"type": "bytes",
|
|
4756
|
+
"internalType": "bytes"
|
|
4757
|
+
}
|
|
4758
|
+
],
|
|
4759
|
+
"outputs": [],
|
|
4760
|
+
"stateMutability": "nonpayable"
|
|
4761
|
+
},
|
|
4762
|
+
{
|
|
4763
|
+
"type": "function",
|
|
4764
|
+
"name": "swapOrder",
|
|
4765
|
+
"inputs": [
|
|
4766
|
+
{
|
|
4767
|
+
"name": "proof",
|
|
4768
|
+
"type": "tuple",
|
|
4769
|
+
"internalType": "struct PlonkVerifierBLS12381.Proof",
|
|
4770
|
+
"components": [
|
|
4771
|
+
{
|
|
4772
|
+
"name": "A",
|
|
4773
|
+
"type": "bytes",
|
|
4774
|
+
"internalType": "bytes"
|
|
4775
|
+
},
|
|
4776
|
+
{
|
|
4777
|
+
"name": "B",
|
|
4778
|
+
"type": "bytes",
|
|
4779
|
+
"internalType": "bytes"
|
|
4780
|
+
},
|
|
4781
|
+
{
|
|
4782
|
+
"name": "C",
|
|
4783
|
+
"type": "bytes",
|
|
4784
|
+
"internalType": "bytes"
|
|
4785
|
+
},
|
|
4786
|
+
{
|
|
4787
|
+
"name": "Z",
|
|
4788
|
+
"type": "bytes",
|
|
4789
|
+
"internalType": "bytes"
|
|
4790
|
+
},
|
|
4791
|
+
{
|
|
4792
|
+
"name": "T1",
|
|
4793
|
+
"type": "bytes",
|
|
4794
|
+
"internalType": "bytes"
|
|
4795
|
+
},
|
|
4796
|
+
{
|
|
4797
|
+
"name": "T2",
|
|
4798
|
+
"type": "bytes",
|
|
4799
|
+
"internalType": "bytes"
|
|
4800
|
+
},
|
|
4801
|
+
{
|
|
4802
|
+
"name": "T3",
|
|
4803
|
+
"type": "bytes",
|
|
4804
|
+
"internalType": "bytes"
|
|
4805
|
+
},
|
|
4806
|
+
{
|
|
4807
|
+
"name": "eval_a",
|
|
4808
|
+
"type": "uint256",
|
|
4809
|
+
"internalType": "uint256"
|
|
4810
|
+
},
|
|
4811
|
+
{
|
|
4812
|
+
"name": "eval_b",
|
|
4813
|
+
"type": "uint256",
|
|
4814
|
+
"internalType": "uint256"
|
|
4815
|
+
},
|
|
4816
|
+
{
|
|
4817
|
+
"name": "eval_c",
|
|
4818
|
+
"type": "uint256",
|
|
4819
|
+
"internalType": "uint256"
|
|
4820
|
+
},
|
|
4821
|
+
{
|
|
4822
|
+
"name": "eval_s1",
|
|
4823
|
+
"type": "uint256",
|
|
4824
|
+
"internalType": "uint256"
|
|
4825
|
+
},
|
|
4826
|
+
{
|
|
4827
|
+
"name": "eval_s2",
|
|
4828
|
+
"type": "uint256",
|
|
4829
|
+
"internalType": "uint256"
|
|
4830
|
+
},
|
|
4831
|
+
{
|
|
4832
|
+
"name": "eval_zw",
|
|
4833
|
+
"type": "uint256",
|
|
4834
|
+
"internalType": "uint256"
|
|
4835
|
+
},
|
|
4836
|
+
{
|
|
4837
|
+
"name": "Wxi",
|
|
4838
|
+
"type": "bytes",
|
|
4839
|
+
"internalType": "bytes"
|
|
4840
|
+
},
|
|
4841
|
+
{
|
|
4842
|
+
"name": "Wxiw",
|
|
4843
|
+
"type": "bytes",
|
|
4844
|
+
"internalType": "bytes"
|
|
4845
|
+
}
|
|
4846
|
+
]
|
|
4847
|
+
},
|
|
4848
|
+
{
|
|
4849
|
+
"name": "nullifier",
|
|
4850
|
+
"type": "bytes32",
|
|
4851
|
+
"internalType": "bytes32"
|
|
4852
|
+
},
|
|
4853
|
+
{
|
|
4854
|
+
"name": "stateRoot",
|
|
4855
|
+
"type": "uint256",
|
|
4856
|
+
"internalType": "uint256"
|
|
4857
|
+
},
|
|
4858
|
+
{
|
|
4859
|
+
"name": "aspRoot",
|
|
4860
|
+
"type": "uint256",
|
|
4861
|
+
"internalType": "uint256"
|
|
4862
|
+
},
|
|
4863
|
+
{
|
|
4864
|
+
"name": "aspId",
|
|
4865
|
+
"type": "uint256",
|
|
4866
|
+
"internalType": "uint256"
|
|
4867
|
+
},
|
|
4868
|
+
{
|
|
4869
|
+
"name": "sellToken",
|
|
4870
|
+
"type": "address",
|
|
4871
|
+
"internalType": "address"
|
|
4872
|
+
},
|
|
4873
|
+
{
|
|
4874
|
+
"name": "sellAmount",
|
|
4875
|
+
"type": "uint256",
|
|
4876
|
+
"internalType": "uint256"
|
|
4877
|
+
},
|
|
4878
|
+
{
|
|
4879
|
+
"name": "buyToken",
|
|
4880
|
+
"type": "address",
|
|
4881
|
+
"internalType": "address"
|
|
4882
|
+
},
|
|
4883
|
+
{
|
|
4884
|
+
"name": "rate",
|
|
4885
|
+
"type": "uint256",
|
|
4886
|
+
"internalType": "uint256"
|
|
4887
|
+
},
|
|
4888
|
+
{
|
|
4889
|
+
"name": "requiredFillerAspId",
|
|
4890
|
+
"type": "uint256",
|
|
4891
|
+
"internalType": "uint256"
|
|
4892
|
+
},
|
|
4893
|
+
{
|
|
4894
|
+
"name": "cancelKeyHash",
|
|
4895
|
+
"type": "bytes32",
|
|
4896
|
+
"internalType": "bytes32"
|
|
4897
|
+
},
|
|
4898
|
+
{
|
|
4899
|
+
"name": "expiry",
|
|
4900
|
+
"type": "uint256",
|
|
4901
|
+
"internalType": "uint256"
|
|
4902
|
+
}
|
|
4903
|
+
],
|
|
4904
|
+
"outputs": [],
|
|
4905
|
+
"stateMutability": "nonpayable"
|
|
4906
|
+
},
|
|
4907
|
+
{
|
|
4908
|
+
"type": "function",
|
|
4909
|
+
"name": "swapOrders",
|
|
4910
|
+
"inputs": [
|
|
4911
|
+
{
|
|
4912
|
+
"name": "",
|
|
4913
|
+
"type": "bytes32",
|
|
4914
|
+
"internalType": "bytes32"
|
|
4915
|
+
}
|
|
4916
|
+
],
|
|
4917
|
+
"outputs": [
|
|
4918
|
+
{
|
|
4919
|
+
"name": "sellToken",
|
|
4920
|
+
"type": "address",
|
|
4921
|
+
"internalType": "address"
|
|
4922
|
+
},
|
|
4923
|
+
{
|
|
4924
|
+
"name": "sellAmount",
|
|
4925
|
+
"type": "uint256",
|
|
4926
|
+
"internalType": "uint256"
|
|
4927
|
+
},
|
|
4928
|
+
{
|
|
4929
|
+
"name": "remainingSellAmount",
|
|
4930
|
+
"type": "uint256",
|
|
4931
|
+
"internalType": "uint256"
|
|
4932
|
+
},
|
|
4933
|
+
{
|
|
4934
|
+
"name": "buyToken",
|
|
4935
|
+
"type": "address",
|
|
4936
|
+
"internalType": "address"
|
|
4937
|
+
},
|
|
4938
|
+
{
|
|
4939
|
+
"name": "rate",
|
|
4940
|
+
"type": "uint256",
|
|
4941
|
+
"internalType": "uint256"
|
|
4942
|
+
},
|
|
4943
|
+
{
|
|
4944
|
+
"name": "accumulatedBuyAmount",
|
|
4945
|
+
"type": "uint256",
|
|
4946
|
+
"internalType": "uint256"
|
|
4947
|
+
},
|
|
4948
|
+
{
|
|
4949
|
+
"name": "makerAspId",
|
|
4950
|
+
"type": "uint256",
|
|
4951
|
+
"internalType": "uint256"
|
|
4952
|
+
},
|
|
4953
|
+
{
|
|
4954
|
+
"name": "requiredFillerAspId",
|
|
4955
|
+
"type": "uint256",
|
|
4956
|
+
"internalType": "uint256"
|
|
4957
|
+
},
|
|
4958
|
+
{
|
|
4959
|
+
"name": "cancelKeyHash",
|
|
4960
|
+
"type": "bytes32",
|
|
4961
|
+
"internalType": "bytes32"
|
|
4962
|
+
},
|
|
4963
|
+
{
|
|
4964
|
+
"name": "expiry",
|
|
4965
|
+
"type": "uint256",
|
|
4966
|
+
"internalType": "uint256"
|
|
4967
|
+
},
|
|
4968
|
+
{
|
|
4969
|
+
"name": "claimed",
|
|
4970
|
+
"type": "bool",
|
|
4971
|
+
"internalType": "bool"
|
|
4972
|
+
},
|
|
4973
|
+
{
|
|
4974
|
+
"name": "cancelled",
|
|
4975
|
+
"type": "bool",
|
|
4976
|
+
"internalType": "bool"
|
|
4977
|
+
}
|
|
4978
|
+
],
|
|
4979
|
+
"stateMutability": "view"
|
|
4980
|
+
},
|
|
4981
|
+
{
|
|
4982
|
+
"type": "function",
|
|
4983
|
+
"name": "transferOwnership",
|
|
4984
|
+
"inputs": [
|
|
4985
|
+
{
|
|
4986
|
+
"name": "newOwner",
|
|
4987
|
+
"type": "address",
|
|
4988
|
+
"internalType": "address"
|
|
4989
|
+
}
|
|
4990
|
+
],
|
|
4991
|
+
"outputs": [],
|
|
4992
|
+
"stateMutability": "nonpayable"
|
|
4993
|
+
},
|
|
4994
|
+
{
|
|
4995
|
+
"type": "function",
|
|
4996
|
+
"name": "upgradeToAndCall",
|
|
4997
|
+
"inputs": [
|
|
4998
|
+
{
|
|
4999
|
+
"name": "newImplementation",
|
|
5000
|
+
"type": "address",
|
|
5001
|
+
"internalType": "address"
|
|
5002
|
+
},
|
|
5003
|
+
{
|
|
5004
|
+
"name": "data",
|
|
5005
|
+
"type": "bytes",
|
|
5006
|
+
"internalType": "bytes"
|
|
5007
|
+
}
|
|
5008
|
+
],
|
|
5009
|
+
"outputs": [],
|
|
5010
|
+
"stateMutability": "payable"
|
|
5011
|
+
},
|
|
5012
|
+
{
|
|
5013
|
+
"type": "event",
|
|
5014
|
+
"name": "Initialized",
|
|
5015
|
+
"inputs": [
|
|
5016
|
+
{
|
|
5017
|
+
"name": "version",
|
|
5018
|
+
"type": "uint64",
|
|
5019
|
+
"indexed": false,
|
|
5020
|
+
"internalType": "uint64"
|
|
5021
|
+
}
|
|
5022
|
+
],
|
|
5023
|
+
"anonymous": false
|
|
5024
|
+
},
|
|
5025
|
+
{
|
|
5026
|
+
"type": "event",
|
|
5027
|
+
"name": "OwnershipTransferred",
|
|
5028
|
+
"inputs": [
|
|
5029
|
+
{
|
|
5030
|
+
"name": "previousOwner",
|
|
5031
|
+
"type": "address",
|
|
5032
|
+
"indexed": true,
|
|
5033
|
+
"internalType": "address"
|
|
5034
|
+
},
|
|
5035
|
+
{
|
|
5036
|
+
"name": "newOwner",
|
|
5037
|
+
"type": "address",
|
|
5038
|
+
"indexed": true,
|
|
5039
|
+
"internalType": "address"
|
|
5040
|
+
}
|
|
5041
|
+
],
|
|
5042
|
+
"anonymous": false
|
|
5043
|
+
},
|
|
5044
|
+
{
|
|
5045
|
+
"type": "event",
|
|
5046
|
+
"name": "SwapOrderCancelled",
|
|
5047
|
+
"inputs": [
|
|
5048
|
+
{
|
|
5049
|
+
"name": "orderId",
|
|
5050
|
+
"type": "bytes32",
|
|
5051
|
+
"indexed": true,
|
|
5052
|
+
"internalType": "bytes32"
|
|
5053
|
+
},
|
|
5054
|
+
{
|
|
5055
|
+
"name": "refundedSellAmount",
|
|
5056
|
+
"type": "uint256",
|
|
5057
|
+
"indexed": false,
|
|
5058
|
+
"internalType": "uint256"
|
|
5059
|
+
},
|
|
5060
|
+
{
|
|
5061
|
+
"name": "refundCommitment",
|
|
5062
|
+
"type": "bytes32",
|
|
5063
|
+
"indexed": false,
|
|
5064
|
+
"internalType": "bytes32"
|
|
5065
|
+
},
|
|
5066
|
+
{
|
|
5067
|
+
"name": "encryptedRefundNote",
|
|
5068
|
+
"type": "bytes",
|
|
5069
|
+
"indexed": false,
|
|
5070
|
+
"internalType": "bytes"
|
|
5071
|
+
}
|
|
5072
|
+
],
|
|
5073
|
+
"anonymous": false
|
|
5074
|
+
},
|
|
5075
|
+
{
|
|
5076
|
+
"type": "event",
|
|
5077
|
+
"name": "SwapOrderClaimed",
|
|
5078
|
+
"inputs": [
|
|
5079
|
+
{
|
|
5080
|
+
"name": "orderId",
|
|
5081
|
+
"type": "bytes32",
|
|
5082
|
+
"indexed": true,
|
|
5083
|
+
"internalType": "bytes32"
|
|
5084
|
+
},
|
|
5085
|
+
{
|
|
5086
|
+
"name": "accumulatedBuyAmount",
|
|
5087
|
+
"type": "uint256",
|
|
5088
|
+
"indexed": false,
|
|
5089
|
+
"internalType": "uint256"
|
|
5090
|
+
},
|
|
5091
|
+
{
|
|
5092
|
+
"name": "refundedSellAmount",
|
|
5093
|
+
"type": "uint256",
|
|
5094
|
+
"indexed": false,
|
|
5095
|
+
"internalType": "uint256"
|
|
5096
|
+
},
|
|
5097
|
+
{
|
|
5098
|
+
"name": "buyOutputCommitment",
|
|
5099
|
+
"type": "bytes32",
|
|
5100
|
+
"indexed": false,
|
|
5101
|
+
"internalType": "bytes32"
|
|
5102
|
+
},
|
|
5103
|
+
{
|
|
5104
|
+
"name": "encryptedBuyNote",
|
|
5105
|
+
"type": "bytes",
|
|
5106
|
+
"indexed": false,
|
|
5107
|
+
"internalType": "bytes"
|
|
5108
|
+
},
|
|
5109
|
+
{
|
|
5110
|
+
"name": "refundCommitment",
|
|
5111
|
+
"type": "bytes32",
|
|
5112
|
+
"indexed": false,
|
|
5113
|
+
"internalType": "bytes32"
|
|
5114
|
+
},
|
|
5115
|
+
{
|
|
5116
|
+
"name": "encryptedRefundNote",
|
|
5117
|
+
"type": "bytes",
|
|
5118
|
+
"indexed": false,
|
|
5119
|
+
"internalType": "bytes"
|
|
5120
|
+
}
|
|
5121
|
+
],
|
|
5122
|
+
"anonymous": false
|
|
5123
|
+
},
|
|
5124
|
+
{
|
|
5125
|
+
"type": "event",
|
|
5126
|
+
"name": "SwapOrderFilled",
|
|
5127
|
+
"inputs": [
|
|
5128
|
+
{
|
|
5129
|
+
"name": "orderId",
|
|
5130
|
+
"type": "bytes32",
|
|
5131
|
+
"indexed": true,
|
|
5132
|
+
"internalType": "bytes32"
|
|
5133
|
+
},
|
|
5134
|
+
{
|
|
5135
|
+
"name": "fillerNullifier",
|
|
5136
|
+
"type": "bytes32",
|
|
5137
|
+
"indexed": true,
|
|
5138
|
+
"internalType": "bytes32"
|
|
5139
|
+
},
|
|
5140
|
+
{
|
|
5141
|
+
"name": "fillerOutputCommitment",
|
|
5142
|
+
"type": "bytes32",
|
|
5143
|
+
"indexed": true,
|
|
5144
|
+
"internalType": "bytes32"
|
|
5145
|
+
},
|
|
5146
|
+
{
|
|
5147
|
+
"name": "takeAmount",
|
|
5148
|
+
"type": "uint256",
|
|
5149
|
+
"indexed": false,
|
|
5150
|
+
"internalType": "uint256"
|
|
5151
|
+
},
|
|
5152
|
+
{
|
|
5153
|
+
"name": "giveAmount",
|
|
5154
|
+
"type": "uint256",
|
|
5155
|
+
"indexed": false,
|
|
5156
|
+
"internalType": "uint256"
|
|
5157
|
+
},
|
|
5158
|
+
{
|
|
5159
|
+
"name": "fillerAspId",
|
|
5160
|
+
"type": "uint256",
|
|
5161
|
+
"indexed": false,
|
|
5162
|
+
"internalType": "uint256"
|
|
5163
|
+
},
|
|
5164
|
+
{
|
|
5165
|
+
"name": "remainingSellAmount",
|
|
5166
|
+
"type": "uint256",
|
|
5167
|
+
"indexed": false,
|
|
5168
|
+
"internalType": "uint256"
|
|
5169
|
+
},
|
|
5170
|
+
{
|
|
5171
|
+
"name": "encryptedFillerNote",
|
|
5172
|
+
"type": "bytes",
|
|
5173
|
+
"indexed": false,
|
|
5174
|
+
"internalType": "bytes"
|
|
5175
|
+
}
|
|
5176
|
+
],
|
|
5177
|
+
"anonymous": false
|
|
5178
|
+
},
|
|
5179
|
+
{
|
|
5180
|
+
"type": "event",
|
|
5181
|
+
"name": "SwapOrderPlaced",
|
|
5182
|
+
"inputs": [
|
|
5183
|
+
{
|
|
5184
|
+
"name": "orderId",
|
|
5185
|
+
"type": "bytes32",
|
|
5186
|
+
"indexed": true,
|
|
5187
|
+
"internalType": "bytes32"
|
|
5188
|
+
},
|
|
5189
|
+
{
|
|
5190
|
+
"name": "sellToken",
|
|
5191
|
+
"type": "address",
|
|
5192
|
+
"indexed": true,
|
|
5193
|
+
"internalType": "address"
|
|
5194
|
+
},
|
|
5195
|
+
{
|
|
5196
|
+
"name": "buyToken",
|
|
5197
|
+
"type": "address",
|
|
5198
|
+
"indexed": true,
|
|
5199
|
+
"internalType": "address"
|
|
5200
|
+
},
|
|
5201
|
+
{
|
|
5202
|
+
"name": "sellAmount",
|
|
5203
|
+
"type": "uint256",
|
|
5204
|
+
"indexed": false,
|
|
5205
|
+
"internalType": "uint256"
|
|
5206
|
+
},
|
|
5207
|
+
{
|
|
5208
|
+
"name": "rate",
|
|
5209
|
+
"type": "uint256",
|
|
5210
|
+
"indexed": false,
|
|
5211
|
+
"internalType": "uint256"
|
|
5212
|
+
},
|
|
5213
|
+
{
|
|
5214
|
+
"name": "makerAspId",
|
|
5215
|
+
"type": "uint256",
|
|
5216
|
+
"indexed": false,
|
|
5217
|
+
"internalType": "uint256"
|
|
5218
|
+
},
|
|
5219
|
+
{
|
|
5220
|
+
"name": "requiredFillerAspId",
|
|
5221
|
+
"type": "uint256",
|
|
5222
|
+
"indexed": false,
|
|
5223
|
+
"internalType": "uint256"
|
|
5224
|
+
},
|
|
5225
|
+
{
|
|
5226
|
+
"name": "expiry",
|
|
5227
|
+
"type": "uint256",
|
|
5228
|
+
"indexed": false,
|
|
5229
|
+
"internalType": "uint256"
|
|
5230
|
+
}
|
|
5231
|
+
],
|
|
5232
|
+
"anonymous": false
|
|
5233
|
+
},
|
|
5234
|
+
{
|
|
5235
|
+
"type": "event",
|
|
5236
|
+
"name": "Upgraded",
|
|
5237
|
+
"inputs": [
|
|
5238
|
+
{
|
|
5239
|
+
"name": "implementation",
|
|
5240
|
+
"type": "address",
|
|
5241
|
+
"indexed": true,
|
|
5242
|
+
"internalType": "address"
|
|
5243
|
+
}
|
|
5244
|
+
],
|
|
5245
|
+
"anonymous": false
|
|
5246
|
+
},
|
|
5247
|
+
{
|
|
5248
|
+
"type": "error",
|
|
5249
|
+
"name": "AddressEmptyCode",
|
|
5250
|
+
"inputs": [
|
|
5251
|
+
{
|
|
5252
|
+
"name": "target",
|
|
5253
|
+
"type": "address",
|
|
5254
|
+
"internalType": "address"
|
|
5255
|
+
}
|
|
5256
|
+
]
|
|
5257
|
+
},
|
|
5258
|
+
{
|
|
5259
|
+
"type": "error",
|
|
5260
|
+
"name": "AlreadyExpired",
|
|
5261
|
+
"inputs": []
|
|
5262
|
+
},
|
|
5263
|
+
{
|
|
5264
|
+
"type": "error",
|
|
5265
|
+
"name": "ERC1967InvalidImplementation",
|
|
5266
|
+
"inputs": [
|
|
5267
|
+
{
|
|
5268
|
+
"name": "implementation",
|
|
5269
|
+
"type": "address",
|
|
5270
|
+
"internalType": "address"
|
|
5271
|
+
}
|
|
5272
|
+
]
|
|
5273
|
+
},
|
|
5274
|
+
{
|
|
5275
|
+
"type": "error",
|
|
5276
|
+
"name": "ERC1967NonPayable",
|
|
5277
|
+
"inputs": []
|
|
5278
|
+
},
|
|
5279
|
+
{
|
|
5280
|
+
"type": "error",
|
|
5281
|
+
"name": "ExceedsRemaining",
|
|
5282
|
+
"inputs": []
|
|
5283
|
+
},
|
|
5284
|
+
{
|
|
5285
|
+
"type": "error",
|
|
5286
|
+
"name": "FailedCall",
|
|
5287
|
+
"inputs": []
|
|
5288
|
+
},
|
|
5289
|
+
{
|
|
5290
|
+
"type": "error",
|
|
5291
|
+
"name": "FillerASPNotAccepted",
|
|
5292
|
+
"inputs": []
|
|
5293
|
+
},
|
|
5294
|
+
{
|
|
5295
|
+
"type": "error",
|
|
5296
|
+
"name": "GiveAmountZero",
|
|
5297
|
+
"inputs": []
|
|
5298
|
+
},
|
|
5299
|
+
{
|
|
5300
|
+
"type": "error",
|
|
5301
|
+
"name": "InvalidASPRoot",
|
|
5302
|
+
"inputs": []
|
|
5303
|
+
},
|
|
5304
|
+
{
|
|
5305
|
+
"type": "error",
|
|
5306
|
+
"name": "InvalidCancelKey",
|
|
5307
|
+
"inputs": []
|
|
5308
|
+
},
|
|
5309
|
+
{
|
|
5310
|
+
"type": "error",
|
|
5311
|
+
"name": "InvalidCancelSecret",
|
|
5312
|
+
"inputs": []
|
|
5313
|
+
},
|
|
5314
|
+
{
|
|
5315
|
+
"type": "error",
|
|
5316
|
+
"name": "InvalidInitialization",
|
|
5317
|
+
"inputs": []
|
|
5318
|
+
},
|
|
5319
|
+
{
|
|
5320
|
+
"type": "error",
|
|
5321
|
+
"name": "InvalidProof",
|
|
5322
|
+
"inputs": []
|
|
5323
|
+
},
|
|
5324
|
+
{
|
|
5325
|
+
"type": "error",
|
|
5326
|
+
"name": "NotInitializing",
|
|
5327
|
+
"inputs": []
|
|
5328
|
+
},
|
|
5329
|
+
{
|
|
5330
|
+
"type": "error",
|
|
5331
|
+
"name": "NullifierAlreadySpent",
|
|
5332
|
+
"inputs": []
|
|
5333
|
+
},
|
|
5334
|
+
{
|
|
5335
|
+
"type": "error",
|
|
5336
|
+
"name": "OrderAlreadyCancelled",
|
|
5337
|
+
"inputs": []
|
|
5338
|
+
},
|
|
5339
|
+
{
|
|
5340
|
+
"type": "error",
|
|
5341
|
+
"name": "OrderAlreadyClaimed",
|
|
5342
|
+
"inputs": []
|
|
5343
|
+
},
|
|
5344
|
+
{
|
|
5345
|
+
"type": "error",
|
|
5346
|
+
"name": "OrderAlreadyExists",
|
|
5347
|
+
"inputs": []
|
|
5348
|
+
},
|
|
5349
|
+
{
|
|
5350
|
+
"type": "error",
|
|
5351
|
+
"name": "OrderExpired",
|
|
5352
|
+
"inputs": []
|
|
5353
|
+
},
|
|
5354
|
+
{
|
|
5355
|
+
"type": "error",
|
|
5356
|
+
"name": "OrderHasFills",
|
|
5357
|
+
"inputs": []
|
|
5358
|
+
},
|
|
5359
|
+
{
|
|
5360
|
+
"type": "error",
|
|
5361
|
+
"name": "OrderNotFound",
|
|
5362
|
+
"inputs": []
|
|
5363
|
+
},
|
|
5364
|
+
{
|
|
5365
|
+
"type": "error",
|
|
5366
|
+
"name": "OwnableInvalidOwner",
|
|
5367
|
+
"inputs": [
|
|
5368
|
+
{
|
|
5369
|
+
"name": "owner",
|
|
5370
|
+
"type": "address",
|
|
5371
|
+
"internalType": "address"
|
|
5372
|
+
}
|
|
5373
|
+
]
|
|
5374
|
+
},
|
|
5375
|
+
{
|
|
5376
|
+
"type": "error",
|
|
5377
|
+
"name": "OwnableUnauthorizedAccount",
|
|
5378
|
+
"inputs": [
|
|
5379
|
+
{
|
|
5380
|
+
"name": "account",
|
|
5381
|
+
"type": "address",
|
|
5382
|
+
"internalType": "address"
|
|
5383
|
+
}
|
|
5384
|
+
]
|
|
5385
|
+
},
|
|
5386
|
+
{
|
|
5387
|
+
"type": "error",
|
|
5388
|
+
"name": "ReentrancyGuardReentrantCall",
|
|
5389
|
+
"inputs": []
|
|
5390
|
+
},
|
|
5391
|
+
{
|
|
5392
|
+
"type": "error",
|
|
5393
|
+
"name": "SameToken",
|
|
5394
|
+
"inputs": []
|
|
5395
|
+
},
|
|
5396
|
+
{
|
|
5397
|
+
"type": "error",
|
|
5398
|
+
"name": "TokenNotSupported",
|
|
5399
|
+
"inputs": []
|
|
5400
|
+
},
|
|
5401
|
+
{
|
|
5402
|
+
"type": "error",
|
|
5403
|
+
"name": "UUPSUnauthorizedCallContext",
|
|
5404
|
+
"inputs": []
|
|
5405
|
+
},
|
|
5406
|
+
{
|
|
5407
|
+
"type": "error",
|
|
5408
|
+
"name": "UUPSUnsupportedProxiableUUID",
|
|
5409
|
+
"inputs": [
|
|
5410
|
+
{
|
|
5411
|
+
"name": "slot",
|
|
5412
|
+
"type": "bytes32",
|
|
5413
|
+
"internalType": "bytes32"
|
|
5414
|
+
}
|
|
5415
|
+
]
|
|
5416
|
+
},
|
|
5417
|
+
{
|
|
5418
|
+
"type": "error",
|
|
5419
|
+
"name": "UnknownStateRoot",
|
|
5420
|
+
"inputs": []
|
|
5421
|
+
},
|
|
5422
|
+
{
|
|
5423
|
+
"type": "error",
|
|
5424
|
+
"name": "ZeroRate",
|
|
5425
|
+
"inputs": []
|
|
5426
|
+
},
|
|
5427
|
+
{
|
|
5428
|
+
"type": "error",
|
|
5429
|
+
"name": "ZeroSellAmount",
|
|
5430
|
+
"inputs": []
|
|
5431
|
+
},
|
|
5432
|
+
{
|
|
5433
|
+
"type": "error",
|
|
5434
|
+
"name": "ZeroTakeAmount",
|
|
5435
|
+
"inputs": []
|
|
5436
|
+
}
|
|
5437
|
+
];
|
|
5438
|
+
|
|
4482
5439
|
Object.defineProperty(exports, "NOTE_VERSION", {
|
|
4483
5440
|
enumerable: true,
|
|
4484
5441
|
get: function () { return chunkHB43C26P_cjs.NOTE_VERSION; }
|
|
@@ -4593,7 +5550,7 @@ Object.defineProperty(exports, "verifyProof", {
|
|
|
4593
5550
|
});
|
|
4594
5551
|
Object.defineProperty(exports, "makeRpcIndexer", {
|
|
4595
5552
|
enumerable: true,
|
|
4596
|
-
get: function () { return
|
|
5553
|
+
get: function () { return chunk6DCMXFSQ_cjs.makeRpcIndexer; }
|
|
4597
5554
|
});
|
|
4598
5555
|
Object.defineProperty(exports, "DEFAULT_KEY_DERIVATION_CONFIG", {
|
|
4599
5556
|
enumerable: true,
|
|
@@ -5095,5 +6052,6 @@ exports.ASP_REGISTRY_HUB_ABI = ASP_REGISTRY_HUB_ABI;
|
|
|
5095
6052
|
exports.TEST_STABLE_TOKEN_2_ABI = TEST_STABLE_TOKEN_2_ABI;
|
|
5096
6053
|
exports.TEST_STABLE_TOKEN_ABI = TEST_STABLE_TOKEN_ABI;
|
|
5097
6054
|
exports.UNIVERSAL_PRIVATE_POOL_ABI = UNIVERSAL_PRIVATE_POOL_ABI;
|
|
6055
|
+
exports.UPP_SWAP_MODULE_ABI = UPP_SWAP_MODULE_ABI;
|
|
5098
6056
|
//# sourceMappingURL=index.cjs.map
|
|
5099
6057
|
//# sourceMappingURL=index.cjs.map
|