@funkit/core 2.1.2-next.3 → 2.1.2
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.js +995 -2
- package/dist/index.js.map +3 -3
- package/dist/src/viem/Converter.d.ts +3 -1702
- package/package.json +2 -3
package/dist/index.js
CHANGED
|
@@ -18,7 +18,6 @@ import * as viemChains from "viem/chains";
|
|
|
18
18
|
import { InvalidParameterError as InvalidParameterError2 } from "viem";
|
|
19
19
|
|
|
20
20
|
// src/common/constants.ts
|
|
21
|
-
import IUniswapV3PoolABI from "@uniswap/v3-core/artifacts/contracts/interfaces/IUniswapV3Pool.sol/IUniswapV3Pool.json" assert { type: "json" };
|
|
22
21
|
import { padHex } from "viem";
|
|
23
22
|
import {
|
|
24
23
|
arbitrum,
|
|
@@ -6723,6 +6722,1000 @@ var GaslessPaymaster_default = {
|
|
|
6723
6722
|
}
|
|
6724
6723
|
};
|
|
6725
6724
|
|
|
6725
|
+
// src/abis/IUniswapV3Pool.json
|
|
6726
|
+
var IUniswapV3Pool_default = {
|
|
6727
|
+
_format: "hh-sol-artifact-1",
|
|
6728
|
+
contractName: "IUniswapV3Pool",
|
|
6729
|
+
sourceName: "contracts/interfaces/IUniswapV3Pool.sol",
|
|
6730
|
+
abi: [
|
|
6731
|
+
{
|
|
6732
|
+
anonymous: false,
|
|
6733
|
+
inputs: [
|
|
6734
|
+
{
|
|
6735
|
+
indexed: true,
|
|
6736
|
+
internalType: "address",
|
|
6737
|
+
name: "owner",
|
|
6738
|
+
type: "address"
|
|
6739
|
+
},
|
|
6740
|
+
{
|
|
6741
|
+
indexed: true,
|
|
6742
|
+
internalType: "int24",
|
|
6743
|
+
name: "tickLower",
|
|
6744
|
+
type: "int24"
|
|
6745
|
+
},
|
|
6746
|
+
{
|
|
6747
|
+
indexed: true,
|
|
6748
|
+
internalType: "int24",
|
|
6749
|
+
name: "tickUpper",
|
|
6750
|
+
type: "int24"
|
|
6751
|
+
},
|
|
6752
|
+
{
|
|
6753
|
+
indexed: false,
|
|
6754
|
+
internalType: "uint128",
|
|
6755
|
+
name: "amount",
|
|
6756
|
+
type: "uint128"
|
|
6757
|
+
},
|
|
6758
|
+
{
|
|
6759
|
+
indexed: false,
|
|
6760
|
+
internalType: "uint256",
|
|
6761
|
+
name: "amount0",
|
|
6762
|
+
type: "uint256"
|
|
6763
|
+
},
|
|
6764
|
+
{
|
|
6765
|
+
indexed: false,
|
|
6766
|
+
internalType: "uint256",
|
|
6767
|
+
name: "amount1",
|
|
6768
|
+
type: "uint256"
|
|
6769
|
+
}
|
|
6770
|
+
],
|
|
6771
|
+
name: "Burn",
|
|
6772
|
+
type: "event"
|
|
6773
|
+
},
|
|
6774
|
+
{
|
|
6775
|
+
anonymous: false,
|
|
6776
|
+
inputs: [
|
|
6777
|
+
{
|
|
6778
|
+
indexed: true,
|
|
6779
|
+
internalType: "address",
|
|
6780
|
+
name: "owner",
|
|
6781
|
+
type: "address"
|
|
6782
|
+
},
|
|
6783
|
+
{
|
|
6784
|
+
indexed: false,
|
|
6785
|
+
internalType: "address",
|
|
6786
|
+
name: "recipient",
|
|
6787
|
+
type: "address"
|
|
6788
|
+
},
|
|
6789
|
+
{
|
|
6790
|
+
indexed: true,
|
|
6791
|
+
internalType: "int24",
|
|
6792
|
+
name: "tickLower",
|
|
6793
|
+
type: "int24"
|
|
6794
|
+
},
|
|
6795
|
+
{
|
|
6796
|
+
indexed: true,
|
|
6797
|
+
internalType: "int24",
|
|
6798
|
+
name: "tickUpper",
|
|
6799
|
+
type: "int24"
|
|
6800
|
+
},
|
|
6801
|
+
{
|
|
6802
|
+
indexed: false,
|
|
6803
|
+
internalType: "uint128",
|
|
6804
|
+
name: "amount0",
|
|
6805
|
+
type: "uint128"
|
|
6806
|
+
},
|
|
6807
|
+
{
|
|
6808
|
+
indexed: false,
|
|
6809
|
+
internalType: "uint128",
|
|
6810
|
+
name: "amount1",
|
|
6811
|
+
type: "uint128"
|
|
6812
|
+
}
|
|
6813
|
+
],
|
|
6814
|
+
name: "Collect",
|
|
6815
|
+
type: "event"
|
|
6816
|
+
},
|
|
6817
|
+
{
|
|
6818
|
+
anonymous: false,
|
|
6819
|
+
inputs: [
|
|
6820
|
+
{
|
|
6821
|
+
indexed: true,
|
|
6822
|
+
internalType: "address",
|
|
6823
|
+
name: "sender",
|
|
6824
|
+
type: "address"
|
|
6825
|
+
},
|
|
6826
|
+
{
|
|
6827
|
+
indexed: true,
|
|
6828
|
+
internalType: "address",
|
|
6829
|
+
name: "recipient",
|
|
6830
|
+
type: "address"
|
|
6831
|
+
},
|
|
6832
|
+
{
|
|
6833
|
+
indexed: false,
|
|
6834
|
+
internalType: "uint128",
|
|
6835
|
+
name: "amount0",
|
|
6836
|
+
type: "uint128"
|
|
6837
|
+
},
|
|
6838
|
+
{
|
|
6839
|
+
indexed: false,
|
|
6840
|
+
internalType: "uint128",
|
|
6841
|
+
name: "amount1",
|
|
6842
|
+
type: "uint128"
|
|
6843
|
+
}
|
|
6844
|
+
],
|
|
6845
|
+
name: "CollectProtocol",
|
|
6846
|
+
type: "event"
|
|
6847
|
+
},
|
|
6848
|
+
{
|
|
6849
|
+
anonymous: false,
|
|
6850
|
+
inputs: [
|
|
6851
|
+
{
|
|
6852
|
+
indexed: true,
|
|
6853
|
+
internalType: "address",
|
|
6854
|
+
name: "sender",
|
|
6855
|
+
type: "address"
|
|
6856
|
+
},
|
|
6857
|
+
{
|
|
6858
|
+
indexed: true,
|
|
6859
|
+
internalType: "address",
|
|
6860
|
+
name: "recipient",
|
|
6861
|
+
type: "address"
|
|
6862
|
+
},
|
|
6863
|
+
{
|
|
6864
|
+
indexed: false,
|
|
6865
|
+
internalType: "uint256",
|
|
6866
|
+
name: "amount0",
|
|
6867
|
+
type: "uint256"
|
|
6868
|
+
},
|
|
6869
|
+
{
|
|
6870
|
+
indexed: false,
|
|
6871
|
+
internalType: "uint256",
|
|
6872
|
+
name: "amount1",
|
|
6873
|
+
type: "uint256"
|
|
6874
|
+
},
|
|
6875
|
+
{
|
|
6876
|
+
indexed: false,
|
|
6877
|
+
internalType: "uint256",
|
|
6878
|
+
name: "paid0",
|
|
6879
|
+
type: "uint256"
|
|
6880
|
+
},
|
|
6881
|
+
{
|
|
6882
|
+
indexed: false,
|
|
6883
|
+
internalType: "uint256",
|
|
6884
|
+
name: "paid1",
|
|
6885
|
+
type: "uint256"
|
|
6886
|
+
}
|
|
6887
|
+
],
|
|
6888
|
+
name: "Flash",
|
|
6889
|
+
type: "event"
|
|
6890
|
+
},
|
|
6891
|
+
{
|
|
6892
|
+
anonymous: false,
|
|
6893
|
+
inputs: [
|
|
6894
|
+
{
|
|
6895
|
+
indexed: false,
|
|
6896
|
+
internalType: "uint16",
|
|
6897
|
+
name: "observationCardinalityNextOld",
|
|
6898
|
+
type: "uint16"
|
|
6899
|
+
},
|
|
6900
|
+
{
|
|
6901
|
+
indexed: false,
|
|
6902
|
+
internalType: "uint16",
|
|
6903
|
+
name: "observationCardinalityNextNew",
|
|
6904
|
+
type: "uint16"
|
|
6905
|
+
}
|
|
6906
|
+
],
|
|
6907
|
+
name: "IncreaseObservationCardinalityNext",
|
|
6908
|
+
type: "event"
|
|
6909
|
+
},
|
|
6910
|
+
{
|
|
6911
|
+
anonymous: false,
|
|
6912
|
+
inputs: [
|
|
6913
|
+
{
|
|
6914
|
+
indexed: false,
|
|
6915
|
+
internalType: "uint160",
|
|
6916
|
+
name: "sqrtPriceX96",
|
|
6917
|
+
type: "uint160"
|
|
6918
|
+
},
|
|
6919
|
+
{
|
|
6920
|
+
indexed: false,
|
|
6921
|
+
internalType: "int24",
|
|
6922
|
+
name: "tick",
|
|
6923
|
+
type: "int24"
|
|
6924
|
+
}
|
|
6925
|
+
],
|
|
6926
|
+
name: "Initialize",
|
|
6927
|
+
type: "event"
|
|
6928
|
+
},
|
|
6929
|
+
{
|
|
6930
|
+
anonymous: false,
|
|
6931
|
+
inputs: [
|
|
6932
|
+
{
|
|
6933
|
+
indexed: false,
|
|
6934
|
+
internalType: "address",
|
|
6935
|
+
name: "sender",
|
|
6936
|
+
type: "address"
|
|
6937
|
+
},
|
|
6938
|
+
{
|
|
6939
|
+
indexed: true,
|
|
6940
|
+
internalType: "address",
|
|
6941
|
+
name: "owner",
|
|
6942
|
+
type: "address"
|
|
6943
|
+
},
|
|
6944
|
+
{
|
|
6945
|
+
indexed: true,
|
|
6946
|
+
internalType: "int24",
|
|
6947
|
+
name: "tickLower",
|
|
6948
|
+
type: "int24"
|
|
6949
|
+
},
|
|
6950
|
+
{
|
|
6951
|
+
indexed: true,
|
|
6952
|
+
internalType: "int24",
|
|
6953
|
+
name: "tickUpper",
|
|
6954
|
+
type: "int24"
|
|
6955
|
+
},
|
|
6956
|
+
{
|
|
6957
|
+
indexed: false,
|
|
6958
|
+
internalType: "uint128",
|
|
6959
|
+
name: "amount",
|
|
6960
|
+
type: "uint128"
|
|
6961
|
+
},
|
|
6962
|
+
{
|
|
6963
|
+
indexed: false,
|
|
6964
|
+
internalType: "uint256",
|
|
6965
|
+
name: "amount0",
|
|
6966
|
+
type: "uint256"
|
|
6967
|
+
},
|
|
6968
|
+
{
|
|
6969
|
+
indexed: false,
|
|
6970
|
+
internalType: "uint256",
|
|
6971
|
+
name: "amount1",
|
|
6972
|
+
type: "uint256"
|
|
6973
|
+
}
|
|
6974
|
+
],
|
|
6975
|
+
name: "Mint",
|
|
6976
|
+
type: "event"
|
|
6977
|
+
},
|
|
6978
|
+
{
|
|
6979
|
+
anonymous: false,
|
|
6980
|
+
inputs: [
|
|
6981
|
+
{
|
|
6982
|
+
indexed: false,
|
|
6983
|
+
internalType: "uint8",
|
|
6984
|
+
name: "feeProtocol0Old",
|
|
6985
|
+
type: "uint8"
|
|
6986
|
+
},
|
|
6987
|
+
{
|
|
6988
|
+
indexed: false,
|
|
6989
|
+
internalType: "uint8",
|
|
6990
|
+
name: "feeProtocol1Old",
|
|
6991
|
+
type: "uint8"
|
|
6992
|
+
},
|
|
6993
|
+
{
|
|
6994
|
+
indexed: false,
|
|
6995
|
+
internalType: "uint8",
|
|
6996
|
+
name: "feeProtocol0New",
|
|
6997
|
+
type: "uint8"
|
|
6998
|
+
},
|
|
6999
|
+
{
|
|
7000
|
+
indexed: false,
|
|
7001
|
+
internalType: "uint8",
|
|
7002
|
+
name: "feeProtocol1New",
|
|
7003
|
+
type: "uint8"
|
|
7004
|
+
}
|
|
7005
|
+
],
|
|
7006
|
+
name: "SetFeeProtocol",
|
|
7007
|
+
type: "event"
|
|
7008
|
+
},
|
|
7009
|
+
{
|
|
7010
|
+
anonymous: false,
|
|
7011
|
+
inputs: [
|
|
7012
|
+
{
|
|
7013
|
+
indexed: true,
|
|
7014
|
+
internalType: "address",
|
|
7015
|
+
name: "sender",
|
|
7016
|
+
type: "address"
|
|
7017
|
+
},
|
|
7018
|
+
{
|
|
7019
|
+
indexed: true,
|
|
7020
|
+
internalType: "address",
|
|
7021
|
+
name: "recipient",
|
|
7022
|
+
type: "address"
|
|
7023
|
+
},
|
|
7024
|
+
{
|
|
7025
|
+
indexed: false,
|
|
7026
|
+
internalType: "int256",
|
|
7027
|
+
name: "amount0",
|
|
7028
|
+
type: "int256"
|
|
7029
|
+
},
|
|
7030
|
+
{
|
|
7031
|
+
indexed: false,
|
|
7032
|
+
internalType: "int256",
|
|
7033
|
+
name: "amount1",
|
|
7034
|
+
type: "int256"
|
|
7035
|
+
},
|
|
7036
|
+
{
|
|
7037
|
+
indexed: false,
|
|
7038
|
+
internalType: "uint160",
|
|
7039
|
+
name: "sqrtPriceX96",
|
|
7040
|
+
type: "uint160"
|
|
7041
|
+
},
|
|
7042
|
+
{
|
|
7043
|
+
indexed: false,
|
|
7044
|
+
internalType: "uint128",
|
|
7045
|
+
name: "liquidity",
|
|
7046
|
+
type: "uint128"
|
|
7047
|
+
},
|
|
7048
|
+
{
|
|
7049
|
+
indexed: false,
|
|
7050
|
+
internalType: "int24",
|
|
7051
|
+
name: "tick",
|
|
7052
|
+
type: "int24"
|
|
7053
|
+
}
|
|
7054
|
+
],
|
|
7055
|
+
name: "Swap",
|
|
7056
|
+
type: "event"
|
|
7057
|
+
},
|
|
7058
|
+
{
|
|
7059
|
+
inputs: [
|
|
7060
|
+
{
|
|
7061
|
+
internalType: "int24",
|
|
7062
|
+
name: "tickLower",
|
|
7063
|
+
type: "int24"
|
|
7064
|
+
},
|
|
7065
|
+
{
|
|
7066
|
+
internalType: "int24",
|
|
7067
|
+
name: "tickUpper",
|
|
7068
|
+
type: "int24"
|
|
7069
|
+
},
|
|
7070
|
+
{
|
|
7071
|
+
internalType: "uint128",
|
|
7072
|
+
name: "amount",
|
|
7073
|
+
type: "uint128"
|
|
7074
|
+
}
|
|
7075
|
+
],
|
|
7076
|
+
name: "burn",
|
|
7077
|
+
outputs: [
|
|
7078
|
+
{
|
|
7079
|
+
internalType: "uint256",
|
|
7080
|
+
name: "amount0",
|
|
7081
|
+
type: "uint256"
|
|
7082
|
+
},
|
|
7083
|
+
{
|
|
7084
|
+
internalType: "uint256",
|
|
7085
|
+
name: "amount1",
|
|
7086
|
+
type: "uint256"
|
|
7087
|
+
}
|
|
7088
|
+
],
|
|
7089
|
+
stateMutability: "nonpayable",
|
|
7090
|
+
type: "function"
|
|
7091
|
+
},
|
|
7092
|
+
{
|
|
7093
|
+
inputs: [
|
|
7094
|
+
{
|
|
7095
|
+
internalType: "address",
|
|
7096
|
+
name: "recipient",
|
|
7097
|
+
type: "address"
|
|
7098
|
+
},
|
|
7099
|
+
{
|
|
7100
|
+
internalType: "int24",
|
|
7101
|
+
name: "tickLower",
|
|
7102
|
+
type: "int24"
|
|
7103
|
+
},
|
|
7104
|
+
{
|
|
7105
|
+
internalType: "int24",
|
|
7106
|
+
name: "tickUpper",
|
|
7107
|
+
type: "int24"
|
|
7108
|
+
},
|
|
7109
|
+
{
|
|
7110
|
+
internalType: "uint128",
|
|
7111
|
+
name: "amount0Requested",
|
|
7112
|
+
type: "uint128"
|
|
7113
|
+
},
|
|
7114
|
+
{
|
|
7115
|
+
internalType: "uint128",
|
|
7116
|
+
name: "amount1Requested",
|
|
7117
|
+
type: "uint128"
|
|
7118
|
+
}
|
|
7119
|
+
],
|
|
7120
|
+
name: "collect",
|
|
7121
|
+
outputs: [
|
|
7122
|
+
{
|
|
7123
|
+
internalType: "uint128",
|
|
7124
|
+
name: "amount0",
|
|
7125
|
+
type: "uint128"
|
|
7126
|
+
},
|
|
7127
|
+
{
|
|
7128
|
+
internalType: "uint128",
|
|
7129
|
+
name: "amount1",
|
|
7130
|
+
type: "uint128"
|
|
7131
|
+
}
|
|
7132
|
+
],
|
|
7133
|
+
stateMutability: "nonpayable",
|
|
7134
|
+
type: "function"
|
|
7135
|
+
},
|
|
7136
|
+
{
|
|
7137
|
+
inputs: [
|
|
7138
|
+
{
|
|
7139
|
+
internalType: "address",
|
|
7140
|
+
name: "recipient",
|
|
7141
|
+
type: "address"
|
|
7142
|
+
},
|
|
7143
|
+
{
|
|
7144
|
+
internalType: "uint128",
|
|
7145
|
+
name: "amount0Requested",
|
|
7146
|
+
type: "uint128"
|
|
7147
|
+
},
|
|
7148
|
+
{
|
|
7149
|
+
internalType: "uint128",
|
|
7150
|
+
name: "amount1Requested",
|
|
7151
|
+
type: "uint128"
|
|
7152
|
+
}
|
|
7153
|
+
],
|
|
7154
|
+
name: "collectProtocol",
|
|
7155
|
+
outputs: [
|
|
7156
|
+
{
|
|
7157
|
+
internalType: "uint128",
|
|
7158
|
+
name: "amount0",
|
|
7159
|
+
type: "uint128"
|
|
7160
|
+
},
|
|
7161
|
+
{
|
|
7162
|
+
internalType: "uint128",
|
|
7163
|
+
name: "amount1",
|
|
7164
|
+
type: "uint128"
|
|
7165
|
+
}
|
|
7166
|
+
],
|
|
7167
|
+
stateMutability: "nonpayable",
|
|
7168
|
+
type: "function"
|
|
7169
|
+
},
|
|
7170
|
+
{
|
|
7171
|
+
inputs: [],
|
|
7172
|
+
name: "factory",
|
|
7173
|
+
outputs: [
|
|
7174
|
+
{
|
|
7175
|
+
internalType: "address",
|
|
7176
|
+
name: "",
|
|
7177
|
+
type: "address"
|
|
7178
|
+
}
|
|
7179
|
+
],
|
|
7180
|
+
stateMutability: "view",
|
|
7181
|
+
type: "function"
|
|
7182
|
+
},
|
|
7183
|
+
{
|
|
7184
|
+
inputs: [],
|
|
7185
|
+
name: "fee",
|
|
7186
|
+
outputs: [
|
|
7187
|
+
{
|
|
7188
|
+
internalType: "uint24",
|
|
7189
|
+
name: "",
|
|
7190
|
+
type: "uint24"
|
|
7191
|
+
}
|
|
7192
|
+
],
|
|
7193
|
+
stateMutability: "view",
|
|
7194
|
+
type: "function"
|
|
7195
|
+
},
|
|
7196
|
+
{
|
|
7197
|
+
inputs: [],
|
|
7198
|
+
name: "feeGrowthGlobal0X128",
|
|
7199
|
+
outputs: [
|
|
7200
|
+
{
|
|
7201
|
+
internalType: "uint256",
|
|
7202
|
+
name: "",
|
|
7203
|
+
type: "uint256"
|
|
7204
|
+
}
|
|
7205
|
+
],
|
|
7206
|
+
stateMutability: "view",
|
|
7207
|
+
type: "function"
|
|
7208
|
+
},
|
|
7209
|
+
{
|
|
7210
|
+
inputs: [],
|
|
7211
|
+
name: "feeGrowthGlobal1X128",
|
|
7212
|
+
outputs: [
|
|
7213
|
+
{
|
|
7214
|
+
internalType: "uint256",
|
|
7215
|
+
name: "",
|
|
7216
|
+
type: "uint256"
|
|
7217
|
+
}
|
|
7218
|
+
],
|
|
7219
|
+
stateMutability: "view",
|
|
7220
|
+
type: "function"
|
|
7221
|
+
},
|
|
7222
|
+
{
|
|
7223
|
+
inputs: [
|
|
7224
|
+
{
|
|
7225
|
+
internalType: "address",
|
|
7226
|
+
name: "recipient",
|
|
7227
|
+
type: "address"
|
|
7228
|
+
},
|
|
7229
|
+
{
|
|
7230
|
+
internalType: "uint256",
|
|
7231
|
+
name: "amount0",
|
|
7232
|
+
type: "uint256"
|
|
7233
|
+
},
|
|
7234
|
+
{
|
|
7235
|
+
internalType: "uint256",
|
|
7236
|
+
name: "amount1",
|
|
7237
|
+
type: "uint256"
|
|
7238
|
+
},
|
|
7239
|
+
{
|
|
7240
|
+
internalType: "bytes",
|
|
7241
|
+
name: "data",
|
|
7242
|
+
type: "bytes"
|
|
7243
|
+
}
|
|
7244
|
+
],
|
|
7245
|
+
name: "flash",
|
|
7246
|
+
outputs: [],
|
|
7247
|
+
stateMutability: "nonpayable",
|
|
7248
|
+
type: "function"
|
|
7249
|
+
},
|
|
7250
|
+
{
|
|
7251
|
+
inputs: [
|
|
7252
|
+
{
|
|
7253
|
+
internalType: "uint16",
|
|
7254
|
+
name: "observationCardinalityNext",
|
|
7255
|
+
type: "uint16"
|
|
7256
|
+
}
|
|
7257
|
+
],
|
|
7258
|
+
name: "increaseObservationCardinalityNext",
|
|
7259
|
+
outputs: [],
|
|
7260
|
+
stateMutability: "nonpayable",
|
|
7261
|
+
type: "function"
|
|
7262
|
+
},
|
|
7263
|
+
{
|
|
7264
|
+
inputs: [
|
|
7265
|
+
{
|
|
7266
|
+
internalType: "uint160",
|
|
7267
|
+
name: "sqrtPriceX96",
|
|
7268
|
+
type: "uint160"
|
|
7269
|
+
}
|
|
7270
|
+
],
|
|
7271
|
+
name: "initialize",
|
|
7272
|
+
outputs: [],
|
|
7273
|
+
stateMutability: "nonpayable",
|
|
7274
|
+
type: "function"
|
|
7275
|
+
},
|
|
7276
|
+
{
|
|
7277
|
+
inputs: [],
|
|
7278
|
+
name: "liquidity",
|
|
7279
|
+
outputs: [
|
|
7280
|
+
{
|
|
7281
|
+
internalType: "uint128",
|
|
7282
|
+
name: "",
|
|
7283
|
+
type: "uint128"
|
|
7284
|
+
}
|
|
7285
|
+
],
|
|
7286
|
+
stateMutability: "view",
|
|
7287
|
+
type: "function"
|
|
7288
|
+
},
|
|
7289
|
+
{
|
|
7290
|
+
inputs: [],
|
|
7291
|
+
name: "maxLiquidityPerTick",
|
|
7292
|
+
outputs: [
|
|
7293
|
+
{
|
|
7294
|
+
internalType: "uint128",
|
|
7295
|
+
name: "",
|
|
7296
|
+
type: "uint128"
|
|
7297
|
+
}
|
|
7298
|
+
],
|
|
7299
|
+
stateMutability: "view",
|
|
7300
|
+
type: "function"
|
|
7301
|
+
},
|
|
7302
|
+
{
|
|
7303
|
+
inputs: [
|
|
7304
|
+
{
|
|
7305
|
+
internalType: "address",
|
|
7306
|
+
name: "recipient",
|
|
7307
|
+
type: "address"
|
|
7308
|
+
},
|
|
7309
|
+
{
|
|
7310
|
+
internalType: "int24",
|
|
7311
|
+
name: "tickLower",
|
|
7312
|
+
type: "int24"
|
|
7313
|
+
},
|
|
7314
|
+
{
|
|
7315
|
+
internalType: "int24",
|
|
7316
|
+
name: "tickUpper",
|
|
7317
|
+
type: "int24"
|
|
7318
|
+
},
|
|
7319
|
+
{
|
|
7320
|
+
internalType: "uint128",
|
|
7321
|
+
name: "amount",
|
|
7322
|
+
type: "uint128"
|
|
7323
|
+
},
|
|
7324
|
+
{
|
|
7325
|
+
internalType: "bytes",
|
|
7326
|
+
name: "data",
|
|
7327
|
+
type: "bytes"
|
|
7328
|
+
}
|
|
7329
|
+
],
|
|
7330
|
+
name: "mint",
|
|
7331
|
+
outputs: [
|
|
7332
|
+
{
|
|
7333
|
+
internalType: "uint256",
|
|
7334
|
+
name: "amount0",
|
|
7335
|
+
type: "uint256"
|
|
7336
|
+
},
|
|
7337
|
+
{
|
|
7338
|
+
internalType: "uint256",
|
|
7339
|
+
name: "amount1",
|
|
7340
|
+
type: "uint256"
|
|
7341
|
+
}
|
|
7342
|
+
],
|
|
7343
|
+
stateMutability: "nonpayable",
|
|
7344
|
+
type: "function"
|
|
7345
|
+
},
|
|
7346
|
+
{
|
|
7347
|
+
inputs: [
|
|
7348
|
+
{
|
|
7349
|
+
internalType: "uint256",
|
|
7350
|
+
name: "index",
|
|
7351
|
+
type: "uint256"
|
|
7352
|
+
}
|
|
7353
|
+
],
|
|
7354
|
+
name: "observations",
|
|
7355
|
+
outputs: [
|
|
7356
|
+
{
|
|
7357
|
+
internalType: "uint32",
|
|
7358
|
+
name: "blockTimestamp",
|
|
7359
|
+
type: "uint32"
|
|
7360
|
+
},
|
|
7361
|
+
{
|
|
7362
|
+
internalType: "int56",
|
|
7363
|
+
name: "tickCumulative",
|
|
7364
|
+
type: "int56"
|
|
7365
|
+
},
|
|
7366
|
+
{
|
|
7367
|
+
internalType: "uint160",
|
|
7368
|
+
name: "secondsPerLiquidityCumulativeX128",
|
|
7369
|
+
type: "uint160"
|
|
7370
|
+
},
|
|
7371
|
+
{
|
|
7372
|
+
internalType: "bool",
|
|
7373
|
+
name: "initialized",
|
|
7374
|
+
type: "bool"
|
|
7375
|
+
}
|
|
7376
|
+
],
|
|
7377
|
+
stateMutability: "view",
|
|
7378
|
+
type: "function"
|
|
7379
|
+
},
|
|
7380
|
+
{
|
|
7381
|
+
inputs: [
|
|
7382
|
+
{
|
|
7383
|
+
internalType: "uint32[]",
|
|
7384
|
+
name: "secondsAgos",
|
|
7385
|
+
type: "uint32[]"
|
|
7386
|
+
}
|
|
7387
|
+
],
|
|
7388
|
+
name: "observe",
|
|
7389
|
+
outputs: [
|
|
7390
|
+
{
|
|
7391
|
+
internalType: "int56[]",
|
|
7392
|
+
name: "tickCumulatives",
|
|
7393
|
+
type: "int56[]"
|
|
7394
|
+
},
|
|
7395
|
+
{
|
|
7396
|
+
internalType: "uint160[]",
|
|
7397
|
+
name: "secondsPerLiquidityCumulativeX128s",
|
|
7398
|
+
type: "uint160[]"
|
|
7399
|
+
}
|
|
7400
|
+
],
|
|
7401
|
+
stateMutability: "view",
|
|
7402
|
+
type: "function"
|
|
7403
|
+
},
|
|
7404
|
+
{
|
|
7405
|
+
inputs: [
|
|
7406
|
+
{
|
|
7407
|
+
internalType: "bytes32",
|
|
7408
|
+
name: "key",
|
|
7409
|
+
type: "bytes32"
|
|
7410
|
+
}
|
|
7411
|
+
],
|
|
7412
|
+
name: "positions",
|
|
7413
|
+
outputs: [
|
|
7414
|
+
{
|
|
7415
|
+
internalType: "uint128",
|
|
7416
|
+
name: "_liquidity",
|
|
7417
|
+
type: "uint128"
|
|
7418
|
+
},
|
|
7419
|
+
{
|
|
7420
|
+
internalType: "uint256",
|
|
7421
|
+
name: "feeGrowthInside0LastX128",
|
|
7422
|
+
type: "uint256"
|
|
7423
|
+
},
|
|
7424
|
+
{
|
|
7425
|
+
internalType: "uint256",
|
|
7426
|
+
name: "feeGrowthInside1LastX128",
|
|
7427
|
+
type: "uint256"
|
|
7428
|
+
},
|
|
7429
|
+
{
|
|
7430
|
+
internalType: "uint128",
|
|
7431
|
+
name: "tokensOwed0",
|
|
7432
|
+
type: "uint128"
|
|
7433
|
+
},
|
|
7434
|
+
{
|
|
7435
|
+
internalType: "uint128",
|
|
7436
|
+
name: "tokensOwed1",
|
|
7437
|
+
type: "uint128"
|
|
7438
|
+
}
|
|
7439
|
+
],
|
|
7440
|
+
stateMutability: "view",
|
|
7441
|
+
type: "function"
|
|
7442
|
+
},
|
|
7443
|
+
{
|
|
7444
|
+
inputs: [],
|
|
7445
|
+
name: "protocolFees",
|
|
7446
|
+
outputs: [
|
|
7447
|
+
{
|
|
7448
|
+
internalType: "uint128",
|
|
7449
|
+
name: "token0",
|
|
7450
|
+
type: "uint128"
|
|
7451
|
+
},
|
|
7452
|
+
{
|
|
7453
|
+
internalType: "uint128",
|
|
7454
|
+
name: "token1",
|
|
7455
|
+
type: "uint128"
|
|
7456
|
+
}
|
|
7457
|
+
],
|
|
7458
|
+
stateMutability: "view",
|
|
7459
|
+
type: "function"
|
|
7460
|
+
},
|
|
7461
|
+
{
|
|
7462
|
+
inputs: [
|
|
7463
|
+
{
|
|
7464
|
+
internalType: "uint8",
|
|
7465
|
+
name: "feeProtocol0",
|
|
7466
|
+
type: "uint8"
|
|
7467
|
+
},
|
|
7468
|
+
{
|
|
7469
|
+
internalType: "uint8",
|
|
7470
|
+
name: "feeProtocol1",
|
|
7471
|
+
type: "uint8"
|
|
7472
|
+
}
|
|
7473
|
+
],
|
|
7474
|
+
name: "setFeeProtocol",
|
|
7475
|
+
outputs: [],
|
|
7476
|
+
stateMutability: "nonpayable",
|
|
7477
|
+
type: "function"
|
|
7478
|
+
},
|
|
7479
|
+
{
|
|
7480
|
+
inputs: [],
|
|
7481
|
+
name: "slot0",
|
|
7482
|
+
outputs: [
|
|
7483
|
+
{
|
|
7484
|
+
internalType: "uint160",
|
|
7485
|
+
name: "sqrtPriceX96",
|
|
7486
|
+
type: "uint160"
|
|
7487
|
+
},
|
|
7488
|
+
{
|
|
7489
|
+
internalType: "int24",
|
|
7490
|
+
name: "tick",
|
|
7491
|
+
type: "int24"
|
|
7492
|
+
},
|
|
7493
|
+
{
|
|
7494
|
+
internalType: "uint16",
|
|
7495
|
+
name: "observationIndex",
|
|
7496
|
+
type: "uint16"
|
|
7497
|
+
},
|
|
7498
|
+
{
|
|
7499
|
+
internalType: "uint16",
|
|
7500
|
+
name: "observationCardinality",
|
|
7501
|
+
type: "uint16"
|
|
7502
|
+
},
|
|
7503
|
+
{
|
|
7504
|
+
internalType: "uint16",
|
|
7505
|
+
name: "observationCardinalityNext",
|
|
7506
|
+
type: "uint16"
|
|
7507
|
+
},
|
|
7508
|
+
{
|
|
7509
|
+
internalType: "uint8",
|
|
7510
|
+
name: "feeProtocol",
|
|
7511
|
+
type: "uint8"
|
|
7512
|
+
},
|
|
7513
|
+
{
|
|
7514
|
+
internalType: "bool",
|
|
7515
|
+
name: "unlocked",
|
|
7516
|
+
type: "bool"
|
|
7517
|
+
}
|
|
7518
|
+
],
|
|
7519
|
+
stateMutability: "view",
|
|
7520
|
+
type: "function"
|
|
7521
|
+
},
|
|
7522
|
+
{
|
|
7523
|
+
inputs: [
|
|
7524
|
+
{
|
|
7525
|
+
internalType: "int24",
|
|
7526
|
+
name: "tickLower",
|
|
7527
|
+
type: "int24"
|
|
7528
|
+
},
|
|
7529
|
+
{
|
|
7530
|
+
internalType: "int24",
|
|
7531
|
+
name: "tickUpper",
|
|
7532
|
+
type: "int24"
|
|
7533
|
+
}
|
|
7534
|
+
],
|
|
7535
|
+
name: "snapshotCumulativesInside",
|
|
7536
|
+
outputs: [
|
|
7537
|
+
{
|
|
7538
|
+
internalType: "int56",
|
|
7539
|
+
name: "tickCumulativeInside",
|
|
7540
|
+
type: "int56"
|
|
7541
|
+
},
|
|
7542
|
+
{
|
|
7543
|
+
internalType: "uint160",
|
|
7544
|
+
name: "secondsPerLiquidityInsideX128",
|
|
7545
|
+
type: "uint160"
|
|
7546
|
+
},
|
|
7547
|
+
{
|
|
7548
|
+
internalType: "uint32",
|
|
7549
|
+
name: "secondsInside",
|
|
7550
|
+
type: "uint32"
|
|
7551
|
+
}
|
|
7552
|
+
],
|
|
7553
|
+
stateMutability: "view",
|
|
7554
|
+
type: "function"
|
|
7555
|
+
},
|
|
7556
|
+
{
|
|
7557
|
+
inputs: [
|
|
7558
|
+
{
|
|
7559
|
+
internalType: "address",
|
|
7560
|
+
name: "recipient",
|
|
7561
|
+
type: "address"
|
|
7562
|
+
},
|
|
7563
|
+
{
|
|
7564
|
+
internalType: "bool",
|
|
7565
|
+
name: "zeroForOne",
|
|
7566
|
+
type: "bool"
|
|
7567
|
+
},
|
|
7568
|
+
{
|
|
7569
|
+
internalType: "int256",
|
|
7570
|
+
name: "amountSpecified",
|
|
7571
|
+
type: "int256"
|
|
7572
|
+
},
|
|
7573
|
+
{
|
|
7574
|
+
internalType: "uint160",
|
|
7575
|
+
name: "sqrtPriceLimitX96",
|
|
7576
|
+
type: "uint160"
|
|
7577
|
+
},
|
|
7578
|
+
{
|
|
7579
|
+
internalType: "bytes",
|
|
7580
|
+
name: "data",
|
|
7581
|
+
type: "bytes"
|
|
7582
|
+
}
|
|
7583
|
+
],
|
|
7584
|
+
name: "swap",
|
|
7585
|
+
outputs: [
|
|
7586
|
+
{
|
|
7587
|
+
internalType: "int256",
|
|
7588
|
+
name: "amount0",
|
|
7589
|
+
type: "int256"
|
|
7590
|
+
},
|
|
7591
|
+
{
|
|
7592
|
+
internalType: "int256",
|
|
7593
|
+
name: "amount1",
|
|
7594
|
+
type: "int256"
|
|
7595
|
+
}
|
|
7596
|
+
],
|
|
7597
|
+
stateMutability: "nonpayable",
|
|
7598
|
+
type: "function"
|
|
7599
|
+
},
|
|
7600
|
+
{
|
|
7601
|
+
inputs: [
|
|
7602
|
+
{
|
|
7603
|
+
internalType: "int16",
|
|
7604
|
+
name: "wordPosition",
|
|
7605
|
+
type: "int16"
|
|
7606
|
+
}
|
|
7607
|
+
],
|
|
7608
|
+
name: "tickBitmap",
|
|
7609
|
+
outputs: [
|
|
7610
|
+
{
|
|
7611
|
+
internalType: "uint256",
|
|
7612
|
+
name: "",
|
|
7613
|
+
type: "uint256"
|
|
7614
|
+
}
|
|
7615
|
+
],
|
|
7616
|
+
stateMutability: "view",
|
|
7617
|
+
type: "function"
|
|
7618
|
+
},
|
|
7619
|
+
{
|
|
7620
|
+
inputs: [],
|
|
7621
|
+
name: "tickSpacing",
|
|
7622
|
+
outputs: [
|
|
7623
|
+
{
|
|
7624
|
+
internalType: "int24",
|
|
7625
|
+
name: "",
|
|
7626
|
+
type: "int24"
|
|
7627
|
+
}
|
|
7628
|
+
],
|
|
7629
|
+
stateMutability: "view",
|
|
7630
|
+
type: "function"
|
|
7631
|
+
},
|
|
7632
|
+
{
|
|
7633
|
+
inputs: [
|
|
7634
|
+
{
|
|
7635
|
+
internalType: "int24",
|
|
7636
|
+
name: "tick",
|
|
7637
|
+
type: "int24"
|
|
7638
|
+
}
|
|
7639
|
+
],
|
|
7640
|
+
name: "ticks",
|
|
7641
|
+
outputs: [
|
|
7642
|
+
{
|
|
7643
|
+
internalType: "uint128",
|
|
7644
|
+
name: "liquidityGross",
|
|
7645
|
+
type: "uint128"
|
|
7646
|
+
},
|
|
7647
|
+
{
|
|
7648
|
+
internalType: "int128",
|
|
7649
|
+
name: "liquidityNet",
|
|
7650
|
+
type: "int128"
|
|
7651
|
+
},
|
|
7652
|
+
{
|
|
7653
|
+
internalType: "uint256",
|
|
7654
|
+
name: "feeGrowthOutside0X128",
|
|
7655
|
+
type: "uint256"
|
|
7656
|
+
},
|
|
7657
|
+
{
|
|
7658
|
+
internalType: "uint256",
|
|
7659
|
+
name: "feeGrowthOutside1X128",
|
|
7660
|
+
type: "uint256"
|
|
7661
|
+
},
|
|
7662
|
+
{
|
|
7663
|
+
internalType: "int56",
|
|
7664
|
+
name: "tickCumulativeOutside",
|
|
7665
|
+
type: "int56"
|
|
7666
|
+
},
|
|
7667
|
+
{
|
|
7668
|
+
internalType: "uint160",
|
|
7669
|
+
name: "secondsPerLiquidityOutsideX128",
|
|
7670
|
+
type: "uint160"
|
|
7671
|
+
},
|
|
7672
|
+
{
|
|
7673
|
+
internalType: "uint32",
|
|
7674
|
+
name: "secondsOutside",
|
|
7675
|
+
type: "uint32"
|
|
7676
|
+
},
|
|
7677
|
+
{
|
|
7678
|
+
internalType: "bool",
|
|
7679
|
+
name: "initialized",
|
|
7680
|
+
type: "bool"
|
|
7681
|
+
}
|
|
7682
|
+
],
|
|
7683
|
+
stateMutability: "view",
|
|
7684
|
+
type: "function"
|
|
7685
|
+
},
|
|
7686
|
+
{
|
|
7687
|
+
inputs: [],
|
|
7688
|
+
name: "token0",
|
|
7689
|
+
outputs: [
|
|
7690
|
+
{
|
|
7691
|
+
internalType: "address",
|
|
7692
|
+
name: "",
|
|
7693
|
+
type: "address"
|
|
7694
|
+
}
|
|
7695
|
+
],
|
|
7696
|
+
stateMutability: "view",
|
|
7697
|
+
type: "function"
|
|
7698
|
+
},
|
|
7699
|
+
{
|
|
7700
|
+
inputs: [],
|
|
7701
|
+
name: "token1",
|
|
7702
|
+
outputs: [
|
|
7703
|
+
{
|
|
7704
|
+
internalType: "address",
|
|
7705
|
+
name: "",
|
|
7706
|
+
type: "address"
|
|
7707
|
+
}
|
|
7708
|
+
],
|
|
7709
|
+
stateMutability: "view",
|
|
7710
|
+
type: "function"
|
|
7711
|
+
}
|
|
7712
|
+
],
|
|
7713
|
+
bytecode: "0x",
|
|
7714
|
+
deployedBytecode: "0x",
|
|
7715
|
+
linkReferences: {},
|
|
7716
|
+
deployedLinkReferences: {}
|
|
7717
|
+
};
|
|
7718
|
+
|
|
6726
7719
|
// src/abis/LidoWithdrawQueue.json
|
|
6727
7720
|
var LidoWithdrawQueue_default = { abi: [{ inputs: [{ internalType: "address", name: "_wstETH", type: "address" }, { internalType: "string", name: "_name", type: "string" }, { internalType: "string", name: "_symbol", type: "string" }], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "AdminZeroAddress", type: "error" }, { inputs: [], name: "ApprovalToOwner", type: "error" }, { inputs: [], name: "ApproveToCaller", type: "error" }, { inputs: [{ internalType: "uint256", name: "_firstArrayLength", type: "uint256" }, { internalType: "uint256", name: "_secondArrayLength", type: "uint256" }], name: "ArraysLengthMismatch", type: "error" }, { inputs: [], name: "BatchesAreNotSorted", type: "error" }, { inputs: [], name: "CantSendValueRecipientMayHaveReverted", type: "error" }, { inputs: [], name: "EmptyBatches", type: "error" }, { inputs: [], name: "InvalidContractVersionIncrement", type: "error" }, { inputs: [{ internalType: "uint256", name: "_hint", type: "uint256" }], name: "InvalidHint", type: "error" }, { inputs: [{ internalType: "address", name: "", type: "address" }], name: "InvalidOwnerAddress", type: "error" }, { inputs: [], name: "InvalidReportTimestamp", type: "error" }, { inputs: [{ internalType: "uint256", name: "_requestId", type: "uint256" }], name: "InvalidRequestId", type: "error" }, { inputs: [{ internalType: "uint256", name: "startId", type: "uint256" }, { internalType: "uint256", name: "endId", type: "uint256" }], name: "InvalidRequestIdRange", type: "error" }, { inputs: [], name: "InvalidState", type: "error" }, { inputs: [], name: "NonZeroContractVersionOnInit", type: "error" }, { inputs: [], name: "NotEnoughEther", type: "error" }, { inputs: [{ internalType: "address", name: "_sender", type: "address" }, { internalType: "address", name: "_owner", type: "address" }], name: "NotOwner", type: "error" }, { inputs: [{ internalType: "address", name: "sender", type: "address" }], name: "NotOwnerOrApproved", type: "error" }, { inputs: [{ internalType: "address", name: "sender", type: "address" }], name: "NotOwnerOrApprovedForAll", type: "error" }, { inputs: [], name: "PauseUntilMustBeInFuture", type: "error" }, { inputs: [], name: "PausedExpected", type: "error" }, { inputs: [{ internalType: "uint256", name: "_requestId", type: "uint256" }], name: "RequestAlreadyClaimed", type: "error" }, { inputs: [{ internalType: "uint256", name: "_amountOfStETH", type: "uint256" }], name: "RequestAmountTooLarge", type: "error" }, { inputs: [{ internalType: "uint256", name: "_amountOfStETH", type: "uint256" }], name: "RequestAmountTooSmall", type: "error" }, { inputs: [], name: "RequestIdsNotSorted", type: "error" }, { inputs: [{ internalType: "uint256", name: "_requestId", type: "uint256" }], name: "RequestNotFoundOrNotFinalized", type: "error" }, { inputs: [], name: "ResumedExpected", type: "error" }, { inputs: [{ internalType: "string", name: "str", type: "string" }], name: "StringTooLong", type: "error" }, { inputs: [{ internalType: "uint256", name: "sent", type: "uint256" }, { internalType: "uint256", name: "maxExpected", type: "uint256" }], name: "TooMuchEtherToFinalize", type: "error" }, { inputs: [{ internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "realOwner", type: "address" }], name: "TransferFromIncorrectOwner", type: "error" }, { inputs: [], name: "TransferFromZeroAddress", type: "error" }, { inputs: [{ internalType: "address", name: "", type: "address" }], name: "TransferToNonIERC721Receiver", type: "error" }, { inputs: [], name: "TransferToThemselves", type: "error" }, { inputs: [], name: "TransferToZeroAddress", type: "error" }, { inputs: [{ internalType: "uint256", name: "expected", type: "uint256" }, { internalType: "uint256", name: "received", type: "uint256" }], name: "UnexpectedContractVersion", type: "error" }, { inputs: [], name: "ZeroAmountOfETH", type: "error" }, { inputs: [], name: "ZeroMetadata", type: "error" }, { inputs: [], name: "ZeroPauseDuration", type: "error" }, { inputs: [], name: "ZeroRecipient", type: "error" }, { inputs: [], name: "ZeroShareRate", type: "error" }, { inputs: [], name: "ZeroTimestamp", type: "error" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }], name: "Approval", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" }], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "string", name: "baseURI", type: "string" }], name: "BaseURISet", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "_fromTokenId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_toTokenId", type: "uint256" }], name: "BatchMetadataUpdate", type: "event" }, { anonymous: false, inputs: [], name: "BunkerModeDisabled", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "_sinceTimestamp", type: "uint256" }], name: "BunkerModeEnabled", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "version", type: "uint256" }], name: "ContractVersionSet", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "_admin", type: "address" }], name: "InitializedV1", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "_tokenId", type: "uint256" }], name: "MetadataUpdate", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "nftDescriptorAddress", type: "address" }], name: "NftDescriptorAddressSet", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "duration", type: "uint256" }], name: "Paused", type: "event" }, { anonymous: false, inputs: [], name: "Resumed", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "bytes32", name: "role", type: "bytes32" }, { indexed: true, internalType: "bytes32", name: "previousAdminRole", type: "bytes32" }, { indexed: true, internalType: "bytes32", name: "newAdminRole", type: "bytes32" }], name: "RoleAdminChanged", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "bytes32", name: "role", type: "bytes32" }, { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "sender", type: "address" }], name: "RoleGranted", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "bytes32", name: "role", type: "bytes32" }, { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "sender", type: "address" }], name: "RoleRevoked", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }], name: "Transfer", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "uint256", name: "requestId", type: "uint256" }, { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "receiver", type: "address" }, { indexed: false, internalType: "uint256", name: "amountOfETH", type: "uint256" }], name: "WithdrawalClaimed", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "uint256", name: "requestId", type: "uint256" }, { indexed: true, internalType: "address", name: "requestor", type: "address" }, { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: false, internalType: "uint256", name: "amountOfStETH", type: "uint256" }, { indexed: false, internalType: "uint256", name: "amountOfShares", type: "uint256" }], name: "WithdrawalRequested", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "uint256", name: "from", type: "uint256" }, { indexed: true, internalType: "uint256", name: "to", type: "uint256" }, { indexed: false, internalType: "uint256", name: "amountOfETHLocked", type: "uint256" }, { indexed: false, internalType: "uint256", name: "sharesToBurn", type: "uint256" }, { indexed: false, internalType: "uint256", name: "timestamp", type: "uint256" }], name: "WithdrawalsFinalized", type: "event" }, { inputs: [], name: "BUNKER_MODE_DISABLED_TIMESTAMP", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "FINALIZE_ROLE", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "MANAGE_TOKEN_URI_ROLE", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_BATCHES_LENGTH", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_STETH_WITHDRAWAL_AMOUNT", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "MIN_STETH_WITHDRAWAL_AMOUNT", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "ORACLE_ROLE", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSE_INFINITELY", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSE_ROLE", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "RESUME_ROLE", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "STETH", outputs: [{ internalType: "contractIStETH", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "WSTETH", outputs: [{ internalType: "contractIWstETH", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_requestId", type: "uint256" }], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_owner", type: "address" }], name: "balanceOf", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "bunkerModeSinceTimestamp", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_maxShareRate", type: "uint256" }, { internalType: "uint256", name: "_maxTimestamp", type: "uint256" }, { internalType: "uint256", name: "_maxRequestsPerCall", type: "uint256" }, { components: [{ internalType: "uint256", name: "remainingEthBudget", type: "uint256" }, { internalType: "bool", name: "finished", type: "bool" }, { internalType: "uint256[36]", name: "batches", type: "uint256[36]" }, { internalType: "uint256", name: "batchesLength", type: "uint256" }], internalType: "structWithdrawalQueueBase.BatchesCalculationState", name: "_state", type: "tuple" }], name: "calculateFinalizationBatches", outputs: [{ components: [{ internalType: "uint256", name: "remainingEthBudget", type: "uint256" }, { internalType: "bool", name: "finished", type: "bool" }, { internalType: "uint256[36]", name: "batches", type: "uint256[36]" }, { internalType: "uint256", name: "batchesLength", type: "uint256" }], internalType: "structWithdrawalQueueBase.BatchesCalculationState", name: "", type: "tuple" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_requestId", type: "uint256" }], name: "claimWithdrawal", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256[]", name: "_requestIds", type: "uint256[]" }, { internalType: "uint256[]", name: "_hints", type: "uint256[]" }], name: "claimWithdrawals", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256[]", name: "_requestIds", type: "uint256[]" }, { internalType: "uint256[]", name: "_hints", type: "uint256[]" }, { internalType: "address", name: "_recipient", type: "address" }], name: "claimWithdrawalsTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "_lastRequestIdToBeFinalized", type: "uint256" }, { internalType: "uint256", name: "_maxShareRate", type: "uint256" }], name: "finalize", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [{ internalType: "uint256[]", name: "_requestIds", type: "uint256[]" }, { internalType: "uint256", name: "_firstIndex", type: "uint256" }, { internalType: "uint256", name: "_lastIndex", type: "uint256" }], name: "findCheckpointHints", outputs: [{ internalType: "uint256[]", name: "hintIds", type: "uint256[]" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_requestId", type: "uint256" }], name: "getApproved", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getBaseURI", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256[]", name: "_requestIds", type: "uint256[]" }, { internalType: "uint256[]", name: "_hints", type: "uint256[]" }], name: "getClaimableEther", outputs: [{ internalType: "uint256[]", name: "claimableEthValues", type: "uint256[]" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getContractVersion", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getLastCheckpointIndex", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getLastFinalizedRequestId", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getLastRequestId", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getLockedEtherAmount", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getNFTDescriptorAddress", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getResumeSinceTimestamp", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }], name: "getRoleAdmin", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" }], name: "getRoleMember", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }], name: "getRoleMemberCount", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "_owner", type: "address" }], name: "getWithdrawalRequests", outputs: [{ internalType: "uint256[]", name: "requestsIds", type: "uint256[]" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256[]", name: "_requestIds", type: "uint256[]" }], name: "getWithdrawalStatus", outputs: [{ components: [{ internalType: "uint256", name: "amountOfStETH", type: "uint256" }, { internalType: "uint256", name: "amountOfShares", type: "uint256" }, { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "timestamp", type: "uint256" }, { internalType: "bool", name: "isFinalized", type: "bool" }, { internalType: "bool", name: "isClaimed", type: "bool" }], internalType: "structWithdrawalQueueBase.WithdrawalRequestStatus[]", name: "statuses", type: "tuple[]" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" }], name: "grantRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" }], name: "hasRole", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "_admin", type: "address" }], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_operator", type: "address" }], name: "isApprovedForAll", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [], name: "isBunkerModeActive", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [], name: "isPaused", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [], name: "name", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bool", name: "_isBunkerModeNow", type: "bool" }, { internalType: "uint256", name: "_bunkerStartTimestamp", type: "uint256" }, { internalType: "uint256", name: "_currentReportTimestamp", type: "uint256" }], name: "onOracleReport", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "_requestId", type: "uint256" }], name: "ownerOf", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_duration", type: "uint256" }], name: "pauseFor", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "_pauseUntilInclusive", type: "uint256" }], name: "pauseUntil", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256[]", name: "_batches", type: "uint256[]" }, { internalType: "uint256", name: "_maxShareRate", type: "uint256" }], name: "prefinalize", outputs: [{ internalType: "uint256", name: "ethToLock", type: "uint256" }, { internalType: "uint256", name: "sharesToBurn", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" }], name: "renounceRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256[]", name: "_amounts", type: "uint256[]" }, { internalType: "address", name: "_owner", type: "address" }], name: "requestWithdrawals", outputs: [{ internalType: "uint256[]", name: "requestIds", type: "uint256[]" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256[]", name: "_amounts", type: "uint256[]" }, { internalType: "address", name: "_owner", type: "address" }, { components: [{ internalType: "uint256", name: "value", type: "uint256" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" }], internalType: "structWithdrawalQueue.PermitInput", name: "_permit", type: "tuple" }], name: "requestWithdrawalsWithPermit", outputs: [{ internalType: "uint256[]", name: "requestIds", type: "uint256[]" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256[]", name: "_amounts", type: "uint256[]" }, { internalType: "address", name: "_owner", type: "address" }], name: "requestWithdrawalsWstETH", outputs: [{ internalType: "uint256[]", name: "requestIds", type: "uint256[]" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256[]", name: "_amounts", type: "uint256[]" }, { internalType: "address", name: "_owner", type: "address" }, { components: [{ internalType: "uint256", name: "value", type: "uint256" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" }], internalType: "structWithdrawalQueue.PermitInput", name: "_permit", type: "tuple" }], name: "requestWithdrawalsWstETHWithPermit", outputs: [{ internalType: "uint256[]", name: "requestIds", type: "uint256[]" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "resume", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" }], name: "revokeRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_requestId", type: "uint256" }], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_requestId", type: "uint256" }, { internalType: "bytes", name: "_data", type: "bytes" }], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_operator", type: "address" }, { internalType: "bool", name: "_approved", type: "bool" }], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "string", name: "_baseURI", type: "string" }], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_nftDescriptorAddress", type: "address" }], name: "setNFTDescriptorAddress", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes4", name: "interfaceId", type: "bytes4" }], name: "supportsInterface", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_requestId", type: "uint256" }], name: "tokenURI", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_requestId", type: "uint256" }], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unfinalizedRequestNumber", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "unfinalizedStETH", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }] };
|
|
6728
7721
|
|
|
@@ -12199,7 +13192,7 @@ var CHECKOUT_PAYMASTER_CONTRACT_INTERFACE = new ContractInterface(
|
|
|
12199
13192
|
);
|
|
12200
13193
|
var WALLET_CONTRACT_INTERFACE = new ContractInterface(WALLET_ABI);
|
|
12201
13194
|
var POOL_CONTRACT_INTERFACE = new ContractInterface(
|
|
12202
|
-
|
|
13195
|
+
IUniswapV3Pool_default["abi"]
|
|
12203
13196
|
);
|
|
12204
13197
|
var APPROVE_AND_EXEC_CONTRACT_INTERFACE = new ContractInterface(
|
|
12205
13198
|
APPROVE_AND_EXEC_ABI
|