@dhedge/trading-widget 3.1.0 → 3.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.
@@ -64,6 +64,120 @@ export declare const useUserMulticall: ({ address, chainId, }: PoolContractCallP
64
64
  }, {
65
65
  readonly address: `0x${string}`;
66
66
  readonly abi: readonly [{
67
+ readonly inputs: readonly [];
68
+ readonly name: "FailedInnerCall";
69
+ readonly type: "error";
70
+ }, {
71
+ readonly inputs: readonly [{
72
+ readonly internalType: "bytes";
73
+ readonly name: "returnData";
74
+ readonly type: "bytes";
75
+ }];
76
+ readonly name: "FailedToApproveParaswap";
77
+ readonly type: "error";
78
+ }, {
79
+ readonly inputs: readonly [{
80
+ readonly internalType: "contract IERC20";
81
+ readonly name: "destToken";
82
+ readonly type: "address";
83
+ }, {
84
+ readonly internalType: "uint256";
85
+ readonly name: "receivedAmount";
86
+ readonly type: "uint256";
87
+ }, {
88
+ readonly internalType: "uint256";
89
+ readonly name: "minAmount";
90
+ readonly type: "uint256";
91
+ }];
92
+ readonly name: "InsufficientAmountReceived";
93
+ readonly type: "error";
94
+ }, {
95
+ readonly inputs: readonly [{
96
+ readonly internalType: "bytes32";
97
+ readonly name: "routerKey";
98
+ readonly type: "bytes32";
99
+ }];
100
+ readonly name: "InvalidAggregator";
101
+ readonly type: "error";
102
+ }, {
103
+ readonly inputs: readonly [];
104
+ readonly name: "InvalidNativeTokenTransferEncoding";
105
+ readonly type: "error";
106
+ }, {
107
+ readonly inputs: readonly [];
108
+ readonly name: "NativeTokenSentWithoutNativeSwap";
109
+ readonly type: "error";
110
+ }, {
111
+ readonly inputs: readonly [{
112
+ readonly internalType: "uint256";
113
+ readonly name: "expectedAmount";
114
+ readonly type: "uint256";
115
+ }, {
116
+ readonly internalType: "uint256";
117
+ readonly name: "sentAmount";
118
+ readonly type: "uint256";
119
+ }];
120
+ readonly name: "NotEnoughNativeTokenSent";
121
+ readonly type: "error";
122
+ }, {
123
+ readonly inputs: readonly [{
124
+ readonly internalType: "address";
125
+ readonly name: "token";
126
+ readonly type: "address";
127
+ }];
128
+ readonly name: "SafeERC20FailedOperation";
129
+ readonly type: "error";
130
+ }, {
131
+ readonly inputs: readonly [{
132
+ readonly internalType: "address";
133
+ readonly name: "router";
134
+ readonly type: "address";
135
+ }, {
136
+ readonly components: readonly [{
137
+ readonly internalType: "contract IERC20";
138
+ readonly name: "token";
139
+ readonly type: "address";
140
+ }, {
141
+ readonly internalType: "uint256";
142
+ readonly name: "amount";
143
+ readonly type: "uint256";
144
+ }, {
145
+ readonly components: readonly [{
146
+ readonly internalType: "bytes32";
147
+ readonly name: "routerKey";
148
+ readonly type: "bytes32";
149
+ }, {
150
+ readonly internalType: "bytes";
151
+ readonly name: "swapData";
152
+ readonly type: "bytes";
153
+ }];
154
+ readonly internalType: "struct AggregatorData";
155
+ readonly name: "aggregatorData";
156
+ readonly type: "tuple";
157
+ }];
158
+ readonly internalType: "struct SrcTokenSwapDetails";
159
+ readonly name: "srcTokenSwapDetails";
160
+ readonly type: "tuple";
161
+ }, {
162
+ readonly internalType: "bytes";
163
+ readonly name: "returnData";
164
+ readonly type: "bytes";
165
+ }];
166
+ readonly name: "SwapFailed";
167
+ readonly type: "error";
168
+ }, {
169
+ readonly inputs: readonly [{
170
+ readonly internalType: "enum Permit2TransferType";
171
+ readonly name: "transferType";
172
+ readonly type: "uint8";
173
+ }];
174
+ readonly name: "UnsupportedPermit2Method";
175
+ readonly type: "error";
176
+ }, {
177
+ readonly inputs: readonly [];
178
+ readonly name: "UnsupportedTokenTransferMethod";
179
+ readonly type: "error";
180
+ }, {
67
181
  readonly anonymous: false;
68
182
  readonly inputs: readonly [{
69
183
  readonly indexed: true;