@underscore-finance/sdk 1.2.8 → 1.2.9
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/contracts/AaveV3.d.ts +39 -2
- package/dist/contracts/AaveV3.d.ts.map +1 -1
- package/dist/contracts/AaveV3.js +115 -69
- package/dist/contracts/AeroClassic.d.ts +31 -2
- package/dist/contracts/AeroClassic.d.ts.map +1 -1
- package/dist/contracts/AeroClassic.js +82 -44
- package/dist/contracts/AeroSlipstream.d.ts +39 -2
- package/dist/contracts/AeroSlipstream.d.ts.map +1 -1
- package/dist/contracts/AeroSlipstream.js +94 -48
- package/dist/contracts/AgentSenderGeneric.d.ts +31 -2
- package/dist/contracts/AgentSenderGeneric.d.ts.map +1 -1
- package/dist/contracts/AgentSenderGeneric.js +71 -33
- package/dist/contracts/AgentSenderSpecial.d.ts +31 -2
- package/dist/contracts/AgentSenderSpecial.d.ts.map +1 -1
- package/dist/contracts/AgentSenderSpecial.js +59 -21
- package/dist/contracts/AgentWrapper.d.ts +15 -2
- package/dist/contracts/AgentWrapper.d.ts.map +1 -1
- package/dist/contracts/AgentWrapper.js +48 -26
- package/dist/contracts/AgentWrapperV1.d.ts +31 -2
- package/dist/contracts/AgentWrapperV1.d.ts.map +1 -1
- package/dist/contracts/AgentWrapperV1.js +72 -34
- package/dist/contracts/Appraiser.d.ts +19 -2
- package/dist/contracts/Appraiser.d.ts.map +1 -1
- package/dist/contracts/Appraiser.js +43 -17
- package/dist/contracts/Avantis.d.ts +43 -2
- package/dist/contracts/Avantis.d.ts.map +1 -1
- package/dist/contracts/Avantis.js +118 -68
- package/dist/contracts/Billing.d.ts +27 -2
- package/dist/contracts/Billing.d.ts.map +1 -1
- package/dist/contracts/Billing.js +46 -12
- package/dist/contracts/ChequeBook.d.ts +23 -2
- package/dist/contracts/ChequeBook.d.ts.map +1 -1
- package/dist/contracts/ChequeBook.js +45 -15
- package/dist/contracts/CompoundV3.d.ts +43 -2
- package/dist/contracts/CompoundV3.d.ts.map +1 -1
- package/dist/contracts/CompoundV3.js +120 -70
- package/dist/contracts/ConvertVaultToken.d.ts +2 -1
- package/dist/contracts/ConvertVaultToken.d.ts.map +1 -1
- package/dist/contracts/ConvertVaultToken.js +2 -2
- package/dist/contracts/Curve.d.ts +31 -2
- package/dist/contracts/Curve.d.ts.map +1 -1
- package/dist/contracts/Curve.js +69 -31
- package/dist/contracts/DefaultsBase.d.ts +2 -1
- package/dist/contracts/DefaultsBase.d.ts.map +1 -1
- package/dist/contracts/DefaultsBase.js +9 -9
- package/dist/contracts/ERC20.d.ts +19 -2
- package/dist/contracts/ERC20.d.ts.map +1 -1
- package/dist/contracts/ERC20.js +39 -13
- package/dist/contracts/EarnVault.d.ts +55 -2
- package/dist/contracts/EarnVault.d.ts.map +1 -1
- package/dist/contracts/EarnVault.js +124 -65
- package/dist/contracts/EarnVaultAgent.d.ts +31 -2
- package/dist/contracts/EarnVaultAgent.d.ts.map +1 -1
- package/dist/contracts/EarnVaultAgent.js +58 -20
- package/dist/contracts/EarnVaultAgentSigHelper.d.ts +2 -1
- package/dist/contracts/EarnVaultAgentSigHelper.d.ts.map +1 -1
- package/dist/contracts/EarnVaultAgentSigHelper.js +6 -6
- package/dist/contracts/Euler.d.ts +47 -2
- package/dist/contracts/Euler.d.ts.map +1 -1
- package/dist/contracts/Euler.js +125 -71
- package/dist/contracts/ExtraFi.d.ts +43 -2
- package/dist/contracts/ExtraFi.d.ts.map +1 -1
- package/dist/contracts/ExtraFi.js +120 -70
- package/dist/contracts/Fluid.d.ts +43 -2
- package/dist/contracts/Fluid.d.ts.map +1 -1
- package/dist/contracts/Fluid.js +120 -70
- package/dist/contracts/FortyAcres.d.ts +43 -2
- package/dist/contracts/FortyAcres.d.ts.map +1 -1
- package/dist/contracts/FortyAcres.js +119 -69
- package/dist/contracts/Hatchery.d.ts +23 -2
- package/dist/contracts/Hatchery.d.ts.map +1 -1
- package/dist/contracts/Hatchery.js +42 -12
- package/dist/contracts/HighCommand.d.ts +27 -2
- package/dist/contracts/HighCommand.d.ts.map +1 -1
- package/dist/contracts/HighCommand.js +52 -18
- package/dist/contracts/Kernel.d.ts +27 -2
- package/dist/contracts/Kernel.d.ts.map +1 -1
- package/dist/contracts/Kernel.js +42 -8
- package/dist/contracts/Ledger.d.ts +19 -2
- package/dist/contracts/Ledger.d.ts.map +1 -1
- package/dist/contracts/Ledger.js +59 -33
- package/dist/contracts/LegoBook.d.ts +87 -2
- package/dist/contracts/LegoBook.d.ts.map +1 -1
- package/dist/contracts/LegoBook.js +157 -63
- package/dist/contracts/LegoTools.d.ts +19 -2
- package/dist/contracts/LegoTools.d.ts.map +1 -1
- package/dist/contracts/LegoTools.js +87 -61
- package/dist/contracts/LevgVault.d.ts +63 -2
- package/dist/contracts/LevgVault.d.ts.map +1 -1
- package/dist/contracts/LevgVault.js +143 -76
- package/dist/contracts/LevgVaultHelper.d.ts +2 -1
- package/dist/contracts/LevgVaultHelper.d.ts.map +1 -1
- package/dist/contracts/LevgVaultHelper.js +23 -23
- package/dist/contracts/LootDistributor.d.ts +59 -2
- package/dist/contracts/LootDistributor.d.ts.map +1 -1
- package/dist/contracts/LootDistributor.js +102 -36
- package/dist/contracts/Migrator.d.ts +19 -2
- package/dist/contracts/Migrator.d.ts.map +1 -1
- package/dist/contracts/Migrator.js +34 -8
- package/dist/contracts/MissionControl.d.ts +19 -2
- package/dist/contracts/MissionControl.d.ts.map +1 -1
- package/dist/contracts/MissionControl.js +72 -46
- package/dist/contracts/Moonwell.d.ts +43 -2
- package/dist/contracts/Moonwell.d.ts.map +1 -1
- package/dist/contracts/Moonwell.js +119 -69
- package/dist/contracts/Morpho.d.ts +47 -2
- package/dist/contracts/Morpho.d.ts.map +1 -1
- package/dist/contracts/Morpho.js +125 -71
- package/dist/contracts/Paymaster.d.ts +39 -2
- package/dist/contracts/Paymaster.d.ts.map +1 -1
- package/dist/contracts/Paymaster.js +66 -20
- package/dist/contracts/RipeLego.d.ts +67 -2
- package/dist/contracts/RipeLego.d.ts.map +1 -1
- package/dist/contracts/RipeLego.js +147 -73
- package/dist/contracts/Sentinel.d.ts +2 -1
- package/dist/contracts/Sentinel.d.ts.map +1 -1
- package/dist/contracts/Sentinel.js +8 -8
- package/dist/contracts/SignatureHelper.d.ts +2 -1
- package/dist/contracts/SignatureHelper.d.ts.map +1 -1
- package/dist/contracts/SignatureHelper.js +20 -20
- package/dist/contracts/SignatureHelperV1.d.ts +2 -1
- package/dist/contracts/SignatureHelperV1.d.ts.map +1 -1
- package/dist/contracts/SignatureHelperV1.js +20 -20
- package/dist/contracts/SkyPsm.d.ts +47 -2
- package/dist/contracts/SkyPsm.d.ts.map +1 -1
- package/dist/contracts/SkyPsm.js +126 -72
- package/dist/contracts/Switchboard.d.ts +83 -2
- package/dist/contracts/Switchboard.d.ts.map +1 -1
- package/dist/contracts/Switchboard.js +151 -61
- package/dist/contracts/SwitchboardAlpha.d.ts +199 -2
- package/dist/contracts/SwitchboardAlpha.d.ts.map +1 -1
- package/dist/contracts/SwitchboardAlpha.js +275 -69
- package/dist/contracts/SwitchboardBravo.d.ts +115 -2
- package/dist/contracts/SwitchboardBravo.d.ts.map +1 -1
- package/dist/contracts/SwitchboardBravo.js +178 -56
- package/dist/contracts/SwitchboardCharlie.d.ts +251 -2
- package/dist/contracts/SwitchboardCharlie.d.ts.map +1 -1
- package/dist/contracts/SwitchboardCharlie.js +347 -89
- package/dist/contracts/UnderscoreLego.d.ts +43 -2
- package/dist/contracts/UnderscoreLego.d.ts.map +1 -1
- package/dist/contracts/UnderscoreLego.js +117 -67
- package/dist/contracts/UndyAero.d.ts +55 -2
- package/dist/contracts/UndyAero.d.ts.map +1 -1
- package/dist/contracts/UndyAero.js +124 -65
- package/dist/contracts/UndyBtc.d.ts +55 -2
- package/dist/contracts/UndyBtc.d.ts.map +1 -1
- package/dist/contracts/UndyBtc.js +124 -65
- package/dist/contracts/UndyCbeth.d.ts +55 -2
- package/dist/contracts/UndyCbeth.d.ts.map +1 -1
- package/dist/contracts/UndyCbeth.js +124 -65
- package/dist/contracts/UndyEth.d.ts +55 -2
- package/dist/contracts/UndyEth.d.ts.map +1 -1
- package/dist/contracts/UndyEth.js +124 -65
- package/dist/contracts/UndyEurc.d.ts +55 -2
- package/dist/contracts/UndyEurc.d.ts.map +1 -1
- package/dist/contracts/UndyEurc.js +124 -65
- package/dist/contracts/UndyGho.d.ts +55 -2
- package/dist/contracts/UndyGho.d.ts.map +1 -1
- package/dist/contracts/UndyGho.js +124 -65
- package/dist/contracts/UndyHq.d.ts +99 -2
- package/dist/contracts/UndyHq.d.ts.map +1 -1
- package/dist/contracts/UndyHq.js +173 -67
- package/dist/contracts/UndyRewardsLego.d.ts +2 -1
- package/dist/contracts/UndyRewardsLego.d.ts.map +1 -1
- package/dist/contracts/UndyRewardsLego.js +29 -29
- package/dist/contracts/UndyUsd.d.ts +55 -2
- package/dist/contracts/UndyUsd.d.ts.map +1 -1
- package/dist/contracts/UndyUsd.js +124 -65
- package/dist/contracts/UndyUsds.d.ts +55 -2
- package/dist/contracts/UndyUsds.d.ts.map +1 -1
- package/dist/contracts/UndyUsds.js +124 -65
- package/dist/contracts/UndyVirtual.d.ts +59 -2
- package/dist/contracts/UndyVirtual.d.ts.map +1 -1
- package/dist/contracts/UndyVirtual.js +129 -66
- package/dist/contracts/UniswapV2.d.ts +31 -2
- package/dist/contracts/UniswapV2.d.ts.map +1 -1
- package/dist/contracts/UniswapV2.js +82 -44
- package/dist/contracts/UniswapV3.d.ts +39 -2
- package/dist/contracts/UniswapV3.d.ts.map +1 -1
- package/dist/contracts/UniswapV3.js +94 -48
- package/dist/contracts/UserWallet.d.ts +19 -2
- package/dist/contracts/UserWallet.d.ts.map +1 -1
- package/dist/contracts/UserWallet.js +58 -32
- package/dist/contracts/UserWalletConfig.d.ts +39 -2
- package/dist/contracts/UserWalletConfig.d.ts.map +1 -1
- package/dist/contracts/UserWalletConfig.js +138 -92
- package/dist/contracts/UserWalletConfigV1.d.ts +39 -2
- package/dist/contracts/UserWalletConfigV1.d.ts.map +1 -1
- package/dist/contracts/UserWalletConfigV1.js +141 -95
- package/dist/contracts/UserWalletSignatureHelper.d.ts +2 -1
- package/dist/contracts/UserWalletSignatureHelper.d.ts.map +1 -1
- package/dist/contracts/UserWalletSignatureHelper.js +21 -21
- package/dist/contracts/UserWalletV1.d.ts +19 -2
- package/dist/contracts/UserWalletV1.d.ts.map +1 -1
- package/dist/contracts/UserWalletV1.js +58 -32
- package/dist/contracts/VaultRegistry.d.ts +139 -2
- package/dist/contracts/VaultRegistry.d.ts.map +1 -1
- package/dist/contracts/VaultRegistry.js +261 -115
- package/dist/contracts/WalletBackpack.d.ts +63 -2
- package/dist/contracts/WalletBackpack.d.ts.map +1 -1
- package/dist/contracts/WalletBackpack.js +136 -66
- package/dist/contracts/Wasabi.d.ts +43 -2
- package/dist/contracts/Wasabi.d.ts.map +1 -1
- package/dist/contracts/Wasabi.js +119 -69
- package/dist/contracts/sdk.d.ts +3 -2
- package/dist/contracts/sdk.d.ts.map +1 -1
- package/dist/contracts/sdk.js +69 -69
- package/dist/getSwapInstructions.d.ts +3 -2
- package/dist/getSwapInstructions.d.ts.map +1 -1
- package/dist/getSwapInstructions.js +4 -4
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +53 -4
- package/package.json +5 -4
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/* @ts-nocheck */
|
|
5
5
|
import { singleQuery, mutate } from '@dappql/async';
|
|
6
|
+
import { encodeEventTopics, parseEventLogs, } from 'viem';
|
|
6
7
|
export const abi = [
|
|
7
8
|
{
|
|
8
9
|
name: 'PendingRecoverFundsAction',
|
|
@@ -1763,66 +1764,187 @@ export const mutation = {
|
|
|
1763
1764
|
executePendingAction: getMutation('executePendingAction'),
|
|
1764
1765
|
cancelPendingAction: getMutation('cancelPendingAction'),
|
|
1765
1766
|
};
|
|
1766
|
-
export function
|
|
1767
|
+
export function parseEvents(eventName, events) {
|
|
1768
|
+
return events.map((event) => {
|
|
1769
|
+
return {
|
|
1770
|
+
event,
|
|
1771
|
+
parsed: parseEventLogs({
|
|
1772
|
+
abi,
|
|
1773
|
+
eventName,
|
|
1774
|
+
logs: [event],
|
|
1775
|
+
}),
|
|
1776
|
+
};
|
|
1777
|
+
});
|
|
1778
|
+
}
|
|
1779
|
+
export function getEventTopic(eventName) {
|
|
1780
|
+
return encodeEventTopics({ abi, eventName })[0];
|
|
1781
|
+
}
|
|
1782
|
+
export function toSdk(publicClient, walletClient, addressResolver) {
|
|
1767
1783
|
return {
|
|
1768
1784
|
deployAddress,
|
|
1769
1785
|
abi,
|
|
1786
|
+
events: {
|
|
1787
|
+
PendingRecoverFundsAction: {
|
|
1788
|
+
topic: getEventTopic('PendingRecoverFundsAction'),
|
|
1789
|
+
parse: (events) => parseEvents('PendingRecoverFundsAction', events),
|
|
1790
|
+
},
|
|
1791
|
+
PendingRecoverFundsManyAction: {
|
|
1792
|
+
topic: getEventTopic('PendingRecoverFundsManyAction'),
|
|
1793
|
+
parse: (events) => parseEvents('PendingRecoverFundsManyAction', events),
|
|
1794
|
+
},
|
|
1795
|
+
PendingRecoverNftAction: {
|
|
1796
|
+
topic: getEventTopic('PendingRecoverNftAction'),
|
|
1797
|
+
parse: (events) => parseEvents('PendingRecoverNftAction', events),
|
|
1798
|
+
},
|
|
1799
|
+
PendingLootAdjustAction: {
|
|
1800
|
+
topic: getEventTopic('PendingLootAdjustAction'),
|
|
1801
|
+
parse: (events) => parseEvents('PendingLootAdjustAction', events),
|
|
1802
|
+
},
|
|
1803
|
+
PendingRecoverDepositRewardsAction: {
|
|
1804
|
+
topic: getEventTopic('PendingRecoverDepositRewardsAction'),
|
|
1805
|
+
parse: (events) => parseEvents('PendingRecoverDepositRewardsAction', events),
|
|
1806
|
+
},
|
|
1807
|
+
AssetDataUpdated: {
|
|
1808
|
+
topic: getEventTopic('AssetDataUpdated'),
|
|
1809
|
+
parse: (events) => parseEvents('AssetDataUpdated', events),
|
|
1810
|
+
},
|
|
1811
|
+
AllAssetDataUpdated: {
|
|
1812
|
+
topic: getEventTopic('AllAssetDataUpdated'),
|
|
1813
|
+
parse: (events) => parseEvents('AllAssetDataUpdated', events),
|
|
1814
|
+
},
|
|
1815
|
+
PendingSetEjectionModeAction: {
|
|
1816
|
+
topic: getEventTopic('PendingSetEjectionModeAction'),
|
|
1817
|
+
parse: (events) => parseEvents('PendingSetEjectionModeAction', events),
|
|
1818
|
+
},
|
|
1819
|
+
PauseExecuted: {
|
|
1820
|
+
topic: getEventTopic('PauseExecuted'),
|
|
1821
|
+
parse: (events) => parseEvents('PauseExecuted', events),
|
|
1822
|
+
},
|
|
1823
|
+
RecoverFundsExecuted: {
|
|
1824
|
+
topic: getEventTopic('RecoverFundsExecuted'),
|
|
1825
|
+
parse: (events) => parseEvents('RecoverFundsExecuted', events),
|
|
1826
|
+
},
|
|
1827
|
+
RecoverFundsManyExecuted: {
|
|
1828
|
+
topic: getEventTopic('RecoverFundsManyExecuted'),
|
|
1829
|
+
parse: (events) => parseEvents('RecoverFundsManyExecuted', events),
|
|
1830
|
+
},
|
|
1831
|
+
RecoverNftExecuted: {
|
|
1832
|
+
topic: getEventTopic('RecoverNftExecuted'),
|
|
1833
|
+
parse: (events) => parseEvents('RecoverNftExecuted', events),
|
|
1834
|
+
},
|
|
1835
|
+
DepositPointsUpdated: {
|
|
1836
|
+
topic: getEventTopic('DepositPointsUpdated'),
|
|
1837
|
+
parse: (events) => parseEvents('DepositPointsUpdated', events),
|
|
1838
|
+
},
|
|
1839
|
+
LootClaimedForUser: {
|
|
1840
|
+
topic: getEventTopic('LootClaimedForUser'),
|
|
1841
|
+
parse: (events) => parseEvents('LootClaimedForUser', events),
|
|
1842
|
+
},
|
|
1843
|
+
LootClaimedForManyUsers: {
|
|
1844
|
+
topic: getEventTopic('LootClaimedForManyUsers'),
|
|
1845
|
+
parse: (events) => parseEvents('LootClaimedForManyUsers', events),
|
|
1846
|
+
},
|
|
1847
|
+
LootAdjusted: {
|
|
1848
|
+
topic: getEventTopic('LootAdjusted'),
|
|
1849
|
+
parse: (events) => parseEvents('LootAdjusted', events),
|
|
1850
|
+
},
|
|
1851
|
+
RecoverDepositRewardsExecuted: {
|
|
1852
|
+
topic: getEventTopic('RecoverDepositRewardsExecuted'),
|
|
1853
|
+
parse: (events) => parseEvents('RecoverDepositRewardsExecuted', events),
|
|
1854
|
+
},
|
|
1855
|
+
SetEjectionModeExecuted: {
|
|
1856
|
+
topic: getEventTopic('SetEjectionModeExecuted'),
|
|
1857
|
+
parse: (events) => parseEvents('SetEjectionModeExecuted', events),
|
|
1858
|
+
},
|
|
1859
|
+
GovChangeTimeLockModified: {
|
|
1860
|
+
topic: getEventTopic('GovChangeTimeLockModified'),
|
|
1861
|
+
parse: (events) => parseEvents('GovChangeTimeLockModified', events),
|
|
1862
|
+
},
|
|
1863
|
+
ExpirationSet: {
|
|
1864
|
+
topic: getEventTopic('ExpirationSet'),
|
|
1865
|
+
parse: (events) => parseEvents('ExpirationSet', events),
|
|
1866
|
+
},
|
|
1867
|
+
ActionTimeLockSet: {
|
|
1868
|
+
topic: getEventTopic('ActionTimeLockSet'),
|
|
1869
|
+
parse: (events) => parseEvents('ActionTimeLockSet', events),
|
|
1870
|
+
},
|
|
1871
|
+
GovChangeStarted: {
|
|
1872
|
+
topic: getEventTopic('GovChangeStarted'),
|
|
1873
|
+
parse: (events) => parseEvents('GovChangeStarted', events),
|
|
1874
|
+
},
|
|
1875
|
+
GovChangeConfirmed: {
|
|
1876
|
+
topic: getEventTopic('GovChangeConfirmed'),
|
|
1877
|
+
parse: (events) => parseEvents('GovChangeConfirmed', events),
|
|
1878
|
+
},
|
|
1879
|
+
GovChangeCancelled: {
|
|
1880
|
+
topic: getEventTopic('GovChangeCancelled'),
|
|
1881
|
+
parse: (events) => parseEvents('GovChangeCancelled', events),
|
|
1882
|
+
},
|
|
1883
|
+
GovRelinquished: {
|
|
1884
|
+
topic: getEventTopic('GovRelinquished'),
|
|
1885
|
+
parse: (events) => parseEvents('GovRelinquished', events),
|
|
1886
|
+
},
|
|
1887
|
+
UndyHqSetupFinished: {
|
|
1888
|
+
topic: getEventTopic('UndyHqSetupFinished'),
|
|
1889
|
+
parse: (events) => parseEvents('UndyHqSetupFinished', events),
|
|
1890
|
+
},
|
|
1891
|
+
},
|
|
1770
1892
|
// Queries
|
|
1771
|
-
getAddys: (...args) => singleQuery(publicClient, call.getAddys(...args)),
|
|
1772
|
-
getUndyHq: (...args) => singleQuery(publicClient, call.getUndyHq(...args)),
|
|
1773
|
-
getUndyHqFromGov: (...args) => singleQuery(publicClient, call.getUndyHqFromGov(...args)),
|
|
1774
|
-
canGovern: (...args) => singleQuery(publicClient, call.canGovern(...args)),
|
|
1775
|
-
getGovernors: (...args) => singleQuery(publicClient, call.getGovernors(...args)),
|
|
1776
|
-
hasPendingGovChange: (...args) => singleQuery(publicClient, call.hasPendingGovChange(...args)),
|
|
1777
|
-
isValidGovTimeLock: (...args) => singleQuery(publicClient, call.isValidGovTimeLock(...args)),
|
|
1778
|
-
minGovChangeTimeLock: (...args) => singleQuery(publicClient, call.minGovChangeTimeLock(...args)),
|
|
1779
|
-
maxGovChangeTimeLock: (...args) => singleQuery(publicClient, call.maxGovChangeTimeLock(...args)),
|
|
1780
|
-
governance: (...args) => singleQuery(publicClient, call.governance(...args)),
|
|
1781
|
-
pendingGov: (...args) => singleQuery(publicClient, call.pendingGov(...args)),
|
|
1782
|
-
numGovChanges: (...args) => singleQuery(publicClient, call.numGovChanges(...args)),
|
|
1783
|
-
govChangeTimeLock: (...args) => singleQuery(publicClient, call.govChangeTimeLock(...args)),
|
|
1784
|
-
canConfirmAction: (...args) => singleQuery(publicClient, call.canConfirmAction(...args)),
|
|
1785
|
-
isExpired: (...args) => singleQuery(publicClient, call.isExpired(...args)),
|
|
1786
|
-
hasPendingAction: (...args) => singleQuery(publicClient, call.hasPendingAction(...args)),
|
|
1787
|
-
getActionConfirmationBlock: (...args) => singleQuery(publicClient, call.getActionConfirmationBlock(...args)),
|
|
1788
|
-
isValidActionTimeLock: (...args) => singleQuery(publicClient, call.isValidActionTimeLock(...args)),
|
|
1789
|
-
minActionTimeLock: (...args) => singleQuery(publicClient, call.minActionTimeLock(...args)),
|
|
1790
|
-
maxActionTimeLock: (...args) => singleQuery(publicClient, call.maxActionTimeLock(...args)),
|
|
1791
|
-
pendingActions: (...args) => singleQuery(publicClient, call.pendingActions(...args)),
|
|
1792
|
-
actionId: (...args) => singleQuery(publicClient, call.actionId(...args)),
|
|
1793
|
-
actionTimeLock: (...args) => singleQuery(publicClient, call.actionTimeLock(...args)),
|
|
1794
|
-
expiration: (...args) => singleQuery(publicClient, call.expiration(...args)),
|
|
1795
|
-
actionType: (...args) => singleQuery(publicClient, call.actionType(...args)),
|
|
1796
|
-
pendingPauseActions: (...args) => singleQuery(publicClient, call.pendingPauseActions(...args)),
|
|
1797
|
-
pendingRecoverFundsActions: (...args) => singleQuery(publicClient, call.pendingRecoverFundsActions(...args)),
|
|
1798
|
-
pendingRecoverFundsManyActions: (...args) => singleQuery(publicClient, call.pendingRecoverFundsManyActions(...args)),
|
|
1799
|
-
pendingRecoverNftActions: (...args) => singleQuery(publicClient, call.pendingRecoverNftActions(...args)),
|
|
1800
|
-
pendingLootAdjustActions: (...args) => singleQuery(publicClient, call.pendingLootAdjustActions(...args)),
|
|
1801
|
-
pendingRecoverDepositRewardsActions: (...args) => singleQuery(publicClient, call.pendingRecoverDepositRewardsActions(...args)),
|
|
1802
|
-
pendingSetEjectionModeActions: (...args) => singleQuery(publicClient, call.pendingSetEjectionModeActions(...args)),
|
|
1893
|
+
getAddys: (...args) => singleQuery(publicClient, call.getAddys(...args), {}, addressResolver),
|
|
1894
|
+
getUndyHq: (...args) => singleQuery(publicClient, call.getUndyHq(...args), {}, addressResolver),
|
|
1895
|
+
getUndyHqFromGov: (...args) => singleQuery(publicClient, call.getUndyHqFromGov(...args), {}, addressResolver),
|
|
1896
|
+
canGovern: (...args) => singleQuery(publicClient, call.canGovern(...args), {}, addressResolver),
|
|
1897
|
+
getGovernors: (...args) => singleQuery(publicClient, call.getGovernors(...args), {}, addressResolver),
|
|
1898
|
+
hasPendingGovChange: (...args) => singleQuery(publicClient, call.hasPendingGovChange(...args), {}, addressResolver),
|
|
1899
|
+
isValidGovTimeLock: (...args) => singleQuery(publicClient, call.isValidGovTimeLock(...args), {}, addressResolver),
|
|
1900
|
+
minGovChangeTimeLock: (...args) => singleQuery(publicClient, call.minGovChangeTimeLock(...args), {}, addressResolver),
|
|
1901
|
+
maxGovChangeTimeLock: (...args) => singleQuery(publicClient, call.maxGovChangeTimeLock(...args), {}, addressResolver),
|
|
1902
|
+
governance: (...args) => singleQuery(publicClient, call.governance(...args), {}, addressResolver),
|
|
1903
|
+
pendingGov: (...args) => singleQuery(publicClient, call.pendingGov(...args), {}, addressResolver),
|
|
1904
|
+
numGovChanges: (...args) => singleQuery(publicClient, call.numGovChanges(...args), {}, addressResolver),
|
|
1905
|
+
govChangeTimeLock: (...args) => singleQuery(publicClient, call.govChangeTimeLock(...args), {}, addressResolver),
|
|
1906
|
+
canConfirmAction: (...args) => singleQuery(publicClient, call.canConfirmAction(...args), {}, addressResolver),
|
|
1907
|
+
isExpired: (...args) => singleQuery(publicClient, call.isExpired(...args), {}, addressResolver),
|
|
1908
|
+
hasPendingAction: (...args) => singleQuery(publicClient, call.hasPendingAction(...args), {}, addressResolver),
|
|
1909
|
+
getActionConfirmationBlock: (...args) => singleQuery(publicClient, call.getActionConfirmationBlock(...args), {}, addressResolver),
|
|
1910
|
+
isValidActionTimeLock: (...args) => singleQuery(publicClient, call.isValidActionTimeLock(...args), {}, addressResolver),
|
|
1911
|
+
minActionTimeLock: (...args) => singleQuery(publicClient, call.minActionTimeLock(...args), {}, addressResolver),
|
|
1912
|
+
maxActionTimeLock: (...args) => singleQuery(publicClient, call.maxActionTimeLock(...args), {}, addressResolver),
|
|
1913
|
+
pendingActions: (...args) => singleQuery(publicClient, call.pendingActions(...args), {}, addressResolver),
|
|
1914
|
+
actionId: (...args) => singleQuery(publicClient, call.actionId(...args), {}, addressResolver),
|
|
1915
|
+
actionTimeLock: (...args) => singleQuery(publicClient, call.actionTimeLock(...args), {}, addressResolver),
|
|
1916
|
+
expiration: (...args) => singleQuery(publicClient, call.expiration(...args), {}, addressResolver),
|
|
1917
|
+
actionType: (...args) => singleQuery(publicClient, call.actionType(...args), {}, addressResolver),
|
|
1918
|
+
pendingPauseActions: (...args) => singleQuery(publicClient, call.pendingPauseActions(...args), {}, addressResolver),
|
|
1919
|
+
pendingRecoverFundsActions: (...args) => singleQuery(publicClient, call.pendingRecoverFundsActions(...args), {}, addressResolver),
|
|
1920
|
+
pendingRecoverFundsManyActions: (...args) => singleQuery(publicClient, call.pendingRecoverFundsManyActions(...args), {}, addressResolver),
|
|
1921
|
+
pendingRecoverNftActions: (...args) => singleQuery(publicClient, call.pendingRecoverNftActions(...args), {}, addressResolver),
|
|
1922
|
+
pendingLootAdjustActions: (...args) => singleQuery(publicClient, call.pendingLootAdjustActions(...args), {}, addressResolver),
|
|
1923
|
+
pendingRecoverDepositRewardsActions: (...args) => singleQuery(publicClient, call.pendingRecoverDepositRewardsActions(...args), {}, addressResolver),
|
|
1924
|
+
pendingSetEjectionModeActions: (...args) => singleQuery(publicClient, call.pendingSetEjectionModeActions(...args), {}, addressResolver),
|
|
1803
1925
|
// Mutations
|
|
1804
|
-
startGovernanceChange: (...args) => mutate(walletClient, mutation.startGovernanceChange)(...args),
|
|
1805
|
-
confirmGovernanceChange: (...args) => mutate(walletClient, mutation.confirmGovernanceChange)(...args),
|
|
1806
|
-
cancelGovernanceChange: (...args) => mutate(walletClient, mutation.cancelGovernanceChange)(...args),
|
|
1807
|
-
relinquishGov: (...args) => mutate(walletClient, mutation.relinquishGov)(...args),
|
|
1808
|
-
setGovTimeLock: (...args) => mutate(walletClient, mutation.setGovTimeLock)(...args),
|
|
1809
|
-
finishUndyHqSetup: (...args) => mutate(walletClient, mutation.finishUndyHqSetup)(...args),
|
|
1810
|
-
setActionTimeLock: (...args) => mutate(walletClient, mutation.setActionTimeLock)(...args),
|
|
1811
|
-
setExpiration: (...args) => mutate(walletClient, mutation.setExpiration)(...args),
|
|
1812
|
-
setActionTimeLockAfterSetup: (...args) => mutate(walletClient, mutation.setActionTimeLockAfterSetup)(...args),
|
|
1813
|
-
pause: (...args) => mutate(walletClient, mutation.pause)(...args),
|
|
1814
|
-
recoverFunds: (...args) => mutate(walletClient, mutation.recoverFunds)(...args),
|
|
1815
|
-
recoverFundsMany: (...args) => mutate(walletClient, mutation.recoverFundsMany)(...args),
|
|
1816
|
-
recoverNft: (...args) => mutate(walletClient, mutation.recoverNft)(...args),
|
|
1817
|
-
claimLootForUser: (...args) => mutate(walletClient, mutation.claimLootForUser)(...args),
|
|
1818
|
-
claimLootForManyUsers: (...args) => mutate(walletClient, mutation.claimLootForManyUsers)(...args),
|
|
1819
|
-
adjustLoot: (...args) => mutate(walletClient, mutation.adjustLoot)(...args),
|
|
1820
|
-
recoverDepositRewards: (...args) => mutate(walletClient, mutation.recoverDepositRewards)(...args),
|
|
1821
|
-
updateDepositPoints: (...args) => mutate(walletClient, mutation.updateDepositPoints)(...args),
|
|
1822
|
-
updateAssetData: (...args) => mutate(walletClient, mutation.updateAssetData)(...args),
|
|
1823
|
-
updateAllAssetData: (...args) => mutate(walletClient, mutation.updateAllAssetData)(...args),
|
|
1824
|
-
setEjectionMode: (...args) => mutate(walletClient, mutation.setEjectionMode)(...args),
|
|
1825
|
-
executePendingAction: (...args) => mutate(walletClient, mutation.executePendingAction)(...args),
|
|
1826
|
-
cancelPendingAction: (...args) => mutate(walletClient, mutation.cancelPendingAction)(...args),
|
|
1926
|
+
startGovernanceChange: (...args) => mutate(walletClient, mutation.startGovernanceChange, { addressResolver })(...args),
|
|
1927
|
+
confirmGovernanceChange: (...args) => mutate(walletClient, mutation.confirmGovernanceChange, { addressResolver })(...args),
|
|
1928
|
+
cancelGovernanceChange: (...args) => mutate(walletClient, mutation.cancelGovernanceChange, { addressResolver })(...args),
|
|
1929
|
+
relinquishGov: (...args) => mutate(walletClient, mutation.relinquishGov, { addressResolver })(...args),
|
|
1930
|
+
setGovTimeLock: (...args) => mutate(walletClient, mutation.setGovTimeLock, { addressResolver })(...args),
|
|
1931
|
+
finishUndyHqSetup: (...args) => mutate(walletClient, mutation.finishUndyHqSetup, { addressResolver })(...args),
|
|
1932
|
+
setActionTimeLock: (...args) => mutate(walletClient, mutation.setActionTimeLock, { addressResolver })(...args),
|
|
1933
|
+
setExpiration: (...args) => mutate(walletClient, mutation.setExpiration, { addressResolver })(...args),
|
|
1934
|
+
setActionTimeLockAfterSetup: (...args) => mutate(walletClient, mutation.setActionTimeLockAfterSetup, { addressResolver })(...args),
|
|
1935
|
+
pause: (...args) => mutate(walletClient, mutation.pause, { addressResolver })(...args),
|
|
1936
|
+
recoverFunds: (...args) => mutate(walletClient, mutation.recoverFunds, { addressResolver })(...args),
|
|
1937
|
+
recoverFundsMany: (...args) => mutate(walletClient, mutation.recoverFundsMany, { addressResolver })(...args),
|
|
1938
|
+
recoverNft: (...args) => mutate(walletClient, mutation.recoverNft, { addressResolver })(...args),
|
|
1939
|
+
claimLootForUser: (...args) => mutate(walletClient, mutation.claimLootForUser, { addressResolver })(...args),
|
|
1940
|
+
claimLootForManyUsers: (...args) => mutate(walletClient, mutation.claimLootForManyUsers, { addressResolver })(...args),
|
|
1941
|
+
adjustLoot: (...args) => mutate(walletClient, mutation.adjustLoot, { addressResolver })(...args),
|
|
1942
|
+
recoverDepositRewards: (...args) => mutate(walletClient, mutation.recoverDepositRewards, { addressResolver })(...args),
|
|
1943
|
+
updateDepositPoints: (...args) => mutate(walletClient, mutation.updateDepositPoints, { addressResolver })(...args),
|
|
1944
|
+
updateAssetData: (...args) => mutate(walletClient, mutation.updateAssetData, { addressResolver })(...args),
|
|
1945
|
+
updateAllAssetData: (...args) => mutate(walletClient, mutation.updateAllAssetData, { addressResolver })(...args),
|
|
1946
|
+
setEjectionMode: (...args) => mutate(walletClient, mutation.setEjectionMode, { addressResolver })(...args),
|
|
1947
|
+
executePendingAction: (...args) => mutate(walletClient, mutation.executePendingAction, { addressResolver })(...args),
|
|
1948
|
+
cancelPendingAction: (...args) => mutate(walletClient, mutation.cancelPendingAction, { addressResolver })(...args),
|
|
1827
1949
|
};
|
|
1828
1950
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AddressResolverFunction } from '@dappql/async';
|
|
2
|
+
import { ParseEventLogsReturnType, Log, RpcLog, PublicClient, WalletClient } from 'viem';
|
|
2
3
|
type ExtractArgs<T> = T extends (...args: infer P) => any ? P : never;
|
|
3
4
|
type Address = `0x${string}`;
|
|
4
5
|
export declare const abi: readonly [{
|
|
@@ -2826,9 +2827,257 @@ export declare const mutation: {
|
|
|
2826
2827
|
argsType: ExtractArgs<Contract['mutations'][K]> | undefined;
|
|
2827
2828
|
};
|
|
2828
2829
|
};
|
|
2830
|
+
export type ParsedEvent<T extends keyof Contract['events']> = {
|
|
2831
|
+
event: RpcLog | Log;
|
|
2832
|
+
parsed: ParseEventLogsReturnType<typeof abi, T>;
|
|
2833
|
+
};
|
|
2834
|
+
export declare function parseEvents<T extends keyof Contract['events']>(eventName: T, events: (RpcLog | Log)[]): ParsedEvent<T>[];
|
|
2835
|
+
export declare function getEventTopic<T extends keyof Contract['events']>(eventName: T): Address;
|
|
2829
2836
|
export type SDK = {
|
|
2830
2837
|
deployAddress: Address | undefined;
|
|
2831
2838
|
abi: typeof abi;
|
|
2839
|
+
events: {
|
|
2840
|
+
PendingRedemptionBufferChange: {
|
|
2841
|
+
topic: Address;
|
|
2842
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingRedemptionBufferChange'>[];
|
|
2843
|
+
};
|
|
2844
|
+
RedemptionBufferSet: {
|
|
2845
|
+
topic: Address;
|
|
2846
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'RedemptionBufferSet'>[];
|
|
2847
|
+
};
|
|
2848
|
+
PendingMinYieldWithdrawAmountChange: {
|
|
2849
|
+
topic: Address;
|
|
2850
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingMinYieldWithdrawAmountChange'>[];
|
|
2851
|
+
};
|
|
2852
|
+
MinYieldWithdrawAmountSet: {
|
|
2853
|
+
topic: Address;
|
|
2854
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'MinYieldWithdrawAmountSet'>[];
|
|
2855
|
+
};
|
|
2856
|
+
PendingSnapShotPriceConfigChange: {
|
|
2857
|
+
topic: Address;
|
|
2858
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingSnapShotPriceConfigChange'>[];
|
|
2859
|
+
};
|
|
2860
|
+
SnapShotPriceConfigSet: {
|
|
2861
|
+
topic: Address;
|
|
2862
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'SnapShotPriceConfigSet'>[];
|
|
2863
|
+
};
|
|
2864
|
+
PendingApprovedVaultTokenChange: {
|
|
2865
|
+
topic: Address;
|
|
2866
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingApprovedVaultTokenChange'>[];
|
|
2867
|
+
};
|
|
2868
|
+
ApprovedVaultTokenSet: {
|
|
2869
|
+
topic: Address;
|
|
2870
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'ApprovedVaultTokenSet'>[];
|
|
2871
|
+
};
|
|
2872
|
+
PendingApprovedVaultTokensChange: {
|
|
2873
|
+
topic: Address;
|
|
2874
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingApprovedVaultTokensChange'>[];
|
|
2875
|
+
};
|
|
2876
|
+
ApprovedVaultTokensSet: {
|
|
2877
|
+
topic: Address;
|
|
2878
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'ApprovedVaultTokensSet'>[];
|
|
2879
|
+
};
|
|
2880
|
+
PendingPerformanceFeeChange: {
|
|
2881
|
+
topic: Address;
|
|
2882
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingPerformanceFeeChange'>[];
|
|
2883
|
+
};
|
|
2884
|
+
PerformanceFeeSet: {
|
|
2885
|
+
topic: Address;
|
|
2886
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PerformanceFeeSet'>[];
|
|
2887
|
+
};
|
|
2888
|
+
PendingDefaultTargetVaultTokenChange: {
|
|
2889
|
+
topic: Address;
|
|
2890
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingDefaultTargetVaultTokenChange'>[];
|
|
2891
|
+
};
|
|
2892
|
+
DefaultTargetVaultTokenSet: {
|
|
2893
|
+
topic: Address;
|
|
2894
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'DefaultTargetVaultTokenSet'>[];
|
|
2895
|
+
};
|
|
2896
|
+
PendingMaxDepositAmountChange: {
|
|
2897
|
+
topic: Address;
|
|
2898
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingMaxDepositAmountChange'>[];
|
|
2899
|
+
};
|
|
2900
|
+
MaxDepositAmountSet: {
|
|
2901
|
+
topic: Address;
|
|
2902
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'MaxDepositAmountSet'>[];
|
|
2903
|
+
};
|
|
2904
|
+
PendingIsLeveragedVaultChange: {
|
|
2905
|
+
topic: Address;
|
|
2906
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingIsLeveragedVaultChange'>[];
|
|
2907
|
+
};
|
|
2908
|
+
IsLeveragedVaultSet: {
|
|
2909
|
+
topic: Address;
|
|
2910
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'IsLeveragedVaultSet'>[];
|
|
2911
|
+
};
|
|
2912
|
+
CanDepositSet: {
|
|
2913
|
+
topic: Address;
|
|
2914
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'CanDepositSet'>[];
|
|
2915
|
+
};
|
|
2916
|
+
CanWithdrawSet: {
|
|
2917
|
+
topic: Address;
|
|
2918
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'CanWithdrawSet'>[];
|
|
2919
|
+
};
|
|
2920
|
+
VaultOpsFrozenSet: {
|
|
2921
|
+
topic: Address;
|
|
2922
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'VaultOpsFrozenSet'>[];
|
|
2923
|
+
};
|
|
2924
|
+
ShouldAutoDepositSet: {
|
|
2925
|
+
topic: Address;
|
|
2926
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'ShouldAutoDepositSet'>[];
|
|
2927
|
+
};
|
|
2928
|
+
ShouldEnforceAllowlistSet: {
|
|
2929
|
+
topic: Address;
|
|
2930
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'ShouldEnforceAllowlistSet'>[];
|
|
2931
|
+
};
|
|
2932
|
+
AllowlistUserSet: {
|
|
2933
|
+
topic: Address;
|
|
2934
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'AllowlistUserSet'>[];
|
|
2935
|
+
};
|
|
2936
|
+
AllowlistBatchSet: {
|
|
2937
|
+
topic: Address;
|
|
2938
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'AllowlistBatchSet'>[];
|
|
2939
|
+
};
|
|
2940
|
+
PendingCollateralVaultChange: {
|
|
2941
|
+
topic: Address;
|
|
2942
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingCollateralVaultChange'>[];
|
|
2943
|
+
};
|
|
2944
|
+
CollateralVaultSet: {
|
|
2945
|
+
topic: Address;
|
|
2946
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'CollateralVaultSet'>[];
|
|
2947
|
+
};
|
|
2948
|
+
PendingLeverageVaultChange: {
|
|
2949
|
+
topic: Address;
|
|
2950
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingLeverageVaultChange'>[];
|
|
2951
|
+
};
|
|
2952
|
+
LeverageVaultSet: {
|
|
2953
|
+
topic: Address;
|
|
2954
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'LeverageVaultSet'>[];
|
|
2955
|
+
};
|
|
2956
|
+
PendingSlippagesChange: {
|
|
2957
|
+
topic: Address;
|
|
2958
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingSlippagesChange'>[];
|
|
2959
|
+
};
|
|
2960
|
+
SlippagesSet: {
|
|
2961
|
+
topic: Address;
|
|
2962
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'SlippagesSet'>[];
|
|
2963
|
+
};
|
|
2964
|
+
PendingLevgVaultHelperChange: {
|
|
2965
|
+
topic: Address;
|
|
2966
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingLevgVaultHelperChange'>[];
|
|
2967
|
+
};
|
|
2968
|
+
LevgVaultHelperSet: {
|
|
2969
|
+
topic: Address;
|
|
2970
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'LevgVaultHelperSet'>[];
|
|
2971
|
+
};
|
|
2972
|
+
PendingMaxDebtRatioChange: {
|
|
2973
|
+
topic: Address;
|
|
2974
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingMaxDebtRatioChange'>[];
|
|
2975
|
+
};
|
|
2976
|
+
MaxDebtRatioSet: {
|
|
2977
|
+
topic: Address;
|
|
2978
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'MaxDebtRatioSet'>[];
|
|
2979
|
+
};
|
|
2980
|
+
PendingAddManagerChange: {
|
|
2981
|
+
topic: Address;
|
|
2982
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingAddManagerChange'>[];
|
|
2983
|
+
};
|
|
2984
|
+
ManagerAdded: {
|
|
2985
|
+
topic: Address;
|
|
2986
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'ManagerAdded'>[];
|
|
2987
|
+
};
|
|
2988
|
+
PendingRemoveManagerChange: {
|
|
2989
|
+
topic: Address;
|
|
2990
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingRemoveManagerChange'>[];
|
|
2991
|
+
};
|
|
2992
|
+
ManagerRemoved: {
|
|
2993
|
+
topic: Address;
|
|
2994
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'ManagerRemoved'>[];
|
|
2995
|
+
};
|
|
2996
|
+
PriceSnapshotAdded: {
|
|
2997
|
+
topic: Address;
|
|
2998
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PriceSnapshotAdded'>[];
|
|
2999
|
+
};
|
|
3000
|
+
YieldPositionUpdated: {
|
|
3001
|
+
topic: Address;
|
|
3002
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'YieldPositionUpdated'>[];
|
|
3003
|
+
};
|
|
3004
|
+
PerformanceFeesClaimed: {
|
|
3005
|
+
topic: Address;
|
|
3006
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PerformanceFeesClaimed'>[];
|
|
3007
|
+
};
|
|
3008
|
+
PendingRegisterVaultTokenOnLegoChange: {
|
|
3009
|
+
topic: Address;
|
|
3010
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingRegisterVaultTokenOnLegoChange'>[];
|
|
3011
|
+
};
|
|
3012
|
+
VaultTokenRegisteredOnLego: {
|
|
3013
|
+
topic: Address;
|
|
3014
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'VaultTokenRegisteredOnLego'>[];
|
|
3015
|
+
};
|
|
3016
|
+
VaultTokenDeregisteredOnLego: {
|
|
3017
|
+
topic: Address;
|
|
3018
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'VaultTokenDeregisteredOnLego'>[];
|
|
3019
|
+
};
|
|
3020
|
+
PendingMorphoRewardsAddrChange: {
|
|
3021
|
+
topic: Address;
|
|
3022
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingMorphoRewardsAddrChange'>[];
|
|
3023
|
+
};
|
|
3024
|
+
MorphoRewardsAddrSet: {
|
|
3025
|
+
topic: Address;
|
|
3026
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'MorphoRewardsAddrSet'>[];
|
|
3027
|
+
};
|
|
3028
|
+
PendingEulerRewardsAddrChange: {
|
|
3029
|
+
topic: Address;
|
|
3030
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingEulerRewardsAddrChange'>[];
|
|
3031
|
+
};
|
|
3032
|
+
EulerRewardsAddrSet: {
|
|
3033
|
+
topic: Address;
|
|
3034
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'EulerRewardsAddrSet'>[];
|
|
3035
|
+
};
|
|
3036
|
+
PendingCompRewardsAddrChange: {
|
|
3037
|
+
topic: Address;
|
|
3038
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'PendingCompRewardsAddrChange'>[];
|
|
3039
|
+
};
|
|
3040
|
+
CompRewardsAddrSet: {
|
|
3041
|
+
topic: Address;
|
|
3042
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'CompRewardsAddrSet'>[];
|
|
3043
|
+
};
|
|
3044
|
+
LeftoversSwept: {
|
|
3045
|
+
topic: Address;
|
|
3046
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'LeftoversSwept'>[];
|
|
3047
|
+
};
|
|
3048
|
+
GovChangeTimeLockModified: {
|
|
3049
|
+
topic: Address;
|
|
3050
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'GovChangeTimeLockModified'>[];
|
|
3051
|
+
};
|
|
3052
|
+
ExpirationSet: {
|
|
3053
|
+
topic: Address;
|
|
3054
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'ExpirationSet'>[];
|
|
3055
|
+
};
|
|
3056
|
+
ActionTimeLockSet: {
|
|
3057
|
+
topic: Address;
|
|
3058
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'ActionTimeLockSet'>[];
|
|
3059
|
+
};
|
|
3060
|
+
GovChangeStarted: {
|
|
3061
|
+
topic: Address;
|
|
3062
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'GovChangeStarted'>[];
|
|
3063
|
+
};
|
|
3064
|
+
GovChangeConfirmed: {
|
|
3065
|
+
topic: Address;
|
|
3066
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'GovChangeConfirmed'>[];
|
|
3067
|
+
};
|
|
3068
|
+
GovChangeCancelled: {
|
|
3069
|
+
topic: Address;
|
|
3070
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'GovChangeCancelled'>[];
|
|
3071
|
+
};
|
|
3072
|
+
GovRelinquished: {
|
|
3073
|
+
topic: Address;
|
|
3074
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'GovRelinquished'>[];
|
|
3075
|
+
};
|
|
3076
|
+
UndyHqSetupFinished: {
|
|
3077
|
+
topic: Address;
|
|
3078
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'UndyHqSetupFinished'>[];
|
|
3079
|
+
};
|
|
3080
|
+
};
|
|
2832
3081
|
getAddys: (...args: ExtractArgs<Contract['calls']['getAddys']>) => Promise<CallReturn<'getAddys'>>;
|
|
2833
3082
|
getUndyHq: (...args: ExtractArgs<Contract['calls']['getUndyHq']>) => Promise<CallReturn<'getUndyHq'>>;
|
|
2834
3083
|
getUndyHqFromGov: (...args: ExtractArgs<Contract['calls']['getUndyHqFromGov']>) => Promise<CallReturn<'getUndyHqFromGov'>>;
|
|
@@ -2918,6 +3167,6 @@ export type SDK = {
|
|
|
2918
3167
|
executePendingAction: (...args: ExtractArgs<Contract['mutations']['executePendingAction']>) => Promise<Address>;
|
|
2919
3168
|
cancelPendingAction: (...args: ExtractArgs<Contract['mutations']['cancelPendingAction']>) => Promise<Address>;
|
|
2920
3169
|
};
|
|
2921
|
-
export declare function toSdk(publicClient?: PublicClient, walletClient?: WalletClient): SDK;
|
|
3170
|
+
export declare function toSdk(publicClient?: PublicClient, walletClient?: WalletClient, addressResolver?: AddressResolverFunction): SDK;
|
|
2922
3171
|
export {};
|
|
2923
3172
|
//# sourceMappingURL=SwitchboardCharlie.d.ts.map
|