@usdu-finance/usdu-core 0.0.4 → 0.0.6

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 CHANGED
@@ -1,16 +1,9 @@
1
- import { ethers } from 'ethers';
2
1
  import * as abitype from 'abitype';
3
2
  import * as viem_chains from 'viem/chains';
4
3
  import { mainnet, polygon, arbitrum, optimism, base, avalanche, gnosis, sonic } from 'viem/chains';
5
4
  import * as viem from 'viem';
6
5
  import { Chain, Address } from 'viem';
7
6
 
8
- declare function getChildFromSeed(seed: string, index: number): ethers.HDNodeWallet;
9
- declare function getAddressFromChildIndex(seed: string, index: number): string;
10
- declare function getPublicKeyFromChildIndex(seed: string, index: number): string;
11
- declare function getPrivateKeyFromChildIndex(seed: string, index: number): string;
12
- declare function getWalletInto(seed?: string | undefined, index?: string | undefined, amount?: number): void;
13
-
14
7
  declare const ChainMain: {
15
8
  readonly mainnet: {
16
9
  blockExplorers: {
@@ -1687,6 +1680,7 @@ type ChainAddressMainnet = {
1687
1680
  chainId: typeof mainnet.id;
1688
1681
  chainSelector: string;
1689
1682
  curator: Address;
1683
+ aragonDao: Address;
1690
1684
  aragonMultiSig: Address;
1691
1685
  aragonVetoMultiSig: Address;
1692
1686
  aragonDelayedAction: Address;
@@ -1769,6 +1763,893 @@ type ChainAddressMap = {
1769
1763
 
1770
1764
  declare const ADDRESS: ChainAddressMap;
1771
1765
 
1766
+ declare const AragonDao_ABI: readonly [{
1767
+ readonly inputs: readonly [];
1768
+ readonly stateMutability: "nonpayable";
1769
+ readonly type: "constructor";
1770
+ }, {
1771
+ readonly inputs: readonly [{
1772
+ readonly internalType: "uint256";
1773
+ readonly name: "index";
1774
+ readonly type: "uint256";
1775
+ }];
1776
+ readonly name: "ActionFailed";
1777
+ readonly type: "error";
1778
+ }, {
1779
+ readonly inputs: readonly [];
1780
+ readonly name: "AlreadyInitialized";
1781
+ readonly type: "error";
1782
+ }, {
1783
+ readonly inputs: readonly [];
1784
+ readonly name: "AnyAddressDisallowedForWhoAndWhere";
1785
+ readonly type: "error";
1786
+ }, {
1787
+ readonly inputs: readonly [{
1788
+ readonly internalType: "contract IPermissionCondition";
1789
+ readonly name: "condition";
1790
+ readonly type: "address";
1791
+ }];
1792
+ readonly name: "ConditionInterfaceNotSupported";
1793
+ readonly type: "error";
1794
+ }, {
1795
+ readonly inputs: readonly [{
1796
+ readonly internalType: "contract IPermissionCondition";
1797
+ readonly name: "condition";
1798
+ readonly type: "address";
1799
+ }];
1800
+ readonly name: "ConditionNotAContract";
1801
+ readonly type: "error";
1802
+ }, {
1803
+ readonly inputs: readonly [];
1804
+ readonly name: "FunctionRemoved";
1805
+ readonly type: "error";
1806
+ }, {
1807
+ readonly inputs: readonly [];
1808
+ readonly name: "GrantWithConditionNotSupported";
1809
+ readonly type: "error";
1810
+ }, {
1811
+ readonly inputs: readonly [];
1812
+ readonly name: "InsufficientGas";
1813
+ readonly type: "error";
1814
+ }, {
1815
+ readonly inputs: readonly [{
1816
+ readonly internalType: "uint256";
1817
+ readonly name: "expected";
1818
+ readonly type: "uint256";
1819
+ }, {
1820
+ readonly internalType: "uint256";
1821
+ readonly name: "actual";
1822
+ readonly type: "uint256";
1823
+ }];
1824
+ readonly name: "NativeTokenDepositAmountMismatch";
1825
+ readonly type: "error";
1826
+ }, {
1827
+ readonly inputs: readonly [{
1828
+ readonly internalType: "address";
1829
+ readonly name: "where";
1830
+ readonly type: "address";
1831
+ }, {
1832
+ readonly internalType: "address";
1833
+ readonly name: "who";
1834
+ readonly type: "address";
1835
+ }, {
1836
+ readonly internalType: "bytes32";
1837
+ readonly name: "permissionId";
1838
+ readonly type: "bytes32";
1839
+ }, {
1840
+ readonly internalType: "address";
1841
+ readonly name: "currentCondition";
1842
+ readonly type: "address";
1843
+ }, {
1844
+ readonly internalType: "address";
1845
+ readonly name: "newCondition";
1846
+ readonly type: "address";
1847
+ }];
1848
+ readonly name: "PermissionAlreadyGrantedForDifferentCondition";
1849
+ readonly type: "error";
1850
+ }, {
1851
+ readonly inputs: readonly [];
1852
+ readonly name: "PermissionsForAnyAddressDisallowed";
1853
+ readonly type: "error";
1854
+ }, {
1855
+ readonly inputs: readonly [{
1856
+ readonly internalType: "uint8[3]";
1857
+ readonly name: "protocolVersion";
1858
+ readonly type: "uint8[3]";
1859
+ }];
1860
+ readonly name: "ProtocolVersionUpgradeNotSupported";
1861
+ readonly type: "error";
1862
+ }, {
1863
+ readonly inputs: readonly [];
1864
+ readonly name: "ReentrantCall";
1865
+ readonly type: "error";
1866
+ }, {
1867
+ readonly inputs: readonly [];
1868
+ readonly name: "TooManyActions";
1869
+ readonly type: "error";
1870
+ }, {
1871
+ readonly inputs: readonly [{
1872
+ readonly internalType: "address";
1873
+ readonly name: "where";
1874
+ readonly type: "address";
1875
+ }, {
1876
+ readonly internalType: "address";
1877
+ readonly name: "who";
1878
+ readonly type: "address";
1879
+ }, {
1880
+ readonly internalType: "bytes32";
1881
+ readonly name: "permissionId";
1882
+ readonly type: "bytes32";
1883
+ }];
1884
+ readonly name: "Unauthorized";
1885
+ readonly type: "error";
1886
+ }, {
1887
+ readonly inputs: readonly [{
1888
+ readonly internalType: "bytes4";
1889
+ readonly name: "callbackSelector";
1890
+ readonly type: "bytes4";
1891
+ }, {
1892
+ readonly internalType: "bytes4";
1893
+ readonly name: "magicNumber";
1894
+ readonly type: "bytes4";
1895
+ }];
1896
+ readonly name: "UnknownCallback";
1897
+ readonly type: "error";
1898
+ }, {
1899
+ readonly inputs: readonly [];
1900
+ readonly name: "ZeroAmount";
1901
+ readonly type: "error";
1902
+ }, {
1903
+ readonly anonymous: false;
1904
+ readonly inputs: readonly [{
1905
+ readonly indexed: false;
1906
+ readonly internalType: "address";
1907
+ readonly name: "previousAdmin";
1908
+ readonly type: "address";
1909
+ }, {
1910
+ readonly indexed: false;
1911
+ readonly internalType: "address";
1912
+ readonly name: "newAdmin";
1913
+ readonly type: "address";
1914
+ }];
1915
+ readonly name: "AdminChanged";
1916
+ readonly type: "event";
1917
+ }, {
1918
+ readonly anonymous: false;
1919
+ readonly inputs: readonly [{
1920
+ readonly indexed: true;
1921
+ readonly internalType: "address";
1922
+ readonly name: "beacon";
1923
+ readonly type: "address";
1924
+ }];
1925
+ readonly name: "BeaconUpgraded";
1926
+ readonly type: "event";
1927
+ }, {
1928
+ readonly anonymous: false;
1929
+ readonly inputs: readonly [{
1930
+ readonly indexed: false;
1931
+ readonly internalType: "address";
1932
+ readonly name: "sender";
1933
+ readonly type: "address";
1934
+ }, {
1935
+ readonly indexed: true;
1936
+ readonly internalType: "bytes4";
1937
+ readonly name: "sig";
1938
+ readonly type: "bytes4";
1939
+ }, {
1940
+ readonly indexed: false;
1941
+ readonly internalType: "bytes";
1942
+ readonly name: "data";
1943
+ readonly type: "bytes";
1944
+ }];
1945
+ readonly name: "CallbackReceived";
1946
+ readonly type: "event";
1947
+ }, {
1948
+ readonly anonymous: false;
1949
+ readonly inputs: readonly [{
1950
+ readonly indexed: true;
1951
+ readonly internalType: "address";
1952
+ readonly name: "sender";
1953
+ readonly type: "address";
1954
+ }, {
1955
+ readonly indexed: true;
1956
+ readonly internalType: "address";
1957
+ readonly name: "token";
1958
+ readonly type: "address";
1959
+ }, {
1960
+ readonly indexed: false;
1961
+ readonly internalType: "uint256";
1962
+ readonly name: "amount";
1963
+ readonly type: "uint256";
1964
+ }, {
1965
+ readonly indexed: false;
1966
+ readonly internalType: "string";
1967
+ readonly name: "_reference";
1968
+ readonly type: "string";
1969
+ }];
1970
+ readonly name: "Deposited";
1971
+ readonly type: "event";
1972
+ }, {
1973
+ readonly anonymous: false;
1974
+ readonly inputs: readonly [{
1975
+ readonly indexed: true;
1976
+ readonly internalType: "address";
1977
+ readonly name: "actor";
1978
+ readonly type: "address";
1979
+ }, {
1980
+ readonly indexed: false;
1981
+ readonly internalType: "bytes32";
1982
+ readonly name: "callId";
1983
+ readonly type: "bytes32";
1984
+ }, {
1985
+ readonly components: readonly [{
1986
+ readonly internalType: "address";
1987
+ readonly name: "to";
1988
+ readonly type: "address";
1989
+ }, {
1990
+ readonly internalType: "uint256";
1991
+ readonly name: "value";
1992
+ readonly type: "uint256";
1993
+ }, {
1994
+ readonly internalType: "bytes";
1995
+ readonly name: "data";
1996
+ readonly type: "bytes";
1997
+ }];
1998
+ readonly indexed: false;
1999
+ readonly internalType: "struct Action[]";
2000
+ readonly name: "actions";
2001
+ readonly type: "tuple[]";
2002
+ }, {
2003
+ readonly indexed: false;
2004
+ readonly internalType: "uint256";
2005
+ readonly name: "allowFailureMap";
2006
+ readonly type: "uint256";
2007
+ }, {
2008
+ readonly indexed: false;
2009
+ readonly internalType: "uint256";
2010
+ readonly name: "failureMap";
2011
+ readonly type: "uint256";
2012
+ }, {
2013
+ readonly indexed: false;
2014
+ readonly internalType: "bytes[]";
2015
+ readonly name: "execResults";
2016
+ readonly type: "bytes[]";
2017
+ }];
2018
+ readonly name: "Executed";
2019
+ readonly type: "event";
2020
+ }, {
2021
+ readonly anonymous: false;
2022
+ readonly inputs: readonly [{
2023
+ readonly indexed: true;
2024
+ readonly internalType: "bytes32";
2025
+ readonly name: "permissionId";
2026
+ readonly type: "bytes32";
2027
+ }, {
2028
+ readonly indexed: true;
2029
+ readonly internalType: "address";
2030
+ readonly name: "here";
2031
+ readonly type: "address";
2032
+ }, {
2033
+ readonly indexed: false;
2034
+ readonly internalType: "address";
2035
+ readonly name: "where";
2036
+ readonly type: "address";
2037
+ }, {
2038
+ readonly indexed: true;
2039
+ readonly internalType: "address";
2040
+ readonly name: "who";
2041
+ readonly type: "address";
2042
+ }, {
2043
+ readonly indexed: false;
2044
+ readonly internalType: "address";
2045
+ readonly name: "condition";
2046
+ readonly type: "address";
2047
+ }];
2048
+ readonly name: "Granted";
2049
+ readonly type: "event";
2050
+ }, {
2051
+ readonly anonymous: false;
2052
+ readonly inputs: readonly [{
2053
+ readonly indexed: false;
2054
+ readonly internalType: "uint8";
2055
+ readonly name: "version";
2056
+ readonly type: "uint8";
2057
+ }];
2058
+ readonly name: "Initialized";
2059
+ readonly type: "event";
2060
+ }, {
2061
+ readonly anonymous: false;
2062
+ readonly inputs: readonly [{
2063
+ readonly indexed: false;
2064
+ readonly internalType: "bytes";
2065
+ readonly name: "metadata";
2066
+ readonly type: "bytes";
2067
+ }];
2068
+ readonly name: "MetadataSet";
2069
+ readonly type: "event";
2070
+ }, {
2071
+ readonly anonymous: false;
2072
+ readonly inputs: readonly [{
2073
+ readonly indexed: false;
2074
+ readonly internalType: "address";
2075
+ readonly name: "sender";
2076
+ readonly type: "address";
2077
+ }, {
2078
+ readonly indexed: false;
2079
+ readonly internalType: "uint256";
2080
+ readonly name: "amount";
2081
+ readonly type: "uint256";
2082
+ }];
2083
+ readonly name: "NativeTokenDeposited";
2084
+ readonly type: "event";
2085
+ }, {
2086
+ readonly anonymous: false;
2087
+ readonly inputs: readonly [{
2088
+ readonly indexed: false;
2089
+ readonly internalType: "string";
2090
+ readonly name: "daoURI";
2091
+ readonly type: "string";
2092
+ }];
2093
+ readonly name: "NewURI";
2094
+ readonly type: "event";
2095
+ }, {
2096
+ readonly anonymous: false;
2097
+ readonly inputs: readonly [{
2098
+ readonly indexed: true;
2099
+ readonly internalType: "bytes32";
2100
+ readonly name: "permissionId";
2101
+ readonly type: "bytes32";
2102
+ }, {
2103
+ readonly indexed: true;
2104
+ readonly internalType: "address";
2105
+ readonly name: "here";
2106
+ readonly type: "address";
2107
+ }, {
2108
+ readonly indexed: false;
2109
+ readonly internalType: "address";
2110
+ readonly name: "where";
2111
+ readonly type: "address";
2112
+ }, {
2113
+ readonly indexed: true;
2114
+ readonly internalType: "address";
2115
+ readonly name: "who";
2116
+ readonly type: "address";
2117
+ }];
2118
+ readonly name: "Revoked";
2119
+ readonly type: "event";
2120
+ }, {
2121
+ readonly anonymous: false;
2122
+ readonly inputs: readonly [{
2123
+ readonly indexed: false;
2124
+ readonly internalType: "bytes4";
2125
+ readonly name: "interfaceId";
2126
+ readonly type: "bytes4";
2127
+ }, {
2128
+ readonly indexed: false;
2129
+ readonly internalType: "bytes4";
2130
+ readonly name: "callbackSelector";
2131
+ readonly type: "bytes4";
2132
+ }, {
2133
+ readonly indexed: false;
2134
+ readonly internalType: "bytes4";
2135
+ readonly name: "magicNumber";
2136
+ readonly type: "bytes4";
2137
+ }];
2138
+ readonly name: "StandardCallbackRegistered";
2139
+ readonly type: "event";
2140
+ }, {
2141
+ readonly anonymous: false;
2142
+ readonly inputs: readonly [{
2143
+ readonly indexed: false;
2144
+ readonly internalType: "address";
2145
+ readonly name: "forwarder";
2146
+ readonly type: "address";
2147
+ }];
2148
+ readonly name: "TrustedForwarderSet";
2149
+ readonly type: "event";
2150
+ }, {
2151
+ readonly anonymous: false;
2152
+ readonly inputs: readonly [{
2153
+ readonly indexed: true;
2154
+ readonly internalType: "address";
2155
+ readonly name: "implementation";
2156
+ readonly type: "address";
2157
+ }];
2158
+ readonly name: "Upgraded";
2159
+ readonly type: "event";
2160
+ }, {
2161
+ readonly stateMutability: "nonpayable";
2162
+ readonly type: "fallback";
2163
+ }, {
2164
+ readonly inputs: readonly [];
2165
+ readonly name: "EXECUTE_PERMISSION_ID";
2166
+ readonly outputs: readonly [{
2167
+ readonly internalType: "bytes32";
2168
+ readonly name: "";
2169
+ readonly type: "bytes32";
2170
+ }];
2171
+ readonly stateMutability: "view";
2172
+ readonly type: "function";
2173
+ }, {
2174
+ readonly inputs: readonly [];
2175
+ readonly name: "REGISTER_STANDARD_CALLBACK_PERMISSION_ID";
2176
+ readonly outputs: readonly [{
2177
+ readonly internalType: "bytes32";
2178
+ readonly name: "";
2179
+ readonly type: "bytes32";
2180
+ }];
2181
+ readonly stateMutability: "view";
2182
+ readonly type: "function";
2183
+ }, {
2184
+ readonly inputs: readonly [];
2185
+ readonly name: "ROOT_PERMISSION_ID";
2186
+ readonly outputs: readonly [{
2187
+ readonly internalType: "bytes32";
2188
+ readonly name: "";
2189
+ readonly type: "bytes32";
2190
+ }];
2191
+ readonly stateMutability: "view";
2192
+ readonly type: "function";
2193
+ }, {
2194
+ readonly inputs: readonly [];
2195
+ readonly name: "SET_METADATA_PERMISSION_ID";
2196
+ readonly outputs: readonly [{
2197
+ readonly internalType: "bytes32";
2198
+ readonly name: "";
2199
+ readonly type: "bytes32";
2200
+ }];
2201
+ readonly stateMutability: "view";
2202
+ readonly type: "function";
2203
+ }, {
2204
+ readonly inputs: readonly [];
2205
+ readonly name: "SET_TRUSTED_FORWARDER_PERMISSION_ID";
2206
+ readonly outputs: readonly [{
2207
+ readonly internalType: "bytes32";
2208
+ readonly name: "";
2209
+ readonly type: "bytes32";
2210
+ }];
2211
+ readonly stateMutability: "view";
2212
+ readonly type: "function";
2213
+ }, {
2214
+ readonly inputs: readonly [];
2215
+ readonly name: "UPGRADE_DAO_PERMISSION_ID";
2216
+ readonly outputs: readonly [{
2217
+ readonly internalType: "bytes32";
2218
+ readonly name: "";
2219
+ readonly type: "bytes32";
2220
+ }];
2221
+ readonly stateMutability: "view";
2222
+ readonly type: "function";
2223
+ }, {
2224
+ readonly inputs: readonly [];
2225
+ readonly name: "VALIDATE_SIGNATURE_PERMISSION_ID";
2226
+ readonly outputs: readonly [{
2227
+ readonly internalType: "bytes32";
2228
+ readonly name: "";
2229
+ readonly type: "bytes32";
2230
+ }];
2231
+ readonly stateMutability: "view";
2232
+ readonly type: "function";
2233
+ }, {
2234
+ readonly inputs: readonly [{
2235
+ readonly components: readonly [{
2236
+ readonly internalType: "enum PermissionLib.Operation";
2237
+ readonly name: "operation";
2238
+ readonly type: "uint8";
2239
+ }, {
2240
+ readonly internalType: "address";
2241
+ readonly name: "where";
2242
+ readonly type: "address";
2243
+ }, {
2244
+ readonly internalType: "address";
2245
+ readonly name: "who";
2246
+ readonly type: "address";
2247
+ }, {
2248
+ readonly internalType: "address";
2249
+ readonly name: "condition";
2250
+ readonly type: "address";
2251
+ }, {
2252
+ readonly internalType: "bytes32";
2253
+ readonly name: "permissionId";
2254
+ readonly type: "bytes32";
2255
+ }];
2256
+ readonly internalType: "struct PermissionLib.MultiTargetPermission[]";
2257
+ readonly name: "_items";
2258
+ readonly type: "tuple[]";
2259
+ }];
2260
+ readonly name: "applyMultiTargetPermissions";
2261
+ readonly outputs: readonly [];
2262
+ readonly stateMutability: "nonpayable";
2263
+ readonly type: "function";
2264
+ }, {
2265
+ readonly inputs: readonly [{
2266
+ readonly internalType: "address";
2267
+ readonly name: "_where";
2268
+ readonly type: "address";
2269
+ }, {
2270
+ readonly components: readonly [{
2271
+ readonly internalType: "enum PermissionLib.Operation";
2272
+ readonly name: "operation";
2273
+ readonly type: "uint8";
2274
+ }, {
2275
+ readonly internalType: "address";
2276
+ readonly name: "who";
2277
+ readonly type: "address";
2278
+ }, {
2279
+ readonly internalType: "bytes32";
2280
+ readonly name: "permissionId";
2281
+ readonly type: "bytes32";
2282
+ }];
2283
+ readonly internalType: "struct PermissionLib.SingleTargetPermission[]";
2284
+ readonly name: "items";
2285
+ readonly type: "tuple[]";
2286
+ }];
2287
+ readonly name: "applySingleTargetPermissions";
2288
+ readonly outputs: readonly [];
2289
+ readonly stateMutability: "nonpayable";
2290
+ readonly type: "function";
2291
+ }, {
2292
+ readonly inputs: readonly [];
2293
+ readonly name: "daoURI";
2294
+ readonly outputs: readonly [{
2295
+ readonly internalType: "string";
2296
+ readonly name: "";
2297
+ readonly type: "string";
2298
+ }];
2299
+ readonly stateMutability: "view";
2300
+ readonly type: "function";
2301
+ }, {
2302
+ readonly inputs: readonly [{
2303
+ readonly internalType: "address";
2304
+ readonly name: "_token";
2305
+ readonly type: "address";
2306
+ }, {
2307
+ readonly internalType: "uint256";
2308
+ readonly name: "_amount";
2309
+ readonly type: "uint256";
2310
+ }, {
2311
+ readonly internalType: "string";
2312
+ readonly name: "_reference";
2313
+ readonly type: "string";
2314
+ }];
2315
+ readonly name: "deposit";
2316
+ readonly outputs: readonly [];
2317
+ readonly stateMutability: "payable";
2318
+ readonly type: "function";
2319
+ }, {
2320
+ readonly inputs: readonly [{
2321
+ readonly internalType: "bytes32";
2322
+ readonly name: "_callId";
2323
+ readonly type: "bytes32";
2324
+ }, {
2325
+ readonly components: readonly [{
2326
+ readonly internalType: "address";
2327
+ readonly name: "to";
2328
+ readonly type: "address";
2329
+ }, {
2330
+ readonly internalType: "uint256";
2331
+ readonly name: "value";
2332
+ readonly type: "uint256";
2333
+ }, {
2334
+ readonly internalType: "bytes";
2335
+ readonly name: "data";
2336
+ readonly type: "bytes";
2337
+ }];
2338
+ readonly internalType: "struct Action[]";
2339
+ readonly name: "_actions";
2340
+ readonly type: "tuple[]";
2341
+ }, {
2342
+ readonly internalType: "uint256";
2343
+ readonly name: "_allowFailureMap";
2344
+ readonly type: "uint256";
2345
+ }];
2346
+ readonly name: "execute";
2347
+ readonly outputs: readonly [{
2348
+ readonly internalType: "bytes[]";
2349
+ readonly name: "execResults";
2350
+ readonly type: "bytes[]";
2351
+ }, {
2352
+ readonly internalType: "uint256";
2353
+ readonly name: "failureMap";
2354
+ readonly type: "uint256";
2355
+ }];
2356
+ readonly stateMutability: "nonpayable";
2357
+ readonly type: "function";
2358
+ }, {
2359
+ readonly inputs: readonly [];
2360
+ readonly name: "getTrustedForwarder";
2361
+ readonly outputs: readonly [{
2362
+ readonly internalType: "address";
2363
+ readonly name: "";
2364
+ readonly type: "address";
2365
+ }];
2366
+ readonly stateMutability: "view";
2367
+ readonly type: "function";
2368
+ }, {
2369
+ readonly inputs: readonly [{
2370
+ readonly internalType: "address";
2371
+ readonly name: "_where";
2372
+ readonly type: "address";
2373
+ }, {
2374
+ readonly internalType: "address";
2375
+ readonly name: "_who";
2376
+ readonly type: "address";
2377
+ }, {
2378
+ readonly internalType: "bytes32";
2379
+ readonly name: "_permissionId";
2380
+ readonly type: "bytes32";
2381
+ }];
2382
+ readonly name: "grant";
2383
+ readonly outputs: readonly [];
2384
+ readonly stateMutability: "nonpayable";
2385
+ readonly type: "function";
2386
+ }, {
2387
+ readonly inputs: readonly [{
2388
+ readonly internalType: "address";
2389
+ readonly name: "_where";
2390
+ readonly type: "address";
2391
+ }, {
2392
+ readonly internalType: "address";
2393
+ readonly name: "_who";
2394
+ readonly type: "address";
2395
+ }, {
2396
+ readonly internalType: "bytes32";
2397
+ readonly name: "_permissionId";
2398
+ readonly type: "bytes32";
2399
+ }, {
2400
+ readonly internalType: "contract IPermissionCondition";
2401
+ readonly name: "_condition";
2402
+ readonly type: "address";
2403
+ }];
2404
+ readonly name: "grantWithCondition";
2405
+ readonly outputs: readonly [];
2406
+ readonly stateMutability: "nonpayable";
2407
+ readonly type: "function";
2408
+ }, {
2409
+ readonly inputs: readonly [{
2410
+ readonly internalType: "address";
2411
+ readonly name: "_where";
2412
+ readonly type: "address";
2413
+ }, {
2414
+ readonly internalType: "address";
2415
+ readonly name: "_who";
2416
+ readonly type: "address";
2417
+ }, {
2418
+ readonly internalType: "bytes32";
2419
+ readonly name: "_permissionId";
2420
+ readonly type: "bytes32";
2421
+ }, {
2422
+ readonly internalType: "bytes";
2423
+ readonly name: "_data";
2424
+ readonly type: "bytes";
2425
+ }];
2426
+ readonly name: "hasPermission";
2427
+ readonly outputs: readonly [{
2428
+ readonly internalType: "bool";
2429
+ readonly name: "";
2430
+ readonly type: "bool";
2431
+ }];
2432
+ readonly stateMutability: "view";
2433
+ readonly type: "function";
2434
+ }, {
2435
+ readonly inputs: readonly [{
2436
+ readonly internalType: "bytes";
2437
+ readonly name: "_metadata";
2438
+ readonly type: "bytes";
2439
+ }, {
2440
+ readonly internalType: "address";
2441
+ readonly name: "_initialOwner";
2442
+ readonly type: "address";
2443
+ }, {
2444
+ readonly internalType: "address";
2445
+ readonly name: "_trustedForwarder";
2446
+ readonly type: "address";
2447
+ }, {
2448
+ readonly internalType: "string";
2449
+ readonly name: "daoURI_";
2450
+ readonly type: "string";
2451
+ }];
2452
+ readonly name: "initialize";
2453
+ readonly outputs: readonly [];
2454
+ readonly stateMutability: "nonpayable";
2455
+ readonly type: "function";
2456
+ }, {
2457
+ readonly inputs: readonly [{
2458
+ readonly internalType: "uint8[3]";
2459
+ readonly name: "_previousProtocolVersion";
2460
+ readonly type: "uint8[3]";
2461
+ }, {
2462
+ readonly internalType: "bytes";
2463
+ readonly name: "_initData";
2464
+ readonly type: "bytes";
2465
+ }];
2466
+ readonly name: "initializeFrom";
2467
+ readonly outputs: readonly [];
2468
+ readonly stateMutability: "nonpayable";
2469
+ readonly type: "function";
2470
+ }, {
2471
+ readonly inputs: readonly [{
2472
+ readonly internalType: "address";
2473
+ readonly name: "_where";
2474
+ readonly type: "address";
2475
+ }, {
2476
+ readonly internalType: "address";
2477
+ readonly name: "_who";
2478
+ readonly type: "address";
2479
+ }, {
2480
+ readonly internalType: "bytes32";
2481
+ readonly name: "_permissionId";
2482
+ readonly type: "bytes32";
2483
+ }, {
2484
+ readonly internalType: "bytes";
2485
+ readonly name: "_data";
2486
+ readonly type: "bytes";
2487
+ }];
2488
+ readonly name: "isGranted";
2489
+ readonly outputs: readonly [{
2490
+ readonly internalType: "bool";
2491
+ readonly name: "";
2492
+ readonly type: "bool";
2493
+ }];
2494
+ readonly stateMutability: "view";
2495
+ readonly type: "function";
2496
+ }, {
2497
+ readonly inputs: readonly [{
2498
+ readonly internalType: "bytes32";
2499
+ readonly name: "_hash";
2500
+ readonly type: "bytes32";
2501
+ }, {
2502
+ readonly internalType: "bytes";
2503
+ readonly name: "_signature";
2504
+ readonly type: "bytes";
2505
+ }];
2506
+ readonly name: "isValidSignature";
2507
+ readonly outputs: readonly [{
2508
+ readonly internalType: "bytes4";
2509
+ readonly name: "";
2510
+ readonly type: "bytes4";
2511
+ }];
2512
+ readonly stateMutability: "view";
2513
+ readonly type: "function";
2514
+ }, {
2515
+ readonly inputs: readonly [];
2516
+ readonly name: "protocolVersion";
2517
+ readonly outputs: readonly [{
2518
+ readonly internalType: "uint8[3]";
2519
+ readonly name: "";
2520
+ readonly type: "uint8[3]";
2521
+ }];
2522
+ readonly stateMutability: "pure";
2523
+ readonly type: "function";
2524
+ }, {
2525
+ readonly inputs: readonly [];
2526
+ readonly name: "proxiableUUID";
2527
+ readonly outputs: readonly [{
2528
+ readonly internalType: "bytes32";
2529
+ readonly name: "";
2530
+ readonly type: "bytes32";
2531
+ }];
2532
+ readonly stateMutability: "view";
2533
+ readonly type: "function";
2534
+ }, {
2535
+ readonly inputs: readonly [{
2536
+ readonly internalType: "bytes4";
2537
+ readonly name: "_interfaceId";
2538
+ readonly type: "bytes4";
2539
+ }, {
2540
+ readonly internalType: "bytes4";
2541
+ readonly name: "_callbackSelector";
2542
+ readonly type: "bytes4";
2543
+ }, {
2544
+ readonly internalType: "bytes4";
2545
+ readonly name: "_magicNumber";
2546
+ readonly type: "bytes4";
2547
+ }];
2548
+ readonly name: "registerStandardCallback";
2549
+ readonly outputs: readonly [];
2550
+ readonly stateMutability: "nonpayable";
2551
+ readonly type: "function";
2552
+ }, {
2553
+ readonly inputs: readonly [{
2554
+ readonly internalType: "address";
2555
+ readonly name: "_where";
2556
+ readonly type: "address";
2557
+ }, {
2558
+ readonly internalType: "address";
2559
+ readonly name: "_who";
2560
+ readonly type: "address";
2561
+ }, {
2562
+ readonly internalType: "bytes32";
2563
+ readonly name: "_permissionId";
2564
+ readonly type: "bytes32";
2565
+ }];
2566
+ readonly name: "revoke";
2567
+ readonly outputs: readonly [];
2568
+ readonly stateMutability: "nonpayable";
2569
+ readonly type: "function";
2570
+ }, {
2571
+ readonly inputs: readonly [{
2572
+ readonly internalType: "string";
2573
+ readonly name: "newDaoURI";
2574
+ readonly type: "string";
2575
+ }];
2576
+ readonly name: "setDaoURI";
2577
+ readonly outputs: readonly [];
2578
+ readonly stateMutability: "nonpayable";
2579
+ readonly type: "function";
2580
+ }, {
2581
+ readonly inputs: readonly [{
2582
+ readonly internalType: "bytes";
2583
+ readonly name: "_metadata";
2584
+ readonly type: "bytes";
2585
+ }];
2586
+ readonly name: "setMetadata";
2587
+ readonly outputs: readonly [];
2588
+ readonly stateMutability: "nonpayable";
2589
+ readonly type: "function";
2590
+ }, {
2591
+ readonly inputs: readonly [{
2592
+ readonly internalType: "address";
2593
+ readonly name: "";
2594
+ readonly type: "address";
2595
+ }];
2596
+ readonly name: "setSignatureValidator";
2597
+ readonly outputs: readonly [];
2598
+ readonly stateMutability: "pure";
2599
+ readonly type: "function";
2600
+ }, {
2601
+ readonly inputs: readonly [{
2602
+ readonly internalType: "address";
2603
+ readonly name: "_newTrustedForwarder";
2604
+ readonly type: "address";
2605
+ }];
2606
+ readonly name: "setTrustedForwarder";
2607
+ readonly outputs: readonly [];
2608
+ readonly stateMutability: "nonpayable";
2609
+ readonly type: "function";
2610
+ }, {
2611
+ readonly inputs: readonly [{
2612
+ readonly internalType: "bytes4";
2613
+ readonly name: "interfaceId";
2614
+ readonly type: "bytes4";
2615
+ }];
2616
+ readonly name: "supportsInterface";
2617
+ readonly outputs: readonly [{
2618
+ readonly internalType: "bool";
2619
+ readonly name: "";
2620
+ readonly type: "bool";
2621
+ }];
2622
+ readonly stateMutability: "view";
2623
+ readonly type: "function";
2624
+ }, {
2625
+ readonly inputs: readonly [{
2626
+ readonly internalType: "address";
2627
+ readonly name: "newImplementation";
2628
+ readonly type: "address";
2629
+ }];
2630
+ readonly name: "upgradeTo";
2631
+ readonly outputs: readonly [];
2632
+ readonly stateMutability: "nonpayable";
2633
+ readonly type: "function";
2634
+ }, {
2635
+ readonly inputs: readonly [{
2636
+ readonly internalType: "address";
2637
+ readonly name: "newImplementation";
2638
+ readonly type: "address";
2639
+ }, {
2640
+ readonly internalType: "bytes";
2641
+ readonly name: "data";
2642
+ readonly type: "bytes";
2643
+ }];
2644
+ readonly name: "upgradeToAndCall";
2645
+ readonly outputs: readonly [];
2646
+ readonly stateMutability: "payable";
2647
+ readonly type: "function";
2648
+ }, {
2649
+ readonly stateMutability: "payable";
2650
+ readonly type: "receive";
2651
+ }];
2652
+
1772
2653
  declare const AragonMultiSig_ABI: readonly [{
1773
2654
  readonly inputs: readonly [{
1774
2655
  readonly internalType: "uint16";
@@ -21309,4 +22190,4 @@ declare const VaultAdapterV1_ABI: readonly [{
21309
22190
  readonly type: "function";
21310
22191
  }];
21311
22192
 
21312
- export { ADDRESS, AggregatorV3Interface_ABI, AragonDelayedAction_ABI, AragonMultiSig_ABI, AragonVetoMultiSig_ABI, type ChainAddressArbitrum, type ChainAddressAvalanche, type ChainAddressBase, type ChainAddressGnosis, type ChainAddressMainnet, type ChainAddressMap, type ChainAddressOptimism, type ChainAddressPolygon, type ChainAddressSonic, type ChainId, type ChainIdMain, type ChainIdSide, ChainMain, ChainSide, CurveAdapterV1_1_ABI, CurveAdapterV1_2_ABI, CurveAdapterV1_ABI, ERC20Permit_ABI, ERC20_ABI, ErrorsLib_ABI, EventsLib_ABI, ICurveStableSwapNG_ABI, IERC20Metadata_ABI, IERC20Permit_ABI, IERC20_ABI, IERC4626ABI, IMetaMorphoV1_1Base_ABI, IMetaMorphoV1_1StaticTyping_ABI, IMetaMorphoV1_1_ABI, IMorphoBase_ABI, IMorphoChainlinkOracleV2Factory_ABI, IMorphoChainlinkOracleV2_ABI, IMorphoFlashLoanCallback_ABI, IMorphoLiquidateCallback_ABI, IMorphoRepayCallback_ABI, IMorphoStaticTyping_ABI, IMorphoSupplyCallback_ABI, IMorphoSupplyCollateralCallback_ABI, IMorpho_ABI, IMulticall_ABI, IOracle_ABI, IOwnable_ABI, IStablecoinMetadata_ABI, IStablecoinModifier_ABI, IStablecoin_ABI, ITermMaxVault_ABI, MorphoAdapterV1_1_ABI, MorphoAdapterV1_2_ABI, MorphoAdapterV1_ABI, MorphoChainlinkOracleV2_ABI, RewardDistributionV1_ABI, Stablecoin_ABI, type SupportedChain, SupportedChainIds, SupportedChains, SupportedChainsMap, VaultAdapterRecoverV1_ABI, VaultAdapterV1_ABI, getAddressFromChildIndex, getChildFromSeed, getPrivateKeyFromChildIndex, getPublicKeyFromChildIndex, getWalletInto };
22193
+ export { ADDRESS, AggregatorV3Interface_ABI, AragonDao_ABI, AragonDelayedAction_ABI, AragonMultiSig_ABI, AragonVetoMultiSig_ABI, type ChainAddressArbitrum, type ChainAddressAvalanche, type ChainAddressBase, type ChainAddressGnosis, type ChainAddressMainnet, type ChainAddressMap, type ChainAddressOptimism, type ChainAddressPolygon, type ChainAddressSonic, type ChainId, type ChainIdMain, type ChainIdSide, ChainMain, ChainSide, CurveAdapterV1_1_ABI, CurveAdapterV1_2_ABI, CurveAdapterV1_ABI, ERC20Permit_ABI, ERC20_ABI, ErrorsLib_ABI, EventsLib_ABI, ICurveStableSwapNG_ABI, IERC20Metadata_ABI, IERC20Permit_ABI, IERC20_ABI, IERC4626ABI, IMetaMorphoV1_1Base_ABI, IMetaMorphoV1_1StaticTyping_ABI, IMetaMorphoV1_1_ABI, IMorphoBase_ABI, IMorphoChainlinkOracleV2Factory_ABI, IMorphoChainlinkOracleV2_ABI, IMorphoFlashLoanCallback_ABI, IMorphoLiquidateCallback_ABI, IMorphoRepayCallback_ABI, IMorphoStaticTyping_ABI, IMorphoSupplyCallback_ABI, IMorphoSupplyCollateralCallback_ABI, IMorpho_ABI, IMulticall_ABI, IOracle_ABI, IOwnable_ABI, IStablecoinMetadata_ABI, IStablecoinModifier_ABI, IStablecoin_ABI, ITermMaxVault_ABI, MorphoAdapterV1_1_ABI, MorphoAdapterV1_2_ABI, MorphoAdapterV1_ABI, MorphoChainlinkOracleV2_ABI, RewardDistributionV1_ABI, Stablecoin_ABI, type SupportedChain, SupportedChainIds, SupportedChains, SupportedChainsMap, VaultAdapterRecoverV1_ABI, VaultAdapterV1_ABI };