tornado-contracts/dist/index.d.ts

208 lines
21 KiB
TypeScript
Raw Normal View History

2024-04-20 16:48:27 +03:00
import type * as openzeppelin from "./@openzeppelin";
export type { openzeppelin };
import type * as contracts from "./contracts";
export type { contracts };
export * as factories from "./factories";
export type { Ownable } from "./@openzeppelin/contracts-v3/access/Ownable";
export { Ownable__factory } from "./factories/@openzeppelin/contracts-v3/access/Ownable__factory";
export type { Proxy } from "./@openzeppelin/contracts-v3/proxy/Proxy";
export { Proxy__factory } from "./factories/@openzeppelin/contracts-v3/proxy/Proxy__factory";
export type { TransparentUpgradeableProxy } from "./@openzeppelin/contracts-v3/proxy/TransparentUpgradeableProxy";
export { TransparentUpgradeableProxy__factory } from "./factories/@openzeppelin/contracts-v3/proxy/TransparentUpgradeableProxy__factory";
export type { UpgradeableProxy } from "./@openzeppelin/contracts-v3/proxy/UpgradeableProxy";
export { UpgradeableProxy__factory } from "./factories/@openzeppelin/contracts-v3/proxy/UpgradeableProxy__factory";
export type { ERC20 } from "./@openzeppelin/contracts-v3/token/ERC20/ERC20";
export { ERC20__factory } from "./factories/@openzeppelin/contracts-v3/token/ERC20/ERC20__factory";
export type { ERC20Burnable } from "./@openzeppelin/contracts-v3/token/ERC20/ERC20Burnable";
export { ERC20Burnable__factory } from "./factories/@openzeppelin/contracts-v3/token/ERC20/ERC20Burnable__factory";
export type { IERC20 } from "./@openzeppelin/contracts-v3/token/ERC20/IERC20";
export { IERC20__factory } from "./factories/@openzeppelin/contracts-v3/token/ERC20/IERC20__factory";
export type { Pausable } from "./@openzeppelin/contracts-v3/utils/Pausable";
export { Pausable__factory } from "./factories/@openzeppelin/contracts-v3/utils/Pausable__factory";
export type { IERC1155Errors } from "./@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors";
export { IERC1155Errors__factory } from "./factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors__factory";
export type { IERC20Errors } from "./@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors";
export { IERC20Errors__factory } from "./factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors__factory";
export type { IERC721Errors } from "./@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors";
export { IERC721Errors__factory } from "./factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors__factory";
export type { IERC20Metadata } from "./@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata";
export { IERC20Metadata__factory } from "./factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory";
export type { CTornado } from "./contracts/Classic/CTornado";
export { CTornado__factory } from "./factories/contracts/Classic/CTornado__factory";
export type { Echoer } from "./contracts/Classic/Echoer";
export { Echoer__factory } from "./factories/contracts/Classic/Echoer__factory";
export type { ERC20Tornado } from "./contracts/Classic/ERC20Tornado";
export { ERC20Tornado__factory } from "./factories/contracts/Classic/ERC20Tornado__factory";
export type { ETHTornado } from "./contracts/Classic/ETHTornado";
export { ETHTornado__factory } from "./factories/contracts/Classic/ETHTornado__factory";
export type { IHasher } from "./contracts/Classic/MerkleTreeWithHistory.sol/IHasher";
export { IHasher__factory } from "./factories/contracts/Classic/MerkleTreeWithHistory.sol/IHasher__factory";
export type { MerkleTreeWithHistory } from "./contracts/Classic/MerkleTreeWithHistory.sol/MerkleTreeWithHistory";
export { MerkleTreeWithHistory__factory } from "./factories/contracts/Classic/MerkleTreeWithHistory.sol/MerkleTreeWithHistory__factory";
export type { BadRecipient } from "./contracts/Classic/Mocks/BadRecipient";
export { BadRecipient__factory } from "./factories/contracts/Classic/Mocks/BadRecipient__factory";
export type { ERC20Mock } from "./contracts/Classic/Mocks/ERC20Mock";
export { ERC20Mock__factory } from "./factories/contracts/Classic/Mocks/ERC20Mock__factory";
export type { IDeployer } from "./contracts/Classic/Mocks/IDeployer";
export { IDeployer__factory } from "./factories/contracts/Classic/Mocks/IDeployer__factory";
export type { ERC20Basic } from "./contracts/Classic/Mocks/IUSDT.sol/ERC20Basic";
export { ERC20Basic__factory } from "./factories/contracts/Classic/Mocks/IUSDT.sol/ERC20Basic__factory";
export type { IUSDT } from "./contracts/Classic/Mocks/IUSDT.sol/IUSDT";
export { IUSDT__factory } from "./factories/contracts/Classic/Mocks/IUSDT.sol/IUSDT__factory";
export type { MerkleTreeWithHistoryMock } from "./contracts/Classic/Mocks/MerkleTreeWithHistoryMock";
export { MerkleTreeWithHistoryMock__factory } from "./factories/contracts/Classic/Mocks/MerkleTreeWithHistoryMock__factory";
export type { IVerifier } from "./contracts/Classic/Tornado.sol/IVerifier";
export { IVerifier__factory } from "./factories/contracts/Classic/Tornado.sol/IVerifier__factory";
export type { Tornado } from "./contracts/Classic/Tornado.sol/Tornado";
export { Tornado__factory } from "./factories/contracts/Classic/Tornado.sol/Tornado__factory";
export type { ITornadoInstance } from "./contracts/Classic/TornadoProxyLight.sol/ITornadoInstance";
export { ITornadoInstance__factory } from "./factories/contracts/Classic/TornadoProxyLight.sol/ITornadoInstance__factory";
export type { TornadoProxyLight } from "./contracts/Classic/TornadoProxyLight.sol/TornadoProxyLight";
export { TornadoProxyLight__factory } from "./factories/contracts/Classic/TornadoProxyLight.sol/TornadoProxyLight__factory";
export type { Verifier } from "./contracts/Classic/Verifier";
export { Verifier__factory } from "./factories/contracts/Classic/Verifier__factory";
export type { AdminUpgradeableProxy } from "./contracts/Governance/AdminUpgradeableProxy";
export { AdminUpgradeableProxy__factory } from "./factories/contracts/Governance/AdminUpgradeableProxy__factory";
export type { Aggregator } from "./contracts/Governance/Aggregator/Aggregator";
export { Aggregator__factory } from "./factories/contracts/Governance/Aggregator/Aggregator__factory";
export type { GovernanceAggregator } from "./contracts/Governance/Aggregator/GovernanceAggregator";
export { GovernanceAggregator__factory } from "./factories/contracts/Governance/Aggregator/GovernanceAggregator__factory";
export type { IENSRegistry } from "./contracts/Governance/Aggregator/RelayerAggregator.sol/IENSRegistry";
export { IENSRegistry__factory } from "./factories/contracts/Governance/Aggregator/RelayerAggregator.sol/IENSRegistry__factory";
export type { IENSResolver } from "./contracts/Governance/Aggregator/RelayerAggregator.sol/IENSResolver";
export { IENSResolver__factory } from "./factories/contracts/Governance/Aggregator/RelayerAggregator.sol/IENSResolver__factory";
export type { IRelayerRegistry } from "./contracts/Governance/Aggregator/RelayerAggregator.sol/IRelayerRegistry";
export { IRelayerRegistry__factory } from "./factories/contracts/Governance/Aggregator/RelayerAggregator.sol/IRelayerRegistry__factory";
export type { RelayerAggregator } from "./contracts/Governance/Aggregator/RelayerAggregator.sol/RelayerAggregator";
export { RelayerAggregator__factory } from "./factories/contracts/Governance/Aggregator/RelayerAggregator.sol/RelayerAggregator__factory";
export type { Deployer } from "./contracts/Governance/Deployer.sol/Deployer";
export { Deployer__factory } from "./factories/contracts/Governance/Deployer.sol/Deployer__factory";
export type { FeeManager } from "./contracts/Governance/FeeManager";
export { FeeManager__factory } from "./factories/contracts/Governance/FeeManager__factory";
export type { GasCompensationVault } from "./contracts/Governance/GasCompensationVault";
export { GasCompensationVault__factory } from "./factories/contracts/Governance/GasCompensationVault__factory";
export type { InstanceRegistry } from "./contracts/Governance/InstanceRegistry.sol/InstanceRegistry";
export { InstanceRegistry__factory } from "./factories/contracts/Governance/InstanceRegistry.sol/InstanceRegistry__factory";
export type { ITornadoRouter } from "./contracts/Governance/InstanceRegistry.sol/ITornadoRouter";
export { ITornadoRouter__factory } from "./factories/contracts/Governance/InstanceRegistry.sol/ITornadoRouter__factory";
export type { IERC20Decimals } from "./contracts/Governance/libraries/UniswapV3OracleHelper.sol/IERC20Decimals";
export { IERC20Decimals__factory } from "./factories/contracts/Governance/libraries/UniswapV3OracleHelper.sol/IERC20Decimals__factory";
export type { LoopbackProxy } from "./contracts/Governance/LoopbackProxy";
export { LoopbackProxy__factory } from "./factories/contracts/Governance/LoopbackProxy__factory";
export type { IENS } from "./contracts/Governance/RelayerRegistry.sol/IENS";
export { IENS__factory } from "./factories/contracts/Governance/RelayerRegistry.sol/IENS__factory";
export type { IFeeManager } from "./contracts/Governance/RelayerRegistry.sol/IFeeManager";
export { IFeeManager__factory } from "./factories/contracts/Governance/RelayerRegistry.sol/IFeeManager__factory";
export type { RelayerRegistry } from "./contracts/Governance/RelayerRegistry.sol/RelayerRegistry";
export { RelayerRegistry__factory } from "./factories/contracts/Governance/RelayerRegistry.sol/RelayerRegistry__factory";
export type { TestnetAdminProxy } from "./contracts/Governance/Testnet/TestnetAdminProxy";
export { TestnetAdminProxy__factory } from "./factories/contracts/Governance/Testnet/TestnetAdminProxy__factory";
export type { TestnetFeeManager } from "./contracts/Governance/Testnet/TestnetFeeManager";
export { TestnetFeeManager__factory } from "./factories/contracts/Governance/Testnet/TestnetFeeManager__factory";
export type { TestnetGovernanceProxy } from "./contracts/Governance/Testnet/TestnetGovernanceProxy";
export { TestnetGovernanceProxy__factory } from "./factories/contracts/Governance/Testnet/TestnetGovernanceProxy__factory";
export type { Airdrop } from "./contracts/Governance/TORN/Airdrop";
export { Airdrop__factory } from "./factories/contracts/Governance/TORN/Airdrop__factory";
export type { ENS } from "./contracts/Governance/TORN/ENS.sol/ENS";
export { ENS__factory } from "./factories/contracts/Governance/TORN/ENS.sol/ENS__factory";
export type { EnsResolve } from "./contracts/Governance/TORN/ENS.sol/EnsResolve";
export { EnsResolve__factory } from "./factories/contracts/Governance/TORN/ENS.sol/EnsResolve__factory";
export type { Resolver } from "./contracts/Governance/TORN/ENS.sol/Resolver";
export { Resolver__factory } from "./factories/contracts/Governance/TORN/ENS.sol/Resolver__factory";
export type { ERC20Permit } from "./contracts/Governance/TORN/ERC20Permit";
export { ERC20Permit__factory } from "./factories/contracts/Governance/TORN/ERC20Permit__factory";
export type { AirdropMock } from "./contracts/Governance/TORN/mocks/AirdropMock";
export { AirdropMock__factory } from "./factories/contracts/Governance/TORN/mocks/AirdropMock__factory";
export type { ENSMock } from "./contracts/Governance/TORN/mocks/ENSMock";
export { ENSMock__factory } from "./factories/contracts/Governance/TORN/mocks/ENSMock__factory";
export type { Timestamp } from "./contracts/Governance/TORN/mocks/Timestamp";
export { Timestamp__factory } from "./factories/contracts/Governance/TORN/mocks/Timestamp__factory";
export type { TORNMock } from "./contracts/Governance/TORN/mocks/TORNMock";
export { TORNMock__factory } from "./factories/contracts/Governance/TORN/mocks/TORNMock__factory";
export type { VestingMock } from "./contracts/Governance/TORN/mocks/VestingMock";
export { VestingMock__factory } from "./factories/contracts/Governance/TORN/mocks/VestingMock__factory";
export type { VoucherMock } from "./contracts/Governance/TORN/mocks/VoucherMock";
export { VoucherMock__factory } from "./factories/contracts/Governance/TORN/mocks/VoucherMock__factory";
export type { TORN } from "./contracts/Governance/TORN/TORN";
export { TORN__factory } from "./factories/contracts/Governance/TORN/TORN__factory";
export type { Vesting } from "./contracts/Governance/TORN/Vesting";
export { Vesting__factory } from "./factories/contracts/Governance/TORN/Vesting__factory";
export type { Voucher } from "./contracts/Governance/TORN/Voucher";
export { Voucher__factory } from "./factories/contracts/Governance/TORN/Voucher__factory";
export type { TornadoRouter } from "./contracts/Governance/TornadoRouter";
export { TornadoRouter__factory } from "./factories/contracts/Governance/TornadoRouter__factory";
export type { ITornadoGovernance } from "./contracts/Governance/TornadoStakingRewards.sol/ITornadoGovernance";
export { ITornadoGovernance__factory } from "./factories/contracts/Governance/TornadoStakingRewards.sol/ITornadoGovernance__factory";
export type { ITornadoVault } from "./contracts/Governance/TornadoStakingRewards.sol/ITornadoVault";
export { ITornadoVault__factory } from "./factories/contracts/Governance/TornadoStakingRewards.sol/ITornadoVault__factory";
export type { TornadoStakingRewards } from "./contracts/Governance/TornadoStakingRewards.sol/TornadoStakingRewards";
export { TornadoStakingRewards__factory } from "./factories/contracts/Governance/TornadoStakingRewards.sol/TornadoStakingRewards__factory";
export type { TornadoVault } from "./contracts/Governance/TornadoVault";
export { TornadoVault__factory } from "./factories/contracts/Governance/TornadoVault__factory";
export type { IUniswapV3Factory } from "./contracts/Governance/Uniswap/v3-core/contracts/interfaces/IUniswapV3Factory";
export { IUniswapV3Factory__factory } from "./factories/contracts/Governance/Uniswap/v3-core/contracts/interfaces/IUniswapV3Factory__factory";
export type { IUniswapV3Pool } from "./contracts/Governance/Uniswap/v3-core/contracts/interfaces/IUniswapV3Pool";
export { IUniswapV3Pool__factory } from "./factories/contracts/Governance/Uniswap/v3-core/contracts/interfaces/IUniswapV3Pool__factory";
export type { IUniswapV3PoolActions } from "./contracts/Governance/Uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolActions";
export { IUniswapV3PoolActions__factory } from "./factories/contracts/Governance/Uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolActions__factory";
export type { IUniswapV3PoolDerivedState } from "./contracts/Governance/Uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolDerivedState";
export { IUniswapV3PoolDerivedState__factory } from "./factories/contracts/Governance/Uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolDerivedState__factory";
export type { IUniswapV3PoolEvents } from "./contracts/Governance/Uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolEvents";
export { IUniswapV3PoolEvents__factory } from "./factories/contracts/Governance/Uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolEvents__factory";
export type { IUniswapV3PoolImmutables } from "./contracts/Governance/Uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolImmutables";
export { IUniswapV3PoolImmutables__factory } from "./factories/contracts/Governance/Uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolImmutables__factory";
export type { IUniswapV3PoolOwnerActions } from "./contracts/Governance/Uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolOwnerActions";
export { IUniswapV3PoolOwnerActions__factory } from "./factories/contracts/Governance/Uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolOwnerActions__factory";
export type { IUniswapV3PoolState } from "./contracts/Governance/Uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolState";
export { IUniswapV3PoolState__factory } from "./factories/contracts/Governance/Uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolState__factory";
export type { Configuration } from "./contracts/Governance/v1/Configuration";
export { Configuration__factory } from "./factories/contracts/Governance/v1/Configuration__factory";
export type { Core } from "./contracts/Governance/v1/Core";
export { Core__factory } from "./factories/contracts/Governance/v1/Core__factory";
export type { Delegation } from "./contracts/Governance/v1/Delegation";
export { Delegation__factory } from "./factories/contracts/Governance/v1/Delegation__factory";
export type { Governance } from "./contracts/Governance/v1/Governance";
export { Governance__factory } from "./factories/contracts/Governance/v1/Governance__factory";
export type { Dummy } from "./contracts/Governance/v1/Mocks/Dummy.sol/Dummy";
export { Dummy__factory } from "./factories/contracts/Governance/v1/Mocks/Dummy.sol/Dummy__factory";
export type { DummySecond } from "./contracts/Governance/v1/Mocks/Dummy.sol/DummySecond";
export { DummySecond__factory } from "./factories/contracts/Governance/v1/Mocks/Dummy.sol/DummySecond__factory";
export type { MockGovernance } from "./contracts/Governance/v1/Mocks/MockGovernance";
export { MockGovernance__factory } from "./factories/contracts/Governance/v1/Mocks/MockGovernance__factory";
export type { Proposal } from "./contracts/Governance/v1/Mocks/Proposal";
export { Proposal__factory } from "./factories/contracts/Governance/v1/Mocks/Proposal__factory";
export type { IGovernance } from "./contracts/Governance/v1/Mocks/ProposalStateChangeGovernance.sol/IGovernance";
export { IGovernance__factory } from "./factories/contracts/Governance/v1/Mocks/ProposalStateChangeGovernance.sol/IGovernance__factory";
export type { ProposalStateChangeGovernance } from "./contracts/Governance/v1/Mocks/ProposalStateChangeGovernance.sol/ProposalStateChangeGovernance";
export { ProposalStateChangeGovernance__factory } from "./factories/contracts/Governance/v1/Mocks/ProposalStateChangeGovernance.sol/ProposalStateChangeGovernance__factory";
export type { IProxy } from "./contracts/Governance/v1/Mocks/ProposalUpgrade.sol/IProxy";
export { IProxy__factory } from "./factories/contracts/Governance/v1/Mocks/ProposalUpgrade.sol/IProxy__factory";
export type { NewImplementation } from "./contracts/Governance/v1/Mocks/ProposalUpgrade.sol/NewImplementation";
export { NewImplementation__factory } from "./factories/contracts/Governance/v1/Mocks/ProposalUpgrade.sol/NewImplementation__factory";
export type { ProposalUpgrade } from "./contracts/Governance/v1/Mocks/ProposalUpgrade.sol/ProposalUpgrade";
export { ProposalUpgrade__factory } from "./factories/contracts/Governance/v1/Mocks/ProposalUpgrade.sol/ProposalUpgrade__factory";
export type { GasCompensator } from "./contracts/Governance/v2-vault-and-gas/GasCompensator.sol/GasCompensator";
export { GasCompensator__factory } from "./factories/contracts/Governance/v2-vault-and-gas/GasCompensator.sol/GasCompensator__factory";
export type { IGasCompensationVault } from "./contracts/Governance/v2-vault-and-gas/GasCompensator.sol/IGasCompensationVault";
export { IGasCompensationVault__factory } from "./factories/contracts/Governance/v2-vault-and-gas/GasCompensator.sol/IGasCompensationVault__factory";
export type { GovernanceGasUpgrade } from "./contracts/Governance/v2-vault-and-gas/GovernanceGasUpgrade";
export { GovernanceGasUpgrade__factory } from "./factories/contracts/Governance/v2-vault-and-gas/GovernanceGasUpgrade__factory";
export type { GovernanceVaultUpgrade } from "./contracts/Governance/v2-vault-and-gas/GovernanceVaultUpgrade";
export { GovernanceVaultUpgrade__factory } from "./factories/contracts/Governance/v2-vault-and-gas/GovernanceVaultUpgrade__factory";
export type { GovernanceStakingUpgrade } from "./contracts/Governance/v3-relayer-registry/GovernanceStakingUpgrade";
export { GovernanceStakingUpgrade__factory } from "./factories/contracts/Governance/v3-relayer-registry/GovernanceStakingUpgrade__factory";
export type { ITornadoStakingRewards } from "./contracts/Governance/v3-relayer-registry/interfaces/ITornadoStakingRewards";
export { ITornadoStakingRewards__factory } from "./factories/contracts/Governance/v3-relayer-registry/interfaces/ITornadoStakingRewards__factory";
export type { GovernanceExploitPatchUpgrade } from "./contracts/Governance/v4-exploit-patch/GovernanceExploitPatchUpgrade";
export { GovernanceExploitPatchUpgrade__factory } from "./factories/contracts/Governance/v4-exploit-patch/GovernanceExploitPatchUpgrade__factory";
export type { IMetamorphicContractFactory } from "./contracts/Governance/v4-exploit-patch/metamorphic/IMetamorphicContractFactory";
export { IMetamorphicContractFactory__factory } from "./factories/contracts/Governance/v4-exploit-patch/metamorphic/IMetamorphicContractFactory__factory";
export type { InitialProposal } from "./contracts/Governance/v4-exploit-patch/mock/MockProposals.sol/InitialProposal";
export { InitialProposal__factory } from "./factories/contracts/Governance/v4-exploit-patch/mock/MockProposals.sol/InitialProposal__factory";
export type { MaliciousProposal } from "./contracts/Governance/v4-exploit-patch/mock/MockProposals.sol/MaliciousProposal";
export { MaliciousProposal__factory } from "./factories/contracts/Governance/v4-exploit-patch/mock/MockProposals.sol/MaliciousProposal__factory";
export type { PatchProposal } from "./contracts/Governance/v4-exploit-patch/PatchProposal";
export { PatchProposal__factory } from "./factories/contracts/Governance/v4-exploit-patch/PatchProposal__factory";
export type { GovernanceProposalStateUpgrade } from "./contracts/Governance/v5-proposal-state-patch/GovernanceProposalStateUpgrade";
export { GovernanceProposalStateUpgrade__factory } from "./factories/contracts/Governance/v5-proposal-state-patch/GovernanceProposalStateUpgrade__factory";