@relay-protocol/settlement-abis 2.0.19 → 2.0.20
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/index.d.mts +184 -0
- package/dist/index.d.ts +184 -0
- package/dist/index.js +180 -0
- package/dist/index.mjs +180 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2846,6 +2846,27 @@ var RelayExecutor = [
|
|
|
2846
2846
|
}
|
|
2847
2847
|
]
|
|
2848
2848
|
},
|
|
2849
|
+
{
|
|
2850
|
+
type: "error",
|
|
2851
|
+
name: "InsufficientFeeBalance",
|
|
2852
|
+
inputs: [
|
|
2853
|
+
{
|
|
2854
|
+
name: "tokenId",
|
|
2855
|
+
type: "uint256",
|
|
2856
|
+
internalType: "uint256"
|
|
2857
|
+
},
|
|
2858
|
+
{
|
|
2859
|
+
name: "balance",
|
|
2860
|
+
type: "uint256",
|
|
2861
|
+
internalType: "uint256"
|
|
2862
|
+
},
|
|
2863
|
+
{
|
|
2864
|
+
name: "fee",
|
|
2865
|
+
type: "uint256",
|
|
2866
|
+
internalType: "uint256"
|
|
2867
|
+
}
|
|
2868
|
+
]
|
|
2869
|
+
},
|
|
2849
2870
|
{
|
|
2850
2871
|
type: "error",
|
|
2851
2872
|
name: "InsufficientMinimumAmount",
|
|
@@ -2923,6 +2944,27 @@ var RelayExecutor = [
|
|
|
2923
2944
|
}
|
|
2924
2945
|
]
|
|
2925
2946
|
},
|
|
2947
|
+
{
|
|
2948
|
+
type: "error",
|
|
2949
|
+
name: "TokenBalanceDecreased",
|
|
2950
|
+
inputs: [
|
|
2951
|
+
{
|
|
2952
|
+
name: "tokenId",
|
|
2953
|
+
type: "uint256",
|
|
2954
|
+
internalType: "uint256"
|
|
2955
|
+
},
|
|
2956
|
+
{
|
|
2957
|
+
name: "before_",
|
|
2958
|
+
type: "uint256",
|
|
2959
|
+
internalType: "uint256"
|
|
2960
|
+
},
|
|
2961
|
+
{
|
|
2962
|
+
name: "after_",
|
|
2963
|
+
type: "uint256",
|
|
2964
|
+
internalType: "uint256"
|
|
2965
|
+
}
|
|
2966
|
+
]
|
|
2967
|
+
},
|
|
2926
2968
|
{
|
|
2927
2969
|
type: "error",
|
|
2928
2970
|
name: "UnauthorizedOracle",
|
|
@@ -11938,6 +11980,17 @@ var SignedPricingOracle = [
|
|
|
11938
11980
|
internalType: "string"
|
|
11939
11981
|
}
|
|
11940
11982
|
]
|
|
11983
|
+
},
|
|
11984
|
+
{
|
|
11985
|
+
type: "error",
|
|
11986
|
+
name: "ZeroPrice",
|
|
11987
|
+
inputs: [
|
|
11988
|
+
{
|
|
11989
|
+
name: "index",
|
|
11990
|
+
type: "uint256",
|
|
11991
|
+
internalType: "uint256"
|
|
11992
|
+
}
|
|
11993
|
+
]
|
|
11941
11994
|
}
|
|
11942
11995
|
];
|
|
11943
11996
|
|
|
@@ -17495,6 +17548,11 @@ var BitcoinVmPayloadBuilder = [
|
|
|
17495
17548
|
{
|
|
17496
17549
|
type: "constructor",
|
|
17497
17550
|
inputs: [
|
|
17551
|
+
{
|
|
17552
|
+
name: "_config",
|
|
17553
|
+
type: "address",
|
|
17554
|
+
internalType: "address"
|
|
17555
|
+
},
|
|
17498
17556
|
{
|
|
17499
17557
|
name: "_allocatorChangeScript",
|
|
17500
17558
|
type: "bytes",
|
|
@@ -17503,6 +17561,20 @@ var BitcoinVmPayloadBuilder = [
|
|
|
17503
17561
|
],
|
|
17504
17562
|
stateMutability: "nonpayable"
|
|
17505
17563
|
},
|
|
17564
|
+
{
|
|
17565
|
+
type: "function",
|
|
17566
|
+
name: "CONFIG",
|
|
17567
|
+
inputs: [
|
|
17568
|
+
],
|
|
17569
|
+
outputs: [
|
|
17570
|
+
{
|
|
17571
|
+
name: "",
|
|
17572
|
+
type: "address",
|
|
17573
|
+
internalType: "contract Config"
|
|
17574
|
+
}
|
|
17575
|
+
],
|
|
17576
|
+
stateMutability: "view"
|
|
17577
|
+
},
|
|
17506
17578
|
{
|
|
17507
17579
|
type: "function",
|
|
17508
17580
|
name: "allocatorChangeScript",
|
|
@@ -17601,6 +17673,34 @@ var BitcoinVmPayloadBuilder = [
|
|
|
17601
17673
|
],
|
|
17602
17674
|
stateMutability: "pure"
|
|
17603
17675
|
},
|
|
17676
|
+
{
|
|
17677
|
+
type: "function",
|
|
17678
|
+
name: "getMaxInputs",
|
|
17679
|
+
inputs: [
|
|
17680
|
+
],
|
|
17681
|
+
outputs: [
|
|
17682
|
+
{
|
|
17683
|
+
name: "maxInputs",
|
|
17684
|
+
type: "uint256",
|
|
17685
|
+
internalType: "uint256"
|
|
17686
|
+
}
|
|
17687
|
+
],
|
|
17688
|
+
stateMutability: "view"
|
|
17689
|
+
},
|
|
17690
|
+
{
|
|
17691
|
+
type: "function",
|
|
17692
|
+
name: "getMaxInputsKey",
|
|
17693
|
+
inputs: [
|
|
17694
|
+
],
|
|
17695
|
+
outputs: [
|
|
17696
|
+
{
|
|
17697
|
+
name: "key",
|
|
17698
|
+
type: "bytes32",
|
|
17699
|
+
internalType: "bytes32"
|
|
17700
|
+
}
|
|
17701
|
+
],
|
|
17702
|
+
stateMutability: "pure"
|
|
17703
|
+
},
|
|
17604
17704
|
{
|
|
17605
17705
|
type: "function",
|
|
17606
17706
|
name: "hashToSign",
|
|
@@ -17772,6 +17872,22 @@ var BitcoinVmPayloadBuilder = [
|
|
|
17772
17872
|
internalType: "uint64"
|
|
17773
17873
|
}
|
|
17774
17874
|
]
|
|
17875
|
+
},
|
|
17876
|
+
{
|
|
17877
|
+
type: "error",
|
|
17878
|
+
name: "TooManyInputs",
|
|
17879
|
+
inputs: [
|
|
17880
|
+
{
|
|
17881
|
+
name: "inputCount",
|
|
17882
|
+
type: "uint256",
|
|
17883
|
+
internalType: "uint256"
|
|
17884
|
+
},
|
|
17885
|
+
{
|
|
17886
|
+
name: "maxInputs",
|
|
17887
|
+
type: "uint256",
|
|
17888
|
+
internalType: "uint256"
|
|
17889
|
+
}
|
|
17890
|
+
]
|
|
17775
17891
|
}
|
|
17776
17892
|
];
|
|
17777
17893
|
|
|
@@ -19518,6 +19634,20 @@ var LighterVmPayloadBuilder = [
|
|
|
19518
19634
|
],
|
|
19519
19635
|
stateMutability: "view"
|
|
19520
19636
|
},
|
|
19637
|
+
{
|
|
19638
|
+
type: "function",
|
|
19639
|
+
name: "DEFAULT_MAX_USDC_FEE",
|
|
19640
|
+
inputs: [
|
|
19641
|
+
],
|
|
19642
|
+
outputs: [
|
|
19643
|
+
{
|
|
19644
|
+
name: "",
|
|
19645
|
+
type: "uint64",
|
|
19646
|
+
internalType: "uint64"
|
|
19647
|
+
}
|
|
19648
|
+
],
|
|
19649
|
+
stateMutability: "view"
|
|
19650
|
+
},
|
|
19521
19651
|
{
|
|
19522
19652
|
type: "function",
|
|
19523
19653
|
name: "FROM_ACCOUNT_INDEX",
|
|
@@ -19792,6 +19922,44 @@ var LighterVmPayloadBuilder = [
|
|
|
19792
19922
|
],
|
|
19793
19923
|
stateMutability: "pure"
|
|
19794
19924
|
},
|
|
19925
|
+
{
|
|
19926
|
+
type: "function",
|
|
19927
|
+
name: "getMaxUsdcFee",
|
|
19928
|
+
inputs: [
|
|
19929
|
+
{
|
|
19930
|
+
name: "chainId",
|
|
19931
|
+
type: "string",
|
|
19932
|
+
internalType: "string"
|
|
19933
|
+
}
|
|
19934
|
+
],
|
|
19935
|
+
outputs: [
|
|
19936
|
+
{
|
|
19937
|
+
name: "maxUsdcFee",
|
|
19938
|
+
type: "uint64",
|
|
19939
|
+
internalType: "uint64"
|
|
19940
|
+
}
|
|
19941
|
+
],
|
|
19942
|
+
stateMutability: "view"
|
|
19943
|
+
},
|
|
19944
|
+
{
|
|
19945
|
+
type: "function",
|
|
19946
|
+
name: "getMaxUsdcFeeKey",
|
|
19947
|
+
inputs: [
|
|
19948
|
+
{
|
|
19949
|
+
name: "chainId",
|
|
19950
|
+
type: "string",
|
|
19951
|
+
internalType: "string"
|
|
19952
|
+
}
|
|
19953
|
+
],
|
|
19954
|
+
outputs: [
|
|
19955
|
+
{
|
|
19956
|
+
name: "key",
|
|
19957
|
+
type: "bytes32",
|
|
19958
|
+
internalType: "bytes32"
|
|
19959
|
+
}
|
|
19960
|
+
],
|
|
19961
|
+
stateMutability: "pure"
|
|
19962
|
+
},
|
|
19795
19963
|
{
|
|
19796
19964
|
type: "function",
|
|
19797
19965
|
name: "getRouteTypes",
|
|
@@ -19874,6 +20042,22 @@ var LighterVmPayloadBuilder = [
|
|
|
19874
20042
|
],
|
|
19875
20043
|
stateMutability: "pure"
|
|
19876
20044
|
},
|
|
20045
|
+
{
|
|
20046
|
+
type: "error",
|
|
20047
|
+
name: "FeeExceedsMaxFee",
|
|
20048
|
+
inputs: [
|
|
20049
|
+
{
|
|
20050
|
+
name: "fee",
|
|
20051
|
+
type: "uint64",
|
|
20052
|
+
internalType: "uint64"
|
|
20053
|
+
},
|
|
20054
|
+
{
|
|
20055
|
+
name: "maxFee",
|
|
20056
|
+
type: "uint64",
|
|
20057
|
+
internalType: "uint64"
|
|
20058
|
+
}
|
|
20059
|
+
]
|
|
20060
|
+
},
|
|
19877
20061
|
{
|
|
19878
20062
|
type: "error",
|
|
19879
20063
|
name: "InvalidLength",
|
package/dist/index.d.ts
CHANGED
|
@@ -2846,6 +2846,27 @@ var RelayExecutor = [
|
|
|
2846
2846
|
}
|
|
2847
2847
|
]
|
|
2848
2848
|
},
|
|
2849
|
+
{
|
|
2850
|
+
type: "error",
|
|
2851
|
+
name: "InsufficientFeeBalance",
|
|
2852
|
+
inputs: [
|
|
2853
|
+
{
|
|
2854
|
+
name: "tokenId",
|
|
2855
|
+
type: "uint256",
|
|
2856
|
+
internalType: "uint256"
|
|
2857
|
+
},
|
|
2858
|
+
{
|
|
2859
|
+
name: "balance",
|
|
2860
|
+
type: "uint256",
|
|
2861
|
+
internalType: "uint256"
|
|
2862
|
+
},
|
|
2863
|
+
{
|
|
2864
|
+
name: "fee",
|
|
2865
|
+
type: "uint256",
|
|
2866
|
+
internalType: "uint256"
|
|
2867
|
+
}
|
|
2868
|
+
]
|
|
2869
|
+
},
|
|
2849
2870
|
{
|
|
2850
2871
|
type: "error",
|
|
2851
2872
|
name: "InsufficientMinimumAmount",
|
|
@@ -2923,6 +2944,27 @@ var RelayExecutor = [
|
|
|
2923
2944
|
}
|
|
2924
2945
|
]
|
|
2925
2946
|
},
|
|
2947
|
+
{
|
|
2948
|
+
type: "error",
|
|
2949
|
+
name: "TokenBalanceDecreased",
|
|
2950
|
+
inputs: [
|
|
2951
|
+
{
|
|
2952
|
+
name: "tokenId",
|
|
2953
|
+
type: "uint256",
|
|
2954
|
+
internalType: "uint256"
|
|
2955
|
+
},
|
|
2956
|
+
{
|
|
2957
|
+
name: "before_",
|
|
2958
|
+
type: "uint256",
|
|
2959
|
+
internalType: "uint256"
|
|
2960
|
+
},
|
|
2961
|
+
{
|
|
2962
|
+
name: "after_",
|
|
2963
|
+
type: "uint256",
|
|
2964
|
+
internalType: "uint256"
|
|
2965
|
+
}
|
|
2966
|
+
]
|
|
2967
|
+
},
|
|
2926
2968
|
{
|
|
2927
2969
|
type: "error",
|
|
2928
2970
|
name: "UnauthorizedOracle",
|
|
@@ -11938,6 +11980,17 @@ var SignedPricingOracle = [
|
|
|
11938
11980
|
internalType: "string"
|
|
11939
11981
|
}
|
|
11940
11982
|
]
|
|
11983
|
+
},
|
|
11984
|
+
{
|
|
11985
|
+
type: "error",
|
|
11986
|
+
name: "ZeroPrice",
|
|
11987
|
+
inputs: [
|
|
11988
|
+
{
|
|
11989
|
+
name: "index",
|
|
11990
|
+
type: "uint256",
|
|
11991
|
+
internalType: "uint256"
|
|
11992
|
+
}
|
|
11993
|
+
]
|
|
11941
11994
|
}
|
|
11942
11995
|
];
|
|
11943
11996
|
|
|
@@ -17495,6 +17548,11 @@ var BitcoinVmPayloadBuilder = [
|
|
|
17495
17548
|
{
|
|
17496
17549
|
type: "constructor",
|
|
17497
17550
|
inputs: [
|
|
17551
|
+
{
|
|
17552
|
+
name: "_config",
|
|
17553
|
+
type: "address",
|
|
17554
|
+
internalType: "address"
|
|
17555
|
+
},
|
|
17498
17556
|
{
|
|
17499
17557
|
name: "_allocatorChangeScript",
|
|
17500
17558
|
type: "bytes",
|
|
@@ -17503,6 +17561,20 @@ var BitcoinVmPayloadBuilder = [
|
|
|
17503
17561
|
],
|
|
17504
17562
|
stateMutability: "nonpayable"
|
|
17505
17563
|
},
|
|
17564
|
+
{
|
|
17565
|
+
type: "function",
|
|
17566
|
+
name: "CONFIG",
|
|
17567
|
+
inputs: [
|
|
17568
|
+
],
|
|
17569
|
+
outputs: [
|
|
17570
|
+
{
|
|
17571
|
+
name: "",
|
|
17572
|
+
type: "address",
|
|
17573
|
+
internalType: "contract Config"
|
|
17574
|
+
}
|
|
17575
|
+
],
|
|
17576
|
+
stateMutability: "view"
|
|
17577
|
+
},
|
|
17506
17578
|
{
|
|
17507
17579
|
type: "function",
|
|
17508
17580
|
name: "allocatorChangeScript",
|
|
@@ -17601,6 +17673,34 @@ var BitcoinVmPayloadBuilder = [
|
|
|
17601
17673
|
],
|
|
17602
17674
|
stateMutability: "pure"
|
|
17603
17675
|
},
|
|
17676
|
+
{
|
|
17677
|
+
type: "function",
|
|
17678
|
+
name: "getMaxInputs",
|
|
17679
|
+
inputs: [
|
|
17680
|
+
],
|
|
17681
|
+
outputs: [
|
|
17682
|
+
{
|
|
17683
|
+
name: "maxInputs",
|
|
17684
|
+
type: "uint256",
|
|
17685
|
+
internalType: "uint256"
|
|
17686
|
+
}
|
|
17687
|
+
],
|
|
17688
|
+
stateMutability: "view"
|
|
17689
|
+
},
|
|
17690
|
+
{
|
|
17691
|
+
type: "function",
|
|
17692
|
+
name: "getMaxInputsKey",
|
|
17693
|
+
inputs: [
|
|
17694
|
+
],
|
|
17695
|
+
outputs: [
|
|
17696
|
+
{
|
|
17697
|
+
name: "key",
|
|
17698
|
+
type: "bytes32",
|
|
17699
|
+
internalType: "bytes32"
|
|
17700
|
+
}
|
|
17701
|
+
],
|
|
17702
|
+
stateMutability: "pure"
|
|
17703
|
+
},
|
|
17604
17704
|
{
|
|
17605
17705
|
type: "function",
|
|
17606
17706
|
name: "hashToSign",
|
|
@@ -17772,6 +17872,22 @@ var BitcoinVmPayloadBuilder = [
|
|
|
17772
17872
|
internalType: "uint64"
|
|
17773
17873
|
}
|
|
17774
17874
|
]
|
|
17875
|
+
},
|
|
17876
|
+
{
|
|
17877
|
+
type: "error",
|
|
17878
|
+
name: "TooManyInputs",
|
|
17879
|
+
inputs: [
|
|
17880
|
+
{
|
|
17881
|
+
name: "inputCount",
|
|
17882
|
+
type: "uint256",
|
|
17883
|
+
internalType: "uint256"
|
|
17884
|
+
},
|
|
17885
|
+
{
|
|
17886
|
+
name: "maxInputs",
|
|
17887
|
+
type: "uint256",
|
|
17888
|
+
internalType: "uint256"
|
|
17889
|
+
}
|
|
17890
|
+
]
|
|
17775
17891
|
}
|
|
17776
17892
|
];
|
|
17777
17893
|
|
|
@@ -19518,6 +19634,20 @@ var LighterVmPayloadBuilder = [
|
|
|
19518
19634
|
],
|
|
19519
19635
|
stateMutability: "view"
|
|
19520
19636
|
},
|
|
19637
|
+
{
|
|
19638
|
+
type: "function",
|
|
19639
|
+
name: "DEFAULT_MAX_USDC_FEE",
|
|
19640
|
+
inputs: [
|
|
19641
|
+
],
|
|
19642
|
+
outputs: [
|
|
19643
|
+
{
|
|
19644
|
+
name: "",
|
|
19645
|
+
type: "uint64",
|
|
19646
|
+
internalType: "uint64"
|
|
19647
|
+
}
|
|
19648
|
+
],
|
|
19649
|
+
stateMutability: "view"
|
|
19650
|
+
},
|
|
19521
19651
|
{
|
|
19522
19652
|
type: "function",
|
|
19523
19653
|
name: "FROM_ACCOUNT_INDEX",
|
|
@@ -19792,6 +19922,44 @@ var LighterVmPayloadBuilder = [
|
|
|
19792
19922
|
],
|
|
19793
19923
|
stateMutability: "pure"
|
|
19794
19924
|
},
|
|
19925
|
+
{
|
|
19926
|
+
type: "function",
|
|
19927
|
+
name: "getMaxUsdcFee",
|
|
19928
|
+
inputs: [
|
|
19929
|
+
{
|
|
19930
|
+
name: "chainId",
|
|
19931
|
+
type: "string",
|
|
19932
|
+
internalType: "string"
|
|
19933
|
+
}
|
|
19934
|
+
],
|
|
19935
|
+
outputs: [
|
|
19936
|
+
{
|
|
19937
|
+
name: "maxUsdcFee",
|
|
19938
|
+
type: "uint64",
|
|
19939
|
+
internalType: "uint64"
|
|
19940
|
+
}
|
|
19941
|
+
],
|
|
19942
|
+
stateMutability: "view"
|
|
19943
|
+
},
|
|
19944
|
+
{
|
|
19945
|
+
type: "function",
|
|
19946
|
+
name: "getMaxUsdcFeeKey",
|
|
19947
|
+
inputs: [
|
|
19948
|
+
{
|
|
19949
|
+
name: "chainId",
|
|
19950
|
+
type: "string",
|
|
19951
|
+
internalType: "string"
|
|
19952
|
+
}
|
|
19953
|
+
],
|
|
19954
|
+
outputs: [
|
|
19955
|
+
{
|
|
19956
|
+
name: "key",
|
|
19957
|
+
type: "bytes32",
|
|
19958
|
+
internalType: "bytes32"
|
|
19959
|
+
}
|
|
19960
|
+
],
|
|
19961
|
+
stateMutability: "pure"
|
|
19962
|
+
},
|
|
19795
19963
|
{
|
|
19796
19964
|
type: "function",
|
|
19797
19965
|
name: "getRouteTypes",
|
|
@@ -19874,6 +20042,22 @@ var LighterVmPayloadBuilder = [
|
|
|
19874
20042
|
],
|
|
19875
20043
|
stateMutability: "pure"
|
|
19876
20044
|
},
|
|
20045
|
+
{
|
|
20046
|
+
type: "error",
|
|
20047
|
+
name: "FeeExceedsMaxFee",
|
|
20048
|
+
inputs: [
|
|
20049
|
+
{
|
|
20050
|
+
name: "fee",
|
|
20051
|
+
type: "uint64",
|
|
20052
|
+
internalType: "uint64"
|
|
20053
|
+
},
|
|
20054
|
+
{
|
|
20055
|
+
name: "maxFee",
|
|
20056
|
+
type: "uint64",
|
|
20057
|
+
internalType: "uint64"
|
|
20058
|
+
}
|
|
20059
|
+
]
|
|
20060
|
+
},
|
|
19877
20061
|
{
|
|
19878
20062
|
type: "error",
|
|
19879
20063
|
name: "InvalidLength",
|
package/dist/index.js
CHANGED
|
@@ -2922,6 +2922,27 @@ var RelayExecutor_default = [
|
|
|
2922
2922
|
}
|
|
2923
2923
|
]
|
|
2924
2924
|
},
|
|
2925
|
+
{
|
|
2926
|
+
type: "error",
|
|
2927
|
+
name: "InsufficientFeeBalance",
|
|
2928
|
+
inputs: [
|
|
2929
|
+
{
|
|
2930
|
+
name: "tokenId",
|
|
2931
|
+
type: "uint256",
|
|
2932
|
+
internalType: "uint256"
|
|
2933
|
+
},
|
|
2934
|
+
{
|
|
2935
|
+
name: "balance",
|
|
2936
|
+
type: "uint256",
|
|
2937
|
+
internalType: "uint256"
|
|
2938
|
+
},
|
|
2939
|
+
{
|
|
2940
|
+
name: "fee",
|
|
2941
|
+
type: "uint256",
|
|
2942
|
+
internalType: "uint256"
|
|
2943
|
+
}
|
|
2944
|
+
]
|
|
2945
|
+
},
|
|
2925
2946
|
{
|
|
2926
2947
|
type: "error",
|
|
2927
2948
|
name: "InsufficientMinimumAmount",
|
|
@@ -2997,6 +3018,27 @@ var RelayExecutor_default = [
|
|
|
2997
3018
|
}
|
|
2998
3019
|
]
|
|
2999
3020
|
},
|
|
3021
|
+
{
|
|
3022
|
+
type: "error",
|
|
3023
|
+
name: "TokenBalanceDecreased",
|
|
3024
|
+
inputs: [
|
|
3025
|
+
{
|
|
3026
|
+
name: "tokenId",
|
|
3027
|
+
type: "uint256",
|
|
3028
|
+
internalType: "uint256"
|
|
3029
|
+
},
|
|
3030
|
+
{
|
|
3031
|
+
name: "before_",
|
|
3032
|
+
type: "uint256",
|
|
3033
|
+
internalType: "uint256"
|
|
3034
|
+
},
|
|
3035
|
+
{
|
|
3036
|
+
name: "after_",
|
|
3037
|
+
type: "uint256",
|
|
3038
|
+
internalType: "uint256"
|
|
3039
|
+
}
|
|
3040
|
+
]
|
|
3041
|
+
},
|
|
3000
3042
|
{
|
|
3001
3043
|
type: "error",
|
|
3002
3044
|
name: "UnauthorizedOracle",
|
|
@@ -11880,6 +11922,17 @@ var SignedPricingOracle_default = [
|
|
|
11880
11922
|
internalType: "string"
|
|
11881
11923
|
}
|
|
11882
11924
|
]
|
|
11925
|
+
},
|
|
11926
|
+
{
|
|
11927
|
+
type: "error",
|
|
11928
|
+
name: "ZeroPrice",
|
|
11929
|
+
inputs: [
|
|
11930
|
+
{
|
|
11931
|
+
name: "index",
|
|
11932
|
+
type: "uint256",
|
|
11933
|
+
internalType: "uint256"
|
|
11934
|
+
}
|
|
11935
|
+
]
|
|
11883
11936
|
}
|
|
11884
11937
|
];
|
|
11885
11938
|
|
|
@@ -17314,6 +17367,11 @@ var BitcoinVmPayloadBuilder_default = [
|
|
|
17314
17367
|
{
|
|
17315
17368
|
type: "constructor",
|
|
17316
17369
|
inputs: [
|
|
17370
|
+
{
|
|
17371
|
+
name: "_config",
|
|
17372
|
+
type: "address",
|
|
17373
|
+
internalType: "address"
|
|
17374
|
+
},
|
|
17317
17375
|
{
|
|
17318
17376
|
name: "_allocatorChangeScript",
|
|
17319
17377
|
type: "bytes",
|
|
@@ -17322,6 +17380,19 @@ var BitcoinVmPayloadBuilder_default = [
|
|
|
17322
17380
|
],
|
|
17323
17381
|
stateMutability: "nonpayable"
|
|
17324
17382
|
},
|
|
17383
|
+
{
|
|
17384
|
+
type: "function",
|
|
17385
|
+
name: "CONFIG",
|
|
17386
|
+
inputs: [],
|
|
17387
|
+
outputs: [
|
|
17388
|
+
{
|
|
17389
|
+
name: "",
|
|
17390
|
+
type: "address",
|
|
17391
|
+
internalType: "contract Config"
|
|
17392
|
+
}
|
|
17393
|
+
],
|
|
17394
|
+
stateMutability: "view"
|
|
17395
|
+
},
|
|
17325
17396
|
{
|
|
17326
17397
|
type: "function",
|
|
17327
17398
|
name: "allocatorChangeScript",
|
|
@@ -17417,6 +17488,32 @@ var BitcoinVmPayloadBuilder_default = [
|
|
|
17417
17488
|
],
|
|
17418
17489
|
stateMutability: "pure"
|
|
17419
17490
|
},
|
|
17491
|
+
{
|
|
17492
|
+
type: "function",
|
|
17493
|
+
name: "getMaxInputs",
|
|
17494
|
+
inputs: [],
|
|
17495
|
+
outputs: [
|
|
17496
|
+
{
|
|
17497
|
+
name: "maxInputs",
|
|
17498
|
+
type: "uint256",
|
|
17499
|
+
internalType: "uint256"
|
|
17500
|
+
}
|
|
17501
|
+
],
|
|
17502
|
+
stateMutability: "view"
|
|
17503
|
+
},
|
|
17504
|
+
{
|
|
17505
|
+
type: "function",
|
|
17506
|
+
name: "getMaxInputsKey",
|
|
17507
|
+
inputs: [],
|
|
17508
|
+
outputs: [
|
|
17509
|
+
{
|
|
17510
|
+
name: "key",
|
|
17511
|
+
type: "bytes32",
|
|
17512
|
+
internalType: "bytes32"
|
|
17513
|
+
}
|
|
17514
|
+
],
|
|
17515
|
+
stateMutability: "pure"
|
|
17516
|
+
},
|
|
17420
17517
|
{
|
|
17421
17518
|
type: "function",
|
|
17422
17519
|
name: "hashToSign",
|
|
@@ -17588,6 +17685,22 @@ var BitcoinVmPayloadBuilder_default = [
|
|
|
17588
17685
|
internalType: "uint64"
|
|
17589
17686
|
}
|
|
17590
17687
|
]
|
|
17688
|
+
},
|
|
17689
|
+
{
|
|
17690
|
+
type: "error",
|
|
17691
|
+
name: "TooManyInputs",
|
|
17692
|
+
inputs: [
|
|
17693
|
+
{
|
|
17694
|
+
name: "inputCount",
|
|
17695
|
+
type: "uint256",
|
|
17696
|
+
internalType: "uint256"
|
|
17697
|
+
},
|
|
17698
|
+
{
|
|
17699
|
+
name: "maxInputs",
|
|
17700
|
+
type: "uint256",
|
|
17701
|
+
internalType: "uint256"
|
|
17702
|
+
}
|
|
17703
|
+
]
|
|
17591
17704
|
}
|
|
17592
17705
|
];
|
|
17593
17706
|
|
|
@@ -19303,6 +19416,19 @@ var LighterVmPayloadBuilder_default = [
|
|
|
19303
19416
|
],
|
|
19304
19417
|
stateMutability: "view"
|
|
19305
19418
|
},
|
|
19419
|
+
{
|
|
19420
|
+
type: "function",
|
|
19421
|
+
name: "DEFAULT_MAX_USDC_FEE",
|
|
19422
|
+
inputs: [],
|
|
19423
|
+
outputs: [
|
|
19424
|
+
{
|
|
19425
|
+
name: "",
|
|
19426
|
+
type: "uint64",
|
|
19427
|
+
internalType: "uint64"
|
|
19428
|
+
}
|
|
19429
|
+
],
|
|
19430
|
+
stateMutability: "view"
|
|
19431
|
+
},
|
|
19306
19432
|
{
|
|
19307
19433
|
type: "function",
|
|
19308
19434
|
name: "FROM_ACCOUNT_INDEX",
|
|
@@ -19572,6 +19698,44 @@ var LighterVmPayloadBuilder_default = [
|
|
|
19572
19698
|
],
|
|
19573
19699
|
stateMutability: "pure"
|
|
19574
19700
|
},
|
|
19701
|
+
{
|
|
19702
|
+
type: "function",
|
|
19703
|
+
name: "getMaxUsdcFee",
|
|
19704
|
+
inputs: [
|
|
19705
|
+
{
|
|
19706
|
+
name: "chainId",
|
|
19707
|
+
type: "string",
|
|
19708
|
+
internalType: "string"
|
|
19709
|
+
}
|
|
19710
|
+
],
|
|
19711
|
+
outputs: [
|
|
19712
|
+
{
|
|
19713
|
+
name: "maxUsdcFee",
|
|
19714
|
+
type: "uint64",
|
|
19715
|
+
internalType: "uint64"
|
|
19716
|
+
}
|
|
19717
|
+
],
|
|
19718
|
+
stateMutability: "view"
|
|
19719
|
+
},
|
|
19720
|
+
{
|
|
19721
|
+
type: "function",
|
|
19722
|
+
name: "getMaxUsdcFeeKey",
|
|
19723
|
+
inputs: [
|
|
19724
|
+
{
|
|
19725
|
+
name: "chainId",
|
|
19726
|
+
type: "string",
|
|
19727
|
+
internalType: "string"
|
|
19728
|
+
}
|
|
19729
|
+
],
|
|
19730
|
+
outputs: [
|
|
19731
|
+
{
|
|
19732
|
+
name: "key",
|
|
19733
|
+
type: "bytes32",
|
|
19734
|
+
internalType: "bytes32"
|
|
19735
|
+
}
|
|
19736
|
+
],
|
|
19737
|
+
stateMutability: "pure"
|
|
19738
|
+
},
|
|
19575
19739
|
{
|
|
19576
19740
|
type: "function",
|
|
19577
19741
|
name: "getRouteTypes",
|
|
@@ -19654,6 +19818,22 @@ var LighterVmPayloadBuilder_default = [
|
|
|
19654
19818
|
],
|
|
19655
19819
|
stateMutability: "pure"
|
|
19656
19820
|
},
|
|
19821
|
+
{
|
|
19822
|
+
type: "error",
|
|
19823
|
+
name: "FeeExceedsMaxFee",
|
|
19824
|
+
inputs: [
|
|
19825
|
+
{
|
|
19826
|
+
name: "fee",
|
|
19827
|
+
type: "uint64",
|
|
19828
|
+
internalType: "uint64"
|
|
19829
|
+
},
|
|
19830
|
+
{
|
|
19831
|
+
name: "maxFee",
|
|
19832
|
+
type: "uint64",
|
|
19833
|
+
internalType: "uint64"
|
|
19834
|
+
}
|
|
19835
|
+
]
|
|
19836
|
+
},
|
|
19657
19837
|
{
|
|
19658
19838
|
type: "error",
|
|
19659
19839
|
name: "InvalidLength",
|
package/dist/index.mjs
CHANGED
|
@@ -2805,6 +2805,27 @@ var RelayExecutor_default = [
|
|
|
2805
2805
|
}
|
|
2806
2806
|
]
|
|
2807
2807
|
},
|
|
2808
|
+
{
|
|
2809
|
+
type: "error",
|
|
2810
|
+
name: "InsufficientFeeBalance",
|
|
2811
|
+
inputs: [
|
|
2812
|
+
{
|
|
2813
|
+
name: "tokenId",
|
|
2814
|
+
type: "uint256",
|
|
2815
|
+
internalType: "uint256"
|
|
2816
|
+
},
|
|
2817
|
+
{
|
|
2818
|
+
name: "balance",
|
|
2819
|
+
type: "uint256",
|
|
2820
|
+
internalType: "uint256"
|
|
2821
|
+
},
|
|
2822
|
+
{
|
|
2823
|
+
name: "fee",
|
|
2824
|
+
type: "uint256",
|
|
2825
|
+
internalType: "uint256"
|
|
2826
|
+
}
|
|
2827
|
+
]
|
|
2828
|
+
},
|
|
2808
2829
|
{
|
|
2809
2830
|
type: "error",
|
|
2810
2831
|
name: "InsufficientMinimumAmount",
|
|
@@ -2880,6 +2901,27 @@ var RelayExecutor_default = [
|
|
|
2880
2901
|
}
|
|
2881
2902
|
]
|
|
2882
2903
|
},
|
|
2904
|
+
{
|
|
2905
|
+
type: "error",
|
|
2906
|
+
name: "TokenBalanceDecreased",
|
|
2907
|
+
inputs: [
|
|
2908
|
+
{
|
|
2909
|
+
name: "tokenId",
|
|
2910
|
+
type: "uint256",
|
|
2911
|
+
internalType: "uint256"
|
|
2912
|
+
},
|
|
2913
|
+
{
|
|
2914
|
+
name: "before_",
|
|
2915
|
+
type: "uint256",
|
|
2916
|
+
internalType: "uint256"
|
|
2917
|
+
},
|
|
2918
|
+
{
|
|
2919
|
+
name: "after_",
|
|
2920
|
+
type: "uint256",
|
|
2921
|
+
internalType: "uint256"
|
|
2922
|
+
}
|
|
2923
|
+
]
|
|
2924
|
+
},
|
|
2883
2925
|
{
|
|
2884
2926
|
type: "error",
|
|
2885
2927
|
name: "UnauthorizedOracle",
|
|
@@ -11763,6 +11805,17 @@ var SignedPricingOracle_default = [
|
|
|
11763
11805
|
internalType: "string"
|
|
11764
11806
|
}
|
|
11765
11807
|
]
|
|
11808
|
+
},
|
|
11809
|
+
{
|
|
11810
|
+
type: "error",
|
|
11811
|
+
name: "ZeroPrice",
|
|
11812
|
+
inputs: [
|
|
11813
|
+
{
|
|
11814
|
+
name: "index",
|
|
11815
|
+
type: "uint256",
|
|
11816
|
+
internalType: "uint256"
|
|
11817
|
+
}
|
|
11818
|
+
]
|
|
11766
11819
|
}
|
|
11767
11820
|
];
|
|
11768
11821
|
|
|
@@ -17197,6 +17250,11 @@ var BitcoinVmPayloadBuilder_default = [
|
|
|
17197
17250
|
{
|
|
17198
17251
|
type: "constructor",
|
|
17199
17252
|
inputs: [
|
|
17253
|
+
{
|
|
17254
|
+
name: "_config",
|
|
17255
|
+
type: "address",
|
|
17256
|
+
internalType: "address"
|
|
17257
|
+
},
|
|
17200
17258
|
{
|
|
17201
17259
|
name: "_allocatorChangeScript",
|
|
17202
17260
|
type: "bytes",
|
|
@@ -17205,6 +17263,19 @@ var BitcoinVmPayloadBuilder_default = [
|
|
|
17205
17263
|
],
|
|
17206
17264
|
stateMutability: "nonpayable"
|
|
17207
17265
|
},
|
|
17266
|
+
{
|
|
17267
|
+
type: "function",
|
|
17268
|
+
name: "CONFIG",
|
|
17269
|
+
inputs: [],
|
|
17270
|
+
outputs: [
|
|
17271
|
+
{
|
|
17272
|
+
name: "",
|
|
17273
|
+
type: "address",
|
|
17274
|
+
internalType: "contract Config"
|
|
17275
|
+
}
|
|
17276
|
+
],
|
|
17277
|
+
stateMutability: "view"
|
|
17278
|
+
},
|
|
17208
17279
|
{
|
|
17209
17280
|
type: "function",
|
|
17210
17281
|
name: "allocatorChangeScript",
|
|
@@ -17300,6 +17371,32 @@ var BitcoinVmPayloadBuilder_default = [
|
|
|
17300
17371
|
],
|
|
17301
17372
|
stateMutability: "pure"
|
|
17302
17373
|
},
|
|
17374
|
+
{
|
|
17375
|
+
type: "function",
|
|
17376
|
+
name: "getMaxInputs",
|
|
17377
|
+
inputs: [],
|
|
17378
|
+
outputs: [
|
|
17379
|
+
{
|
|
17380
|
+
name: "maxInputs",
|
|
17381
|
+
type: "uint256",
|
|
17382
|
+
internalType: "uint256"
|
|
17383
|
+
}
|
|
17384
|
+
],
|
|
17385
|
+
stateMutability: "view"
|
|
17386
|
+
},
|
|
17387
|
+
{
|
|
17388
|
+
type: "function",
|
|
17389
|
+
name: "getMaxInputsKey",
|
|
17390
|
+
inputs: [],
|
|
17391
|
+
outputs: [
|
|
17392
|
+
{
|
|
17393
|
+
name: "key",
|
|
17394
|
+
type: "bytes32",
|
|
17395
|
+
internalType: "bytes32"
|
|
17396
|
+
}
|
|
17397
|
+
],
|
|
17398
|
+
stateMutability: "pure"
|
|
17399
|
+
},
|
|
17303
17400
|
{
|
|
17304
17401
|
type: "function",
|
|
17305
17402
|
name: "hashToSign",
|
|
@@ -17471,6 +17568,22 @@ var BitcoinVmPayloadBuilder_default = [
|
|
|
17471
17568
|
internalType: "uint64"
|
|
17472
17569
|
}
|
|
17473
17570
|
]
|
|
17571
|
+
},
|
|
17572
|
+
{
|
|
17573
|
+
type: "error",
|
|
17574
|
+
name: "TooManyInputs",
|
|
17575
|
+
inputs: [
|
|
17576
|
+
{
|
|
17577
|
+
name: "inputCount",
|
|
17578
|
+
type: "uint256",
|
|
17579
|
+
internalType: "uint256"
|
|
17580
|
+
},
|
|
17581
|
+
{
|
|
17582
|
+
name: "maxInputs",
|
|
17583
|
+
type: "uint256",
|
|
17584
|
+
internalType: "uint256"
|
|
17585
|
+
}
|
|
17586
|
+
]
|
|
17474
17587
|
}
|
|
17475
17588
|
];
|
|
17476
17589
|
|
|
@@ -19186,6 +19299,19 @@ var LighterVmPayloadBuilder_default = [
|
|
|
19186
19299
|
],
|
|
19187
19300
|
stateMutability: "view"
|
|
19188
19301
|
},
|
|
19302
|
+
{
|
|
19303
|
+
type: "function",
|
|
19304
|
+
name: "DEFAULT_MAX_USDC_FEE",
|
|
19305
|
+
inputs: [],
|
|
19306
|
+
outputs: [
|
|
19307
|
+
{
|
|
19308
|
+
name: "",
|
|
19309
|
+
type: "uint64",
|
|
19310
|
+
internalType: "uint64"
|
|
19311
|
+
}
|
|
19312
|
+
],
|
|
19313
|
+
stateMutability: "view"
|
|
19314
|
+
},
|
|
19189
19315
|
{
|
|
19190
19316
|
type: "function",
|
|
19191
19317
|
name: "FROM_ACCOUNT_INDEX",
|
|
@@ -19455,6 +19581,44 @@ var LighterVmPayloadBuilder_default = [
|
|
|
19455
19581
|
],
|
|
19456
19582
|
stateMutability: "pure"
|
|
19457
19583
|
},
|
|
19584
|
+
{
|
|
19585
|
+
type: "function",
|
|
19586
|
+
name: "getMaxUsdcFee",
|
|
19587
|
+
inputs: [
|
|
19588
|
+
{
|
|
19589
|
+
name: "chainId",
|
|
19590
|
+
type: "string",
|
|
19591
|
+
internalType: "string"
|
|
19592
|
+
}
|
|
19593
|
+
],
|
|
19594
|
+
outputs: [
|
|
19595
|
+
{
|
|
19596
|
+
name: "maxUsdcFee",
|
|
19597
|
+
type: "uint64",
|
|
19598
|
+
internalType: "uint64"
|
|
19599
|
+
}
|
|
19600
|
+
],
|
|
19601
|
+
stateMutability: "view"
|
|
19602
|
+
},
|
|
19603
|
+
{
|
|
19604
|
+
type: "function",
|
|
19605
|
+
name: "getMaxUsdcFeeKey",
|
|
19606
|
+
inputs: [
|
|
19607
|
+
{
|
|
19608
|
+
name: "chainId",
|
|
19609
|
+
type: "string",
|
|
19610
|
+
internalType: "string"
|
|
19611
|
+
}
|
|
19612
|
+
],
|
|
19613
|
+
outputs: [
|
|
19614
|
+
{
|
|
19615
|
+
name: "key",
|
|
19616
|
+
type: "bytes32",
|
|
19617
|
+
internalType: "bytes32"
|
|
19618
|
+
}
|
|
19619
|
+
],
|
|
19620
|
+
stateMutability: "pure"
|
|
19621
|
+
},
|
|
19458
19622
|
{
|
|
19459
19623
|
type: "function",
|
|
19460
19624
|
name: "getRouteTypes",
|
|
@@ -19537,6 +19701,22 @@ var LighterVmPayloadBuilder_default = [
|
|
|
19537
19701
|
],
|
|
19538
19702
|
stateMutability: "pure"
|
|
19539
19703
|
},
|
|
19704
|
+
{
|
|
19705
|
+
type: "error",
|
|
19706
|
+
name: "FeeExceedsMaxFee",
|
|
19707
|
+
inputs: [
|
|
19708
|
+
{
|
|
19709
|
+
name: "fee",
|
|
19710
|
+
type: "uint64",
|
|
19711
|
+
internalType: "uint64"
|
|
19712
|
+
},
|
|
19713
|
+
{
|
|
19714
|
+
name: "maxFee",
|
|
19715
|
+
type: "uint64",
|
|
19716
|
+
internalType: "uint64"
|
|
19717
|
+
}
|
|
19718
|
+
]
|
|
19719
|
+
},
|
|
19540
19720
|
{
|
|
19541
19721
|
type: "error",
|
|
19542
19722
|
name: "InvalidLength",
|