diff --git a/packages/contracts/wagmi.config.ts b/packages/contracts/wagmi.config.ts index f2477b5a..52822814 100644 --- a/packages/contracts/wagmi.config.ts +++ b/packages/contracts/wagmi.config.ts @@ -12,7 +12,7 @@ export default defineConfig({ Sale: { 1: "0x85b34Aa54fdf8242e4656eA50b711F45340925bC", 31337: "0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0", - 11155111: "0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD", + 11155111: "0x7409dfa77bf9974a3e205eacb2b35bb2cff39154", }, }, }), diff --git a/packages/web-app/wagmi.generated.ts b/packages/web-app/wagmi.generated.ts index 2eed725f..bfbf0736 100644 --- a/packages/web-app/wagmi.generated.ts +++ b/packages/web-app/wagmi.generated.ts @@ -5769,7 +5769,7 @@ export const ctzndSafeErc20Abi = [ /** * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ export const ctzndSaleAbi = [ { @@ -6365,7 +6365,7 @@ export const ctzndSaleAbi = [ }, { type: 'error', inputs: [], name: 'FailedInnerCall' }, { type: 'error', inputs: [], name: 'InvalidLeaf' }, - { type: 'error', inputs: [], name: 'MaxTargetReached' }, + { type: 'error', inputs: [], name: 'MaxContributorsReached' }, { type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' }, { type: 'error', @@ -6377,18 +6377,18 @@ export const ctzndSaleAbi = [ /** * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ export const ctzndSaleAddress = { 1: '0x85b34Aa54fdf8242e4656eA50b711F45340925bC', 31337: '0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0', - 11155111: '0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD', + 11155111: '0x7409Dfa77Bf9974a3e205eAcB2B35Bb2CFf39154', } as const /** * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ export const ctzndSaleConfig = { address: ctzndSaleAddress, @@ -6396,10 +6396,10 @@ export const ctzndSaleConfig = { } as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// CtzndSaleTest +// CtzndSaleMaxTargetNotReachedTest ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -export const ctzndSaleTestAbi = [ +export const ctzndSaleMaxTargetNotReachedTestAbi = [ { type: 'function', inputs: [], @@ -6553,57 +6553,16 @@ export const ctzndSaleTestAbi = [ { type: 'function', inputs: [], - name: 'test_InitialContribution', + name: 'test_AllocationAfterMaxTargetReached', outputs: [], stateMutability: 'nonpayable', }, { - type: 'event', - anonymous: false, - inputs: [ - { name: 'to', internalType: 'address', type: 'address', indexed: true }, - { - name: 'tokenAmount', - internalType: 'uint256', - type: 'uint256', - indexed: false, - }, - ], - name: 'Claim', - }, - { - type: 'event', - anonymous: false, - inputs: [ - { name: 'from', internalType: 'address', type: 'address', indexed: true }, - { - name: 'paymentTokenAmount', - internalType: 'uint256', - type: 'uint256', - indexed: false, - }, - { - name: 'tokenAmount', - internalType: 'uint256', - type: 'uint256', - indexed: false, - }, - ], - name: 'Purchase', - }, - { - type: 'event', - anonymous: false, - inputs: [ - { name: 'to', internalType: 'address', type: 'address', indexed: true }, - { - name: 'paymentTokenAmount', - internalType: 'uint256', - type: 'uint256', - indexed: false, - }, - ], - name: 'Refund', + type: 'function', + inputs: [], + name: 'test_BuyRevertsWhenMaxTargetReached', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'event', @@ -6837,438 +6796,181 @@ export const ctzndSaleTestAbi = [ ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// CtzndScript +// CtzndSaleMaxTargetReachedTest ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -export const ctzndScriptAbi = [ +export const ctzndSaleMaxTargetReachedTestAbi = [ { type: 'function', inputs: [], - name: 'IS_SCRIPT', + name: 'IS_TEST', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], stateMutability: 'view', }, -] as const - -////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// CtzndStakersPool -////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - -export const ctzndStakersPoolAbi = [ - { - type: 'constructor', - inputs: [ - { name: '_saleSupply', internalType: 'uint256', type: 'uint256' }, - { name: '_investmentToken', internalType: 'address', type: 'address' }, - ], - stateMutability: 'nonpayable', - }, { type: 'function', inputs: [], - name: 'CAP_VALIDATION_GAS_LIMIT', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [{ name: '_to', internalType: 'address', type: 'address' }], - name: 'allocation', - outputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }], + name: 'excludeArtifacts', + outputs: [ + { + name: 'excludedArtifacts_', + internalType: 'string[]', + type: 'string[]', + }, + ], stateMutability: 'view', }, { type: 'function', inputs: [], - name: 'individualCap', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [ - { name: '_investor', internalType: 'address', type: 'address' }, - { name: '_amount', internalType: 'uint256', type: 'uint256' }, + name: 'excludeContracts', + outputs: [ + { + name: 'excludedContracts_', + internalType: 'address[]', + type: 'address[]', + }, ], - name: 'invest', - outputs: [], - stateMutability: 'nonpayable', - }, - { - type: 'function', - inputs: [], - name: 'investmentToken', - outputs: [{ name: '', internalType: 'address', type: 'address' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [{ name: 'i', internalType: 'uint256', type: 'uint256' }], - name: 'investorAmountAt', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], stateMutability: 'view', }, { type: 'function', inputs: [], - name: 'investorCount', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + name: 'excludeSenders', + outputs: [ + { + name: 'excludedSenders_', + internalType: 'address[]', + type: 'address[]', + }, + ], stateMutability: 'view', }, { type: 'function', inputs: [], - name: 'project', - outputs: [{ name: '', internalType: 'address', type: 'address' }], - stateMutability: 'view', + name: 'failed', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [{ name: '_to', internalType: 'address', type: 'address' }], - name: 'refund', + inputs: [], + name: 'setUp', outputs: [], stateMutability: 'nonpayable', }, - { - type: 'function', - inputs: [{ name: '_to', internalType: 'address', type: 'address' }], - name: 'refundableAmount', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', - }, { type: 'function', inputs: [], - name: 'risingTideCache', + name: 'targetArtifactSelectors', outputs: [ - { name: 'index', internalType: 'uint256', type: 'uint256' }, - { name: 'sumForCap', internalType: 'uint256', type: 'uint256' }, - { name: 'sumForNextCap', internalType: 'uint256', type: 'uint256' }, - { name: 'largest', internalType: 'uint256', type: 'uint256' }, + { + name: 'targetedArtifactSelectors_', + internalType: 'struct StdInvariant.FuzzSelector[]', + type: 'tuple[]', + components: [ + { name: 'addr', internalType: 'address', type: 'address' }, + { name: 'selectors', internalType: 'bytes4[]', type: 'bytes4[]' }, + ], + }, ], stateMutability: 'view', }, { type: 'function', inputs: [], - name: 'risingTideState', + name: 'targetArtifacts', outputs: [ { - name: '', - internalType: 'enum RisingTide.RisingTideState', - type: 'uint8', + name: 'targetedArtifacts_', + internalType: 'string[]', + type: 'string[]', }, ], stateMutability: 'view', }, { type: 'function', - inputs: [{ name: '_amount', internalType: 'uint256', type: 'uint256' }], - name: 'risingTide_applyCap', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + inputs: [], + name: 'targetContracts', + outputs: [ + { + name: 'targetedContracts_', + internalType: 'address[]', + type: 'address[]', + }, + ], stateMutability: 'view', }, { type: 'function', inputs: [], - name: 'risingTide_isValidCap', - outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + name: 'targetInterfaces', + outputs: [ + { + name: 'targetedInterfaces_', + internalType: 'struct StdInvariant.FuzzInterface[]', + type: 'tuple[]', + components: [ + { name: 'addr', internalType: 'address', type: 'address' }, + { name: 'artifacts', internalType: 'string[]', type: 'string[]' }, + ], + }, + ], stateMutability: 'view', }, { type: 'function', inputs: [], - name: 'risingTide_totalAllocatedUncapped', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + name: 'targetSelectors', + outputs: [ + { + name: 'targetedSelectors_', + internalType: 'struct StdInvariant.FuzzSelector[]', + type: 'tuple[]', + components: [ + { name: 'addr', internalType: 'address', type: 'address' }, + { name: 'selectors', internalType: 'bytes4[]', type: 'bytes4[]' }, + ], + }, + ], stateMutability: 'view', }, { type: 'function', inputs: [], - name: 'risingTide_totalCap', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + name: 'targetSenders', + outputs: [ + { + name: 'targetedSenders_', + internalType: 'address[]', + type: 'address[]', + }, + ], stateMutability: 'view', }, { type: 'function', inputs: [], - name: 'risingTide_validate', + name: 'test_AllocationAfterMaxTargetReached', outputs: [], stateMutability: 'nonpayable', }, { type: 'function', inputs: [], - name: 'risingTide_validating', - outputs: [{ name: '', internalType: 'bool', type: 'bool' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [], - name: 'saleSupply', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [{ name: '_cap', internalType: 'uint256', type: 'uint256' }], - name: 'setIndividualCap', + name: 'test_BuyRevertsWhenMaxTargetReached', outputs: [], stateMutability: 'nonpayable', }, { - type: 'function', - inputs: [], - name: 'totalUncappedAllocations', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [{ name: '_to', internalType: 'address', type: 'address' }], - name: 'uncappedAllocation', - outputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', - }, - { - type: 'event', - anonymous: false, - inputs: [ - { name: 'to', internalType: 'address', type: 'address', indexed: true }, - { - name: 'paymentTokenAmount', - internalType: 'uint256', - type: 'uint256', - indexed: false, - }, - ], - name: 'Refund', - }, - { - type: 'error', - inputs: [{ name: 'target', internalType: 'address', type: 'address' }], - name: 'AddressEmptyCode', - }, - { - type: 'error', - inputs: [{ name: 'account', internalType: 'address', type: 'address' }], - name: 'AddressInsufficientBalance', - }, - { type: 'error', inputs: [], name: 'FailedInnerCall' }, - { - type: 'error', - inputs: [{ name: 'token', internalType: 'address', type: 'address' }], - name: 'SafeERC20FailedOperation', - }, -] as const - -////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// CtzndStaking -////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - -export const ctzndStakingAbi = [ - { - type: 'constructor', - inputs: [{ name: '_token', internalType: 'address', type: 'address' }], - stateMutability: 'nonpayable', - }, - { - type: 'function', - inputs: [], - name: 'UNBONDING_PERIOD', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [{ name: '_account', internalType: 'address', type: 'address' }], - name: 'hasStaked', - outputs: [{ name: '', internalType: 'bool', type: 'bool' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }], - name: 'rebond', - outputs: [], - stateMutability: 'nonpayable', - }, - { - type: 'function', - inputs: [{ name: '_amount', internalType: 'uint256', type: 'uint256' }], - name: 'stake', - outputs: [], - stateMutability: 'nonpayable', - }, - { - type: 'function', - inputs: [{ name: '', internalType: 'address', type: 'address' }], - name: 'stakes', - outputs: [ - { name: 'total', internalType: 'uint256', type: 'uint256' }, - { name: 'bonded', internalType: 'uint256', type: 'uint256' }, - ], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [], - name: 'token', - outputs: [{ name: '', internalType: 'address', type: 'address' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }], - name: 'unbond', - outputs: [], - stateMutability: 'nonpayable', - }, - { - type: 'function', - inputs: [{ name: '', internalType: 'address', type: 'address' }], - name: 'unbondings', - outputs: [ - { name: 'first', internalType: 'uint128', type: 'uint128' }, - { name: 'next', internalType: 'uint128', type: 'uint128' }, - ], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [], - name: 'withdraw', - outputs: [], - stateMutability: 'nonpayable', - }, - { - type: 'function', - inputs: [{ name: '_account', internalType: 'address', type: 'address' }], - name: 'withdrawable', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', - }, - { - type: 'event', - anonymous: false, - inputs: [ - { - name: 'staker', - internalType: 'address', - type: 'address', - indexed: true, - }, - { - name: 'amount', - internalType: 'uint256', - type: 'uint256', - indexed: false, - }, - ], - name: 'Rebond', - }, - { - type: 'event', - anonymous: false, - inputs: [ - { - name: 'staker', - internalType: 'address', - type: 'address', - indexed: true, - }, - { - name: 'amount', - internalType: 'uint256', - type: 'uint256', - indexed: false, - }, - ], - name: 'StakeFunds', - }, - { - type: 'event', - anonymous: false, - inputs: [ - { - name: 'staker', - internalType: 'address', - type: 'address', - indexed: true, - }, - { - name: 'amount', - internalType: 'uint256', - type: 'uint256', - indexed: false, - }, - ], - name: 'Unbond', - }, - { - type: 'event', - anonymous: false, - inputs: [ - { - name: 'staker', - internalType: 'address', - type: 'address', - indexed: true, - }, - { - name: 'amount', - internalType: 'uint256', - type: 'uint256', - indexed: false, - }, - ], - name: 'Withdrawal', - }, - { - type: 'error', - inputs: [{ name: 'target', internalType: 'address', type: 'address' }], - name: 'AddressEmptyCode', - }, - { - type: 'error', - inputs: [{ name: 'account', internalType: 'address', type: 'address' }], - name: 'AddressInsufficientBalance', - }, - { type: 'error', inputs: [], name: 'FailedInnerCall' }, - { - type: 'error', - inputs: [{ name: 'token', internalType: 'address', type: 'address' }], - name: 'SafeERC20FailedOperation', - }, -] as const - -////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// CtzndStdAssertions -////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - -export const ctzndStdAssertionsAbi = [ - { - type: 'function', - inputs: [], - name: 'IS_TEST', - outputs: [{ name: '', internalType: 'bool', type: 'bool' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [], - name: 'failed', - outputs: [{ name: '', internalType: 'bool', type: 'bool' }], - stateMutability: 'nonpayable', - }, - { - type: 'event', - anonymous: false, - inputs: [ - { name: '', internalType: 'string', type: 'string', indexed: false }, - ], - name: 'log', + type: 'event', + anonymous: false, + inputs: [ + { name: '', internalType: 'string', type: 'string', indexed: false }, + ], + name: 'log', }, { type: 'event', @@ -7494,146 +7196,31 @@ export const ctzndStdAssertionsAbi = [ ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// CtzndStdInvariant +// CtzndSaleMinTargetNotReachedDevDeployScript ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -export const ctzndStdInvariantAbi = [ +export const ctzndSaleMinTargetNotReachedDevDeployScriptAbi = [ { type: 'function', inputs: [], - name: 'excludeArtifacts', - outputs: [ - { - name: 'excludedArtifacts_', - internalType: 'string[]', - type: 'string[]', - }, - ], + name: 'IS_SCRIPT', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], stateMutability: 'view', }, { type: 'function', inputs: [], - name: 'excludeContracts', - outputs: [ - { - name: 'excludedContracts_', - internalType: 'address[]', - type: 'address[]', - }, - ], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [], - name: 'excludeSenders', - outputs: [ - { - name: 'excludedSenders_', - internalType: 'address[]', - type: 'address[]', - }, - ], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [], - name: 'targetArtifactSelectors', - outputs: [ - { - name: 'targetedArtifactSelectors_', - internalType: 'struct StdInvariant.FuzzSelector[]', - type: 'tuple[]', - components: [ - { name: 'addr', internalType: 'address', type: 'address' }, - { name: 'selectors', internalType: 'bytes4[]', type: 'bytes4[]' }, - ], - }, - ], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [], - name: 'targetArtifacts', - outputs: [ - { - name: 'targetedArtifacts_', - internalType: 'string[]', - type: 'string[]', - }, - ], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [], - name: 'targetContracts', - outputs: [ - { - name: 'targetedContracts_', - internalType: 'address[]', - type: 'address[]', - }, - ], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [], - name: 'targetInterfaces', - outputs: [ - { - name: 'targetedInterfaces_', - internalType: 'struct StdInvariant.FuzzInterface[]', - type: 'tuple[]', - components: [ - { name: 'addr', internalType: 'address', type: 'address' }, - { name: 'artifacts', internalType: 'string[]', type: 'string[]' }, - ], - }, - ], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [], - name: 'targetSelectors', - outputs: [ - { - name: 'targetedSelectors_', - internalType: 'struct StdInvariant.FuzzSelector[]', - type: 'tuple[]', - components: [ - { name: 'addr', internalType: 'address', type: 'address' }, - { name: 'selectors', internalType: 'bytes4[]', type: 'bytes4[]' }, - ], - }, - ], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [], - name: 'targetSenders', - outputs: [ - { - name: 'targetedSenders_', - internalType: 'address[]', - type: 'address[]', - }, - ], - stateMutability: 'view', + name: 'run', + outputs: [], + stateMutability: 'nonpayable', }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// CtzndTest +// CtzndSaleMinTargetNotReachedTest ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -export const ctzndTestAbi = [ +export const ctzndSaleMinTargetNotReachedTestAbi = [ { type: 'function', inputs: [], @@ -7687,6 +7274,13 @@ export const ctzndTestAbi = [ outputs: [{ name: '', internalType: 'bool', type: 'bool' }], stateMutability: 'nonpayable', }, + { + type: 'function', + inputs: [], + name: 'setUp', + outputs: [], + stateMutability: 'nonpayable', + }, { type: 'function', inputs: [], @@ -7777,6 +7371,20 @@ export const ctzndTestAbi = [ ], stateMutability: 'view', }, + { + type: 'function', + inputs: [], + name: 'test_AllocationWhenMinTargetReached', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [], + name: 'test_RefundsWhenMinTargetNotReached', + outputs: [], + stateMutability: 'nonpayable', + }, { type: 'event', anonymous: false, @@ -8009,185 +7617,200 @@ export const ctzndTestAbi = [ ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// CtzndTestPool +// CtzndSaleTest ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -export const ctzndTestPoolAbi = [ - { - type: 'constructor', - inputs: [ - { name: '_saleSupply', internalType: 'uint256', type: 'uint256' }, - { name: '_investmentToken', internalType: 'address', type: 'address' }, - ], - stateMutability: 'nonpayable', - }, +export const ctzndSaleTestAbi = [ { type: 'function', inputs: [], - name: 'CAP_VALIDATION_GAS_LIMIT', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [{ name: '_to', internalType: 'address', type: 'address' }], - name: 'allocation', - outputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }], + name: 'IS_TEST', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], stateMutability: 'view', }, { type: 'function', inputs: [], - name: 'individualCap', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [ - { name: '_investor', internalType: 'address', type: 'address' }, - { name: '_amount', internalType: 'uint256', type: 'uint256' }, + name: 'excludeArtifacts', + outputs: [ + { + name: 'excludedArtifacts_', + internalType: 'string[]', + type: 'string[]', + }, ], - name: 'invest', - outputs: [], - stateMutability: 'nonpayable', - }, - { - type: 'function', - inputs: [], - name: 'investmentToken', - outputs: [{ name: '', internalType: 'address', type: 'address' }], stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'i', internalType: 'uint256', type: 'uint256' }], - name: 'investorAmountAt', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + inputs: [], + name: 'excludeContracts', + outputs: [ + { + name: 'excludedContracts_', + internalType: 'address[]', + type: 'address[]', + }, + ], stateMutability: 'view', }, { type: 'function', inputs: [], - name: 'investorCount', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + name: 'excludeSenders', + outputs: [ + { + name: 'excludedSenders_', + internalType: 'address[]', + type: 'address[]', + }, + ], stateMutability: 'view', }, { type: 'function', inputs: [], - name: 'project', - outputs: [{ name: '', internalType: 'address', type: 'address' }], - stateMutability: 'view', + name: 'failed', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [{ name: '_to', internalType: 'address', type: 'address' }], - name: 'refund', + inputs: [], + name: 'setUp', outputs: [], stateMutability: 'nonpayable', }, - { - type: 'function', - inputs: [{ name: '_to', internalType: 'address', type: 'address' }], - name: 'refundableAmount', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', - }, { type: 'function', inputs: [], - name: 'risingTideCache', + name: 'targetArtifactSelectors', outputs: [ - { name: 'index', internalType: 'uint256', type: 'uint256' }, - { name: 'sumForCap', internalType: 'uint256', type: 'uint256' }, - { name: 'sumForNextCap', internalType: 'uint256', type: 'uint256' }, - { name: 'largest', internalType: 'uint256', type: 'uint256' }, + { + name: 'targetedArtifactSelectors_', + internalType: 'struct StdInvariant.FuzzSelector[]', + type: 'tuple[]', + components: [ + { name: 'addr', internalType: 'address', type: 'address' }, + { name: 'selectors', internalType: 'bytes4[]', type: 'bytes4[]' }, + ], + }, ], stateMutability: 'view', }, { type: 'function', inputs: [], - name: 'risingTideState', + name: 'targetArtifacts', outputs: [ { - name: '', - internalType: 'enum RisingTide.RisingTideState', - type: 'uint8', + name: 'targetedArtifacts_', + internalType: 'string[]', + type: 'string[]', }, ], stateMutability: 'view', }, { type: 'function', - inputs: [{ name: '_amount', internalType: 'uint256', type: 'uint256' }], - name: 'risingTide_applyCap', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + inputs: [], + name: 'targetContracts', + outputs: [ + { + name: 'targetedContracts_', + internalType: 'address[]', + type: 'address[]', + }, + ], stateMutability: 'view', }, { type: 'function', inputs: [], - name: 'risingTide_isValidCap', - outputs: [{ name: '', internalType: 'bool', type: 'bool' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [], - name: 'risingTide_totalAllocatedUncapped', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + name: 'targetInterfaces', + outputs: [ + { + name: 'targetedInterfaces_', + internalType: 'struct StdInvariant.FuzzInterface[]', + type: 'tuple[]', + components: [ + { name: 'addr', internalType: 'address', type: 'address' }, + { name: 'artifacts', internalType: 'string[]', type: 'string[]' }, + ], + }, + ], stateMutability: 'view', }, { type: 'function', inputs: [], - name: 'risingTide_totalCap', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + name: 'targetSelectors', + outputs: [ + { + name: 'targetedSelectors_', + internalType: 'struct StdInvariant.FuzzSelector[]', + type: 'tuple[]', + components: [ + { name: 'addr', internalType: 'address', type: 'address' }, + { name: 'selectors', internalType: 'bytes4[]', type: 'bytes4[]' }, + ], + }, + ], stateMutability: 'view', }, { type: 'function', inputs: [], - name: 'risingTide_validate', - outputs: [], - stateMutability: 'nonpayable', - }, - { - type: 'function', - inputs: [], - name: 'risingTide_validating', - outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + name: 'targetSenders', + outputs: [ + { + name: 'targetedSenders_', + internalType: 'address[]', + type: 'address[]', + }, + ], stateMutability: 'view', }, { type: 'function', inputs: [], - name: 'saleSupply', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [{ name: '_cap', internalType: 'uint256', type: 'uint256' }], - name: 'setIndividualCap', + name: 'test_InitialContribution', outputs: [], stateMutability: 'nonpayable', }, { - type: 'function', - inputs: [], - name: 'totalUncappedAllocations', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', + type: 'event', + anonymous: false, + inputs: [ + { name: 'to', internalType: 'address', type: 'address', indexed: true }, + { + name: 'tokenAmount', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, + ], + name: 'Claim', }, { - type: 'function', - inputs: [{ name: '_to', internalType: 'address', type: 'address' }], - name: 'uncappedAllocation', - outputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', + type: 'event', + anonymous: false, + inputs: [ + { name: 'from', internalType: 'address', type: 'address', indexed: true }, + { + name: 'paymentTokenAmount', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, + { + name: 'tokenAmount', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, + ], + name: 'Purchase', }, { type: 'event', @@ -8204,238 +7827,260 @@ export const ctzndTestPoolAbi = [ name: 'Refund', }, { - type: 'error', - inputs: [{ name: 'target', internalType: 'address', type: 'address' }], - name: 'AddressEmptyCode', + type: 'event', + anonymous: false, + inputs: [ + { name: '', internalType: 'string', type: 'string', indexed: false }, + ], + name: 'log', }, { - type: 'error', - inputs: [{ name: 'account', internalType: 'address', type: 'address' }], - name: 'AddressInsufficientBalance', + type: 'event', + anonymous: false, + inputs: [ + { name: '', internalType: 'address', type: 'address', indexed: false }, + ], + name: 'log_address', }, - { type: 'error', inputs: [], name: 'FailedInnerCall' }, { - type: 'error', - inputs: [{ name: 'token', internalType: 'address', type: 'address' }], - name: 'SafeERC20FailedOperation', + type: 'event', + anonymous: false, + inputs: [ + { + name: 'val', + internalType: 'uint256[]', + type: 'uint256[]', + indexed: false, + }, + ], + name: 'log_array', }, -] as const - -////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// CtzndTestProjectVoting -////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - -export const ctzndTestProjectVotingAbi = [ { - type: 'constructor', + type: 'event', + anonymous: false, inputs: [ { - name: '_votingPeriod', - internalType: 'struct ICommon.Period', - type: 'tuple', - components: [ - { name: 'start', internalType: 'uint256', type: 'uint256' }, - { name: 'end', internalType: 'uint256', type: 'uint256' }, - ], + name: 'val', + internalType: 'int256[]', + type: 'int256[]', + indexed: false, }, - { name: '_projects', internalType: 'address[]', type: 'address[]' }, - { name: '_numSlots', internalType: 'uint256', type: 'uint256' }, ], - stateMutability: 'nonpayable', + name: 'log_array', }, { - type: 'function', - inputs: [], - name: 'numSlots', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', + type: 'event', + anonymous: false, + inputs: [ + { + name: 'val', + internalType: 'address[]', + type: 'address[]', + indexed: false, + }, + ], + name: 'log_array', }, { - type: 'function', - inputs: [{ name: '', internalType: 'address', type: 'address' }], - name: 'projectToVotesIndex', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', + type: 'event', + anonymous: false, + inputs: [ + { name: '', internalType: 'bytes', type: 'bytes', indexed: false }, + ], + name: 'log_bytes', }, { - type: 'function', - inputs: [{ name: '', internalType: 'address', type: 'address' }], - name: 'projectVoteCount', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', + type: 'event', + anonymous: false, + inputs: [ + { name: '', internalType: 'bytes32', type: 'bytes32', indexed: false }, + ], + name: 'log_bytes32', }, { - type: 'function', - inputs: [], - name: 'projectVoting_finalBonus', - outputs: [{ name: '', internalType: 'int256', type: 'int256' }], - stateMutability: 'pure', + type: 'event', + anonymous: false, + inputs: [ + { name: '', internalType: 'int256', type: 'int256', indexed: false }, + ], + name: 'log_int', }, { - type: 'function', - inputs: [], - name: 'projectVoting_initialBonus', - outputs: [{ name: '', internalType: 'int256', type: 'int256' }], - stateMutability: 'pure', + type: 'event', + anonymous: false, + inputs: [ + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { name: 'val', internalType: 'address', type: 'address', indexed: false }, + ], + name: 'log_named_address', }, { - type: 'function', - inputs: [], - name: 'projectVoting_projects', - outputs: [{ name: '', internalType: 'address[]', type: 'address[]' }], - stateMutability: 'view', + type: 'event', + anonymous: false, + inputs: [ + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { + name: 'val', + internalType: 'uint256[]', + type: 'uint256[]', + indexed: false, + }, + ], + name: 'log_named_array', }, { - type: 'function', - inputs: [], - name: 'projectVoting_singleSlotDuration', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', + type: 'event', + anonymous: false, + inputs: [ + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { + name: 'val', + internalType: 'int256[]', + type: 'int256[]', + indexed: false, + }, + ], + name: 'log_named_array', }, { - type: 'function', - inputs: [], - name: 'projectVoting_voteLimitPerUser', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [], - name: 'projectVoting_votingPeriod', - outputs: [ + type: 'event', + anonymous: false, + inputs: [ + { name: 'key', internalType: 'string', type: 'string', indexed: false }, { - name: '', - internalType: 'struct ICommon.Period', - type: 'tuple', - components: [ - { name: 'start', internalType: 'uint256', type: 'uint256' }, - { name: 'end', internalType: 'uint256', type: 'uint256' }, - ], + name: 'val', + internalType: 'address[]', + type: 'address[]', + indexed: false, }, ], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - name: 'projects', - outputs: [{ name: '', internalType: 'address', type: 'address' }], - stateMutability: 'view', + name: 'log_named_array', }, { - type: 'function', - inputs: [{ name: 'currentTime', internalType: 'uint256', type: 'uint256' }], - name: 'test_calculateWeightedVote', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', + type: 'event', + anonymous: false, + inputs: [ + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { name: 'val', internalType: 'bytes', type: 'bytes', indexed: false }, + ], + name: 'log_named_bytes', }, { - type: 'function', - inputs: [], - name: 'test_getWinners', - outputs: [{ name: '', internalType: 'address[]', type: 'address[]' }], - stateMutability: 'view', + type: 'event', + anonymous: false, + inputs: [ + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { name: 'val', internalType: 'bytes32', type: 'bytes32', indexed: false }, + ], + name: 'log_named_bytes32', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { name: 'val', internalType: 'int256', type: 'int256', indexed: false }, { - name: 'votes', - internalType: 'struct ProjectVoting.SortableVote[]', - type: 'tuple[]', - components: [ - { name: 'originalIndex', internalType: 'uint256', type: 'uint256' }, - { name: 'count', internalType: 'uint256', type: 'uint256' }, - ], + name: 'decimals', + internalType: 'uint256', + type: 'uint256', + indexed: false, }, ], - name: 'test_sortVotes', - outputs: [ + name: 'log_named_decimal_int', + }, + { + type: 'event', + anonymous: false, + inputs: [ + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { name: 'val', internalType: 'uint256', type: 'uint256', indexed: false }, { - name: '', - internalType: 'struct ProjectVoting.SortableVote[]', - type: 'tuple[]', - components: [ - { name: 'originalIndex', internalType: 'uint256', type: 'uint256' }, - { name: 'count', internalType: 'uint256', type: 'uint256' }, - ], + name: 'decimals', + internalType: 'uint256', + type: 'uint256', + indexed: false, }, ], - stateMutability: 'view', + name: 'log_named_decimal_uint', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'projectAddress', internalType: 'address', type: 'address' }, + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { name: 'val', internalType: 'int256', type: 'int256', indexed: false }, ], - name: 'test_vote', - outputs: [], - stateMutability: 'nonpayable', + name: 'log_named_int', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: '', internalType: 'address', type: 'address' }, - { name: '', internalType: 'address', type: 'address' }, + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { name: 'val', internalType: 'string', type: 'string', indexed: false }, ], - name: 'userHasVotedForProject', - outputs: [{ name: '', internalType: 'bool', type: 'bool' }], - stateMutability: 'view', + name: 'log_named_string', }, { - type: 'function', - inputs: [{ name: '', internalType: 'address', type: 'address' }], - name: 'userVoteCount', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', + type: 'event', + anonymous: false, + inputs: [ + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { name: 'val', internalType: 'uint256', type: 'uint256', indexed: false }, + ], + name: 'log_named_uint', }, { - type: 'function', - inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - name: 'votes', - outputs: [{ name: '', internalType: 'uint32', type: 'uint32' }], - stateMutability: 'view', + type: 'event', + anonymous: false, + inputs: [ + { name: '', internalType: 'string', type: 'string', indexed: false }, + ], + name: 'log_string', }, { - type: 'function', - inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - name: 'votesIndexToProject', - outputs: [{ name: '', internalType: 'address', type: 'address' }], - stateMutability: 'view', + type: 'event', + anonymous: false, + inputs: [ + { name: '', internalType: 'uint256', type: 'uint256', indexed: false }, + ], + name: 'log_uint', }, { - type: 'function', - inputs: [], - name: 'votingPeriod', - outputs: [ - { name: 'start', internalType: 'uint256', type: 'uint256' }, - { name: 'end', internalType: 'uint256', type: 'uint256' }, + type: 'event', + anonymous: false, + inputs: [ + { name: '', internalType: 'bytes', type: 'bytes', indexed: false }, ], - stateMutability: 'view', + name: 'logs', }, +] as const + +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// CtzndScript +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +export const ctzndScriptAbi = [ { type: 'function', - inputs: [{ name: '', internalType: 'address', type: 'address' }], - name: 'weightedProjectVoteCount', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + inputs: [], + name: 'IS_SCRIPT', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], stateMutability: 'view', }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// CtzndTestRisingTideWithCustomAmounts +// CtzndStakersPool ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -export const ctzndTestRisingTideWithCustomAmountsAbi = [ +export const ctzndStakersPoolAbi = [ { type: 'constructor', inputs: [ - { - name: '__maxTotalInvestment', - internalType: 'uint256', - type: 'uint256', - }, + { name: '_saleSupply', internalType: 'uint256', type: 'uint256' }, + { name: '_investmentToken', internalType: 'address', type: 'address' }, ], stateMutability: 'nonpayable', }, @@ -8446,6 +8091,13 @@ export const ctzndTestRisingTideWithCustomAmountsAbi = [ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], stateMutability: 'view', }, + { + type: 'function', + inputs: [{ name: '_to', internalType: 'address', type: 'address' }], + name: 'allocation', + outputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', + }, { type: 'function', inputs: [], @@ -8453,6 +8105,23 @@ export const ctzndTestRisingTideWithCustomAmountsAbi = [ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], stateMutability: 'view', }, + { + type: 'function', + inputs: [ + { name: '_investor', internalType: 'address', type: 'address' }, + { name: '_amount', internalType: 'uint256', type: 'uint256' }, + ], + name: 'invest', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [], + name: 'investmentToken', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', + }, { type: 'function', inputs: [{ name: 'i', internalType: 'uint256', type: 'uint256' }], @@ -8467,6 +8136,27 @@ export const ctzndTestRisingTideWithCustomAmountsAbi = [ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], stateMutability: 'view', }, + { + type: 'function', + inputs: [], + name: 'project', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: '_to', internalType: 'address', type: 'address' }], + name: 'refund', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: '_to', internalType: 'address', type: 'address' }], + name: 'refundableAmount', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', + }, { type: 'function', inputs: [], @@ -8534,2557 +8224,2294 @@ export const ctzndTestRisingTideWithCustomAmountsAbi = [ outputs: [{ name: '', internalType: 'bool', type: 'bool' }], stateMutability: 'view', }, + { + type: 'function', + inputs: [], + name: 'saleSupply', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', + }, { type: 'function', inputs: [{ name: '_cap', internalType: 'uint256', type: 'uint256' }], - name: 'setCap', + name: 'setIndividualCap', outputs: [], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [ - { name: 'i', internalType: 'uint256', type: 'uint256' }, - { name: 'amount', internalType: 'uint256', type: 'uint256' }, - ], - name: 'test_invest', - outputs: [], - stateMutability: 'nonpayable', - }, -] as const - -////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// CtzndTestRisingTideWithStaticAmounts -////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - -export const ctzndTestRisingTideWithStaticAmountsAbi = [ - { - type: 'constructor', - inputs: [ - { name: '_totalInvestors', internalType: 'uint256', type: 'uint256' }, - { name: '_amountPerInvestor', internalType: 'uint256', type: 'uint256' }, - { name: '__totalAvailable', internalType: 'uint256', type: 'uint256' }, - ], - stateMutability: 'nonpayable', - }, - { - type: 'function', - inputs: [], - name: 'CAP_VALIDATION_GAS_LIMIT', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [], - name: 'individualCap', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [{ name: 'i', internalType: 'uint256', type: 'uint256' }], - name: 'investorAmountAt', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [], - name: 'investorCount', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', + inputs: [], + name: 'totalUncappedAllocations', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [], - name: 'risingTideCache', - outputs: [ - { name: 'index', internalType: 'uint256', type: 'uint256' }, - { name: 'sumForCap', internalType: 'uint256', type: 'uint256' }, - { name: 'sumForNextCap', internalType: 'uint256', type: 'uint256' }, - { name: 'largest', internalType: 'uint256', type: 'uint256' }, - ], + inputs: [{ name: '_to', internalType: 'address', type: 'address' }], + name: 'uncappedAllocation', + outputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }], stateMutability: 'view', }, { - type: 'function', - inputs: [], - name: 'risingTideState', - outputs: [ + type: 'event', + anonymous: false, + inputs: [ + { name: 'to', internalType: 'address', type: 'address', indexed: true }, { - name: '', - internalType: 'enum RisingTide.RisingTideState', - type: 'uint8', + name: 'paymentTokenAmount', + internalType: 'uint256', + type: 'uint256', + indexed: false, }, ], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [{ name: '_amount', internalType: 'uint256', type: 'uint256' }], - name: 'risingTide_applyCap', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [], - name: 'risingTide_isValidCap', - outputs: [{ name: '', internalType: 'bool', type: 'bool' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [], - name: 'risingTide_totalAllocatedUncapped', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [], - name: 'risingTide_totalCap', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', + name: 'Refund', }, { - type: 'function', - inputs: [], - name: 'risingTide_validate', - outputs: [], - stateMutability: 'nonpayable', + type: 'error', + inputs: [{ name: 'target', internalType: 'address', type: 'address' }], + name: 'AddressEmptyCode', }, { - type: 'function', - inputs: [], - name: 'risingTide_validating', - outputs: [{ name: '', internalType: 'bool', type: 'bool' }], - stateMutability: 'view', + type: 'error', + inputs: [{ name: 'account', internalType: 'address', type: 'address' }], + name: 'AddressInsufficientBalance', }, + { type: 'error', inputs: [], name: 'FailedInnerCall' }, { - type: 'function', - inputs: [{ name: '_cap', internalType: 'uint256', type: 'uint256' }], - name: 'setCap', - outputs: [], - stateMutability: 'nonpayable', + type: 'error', + inputs: [{ name: 'token', internalType: 'address', type: 'address' }], + name: 'SafeERC20FailedOperation', }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// CtzndVesting +// CtzndStaking ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -export const ctzndVestingAbi = [ +export const ctzndStakingAbi = [ { type: 'constructor', - inputs: [ - { - name: '_publicSaleVestingMonths', - internalType: 'uint256', - type: 'uint256', - }, - { name: '_token', internalType: 'address', type: 'address' }, - { name: '_sales', internalType: 'address[]', type: 'address[]' }, - { name: '_privateSaleCap', internalType: 'uint256', type: 'uint256' }, - ], + inputs: [{ name: '_token', internalType: 'address', type: 'address' }], stateMutability: 'nonpayable', }, { type: 'function', inputs: [], - name: 'DEFAULT_ADMIN_ROLE', - outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [], - name: 'PRIVATE_SALE_MAX_CLIFF_MONTHS', + name: 'UNBONDING_PERIOD', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], stateMutability: 'view', }, { type: 'function', - inputs: [], - name: 'SALE_MANAGER_ROLE', - outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], + inputs: [{ name: '_account', internalType: 'address', type: 'address' }], + name: 'hasStaked', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], stateMutability: 'view', }, { type: 'function', - inputs: [{ name: '_sale', internalType: 'address', type: 'address' }], - name: 'addSale', + inputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }], + name: 'rebond', outputs: [], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [{ name: 'to', internalType: 'address', type: 'address' }], - name: 'claim', + inputs: [{ name: '_amount', internalType: 'uint256', type: 'uint256' }], + name: 'stake', outputs: [], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [{ name: 'to', internalType: 'address', type: 'address' }], - name: 'claimable', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + inputs: [{ name: '', internalType: 'address', type: 'address' }], + name: 'stakes', + outputs: [ + { name: 'total', internalType: 'uint256', type: 'uint256' }, + { name: 'bonded', internalType: 'uint256', type: 'uint256' }, + ], stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'to', internalType: 'address', type: 'address' }], - name: 'claimablePrivate', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + inputs: [], + name: 'token', + outputs: [{ name: '', internalType: 'address', type: 'address' }], stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'to', internalType: 'address', type: 'address' }], - name: 'claimablePublic', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', + inputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }], + name: 'unbond', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', inputs: [{ name: '', internalType: 'address', type: 'address' }], - name: 'claimed', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + name: 'unbondings', + outputs: [ + { name: 'first', internalType: 'uint128', type: 'uint128' }, + { name: 'next', internalType: 'uint128', type: 'uint128' }, + ], stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'to', internalType: 'address', type: 'address' }, - { name: 'amount', internalType: 'uint256', type: 'uint256' }, - { name: 'cliffMonths', internalType: 'uint16', type: 'uint16' }, - { name: 'vestingMonths', internalType: 'uint16', type: 'uint16' }, - { name: 'nonce', internalType: 'uint64', type: 'uint64' }, - ], - name: 'createPrivateSaleVest', + inputs: [], + name: 'withdraw', outputs: [], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [{ name: 'role', internalType: 'bytes32', type: 'bytes32' }], - name: 'getRoleAdmin', - outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], + inputs: [{ name: '_account', internalType: 'address', type: 'address' }], + name: 'withdrawable', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], stateMutability: 'view', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'role', internalType: 'bytes32', type: 'bytes32' }, - { name: 'account', internalType: 'address', type: 'address' }, + { + name: 'staker', + internalType: 'address', + type: 'address', + indexed: true, + }, + { + name: 'amount', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: 'grantRole', - outputs: [], - stateMutability: 'nonpayable', + name: 'Rebond', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'role', internalType: 'bytes32', type: 'bytes32' }, - { name: 'account', internalType: 'address', type: 'address' }, - ], - name: 'hasRole', - outputs: [{ name: '', internalType: 'bool', type: 'bool' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [{ name: '', internalType: 'address', type: 'address' }], - name: 'privateAllocations', - outputs: [ - { name: 'amount', internalType: 'uint256', type: 'uint256' }, - { name: 'claimedAmount', internalType: 'uint256', type: 'uint256' }, - { name: 'cliffMonths', internalType: 'uint256', type: 'uint256' }, - { name: 'vestingMonths', internalType: 'uint256', type: 'uint256' }, + { + name: 'staker', + internalType: 'address', + type: 'address', + indexed: true, + }, + { + name: 'amount', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - stateMutability: 'view', + name: 'StakeFunds', }, { - type: 'function', - inputs: [], - name: 'privateSaleCap', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [], - name: 'publicSaleCliffMonths', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [], - name: 'publicSaleVestingMonths', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [{ name: 'to', internalType: 'address', type: 'address' }], - name: 'refund', - outputs: [], - stateMutability: 'nonpayable', - }, - { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'role', internalType: 'bytes32', type: 'bytes32' }, - { name: 'callerConfirmation', internalType: 'address', type: 'address' }, + { + name: 'staker', + internalType: 'address', + type: 'address', + indexed: true, + }, + { + name: 'amount', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: 'renounceRole', - outputs: [], - stateMutability: 'nonpayable', + name: 'Unbond', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'role', internalType: 'bytes32', type: 'bytes32' }, - { name: 'account', internalType: 'address', type: 'address' }, + { + name: 'staker', + internalType: 'address', + type: 'address', + indexed: true, + }, + { + name: 'amount', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: 'revokeRole', - outputs: [], - stateMutability: 'nonpayable', + name: 'Withdrawal', }, { - type: 'function', - inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - name: 'sales', - outputs: [{ name: '', internalType: 'address', type: 'address' }], - stateMutability: 'view', + type: 'error', + inputs: [{ name: 'target', internalType: 'address', type: 'address' }], + name: 'AddressEmptyCode', }, { - type: 'function', - inputs: [{ name: '_startTime', internalType: 'uint256', type: 'uint256' }], - name: 'setStartTime', - outputs: [], - stateMutability: 'nonpayable', + type: 'error', + inputs: [{ name: 'account', internalType: 'address', type: 'address' }], + name: 'AddressInsufficientBalance', }, + { type: 'error', inputs: [], name: 'FailedInnerCall' }, { - type: 'function', - inputs: [], - name: 'startTime', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', + type: 'error', + inputs: [{ name: 'token', internalType: 'address', type: 'address' }], + name: 'SafeERC20FailedOperation', }, +] as const + +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// CtzndStdAssertions +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +export const ctzndStdAssertionsAbi = [ { type: 'function', - inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }], - name: 'supportsInterface', + inputs: [], + name: 'IS_TEST', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], stateMutability: 'view', }, { type: 'function', inputs: [], - name: 'token', - outputs: [{ name: '', internalType: 'address', type: 'address' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [{ name: 'to', internalType: 'address', type: 'address' }], - name: 'totalAllocated', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [{ name: 'to', internalType: 'address', type: 'address' }], - name: 'totalAllocatedPrivate', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [{ name: 'to', internalType: 'address', type: 'address' }], - name: 'totalAllocatedPublic', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', + name: 'failed', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'nonpayable', }, { - type: 'function', - inputs: [], - name: 'totalPrivateSales', - outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', + type: 'event', + anonymous: false, + inputs: [ + { name: '', internalType: 'string', type: 'string', indexed: false }, + ], + name: 'log', }, { - type: 'function', - inputs: [{ name: '', internalType: 'uint64', type: 'uint64' }], - name: 'usedNonces', - outputs: [{ name: '', internalType: 'bool', type: 'bool' }], - stateMutability: 'view', + type: 'event', + anonymous: false, + inputs: [ + { name: '', internalType: 'address', type: 'address', indexed: false }, + ], + name: 'log_address', }, { type: 'event', anonymous: false, inputs: [ { - name: 'saleContract', - internalType: 'address', - type: 'address', - indexed: true, + name: 'val', + internalType: 'uint256[]', + type: 'uint256[]', + indexed: false, }, ], - name: 'AddSale', + name: 'log_array', }, { type: 'event', anonymous: false, inputs: [ - { name: 'to', internalType: 'address', type: 'address', indexed: true }, { - name: 'amount', - internalType: 'uint256', - type: 'uint256', + name: 'val', + internalType: 'int256[]', + type: 'int256[]', indexed: false, }, ], - name: 'ClaimVesting', + name: 'log_array', }, { type: 'event', anonymous: false, inputs: [ - { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true }, - { - name: 'previousAdminRole', - internalType: 'bytes32', - type: 'bytes32', - indexed: true, - }, { - name: 'newAdminRole', - internalType: 'bytes32', - type: 'bytes32', - indexed: true, + name: 'val', + internalType: 'address[]', + type: 'address[]', + indexed: false, }, ], - name: 'RoleAdminChanged', + name: 'log_array', }, { type: 'event', anonymous: false, inputs: [ - { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true }, - { - name: 'account', - internalType: 'address', - type: 'address', - indexed: true, - }, - { - name: 'sender', - internalType: 'address', - type: 'address', - indexed: true, - }, + { name: '', internalType: 'bytes', type: 'bytes', indexed: false }, ], - name: 'RoleGranted', + name: 'log_bytes', }, { type: 'event', anonymous: false, inputs: [ - { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true }, - { - name: 'account', - internalType: 'address', - type: 'address', - indexed: true, - }, - { - name: 'sender', - internalType: 'address', - type: 'address', - indexed: true, - }, + { name: '', internalType: 'bytes32', type: 'bytes32', indexed: false }, ], - name: 'RoleRevoked', + name: 'log_bytes32', }, - { type: 'error', inputs: [], name: 'AccessControlBadConfirmation' }, { - type: 'error', + type: 'event', + anonymous: false, inputs: [ - { name: 'account', internalType: 'address', type: 'address' }, - { name: 'neededRole', internalType: 'bytes32', type: 'bytes32' }, + { name: '', internalType: 'int256', type: 'int256', indexed: false }, ], - name: 'AccessControlUnauthorizedAccount', + name: 'log_int', }, - { type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' }, -] as const - -////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// CtzndVm -////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - -export const ctzndVmAbi = [ { - type: 'function', - inputs: [{ name: 'target', internalType: 'address', type: 'address' }], - name: 'accesses', - outputs: [ - { name: 'readSlots', internalType: 'bytes32[]', type: 'bytes32[]' }, - { name: 'writeSlots', internalType: 'bytes32[]', type: 'bytes32[]' }, + type: 'event', + anonymous: false, + inputs: [ + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { name: 'val', internalType: 'address', type: 'address', indexed: false }, ], - stateMutability: 'nonpayable', + name: 'log_named_address', }, { - type: 'function', - inputs: [], - name: 'activeFork', - outputs: [{ name: 'forkId', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], - name: 'addr', - outputs: [{ name: 'keyAddr', internalType: 'address', type: 'address' }], - stateMutability: 'pure', - }, - { - type: 'function', - inputs: [{ name: 'account', internalType: 'address', type: 'address' }], - name: 'allowCheatcodes', - outputs: [], - stateMutability: 'nonpayable', - }, - { - type: 'function', - inputs: [{ name: 'condition', internalType: 'bool', type: 'bool' }], - name: 'assume', - outputs: [], - stateMutability: 'pure', - }, - { - type: 'function', - inputs: [{ name: 'char', internalType: 'string', type: 'string' }], - name: 'breakpoint', - outputs: [], - stateMutability: 'nonpayable', - }, - { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'char', internalType: 'string', type: 'string' }, - { name: 'value', internalType: 'bool', type: 'bool' }, + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { + name: 'val', + internalType: 'uint256[]', + type: 'uint256[]', + indexed: false, + }, ], - name: 'breakpoint', - outputs: [], - stateMutability: 'nonpayable', - }, - { - type: 'function', - inputs: [], - name: 'broadcast', - outputs: [], - stateMutability: 'nonpayable', - }, - { - type: 'function', - inputs: [{ name: 'signer', internalType: 'address', type: 'address' }], - name: 'broadcast', - outputs: [], - stateMutability: 'nonpayable', - }, - { - type: 'function', - inputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], - name: 'broadcast', - outputs: [], - stateMutability: 'nonpayable', - }, - { - type: 'function', - inputs: [{ name: 'newChainId', internalType: 'uint256', type: 'uint256' }], - name: 'chainId', - outputs: [], - stateMutability: 'nonpayable', - }, - { - type: 'function', - inputs: [], - name: 'clearMockedCalls', - outputs: [], - stateMutability: 'nonpayable', - }, - { - type: 'function', - inputs: [{ name: 'path', internalType: 'string', type: 'string' }], - name: 'closeFile', - outputs: [], - stateMutability: 'nonpayable', + name: 'log_named_array', }, { - type: 'function', - inputs: [{ name: 'newCoinbase', internalType: 'address', type: 'address' }], - name: 'coinbase', - outputs: [], - stateMutability: 'nonpayable', + type: 'event', + anonymous: false, + inputs: [ + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { + name: 'val', + internalType: 'int256[]', + type: 'int256[]', + indexed: false, + }, + ], + name: 'log_named_array', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'salt', internalType: 'bytes32', type: 'bytes32' }, - { name: 'initCodeHash', internalType: 'bytes32', type: 'bytes32' }, + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { + name: 'val', + internalType: 'address[]', + type: 'address[]', + indexed: false, + }, ], - name: 'computeCreate2Address', - outputs: [{ name: '', internalType: 'address', type: 'address' }], - stateMutability: 'pure', + name: 'log_named_array', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'salt', internalType: 'bytes32', type: 'bytes32' }, - { name: 'initCodeHash', internalType: 'bytes32', type: 'bytes32' }, - { name: 'deployer', internalType: 'address', type: 'address' }, + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { name: 'val', internalType: 'bytes', type: 'bytes', indexed: false }, ], - name: 'computeCreate2Address', - outputs: [{ name: '', internalType: 'address', type: 'address' }], - stateMutability: 'pure', + name: 'log_named_bytes', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'deployer', internalType: 'address', type: 'address' }, - { name: 'nonce', internalType: 'uint256', type: 'uint256' }, + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { name: 'val', internalType: 'bytes32', type: 'bytes32', indexed: false }, ], - name: 'computeCreateAddress', - outputs: [{ name: '', internalType: 'address', type: 'address' }], - stateMutability: 'pure', + name: 'log_named_bytes32', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'from', internalType: 'string', type: 'string' }, - { name: 'to', internalType: 'string', type: 'string' }, + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { name: 'val', internalType: 'int256', type: 'int256', indexed: false }, + { + name: 'decimals', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: 'copyFile', - outputs: [{ name: 'copied', internalType: 'uint64', type: 'uint64' }], - stateMutability: 'nonpayable', + name: 'log_named_decimal_int', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'path', internalType: 'string', type: 'string' }, - { name: 'recursive', internalType: 'bool', type: 'bool' }, + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { name: 'val', internalType: 'uint256', type: 'uint256', indexed: false }, + { + name: 'decimals', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: 'createDir', - outputs: [], - stateMutability: 'nonpayable', + name: 'log_named_decimal_uint', }, { - type: 'function', - inputs: [{ name: 'urlOrAlias', internalType: 'string', type: 'string' }], - name: 'createFork', - outputs: [{ name: 'forkId', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'nonpayable', + type: 'event', + anonymous: false, + inputs: [ + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { name: 'val', internalType: 'int256', type: 'int256', indexed: false }, + ], + name: 'log_named_int', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'urlOrAlias', internalType: 'string', type: 'string' }, - { name: 'blockNumber', internalType: 'uint256', type: 'uint256' }, + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { name: 'val', internalType: 'string', type: 'string', indexed: false }, ], - name: 'createFork', - outputs: [{ name: 'forkId', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'nonpayable', + name: 'log_named_string', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'urlOrAlias', internalType: 'string', type: 'string' }, - { name: 'txHash', internalType: 'bytes32', type: 'bytes32' }, + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { name: 'val', internalType: 'uint256', type: 'uint256', indexed: false }, ], - name: 'createFork', - outputs: [{ name: 'forkId', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'nonpayable', + name: 'log_named_uint', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'urlOrAlias', internalType: 'string', type: 'string' }, - { name: 'blockNumber', internalType: 'uint256', type: 'uint256' }, + { name: '', internalType: 'string', type: 'string', indexed: false }, ], - name: 'createSelectFork', - outputs: [{ name: 'forkId', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'nonpayable', + name: 'log_string', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'urlOrAlias', internalType: 'string', type: 'string' }, - { name: 'txHash', internalType: 'bytes32', type: 'bytes32' }, + { name: '', internalType: 'uint256', type: 'uint256', indexed: false }, ], - name: 'createSelectFork', - outputs: [{ name: 'forkId', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'nonpayable', + name: 'log_uint', }, { - type: 'function', - inputs: [{ name: 'urlOrAlias', internalType: 'string', type: 'string' }], - name: 'createSelectFork', - outputs: [{ name: 'forkId', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'nonpayable', + type: 'event', + anonymous: false, + inputs: [ + { name: '', internalType: 'bytes', type: 'bytes', indexed: false }, + ], + name: 'logs', }, +] as const + +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// CtzndStdInvariant +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +export const ctzndStdInvariantAbi = [ { type: 'function', - inputs: [{ name: 'walletLabel', internalType: 'string', type: 'string' }], - name: 'createWallet', + inputs: [], + name: 'excludeArtifacts', outputs: [ { - name: 'wallet', - internalType: 'struct VmSafe.Wallet', - type: 'tuple', - components: [ - { name: 'addr', internalType: 'address', type: 'address' }, - { name: 'publicKeyX', internalType: 'uint256', type: 'uint256' }, - { name: 'publicKeyY', internalType: 'uint256', type: 'uint256' }, - { name: 'privateKey', internalType: 'uint256', type: 'uint256' }, - ], + name: 'excludedArtifacts_', + internalType: 'string[]', + type: 'string[]', }, ], - stateMutability: 'nonpayable', + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], - name: 'createWallet', + inputs: [], + name: 'excludeContracts', outputs: [ { - name: 'wallet', - internalType: 'struct VmSafe.Wallet', - type: 'tuple', - components: [ - { name: 'addr', internalType: 'address', type: 'address' }, - { name: 'publicKeyX', internalType: 'uint256', type: 'uint256' }, - { name: 'publicKeyY', internalType: 'uint256', type: 'uint256' }, - { name: 'privateKey', internalType: 'uint256', type: 'uint256' }, - ], + name: 'excludedContracts_', + internalType: 'address[]', + type: 'address[]', }, ], - stateMutability: 'nonpayable', + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'privateKey', internalType: 'uint256', type: 'uint256' }, - { name: 'walletLabel', internalType: 'string', type: 'string' }, + inputs: [], + name: 'excludeSenders', + outputs: [ + { + name: 'excludedSenders_', + internalType: 'address[]', + type: 'address[]', + }, ], - name: 'createWallet', + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'targetArtifactSelectors', outputs: [ { - name: 'wallet', - internalType: 'struct VmSafe.Wallet', - type: 'tuple', + name: 'targetedArtifactSelectors_', + internalType: 'struct StdInvariant.FuzzSelector[]', + type: 'tuple[]', components: [ { name: 'addr', internalType: 'address', type: 'address' }, - { name: 'publicKeyX', internalType: 'uint256', type: 'uint256' }, - { name: 'publicKeyY', internalType: 'uint256', type: 'uint256' }, - { name: 'privateKey', internalType: 'uint256', type: 'uint256' }, + { name: 'selectors', internalType: 'bytes4[]', type: 'bytes4[]' }, ], }, ], - stateMutability: 'nonpayable', + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'account', internalType: 'address', type: 'address' }, - { name: 'newBalance', internalType: 'uint256', type: 'uint256' }, + inputs: [], + name: 'targetArtifacts', + outputs: [ + { + name: 'targetedArtifacts_', + internalType: 'string[]', + type: 'string[]', + }, ], - name: 'deal', - outputs: [], - stateMutability: 'nonpayable', + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'snapshotId', internalType: 'uint256', type: 'uint256' }], - name: 'deleteSnapshot', - outputs: [{ name: 'success', internalType: 'bool', type: 'bool' }], - stateMutability: 'nonpayable', + inputs: [], + name: 'targetContracts', + outputs: [ + { + name: 'targetedContracts_', + internalType: 'address[]', + type: 'address[]', + }, + ], + stateMutability: 'view', }, { type: 'function', inputs: [], - name: 'deleteSnapshots', - outputs: [], - stateMutability: 'nonpayable', + name: 'targetInterfaces', + outputs: [ + { + name: 'targetedInterfaces_', + internalType: 'struct StdInvariant.FuzzInterface[]', + type: 'tuple[]', + components: [ + { name: 'addr', internalType: 'address', type: 'address' }, + { name: 'artifacts', internalType: 'string[]', type: 'string[]' }, + ], + }, + ], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'mnemonic', internalType: 'string', type: 'string' }, - { name: 'derivationPath', internalType: 'string', type: 'string' }, - { name: 'index', internalType: 'uint32', type: 'uint32' }, - { name: 'language', internalType: 'string', type: 'string' }, + inputs: [], + name: 'targetSelectors', + outputs: [ + { + name: 'targetedSelectors_', + internalType: 'struct StdInvariant.FuzzSelector[]', + type: 'tuple[]', + components: [ + { name: 'addr', internalType: 'address', type: 'address' }, + { name: 'selectors', internalType: 'bytes4[]', type: 'bytes4[]' }, + ], + }, ], - name: 'deriveKey', - outputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'pure', + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'mnemonic', internalType: 'string', type: 'string' }, - { name: 'index', internalType: 'uint32', type: 'uint32' }, - { name: 'language', internalType: 'string', type: 'string' }, + inputs: [], + name: 'targetSenders', + outputs: [ + { + name: 'targetedSenders_', + internalType: 'address[]', + type: 'address[]', + }, ], - name: 'deriveKey', - outputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'pure', + stateMutability: 'view', }, +] as const + +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// CtzndTest +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +export const ctzndTestAbi = [ { type: 'function', - inputs: [ - { name: 'mnemonic', internalType: 'string', type: 'string' }, - { name: 'index', internalType: 'uint32', type: 'uint32' }, - ], - name: 'deriveKey', - outputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'pure', + inputs: [], + name: 'IS_TEST', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'mnemonic', internalType: 'string', type: 'string' }, - { name: 'derivationPath', internalType: 'string', type: 'string' }, - { name: 'index', internalType: 'uint32', type: 'uint32' }, + inputs: [], + name: 'excludeArtifacts', + outputs: [ + { + name: 'excludedArtifacts_', + internalType: 'string[]', + type: 'string[]', + }, ], - name: 'deriveKey', - outputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'pure', + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'newDifficulty', internalType: 'uint256', type: 'uint256' }, + inputs: [], + name: 'excludeContracts', + outputs: [ + { + name: 'excludedContracts_', + internalType: 'address[]', + type: 'address[]', + }, ], - name: 'difficulty', - outputs: [], - stateMutability: 'nonpayable', + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'pathToStateJson', internalType: 'string', type: 'string' }, + inputs: [], + name: 'excludeSenders', + outputs: [ + { + name: 'excludedSenders_', + internalType: 'address[]', + type: 'address[]', + }, ], - name: 'dumpState', - outputs: [], - stateMutability: 'nonpayable', + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'name', internalType: 'string', type: 'string' }], - name: 'envAddress', - outputs: [{ name: 'value', internalType: 'address', type: 'address' }], - stateMutability: 'view', + inputs: [], + name: 'failed', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, + inputs: [], + name: 'targetArtifactSelectors', + outputs: [ + { + name: 'targetedArtifactSelectors_', + internalType: 'struct StdInvariant.FuzzSelector[]', + type: 'tuple[]', + components: [ + { name: 'addr', internalType: 'address', type: 'address' }, + { name: 'selectors', internalType: 'bytes4[]', type: 'bytes4[]' }, + ], + }, ], - name: 'envAddress', - outputs: [{ name: 'value', internalType: 'address[]', type: 'address[]' }], stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'name', internalType: 'string', type: 'string' }], - name: 'envBool', - outputs: [{ name: 'value', internalType: 'bool', type: 'bool' }], + inputs: [], + name: 'targetArtifacts', + outputs: [ + { + name: 'targetedArtifacts_', + internalType: 'string[]', + type: 'string[]', + }, + ], stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, + inputs: [], + name: 'targetContracts', + outputs: [ + { + name: 'targetedContracts_', + internalType: 'address[]', + type: 'address[]', + }, ], - name: 'envBool', - outputs: [{ name: 'value', internalType: 'bool[]', type: 'bool[]' }], stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'name', internalType: 'string', type: 'string' }], - name: 'envBytes', - outputs: [{ name: 'value', internalType: 'bytes', type: 'bytes' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, + inputs: [], + name: 'targetInterfaces', + outputs: [ + { + name: 'targetedInterfaces_', + internalType: 'struct StdInvariant.FuzzInterface[]', + type: 'tuple[]', + components: [ + { name: 'addr', internalType: 'address', type: 'address' }, + { name: 'artifacts', internalType: 'string[]', type: 'string[]' }, + ], + }, ], - name: 'envBytes', - outputs: [{ name: 'value', internalType: 'bytes[]', type: 'bytes[]' }], stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, + inputs: [], + name: 'targetSelectors', + outputs: [ + { + name: 'targetedSelectors_', + internalType: 'struct StdInvariant.FuzzSelector[]', + type: 'tuple[]', + components: [ + { name: 'addr', internalType: 'address', type: 'address' }, + { name: 'selectors', internalType: 'bytes4[]', type: 'bytes4[]' }, + ], + }, ], - name: 'envBytes32', - outputs: [{ name: 'value', internalType: 'bytes32[]', type: 'bytes32[]' }], stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'name', internalType: 'string', type: 'string' }], - name: 'envBytes32', - outputs: [{ name: 'value', internalType: 'bytes32', type: 'bytes32' }], + inputs: [], + name: 'targetSenders', + outputs: [ + { + name: 'targetedSenders_', + internalType: 'address[]', + type: 'address[]', + }, + ], stateMutability: 'view', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, + { name: '', internalType: 'string', type: 'string', indexed: false }, ], - name: 'envInt', - outputs: [{ name: 'value', internalType: 'int256[]', type: 'int256[]' }], - stateMutability: 'view', + name: 'log', }, { - type: 'function', - inputs: [{ name: 'name', internalType: 'string', type: 'string' }], - name: 'envInt', - outputs: [{ name: 'value', internalType: 'int256', type: 'int256' }], - stateMutability: 'view', + type: 'event', + anonymous: false, + inputs: [ + { name: '', internalType: 'address', type: 'address', indexed: false }, + ], + name: 'log_address', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'bytes32[]', type: 'bytes32[]' }, + { + name: 'val', + internalType: 'uint256[]', + type: 'uint256[]', + indexed: false, + }, ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'bytes32[]', type: 'bytes32[]' }], - stateMutability: 'view', + name: 'log_array', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'int256[]', type: 'int256[]' }, + { + name: 'val', + internalType: 'int256[]', + type: 'int256[]', + indexed: false, + }, ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'int256[]', type: 'int256[]' }], - stateMutability: 'view', + name: 'log_array', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'bool', type: 'bool' }, + { + name: 'val', + internalType: 'address[]', + type: 'address[]', + indexed: false, + }, ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'bool', type: 'bool' }], - stateMutability: 'view', + name: 'log_array', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'address', type: 'address' }, + { name: '', internalType: 'bytes', type: 'bytes', indexed: false }, ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'address', type: 'address' }], - stateMutability: 'view', + name: 'log_bytes', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'uint256', type: 'uint256' }, + { name: '', internalType: 'bytes32', type: 'bytes32', indexed: false }, ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', + name: 'log_bytes32', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'bytes[]', type: 'bytes[]' }, + { name: '', internalType: 'int256', type: 'int256', indexed: false }, ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'bytes[]', type: 'bytes[]' }], - stateMutability: 'view', + name: 'log_int', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'uint256[]', type: 'uint256[]' }, + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { name: 'val', internalType: 'address', type: 'address', indexed: false }, ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'uint256[]', type: 'uint256[]' }], - stateMutability: 'view', + name: 'log_named_address', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'string[]', type: 'string[]' }, + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { + name: 'val', + internalType: 'uint256[]', + type: 'uint256[]', + indexed: false, + }, ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'string[]', type: 'string[]' }], - stateMutability: 'view', + name: 'log_named_array', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'bytes', type: 'bytes' }, + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { + name: 'val', + internalType: 'int256[]', + type: 'int256[]', + indexed: false, + }, ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'bytes', type: 'bytes' }], - stateMutability: 'view', + name: 'log_named_array', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'bytes32', type: 'bytes32' }, + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { + name: 'val', + internalType: 'address[]', + type: 'address[]', + indexed: false, + }, ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'bytes32', type: 'bytes32' }], - stateMutability: 'view', + name: 'log_named_array', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'int256', type: 'int256' }, + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { name: 'val', internalType: 'bytes', type: 'bytes', indexed: false }, ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'int256', type: 'int256' }], - stateMutability: 'view', + name: 'log_named_bytes', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'address[]', type: 'address[]' }, + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { name: 'val', internalType: 'bytes32', type: 'bytes32', indexed: false }, ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'address[]', type: 'address[]' }], - stateMutability: 'view', + name: 'log_named_bytes32', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'string', type: 'string' }, + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { name: 'val', internalType: 'int256', type: 'int256', indexed: false }, + { + name: 'decimals', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'string', type: 'string' }], - stateMutability: 'view', + name: 'log_named_decimal_int', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'bool[]', type: 'bool[]' }, + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { name: 'val', internalType: 'uint256', type: 'uint256', indexed: false }, + { + name: 'decimals', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'bool[]', type: 'bool[]' }], - stateMutability: 'view', + name: 'log_named_decimal_uint', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { name: 'val', internalType: 'int256', type: 'int256', indexed: false }, ], - name: 'envString', - outputs: [{ name: 'value', internalType: 'string[]', type: 'string[]' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [{ name: 'name', internalType: 'string', type: 'string' }], - name: 'envString', - outputs: [{ name: 'value', internalType: 'string', type: 'string' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [{ name: 'name', internalType: 'string', type: 'string' }], - name: 'envUint', - outputs: [{ name: 'value', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', + name: 'log_named_int', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { name: 'val', internalType: 'string', type: 'string', indexed: false }, ], - name: 'envUint', - outputs: [{ name: 'value', internalType: 'uint256[]', type: 'uint256[]' }], - stateMutability: 'view', + name: 'log_named_string', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'target', internalType: 'address', type: 'address' }, - { name: 'newRuntimeBytecode', internalType: 'bytes', type: 'bytes' }, + { name: 'key', internalType: 'string', type: 'string', indexed: false }, + { name: 'val', internalType: 'uint256', type: 'uint256', indexed: false }, ], - name: 'etch', - outputs: [], - stateMutability: 'nonpayable', + name: 'log_named_uint', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'fromBlock', internalType: 'uint256', type: 'uint256' }, - { name: 'toBlock', internalType: 'uint256', type: 'uint256' }, - { name: 'target', internalType: 'address', type: 'address' }, - { name: 'topics', internalType: 'bytes32[]', type: 'bytes32[]' }, - ], - name: 'eth_getLogs', - outputs: [ - { - name: 'logs', - internalType: 'struct VmSafe.EthGetLogs[]', - type: 'tuple[]', - components: [ - { name: 'emitter', internalType: 'address', type: 'address' }, - { name: 'topics', internalType: 'bytes32[]', type: 'bytes32[]' }, - { name: 'data', internalType: 'bytes', type: 'bytes' }, - { name: 'blockHash', internalType: 'bytes32', type: 'bytes32' }, - { name: 'blockNumber', internalType: 'uint64', type: 'uint64' }, - { name: 'transactionHash', internalType: 'bytes32', type: 'bytes32' }, - { name: 'transactionIndex', internalType: 'uint64', type: 'uint64' }, - { name: 'logIndex', internalType: 'uint256', type: 'uint256' }, - { name: 'removed', internalType: 'bool', type: 'bool' }, - ], - }, + { name: '', internalType: 'string', type: 'string', indexed: false }, ], - stateMutability: 'nonpayable', - }, - { - type: 'function', - inputs: [{ name: 'path', internalType: 'string', type: 'string' }], - name: 'exists', - outputs: [{ name: 'result', internalType: 'bool', type: 'bool' }], - stateMutability: 'nonpayable', + name: 'log_string', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'callee', internalType: 'address', type: 'address' }, - { name: 'msgValue', internalType: 'uint256', type: 'uint256' }, - { name: 'gas', internalType: 'uint64', type: 'uint64' }, - { name: 'data', internalType: 'bytes', type: 'bytes' }, + { name: '', internalType: 'uint256', type: 'uint256', indexed: false }, ], - name: 'expectCall', - outputs: [], - stateMutability: 'nonpayable', + name: 'log_uint', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'callee', internalType: 'address', type: 'address' }, - { name: 'msgValue', internalType: 'uint256', type: 'uint256' }, - { name: 'gas', internalType: 'uint64', type: 'uint64' }, - { name: 'data', internalType: 'bytes', type: 'bytes' }, - { name: 'count', internalType: 'uint64', type: 'uint64' }, + { name: '', internalType: 'bytes', type: 'bytes', indexed: false }, ], - name: 'expectCall', - outputs: [], - stateMutability: 'nonpayable', + name: 'logs', }, +] as const + +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// CtzndTestPool +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +export const ctzndTestPoolAbi = [ { - type: 'function', + type: 'constructor', inputs: [ - { name: 'callee', internalType: 'address', type: 'address' }, - { name: 'msgValue', internalType: 'uint256', type: 'uint256' }, - { name: 'data', internalType: 'bytes', type: 'bytes' }, - { name: 'count', internalType: 'uint64', type: 'uint64' }, + { name: '_saleSupply', internalType: 'uint256', type: 'uint256' }, + { name: '_investmentToken', internalType: 'address', type: 'address' }, ], - name: 'expectCall', - outputs: [], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [ - { name: 'callee', internalType: 'address', type: 'address' }, - { name: 'data', internalType: 'bytes', type: 'bytes' }, - ], - name: 'expectCall', - outputs: [], - stateMutability: 'nonpayable', + inputs: [], + name: 'CAP_VALIDATION_GAS_LIMIT', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'callee', internalType: 'address', type: 'address' }, - { name: 'data', internalType: 'bytes', type: 'bytes' }, - { name: 'count', internalType: 'uint64', type: 'uint64' }, - ], - name: 'expectCall', - outputs: [], - stateMutability: 'nonpayable', + inputs: [{ name: '_to', internalType: 'address', type: 'address' }], + name: 'allocation', + outputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'callee', internalType: 'address', type: 'address' }, - { name: 'msgValue', internalType: 'uint256', type: 'uint256' }, - { name: 'data', internalType: 'bytes', type: 'bytes' }, - ], - name: 'expectCall', - outputs: [], - stateMutability: 'nonpayable', + inputs: [], + name: 'individualCap', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', inputs: [ - { name: 'callee', internalType: 'address', type: 'address' }, - { name: 'msgValue', internalType: 'uint256', type: 'uint256' }, - { name: 'minGas', internalType: 'uint64', type: 'uint64' }, - { name: 'data', internalType: 'bytes', type: 'bytes' }, + { name: '_investor', internalType: 'address', type: 'address' }, + { name: '_amount', internalType: 'uint256', type: 'uint256' }, ], - name: 'expectCallMinGas', + name: 'invest', outputs: [], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [ - { name: 'callee', internalType: 'address', type: 'address' }, - { name: 'msgValue', internalType: 'uint256', type: 'uint256' }, - { name: 'minGas', internalType: 'uint64', type: 'uint64' }, - { name: 'data', internalType: 'bytes', type: 'bytes' }, - { name: 'count', internalType: 'uint64', type: 'uint64' }, - ], - name: 'expectCallMinGas', - outputs: [], - stateMutability: 'nonpayable', + inputs: [], + name: 'investmentToken', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { type: 'function', - inputs: [], - name: 'expectEmit', - outputs: [], - stateMutability: 'nonpayable', + inputs: [{ name: 'i', internalType: 'uint256', type: 'uint256' }], + name: 'investorAmountAt', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'checkTopic1', internalType: 'bool', type: 'bool' }, - { name: 'checkTopic2', internalType: 'bool', type: 'bool' }, - { name: 'checkTopic3', internalType: 'bool', type: 'bool' }, - { name: 'checkData', internalType: 'bool', type: 'bool' }, - ], - name: 'expectEmit', - outputs: [], - stateMutability: 'nonpayable', + inputs: [], + name: 'investorCount', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'checkTopic1', internalType: 'bool', type: 'bool' }, - { name: 'checkTopic2', internalType: 'bool', type: 'bool' }, - { name: 'checkTopic3', internalType: 'bool', type: 'bool' }, - { name: 'checkData', internalType: 'bool', type: 'bool' }, - { name: 'emitter', internalType: 'address', type: 'address' }, - ], - name: 'expectEmit', - outputs: [], - stateMutability: 'nonpayable', + inputs: [], + name: 'project', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'emitter', internalType: 'address', type: 'address' }], - name: 'expectEmit', + inputs: [{ name: '_to', internalType: 'address', type: 'address' }], + name: 'refund', outputs: [], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [{ name: 'revertData', internalType: 'bytes4', type: 'bytes4' }], - name: 'expectRevert', - outputs: [], - stateMutability: 'nonpayable', + inputs: [{ name: '_to', internalType: 'address', type: 'address' }], + name: 'refundableAmount', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'revertData', internalType: 'bytes', type: 'bytes' }], - name: 'expectRevert', - outputs: [], - stateMutability: 'nonpayable', + inputs: [], + name: 'risingTideCache', + outputs: [ + { name: 'index', internalType: 'uint256', type: 'uint256' }, + { name: 'sumForCap', internalType: 'uint256', type: 'uint256' }, + { name: 'sumForNextCap', internalType: 'uint256', type: 'uint256' }, + { name: 'largest', internalType: 'uint256', type: 'uint256' }, + ], + stateMutability: 'view', }, { type: 'function', inputs: [], - name: 'expectRevert', - outputs: [], - stateMutability: 'nonpayable', - }, - { - type: 'function', - inputs: [ - { name: 'min', internalType: 'uint64', type: 'uint64' }, - { name: 'max', internalType: 'uint64', type: 'uint64' }, + name: 'risingTideState', + outputs: [ + { + name: '', + internalType: 'enum RisingTide.RisingTideState', + type: 'uint8', + }, ], - name: 'expectSafeMemory', - outputs: [], - stateMutability: 'nonpayable', + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'min', internalType: 'uint64', type: 'uint64' }, - { name: 'max', internalType: 'uint64', type: 'uint64' }, - ], - name: 'expectSafeMemoryCall', - outputs: [], - stateMutability: 'nonpayable', + inputs: [{ name: '_amount', internalType: 'uint256', type: 'uint256' }], + name: 'risingTide_applyCap', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'newBasefee', internalType: 'uint256', type: 'uint256' }], - name: 'fee', - outputs: [], - stateMutability: 'nonpayable', + inputs: [], + name: 'risingTide_isValidCap', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'commandInput', internalType: 'string[]', type: 'string[]' }, - ], - name: 'ffi', - outputs: [{ name: 'result', internalType: 'bytes', type: 'bytes' }], - stateMutability: 'nonpayable', + inputs: [], + name: 'risingTide_totalAllocatedUncapped', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'path', internalType: 'string', type: 'string' }], - name: 'fsMetadata', - outputs: [ - { - name: 'metadata', - internalType: 'struct VmSafe.FsMetadata', - type: 'tuple', - components: [ - { name: 'isDir', internalType: 'bool', type: 'bool' }, - { name: 'isSymlink', internalType: 'bool', type: 'bool' }, - { name: 'length', internalType: 'uint256', type: 'uint256' }, - { name: 'readOnly', internalType: 'bool', type: 'bool' }, - { name: 'modified', internalType: 'uint256', type: 'uint256' }, - { name: 'accessed', internalType: 'uint256', type: 'uint256' }, - { name: 'created', internalType: 'uint256', type: 'uint256' }, - ], - }, - ], + inputs: [], + name: 'risingTide_totalCap', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], stateMutability: 'view', }, { type: 'function', inputs: [], - name: 'getBlockNumber', - outputs: [{ name: 'height', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', + name: 'risingTide_validate', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', inputs: [], - name: 'getBlockTimestamp', - outputs: [{ name: 'timestamp', internalType: 'uint256', type: 'uint256' }], + name: 'risingTide_validating', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'artifactPath', internalType: 'string', type: 'string' }], - name: 'getCode', - outputs: [ - { name: 'creationBytecode', internalType: 'bytes', type: 'bytes' }, - ], + inputs: [], + name: 'saleSupply', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'artifactPath', internalType: 'string', type: 'string' }], - name: 'getDeployedCode', - outputs: [ - { name: 'runtimeBytecode', internalType: 'bytes', type: 'bytes' }, - ], - stateMutability: 'view', + inputs: [{ name: '_cap', internalType: 'uint256', type: 'uint256' }], + name: 'setIndividualCap', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [{ name: 'account', internalType: 'address', type: 'address' }], - name: 'getLabel', - outputs: [{ name: 'currentLabel', internalType: 'string', type: 'string' }], + inputs: [], + name: 'totalUncappedAllocations', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'target', internalType: 'address', type: 'address' }, - { name: 'elementSlot', internalType: 'bytes32', type: 'bytes32' }, - ], - name: 'getMappingKeyAndParentOf', - outputs: [ - { name: 'found', internalType: 'bool', type: 'bool' }, - { name: 'key', internalType: 'bytes32', type: 'bytes32' }, - { name: 'parent', internalType: 'bytes32', type: 'bytes32' }, - ], - stateMutability: 'nonpayable', + inputs: [{ name: '_to', internalType: 'address', type: 'address' }], + name: 'uncappedAllocation', + outputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'target', internalType: 'address', type: 'address' }, - { name: 'mappingSlot', internalType: 'bytes32', type: 'bytes32' }, + { name: 'to', internalType: 'address', type: 'address', indexed: true }, + { + name: 'paymentTokenAmount', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: 'getMappingLength', - outputs: [{ name: 'length', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'nonpayable', + name: 'Refund', }, { - type: 'function', - inputs: [ - { name: 'target', internalType: 'address', type: 'address' }, - { name: 'mappingSlot', internalType: 'bytes32', type: 'bytes32' }, - { name: 'idx', internalType: 'uint256', type: 'uint256' }, - ], - name: 'getMappingSlotAt', - outputs: [{ name: 'value', internalType: 'bytes32', type: 'bytes32' }], - stateMutability: 'nonpayable', + type: 'error', + inputs: [{ name: 'target', internalType: 'address', type: 'address' }], + name: 'AddressEmptyCode', }, { - type: 'function', + type: 'error', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], - name: 'getNonce', - outputs: [{ name: 'nonce', internalType: 'uint64', type: 'uint64' }], - stateMutability: 'view', + name: 'AddressInsufficientBalance', }, + { type: 'error', inputs: [], name: 'FailedInnerCall' }, { - type: 'function', + type: 'error', + inputs: [{ name: 'token', internalType: 'address', type: 'address' }], + name: 'SafeERC20FailedOperation', + }, +] as const + +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// CtzndTestProjectVoting +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +export const ctzndTestProjectVotingAbi = [ + { + type: 'constructor', inputs: [ { - name: 'wallet', - internalType: 'struct VmSafe.Wallet', + name: '_votingPeriod', + internalType: 'struct ICommon.Period', type: 'tuple', components: [ - { name: 'addr', internalType: 'address', type: 'address' }, - { name: 'publicKeyX', internalType: 'uint256', type: 'uint256' }, - { name: 'publicKeyY', internalType: 'uint256', type: 'uint256' }, - { name: 'privateKey', internalType: 'uint256', type: 'uint256' }, + { name: 'start', internalType: 'uint256', type: 'uint256' }, + { name: 'end', internalType: 'uint256', type: 'uint256' }, ], }, + { name: '_projects', internalType: 'address[]', type: 'address[]' }, + { name: '_numSlots', internalType: 'uint256', type: 'uint256' }, ], - name: 'getNonce', - outputs: [{ name: 'nonce', internalType: 'uint64', type: 'uint64' }], stateMutability: 'nonpayable', }, { type: 'function', inputs: [], - name: 'getRecordedLogs', - outputs: [ - { - name: 'logs', - internalType: 'struct VmSafe.Log[]', - type: 'tuple[]', - components: [ - { name: 'topics', internalType: 'bytes32[]', type: 'bytes32[]' }, - { name: 'data', internalType: 'bytes', type: 'bytes' }, - { name: 'emitter', internalType: 'address', type: 'address' }, - ], - }, - ], - stateMutability: 'nonpayable', + name: 'numSlots', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'path', internalType: 'string', type: 'string' }], - name: 'isDir', - outputs: [{ name: 'result', internalType: 'bool', type: 'bool' }], - stateMutability: 'nonpayable', + inputs: [{ name: '', internalType: 'address', type: 'address' }], + name: 'projectToVotesIndex', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'path', internalType: 'string', type: 'string' }], - name: 'isFile', - outputs: [{ name: 'result', internalType: 'bool', type: 'bool' }], - stateMutability: 'nonpayable', + inputs: [{ name: '', internalType: 'address', type: 'address' }], + name: 'projectVoteCount', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'account', internalType: 'address', type: 'address' }], - name: 'isPersistent', - outputs: [{ name: 'persistent', internalType: 'bool', type: 'bool' }], - stateMutability: 'view', + inputs: [], + name: 'projectVoting_finalBonus', + outputs: [{ name: '', internalType: 'int256', type: 'int256' }], + stateMutability: 'pure', }, { type: 'function', - inputs: [ - { name: 'json', internalType: 'string', type: 'string' }, - { name: 'key', internalType: 'string', type: 'string' }, - ], - name: 'keyExists', - outputs: [{ name: '', internalType: 'bool', type: 'bool' }], - stateMutability: 'view', + inputs: [], + name: 'projectVoting_initialBonus', + outputs: [{ name: '', internalType: 'int256', type: 'int256' }], + stateMutability: 'pure', }, { type: 'function', - inputs: [ - { name: 'account', internalType: 'address', type: 'address' }, - { name: 'newLabel', internalType: 'string', type: 'string' }, - ], - name: 'label', - outputs: [], - stateMutability: 'nonpayable', + inputs: [], + name: 'projectVoting_projects', + outputs: [{ name: '', internalType: 'address[]', type: 'address[]' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'target', internalType: 'address', type: 'address' }, - { name: 'slot', internalType: 'bytes32', type: 'bytes32' }, - ], - name: 'load', - outputs: [{ name: 'data', internalType: 'bytes32', type: 'bytes32' }], + inputs: [], + name: 'projectVoting_singleSlotDuration', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'pathToAllocsJson', internalType: 'string', type: 'string' }, - ], - name: 'loadAllocs', - outputs: [], - stateMutability: 'nonpayable', + inputs: [], + name: 'projectVoting_voteLimitPerUser', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'accounts', internalType: 'address[]', type: 'address[]' }, + inputs: [], + name: 'projectVoting_votingPeriod', + outputs: [ + { + name: '', + internalType: 'struct ICommon.Period', + type: 'tuple', + components: [ + { name: 'start', internalType: 'uint256', type: 'uint256' }, + { name: 'end', internalType: 'uint256', type: 'uint256' }, + ], + }, ], - name: 'makePersistent', - outputs: [], - stateMutability: 'nonpayable', + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'account0', internalType: 'address', type: 'address' }, - { name: 'account1', internalType: 'address', type: 'address' }, - ], - name: 'makePersistent', - outputs: [], - stateMutability: 'nonpayable', + inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + name: 'projects', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'account', internalType: 'address', type: 'address' }], - name: 'makePersistent', - outputs: [], - stateMutability: 'nonpayable', + inputs: [{ name: 'currentTime', internalType: 'uint256', type: 'uint256' }], + name: 'test_calculateWeightedVote', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'account0', internalType: 'address', type: 'address' }, - { name: 'account1', internalType: 'address', type: 'address' }, - { name: 'account2', internalType: 'address', type: 'address' }, - ], - name: 'makePersistent', - outputs: [], - stateMutability: 'nonpayable', + inputs: [], + name: 'test_getWinners', + outputs: [{ name: '', internalType: 'address[]', type: 'address[]' }], + stateMutability: 'view', }, { type: 'function', inputs: [ - { name: 'callee', internalType: 'address', type: 'address' }, - { name: 'msgValue', internalType: 'uint256', type: 'uint256' }, - { name: 'data', internalType: 'bytes', type: 'bytes' }, - { name: 'returnData', internalType: 'bytes', type: 'bytes' }, + { + name: 'votes', + internalType: 'struct ProjectVoting.SortableVote[]', + type: 'tuple[]', + components: [ + { name: 'originalIndex', internalType: 'uint256', type: 'uint256' }, + { name: 'count', internalType: 'uint256', type: 'uint256' }, + ], + }, ], - name: 'mockCall', - outputs: [], - stateMutability: 'nonpayable', + name: 'test_sortVotes', + outputs: [ + { + name: '', + internalType: 'struct ProjectVoting.SortableVote[]', + type: 'tuple[]', + components: [ + { name: 'originalIndex', internalType: 'uint256', type: 'uint256' }, + { name: 'count', internalType: 'uint256', type: 'uint256' }, + ], + }, + ], + stateMutability: 'view', }, { type: 'function', inputs: [ - { name: 'callee', internalType: 'address', type: 'address' }, - { name: 'data', internalType: 'bytes', type: 'bytes' }, - { name: 'returnData', internalType: 'bytes', type: 'bytes' }, + { name: 'projectAddress', internalType: 'address', type: 'address' }, ], - name: 'mockCall', + name: 'test_vote', outputs: [], stateMutability: 'nonpayable', }, { type: 'function', inputs: [ - { name: 'callee', internalType: 'address', type: 'address' }, - { name: 'msgValue', internalType: 'uint256', type: 'uint256' }, - { name: 'data', internalType: 'bytes', type: 'bytes' }, - { name: 'revertData', internalType: 'bytes', type: 'bytes' }, + { name: '', internalType: 'address', type: 'address' }, + { name: '', internalType: 'address', type: 'address' }, ], - name: 'mockCallRevert', - outputs: [], - stateMutability: 'nonpayable', + name: 'userHasVotedForProject', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'callee', internalType: 'address', type: 'address' }, - { name: 'data', internalType: 'bytes', type: 'bytes' }, - { name: 'revertData', internalType: 'bytes', type: 'bytes' }, - ], - name: 'mockCallRevert', - outputs: [], - stateMutability: 'nonpayable', + inputs: [{ name: '', internalType: 'address', type: 'address' }], + name: 'userVoteCount', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'stringifiedValue', internalType: 'string', type: 'string' }, - ], - name: 'parseAddress', - outputs: [ - { name: 'parsedValue', internalType: 'address', type: 'address' }, - ], - stateMutability: 'pure', + inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + name: 'votes', + outputs: [{ name: '', internalType: 'uint32', type: 'uint32' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'stringifiedValue', internalType: 'string', type: 'string' }, - ], - name: 'parseBool', - outputs: [{ name: 'parsedValue', internalType: 'bool', type: 'bool' }], - stateMutability: 'pure', + inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + name: 'votesIndexToProject', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'stringifiedValue', internalType: 'string', type: 'string' }, + inputs: [], + name: 'votingPeriod', + outputs: [ + { name: 'start', internalType: 'uint256', type: 'uint256' }, + { name: 'end', internalType: 'uint256', type: 'uint256' }, ], - name: 'parseBytes', - outputs: [{ name: 'parsedValue', internalType: 'bytes', type: 'bytes' }], - stateMutability: 'pure', + stateMutability: 'view', }, { type: 'function', + inputs: [{ name: '', internalType: 'address', type: 'address' }], + name: 'weightedProjectVoteCount', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', + }, +] as const + +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// CtzndTestRisingTideWithCustomAmounts +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +export const ctzndTestRisingTideWithCustomAmountsAbi = [ + { + type: 'constructor', inputs: [ - { name: 'stringifiedValue', internalType: 'string', type: 'string' }, - ], - name: 'parseBytes32', - outputs: [ - { name: 'parsedValue', internalType: 'bytes32', type: 'bytes32' }, + { + name: '__maxTotalInvestment', + internalType: 'uint256', + type: 'uint256', + }, ], - stateMutability: 'pure', + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [ - { name: 'stringifiedValue', internalType: 'string', type: 'string' }, - ], - name: 'parseInt', - outputs: [{ name: 'parsedValue', internalType: 'int256', type: 'int256' }], - stateMutability: 'pure', + inputs: [], + name: 'CAP_VALIDATION_GAS_LIMIT', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'json', internalType: 'string', type: 'string' }], - name: 'parseJson', - outputs: [{ name: 'abiEncodedData', internalType: 'bytes', type: 'bytes' }], - stateMutability: 'pure', + inputs: [], + name: 'individualCap', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'json', internalType: 'string', type: 'string' }, - { name: 'key', internalType: 'string', type: 'string' }, - ], - name: 'parseJson', - outputs: [{ name: 'abiEncodedData', internalType: 'bytes', type: 'bytes' }], - stateMutability: 'pure', + inputs: [{ name: 'i', internalType: 'uint256', type: 'uint256' }], + name: 'investorAmountAt', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'json', internalType: 'string', type: 'string' }, - { name: 'key', internalType: 'string', type: 'string' }, - ], - name: 'parseJsonAddress', - outputs: [{ name: '', internalType: 'address', type: 'address' }], - stateMutability: 'pure', + inputs: [], + name: 'investorCount', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'json', internalType: 'string', type: 'string' }, - { name: 'key', internalType: 'string', type: 'string' }, + inputs: [], + name: 'risingTideCache', + outputs: [ + { name: 'index', internalType: 'uint256', type: 'uint256' }, + { name: 'sumForCap', internalType: 'uint256', type: 'uint256' }, + { name: 'sumForNextCap', internalType: 'uint256', type: 'uint256' }, + { name: 'largest', internalType: 'uint256', type: 'uint256' }, ], - name: 'parseJsonAddressArray', - outputs: [{ name: '', internalType: 'address[]', type: 'address[]' }], - stateMutability: 'pure', + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'json', internalType: 'string', type: 'string' }, - { name: 'key', internalType: 'string', type: 'string' }, + inputs: [], + name: 'risingTideState', + outputs: [ + { + name: '', + internalType: 'enum RisingTide.RisingTideState', + type: 'uint8', + }, ], - name: 'parseJsonBool', - outputs: [{ name: '', internalType: 'bool', type: 'bool' }], - stateMutability: 'pure', + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'json', internalType: 'string', type: 'string' }, - { name: 'key', internalType: 'string', type: 'string' }, - ], - name: 'parseJsonBoolArray', - outputs: [{ name: '', internalType: 'bool[]', type: 'bool[]' }], - stateMutability: 'pure', + inputs: [{ name: '_amount', internalType: 'uint256', type: 'uint256' }], + name: 'risingTide_applyCap', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'json', internalType: 'string', type: 'string' }, - { name: 'key', internalType: 'string', type: 'string' }, - ], - name: 'parseJsonBytes', - outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }], - stateMutability: 'pure', + inputs: [], + name: 'risingTide_isValidCap', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'json', internalType: 'string', type: 'string' }, - { name: 'key', internalType: 'string', type: 'string' }, - ], - name: 'parseJsonBytes32', - outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], - stateMutability: 'pure', + inputs: [], + name: 'risingTide_totalAllocatedUncapped', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'json', internalType: 'string', type: 'string' }, - { name: 'key', internalType: 'string', type: 'string' }, - ], - name: 'parseJsonBytes32Array', - outputs: [{ name: '', internalType: 'bytes32[]', type: 'bytes32[]' }], - stateMutability: 'pure', + inputs: [], + name: 'risingTide_totalCap', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'json', internalType: 'string', type: 'string' }, - { name: 'key', internalType: 'string', type: 'string' }, - ], - name: 'parseJsonBytesArray', - outputs: [{ name: '', internalType: 'bytes[]', type: 'bytes[]' }], - stateMutability: 'pure', + inputs: [], + name: 'risingTide_validate', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [ - { name: 'json', internalType: 'string', type: 'string' }, - { name: 'key', internalType: 'string', type: 'string' }, - ], - name: 'parseJsonInt', - outputs: [{ name: '', internalType: 'int256', type: 'int256' }], - stateMutability: 'pure', + inputs: [], + name: 'risingTide_validating', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'json', internalType: 'string', type: 'string' }, - { name: 'key', internalType: 'string', type: 'string' }, - ], - name: 'parseJsonIntArray', - outputs: [{ name: '', internalType: 'int256[]', type: 'int256[]' }], - stateMutability: 'pure', + inputs: [{ name: '_cap', internalType: 'uint256', type: 'uint256' }], + name: 'setCap', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', inputs: [ - { name: 'json', internalType: 'string', type: 'string' }, - { name: 'key', internalType: 'string', type: 'string' }, + { name: 'i', internalType: 'uint256', type: 'uint256' }, + { name: 'amount', internalType: 'uint256', type: 'uint256' }, ], - name: 'parseJsonKeys', - outputs: [{ name: 'keys', internalType: 'string[]', type: 'string[]' }], - stateMutability: 'pure', + name: 'test_invest', + outputs: [], + stateMutability: 'nonpayable', }, +] as const + +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// CtzndTestRisingTideWithStaticAmounts +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +export const ctzndTestRisingTideWithStaticAmountsAbi = [ { - type: 'function', + type: 'constructor', inputs: [ - { name: 'json', internalType: 'string', type: 'string' }, - { name: 'key', internalType: 'string', type: 'string' }, + { name: '_totalInvestors', internalType: 'uint256', type: 'uint256' }, + { name: '_amountPerInvestor', internalType: 'uint256', type: 'uint256' }, + { name: '__totalAvailable', internalType: 'uint256', type: 'uint256' }, ], - name: 'parseJsonString', - outputs: [{ name: '', internalType: 'string', type: 'string' }], - stateMutability: 'pure', + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [ - { name: 'json', internalType: 'string', type: 'string' }, - { name: 'key', internalType: 'string', type: 'string' }, - ], - name: 'parseJsonStringArray', - outputs: [{ name: '', internalType: 'string[]', type: 'string[]' }], - stateMutability: 'pure', + inputs: [], + name: 'CAP_VALIDATION_GAS_LIMIT', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'json', internalType: 'string', type: 'string' }, - { name: 'key', internalType: 'string', type: 'string' }, - ], - name: 'parseJsonUint', + inputs: [], + name: 'individualCap', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'pure', + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'json', internalType: 'string', type: 'string' }, - { name: 'key', internalType: 'string', type: 'string' }, - ], - name: 'parseJsonUintArray', - outputs: [{ name: '', internalType: 'uint256[]', type: 'uint256[]' }], - stateMutability: 'pure', + inputs: [{ name: 'i', internalType: 'uint256', type: 'uint256' }], + name: 'investorAmountAt', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'stringifiedValue', internalType: 'string', type: 'string' }, + inputs: [], + name: 'investorCount', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'risingTideCache', + outputs: [ + { name: 'index', internalType: 'uint256', type: 'uint256' }, + { name: 'sumForCap', internalType: 'uint256', type: 'uint256' }, + { name: 'sumForNextCap', internalType: 'uint256', type: 'uint256' }, + { name: 'largest', internalType: 'uint256', type: 'uint256' }, ], - name: 'parseUint', + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'risingTideState', outputs: [ - { name: 'parsedValue', internalType: 'uint256', type: 'uint256' }, + { + name: '', + internalType: 'enum RisingTide.RisingTideState', + type: 'uint8', + }, ], - stateMutability: 'pure', + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: '_amount', internalType: 'uint256', type: 'uint256' }], + name: 'risingTide_applyCap', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', inputs: [], - name: 'pauseGasMetering', - outputs: [], - stateMutability: 'nonpayable', + name: 'risingTide_isValidCap', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'msgSender', internalType: 'address', type: 'address' }, - { name: 'txOrigin', internalType: 'address', type: 'address' }, - ], - name: 'prank', - outputs: [], - stateMutability: 'nonpayable', + inputs: [], + name: 'risingTide_totalAllocatedUncapped', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'msgSender', internalType: 'address', type: 'address' }], - name: 'prank', - outputs: [], - stateMutability: 'nonpayable', + inputs: [], + name: 'risingTide_totalCap', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'newPrevrandao', internalType: 'bytes32', type: 'bytes32' }, - ], - name: 'prevrandao', + inputs: [], + name: 'risingTide_validate', outputs: [], stateMutability: 'nonpayable', }, { type: 'function', inputs: [], - name: 'projectRoot', - outputs: [{ name: 'path', internalType: 'string', type: 'string' }], + name: 'risingTide_validating', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], stateMutability: 'view', }, { type: 'function', - inputs: [], - name: 'readCallers', - outputs: [ - { - name: 'callerMode', - internalType: 'enum VmSafe.CallerMode', - type: 'uint8', - }, - { name: 'msgSender', internalType: 'address', type: 'address' }, - { name: 'txOrigin', internalType: 'address', type: 'address' }, - ], + inputs: [{ name: '_cap', internalType: 'uint256', type: 'uint256' }], + name: 'setCap', + outputs: [], stateMutability: 'nonpayable', }, +] as const + +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// CtzndVesting +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +export const ctzndVestingAbi = [ { - type: 'function', + type: 'constructor', inputs: [ - { name: 'path', internalType: 'string', type: 'string' }, - { name: 'maxDepth', internalType: 'uint64', type: 'uint64' }, - ], - name: 'readDir', - outputs: [ { - name: 'entries', - internalType: 'struct VmSafe.DirEntry[]', - type: 'tuple[]', - components: [ - { name: 'errorMessage', internalType: 'string', type: 'string' }, - { name: 'path', internalType: 'string', type: 'string' }, - { name: 'depth', internalType: 'uint64', type: 'uint64' }, - { name: 'isDir', internalType: 'bool', type: 'bool' }, - { name: 'isSymlink', internalType: 'bool', type: 'bool' }, - ], + name: '_publicSaleVestingMonths', + internalType: 'uint256', + type: 'uint256', }, + { name: '_token', internalType: 'address', type: 'address' }, + { name: '_sales', internalType: 'address[]', type: 'address[]' }, + { name: '_privateSaleCap', internalType: 'uint256', type: 'uint256' }, ], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [], + name: 'DEFAULT_ADMIN_ROLE', + outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'path', internalType: 'string', type: 'string' }, - { name: 'maxDepth', internalType: 'uint64', type: 'uint64' }, - { name: 'followLinks', internalType: 'bool', type: 'bool' }, - ], - name: 'readDir', - outputs: [ - { - name: 'entries', - internalType: 'struct VmSafe.DirEntry[]', - type: 'tuple[]', - components: [ - { name: 'errorMessage', internalType: 'string', type: 'string' }, - { name: 'path', internalType: 'string', type: 'string' }, - { name: 'depth', internalType: 'uint64', type: 'uint64' }, - { name: 'isDir', internalType: 'bool', type: 'bool' }, - { name: 'isSymlink', internalType: 'bool', type: 'bool' }, - ], - }, - ], + inputs: [], + name: 'PRIVATE_SALE_MAX_CLIFF_MONTHS', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'path', internalType: 'string', type: 'string' }], - name: 'readDir', - outputs: [ - { - name: 'entries', - internalType: 'struct VmSafe.DirEntry[]', - type: 'tuple[]', - components: [ - { name: 'errorMessage', internalType: 'string', type: 'string' }, - { name: 'path', internalType: 'string', type: 'string' }, - { name: 'depth', internalType: 'uint64', type: 'uint64' }, - { name: 'isDir', internalType: 'bool', type: 'bool' }, - { name: 'isSymlink', internalType: 'bool', type: 'bool' }, - ], - }, - ], + inputs: [], + name: 'SALE_MANAGER_ROLE', + outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'path', internalType: 'string', type: 'string' }], - name: 'readFile', - outputs: [{ name: 'data', internalType: 'string', type: 'string' }], - stateMutability: 'view', + inputs: [{ name: '_sale', internalType: 'address', type: 'address' }], + name: 'addSale', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [{ name: 'path', internalType: 'string', type: 'string' }], - name: 'readFileBinary', - outputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }], + inputs: [{ name: 'to', internalType: 'address', type: 'address' }], + name: 'claim', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'to', internalType: 'address', type: 'address' }], + name: 'claimable', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'path', internalType: 'string', type: 'string' }], - name: 'readLine', - outputs: [{ name: 'line', internalType: 'string', type: 'string' }], + inputs: [{ name: 'to', internalType: 'address', type: 'address' }], + name: 'claimablePrivate', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'linkPath', internalType: 'string', type: 'string' }], - name: 'readLink', - outputs: [{ name: 'targetPath', internalType: 'string', type: 'string' }], + inputs: [{ name: 'to', internalType: 'address', type: 'address' }], + name: 'claimablePublic', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], stateMutability: 'view', }, { type: 'function', - inputs: [], - name: 'record', - outputs: [], - stateMutability: 'nonpayable', + inputs: [{ name: '', internalType: 'address', type: 'address' }], + name: 'claimed', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [], - name: 'recordLogs', + inputs: [ + { name: 'to', internalType: 'address', type: 'address' }, + { name: 'amount', internalType: 'uint256', type: 'uint256' }, + { name: 'cliffMonths', internalType: 'uint16', type: 'uint16' }, + { name: 'vestingMonths', internalType: 'uint16', type: 'uint16' }, + { name: 'nonce', internalType: 'uint64', type: 'uint64' }, + ], + name: 'createPrivateSaleVest', outputs: [], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], - name: 'rememberKey', - outputs: [{ name: 'keyAddr', internalType: 'address', type: 'address' }], - stateMutability: 'nonpayable', + inputs: [{ name: 'role', internalType: 'bytes32', type: 'bytes32' }], + name: 'getRoleAdmin', + outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'view', }, { type: 'function', inputs: [ - { name: 'path', internalType: 'string', type: 'string' }, - { name: 'recursive', internalType: 'bool', type: 'bool' }, + { name: 'role', internalType: 'bytes32', type: 'bytes32' }, + { name: 'account', internalType: 'address', type: 'address' }, ], - name: 'removeDir', + name: 'grantRole', outputs: [], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [{ name: 'path', internalType: 'string', type: 'string' }], - name: 'removeFile', - outputs: [], - stateMutability: 'nonpayable', + inputs: [ + { name: 'role', internalType: 'bytes32', type: 'bytes32' }, + { name: 'account', internalType: 'address', type: 'address' }, + ], + name: 'hasRole', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'account', internalType: 'address', type: 'address' }], - name: 'resetNonce', - outputs: [], - stateMutability: 'nonpayable', + inputs: [{ name: '', internalType: 'address', type: 'address' }], + name: 'privateAllocations', + outputs: [ + { name: 'amount', internalType: 'uint256', type: 'uint256' }, + { name: 'claimedAmount', internalType: 'uint256', type: 'uint256' }, + { name: 'cliffMonths', internalType: 'uint256', type: 'uint256' }, + { name: 'vestingMonths', internalType: 'uint256', type: 'uint256' }, + ], + stateMutability: 'view', }, { type: 'function', inputs: [], - name: 'resumeGasMetering', - outputs: [], - stateMutability: 'nonpayable', + name: 'privateSaleCap', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'snapshotId', internalType: 'uint256', type: 'uint256' }], - name: 'revertTo', - outputs: [{ name: 'success', internalType: 'bool', type: 'bool' }], - stateMutability: 'nonpayable', + inputs: [], + name: 'publicSaleCliffMonths', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'snapshotId', internalType: 'uint256', type: 'uint256' }], - name: 'revertToAndDelete', - outputs: [{ name: 'success', internalType: 'bool', type: 'bool' }], + inputs: [], + name: 'publicSaleVestingMonths', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'to', internalType: 'address', type: 'address' }], + name: 'refund', + outputs: [], stateMutability: 'nonpayable', }, { type: 'function', inputs: [ - { name: 'accounts', internalType: 'address[]', type: 'address[]' }, + { name: 'role', internalType: 'bytes32', type: 'bytes32' }, + { name: 'callerConfirmation', internalType: 'address', type: 'address' }, ], - name: 'revokePersistent', + name: 'renounceRole', outputs: [], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [{ name: 'account', internalType: 'address', type: 'address' }], - name: 'revokePersistent', + inputs: [ + { name: 'role', internalType: 'bytes32', type: 'bytes32' }, + { name: 'account', internalType: 'address', type: 'address' }, + ], + name: 'revokeRole', outputs: [], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [{ name: 'newHeight', internalType: 'uint256', type: 'uint256' }], - name: 'roll', - outputs: [], - stateMutability: 'nonpayable', + inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + name: 'sales', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'txHash', internalType: 'bytes32', type: 'bytes32' }], - name: 'rollFork', + inputs: [{ name: '_startTime', internalType: 'uint256', type: 'uint256' }], + name: 'setStartTime', outputs: [], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [ - { name: 'forkId', internalType: 'uint256', type: 'uint256' }, - { name: 'blockNumber', internalType: 'uint256', type: 'uint256' }, - ], - name: 'rollFork', - outputs: [], - stateMutability: 'nonpayable', + inputs: [], + name: 'startTime', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'blockNumber', internalType: 'uint256', type: 'uint256' }], - name: 'rollFork', - outputs: [], - stateMutability: 'nonpayable', + inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }], + name: 'supportsInterface', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'forkId', internalType: 'uint256', type: 'uint256' }, - { name: 'txHash', internalType: 'bytes32', type: 'bytes32' }, - ], - name: 'rollFork', - outputs: [], - stateMutability: 'nonpayable', + inputs: [], + name: 'token', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'method', internalType: 'string', type: 'string' }, - { name: 'params', internalType: 'string', type: 'string' }, - ], - name: 'rpc', - outputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }], - stateMutability: 'nonpayable', + inputs: [{ name: 'to', internalType: 'address', type: 'address' }], + name: 'totalAllocated', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'rpcAlias', internalType: 'string', type: 'string' }], - name: 'rpcUrl', - outputs: [{ name: 'json', internalType: 'string', type: 'string' }], + inputs: [{ name: 'to', internalType: 'address', type: 'address' }], + name: 'totalAllocatedPrivate', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], stateMutability: 'view', }, { type: 'function', - inputs: [], - name: 'rpcUrlStructs', - outputs: [ - { - name: 'urls', - internalType: 'struct VmSafe.Rpc[]', - type: 'tuple[]', - components: [ - { name: 'key', internalType: 'string', type: 'string' }, - { name: 'url', internalType: 'string', type: 'string' }, - ], - }, - ], + inputs: [{ name: 'to', internalType: 'address', type: 'address' }], + name: 'totalAllocatedPublic', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], stateMutability: 'view', }, { type: 'function', inputs: [], - name: 'rpcUrls', - outputs: [ - { name: 'urls', internalType: 'string[2][]', type: 'string[2][]' }, - ], + name: 'totalPrivateSales', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'forkId', internalType: 'uint256', type: 'uint256' }], - name: 'selectFork', - outputs: [], - stateMutability: 'nonpayable', + inputs: [{ name: '', internalType: 'uint64', type: 'uint64' }], + name: 'usedNonces', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'objectKey', internalType: 'string', type: 'string' }, - { name: 'valueKey', internalType: 'string', type: 'string' }, - { name: 'values', internalType: 'address[]', type: 'address[]' }, + { + name: 'saleContract', + internalType: 'address', + type: 'address', + indexed: true, + }, ], - name: 'serializeAddress', - outputs: [{ name: 'json', internalType: 'string', type: 'string' }], - stateMutability: 'nonpayable', + name: 'AddSale', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'objectKey', internalType: 'string', type: 'string' }, - { name: 'valueKey', internalType: 'string', type: 'string' }, - { name: 'value', internalType: 'address', type: 'address' }, + { name: 'to', internalType: 'address', type: 'address', indexed: true }, + { + name: 'amount', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, ], - name: 'serializeAddress', - outputs: [{ name: 'json', internalType: 'string', type: 'string' }], - stateMutability: 'nonpayable', + name: 'ClaimVesting', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'objectKey', internalType: 'string', type: 'string' }, - { name: 'valueKey', internalType: 'string', type: 'string' }, - { name: 'values', internalType: 'bool[]', type: 'bool[]' }, + { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true }, + { + name: 'previousAdminRole', + internalType: 'bytes32', + type: 'bytes32', + indexed: true, + }, + { + name: 'newAdminRole', + internalType: 'bytes32', + type: 'bytes32', + indexed: true, + }, ], - name: 'serializeBool', - outputs: [{ name: 'json', internalType: 'string', type: 'string' }], - stateMutability: 'nonpayable', + name: 'RoleAdminChanged', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'objectKey', internalType: 'string', type: 'string' }, - { name: 'valueKey', internalType: 'string', type: 'string' }, - { name: 'value', internalType: 'bool', type: 'bool' }, + { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true }, + { + name: 'account', + internalType: 'address', + type: 'address', + indexed: true, + }, + { + name: 'sender', + internalType: 'address', + type: 'address', + indexed: true, + }, ], - name: 'serializeBool', - outputs: [{ name: 'json', internalType: 'string', type: 'string' }], - stateMutability: 'nonpayable', + name: 'RoleGranted', }, { - type: 'function', + type: 'event', + anonymous: false, inputs: [ - { name: 'objectKey', internalType: 'string', type: 'string' }, - { name: 'valueKey', internalType: 'string', type: 'string' }, - { name: 'values', internalType: 'bytes[]', type: 'bytes[]' }, + { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true }, + { + name: 'account', + internalType: 'address', + type: 'address', + indexed: true, + }, + { + name: 'sender', + internalType: 'address', + type: 'address', + indexed: true, + }, ], - name: 'serializeBytes', - outputs: [{ name: 'json', internalType: 'string', type: 'string' }], - stateMutability: 'nonpayable', + name: 'RoleRevoked', }, + { type: 'error', inputs: [], name: 'AccessControlBadConfirmation' }, { - type: 'function', + type: 'error', inputs: [ - { name: 'objectKey', internalType: 'string', type: 'string' }, - { name: 'valueKey', internalType: 'string', type: 'string' }, - { name: 'value', internalType: 'bytes', type: 'bytes' }, + { name: 'account', internalType: 'address', type: 'address' }, + { name: 'neededRole', internalType: 'bytes32', type: 'bytes32' }, ], - name: 'serializeBytes', - outputs: [{ name: 'json', internalType: 'string', type: 'string' }], - stateMutability: 'nonpayable', + name: 'AccessControlUnauthorizedAccount', }, + { type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' }, +] as const + +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// CtzndVm +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +export const ctzndVmAbi = [ { type: 'function', - inputs: [ - { name: 'objectKey', internalType: 'string', type: 'string' }, - { name: 'valueKey', internalType: 'string', type: 'string' }, - { name: 'values', internalType: 'bytes32[]', type: 'bytes32[]' }, + inputs: [{ name: 'target', internalType: 'address', type: 'address' }], + name: 'accesses', + outputs: [ + { name: 'readSlots', internalType: 'bytes32[]', type: 'bytes32[]' }, + { name: 'writeSlots', internalType: 'bytes32[]', type: 'bytes32[]' }, ], - name: 'serializeBytes32', - outputs: [{ name: 'json', internalType: 'string', type: 'string' }], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [ - { name: 'objectKey', internalType: 'string', type: 'string' }, - { name: 'valueKey', internalType: 'string', type: 'string' }, - { name: 'value', internalType: 'bytes32', type: 'bytes32' }, - ], - name: 'serializeBytes32', - outputs: [{ name: 'json', internalType: 'string', type: 'string' }], - stateMutability: 'nonpayable', + inputs: [], + name: 'activeFork', + outputs: [{ name: 'forkId', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'objectKey', internalType: 'string', type: 'string' }, - { name: 'valueKey', internalType: 'string', type: 'string' }, - { name: 'value', internalType: 'int256', type: 'int256' }, - ], - name: 'serializeInt', - outputs: [{ name: 'json', internalType: 'string', type: 'string' }], - stateMutability: 'nonpayable', + inputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], + name: 'addr', + outputs: [{ name: 'keyAddr', internalType: 'address', type: 'address' }], + stateMutability: 'pure', }, { type: 'function', - inputs: [ - { name: 'objectKey', internalType: 'string', type: 'string' }, - { name: 'valueKey', internalType: 'string', type: 'string' }, - { name: 'values', internalType: 'int256[]', type: 'int256[]' }, - ], - name: 'serializeInt', - outputs: [{ name: 'json', internalType: 'string', type: 'string' }], + inputs: [{ name: 'account', internalType: 'address', type: 'address' }], + name: 'allowCheatcodes', + outputs: [], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [ - { name: 'objectKey', internalType: 'string', type: 'string' }, - { name: 'value', internalType: 'string', type: 'string' }, - ], - name: 'serializeJson', - outputs: [{ name: 'json', internalType: 'string', type: 'string' }], - stateMutability: 'nonpayable', + inputs: [{ name: 'condition', internalType: 'bool', type: 'bool' }], + name: 'assume', + outputs: [], + stateMutability: 'pure', }, { type: 'function', - inputs: [ - { name: 'objectKey', internalType: 'string', type: 'string' }, - { name: 'valueKey', internalType: 'string', type: 'string' }, - { name: 'values', internalType: 'string[]', type: 'string[]' }, - ], - name: 'serializeString', - outputs: [{ name: 'json', internalType: 'string', type: 'string' }], + inputs: [{ name: 'char', internalType: 'string', type: 'string' }], + name: 'breakpoint', + outputs: [], stateMutability: 'nonpayable', }, { type: 'function', inputs: [ - { name: 'objectKey', internalType: 'string', type: 'string' }, - { name: 'valueKey', internalType: 'string', type: 'string' }, - { name: 'value', internalType: 'string', type: 'string' }, + { name: 'char', internalType: 'string', type: 'string' }, + { name: 'value', internalType: 'bool', type: 'bool' }, ], - name: 'serializeString', - outputs: [{ name: 'json', internalType: 'string', type: 'string' }], + name: 'breakpoint', + outputs: [], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [ - { name: 'objectKey', internalType: 'string', type: 'string' }, - { name: 'valueKey', internalType: 'string', type: 'string' }, - { name: 'value', internalType: 'uint256', type: 'uint256' }, - ], - name: 'serializeUint', - outputs: [{ name: 'json', internalType: 'string', type: 'string' }], + inputs: [], + name: 'broadcast', + outputs: [], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [ - { name: 'objectKey', internalType: 'string', type: 'string' }, - { name: 'valueKey', internalType: 'string', type: 'string' }, - { name: 'values', internalType: 'uint256[]', type: 'uint256[]' }, - ], - name: 'serializeUint', - outputs: [{ name: 'json', internalType: 'string', type: 'string' }], + inputs: [{ name: 'signer', internalType: 'address', type: 'address' }], + name: 'broadcast', + outputs: [], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'value', internalType: 'string', type: 'string' }, - ], - name: 'setEnv', + inputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], + name: 'broadcast', outputs: [], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [ - { name: 'account', internalType: 'address', type: 'address' }, - { name: 'newNonce', internalType: 'uint64', type: 'uint64' }, - ], - name: 'setNonce', + inputs: [{ name: 'newChainId', internalType: 'uint256', type: 'uint256' }], + name: 'chainId', outputs: [], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [ - { name: 'account', internalType: 'address', type: 'address' }, - { name: 'newNonce', internalType: 'uint64', type: 'uint64' }, - ], - name: 'setNonceUnsafe', + inputs: [], + name: 'clearMockedCalls', outputs: [], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [ - { - name: 'wallet', - internalType: 'struct VmSafe.Wallet', - type: 'tuple', - components: [ - { name: 'addr', internalType: 'address', type: 'address' }, - { name: 'publicKeyX', internalType: 'uint256', type: 'uint256' }, - { name: 'publicKeyY', internalType: 'uint256', type: 'uint256' }, - { name: 'privateKey', internalType: 'uint256', type: 'uint256' }, - ], - }, - { name: 'digest', internalType: 'bytes32', type: 'bytes32' }, - ], - name: 'sign', - outputs: [ - { name: 'v', internalType: 'uint8', type: 'uint8' }, - { name: 'r', internalType: 'bytes32', type: 'bytes32' }, - { name: 's', internalType: 'bytes32', type: 'bytes32' }, - ], + inputs: [{ name: 'path', internalType: 'string', type: 'string' }], + name: 'closeFile', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'newCoinbase', internalType: 'address', type: 'address' }], + name: 'coinbase', + outputs: [], stateMutability: 'nonpayable', }, { type: 'function', inputs: [ - { name: 'privateKey', internalType: 'uint256', type: 'uint256' }, - { name: 'digest', internalType: 'bytes32', type: 'bytes32' }, - ], - name: 'sign', - outputs: [ - { name: 'v', internalType: 'uint8', type: 'uint8' }, - { name: 'r', internalType: 'bytes32', type: 'bytes32' }, - { name: 's', internalType: 'bytes32', type: 'bytes32' }, + { name: 'salt', internalType: 'bytes32', type: 'bytes32' }, + { name: 'initCodeHash', internalType: 'bytes32', type: 'bytes32' }, ], + name: 'computeCreate2Address', + outputs: [{ name: '', internalType: 'address', type: 'address' }], stateMutability: 'pure', }, { type: 'function', inputs: [ - { name: 'privateKey', internalType: 'uint256', type: 'uint256' }, - { name: 'digest', internalType: 'bytes32', type: 'bytes32' }, + { name: 'salt', internalType: 'bytes32', type: 'bytes32' }, + { name: 'initCodeHash', internalType: 'bytes32', type: 'bytes32' }, + { name: 'deployer', internalType: 'address', type: 'address' }, ], - name: 'signP256', - outputs: [ - { name: 'r', internalType: 'bytes32', type: 'bytes32' }, - { name: 's', internalType: 'bytes32', type: 'bytes32' }, + name: 'computeCreate2Address', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'deployer', internalType: 'address', type: 'address' }, + { name: 'nonce', internalType: 'uint256', type: 'uint256' }, ], + name: 'computeCreateAddress', + outputs: [{ name: '', internalType: 'address', type: 'address' }], stateMutability: 'pure', }, { type: 'function', - inputs: [{ name: 'skipTest', internalType: 'bool', type: 'bool' }], - name: 'skip', - outputs: [], + inputs: [ + { name: 'from', internalType: 'string', type: 'string' }, + { name: 'to', internalType: 'string', type: 'string' }, + ], + name: 'copyFile', + outputs: [{ name: 'copied', internalType: 'uint64', type: 'uint64' }], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [{ name: 'duration', internalType: 'uint256', type: 'uint256' }], - name: 'sleep', + inputs: [ + { name: 'path', internalType: 'string', type: 'string' }, + { name: 'recursive', internalType: 'bool', type: 'bool' }, + ], + name: 'createDir', outputs: [], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [], - name: 'snapshot', - outputs: [{ name: 'snapshotId', internalType: 'uint256', type: 'uint256' }], + inputs: [{ name: 'urlOrAlias', internalType: 'string', type: 'string' }], + name: 'createFork', + outputs: [{ name: 'forkId', internalType: 'uint256', type: 'uint256' }], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [], - name: 'startBroadcast', - outputs: [], + inputs: [ + { name: 'urlOrAlias', internalType: 'string', type: 'string' }, + { name: 'blockNumber', internalType: 'uint256', type: 'uint256' }, + ], + name: 'createFork', + outputs: [{ name: 'forkId', internalType: 'uint256', type: 'uint256' }], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [{ name: 'signer', internalType: 'address', type: 'address' }], - name: 'startBroadcast', - outputs: [], + inputs: [ + { name: 'urlOrAlias', internalType: 'string', type: 'string' }, + { name: 'txHash', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'createFork', + outputs: [{ name: 'forkId', internalType: 'uint256', type: 'uint256' }], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], - name: 'startBroadcast', - outputs: [], + inputs: [ + { name: 'urlOrAlias', internalType: 'string', type: 'string' }, + { name: 'blockNumber', internalType: 'uint256', type: 'uint256' }, + ], + name: 'createSelectFork', + outputs: [{ name: 'forkId', internalType: 'uint256', type: 'uint256' }], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [], - name: 'startMappingRecording', - outputs: [], + inputs: [ + { name: 'urlOrAlias', internalType: 'string', type: 'string' }, + { name: 'txHash', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'createSelectFork', + outputs: [{ name: 'forkId', internalType: 'uint256', type: 'uint256' }], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [{ name: 'msgSender', internalType: 'address', type: 'address' }], - name: 'startPrank', - outputs: [], + inputs: [{ name: 'urlOrAlias', internalType: 'string', type: 'string' }], + name: 'createSelectFork', + outputs: [{ name: 'forkId', internalType: 'uint256', type: 'uint256' }], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [ - { name: 'msgSender', internalType: 'address', type: 'address' }, - { name: 'txOrigin', internalType: 'address', type: 'address' }, + inputs: [{ name: 'walletLabel', internalType: 'string', type: 'string' }], + name: 'createWallet', + outputs: [ + { + name: 'wallet', + internalType: 'struct VmSafe.Wallet', + type: 'tuple', + components: [ + { name: 'addr', internalType: 'address', type: 'address' }, + { name: 'publicKeyX', internalType: 'uint256', type: 'uint256' }, + { name: 'publicKeyY', internalType: 'uint256', type: 'uint256' }, + { name: 'privateKey', internalType: 'uint256', type: 'uint256' }, + ], + }, ], - name: 'startPrank', - outputs: [], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [], - name: 'startStateDiffRecording', - outputs: [], + inputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], + name: 'createWallet', + outputs: [ + { + name: 'wallet', + internalType: 'struct VmSafe.Wallet', + type: 'tuple', + components: [ + { name: 'addr', internalType: 'address', type: 'address' }, + { name: 'publicKeyX', internalType: 'uint256', type: 'uint256' }, + { name: 'publicKeyY', internalType: 'uint256', type: 'uint256' }, + { name: 'privateKey', internalType: 'uint256', type: 'uint256' }, + ], + }, + ], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [], - name: 'stopAndReturnStateDiff', + inputs: [ + { name: 'privateKey', internalType: 'uint256', type: 'uint256' }, + { name: 'walletLabel', internalType: 'string', type: 'string' }, + ], + name: 'createWallet', outputs: [ { - name: 'accountAccesses', - internalType: 'struct VmSafe.AccountAccess[]', - type: 'tuple[]', + name: 'wallet', + internalType: 'struct VmSafe.Wallet', + type: 'tuple', components: [ - { - name: 'chainInfo', - internalType: 'struct VmSafe.ChainInfo', - type: 'tuple', - components: [ - { name: 'forkId', internalType: 'uint256', type: 'uint256' }, - { name: 'chainId', internalType: 'uint256', type: 'uint256' }, - ], - }, - { - name: 'kind', - internalType: 'enum VmSafe.AccountAccessKind', - type: 'uint8', - }, - { name: 'account', internalType: 'address', type: 'address' }, - { name: 'accessor', internalType: 'address', type: 'address' }, - { name: 'initialized', internalType: 'bool', type: 'bool' }, - { name: 'oldBalance', internalType: 'uint256', type: 'uint256' }, - { name: 'newBalance', internalType: 'uint256', type: 'uint256' }, - { name: 'deployedCode', internalType: 'bytes', type: 'bytes' }, - { name: 'value', internalType: 'uint256', type: 'uint256' }, - { name: 'data', internalType: 'bytes', type: 'bytes' }, - { name: 'reverted', internalType: 'bool', type: 'bool' }, - { - name: 'storageAccesses', - internalType: 'struct VmSafe.StorageAccess[]', - type: 'tuple[]', - components: [ - { name: 'account', internalType: 'address', type: 'address' }, - { name: 'slot', internalType: 'bytes32', type: 'bytes32' }, - { name: 'isWrite', internalType: 'bool', type: 'bool' }, - { - name: 'previousValue', - internalType: 'bytes32', - type: 'bytes32', - }, - { name: 'newValue', internalType: 'bytes32', type: 'bytes32' }, - { name: 'reverted', internalType: 'bool', type: 'bool' }, - ], - }, + { name: 'addr', internalType: 'address', type: 'address' }, + { name: 'publicKeyX', internalType: 'uint256', type: 'uint256' }, + { name: 'publicKeyY', internalType: 'uint256', type: 'uint256' }, + { name: 'privateKey', internalType: 'uint256', type: 'uint256' }, ], }, ], @@ -11092,372 +10519,390 @@ export const ctzndVmAbi = [ }, { type: 'function', - inputs: [], - name: 'stopBroadcast', + inputs: [ + { name: 'account', internalType: 'address', type: 'address' }, + { name: 'newBalance', internalType: 'uint256', type: 'uint256' }, + ], + name: 'deal', outputs: [], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [], - name: 'stopMappingRecording', - outputs: [], + inputs: [{ name: 'snapshotId', internalType: 'uint256', type: 'uint256' }], + name: 'deleteSnapshot', + outputs: [{ name: 'success', internalType: 'bool', type: 'bool' }], stateMutability: 'nonpayable', }, { type: 'function', inputs: [], - name: 'stopPrank', + name: 'deleteSnapshots', outputs: [], stateMutability: 'nonpayable', }, { type: 'function', inputs: [ - { name: 'target', internalType: 'address', type: 'address' }, - { name: 'slot', internalType: 'bytes32', type: 'bytes32' }, - { name: 'value', internalType: 'bytes32', type: 'bytes32' }, + { name: 'mnemonic', internalType: 'string', type: 'string' }, + { name: 'derivationPath', internalType: 'string', type: 'string' }, + { name: 'index', internalType: 'uint32', type: 'uint32' }, + { name: 'language', internalType: 'string', type: 'string' }, ], - name: 'store', - outputs: [], - stateMutability: 'nonpayable', + name: 'deriveKey', + outputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'pure', }, { type: 'function', - inputs: [{ name: 'data', internalType: 'string', type: 'string' }], - name: 'toBase64', - outputs: [{ name: '', internalType: 'string', type: 'string' }], + inputs: [ + { name: 'mnemonic', internalType: 'string', type: 'string' }, + { name: 'index', internalType: 'uint32', type: 'uint32' }, + { name: 'language', internalType: 'string', type: 'string' }, + ], + name: 'deriveKey', + outputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], stateMutability: 'pure', }, { type: 'function', - inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }], - name: 'toBase64', - outputs: [{ name: '', internalType: 'string', type: 'string' }], + inputs: [ + { name: 'mnemonic', internalType: 'string', type: 'string' }, + { name: 'index', internalType: 'uint32', type: 'uint32' }, + ], + name: 'deriveKey', + outputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], stateMutability: 'pure', }, { type: 'function', - inputs: [{ name: 'data', internalType: 'string', type: 'string' }], - name: 'toBase64URL', - outputs: [{ name: '', internalType: 'string', type: 'string' }], + inputs: [ + { name: 'mnemonic', internalType: 'string', type: 'string' }, + { name: 'derivationPath', internalType: 'string', type: 'string' }, + { name: 'index', internalType: 'uint32', type: 'uint32' }, + ], + name: 'deriveKey', + outputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], stateMutability: 'pure', }, { type: 'function', - inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }], - name: 'toBase64URL', - outputs: [{ name: '', internalType: 'string', type: 'string' }], - stateMutability: 'pure', + inputs: [ + { name: 'newDifficulty', internalType: 'uint256', type: 'uint256' }, + ], + name: 'difficulty', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [{ name: 'value', internalType: 'address', type: 'address' }], - name: 'toString', - outputs: [ - { name: 'stringifiedValue', internalType: 'string', type: 'string' }, + inputs: [ + { name: 'pathToStateJson', internalType: 'string', type: 'string' }, ], - stateMutability: 'pure', + name: 'dumpState', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [{ name: 'value', internalType: 'uint256', type: 'uint256' }], - name: 'toString', - outputs: [ - { name: 'stringifiedValue', internalType: 'string', type: 'string' }, - ], - stateMutability: 'pure', + inputs: [{ name: 'name', internalType: 'string', type: 'string' }], + name: 'envAddress', + outputs: [{ name: 'value', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'value', internalType: 'bytes', type: 'bytes' }], - name: 'toString', - outputs: [ - { name: 'stringifiedValue', internalType: 'string', type: 'string' }, + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, ], - stateMutability: 'pure', + name: 'envAddress', + outputs: [{ name: 'value', internalType: 'address[]', type: 'address[]' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'value', internalType: 'bool', type: 'bool' }], - name: 'toString', - outputs: [ - { name: 'stringifiedValue', internalType: 'string', type: 'string' }, - ], - stateMutability: 'pure', + inputs: [{ name: 'name', internalType: 'string', type: 'string' }], + name: 'envBool', + outputs: [{ name: 'value', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'value', internalType: 'int256', type: 'int256' }], - name: 'toString', - outputs: [ - { name: 'stringifiedValue', internalType: 'string', type: 'string' }, + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, ], - stateMutability: 'pure', + name: 'envBool', + outputs: [{ name: 'value', internalType: 'bool[]', type: 'bool[]' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'value', internalType: 'bytes32', type: 'bytes32' }], - name: 'toString', - outputs: [ - { name: 'stringifiedValue', internalType: 'string', type: 'string' }, + inputs: [{ name: 'name', internalType: 'string', type: 'string' }], + name: 'envBytes', + outputs: [{ name: 'value', internalType: 'bytes', type: 'bytes' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, ], - stateMutability: 'pure', + name: 'envBytes', + outputs: [{ name: 'value', internalType: 'bytes[]', type: 'bytes[]' }], + stateMutability: 'view', }, { type: 'function', inputs: [ - { name: 'forkId', internalType: 'uint256', type: 'uint256' }, - { name: 'txHash', internalType: 'bytes32', type: 'bytes32' }, + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, ], - name: 'transact', - outputs: [], - stateMutability: 'nonpayable', + name: 'envBytes32', + outputs: [{ name: 'value', internalType: 'bytes32[]', type: 'bytes32[]' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'txHash', internalType: 'bytes32', type: 'bytes32' }], - name: 'transact', - outputs: [], - stateMutability: 'nonpayable', + inputs: [{ name: 'name', internalType: 'string', type: 'string' }], + name: 'envBytes32', + outputs: [{ name: 'value', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'view', }, { type: 'function', inputs: [ - { name: 'commandInput', internalType: 'string[]', type: 'string[]' }, - ], - name: 'tryFfi', - outputs: [ - { - name: 'result', - internalType: 'struct VmSafe.FfiResult', - type: 'tuple', - components: [ - { name: 'exitCode', internalType: 'int32', type: 'int32' }, - { name: 'stdout', internalType: 'bytes', type: 'bytes' }, - { name: 'stderr', internalType: 'bytes', type: 'bytes' }, - ], - }, + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, ], - stateMutability: 'nonpayable', + name: 'envInt', + outputs: [{ name: 'value', internalType: 'int256[]', type: 'int256[]' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'newGasPrice', internalType: 'uint256', type: 'uint256' }], - name: 'txGasPrice', - outputs: [], - stateMutability: 'nonpayable', + inputs: [{ name: 'name', internalType: 'string', type: 'string' }], + name: 'envInt', + outputs: [{ name: 'value', internalType: 'int256', type: 'int256' }], + stateMutability: 'view', }, { type: 'function', - inputs: [], - name: 'unixTime', - outputs: [ - { name: 'milliseconds', internalType: 'uint256', type: 'uint256' }, + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'bytes32[]', type: 'bytes32[]' }, ], - stateMutability: 'nonpayable', + name: 'envOr', + outputs: [{ name: 'value', internalType: 'bytes32[]', type: 'bytes32[]' }], + stateMutability: 'view', }, { type: 'function', inputs: [ - { name: 'newTimestamp', internalType: 'uint256', type: 'uint256' }, + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'int256[]', type: 'int256[]' }, ], - name: 'warp', - outputs: [], - stateMutability: 'nonpayable', + name: 'envOr', + outputs: [{ name: 'value', internalType: 'int256[]', type: 'int256[]' }], + stateMutability: 'view', }, { type: 'function', inputs: [ - { name: 'path', internalType: 'string', type: 'string' }, - { name: 'data', internalType: 'string', type: 'string' }, + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'bool', type: 'bool' }, ], - name: 'writeFile', - outputs: [], - stateMutability: 'nonpayable', + name: 'envOr', + outputs: [{ name: 'value', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', }, { type: 'function', inputs: [ - { name: 'path', internalType: 'string', type: 'string' }, - { name: 'data', internalType: 'bytes', type: 'bytes' }, + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'address', type: 'address' }, ], - name: 'writeFileBinary', - outputs: [], - stateMutability: 'nonpayable', + name: 'envOr', + outputs: [{ name: 'value', internalType: 'address', type: 'address' }], + stateMutability: 'view', }, { type: 'function', inputs: [ - { name: 'json', internalType: 'string', type: 'string' }, - { name: 'path', internalType: 'string', type: 'string' }, - { name: 'valueKey', internalType: 'string', type: 'string' }, + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'uint256', type: 'uint256' }, ], - name: 'writeJson', - outputs: [], - stateMutability: 'nonpayable', + name: 'envOr', + outputs: [{ name: 'value', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', inputs: [ - { name: 'json', internalType: 'string', type: 'string' }, - { name: 'path', internalType: 'string', type: 'string' }, + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'bytes[]', type: 'bytes[]' }, ], - name: 'writeJson', - outputs: [], - stateMutability: 'nonpayable', + name: 'envOr', + outputs: [{ name: 'value', internalType: 'bytes[]', type: 'bytes[]' }], + stateMutability: 'view', }, { type: 'function', inputs: [ - { name: 'path', internalType: 'string', type: 'string' }, - { name: 'data', internalType: 'string', type: 'string' }, + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'uint256[]', type: 'uint256[]' }, ], - name: 'writeLine', - outputs: [], - stateMutability: 'nonpayable', + name: 'envOr', + outputs: [{ name: 'value', internalType: 'uint256[]', type: 'uint256[]' }], + stateMutability: 'view', }, -] as const - -////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// CtzndVmSafe -////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - -export const ctzndVmSafeAbi = [ { type: 'function', - inputs: [{ name: 'target', internalType: 'address', type: 'address' }], - name: 'accesses', - outputs: [ - { name: 'readSlots', internalType: 'bytes32[]', type: 'bytes32[]' }, - { name: 'writeSlots', internalType: 'bytes32[]', type: 'bytes32[]' }, + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'string[]', type: 'string[]' }, ], - stateMutability: 'nonpayable', + name: 'envOr', + outputs: [{ name: 'value', internalType: 'string[]', type: 'string[]' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], - name: 'addr', - outputs: [{ name: 'keyAddr', internalType: 'address', type: 'address' }], - stateMutability: 'pure', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'bytes', type: 'bytes' }, + ], + name: 'envOr', + outputs: [{ name: 'value', internalType: 'bytes', type: 'bytes' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'condition', internalType: 'bool', type: 'bool' }], - name: 'assume', - outputs: [], - stateMutability: 'pure', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'envOr', + outputs: [{ name: 'value', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'char', internalType: 'string', type: 'string' }], - name: 'breakpoint', - outputs: [], - stateMutability: 'nonpayable', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'int256', type: 'int256' }, + ], + name: 'envOr', + outputs: [{ name: 'value', internalType: 'int256', type: 'int256' }], + stateMutability: 'view', }, { type: 'function', inputs: [ - { name: 'char', internalType: 'string', type: 'string' }, - { name: 'value', internalType: 'bool', type: 'bool' }, - ], - name: 'breakpoint', - outputs: [], - stateMutability: 'nonpayable', - }, - { - type: 'function', - inputs: [], - name: 'broadcast', - outputs: [], - stateMutability: 'nonpayable', - }, - { - type: 'function', - inputs: [{ name: 'signer', internalType: 'address', type: 'address' }], - name: 'broadcast', - outputs: [], - stateMutability: 'nonpayable', + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'address[]', type: 'address[]' }, + ], + name: 'envOr', + outputs: [{ name: 'value', internalType: 'address[]', type: 'address[]' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], - name: 'broadcast', - outputs: [], - stateMutability: 'nonpayable', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'string', type: 'string' }, + ], + name: 'envOr', + outputs: [{ name: 'value', internalType: 'string', type: 'string' }], + stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'path', internalType: 'string', type: 'string' }], - name: 'closeFile', - outputs: [], - stateMutability: 'nonpayable', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'bool[]', type: 'bool[]' }, + ], + name: 'envOr', + outputs: [{ name: 'value', internalType: 'bool[]', type: 'bool[]' }], + stateMutability: 'view', }, { type: 'function', inputs: [ - { name: 'salt', internalType: 'bytes32', type: 'bytes32' }, - { name: 'initCodeHash', internalType: 'bytes32', type: 'bytes32' }, + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, ], - name: 'computeCreate2Address', - outputs: [{ name: '', internalType: 'address', type: 'address' }], - stateMutability: 'pure', + name: 'envString', + outputs: [{ name: 'value', internalType: 'string[]', type: 'string[]' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'salt', internalType: 'bytes32', type: 'bytes32' }, - { name: 'initCodeHash', internalType: 'bytes32', type: 'bytes32' }, - { name: 'deployer', internalType: 'address', type: 'address' }, - ], - name: 'computeCreate2Address', - outputs: [{ name: '', internalType: 'address', type: 'address' }], - stateMutability: 'pure', + inputs: [{ name: 'name', internalType: 'string', type: 'string' }], + name: 'envString', + outputs: [{ name: 'value', internalType: 'string', type: 'string' }], + stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'deployer', internalType: 'address', type: 'address' }, - { name: 'nonce', internalType: 'uint256', type: 'uint256' }, - ], - name: 'computeCreateAddress', - outputs: [{ name: '', internalType: 'address', type: 'address' }], - stateMutability: 'pure', + inputs: [{ name: 'name', internalType: 'string', type: 'string' }], + name: 'envUint', + outputs: [{ name: 'value', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', }, { type: 'function', inputs: [ - { name: 'from', internalType: 'string', type: 'string' }, - { name: 'to', internalType: 'string', type: 'string' }, + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, ], - name: 'copyFile', - outputs: [{ name: 'copied', internalType: 'uint64', type: 'uint64' }], - stateMutability: 'nonpayable', + name: 'envUint', + outputs: [{ name: 'value', internalType: 'uint256[]', type: 'uint256[]' }], + stateMutability: 'view', }, { type: 'function', inputs: [ - { name: 'path', internalType: 'string', type: 'string' }, - { name: 'recursive', internalType: 'bool', type: 'bool' }, + { name: 'target', internalType: 'address', type: 'address' }, + { name: 'newRuntimeBytecode', internalType: 'bytes', type: 'bytes' }, ], - name: 'createDir', + name: 'etch', outputs: [], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [{ name: 'walletLabel', internalType: 'string', type: 'string' }], - name: 'createWallet', + inputs: [ + { name: 'fromBlock', internalType: 'uint256', type: 'uint256' }, + { name: 'toBlock', internalType: 'uint256', type: 'uint256' }, + { name: 'target', internalType: 'address', type: 'address' }, + { name: 'topics', internalType: 'bytes32[]', type: 'bytes32[]' }, + ], + name: 'eth_getLogs', outputs: [ { - name: 'wallet', - internalType: 'struct VmSafe.Wallet', - type: 'tuple', + name: 'logs', + internalType: 'struct VmSafe.EthGetLogs[]', + type: 'tuple[]', components: [ - { name: 'addr', internalType: 'address', type: 'address' }, - { name: 'publicKeyX', internalType: 'uint256', type: 'uint256' }, - { name: 'publicKeyY', internalType: 'uint256', type: 'uint256' }, - { name: 'privateKey', internalType: 'uint256', type: 'uint256' }, + { name: 'emitter', internalType: 'address', type: 'address' }, + { name: 'topics', internalType: 'bytes32[]', type: 'bytes32[]' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, + { name: 'blockHash', internalType: 'bytes32', type: 'bytes32' }, + { name: 'blockNumber', internalType: 'uint64', type: 'uint64' }, + { name: 'transactionHash', internalType: 'bytes32', type: 'bytes32' }, + { name: 'transactionIndex', internalType: 'uint64', type: 'uint64' }, + { name: 'logIndex', internalType: 'uint256', type: 'uint256' }, + { name: 'removed', internalType: 'bool', type: 'bool' }, ], }, ], @@ -11465,379 +10910,336 @@ export const ctzndVmSafeAbi = [ }, { type: 'function', - inputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], - name: 'createWallet', - outputs: [ - { - name: 'wallet', - internalType: 'struct VmSafe.Wallet', - type: 'tuple', - components: [ - { name: 'addr', internalType: 'address', type: 'address' }, - { name: 'publicKeyX', internalType: 'uint256', type: 'uint256' }, - { name: 'publicKeyY', internalType: 'uint256', type: 'uint256' }, - { name: 'privateKey', internalType: 'uint256', type: 'uint256' }, - ], - }, - ], + inputs: [{ name: 'path', internalType: 'string', type: 'string' }], + name: 'exists', + outputs: [{ name: 'result', internalType: 'bool', type: 'bool' }], stateMutability: 'nonpayable', }, { type: 'function', inputs: [ - { name: 'privateKey', internalType: 'uint256', type: 'uint256' }, - { name: 'walletLabel', internalType: 'string', type: 'string' }, + { name: 'callee', internalType: 'address', type: 'address' }, + { name: 'msgValue', internalType: 'uint256', type: 'uint256' }, + { name: 'gas', internalType: 'uint64', type: 'uint64' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, ], - name: 'createWallet', - outputs: [ - { - name: 'wallet', - internalType: 'struct VmSafe.Wallet', - type: 'tuple', - components: [ - { name: 'addr', internalType: 'address', type: 'address' }, - { name: 'publicKeyX', internalType: 'uint256', type: 'uint256' }, - { name: 'publicKeyY', internalType: 'uint256', type: 'uint256' }, - { name: 'privateKey', internalType: 'uint256', type: 'uint256' }, - ], - }, + name: 'expectCall', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'callee', internalType: 'address', type: 'address' }, + { name: 'msgValue', internalType: 'uint256', type: 'uint256' }, + { name: 'gas', internalType: 'uint64', type: 'uint64' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, + { name: 'count', internalType: 'uint64', type: 'uint64' }, ], + name: 'expectCall', + outputs: [], stateMutability: 'nonpayable', }, { type: 'function', inputs: [ - { name: 'mnemonic', internalType: 'string', type: 'string' }, - { name: 'derivationPath', internalType: 'string', type: 'string' }, - { name: 'index', internalType: 'uint32', type: 'uint32' }, - { name: 'language', internalType: 'string', type: 'string' }, + { name: 'callee', internalType: 'address', type: 'address' }, + { name: 'msgValue', internalType: 'uint256', type: 'uint256' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, + { name: 'count', internalType: 'uint64', type: 'uint64' }, ], - name: 'deriveKey', - outputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'pure', + name: 'expectCall', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', inputs: [ - { name: 'mnemonic', internalType: 'string', type: 'string' }, - { name: 'index', internalType: 'uint32', type: 'uint32' }, - { name: 'language', internalType: 'string', type: 'string' }, + { name: 'callee', internalType: 'address', type: 'address' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, ], - name: 'deriveKey', - outputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'pure', + name: 'expectCall', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', inputs: [ - { name: 'mnemonic', internalType: 'string', type: 'string' }, - { name: 'index', internalType: 'uint32', type: 'uint32' }, + { name: 'callee', internalType: 'address', type: 'address' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, + { name: 'count', internalType: 'uint64', type: 'uint64' }, ], - name: 'deriveKey', - outputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'pure', + name: 'expectCall', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', inputs: [ - { name: 'mnemonic', internalType: 'string', type: 'string' }, - { name: 'derivationPath', internalType: 'string', type: 'string' }, - { name: 'index', internalType: 'uint32', type: 'uint32' }, + { name: 'callee', internalType: 'address', type: 'address' }, + { name: 'msgValue', internalType: 'uint256', type: 'uint256' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, ], - name: 'deriveKey', - outputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'pure', + name: 'expectCall', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [{ name: 'name', internalType: 'string', type: 'string' }], - name: 'envAddress', - outputs: [{ name: 'value', internalType: 'address', type: 'address' }], - stateMutability: 'view', + inputs: [ + { name: 'callee', internalType: 'address', type: 'address' }, + { name: 'msgValue', internalType: 'uint256', type: 'uint256' }, + { name: 'minGas', internalType: 'uint64', type: 'uint64' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, + ], + name: 'expectCallMinGas', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, + { name: 'callee', internalType: 'address', type: 'address' }, + { name: 'msgValue', internalType: 'uint256', type: 'uint256' }, + { name: 'minGas', internalType: 'uint64', type: 'uint64' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, + { name: 'count', internalType: 'uint64', type: 'uint64' }, ], - name: 'envAddress', - outputs: [{ name: 'value', internalType: 'address[]', type: 'address[]' }], - stateMutability: 'view', + name: 'expectCallMinGas', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [{ name: 'name', internalType: 'string', type: 'string' }], - name: 'envBool', - outputs: [{ name: 'value', internalType: 'bool', type: 'bool' }], - stateMutability: 'view', + inputs: [], + name: 'expectEmit', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, + { name: 'checkTopic1', internalType: 'bool', type: 'bool' }, + { name: 'checkTopic2', internalType: 'bool', type: 'bool' }, + { name: 'checkTopic3', internalType: 'bool', type: 'bool' }, + { name: 'checkData', internalType: 'bool', type: 'bool' }, ], - name: 'envBool', - outputs: [{ name: 'value', internalType: 'bool[]', type: 'bool[]' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [{ name: 'name', internalType: 'string', type: 'string' }], - name: 'envBytes', - outputs: [{ name: 'value', internalType: 'bytes', type: 'bytes' }], - stateMutability: 'view', + name: 'expectEmit', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, + { name: 'checkTopic1', internalType: 'bool', type: 'bool' }, + { name: 'checkTopic2', internalType: 'bool', type: 'bool' }, + { name: 'checkTopic3', internalType: 'bool', type: 'bool' }, + { name: 'checkData', internalType: 'bool', type: 'bool' }, + { name: 'emitter', internalType: 'address', type: 'address' }, ], - name: 'envBytes', - outputs: [{ name: 'value', internalType: 'bytes[]', type: 'bytes[]' }], - stateMutability: 'view', + name: 'expectEmit', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, - ], - name: 'envBytes32', - outputs: [{ name: 'value', internalType: 'bytes32[]', type: 'bytes32[]' }], - stateMutability: 'view', + inputs: [{ name: 'emitter', internalType: 'address', type: 'address' }], + name: 'expectEmit', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [{ name: 'name', internalType: 'string', type: 'string' }], - name: 'envBytes32', - outputs: [{ name: 'value', internalType: 'bytes32', type: 'bytes32' }], - stateMutability: 'view', + inputs: [{ name: 'revertData', internalType: 'bytes4', type: 'bytes4' }], + name: 'expectRevert', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, - ], - name: 'envInt', - outputs: [{ name: 'value', internalType: 'int256[]', type: 'int256[]' }], - stateMutability: 'view', + inputs: [{ name: 'revertData', internalType: 'bytes', type: 'bytes' }], + name: 'expectRevert', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [{ name: 'name', internalType: 'string', type: 'string' }], - name: 'envInt', - outputs: [{ name: 'value', internalType: 'int256', type: 'int256' }], - stateMutability: 'view', + inputs: [], + name: 'expectRevert', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'bytes32[]', type: 'bytes32[]' }, + { name: 'min', internalType: 'uint64', type: 'uint64' }, + { name: 'max', internalType: 'uint64', type: 'uint64' }, ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'bytes32[]', type: 'bytes32[]' }], - stateMutability: 'view', + name: 'expectSafeMemory', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'int256[]', type: 'int256[]' }, + { name: 'min', internalType: 'uint64', type: 'uint64' }, + { name: 'max', internalType: 'uint64', type: 'uint64' }, ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'int256[]', type: 'int256[]' }], - stateMutability: 'view', + name: 'expectSafeMemoryCall', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'bool', type: 'bool' }, - ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'bool', type: 'bool' }], - stateMutability: 'view', + inputs: [{ name: 'newBasefee', internalType: 'uint256', type: 'uint256' }], + name: 'fee', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'address', type: 'address' }, + { name: 'commandInput', internalType: 'string[]', type: 'string[]' }, ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'address', type: 'address' }], - stateMutability: 'view', + name: 'ffi', + outputs: [{ name: 'result', internalType: 'bytes', type: 'bytes' }], + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'uint256', type: 'uint256' }, + inputs: [{ name: 'path', internalType: 'string', type: 'string' }], + name: 'fsMetadata', + outputs: [ + { + name: 'metadata', + internalType: 'struct VmSafe.FsMetadata', + type: 'tuple', + components: [ + { name: 'isDir', internalType: 'bool', type: 'bool' }, + { name: 'isSymlink', internalType: 'bool', type: 'bool' }, + { name: 'length', internalType: 'uint256', type: 'uint256' }, + { name: 'readOnly', internalType: 'bool', type: 'bool' }, + { name: 'modified', internalType: 'uint256', type: 'uint256' }, + { name: 'accessed', internalType: 'uint256', type: 'uint256' }, + { name: 'created', internalType: 'uint256', type: 'uint256' }, + ], + }, ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'uint256', type: 'uint256' }], stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'bytes[]', type: 'bytes[]' }, - ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'bytes[]', type: 'bytes[]' }], + inputs: [], + name: 'getBlockNumber', + outputs: [{ name: 'height', internalType: 'uint256', type: 'uint256' }], stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'uint256[]', type: 'uint256[]' }, - ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'uint256[]', type: 'uint256[]' }], + inputs: [], + name: 'getBlockTimestamp', + outputs: [{ name: 'timestamp', internalType: 'uint256', type: 'uint256' }], stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'string[]', type: 'string[]' }, + inputs: [{ name: 'artifactPath', internalType: 'string', type: 'string' }], + name: 'getCode', + outputs: [ + { name: 'creationBytecode', internalType: 'bytes', type: 'bytes' }, ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'string[]', type: 'string[]' }], stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'bytes', type: 'bytes' }, + inputs: [{ name: 'artifactPath', internalType: 'string', type: 'string' }], + name: 'getDeployedCode', + outputs: [ + { name: 'runtimeBytecode', internalType: 'bytes', type: 'bytes' }, ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'bytes', type: 'bytes' }], stateMutability: 'view', }, { type: 'function', - inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'bytes32', type: 'bytes32' }, - ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'bytes32', type: 'bytes32' }], + inputs: [{ name: 'account', internalType: 'address', type: 'address' }], + name: 'getLabel', + outputs: [{ name: 'currentLabel', internalType: 'string', type: 'string' }], stateMutability: 'view', }, { type: 'function', inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'int256', type: 'int256' }, + { name: 'target', internalType: 'address', type: 'address' }, + { name: 'elementSlot', internalType: 'bytes32', type: 'bytes32' }, ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'int256', type: 'int256' }], - stateMutability: 'view', + name: 'getMappingKeyAndParentOf', + outputs: [ + { name: 'found', internalType: 'bool', type: 'bool' }, + { name: 'key', internalType: 'bytes32', type: 'bytes32' }, + { name: 'parent', internalType: 'bytes32', type: 'bytes32' }, + ], + stateMutability: 'nonpayable', }, { type: 'function', inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'address[]', type: 'address[]' }, + { name: 'target', internalType: 'address', type: 'address' }, + { name: 'mappingSlot', internalType: 'bytes32', type: 'bytes32' }, ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'address[]', type: 'address[]' }], - stateMutability: 'view', + name: 'getMappingLength', + outputs: [{ name: 'length', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'nonpayable', }, { type: 'function', inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'string', type: 'string' }, + { name: 'target', internalType: 'address', type: 'address' }, + { name: 'mappingSlot', internalType: 'bytes32', type: 'bytes32' }, + { name: 'idx', internalType: 'uint256', type: 'uint256' }, ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'string', type: 'string' }], - stateMutability: 'view', + name: 'getMappingSlotAt', + outputs: [{ name: 'value', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, - { name: 'defaultValue', internalType: 'bool[]', type: 'bool[]' }, - ], - name: 'envOr', - outputs: [{ name: 'value', internalType: 'bool[]', type: 'bool[]' }], + inputs: [{ name: 'account', internalType: 'address', type: 'address' }], + name: 'getNonce', + outputs: [{ name: 'nonce', internalType: 'uint64', type: 'uint64' }], stateMutability: 'view', }, { type: 'function', inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, + { + name: 'wallet', + internalType: 'struct VmSafe.Wallet', + type: 'tuple', + components: [ + { name: 'addr', internalType: 'address', type: 'address' }, + { name: 'publicKeyX', internalType: 'uint256', type: 'uint256' }, + { name: 'publicKeyY', internalType: 'uint256', type: 'uint256' }, + { name: 'privateKey', internalType: 'uint256', type: 'uint256' }, + ], + }, ], - name: 'envString', - outputs: [{ name: 'value', internalType: 'string[]', type: 'string[]' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [{ name: 'name', internalType: 'string', type: 'string' }], - name: 'envString', - outputs: [{ name: 'value', internalType: 'string', type: 'string' }], - stateMutability: 'view', + name: 'getNonce', + outputs: [{ name: 'nonce', internalType: 'uint64', type: 'uint64' }], + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [{ name: 'name', internalType: 'string', type: 'string' }], - name: 'envUint', - outputs: [{ name: 'value', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [ - { name: 'name', internalType: 'string', type: 'string' }, - { name: 'delim', internalType: 'string', type: 'string' }, - ], - name: 'envUint', - outputs: [{ name: 'value', internalType: 'uint256[]', type: 'uint256[]' }], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [ - { name: 'fromBlock', internalType: 'uint256', type: 'uint256' }, - { name: 'toBlock', internalType: 'uint256', type: 'uint256' }, - { name: 'target', internalType: 'address', type: 'address' }, - { name: 'topics', internalType: 'bytes32[]', type: 'bytes32[]' }, - ], - name: 'eth_getLogs', + inputs: [], + name: 'getRecordedLogs', outputs: [ { name: 'logs', - internalType: 'struct VmSafe.EthGetLogs[]', + internalType: 'struct VmSafe.Log[]', type: 'tuple[]', components: [ - { name: 'emitter', internalType: 'address', type: 'address' }, { name: 'topics', internalType: 'bytes32[]', type: 'bytes32[]' }, { name: 'data', internalType: 'bytes', type: 'bytes' }, - { name: 'blockHash', internalType: 'bytes32', type: 'bytes32' }, - { name: 'blockNumber', internalType: 'uint64', type: 'uint64' }, - { name: 'transactionHash', internalType: 'bytes32', type: 'bytes32' }, - { name: 'transactionIndex', internalType: 'uint64', type: 'uint64' }, - { name: 'logIndex', internalType: 'uint256', type: 'uint256' }, - { name: 'removed', internalType: 'bool', type: 'bool' }, + { name: 'emitter', internalType: 'address', type: 'address' }, ], }, ], @@ -11846,202 +11248,145 @@ export const ctzndVmSafeAbi = [ { type: 'function', inputs: [{ name: 'path', internalType: 'string', type: 'string' }], - name: 'exists', + name: 'isDir', outputs: [{ name: 'result', internalType: 'bool', type: 'bool' }], stateMutability: 'nonpayable', }, - { - type: 'function', - inputs: [ - { name: 'commandInput', internalType: 'string[]', type: 'string[]' }, - ], - name: 'ffi', - outputs: [{ name: 'result', internalType: 'bytes', type: 'bytes' }], - stateMutability: 'nonpayable', - }, { type: 'function', inputs: [{ name: 'path', internalType: 'string', type: 'string' }], - name: 'fsMetadata', - outputs: [ - { - name: 'metadata', - internalType: 'struct VmSafe.FsMetadata', - type: 'tuple', - components: [ - { name: 'isDir', internalType: 'bool', type: 'bool' }, - { name: 'isSymlink', internalType: 'bool', type: 'bool' }, - { name: 'length', internalType: 'uint256', type: 'uint256' }, - { name: 'readOnly', internalType: 'bool', type: 'bool' }, - { name: 'modified', internalType: 'uint256', type: 'uint256' }, - { name: 'accessed', internalType: 'uint256', type: 'uint256' }, - { name: 'created', internalType: 'uint256', type: 'uint256' }, - ], - }, - ], - stateMutability: 'view', - }, - { - type: 'function', - inputs: [], - name: 'getBlockNumber', - outputs: [{ name: 'height', internalType: 'uint256', type: 'uint256' }], - stateMutability: 'view', + name: 'isFile', + outputs: [{ name: 'result', internalType: 'bool', type: 'bool' }], + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [], - name: 'getBlockTimestamp', - outputs: [{ name: 'timestamp', internalType: 'uint256', type: 'uint256' }], + inputs: [{ name: 'account', internalType: 'address', type: 'address' }], + name: 'isPersistent', + outputs: [{ name: 'persistent', internalType: 'bool', type: 'bool' }], stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'artifactPath', internalType: 'string', type: 'string' }], - name: 'getCode', - outputs: [ - { name: 'creationBytecode', internalType: 'bytes', type: 'bytes' }, + inputs: [ + { name: 'json', internalType: 'string', type: 'string' }, + { name: 'key', internalType: 'string', type: 'string' }, ], + name: 'keyExists', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], stateMutability: 'view', }, { type: 'function', - inputs: [{ name: 'artifactPath', internalType: 'string', type: 'string' }], - name: 'getDeployedCode', - outputs: [ - { name: 'runtimeBytecode', internalType: 'bytes', type: 'bytes' }, + inputs: [ + { name: 'account', internalType: 'address', type: 'address' }, + { name: 'newLabel', internalType: 'string', type: 'string' }, ], - stateMutability: 'view', + name: 'label', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [{ name: 'account', internalType: 'address', type: 'address' }], - name: 'getLabel', - outputs: [{ name: 'currentLabel', internalType: 'string', type: 'string' }], + inputs: [ + { name: 'target', internalType: 'address', type: 'address' }, + { name: 'slot', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'load', + outputs: [{ name: 'data', internalType: 'bytes32', type: 'bytes32' }], stateMutability: 'view', }, { type: 'function', inputs: [ - { name: 'target', internalType: 'address', type: 'address' }, - { name: 'elementSlot', internalType: 'bytes32', type: 'bytes32' }, - ], - name: 'getMappingKeyAndParentOf', - outputs: [ - { name: 'found', internalType: 'bool', type: 'bool' }, - { name: 'key', internalType: 'bytes32', type: 'bytes32' }, - { name: 'parent', internalType: 'bytes32', type: 'bytes32' }, + { name: 'pathToAllocsJson', internalType: 'string', type: 'string' }, ], + name: 'loadAllocs', + outputs: [], stateMutability: 'nonpayable', }, { type: 'function', inputs: [ - { name: 'target', internalType: 'address', type: 'address' }, - { name: 'mappingSlot', internalType: 'bytes32', type: 'bytes32' }, + { name: 'accounts', internalType: 'address[]', type: 'address[]' }, ], - name: 'getMappingLength', - outputs: [{ name: 'length', internalType: 'uint256', type: 'uint256' }], + name: 'makePersistent', + outputs: [], stateMutability: 'nonpayable', }, { type: 'function', inputs: [ - { name: 'target', internalType: 'address', type: 'address' }, - { name: 'mappingSlot', internalType: 'bytes32', type: 'bytes32' }, - { name: 'idx', internalType: 'uint256', type: 'uint256' }, + { name: 'account0', internalType: 'address', type: 'address' }, + { name: 'account1', internalType: 'address', type: 'address' }, ], - name: 'getMappingSlotAt', - outputs: [{ name: 'value', internalType: 'bytes32', type: 'bytes32' }], + name: 'makePersistent', + outputs: [], stateMutability: 'nonpayable', }, { type: 'function', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], - name: 'getNonce', - outputs: [{ name: 'nonce', internalType: 'uint64', type: 'uint64' }], - stateMutability: 'view', + name: 'makePersistent', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', inputs: [ - { - name: 'wallet', - internalType: 'struct VmSafe.Wallet', - type: 'tuple', - components: [ - { name: 'addr', internalType: 'address', type: 'address' }, - { name: 'publicKeyX', internalType: 'uint256', type: 'uint256' }, - { name: 'publicKeyY', internalType: 'uint256', type: 'uint256' }, - { name: 'privateKey', internalType: 'uint256', type: 'uint256' }, - ], - }, + { name: 'account0', internalType: 'address', type: 'address' }, + { name: 'account1', internalType: 'address', type: 'address' }, + { name: 'account2', internalType: 'address', type: 'address' }, ], - name: 'getNonce', - outputs: [{ name: 'nonce', internalType: 'uint64', type: 'uint64' }], + name: 'makePersistent', + outputs: [], stateMutability: 'nonpayable', }, { type: 'function', - inputs: [], - name: 'getRecordedLogs', - outputs: [ - { - name: 'logs', - internalType: 'struct VmSafe.Log[]', - type: 'tuple[]', - components: [ - { name: 'topics', internalType: 'bytes32[]', type: 'bytes32[]' }, - { name: 'data', internalType: 'bytes', type: 'bytes' }, - { name: 'emitter', internalType: 'address', type: 'address' }, - ], - }, + inputs: [ + { name: 'callee', internalType: 'address', type: 'address' }, + { name: 'msgValue', internalType: 'uint256', type: 'uint256' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, + { name: 'returnData', internalType: 'bytes', type: 'bytes' }, ], - stateMutability: 'nonpayable', - }, - { - type: 'function', - inputs: [{ name: 'path', internalType: 'string', type: 'string' }], - name: 'isDir', - outputs: [{ name: 'result', internalType: 'bool', type: 'bool' }], - stateMutability: 'nonpayable', - }, - { - type: 'function', - inputs: [{ name: 'path', internalType: 'string', type: 'string' }], - name: 'isFile', - outputs: [{ name: 'result', internalType: 'bool', type: 'bool' }], + name: 'mockCall', + outputs: [], stateMutability: 'nonpayable', }, { type: 'function', inputs: [ - { name: 'json', internalType: 'string', type: 'string' }, - { name: 'key', internalType: 'string', type: 'string' }, + { name: 'callee', internalType: 'address', type: 'address' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, + { name: 'returnData', internalType: 'bytes', type: 'bytes' }, ], - name: 'keyExists', - outputs: [{ name: '', internalType: 'bool', type: 'bool' }], - stateMutability: 'view', + name: 'mockCall', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', inputs: [ - { name: 'account', internalType: 'address', type: 'address' }, - { name: 'newLabel', internalType: 'string', type: 'string' }, + { name: 'callee', internalType: 'address', type: 'address' }, + { name: 'msgValue', internalType: 'uint256', type: 'uint256' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, + { name: 'revertData', internalType: 'bytes', type: 'bytes' }, ], - name: 'label', + name: 'mockCallRevert', outputs: [], stateMutability: 'nonpayable', }, { type: 'function', inputs: [ - { name: 'target', internalType: 'address', type: 'address' }, - { name: 'slot', internalType: 'bytes32', type: 'bytes32' }, + { name: 'callee', internalType: 'address', type: 'address' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, + { name: 'revertData', internalType: 'bytes', type: 'bytes' }, ], - name: 'load', - outputs: [{ name: 'data', internalType: 'bytes32', type: 'bytes32' }], - stateMutability: 'view', + name: 'mockCallRevert', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', @@ -12277,6 +11622,32 @@ export const ctzndVmSafeAbi = [ outputs: [], stateMutability: 'nonpayable', }, + { + type: 'function', + inputs: [ + { name: 'msgSender', internalType: 'address', type: 'address' }, + { name: 'txOrigin', internalType: 'address', type: 'address' }, + ], + name: 'prank', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'msgSender', internalType: 'address', type: 'address' }], + name: 'prank', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'newPrevrandao', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'prevrandao', + outputs: [], + stateMutability: 'nonpayable', + }, { type: 'function', inputs: [], @@ -12286,11 +11657,26 @@ export const ctzndVmSafeAbi = [ }, { type: 'function', - inputs: [ - { name: 'path', internalType: 'string', type: 'string' }, - { name: 'maxDepth', internalType: 'uint64', type: 'uint64' }, - ], - name: 'readDir', + inputs: [], + name: 'readCallers', + outputs: [ + { + name: 'callerMode', + internalType: 'enum VmSafe.CallerMode', + type: 'uint8', + }, + { name: 'msgSender', internalType: 'address', type: 'address' }, + { name: 'txOrigin', internalType: 'address', type: 'address' }, + ], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'path', internalType: 'string', type: 'string' }, + { name: 'maxDepth', internalType: 'uint64', type: 'uint64' }, + ], + name: 'readDir', outputs: [ { name: 'entries', @@ -12417,6 +11803,13 @@ export const ctzndVmSafeAbi = [ outputs: [], stateMutability: 'nonpayable', }, + { + type: 'function', + inputs: [{ name: 'account', internalType: 'address', type: 'address' }], + name: 'resetNonce', + outputs: [], + stateMutability: 'nonpayable', + }, { type: 'function', inputs: [], @@ -12424,6 +11817,77 @@ export const ctzndVmSafeAbi = [ outputs: [], stateMutability: 'nonpayable', }, + { + type: 'function', + inputs: [{ name: 'snapshotId', internalType: 'uint256', type: 'uint256' }], + name: 'revertTo', + outputs: [{ name: 'success', internalType: 'bool', type: 'bool' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'snapshotId', internalType: 'uint256', type: 'uint256' }], + name: 'revertToAndDelete', + outputs: [{ name: 'success', internalType: 'bool', type: 'bool' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'accounts', internalType: 'address[]', type: 'address[]' }, + ], + name: 'revokePersistent', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'account', internalType: 'address', type: 'address' }], + name: 'revokePersistent', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'newHeight', internalType: 'uint256', type: 'uint256' }], + name: 'roll', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'txHash', internalType: 'bytes32', type: 'bytes32' }], + name: 'rollFork', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'forkId', internalType: 'uint256', type: 'uint256' }, + { name: 'blockNumber', internalType: 'uint256', type: 'uint256' }, + ], + name: 'rollFork', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'blockNumber', internalType: 'uint256', type: 'uint256' }], + name: 'rollFork', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'forkId', internalType: 'uint256', type: 'uint256' }, + { name: 'txHash', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'rollFork', + outputs: [], + stateMutability: 'nonpayable', + }, { type: 'function', inputs: [ @@ -12467,6 +11931,13 @@ export const ctzndVmSafeAbi = [ ], stateMutability: 'view', }, + { + type: 'function', + inputs: [{ name: 'forkId', internalType: 'uint256', type: 'uint256' }], + name: 'selectFork', + outputs: [], + stateMutability: 'nonpayable', + }, { type: 'function', inputs: [ @@ -12641,6 +12112,26 @@ export const ctzndVmSafeAbi = [ outputs: [], stateMutability: 'nonpayable', }, + { + type: 'function', + inputs: [ + { name: 'account', internalType: 'address', type: 'address' }, + { name: 'newNonce', internalType: 'uint64', type: 'uint64' }, + ], + name: 'setNonce', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'account', internalType: 'address', type: 'address' }, + { name: 'newNonce', internalType: 'uint64', type: 'uint64' }, + ], + name: 'setNonceUnsafe', + outputs: [], + stateMutability: 'nonpayable', + }, { type: 'function', inputs: [ @@ -12692,6 +12183,13 @@ export const ctzndVmSafeAbi = [ ], stateMutability: 'pure', }, + { + type: 'function', + inputs: [{ name: 'skipTest', internalType: 'bool', type: 'bool' }], + name: 'skip', + outputs: [], + stateMutability: 'nonpayable', + }, { type: 'function', inputs: [{ name: 'duration', internalType: 'uint256', type: 'uint256' }], @@ -12699,6 +12197,13 @@ export const ctzndVmSafeAbi = [ outputs: [], stateMutability: 'nonpayable', }, + { + type: 'function', + inputs: [], + name: 'snapshot', + outputs: [{ name: 'snapshotId', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'nonpayable', + }, { type: 'function', inputs: [], @@ -12727,6 +12232,23 @@ export const ctzndVmSafeAbi = [ outputs: [], stateMutability: 'nonpayable', }, + { + type: 'function', + inputs: [{ name: 'msgSender', internalType: 'address', type: 'address' }], + name: 'startPrank', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'msgSender', internalType: 'address', type: 'address' }, + { name: 'txOrigin', internalType: 'address', type: 'address' }, + ], + name: 'startPrank', + outputs: [], + stateMutability: 'nonpayable', + }, { type: 'function', inputs: [], @@ -12803,6 +12325,24 @@ export const ctzndVmSafeAbi = [ outputs: [], stateMutability: 'nonpayable', }, + { + type: 'function', + inputs: [], + name: 'stopPrank', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'target', internalType: 'address', type: 'address' }, + { name: 'slot', internalType: 'bytes32', type: 'bytes32' }, + { name: 'value', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'store', + outputs: [], + stateMutability: 'nonpayable', + }, { type: 'function', inputs: [{ name: 'data', internalType: 'string', type: 'string' }], @@ -12885,6 +12425,23 @@ export const ctzndVmSafeAbi = [ ], stateMutability: 'pure', }, + { + type: 'function', + inputs: [ + { name: 'forkId', internalType: 'uint256', type: 'uint256' }, + { name: 'txHash', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'transact', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'txHash', internalType: 'bytes32', type: 'bytes32' }], + name: 'transact', + outputs: [], + stateMutability: 'nonpayable', + }, { type: 'function', inputs: [ @@ -12905,6 +12462,13 @@ export const ctzndVmSafeAbi = [ ], stateMutability: 'nonpayable', }, + { + type: 'function', + inputs: [{ name: 'newGasPrice', internalType: 'uint256', type: 'uint256' }], + name: 'txGasPrice', + outputs: [], + stateMutability: 'nonpayable', + }, { type: 'function', inputs: [], @@ -12914,6 +12478,15 @@ export const ctzndVmSafeAbi = [ ], stateMutability: 'nonpayable', }, + { + type: 'function', + inputs: [ + { name: 'newTimestamp', internalType: 'uint256', type: 'uint256' }, + ], + name: 'warp', + outputs: [], + stateMutability: 'nonpayable', + }, { type: 'function', inputs: [ @@ -12968,7701 +12541,10466 @@ export const ctzndVmSafeAbi = [ ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// CtzndstdError +// CtzndVmSafe ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -export const ctzndstdErrorAbi = [ +export const ctzndVmSafeAbi = [ { type: 'function', - inputs: [], - name: 'arithmeticError', - outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }], - stateMutability: 'view', + inputs: [{ name: 'target', internalType: 'address', type: 'address' }], + name: 'accesses', + outputs: [ + { name: 'readSlots', internalType: 'bytes32[]', type: 'bytes32[]' }, + { name: 'writeSlots', internalType: 'bytes32[]', type: 'bytes32[]' }, + ], + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [], - name: 'assertionError', - outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }], - stateMutability: 'view', + inputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], + name: 'addr', + outputs: [{ name: 'keyAddr', internalType: 'address', type: 'address' }], + stateMutability: 'pure', }, { type: 'function', - inputs: [], - name: 'divisionError', - outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }], - stateMutability: 'view', + inputs: [{ name: 'condition', internalType: 'bool', type: 'bool' }], + name: 'assume', + outputs: [], + stateMutability: 'pure', }, { type: 'function', - inputs: [], - name: 'encodeStorageError', - outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }], - stateMutability: 'view', + inputs: [{ name: 'char', internalType: 'string', type: 'string' }], + name: 'breakpoint', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [], - name: 'enumConversionError', - outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }], - stateMutability: 'view', + inputs: [ + { name: 'char', internalType: 'string', type: 'string' }, + { name: 'value', internalType: 'bool', type: 'bool' }, + ], + name: 'breakpoint', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', inputs: [], - name: 'indexOOBError', - outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }], - stateMutability: 'view', + name: 'broadcast', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [], - name: 'memOverflowError', - outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }], - stateMutability: 'view', + inputs: [{ name: 'signer', internalType: 'address', type: 'address' }], + name: 'broadcast', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [], - name: 'popError', - outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }], - stateMutability: 'view', + inputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], + name: 'broadcast', + outputs: [], + stateMutability: 'nonpayable', }, { type: 'function', - inputs: [], - name: 'zeroVarError', - outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }], - stateMutability: 'view', + inputs: [{ name: 'path', internalType: 'string', type: 'string' }], + name: 'closeFile', + outputs: [], + stateMutability: 'nonpayable', }, -] as const - -////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// CtzndstdStorageSafe -////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - -export const ctzndstdStorageSafeAbi = [ { - type: 'event', - anonymous: false, + type: 'function', inputs: [ - { name: 'who', internalType: 'address', type: 'address', indexed: false }, - { name: 'fsig', internalType: 'bytes4', type: 'bytes4', indexed: false }, + { name: 'salt', internalType: 'bytes32', type: 'bytes32' }, + { name: 'initCodeHash', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'computeCreate2Address', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'salt', internalType: 'bytes32', type: 'bytes32' }, + { name: 'initCodeHash', internalType: 'bytes32', type: 'bytes32' }, + { name: 'deployer', internalType: 'address', type: 'address' }, + ], + name: 'computeCreate2Address', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'deployer', internalType: 'address', type: 'address' }, + { name: 'nonce', internalType: 'uint256', type: 'uint256' }, + ], + name: 'computeCreateAddress', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'from', internalType: 'string', type: 'string' }, + { name: 'to', internalType: 'string', type: 'string' }, + ], + name: 'copyFile', + outputs: [{ name: 'copied', internalType: 'uint64', type: 'uint64' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'path', internalType: 'string', type: 'string' }, + { name: 'recursive', internalType: 'bool', type: 'bool' }, + ], + name: 'createDir', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'walletLabel', internalType: 'string', type: 'string' }], + name: 'createWallet', + outputs: [ { - name: 'keysHash', - internalType: 'bytes32', - type: 'bytes32', - indexed: false, + name: 'wallet', + internalType: 'struct VmSafe.Wallet', + type: 'tuple', + components: [ + { name: 'addr', internalType: 'address', type: 'address' }, + { name: 'publicKeyX', internalType: 'uint256', type: 'uint256' }, + { name: 'publicKeyY', internalType: 'uint256', type: 'uint256' }, + { name: 'privateKey', internalType: 'uint256', type: 'uint256' }, + ], }, + ], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], + name: 'createWallet', + outputs: [ { - name: 'slot', - internalType: 'uint256', - type: 'uint256', - indexed: false, + name: 'wallet', + internalType: 'struct VmSafe.Wallet', + type: 'tuple', + components: [ + { name: 'addr', internalType: 'address', type: 'address' }, + { name: 'publicKeyX', internalType: 'uint256', type: 'uint256' }, + { name: 'publicKeyY', internalType: 'uint256', type: 'uint256' }, + { name: 'privateKey', internalType: 'uint256', type: 'uint256' }, + ], }, ], - name: 'SlotFound', + stateMutability: 'nonpayable', }, { - type: 'event', - anonymous: false, + type: 'function', inputs: [ - { name: 'who', internalType: 'address', type: 'address', indexed: false }, + { name: 'privateKey', internalType: 'uint256', type: 'uint256' }, + { name: 'walletLabel', internalType: 'string', type: 'string' }, + ], + name: 'createWallet', + outputs: [ { - name: 'slot', - internalType: 'uint256', - type: 'uint256', - indexed: false, + name: 'wallet', + internalType: 'struct VmSafe.Wallet', + type: 'tuple', + components: [ + { name: 'addr', internalType: 'address', type: 'address' }, + { name: 'publicKeyX', internalType: 'uint256', type: 'uint256' }, + { name: 'publicKeyY', internalType: 'uint256', type: 'uint256' }, + { name: 'privateKey', internalType: 'uint256', type: 'uint256' }, + ], }, ], - name: 'WARNING_UninitedSlot', + stateMutability: 'nonpayable', }, -] as const - -////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// React -////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + { + type: 'function', + inputs: [ + { name: 'mnemonic', internalType: 'string', type: 'string' }, + { name: 'derivationPath', internalType: 'string', type: 'string' }, + { name: 'index', internalType: 'uint32', type: 'uint32' }, + { name: 'language', internalType: 'string', type: 'string' }, + ], + name: 'deriveKey', + outputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'mnemonic', internalType: 'string', type: 'string' }, + { name: 'index', internalType: 'uint32', type: 'uint32' }, + { name: 'language', internalType: 'string', type: 'string' }, + ], + name: 'deriveKey', + outputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'mnemonic', internalType: 'string', type: 'string' }, + { name: 'index', internalType: 'uint32', type: 'uint32' }, + ], + name: 'deriveKey', + outputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'mnemonic', internalType: 'string', type: 'string' }, + { name: 'derivationPath', internalType: 'string', type: 'string' }, + { name: 'index', internalType: 'uint32', type: 'uint32' }, + ], + name: 'deriveKey', + outputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [{ name: 'name', internalType: 'string', type: 'string' }], + name: 'envAddress', + outputs: [{ name: 'value', internalType: 'address', type: 'address' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, + ], + name: 'envAddress', + outputs: [{ name: 'value', internalType: 'address[]', type: 'address[]' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'name', internalType: 'string', type: 'string' }], + name: 'envBool', + outputs: [{ name: 'value', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, + ], + name: 'envBool', + outputs: [{ name: 'value', internalType: 'bool[]', type: 'bool[]' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'name', internalType: 'string', type: 'string' }], + name: 'envBytes', + outputs: [{ name: 'value', internalType: 'bytes', type: 'bytes' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, + ], + name: 'envBytes', + outputs: [{ name: 'value', internalType: 'bytes[]', type: 'bytes[]' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, + ], + name: 'envBytes32', + outputs: [{ name: 'value', internalType: 'bytes32[]', type: 'bytes32[]' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'name', internalType: 'string', type: 'string' }], + name: 'envBytes32', + outputs: [{ name: 'value', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, + ], + name: 'envInt', + outputs: [{ name: 'value', internalType: 'int256[]', type: 'int256[]' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'name', internalType: 'string', type: 'string' }], + name: 'envInt', + outputs: [{ name: 'value', internalType: 'int256', type: 'int256' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'bytes32[]', type: 'bytes32[]' }, + ], + name: 'envOr', + outputs: [{ name: 'value', internalType: 'bytes32[]', type: 'bytes32[]' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'int256[]', type: 'int256[]' }, + ], + name: 'envOr', + outputs: [{ name: 'value', internalType: 'int256[]', type: 'int256[]' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'bool', type: 'bool' }, + ], + name: 'envOr', + outputs: [{ name: 'value', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'address', type: 'address' }, + ], + name: 'envOr', + outputs: [{ name: 'value', internalType: 'address', type: 'address' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'uint256', type: 'uint256' }, + ], + name: 'envOr', + outputs: [{ name: 'value', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'bytes[]', type: 'bytes[]' }, + ], + name: 'envOr', + outputs: [{ name: 'value', internalType: 'bytes[]', type: 'bytes[]' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'uint256[]', type: 'uint256[]' }, + ], + name: 'envOr', + outputs: [{ name: 'value', internalType: 'uint256[]', type: 'uint256[]' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'string[]', type: 'string[]' }, + ], + name: 'envOr', + outputs: [{ name: 'value', internalType: 'string[]', type: 'string[]' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'bytes', type: 'bytes' }, + ], + name: 'envOr', + outputs: [{ name: 'value', internalType: 'bytes', type: 'bytes' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'envOr', + outputs: [{ name: 'value', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'int256', type: 'int256' }, + ], + name: 'envOr', + outputs: [{ name: 'value', internalType: 'int256', type: 'int256' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'address[]', type: 'address[]' }, + ], + name: 'envOr', + outputs: [{ name: 'value', internalType: 'address[]', type: 'address[]' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'string', type: 'string' }, + ], + name: 'envOr', + outputs: [{ name: 'value', internalType: 'string', type: 'string' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, + { name: 'defaultValue', internalType: 'bool[]', type: 'bool[]' }, + ], + name: 'envOr', + outputs: [{ name: 'value', internalType: 'bool[]', type: 'bool[]' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, + ], + name: 'envString', + outputs: [{ name: 'value', internalType: 'string[]', type: 'string[]' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'name', internalType: 'string', type: 'string' }], + name: 'envString', + outputs: [{ name: 'value', internalType: 'string', type: 'string' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'name', internalType: 'string', type: 'string' }], + name: 'envUint', + outputs: [{ name: 'value', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'delim', internalType: 'string', type: 'string' }, + ], + name: 'envUint', + outputs: [{ name: 'value', internalType: 'uint256[]', type: 'uint256[]' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'fromBlock', internalType: 'uint256', type: 'uint256' }, + { name: 'toBlock', internalType: 'uint256', type: 'uint256' }, + { name: 'target', internalType: 'address', type: 'address' }, + { name: 'topics', internalType: 'bytes32[]', type: 'bytes32[]' }, + ], + name: 'eth_getLogs', + outputs: [ + { + name: 'logs', + internalType: 'struct VmSafe.EthGetLogs[]', + type: 'tuple[]', + components: [ + { name: 'emitter', internalType: 'address', type: 'address' }, + { name: 'topics', internalType: 'bytes32[]', type: 'bytes32[]' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, + { name: 'blockHash', internalType: 'bytes32', type: 'bytes32' }, + { name: 'blockNumber', internalType: 'uint64', type: 'uint64' }, + { name: 'transactionHash', internalType: 'bytes32', type: 'bytes32' }, + { name: 'transactionIndex', internalType: 'uint64', type: 'uint64' }, + { name: 'logIndex', internalType: 'uint256', type: 'uint256' }, + { name: 'removed', internalType: 'bool', type: 'bool' }, + ], + }, + ], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'path', internalType: 'string', type: 'string' }], + name: 'exists', + outputs: [{ name: 'result', internalType: 'bool', type: 'bool' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'commandInput', internalType: 'string[]', type: 'string[]' }, + ], + name: 'ffi', + outputs: [{ name: 'result', internalType: 'bytes', type: 'bytes' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'path', internalType: 'string', type: 'string' }], + name: 'fsMetadata', + outputs: [ + { + name: 'metadata', + internalType: 'struct VmSafe.FsMetadata', + type: 'tuple', + components: [ + { name: 'isDir', internalType: 'bool', type: 'bool' }, + { name: 'isSymlink', internalType: 'bool', type: 'bool' }, + { name: 'length', internalType: 'uint256', type: 'uint256' }, + { name: 'readOnly', internalType: 'bool', type: 'bool' }, + { name: 'modified', internalType: 'uint256', type: 'uint256' }, + { name: 'accessed', internalType: 'uint256', type: 'uint256' }, + { name: 'created', internalType: 'uint256', type: 'uint256' }, + ], + }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'getBlockNumber', + outputs: [{ name: 'height', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'getBlockTimestamp', + outputs: [{ name: 'timestamp', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'artifactPath', internalType: 'string', type: 'string' }], + name: 'getCode', + outputs: [ + { name: 'creationBytecode', internalType: 'bytes', type: 'bytes' }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'artifactPath', internalType: 'string', type: 'string' }], + name: 'getDeployedCode', + outputs: [ + { name: 'runtimeBytecode', internalType: 'bytes', type: 'bytes' }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'account', internalType: 'address', type: 'address' }], + name: 'getLabel', + outputs: [{ name: 'currentLabel', internalType: 'string', type: 'string' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'target', internalType: 'address', type: 'address' }, + { name: 'elementSlot', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'getMappingKeyAndParentOf', + outputs: [ + { name: 'found', internalType: 'bool', type: 'bool' }, + { name: 'key', internalType: 'bytes32', type: 'bytes32' }, + { name: 'parent', internalType: 'bytes32', type: 'bytes32' }, + ], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'target', internalType: 'address', type: 'address' }, + { name: 'mappingSlot', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'getMappingLength', + outputs: [{ name: 'length', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'target', internalType: 'address', type: 'address' }, + { name: 'mappingSlot', internalType: 'bytes32', type: 'bytes32' }, + { name: 'idx', internalType: 'uint256', type: 'uint256' }, + ], + name: 'getMappingSlotAt', + outputs: [{ name: 'value', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'account', internalType: 'address', type: 'address' }], + name: 'getNonce', + outputs: [{ name: 'nonce', internalType: 'uint64', type: 'uint64' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { + name: 'wallet', + internalType: 'struct VmSafe.Wallet', + type: 'tuple', + components: [ + { name: 'addr', internalType: 'address', type: 'address' }, + { name: 'publicKeyX', internalType: 'uint256', type: 'uint256' }, + { name: 'publicKeyY', internalType: 'uint256', type: 'uint256' }, + { name: 'privateKey', internalType: 'uint256', type: 'uint256' }, + ], + }, + ], + name: 'getNonce', + outputs: [{ name: 'nonce', internalType: 'uint64', type: 'uint64' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [], + name: 'getRecordedLogs', + outputs: [ + { + name: 'logs', + internalType: 'struct VmSafe.Log[]', + type: 'tuple[]', + components: [ + { name: 'topics', internalType: 'bytes32[]', type: 'bytes32[]' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, + { name: 'emitter', internalType: 'address', type: 'address' }, + ], + }, + ], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'path', internalType: 'string', type: 'string' }], + name: 'isDir', + outputs: [{ name: 'result', internalType: 'bool', type: 'bool' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'path', internalType: 'string', type: 'string' }], + name: 'isFile', + outputs: [{ name: 'result', internalType: 'bool', type: 'bool' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'json', internalType: 'string', type: 'string' }, + { name: 'key', internalType: 'string', type: 'string' }, + ], + name: 'keyExists', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'account', internalType: 'address', type: 'address' }, + { name: 'newLabel', internalType: 'string', type: 'string' }, + ], + name: 'label', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'target', internalType: 'address', type: 'address' }, + { name: 'slot', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'load', + outputs: [{ name: 'data', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'stringifiedValue', internalType: 'string', type: 'string' }, + ], + name: 'parseAddress', + outputs: [ + { name: 'parsedValue', internalType: 'address', type: 'address' }, + ], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'stringifiedValue', internalType: 'string', type: 'string' }, + ], + name: 'parseBool', + outputs: [{ name: 'parsedValue', internalType: 'bool', type: 'bool' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'stringifiedValue', internalType: 'string', type: 'string' }, + ], + name: 'parseBytes', + outputs: [{ name: 'parsedValue', internalType: 'bytes', type: 'bytes' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'stringifiedValue', internalType: 'string', type: 'string' }, + ], + name: 'parseBytes32', + outputs: [ + { name: 'parsedValue', internalType: 'bytes32', type: 'bytes32' }, + ], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'stringifiedValue', internalType: 'string', type: 'string' }, + ], + name: 'parseInt', + outputs: [{ name: 'parsedValue', internalType: 'int256', type: 'int256' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [{ name: 'json', internalType: 'string', type: 'string' }], + name: 'parseJson', + outputs: [{ name: 'abiEncodedData', internalType: 'bytes', type: 'bytes' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'json', internalType: 'string', type: 'string' }, + { name: 'key', internalType: 'string', type: 'string' }, + ], + name: 'parseJson', + outputs: [{ name: 'abiEncodedData', internalType: 'bytes', type: 'bytes' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'json', internalType: 'string', type: 'string' }, + { name: 'key', internalType: 'string', type: 'string' }, + ], + name: 'parseJsonAddress', + outputs: [{ name: '', internalType: 'address', type: 'address' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'json', internalType: 'string', type: 'string' }, + { name: 'key', internalType: 'string', type: 'string' }, + ], + name: 'parseJsonAddressArray', + outputs: [{ name: '', internalType: 'address[]', type: 'address[]' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'json', internalType: 'string', type: 'string' }, + { name: 'key', internalType: 'string', type: 'string' }, + ], + name: 'parseJsonBool', + outputs: [{ name: '', internalType: 'bool', type: 'bool' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'json', internalType: 'string', type: 'string' }, + { name: 'key', internalType: 'string', type: 'string' }, + ], + name: 'parseJsonBoolArray', + outputs: [{ name: '', internalType: 'bool[]', type: 'bool[]' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'json', internalType: 'string', type: 'string' }, + { name: 'key', internalType: 'string', type: 'string' }, + ], + name: 'parseJsonBytes', + outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'json', internalType: 'string', type: 'string' }, + { name: 'key', internalType: 'string', type: 'string' }, + ], + name: 'parseJsonBytes32', + outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'json', internalType: 'string', type: 'string' }, + { name: 'key', internalType: 'string', type: 'string' }, + ], + name: 'parseJsonBytes32Array', + outputs: [{ name: '', internalType: 'bytes32[]', type: 'bytes32[]' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'json', internalType: 'string', type: 'string' }, + { name: 'key', internalType: 'string', type: 'string' }, + ], + name: 'parseJsonBytesArray', + outputs: [{ name: '', internalType: 'bytes[]', type: 'bytes[]' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'json', internalType: 'string', type: 'string' }, + { name: 'key', internalType: 'string', type: 'string' }, + ], + name: 'parseJsonInt', + outputs: [{ name: '', internalType: 'int256', type: 'int256' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'json', internalType: 'string', type: 'string' }, + { name: 'key', internalType: 'string', type: 'string' }, + ], + name: 'parseJsonIntArray', + outputs: [{ name: '', internalType: 'int256[]', type: 'int256[]' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'json', internalType: 'string', type: 'string' }, + { name: 'key', internalType: 'string', type: 'string' }, + ], + name: 'parseJsonKeys', + outputs: [{ name: 'keys', internalType: 'string[]', type: 'string[]' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'json', internalType: 'string', type: 'string' }, + { name: 'key', internalType: 'string', type: 'string' }, + ], + name: 'parseJsonString', + outputs: [{ name: '', internalType: 'string', type: 'string' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'json', internalType: 'string', type: 'string' }, + { name: 'key', internalType: 'string', type: 'string' }, + ], + name: 'parseJsonStringArray', + outputs: [{ name: '', internalType: 'string[]', type: 'string[]' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'json', internalType: 'string', type: 'string' }, + { name: 'key', internalType: 'string', type: 'string' }, + ], + name: 'parseJsonUint', + outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'json', internalType: 'string', type: 'string' }, + { name: 'key', internalType: 'string', type: 'string' }, + ], + name: 'parseJsonUintArray', + outputs: [{ name: '', internalType: 'uint256[]', type: 'uint256[]' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'stringifiedValue', internalType: 'string', type: 'string' }, + ], + name: 'parseUint', + outputs: [ + { name: 'parsedValue', internalType: 'uint256', type: 'uint256' }, + ], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [], + name: 'pauseGasMetering', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [], + name: 'projectRoot', + outputs: [{ name: 'path', internalType: 'string', type: 'string' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'path', internalType: 'string', type: 'string' }, + { name: 'maxDepth', internalType: 'uint64', type: 'uint64' }, + ], + name: 'readDir', + outputs: [ + { + name: 'entries', + internalType: 'struct VmSafe.DirEntry[]', + type: 'tuple[]', + components: [ + { name: 'errorMessage', internalType: 'string', type: 'string' }, + { name: 'path', internalType: 'string', type: 'string' }, + { name: 'depth', internalType: 'uint64', type: 'uint64' }, + { name: 'isDir', internalType: 'bool', type: 'bool' }, + { name: 'isSymlink', internalType: 'bool', type: 'bool' }, + ], + }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'path', internalType: 'string', type: 'string' }, + { name: 'maxDepth', internalType: 'uint64', type: 'uint64' }, + { name: 'followLinks', internalType: 'bool', type: 'bool' }, + ], + name: 'readDir', + outputs: [ + { + name: 'entries', + internalType: 'struct VmSafe.DirEntry[]', + type: 'tuple[]', + components: [ + { name: 'errorMessage', internalType: 'string', type: 'string' }, + { name: 'path', internalType: 'string', type: 'string' }, + { name: 'depth', internalType: 'uint64', type: 'uint64' }, + { name: 'isDir', internalType: 'bool', type: 'bool' }, + { name: 'isSymlink', internalType: 'bool', type: 'bool' }, + ], + }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'path', internalType: 'string', type: 'string' }], + name: 'readDir', + outputs: [ + { + name: 'entries', + internalType: 'struct VmSafe.DirEntry[]', + type: 'tuple[]', + components: [ + { name: 'errorMessage', internalType: 'string', type: 'string' }, + { name: 'path', internalType: 'string', type: 'string' }, + { name: 'depth', internalType: 'uint64', type: 'uint64' }, + { name: 'isDir', internalType: 'bool', type: 'bool' }, + { name: 'isSymlink', internalType: 'bool', type: 'bool' }, + ], + }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'path', internalType: 'string', type: 'string' }], + name: 'readFile', + outputs: [{ name: 'data', internalType: 'string', type: 'string' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'path', internalType: 'string', type: 'string' }], + name: 'readFileBinary', + outputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'path', internalType: 'string', type: 'string' }], + name: 'readLine', + outputs: [{ name: 'line', internalType: 'string', type: 'string' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [{ name: 'linkPath', internalType: 'string', type: 'string' }], + name: 'readLink', + outputs: [{ name: 'targetPath', internalType: 'string', type: 'string' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'record', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [], + name: 'recordLogs', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], + name: 'rememberKey', + outputs: [{ name: 'keyAddr', internalType: 'address', type: 'address' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'path', internalType: 'string', type: 'string' }, + { name: 'recursive', internalType: 'bool', type: 'bool' }, + ], + name: 'removeDir', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'path', internalType: 'string', type: 'string' }], + name: 'removeFile', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [], + name: 'resumeGasMetering', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'method', internalType: 'string', type: 'string' }, + { name: 'params', internalType: 'string', type: 'string' }, + ], + name: 'rpc', + outputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'rpcAlias', internalType: 'string', type: 'string' }], + name: 'rpcUrl', + outputs: [{ name: 'json', internalType: 'string', type: 'string' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'rpcUrlStructs', + outputs: [ + { + name: 'urls', + internalType: 'struct VmSafe.Rpc[]', + type: 'tuple[]', + components: [ + { name: 'key', internalType: 'string', type: 'string' }, + { name: 'url', internalType: 'string', type: 'string' }, + ], + }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'rpcUrls', + outputs: [ + { name: 'urls', internalType: 'string[2][]', type: 'string[2][]' }, + ], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [ + { name: 'objectKey', internalType: 'string', type: 'string' }, + { name: 'valueKey', internalType: 'string', type: 'string' }, + { name: 'values', internalType: 'address[]', type: 'address[]' }, + ], + name: 'serializeAddress', + outputs: [{ name: 'json', internalType: 'string', type: 'string' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'objectKey', internalType: 'string', type: 'string' }, + { name: 'valueKey', internalType: 'string', type: 'string' }, + { name: 'value', internalType: 'address', type: 'address' }, + ], + name: 'serializeAddress', + outputs: [{ name: 'json', internalType: 'string', type: 'string' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'objectKey', internalType: 'string', type: 'string' }, + { name: 'valueKey', internalType: 'string', type: 'string' }, + { name: 'values', internalType: 'bool[]', type: 'bool[]' }, + ], + name: 'serializeBool', + outputs: [{ name: 'json', internalType: 'string', type: 'string' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'objectKey', internalType: 'string', type: 'string' }, + { name: 'valueKey', internalType: 'string', type: 'string' }, + { name: 'value', internalType: 'bool', type: 'bool' }, + ], + name: 'serializeBool', + outputs: [{ name: 'json', internalType: 'string', type: 'string' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'objectKey', internalType: 'string', type: 'string' }, + { name: 'valueKey', internalType: 'string', type: 'string' }, + { name: 'values', internalType: 'bytes[]', type: 'bytes[]' }, + ], + name: 'serializeBytes', + outputs: [{ name: 'json', internalType: 'string', type: 'string' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'objectKey', internalType: 'string', type: 'string' }, + { name: 'valueKey', internalType: 'string', type: 'string' }, + { name: 'value', internalType: 'bytes', type: 'bytes' }, + ], + name: 'serializeBytes', + outputs: [{ name: 'json', internalType: 'string', type: 'string' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'objectKey', internalType: 'string', type: 'string' }, + { name: 'valueKey', internalType: 'string', type: 'string' }, + { name: 'values', internalType: 'bytes32[]', type: 'bytes32[]' }, + ], + name: 'serializeBytes32', + outputs: [{ name: 'json', internalType: 'string', type: 'string' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'objectKey', internalType: 'string', type: 'string' }, + { name: 'valueKey', internalType: 'string', type: 'string' }, + { name: 'value', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'serializeBytes32', + outputs: [{ name: 'json', internalType: 'string', type: 'string' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'objectKey', internalType: 'string', type: 'string' }, + { name: 'valueKey', internalType: 'string', type: 'string' }, + { name: 'value', internalType: 'int256', type: 'int256' }, + ], + name: 'serializeInt', + outputs: [{ name: 'json', internalType: 'string', type: 'string' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'objectKey', internalType: 'string', type: 'string' }, + { name: 'valueKey', internalType: 'string', type: 'string' }, + { name: 'values', internalType: 'int256[]', type: 'int256[]' }, + ], + name: 'serializeInt', + outputs: [{ name: 'json', internalType: 'string', type: 'string' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'objectKey', internalType: 'string', type: 'string' }, + { name: 'value', internalType: 'string', type: 'string' }, + ], + name: 'serializeJson', + outputs: [{ name: 'json', internalType: 'string', type: 'string' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'objectKey', internalType: 'string', type: 'string' }, + { name: 'valueKey', internalType: 'string', type: 'string' }, + { name: 'values', internalType: 'string[]', type: 'string[]' }, + ], + name: 'serializeString', + outputs: [{ name: 'json', internalType: 'string', type: 'string' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'objectKey', internalType: 'string', type: 'string' }, + { name: 'valueKey', internalType: 'string', type: 'string' }, + { name: 'value', internalType: 'string', type: 'string' }, + ], + name: 'serializeString', + outputs: [{ name: 'json', internalType: 'string', type: 'string' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'objectKey', internalType: 'string', type: 'string' }, + { name: 'valueKey', internalType: 'string', type: 'string' }, + { name: 'value', internalType: 'uint256', type: 'uint256' }, + ], + name: 'serializeUint', + outputs: [{ name: 'json', internalType: 'string', type: 'string' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'objectKey', internalType: 'string', type: 'string' }, + { name: 'valueKey', internalType: 'string', type: 'string' }, + { name: 'values', internalType: 'uint256[]', type: 'uint256[]' }, + ], + name: 'serializeUint', + outputs: [{ name: 'json', internalType: 'string', type: 'string' }], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'name', internalType: 'string', type: 'string' }, + { name: 'value', internalType: 'string', type: 'string' }, + ], + name: 'setEnv', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { + name: 'wallet', + internalType: 'struct VmSafe.Wallet', + type: 'tuple', + components: [ + { name: 'addr', internalType: 'address', type: 'address' }, + { name: 'publicKeyX', internalType: 'uint256', type: 'uint256' }, + { name: 'publicKeyY', internalType: 'uint256', type: 'uint256' }, + { name: 'privateKey', internalType: 'uint256', type: 'uint256' }, + ], + }, + { name: 'digest', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'sign', + outputs: [ + { name: 'v', internalType: 'uint8', type: 'uint8' }, + { name: 'r', internalType: 'bytes32', type: 'bytes32' }, + { name: 's', internalType: 'bytes32', type: 'bytes32' }, + ], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'privateKey', internalType: 'uint256', type: 'uint256' }, + { name: 'digest', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'sign', + outputs: [ + { name: 'v', internalType: 'uint8', type: 'uint8' }, + { name: 'r', internalType: 'bytes32', type: 'bytes32' }, + { name: 's', internalType: 'bytes32', type: 'bytes32' }, + ], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'privateKey', internalType: 'uint256', type: 'uint256' }, + { name: 'digest', internalType: 'bytes32', type: 'bytes32' }, + ], + name: 'signP256', + outputs: [ + { name: 'r', internalType: 'bytes32', type: 'bytes32' }, + { name: 's', internalType: 'bytes32', type: 'bytes32' }, + ], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [{ name: 'duration', internalType: 'uint256', type: 'uint256' }], + name: 'sleep', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [], + name: 'startBroadcast', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'signer', internalType: 'address', type: 'address' }], + name: 'startBroadcast', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'privateKey', internalType: 'uint256', type: 'uint256' }], + name: 'startBroadcast', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [], + name: 'startMappingRecording', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [], + name: 'startStateDiffRecording', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [], + name: 'stopAndReturnStateDiff', + outputs: [ + { + name: 'accountAccesses', + internalType: 'struct VmSafe.AccountAccess[]', + type: 'tuple[]', + components: [ + { + name: 'chainInfo', + internalType: 'struct VmSafe.ChainInfo', + type: 'tuple', + components: [ + { name: 'forkId', internalType: 'uint256', type: 'uint256' }, + { name: 'chainId', internalType: 'uint256', type: 'uint256' }, + ], + }, + { + name: 'kind', + internalType: 'enum VmSafe.AccountAccessKind', + type: 'uint8', + }, + { name: 'account', internalType: 'address', type: 'address' }, + { name: 'accessor', internalType: 'address', type: 'address' }, + { name: 'initialized', internalType: 'bool', type: 'bool' }, + { name: 'oldBalance', internalType: 'uint256', type: 'uint256' }, + { name: 'newBalance', internalType: 'uint256', type: 'uint256' }, + { name: 'deployedCode', internalType: 'bytes', type: 'bytes' }, + { name: 'value', internalType: 'uint256', type: 'uint256' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, + { name: 'reverted', internalType: 'bool', type: 'bool' }, + { + name: 'storageAccesses', + internalType: 'struct VmSafe.StorageAccess[]', + type: 'tuple[]', + components: [ + { name: 'account', internalType: 'address', type: 'address' }, + { name: 'slot', internalType: 'bytes32', type: 'bytes32' }, + { name: 'isWrite', internalType: 'bool', type: 'bool' }, + { + name: 'previousValue', + internalType: 'bytes32', + type: 'bytes32', + }, + { name: 'newValue', internalType: 'bytes32', type: 'bytes32' }, + { name: 'reverted', internalType: 'bool', type: 'bool' }, + ], + }, + ], + }, + ], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [], + name: 'stopBroadcast', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [], + name: 'stopMappingRecording', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [{ name: 'data', internalType: 'string', type: 'string' }], + name: 'toBase64', + outputs: [{ name: '', internalType: 'string', type: 'string' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }], + name: 'toBase64', + outputs: [{ name: '', internalType: 'string', type: 'string' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [{ name: 'data', internalType: 'string', type: 'string' }], + name: 'toBase64URL', + outputs: [{ name: '', internalType: 'string', type: 'string' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }], + name: 'toBase64URL', + outputs: [{ name: '', internalType: 'string', type: 'string' }], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [{ name: 'value', internalType: 'address', type: 'address' }], + name: 'toString', + outputs: [ + { name: 'stringifiedValue', internalType: 'string', type: 'string' }, + ], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [{ name: 'value', internalType: 'uint256', type: 'uint256' }], + name: 'toString', + outputs: [ + { name: 'stringifiedValue', internalType: 'string', type: 'string' }, + ], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [{ name: 'value', internalType: 'bytes', type: 'bytes' }], + name: 'toString', + outputs: [ + { name: 'stringifiedValue', internalType: 'string', type: 'string' }, + ], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [{ name: 'value', internalType: 'bool', type: 'bool' }], + name: 'toString', + outputs: [ + { name: 'stringifiedValue', internalType: 'string', type: 'string' }, + ], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [{ name: 'value', internalType: 'int256', type: 'int256' }], + name: 'toString', + outputs: [ + { name: 'stringifiedValue', internalType: 'string', type: 'string' }, + ], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [{ name: 'value', internalType: 'bytes32', type: 'bytes32' }], + name: 'toString', + outputs: [ + { name: 'stringifiedValue', internalType: 'string', type: 'string' }, + ], + stateMutability: 'pure', + }, + { + type: 'function', + inputs: [ + { name: 'commandInput', internalType: 'string[]', type: 'string[]' }, + ], + name: 'tryFfi', + outputs: [ + { + name: 'result', + internalType: 'struct VmSafe.FfiResult', + type: 'tuple', + components: [ + { name: 'exitCode', internalType: 'int32', type: 'int32' }, + { name: 'stdout', internalType: 'bytes', type: 'bytes' }, + { name: 'stderr', internalType: 'bytes', type: 'bytes' }, + ], + }, + ], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [], + name: 'unixTime', + outputs: [ + { name: 'milliseconds', internalType: 'uint256', type: 'uint256' }, + ], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'path', internalType: 'string', type: 'string' }, + { name: 'data', internalType: 'string', type: 'string' }, + ], + name: 'writeFile', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'path', internalType: 'string', type: 'string' }, + { name: 'data', internalType: 'bytes', type: 'bytes' }, + ], + name: 'writeFileBinary', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'json', internalType: 'string', type: 'string' }, + { name: 'path', internalType: 'string', type: 'string' }, + { name: 'valueKey', internalType: 'string', type: 'string' }, + ], + name: 'writeJson', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'json', internalType: 'string', type: 'string' }, + { name: 'path', internalType: 'string', type: 'string' }, + ], + name: 'writeJson', + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + inputs: [ + { name: 'path', internalType: 'string', type: 'string' }, + { name: 'data', internalType: 'string', type: 'string' }, + ], + name: 'writeLine', + outputs: [], + stateMutability: 'nonpayable', + }, +] as const + +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// CtzndstdError +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +export const ctzndstdErrorAbi = [ + { + type: 'function', + inputs: [], + name: 'arithmeticError', + outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'assertionError', + outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'divisionError', + outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'encodeStorageError', + outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'enumConversionError', + outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'indexOOBError', + outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'memOverflowError', + outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'popError', + outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }], + stateMutability: 'view', + }, + { + type: 'function', + inputs: [], + name: 'zeroVarError', + outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }], + stateMutability: 'view', + }, +] as const + +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// CtzndstdStorageSafe +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +export const ctzndstdStorageSafeAbi = [ + { + type: 'event', + anonymous: false, + inputs: [ + { name: 'who', internalType: 'address', type: 'address', indexed: false }, + { name: 'fsig', internalType: 'bytes4', type: 'bytes4', indexed: false }, + { + name: 'keysHash', + internalType: 'bytes32', + type: 'bytes32', + indexed: false, + }, + { + name: 'slot', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, + ], + name: 'SlotFound', + }, + { + type: 'event', + anonymous: false, + inputs: [ + { name: 'who', internalType: 'address', type: 'address', indexed: false }, + { + name: 'slot', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, + ], + name: 'WARNING_UninitedSlot', + }, +] as const + +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// React +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndAccessControlAbi}__ + */ +export const useReadCtzndAccessControl = /*#__PURE__*/ createUseReadContract({ + abi: ctzndAccessControlAbi, +}) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndAccessControlAbi}__ and `functionName` set to `"DEFAULT_ADMIN_ROLE"` + */ +export const useReadCtzndAccessControlDefaultAdminRole = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndAccessControlAbi, + functionName: 'DEFAULT_ADMIN_ROLE', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndAccessControlAbi}__ and `functionName` set to `"getRoleAdmin"` + */ +export const useReadCtzndAccessControlGetRoleAdmin = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndAccessControlAbi, + functionName: 'getRoleAdmin', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndAccessControlAbi}__ and `functionName` set to `"hasRole"` + */ +export const useReadCtzndAccessControlHasRole = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndAccessControlAbi, + functionName: 'hasRole', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndAccessControlAbi}__ and `functionName` set to `"supportsInterface"` + */ +export const useReadCtzndAccessControlSupportsInterface = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndAccessControlAbi, + functionName: 'supportsInterface', + }) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndAccessControlAbi}__ + */ +export const useWriteCtzndAccessControl = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndAccessControlAbi, +}) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndAccessControlAbi}__ and `functionName` set to `"grantRole"` + */ +export const useWriteCtzndAccessControlGrantRole = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndAccessControlAbi, + functionName: 'grantRole', + }) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndAccessControlAbi}__ and `functionName` set to `"renounceRole"` + */ +export const useWriteCtzndAccessControlRenounceRole = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndAccessControlAbi, + functionName: 'renounceRole', + }) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndAccessControlAbi}__ and `functionName` set to `"revokeRole"` + */ +export const useWriteCtzndAccessControlRevokeRole = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndAccessControlAbi, + functionName: 'revokeRole', + }) + +/** + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndAccessControlAbi}__ + */ +export const useSimulateCtzndAccessControl = + /*#__PURE__*/ createUseSimulateContract({ abi: ctzndAccessControlAbi }) + +/** + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndAccessControlAbi}__ and `functionName` set to `"grantRole"` + */ +export const useSimulateCtzndAccessControlGrantRole = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndAccessControlAbi, + functionName: 'grantRole', + }) + +/** + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndAccessControlAbi}__ and `functionName` set to `"renounceRole"` + */ +export const useSimulateCtzndAccessControlRenounceRole = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndAccessControlAbi, + functionName: 'renounceRole', + }) + +/** + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndAccessControlAbi}__ and `functionName` set to `"revokeRole"` + */ +export const useSimulateCtzndAccessControlRevokeRole = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndAccessControlAbi, + functionName: 'revokeRole', + }) + +/** + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndAccessControlAbi}__ + */ +export const useWatchCtzndAccessControlEvent = + /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndAccessControlAbi }) + +/** + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndAccessControlAbi}__ and `eventName` set to `"RoleAdminChanged"` + */ +export const useWatchCtzndAccessControlRoleAdminChangedEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndAccessControlAbi, + eventName: 'RoleAdminChanged', + }) + +/** + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndAccessControlAbi}__ and `eventName` set to `"RoleGranted"` + */ +export const useWatchCtzndAccessControlRoleGrantedEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndAccessControlAbi, + eventName: 'RoleGranted', + }) + +/** + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndAccessControlAbi}__ and `eventName` set to `"RoleRevoked"` + */ +export const useWatchCtzndAccessControlRoleRevokedEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndAccessControlAbi, + eventName: 'RoleRevoked', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ + */ +export const useReadCtzndBatch = /*#__PURE__*/ createUseReadContract({ + abi: ctzndBatchAbi, +}) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"controller"` + */ +export const useReadCtzndBatchController = /*#__PURE__*/ createUseReadContract({ + abi: ctzndBatchAbi, + functionName: 'controller', +}) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"getCurrentWinners"` + */ +export const useReadCtzndBatchGetCurrentWinners = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndBatchAbi, + functionName: 'getCurrentWinners', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"getProjectStatus"` + */ +export const useReadCtzndBatchGetProjectStatus = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndBatchAbi, + functionName: 'getProjectStatus', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"hasVotedForProject"` + */ +export const useReadCtzndBatchHasVotedForProject = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndBatchAbi, + functionName: 'hasVotedForProject', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"inInvestmentPeriod"` + */ +export const useReadCtzndBatchInInvestmentPeriod = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndBatchAbi, + functionName: 'inInvestmentPeriod', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"investmentEnd"` + */ +export const useReadCtzndBatchInvestmentEnd = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndBatchAbi, + functionName: 'investmentEnd', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"projectToVotesIndex"` + */ +export const useReadCtzndBatchProjectToVotesIndex = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndBatchAbi, + functionName: 'projectToVotesIndex', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"projectVoteCount"` + */ +export const useReadCtzndBatchProjectVoteCount = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndBatchAbi, + functionName: 'projectVoteCount', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"projectVoting_finalBonus"` + */ +export const useReadCtzndBatchProjectVotingFinalBonus = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndBatchAbi, + functionName: 'projectVoting_finalBonus', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"projectVoting_initialBonus"` + */ +export const useReadCtzndBatchProjectVotingInitialBonus = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndBatchAbi, + functionName: 'projectVoting_initialBonus', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"projectVoting_projects"` + */ +export const useReadCtzndBatchProjectVotingProjects = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndBatchAbi, + functionName: 'projectVoting_projects', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"projectVoting_singleSlotDuration"` + */ +export const useReadCtzndBatchProjectVotingSingleSlotDuration = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndBatchAbi, + functionName: 'projectVoting_singleSlotDuration', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"projectVoting_voteLimitPerUser"` + */ +export const useReadCtzndBatchProjectVotingVoteLimitPerUser = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndBatchAbi, + functionName: 'projectVoting_voteLimitPerUser', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"projectVoting_votingPeriod"` + */ +export const useReadCtzndBatchProjectVotingVotingPeriod = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndBatchAbi, + functionName: 'projectVoting_votingPeriod', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"projects"` + */ +export const useReadCtzndBatchProjects = /*#__PURE__*/ createUseReadContract({ + abi: ctzndBatchAbi, + functionName: 'projects', +}) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"singleSlotDuration"` + */ +export const useReadCtzndBatchSingleSlotDuration = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndBatchAbi, + functionName: 'singleSlotDuration', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"slotCount"` + */ +export const useReadCtzndBatchSlotCount = /*#__PURE__*/ createUseReadContract({ + abi: ctzndBatchAbi, + functionName: 'slotCount', +}) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"userHasVotedForProject"` + */ +export const useReadCtzndBatchUserHasVotedForProject = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndBatchAbi, + functionName: 'userHasVotedForProject', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"userVoteCount"` + */ +export const useReadCtzndBatchUserVoteCount = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndBatchAbi, + functionName: 'userVoteCount', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"votes"` + */ +export const useReadCtzndBatchVotes = /*#__PURE__*/ createUseReadContract({ + abi: ctzndBatchAbi, + functionName: 'votes', +}) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"votesIndexToProject"` + */ +export const useReadCtzndBatchVotesIndexToProject = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndBatchAbi, + functionName: 'votesIndexToProject', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"votingPeriod"` + */ +export const useReadCtzndBatchVotingPeriod = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndBatchAbi, + functionName: 'votingPeriod', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"weightedProjectVoteCount"` + */ +export const useReadCtzndBatchWeightedProjectVoteCount = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndBatchAbi, + functionName: 'weightedProjectVoteCount', + }) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndBatchAbi}__ + */ +export const useWriteCtzndBatch = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndBatchAbi, +}) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"setVotingPeriod"` + */ +export const useWriteCtzndBatchSetVotingPeriod = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndBatchAbi, + functionName: 'setVotingPeriod', + }) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"vote"` + */ +export const useWriteCtzndBatchVote = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndBatchAbi, + functionName: 'vote', +}) + +/** + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndBatchAbi}__ + */ +export const useSimulateCtzndBatch = /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndBatchAbi, +}) + +/** + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"setVotingPeriod"` + */ +export const useSimulateCtzndBatchSetVotingPeriod = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndBatchAbi, + functionName: 'setVotingPeriod', + }) + +/** + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"vote"` + */ +export const useSimulateCtzndBatchVote = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndBatchAbi, + functionName: 'vote', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ + */ +export const useReadCtzndCitizend = /*#__PURE__*/ createUseReadContract({ + abi: ctzndCitizendAbi, +}) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"DEFAULT_ADMIN_ROLE"` + */ +export const useReadCtzndCitizendDefaultAdminRole = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndCitizendAbi, + functionName: 'DEFAULT_ADMIN_ROLE', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"PAUSER_ROLE"` + */ +export const useReadCtzndCitizendPauserRole = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndCitizendAbi, + functionName: 'PAUSER_ROLE', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"allowance"` + */ +export const useReadCtzndCitizendAllowance = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndCitizendAbi, + functionName: 'allowance', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"balanceOf"` + */ +export const useReadCtzndCitizendBalanceOf = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndCitizendAbi, + functionName: 'balanceOf', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"decimals"` + */ +export const useReadCtzndCitizendDecimals = /*#__PURE__*/ createUseReadContract( + { abi: ctzndCitizendAbi, functionName: 'decimals' }, +) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"getRoleAdmin"` + */ +export const useReadCtzndCitizendGetRoleAdmin = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndCitizendAbi, + functionName: 'getRoleAdmin', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"hasRole"` + */ +export const useReadCtzndCitizendHasRole = /*#__PURE__*/ createUseReadContract({ + abi: ctzndCitizendAbi, + functionName: 'hasRole', +}) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"lockEnd"` + */ +export const useReadCtzndCitizendLockEnd = /*#__PURE__*/ createUseReadContract({ + abi: ctzndCitizendAbi, + functionName: 'lockEnd', +}) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"name"` + */ +export const useReadCtzndCitizendName = /*#__PURE__*/ createUseReadContract({ + abi: ctzndCitizendAbi, + functionName: 'name', +}) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"paused"` + */ +export const useReadCtzndCitizendPaused = /*#__PURE__*/ createUseReadContract({ + abi: ctzndCitizendAbi, + functionName: 'paused', +}) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"supportsInterface"` + */ +export const useReadCtzndCitizendSupportsInterface = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndCitizendAbi, + functionName: 'supportsInterface', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"symbol"` + */ +export const useReadCtzndCitizendSymbol = /*#__PURE__*/ createUseReadContract({ + abi: ctzndCitizendAbi, + functionName: 'symbol', +}) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"totalSupply"` + */ +export const useReadCtzndCitizendTotalSupply = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndCitizendAbi, + functionName: 'totalSupply', + }) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ + */ +export const useWriteCtzndCitizend = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndCitizendAbi, +}) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"approve"` + */ +export const useWriteCtzndCitizendApprove = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndCitizendAbi, + functionName: 'approve', + }) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"burn"` + */ +export const useWriteCtzndCitizendBurn = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndCitizendAbi, + functionName: 'burn', +}) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"burnFrom"` + */ +export const useWriteCtzndCitizendBurnFrom = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndCitizendAbi, + functionName: 'burnFrom', + }) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"grantRole"` + */ +export const useWriteCtzndCitizendGrantRole = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndCitizendAbi, + functionName: 'grantRole', + }) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"pause"` + */ +export const useWriteCtzndCitizendPause = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndCitizendAbi, + functionName: 'pause', +}) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"renounceRole"` + */ +export const useWriteCtzndCitizendRenounceRole = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndCitizendAbi, + functionName: 'renounceRole', + }) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"revokeRole"` + */ +export const useWriteCtzndCitizendRevokeRole = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndCitizendAbi, + functionName: 'revokeRole', + }) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"transfer"` + */ +export const useWriteCtzndCitizendTransfer = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndCitizendAbi, + functionName: 'transfer', + }) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"transferFrom"` + */ +export const useWriteCtzndCitizendTransferFrom = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndCitizendAbi, + functionName: 'transferFrom', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndAccessControlAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"unpause"` */ -export const useReadCtzndAccessControl = /*#__PURE__*/ createUseReadContract({ - abi: ctzndAccessControlAbi, -}) +export const useWriteCtzndCitizendUnpause = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndCitizendAbi, + functionName: 'unpause', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndAccessControlAbi}__ and `functionName` set to `"DEFAULT_ADMIN_ROLE"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"unpausePublic"` */ -export const useReadCtzndAccessControlDefaultAdminRole = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndAccessControlAbi, - functionName: 'DEFAULT_ADMIN_ROLE', +export const useWriteCtzndCitizendUnpausePublic = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndCitizendAbi, + functionName: 'unpausePublic', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndAccessControlAbi}__ and `functionName` set to `"getRoleAdmin"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ */ -export const useReadCtzndAccessControlGetRoleAdmin = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndAccessControlAbi, - functionName: 'getRoleAdmin', - }) +export const useSimulateCtzndCitizend = /*#__PURE__*/ createUseSimulateContract( + { abi: ctzndCitizendAbi }, +) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndAccessControlAbi}__ and `functionName` set to `"hasRole"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"approve"` */ -export const useReadCtzndAccessControlHasRole = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndAccessControlAbi, - functionName: 'hasRole', +export const useSimulateCtzndCitizendApprove = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndCitizendAbi, + functionName: 'approve', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndAccessControlAbi}__ and `functionName` set to `"supportsInterface"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"burn"` */ -export const useReadCtzndAccessControlSupportsInterface = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndAccessControlAbi, - functionName: 'supportsInterface', +export const useSimulateCtzndCitizendBurn = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndCitizendAbi, + functionName: 'burn', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndAccessControlAbi}__ + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"burnFrom"` */ -export const useWriteCtzndAccessControl = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndAccessControlAbi, -}) +export const useSimulateCtzndCitizendBurnFrom = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndCitizendAbi, + functionName: 'burnFrom', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndAccessControlAbi}__ and `functionName` set to `"grantRole"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"grantRole"` */ -export const useWriteCtzndAccessControlGrantRole = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndAccessControlAbi, +export const useSimulateCtzndCitizendGrantRole = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndCitizendAbi, functionName: 'grantRole', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndAccessControlAbi}__ and `functionName` set to `"renounceRole"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"pause"` */ -export const useWriteCtzndAccessControlRenounceRole = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndAccessControlAbi, +export const useSimulateCtzndCitizendPause = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndCitizendAbi, + functionName: 'pause', + }) + +/** + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"renounceRole"` + */ +export const useSimulateCtzndCitizendRenounceRole = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndCitizendAbi, functionName: 'renounceRole', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndAccessControlAbi}__ and `functionName` set to `"revokeRole"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"revokeRole"` */ -export const useWriteCtzndAccessControlRevokeRole = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndAccessControlAbi, +export const useSimulateCtzndCitizendRevokeRole = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndCitizendAbi, functionName: 'revokeRole', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndAccessControlAbi}__ + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"transfer"` */ -export const useSimulateCtzndAccessControl = - /*#__PURE__*/ createUseSimulateContract({ abi: ctzndAccessControlAbi }) +export const useSimulateCtzndCitizendTransfer = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndCitizendAbi, + functionName: 'transfer', + }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndAccessControlAbi}__ and `functionName` set to `"grantRole"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"transferFrom"` */ -export const useSimulateCtzndAccessControlGrantRole = +export const useSimulateCtzndCitizendTransferFrom = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndAccessControlAbi, - functionName: 'grantRole', + abi: ctzndCitizendAbi, + functionName: 'transferFrom', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndAccessControlAbi}__ and `functionName` set to `"renounceRole"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"unpause"` */ -export const useSimulateCtzndAccessControlRenounceRole = +export const useSimulateCtzndCitizendUnpause = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndAccessControlAbi, - functionName: 'renounceRole', + abi: ctzndCitizendAbi, + functionName: 'unpause', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndAccessControlAbi}__ and `functionName` set to `"revokeRole"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"unpausePublic"` */ -export const useSimulateCtzndAccessControlRevokeRole = +export const useSimulateCtzndCitizendUnpausePublic = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndAccessControlAbi, - functionName: 'revokeRole', + abi: ctzndCitizendAbi, + functionName: 'unpausePublic', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndAccessControlAbi}__ + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendAbi}__ */ -export const useWatchCtzndAccessControlEvent = - /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndAccessControlAbi }) +export const useWatchCtzndCitizendEvent = + /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndCitizendAbi }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndAccessControlAbi}__ and `eventName` set to `"RoleAdminChanged"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `eventName` set to `"Approval"` */ -export const useWatchCtzndAccessControlRoleAdminChangedEvent = +export const useWatchCtzndCitizendApprovalEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndAccessControlAbi, + abi: ctzndCitizendAbi, + eventName: 'Approval', + }) + +/** + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `eventName` set to `"Paused"` + */ +export const useWatchCtzndCitizendPausedEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndCitizendAbi, + eventName: 'Paused', + }) + +/** + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `eventName` set to `"RoleAdminChanged"` + */ +export const useWatchCtzndCitizendRoleAdminChangedEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndCitizendAbi, eventName: 'RoleAdminChanged', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndAccessControlAbi}__ and `eventName` set to `"RoleGranted"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `eventName` set to `"RoleGranted"` */ -export const useWatchCtzndAccessControlRoleGrantedEvent = +export const useWatchCtzndCitizendRoleGrantedEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndAccessControlAbi, + abi: ctzndCitizendAbi, eventName: 'RoleGranted', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndAccessControlAbi}__ and `eventName` set to `"RoleRevoked"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `eventName` set to `"RoleRevoked"` */ -export const useWatchCtzndAccessControlRoleRevokedEvent = +export const useWatchCtzndCitizendRoleRevokedEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndAccessControlAbi, + abi: ctzndCitizendAbi, eventName: 'RoleRevoked', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `eventName` set to `"Transfer"` */ -export const useReadCtzndBatch = /*#__PURE__*/ createUseReadContract({ - abi: ctzndBatchAbi, -}) +export const useWatchCtzndCitizendTransferEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndCitizendAbi, + eventName: 'Transfer', + }) + +/** + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `eventName` set to `"Unpaused"` + */ +export const useWatchCtzndCitizendUnpausedEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndCitizendAbi, + eventName: 'Unpaused', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ + */ +export const useReadCtzndCitizendConstructorTest = + /*#__PURE__*/ createUseReadContract({ abi: ctzndCitizendConstructorTestAbi }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"IS_TEST"` + */ +export const useReadCtzndCitizendConstructorTestIsTest = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndCitizendConstructorTestAbi, + functionName: 'IS_TEST', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"excludeArtifacts"` + */ +export const useReadCtzndCitizendConstructorTestExcludeArtifacts = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndCitizendConstructorTestAbi, + functionName: 'excludeArtifacts', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"excludeContracts"` + */ +export const useReadCtzndCitizendConstructorTestExcludeContracts = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndCitizendConstructorTestAbi, + functionName: 'excludeContracts', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"excludeSenders"` + */ +export const useReadCtzndCitizendConstructorTestExcludeSenders = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndCitizendConstructorTestAbi, + functionName: 'excludeSenders', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"targetArtifactSelectors"` + */ +export const useReadCtzndCitizendConstructorTestTargetArtifactSelectors = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndCitizendConstructorTestAbi, + functionName: 'targetArtifactSelectors', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"targetArtifacts"` + */ +export const useReadCtzndCitizendConstructorTestTargetArtifacts = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndCitizendConstructorTestAbi, + functionName: 'targetArtifacts', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"targetContracts"` + */ +export const useReadCtzndCitizendConstructorTestTargetContracts = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndCitizendConstructorTestAbi, + functionName: 'targetContracts', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"controller"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"targetInterfaces"` */ -export const useReadCtzndBatchController = /*#__PURE__*/ createUseReadContract({ - abi: ctzndBatchAbi, - functionName: 'controller', -}) +export const useReadCtzndCitizendConstructorTestTargetInterfaces = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndCitizendConstructorTestAbi, + functionName: 'targetInterfaces', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"getCurrentWinners"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"targetSelectors"` */ -export const useReadCtzndBatchGetCurrentWinners = +export const useReadCtzndCitizendConstructorTestTargetSelectors = /*#__PURE__*/ createUseReadContract({ - abi: ctzndBatchAbi, - functionName: 'getCurrentWinners', + abi: ctzndCitizendConstructorTestAbi, + functionName: 'targetSelectors', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"getProjectStatus"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"targetSenders"` */ -export const useReadCtzndBatchGetProjectStatus = +export const useReadCtzndCitizendConstructorTestTargetSenders = /*#__PURE__*/ createUseReadContract({ - abi: ctzndBatchAbi, - functionName: 'getProjectStatus', + abi: ctzndCitizendConstructorTestAbi, + functionName: 'targetSenders', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"hasVotedForProject"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ */ -export const useReadCtzndBatchHasVotedForProject = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndBatchAbi, - functionName: 'hasVotedForProject', +export const useWriteCtzndCitizendConstructorTest = + /*#__PURE__*/ createUseWriteContract({ abi: ctzndCitizendConstructorTestAbi }) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"failed"` + */ +export const useWriteCtzndCitizendConstructorTestFailed = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndCitizendConstructorTestAbi, + functionName: 'failed', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"inInvestmentPeriod"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"testInitialMint"` */ -export const useReadCtzndBatchInInvestmentPeriod = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndBatchAbi, - functionName: 'inInvestmentPeriod', +export const useWriteCtzndCitizendConstructorTestTestInitialMint = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndCitizendConstructorTestAbi, + functionName: 'testInitialMint', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"investmentEnd"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"testSetsCorrectParameters"` */ -export const useReadCtzndBatchInvestmentEnd = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndBatchAbi, - functionName: 'investmentEnd', +export const useWriteCtzndCitizendConstructorTestTestSetsCorrectParameters = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndCitizendConstructorTestAbi, + functionName: 'testSetsCorrectParameters', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"projectToVotesIndex"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ */ -export const useReadCtzndBatchProjectToVotesIndex = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndBatchAbi, - functionName: 'projectToVotesIndex', +export const useSimulateCtzndCitizendConstructorTest = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndCitizendConstructorTestAbi, }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"projectVoteCount"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"failed"` */ -export const useReadCtzndBatchProjectVoteCount = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndBatchAbi, - functionName: 'projectVoteCount', +export const useSimulateCtzndCitizendConstructorTestFailed = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndCitizendConstructorTestAbi, + functionName: 'failed', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"projectVoting_finalBonus"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"testInitialMint"` */ -export const useReadCtzndBatchProjectVotingFinalBonus = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndBatchAbi, - functionName: 'projectVoting_finalBonus', +export const useSimulateCtzndCitizendConstructorTestTestInitialMint = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndCitizendConstructorTestAbi, + functionName: 'testInitialMint', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"projectVoting_initialBonus"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"testSetsCorrectParameters"` */ -export const useReadCtzndBatchProjectVotingInitialBonus = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndBatchAbi, - functionName: 'projectVoting_initialBonus', +export const useSimulateCtzndCitizendConstructorTestTestSetsCorrectParameters = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndCitizendConstructorTestAbi, + functionName: 'testSetsCorrectParameters', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"projectVoting_projects"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ */ -export const useReadCtzndBatchProjectVotingProjects = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndBatchAbi, - functionName: 'projectVoting_projects', +export const useWatchCtzndCitizendConstructorTestEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndCitizendConstructorTestAbi, }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"projectVoting_singleSlotDuration"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log"` */ -export const useReadCtzndBatchProjectVotingSingleSlotDuration = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndBatchAbi, - functionName: 'projectVoting_singleSlotDuration', +export const useWatchCtzndCitizendConstructorTestLogEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndCitizendConstructorTestAbi, + eventName: 'log', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"projectVoting_voteLimitPerUser"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_address"` */ -export const useReadCtzndBatchProjectVotingVoteLimitPerUser = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndBatchAbi, - functionName: 'projectVoting_voteLimitPerUser', +export const useWatchCtzndCitizendConstructorTestLogAddressEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndCitizendConstructorTestAbi, + eventName: 'log_address', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"projectVoting_votingPeriod"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_array"` */ -export const useReadCtzndBatchProjectVotingVotingPeriod = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndBatchAbi, - functionName: 'projectVoting_votingPeriod', +export const useWatchCtzndCitizendConstructorTestLogArrayEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndCitizendConstructorTestAbi, + eventName: 'log_array', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"projects"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_bytes"` */ -export const useReadCtzndBatchProjects = /*#__PURE__*/ createUseReadContract({ - abi: ctzndBatchAbi, - functionName: 'projects', -}) +export const useWatchCtzndCitizendConstructorTestLogBytesEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndCitizendConstructorTestAbi, + eventName: 'log_bytes', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"singleSlotDuration"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_bytes32"` */ -export const useReadCtzndBatchSingleSlotDuration = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndBatchAbi, - functionName: 'singleSlotDuration', +export const useWatchCtzndCitizendConstructorTestLogBytes32Event = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndCitizendConstructorTestAbi, + eventName: 'log_bytes32', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"slotCount"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_int"` */ -export const useReadCtzndBatchSlotCount = /*#__PURE__*/ createUseReadContract({ - abi: ctzndBatchAbi, - functionName: 'slotCount', -}) +export const useWatchCtzndCitizendConstructorTestLogIntEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndCitizendConstructorTestAbi, + eventName: 'log_int', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"userHasVotedForProject"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_named_address"` */ -export const useReadCtzndBatchUserHasVotedForProject = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndBatchAbi, - functionName: 'userHasVotedForProject', +export const useWatchCtzndCitizendConstructorTestLogNamedAddressEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndCitizendConstructorTestAbi, + eventName: 'log_named_address', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"userVoteCount"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_named_array"` */ -export const useReadCtzndBatchUserVoteCount = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndBatchAbi, - functionName: 'userVoteCount', +export const useWatchCtzndCitizendConstructorTestLogNamedArrayEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndCitizendConstructorTestAbi, + eventName: 'log_named_array', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"votes"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_named_bytes"` */ -export const useReadCtzndBatchVotes = /*#__PURE__*/ createUseReadContract({ - abi: ctzndBatchAbi, - functionName: 'votes', -}) +export const useWatchCtzndCitizendConstructorTestLogNamedBytesEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndCitizendConstructorTestAbi, + eventName: 'log_named_bytes', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"votesIndexToProject"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_named_bytes32"` */ -export const useReadCtzndBatchVotesIndexToProject = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndBatchAbi, - functionName: 'votesIndexToProject', +export const useWatchCtzndCitizendConstructorTestLogNamedBytes32Event = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndCitizendConstructorTestAbi, + eventName: 'log_named_bytes32', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"votingPeriod"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_named_decimal_int"` */ -export const useReadCtzndBatchVotingPeriod = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndBatchAbi, - functionName: 'votingPeriod', +export const useWatchCtzndCitizendConstructorTestLogNamedDecimalIntEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndCitizendConstructorTestAbi, + eventName: 'log_named_decimal_int', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"weightedProjectVoteCount"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_named_decimal_uint"` */ -export const useReadCtzndBatchWeightedProjectVoteCount = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndBatchAbi, - functionName: 'weightedProjectVoteCount', +export const useWatchCtzndCitizendConstructorTestLogNamedDecimalUintEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndCitizendConstructorTestAbi, + eventName: 'log_named_decimal_uint', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndBatchAbi}__ + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_named_int"` */ -export const useWriteCtzndBatch = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndBatchAbi, -}) +export const useWatchCtzndCitizendConstructorTestLogNamedIntEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndCitizendConstructorTestAbi, + eventName: 'log_named_int', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"setVotingPeriod"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_named_string"` */ -export const useWriteCtzndBatchSetVotingPeriod = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndBatchAbi, - functionName: 'setVotingPeriod', +export const useWatchCtzndCitizendConstructorTestLogNamedStringEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndCitizendConstructorTestAbi, + eventName: 'log_named_string', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"vote"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_named_uint"` */ -export const useWriteCtzndBatchVote = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndBatchAbi, - functionName: 'vote', -}) +export const useWatchCtzndCitizendConstructorTestLogNamedUintEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndCitizendConstructorTestAbi, + eventName: 'log_named_uint', + }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndBatchAbi}__ + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_string"` */ -export const useSimulateCtzndBatch = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndBatchAbi, -}) +export const useWatchCtzndCitizendConstructorTestLogStringEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndCitizendConstructorTestAbi, + eventName: 'log_string', + }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"setVotingPeriod"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_uint"` */ -export const useSimulateCtzndBatchSetVotingPeriod = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndBatchAbi, - functionName: 'setVotingPeriod', +export const useWatchCtzndCitizendConstructorTestLogUintEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndCitizendConstructorTestAbi, + eventName: 'log_uint', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndBatchAbi}__ and `functionName` set to `"vote"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"logs"` */ -export const useSimulateCtzndBatchVote = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndBatchAbi, - functionName: 'vote', +export const useWatchCtzndCitizendConstructorTestLogsEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndCitizendConstructorTestAbi, + eventName: 'logs', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ */ -export const useReadCtzndCitizend = /*#__PURE__*/ createUseReadContract({ - abi: ctzndCitizendAbi, +export const useReadCtzndController = /*#__PURE__*/ createUseReadContract({ + abi: ctzndControllerAbi, }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"DEFAULT_ADMIN_ROLE"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"BATCH_MANAGER_ROLE"` */ -export const useReadCtzndCitizendDefaultAdminRole = +export const useReadCtzndControllerBatchManagerRole = /*#__PURE__*/ createUseReadContract({ - abi: ctzndCitizendAbi, + abi: ctzndControllerAbi, + functionName: 'BATCH_MANAGER_ROLE', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"DEFAULT_ADMIN_ROLE"` + */ +export const useReadCtzndControllerDefaultAdminRole = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndControllerAbi, functionName: 'DEFAULT_ADMIN_ROLE', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"PAUSER_ROLE"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"LEGAL_MANAGER_ROLE"` */ -export const useReadCtzndCitizendPauserRole = +export const useReadCtzndControllerLegalManagerRole = /*#__PURE__*/ createUseReadContract({ - abi: ctzndCitizendAbi, - functionName: 'PAUSER_ROLE', + abi: ctzndControllerAbi, + functionName: 'LEGAL_MANAGER_ROLE', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"allowance"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"PROJECT_MANAGER_ROLE"` */ -export const useReadCtzndCitizendAllowance = +export const useReadCtzndControllerProjectManagerRole = /*#__PURE__*/ createUseReadContract({ - abi: ctzndCitizendAbi, - functionName: 'allowance', + abi: ctzndControllerAbi, + functionName: 'PROJECT_MANAGER_ROLE', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"balanceOf"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"canInvestInPeoplesPool"` */ -export const useReadCtzndCitizendBalanceOf = +export const useReadCtzndControllerCanInvestInPeoplesPool = /*#__PURE__*/ createUseReadContract({ - abi: ctzndCitizendAbi, - functionName: 'balanceOf', + abi: ctzndControllerAbi, + functionName: 'canInvestInPeoplesPool', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"decimals"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"canInvestInStakersPool"` */ -export const useReadCtzndCitizendDecimals = /*#__PURE__*/ createUseReadContract( - { abi: ctzndCitizendAbi, functionName: 'decimals' }, -) +export const useReadCtzndControllerCanInvestInStakersPool = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndControllerAbi, + functionName: 'canInvestInStakersPool', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"getRoleAdmin"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"canVote"` */ -export const useReadCtzndCitizendGetRoleAdmin = +export const useReadCtzndControllerCanVote = /*#__PURE__*/ createUseReadContract({ - abi: ctzndCitizendAbi, - functionName: 'getRoleAdmin', + abi: ctzndControllerAbi, + functionName: 'canVote', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"hasRole"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"getBatchForProject"` */ -export const useReadCtzndCitizendHasRole = /*#__PURE__*/ createUseReadContract({ - abi: ctzndCitizendAbi, - functionName: 'hasRole', -}) +export const useReadCtzndControllerGetBatchForProject = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndControllerAbi, + functionName: 'getBatchForProject', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"lockEnd"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"getRoleAdmin"` */ -export const useReadCtzndCitizendLockEnd = /*#__PURE__*/ createUseReadContract({ - abi: ctzndCitizendAbi, - functionName: 'lockEnd', -}) +export const useReadCtzndControllerGetRoleAdmin = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndControllerAbi, + functionName: 'getRoleAdmin', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"name"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"hasBatchManagerRole"` */ -export const useReadCtzndCitizendName = /*#__PURE__*/ createUseReadContract({ - abi: ctzndCitizendAbi, - functionName: 'name', -}) +export const useReadCtzndControllerHasBatchManagerRole = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndControllerAbi, + functionName: 'hasBatchManagerRole', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"paused"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"hasLegalManagerRole"` */ -export const useReadCtzndCitizendPaused = /*#__PURE__*/ createUseReadContract({ - abi: ctzndCitizendAbi, - functionName: 'paused', -}) +export const useReadCtzndControllerHasLegalManagerRole = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndControllerAbi, + functionName: 'hasLegalManagerRole', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"supportsInterface"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"hasProjectManagerRole"` */ -export const useReadCtzndCitizendSupportsInterface = +export const useReadCtzndControllerHasProjectManagerRole = /*#__PURE__*/ createUseReadContract({ - abi: ctzndCitizendAbi, - functionName: 'supportsInterface', + abi: ctzndControllerAbi, + functionName: 'hasProjectManagerRole', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"symbol"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"hasRole"` */ -export const useReadCtzndCitizendSymbol = /*#__PURE__*/ createUseReadContract({ - abi: ctzndCitizendAbi, - functionName: 'symbol', -}) +export const useReadCtzndControllerHasRole = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndControllerAbi, + functionName: 'hasRole', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"totalSupply"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"isProjectInBatch"` */ -export const useReadCtzndCitizendTotalSupply = +export const useReadCtzndControllerIsProjectInBatch = /*#__PURE__*/ createUseReadContract({ - abi: ctzndCitizendAbi, - functionName: 'totalSupply', + abi: ctzndControllerAbi, + functionName: 'isProjectInBatch', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"merkleRoot"` */ -export const useWriteCtzndCitizend = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndCitizendAbi, -}) +export const useReadCtzndControllerMerkleRoot = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndControllerAbi, + functionName: 'merkleRoot', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"approve"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"projects"` */ -export const useWriteCtzndCitizendApprove = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndCitizendAbi, - functionName: 'approve', +export const useReadCtzndControllerProjects = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndControllerAbi, + functionName: 'projects', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"burn"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"projectsToBatches"` */ -export const useWriteCtzndCitizendBurn = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndCitizendAbi, - functionName: 'burn', -}) +export const useReadCtzndControllerProjectsToBatches = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndControllerAbi, + functionName: 'projectsToBatches', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"burnFrom"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"staking"` */ -export const useWriteCtzndCitizendBurnFrom = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndCitizendAbi, - functionName: 'burnFrom', +export const useReadCtzndControllerStaking = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndControllerAbi, + functionName: 'staking', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"grantRole"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"supportsInterface"` */ -export const useWriteCtzndCitizendGrantRole = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndCitizendAbi, - functionName: 'grantRole', +export const useReadCtzndControllerSupportsInterface = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndControllerAbi, + functionName: 'supportsInterface', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"pause"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"token"` */ -export const useWriteCtzndCitizendPause = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndCitizendAbi, - functionName: 'pause', +export const useReadCtzndControllerToken = /*#__PURE__*/ createUseReadContract({ + abi: ctzndControllerAbi, + functionName: 'token', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"renounceRole"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndControllerAbi}__ */ -export const useWriteCtzndCitizendRenounceRole = +export const useWriteCtzndController = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndControllerAbi, +}) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"createBatch"` + */ +export const useWriteCtzndControllerCreateBatch = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndCitizendAbi, - functionName: 'renounceRole', + abi: ctzndControllerAbi, + functionName: 'createBatch', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"revokeRole"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"grantRole"` */ -export const useWriteCtzndCitizendRevokeRole = +export const useWriteCtzndControllerGrantRole = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndCitizendAbi, - functionName: 'revokeRole', + abi: ctzndControllerAbi, + functionName: 'grantRole', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"transfer"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"registerProject"` */ -export const useWriteCtzndCitizendTransfer = +export const useWriteCtzndControllerRegisterProject = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndCitizendAbi, - functionName: 'transfer', + abi: ctzndControllerAbi, + functionName: 'registerProject', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"transferFrom"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"renounceRole"` */ -export const useWriteCtzndCitizendTransferFrom = +export const useWriteCtzndControllerRenounceRole = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndCitizendAbi, - functionName: 'transferFrom', + abi: ctzndControllerAbi, + functionName: 'renounceRole', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"unpause"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"revokeRole"` */ -export const useWriteCtzndCitizendUnpause = +export const useWriteCtzndControllerRevokeRole = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndCitizendAbi, - functionName: 'unpause', + abi: ctzndControllerAbi, + functionName: 'revokeRole', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"unpausePublic"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"setBatchVotingPeriod"` */ -export const useWriteCtzndCitizendUnpausePublic = +export const useWriteCtzndControllerSetBatchVotingPeriod = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndCitizendAbi, - functionName: 'unpausePublic', + abi: ctzndControllerAbi, + functionName: 'setBatchVotingPeriod', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndControllerAbi}__ */ -export const useSimulateCtzndCitizend = /*#__PURE__*/ createUseSimulateContract( - { abi: ctzndCitizendAbi }, -) +export const useSimulateCtzndController = + /*#__PURE__*/ createUseSimulateContract({ abi: ctzndControllerAbi }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"approve"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"createBatch"` */ -export const useSimulateCtzndCitizendApprove = +export const useSimulateCtzndControllerCreateBatch = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndCitizendAbi, - functionName: 'approve', + abi: ctzndControllerAbi, + functionName: 'createBatch', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"burn"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"grantRole"` */ -export const useSimulateCtzndCitizendBurn = +export const useSimulateCtzndControllerGrantRole = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndCitizendAbi, - functionName: 'burn', + abi: ctzndControllerAbi, + functionName: 'grantRole', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"burnFrom"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"registerProject"` */ -export const useSimulateCtzndCitizendBurnFrom = +export const useSimulateCtzndControllerRegisterProject = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndCitizendAbi, - functionName: 'burnFrom', + abi: ctzndControllerAbi, + functionName: 'registerProject', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"grantRole"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"renounceRole"` */ -export const useSimulateCtzndCitizendGrantRole = +export const useSimulateCtzndControllerRenounceRole = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndCitizendAbi, - functionName: 'grantRole', + abi: ctzndControllerAbi, + functionName: 'renounceRole', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"pause"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"revokeRole"` */ -export const useSimulateCtzndCitizendPause = +export const useSimulateCtzndControllerRevokeRole = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndCitizendAbi, - functionName: 'pause', + abi: ctzndControllerAbi, + functionName: 'revokeRole', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"renounceRole"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"setBatchVotingPeriod"` */ -export const useSimulateCtzndCitizendRenounceRole = +export const useSimulateCtzndControllerSetBatchVotingPeriod = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndCitizendAbi, - functionName: 'renounceRole', + abi: ctzndControllerAbi, + functionName: 'setBatchVotingPeriod', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"revokeRole"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndControllerAbi}__ */ -export const useSimulateCtzndCitizendRevokeRole = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndCitizendAbi, - functionName: 'revokeRole', +export const useWatchCtzndControllerEvent = + /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndControllerAbi }) + +/** + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndControllerAbi}__ and `eventName` set to `"BatchCreated"` + */ +export const useWatchCtzndControllerBatchCreatedEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndControllerAbi, + eventName: 'BatchCreated', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"transfer"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndControllerAbi}__ and `eventName` set to `"ProjectRegistered"` */ -export const useSimulateCtzndCitizendTransfer = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndCitizendAbi, - functionName: 'transfer', +export const useWatchCtzndControllerProjectRegisteredEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndControllerAbi, + eventName: 'ProjectRegistered', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"transferFrom"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndControllerAbi}__ and `eventName` set to `"RoleAdminChanged"` */ -export const useSimulateCtzndCitizendTransferFrom = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndCitizendAbi, - functionName: 'transferFrom', +export const useWatchCtzndControllerRoleAdminChangedEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndControllerAbi, + eventName: 'RoleAdminChanged', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"unpause"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndControllerAbi}__ and `eventName` set to `"RoleGranted"` */ -export const useSimulateCtzndCitizendUnpause = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndCitizendAbi, - functionName: 'unpause', +export const useWatchCtzndControllerRoleGrantedEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndControllerAbi, + eventName: 'RoleGranted', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `functionName` set to `"unpausePublic"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndControllerAbi}__ and `eventName` set to `"RoleRevoked"` */ -export const useSimulateCtzndCitizendUnpausePublic = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndCitizendAbi, - functionName: 'unpausePublic', +export const useWatchCtzndControllerRoleRevokedEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndControllerAbi, + eventName: 'RoleRevoked', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndDsTestAbi}__ */ -export const useWatchCtzndCitizendEvent = - /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndCitizendAbi }) +export const useReadCtzndDsTest = /*#__PURE__*/ createUseReadContract({ + abi: ctzndDsTestAbi, +}) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `eventName` set to `"Approval"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `functionName` set to `"IS_TEST"` */ -export const useWatchCtzndCitizendApprovalEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndCitizendAbi, - eventName: 'Approval', - }) +export const useReadCtzndDsTestIsTest = /*#__PURE__*/ createUseReadContract({ + abi: ctzndDsTestAbi, + functionName: 'IS_TEST', +}) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `eventName` set to `"Paused"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndDsTestAbi}__ */ -export const useWatchCtzndCitizendPausedEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndCitizendAbi, - eventName: 'Paused', +export const useWriteCtzndDsTest = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndDsTestAbi, +}) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `functionName` set to `"failed"` + */ +export const useWriteCtzndDsTestFailed = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndDsTestAbi, + functionName: 'failed', +}) + +/** + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndDsTestAbi}__ + */ +export const useSimulateCtzndDsTest = /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndDsTestAbi, +}) + +/** + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `functionName` set to `"failed"` + */ +export const useSimulateCtzndDsTestFailed = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndDsTestAbi, + functionName: 'failed', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `eventName` set to `"RoleAdminChanged"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ */ -export const useWatchCtzndCitizendRoleAdminChangedEvent = +export const useWatchCtzndDsTestEvent = + /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndDsTestAbi }) + +/** + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log"` + */ +export const useWatchCtzndDsTestLogEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndCitizendAbi, - eventName: 'RoleAdminChanged', + abi: ctzndDsTestAbi, + eventName: 'log', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `eventName` set to `"RoleGranted"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_address"` */ -export const useWatchCtzndCitizendRoleGrantedEvent = +export const useWatchCtzndDsTestLogAddressEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndCitizendAbi, - eventName: 'RoleGranted', + abi: ctzndDsTestAbi, + eventName: 'log_address', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `eventName` set to `"RoleRevoked"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_bytes"` */ -export const useWatchCtzndCitizendRoleRevokedEvent = +export const useWatchCtzndDsTestLogBytesEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndCitizendAbi, - eventName: 'RoleRevoked', + abi: ctzndDsTestAbi, + eventName: 'log_bytes', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `eventName` set to `"Transfer"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_bytes32"` */ -export const useWatchCtzndCitizendTransferEvent = +export const useWatchCtzndDsTestLogBytes32Event = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndCitizendAbi, - eventName: 'Transfer', + abi: ctzndDsTestAbi, + eventName: 'log_bytes32', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendAbi}__ and `eventName` set to `"Unpaused"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_int"` */ -export const useWatchCtzndCitizendUnpausedEvent = +export const useWatchCtzndDsTestLogIntEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndCitizendAbi, - eventName: 'Unpaused', + abi: ctzndDsTestAbi, + eventName: 'log_int', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_named_address"` */ -export const useReadCtzndCitizendConstructorTest = - /*#__PURE__*/ createUseReadContract({ abi: ctzndCitizendConstructorTestAbi }) +export const useWatchCtzndDsTestLogNamedAddressEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndDsTestAbi, + eventName: 'log_named_address', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"IS_TEST"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_named_bytes"` */ -export const useReadCtzndCitizendConstructorTestIsTest = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndCitizendConstructorTestAbi, - functionName: 'IS_TEST', +export const useWatchCtzndDsTestLogNamedBytesEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndDsTestAbi, + eventName: 'log_named_bytes', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"excludeArtifacts"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_named_bytes32"` */ -export const useReadCtzndCitizendConstructorTestExcludeArtifacts = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndCitizendConstructorTestAbi, - functionName: 'excludeArtifacts', +export const useWatchCtzndDsTestLogNamedBytes32Event = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndDsTestAbi, + eventName: 'log_named_bytes32', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"excludeContracts"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_named_decimal_int"` */ -export const useReadCtzndCitizendConstructorTestExcludeContracts = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndCitizendConstructorTestAbi, - functionName: 'excludeContracts', +export const useWatchCtzndDsTestLogNamedDecimalIntEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndDsTestAbi, + eventName: 'log_named_decimal_int', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"excludeSenders"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_named_decimal_uint"` */ -export const useReadCtzndCitizendConstructorTestExcludeSenders = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndCitizendConstructorTestAbi, - functionName: 'excludeSenders', +export const useWatchCtzndDsTestLogNamedDecimalUintEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndDsTestAbi, + eventName: 'log_named_decimal_uint', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"targetArtifactSelectors"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_named_int"` */ -export const useReadCtzndCitizendConstructorTestTargetArtifactSelectors = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndCitizendConstructorTestAbi, - functionName: 'targetArtifactSelectors', +export const useWatchCtzndDsTestLogNamedIntEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndDsTestAbi, + eventName: 'log_named_int', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"targetArtifacts"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_named_string"` */ -export const useReadCtzndCitizendConstructorTestTargetArtifacts = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndCitizendConstructorTestAbi, - functionName: 'targetArtifacts', +export const useWatchCtzndDsTestLogNamedStringEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndDsTestAbi, + eventName: 'log_named_string', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"targetContracts"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_named_uint"` */ -export const useReadCtzndCitizendConstructorTestTargetContracts = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndCitizendConstructorTestAbi, - functionName: 'targetContracts', +export const useWatchCtzndDsTestLogNamedUintEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndDsTestAbi, + eventName: 'log_named_uint', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"targetInterfaces"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_string"` */ -export const useReadCtzndCitizendConstructorTestTargetInterfaces = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndCitizendConstructorTestAbi, - functionName: 'targetInterfaces', +export const useWatchCtzndDsTestLogStringEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndDsTestAbi, + eventName: 'log_string', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"targetSelectors"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_uint"` */ -export const useReadCtzndCitizendConstructorTestTargetSelectors = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndCitizendConstructorTestAbi, - functionName: 'targetSelectors', +export const useWatchCtzndDsTestLogUintEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndDsTestAbi, + eventName: 'log_uint', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"targetSenders"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"logs"` */ -export const useReadCtzndCitizendConstructorTestTargetSenders = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndCitizendConstructorTestAbi, - functionName: 'targetSenders', +export const useWatchCtzndDsTestLogsEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndDsTestAbi, + eventName: 'logs', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndDeployScriptAbi}__ */ -export const useWriteCtzndCitizendConstructorTest = - /*#__PURE__*/ createUseWriteContract({ abi: ctzndCitizendConstructorTestAbi }) +export const useReadCtzndDeployScript = /*#__PURE__*/ createUseReadContract({ + abi: ctzndDeployScriptAbi, +}) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"failed"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndDeployScriptAbi}__ and `functionName` set to `"IS_SCRIPT"` */ -export const useWriteCtzndCitizendConstructorTestFailed = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndCitizendConstructorTestAbi, - functionName: 'failed', +export const useReadCtzndDeployScriptIsScript = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndDeployScriptAbi, + functionName: 'IS_SCRIPT', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"testInitialMint"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndDeployScriptAbi}__ */ -export const useWriteCtzndCitizendConstructorTestTestInitialMint = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndCitizendConstructorTestAbi, - functionName: 'testInitialMint', - }) +export const useWriteCtzndDeployScript = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndDeployScriptAbi, +}) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"testSetsCorrectParameters"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndDeployScriptAbi}__ and `functionName` set to `"run"` */ -export const useWriteCtzndCitizendConstructorTestTestSetsCorrectParameters = +export const useWriteCtzndDeployScriptRun = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndCitizendConstructorTestAbi, - functionName: 'testSetsCorrectParameters', + abi: ctzndDeployScriptAbi, + functionName: 'run', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndDeployScriptAbi}__ */ -export const useSimulateCtzndCitizendConstructorTest = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndCitizendConstructorTestAbi, - }) +export const useSimulateCtzndDeployScript = + /*#__PURE__*/ createUseSimulateContract({ abi: ctzndDeployScriptAbi }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"failed"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndDeployScriptAbi}__ and `functionName` set to `"run"` */ -export const useSimulateCtzndCitizendConstructorTestFailed = +export const useSimulateCtzndDeployScriptRun = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndCitizendConstructorTestAbi, - functionName: 'failed', + abi: ctzndDeployScriptAbi, + functionName: 'run', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"testInitialMint"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndDevContributeScriptAbi}__ */ -export const useSimulateCtzndCitizendConstructorTestTestInitialMint = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndCitizendConstructorTestAbi, - functionName: 'testInitialMint', - }) +export const useReadCtzndDevContributeScript = + /*#__PURE__*/ createUseReadContract({ abi: ctzndDevContributeScriptAbi }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `functionName` set to `"testSetsCorrectParameters"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndDevContributeScriptAbi}__ and `functionName` set to `"IS_SCRIPT"` */ -export const useSimulateCtzndCitizendConstructorTestTestSetsCorrectParameters = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndCitizendConstructorTestAbi, - functionName: 'testSetsCorrectParameters', +export const useReadCtzndDevContributeScriptIsScript = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndDevContributeScriptAbi, + functionName: 'IS_SCRIPT', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndDevContributeScriptAbi}__ */ -export const useWatchCtzndCitizendConstructorTestEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndCitizendConstructorTestAbi, - }) +export const useWriteCtzndDevContributeScript = + /*#__PURE__*/ createUseWriteContract({ abi: ctzndDevContributeScriptAbi }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndDevContributeScriptAbi}__ and `functionName` set to `"run"` */ -export const useWatchCtzndCitizendConstructorTestLogEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndCitizendConstructorTestAbi, - eventName: 'log', +export const useWriteCtzndDevContributeScriptRun = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndDevContributeScriptAbi, + functionName: 'run', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_address"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndDevContributeScriptAbi}__ and `functionName` set to `"setUp"` */ -export const useWatchCtzndCitizendConstructorTestLogAddressEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndCitizendConstructorTestAbi, - eventName: 'log_address', +export const useWriteCtzndDevContributeScriptSetUp = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndDevContributeScriptAbi, + functionName: 'setUp', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_array"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndDevContributeScriptAbi}__ */ -export const useWatchCtzndCitizendConstructorTestLogArrayEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndCitizendConstructorTestAbi, - eventName: 'log_array', - }) +export const useSimulateCtzndDevContributeScript = + /*#__PURE__*/ createUseSimulateContract({ abi: ctzndDevContributeScriptAbi }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_bytes"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndDevContributeScriptAbi}__ and `functionName` set to `"run"` */ -export const useWatchCtzndCitizendConstructorTestLogBytesEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndCitizendConstructorTestAbi, - eventName: 'log_bytes', +export const useSimulateCtzndDevContributeScriptRun = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndDevContributeScriptAbi, + functionName: 'run', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_bytes32"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndDevContributeScriptAbi}__ and `functionName` set to `"setUp"` */ -export const useWatchCtzndCitizendConstructorTestLogBytes32Event = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndCitizendConstructorTestAbi, - eventName: 'log_bytes32', +export const useSimulateCtzndDevContributeScriptSetUp = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndDevContributeScriptAbi, + functionName: 'setUp', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_int"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndDevDeployScriptAbi}__ */ -export const useWatchCtzndCitizendConstructorTestLogIntEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndCitizendConstructorTestAbi, - eventName: 'log_int', - }) +export const useReadCtzndDevDeployScript = /*#__PURE__*/ createUseReadContract({ + abi: ctzndDevDeployScriptAbi, +}) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_named_address"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndDevDeployScriptAbi}__ and `functionName` set to `"IS_SCRIPT"` */ -export const useWatchCtzndCitizendConstructorTestLogNamedAddressEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndCitizendConstructorTestAbi, - eventName: 'log_named_address', +export const useReadCtzndDevDeployScriptIsScript = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndDevDeployScriptAbi, + functionName: 'IS_SCRIPT', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_named_array"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndDevDeployScriptAbi}__ */ -export const useWatchCtzndCitizendConstructorTestLogNamedArrayEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndCitizendConstructorTestAbi, - eventName: 'log_named_array', +export const useWriteCtzndDevDeployScript = + /*#__PURE__*/ createUseWriteContract({ abi: ctzndDevDeployScriptAbi }) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndDevDeployScriptAbi}__ and `functionName` set to `"run"` + */ +export const useWriteCtzndDevDeployScriptRun = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndDevDeployScriptAbi, + functionName: 'run', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_named_bytes"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndDevDeployScriptAbi}__ and `functionName` set to `"setUp"` */ -export const useWatchCtzndCitizendConstructorTestLogNamedBytesEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndCitizendConstructorTestAbi, - eventName: 'log_named_bytes', +export const useWriteCtzndDevDeployScriptSetUp = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndDevDeployScriptAbi, + functionName: 'setUp', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_named_bytes32"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndDevDeployScriptAbi}__ */ -export const useWatchCtzndCitizendConstructorTestLogNamedBytes32Event = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndCitizendConstructorTestAbi, - eventName: 'log_named_bytes32', - }) +export const useSimulateCtzndDevDeployScript = + /*#__PURE__*/ createUseSimulateContract({ abi: ctzndDevDeployScriptAbi }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_named_decimal_int"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndDevDeployScriptAbi}__ and `functionName` set to `"run"` */ -export const useWatchCtzndCitizendConstructorTestLogNamedDecimalIntEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndCitizendConstructorTestAbi, - eventName: 'log_named_decimal_int', +export const useSimulateCtzndDevDeployScriptRun = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndDevDeployScriptAbi, + functionName: 'run', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_named_decimal_uint"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndDevDeployScriptAbi}__ and `functionName` set to `"setUp"` */ -export const useWatchCtzndCitizendConstructorTestLogNamedDecimalUintEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndCitizendConstructorTestAbi, - eventName: 'log_named_decimal_uint', +export const useSimulateCtzndDevDeployScriptSetUp = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndDevDeployScriptAbi, + functionName: 'setUp', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_named_int"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc165Abi}__ */ -export const useWatchCtzndCitizendConstructorTestLogNamedIntEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndCitizendConstructorTestAbi, - eventName: 'log_named_int', - }) +export const useReadCtzndErc165 = /*#__PURE__*/ createUseReadContract({ + abi: ctzndErc165Abi, +}) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_named_string"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc165Abi}__ and `functionName` set to `"supportsInterface"` */ -export const useWatchCtzndCitizendConstructorTestLogNamedStringEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndCitizendConstructorTestAbi, - eventName: 'log_named_string', +export const useReadCtzndErc165SupportsInterface = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndErc165Abi, + functionName: 'supportsInterface', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_named_uint"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20Abi}__ */ -export const useWatchCtzndCitizendConstructorTestLogNamedUintEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndCitizendConstructorTestAbi, - eventName: 'log_named_uint', - }) +export const useReadCtzndErc20 = /*#__PURE__*/ createUseReadContract({ + abi: ctzndErc20Abi, +}) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_string"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20Abi}__ and `functionName` set to `"allowance"` */ -export const useWatchCtzndCitizendConstructorTestLogStringEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndCitizendConstructorTestAbi, - eventName: 'log_string', - }) +export const useReadCtzndErc20Allowance = /*#__PURE__*/ createUseReadContract({ + abi: ctzndErc20Abi, + functionName: 'allowance', +}) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"log_uint"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20Abi}__ and `functionName` set to `"balanceOf"` */ -export const useWatchCtzndCitizendConstructorTestLogUintEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndCitizendConstructorTestAbi, - eventName: 'log_uint', - }) +export const useReadCtzndErc20BalanceOf = /*#__PURE__*/ createUseReadContract({ + abi: ctzndErc20Abi, + functionName: 'balanceOf', +}) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndCitizendConstructorTestAbi}__ and `eventName` set to `"logs"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20Abi}__ and `functionName` set to `"decimals"` */ -export const useWatchCtzndCitizendConstructorTestLogsEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndCitizendConstructorTestAbi, - eventName: 'logs', - }) +export const useReadCtzndErc20Decimals = /*#__PURE__*/ createUseReadContract({ + abi: ctzndErc20Abi, + functionName: 'decimals', +}) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20Abi}__ and `functionName` set to `"name"` */ -export const useReadCtzndController = /*#__PURE__*/ createUseReadContract({ - abi: ctzndControllerAbi, +export const useReadCtzndErc20Name = /*#__PURE__*/ createUseReadContract({ + abi: ctzndErc20Abi, + functionName: 'name', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"BATCH_MANAGER_ROLE"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20Abi}__ and `functionName` set to `"symbol"` */ -export const useReadCtzndControllerBatchManagerRole = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndControllerAbi, - functionName: 'BATCH_MANAGER_ROLE', - }) +export const useReadCtzndErc20Symbol = /*#__PURE__*/ createUseReadContract({ + abi: ctzndErc20Abi, + functionName: 'symbol', +}) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"DEFAULT_ADMIN_ROLE"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20Abi}__ and `functionName` set to `"totalSupply"` */ -export const useReadCtzndControllerDefaultAdminRole = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndControllerAbi, - functionName: 'DEFAULT_ADMIN_ROLE', - }) +export const useReadCtzndErc20TotalSupply = /*#__PURE__*/ createUseReadContract( + { abi: ctzndErc20Abi, functionName: 'totalSupply' }, +) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"LEGAL_MANAGER_ROLE"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20Abi}__ */ -export const useReadCtzndControllerLegalManagerRole = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndControllerAbi, - functionName: 'LEGAL_MANAGER_ROLE', - }) +export const useWriteCtzndErc20 = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndErc20Abi, +}) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"PROJECT_MANAGER_ROLE"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20Abi}__ and `functionName` set to `"approve"` */ -export const useReadCtzndControllerProjectManagerRole = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndControllerAbi, - functionName: 'PROJECT_MANAGER_ROLE', - }) +export const useWriteCtzndErc20Approve = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndErc20Abi, + functionName: 'approve', +}) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"canInvestInPeoplesPool"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20Abi}__ and `functionName` set to `"transfer"` */ -export const useReadCtzndControllerCanInvestInPeoplesPool = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndControllerAbi, - functionName: 'canInvestInPeoplesPool', - }) +export const useWriteCtzndErc20Transfer = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndErc20Abi, + functionName: 'transfer', +}) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"canInvestInStakersPool"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20Abi}__ and `functionName` set to `"transferFrom"` */ -export const useReadCtzndControllerCanInvestInStakersPool = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndControllerAbi, - functionName: 'canInvestInStakersPool', +export const useWriteCtzndErc20TransferFrom = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndErc20Abi, + functionName: 'transferFrom', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"canVote"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20Abi}__ */ -export const useReadCtzndControllerCanVote = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndControllerAbi, - functionName: 'canVote', - }) +export const useSimulateCtzndErc20 = /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndErc20Abi, +}) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"getBatchForProject"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20Abi}__ and `functionName` set to `"approve"` */ -export const useReadCtzndControllerGetBatchForProject = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndControllerAbi, - functionName: 'getBatchForProject', +export const useSimulateCtzndErc20Approve = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndErc20Abi, + functionName: 'approve', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"getRoleAdmin"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20Abi}__ and `functionName` set to `"transfer"` */ -export const useReadCtzndControllerGetRoleAdmin = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndControllerAbi, - functionName: 'getRoleAdmin', +export const useSimulateCtzndErc20Transfer = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndErc20Abi, + functionName: 'transfer', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"hasBatchManagerRole"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20Abi}__ and `functionName` set to `"transferFrom"` */ -export const useReadCtzndControllerHasBatchManagerRole = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndControllerAbi, - functionName: 'hasBatchManagerRole', +export const useSimulateCtzndErc20TransferFrom = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndErc20Abi, + functionName: 'transferFrom', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"hasLegalManagerRole"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndErc20Abi}__ */ -export const useReadCtzndControllerHasLegalManagerRole = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndControllerAbi, - functionName: 'hasLegalManagerRole', - }) +export const useWatchCtzndErc20Event = + /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndErc20Abi }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"hasProjectManagerRole"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndErc20Abi}__ and `eventName` set to `"Approval"` */ -export const useReadCtzndControllerHasProjectManagerRole = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndControllerAbi, - functionName: 'hasProjectManagerRole', +export const useWatchCtzndErc20ApprovalEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndErc20Abi, + eventName: 'Approval', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"hasRole"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndErc20Abi}__ and `eventName` set to `"Transfer"` */ -export const useReadCtzndControllerHasRole = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndControllerAbi, - functionName: 'hasRole', +export const useWatchCtzndErc20TransferEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndErc20Abi, + eventName: 'Transfer', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"isProjectInBatch"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ */ -export const useReadCtzndControllerIsProjectInBatch = +export const useReadCtzndErc20Burnable = /*#__PURE__*/ createUseReadContract({ + abi: ctzndErc20BurnableAbi, +}) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"allowance"` + */ +export const useReadCtzndErc20BurnableAllowance = /*#__PURE__*/ createUseReadContract({ - abi: ctzndControllerAbi, - functionName: 'isProjectInBatch', + abi: ctzndErc20BurnableAbi, + functionName: 'allowance', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"merkleRoot"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"balanceOf"` */ -export const useReadCtzndControllerMerkleRoot = +export const useReadCtzndErc20BurnableBalanceOf = /*#__PURE__*/ createUseReadContract({ - abi: ctzndControllerAbi, - functionName: 'merkleRoot', + abi: ctzndErc20BurnableAbi, + functionName: 'balanceOf', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"projects"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"decimals"` */ -export const useReadCtzndControllerProjects = +export const useReadCtzndErc20BurnableDecimals = /*#__PURE__*/ createUseReadContract({ - abi: ctzndControllerAbi, - functionName: 'projects', + abi: ctzndErc20BurnableAbi, + functionName: 'decimals', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"projectsToBatches"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"name"` */ -export const useReadCtzndControllerProjectsToBatches = +export const useReadCtzndErc20BurnableName = /*#__PURE__*/ createUseReadContract({ - abi: ctzndControllerAbi, - functionName: 'projectsToBatches', + abi: ctzndErc20BurnableAbi, + functionName: 'name', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"staking"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"symbol"` */ -export const useReadCtzndControllerStaking = +export const useReadCtzndErc20BurnableSymbol = /*#__PURE__*/ createUseReadContract({ - abi: ctzndControllerAbi, - functionName: 'staking', + abi: ctzndErc20BurnableAbi, + functionName: 'symbol', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"supportsInterface"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"totalSupply"` */ -export const useReadCtzndControllerSupportsInterface = +export const useReadCtzndErc20BurnableTotalSupply = /*#__PURE__*/ createUseReadContract({ - abi: ctzndControllerAbi, - functionName: 'supportsInterface', + abi: ctzndErc20BurnableAbi, + functionName: 'totalSupply', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"token"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ */ -export const useReadCtzndControllerToken = /*#__PURE__*/ createUseReadContract({ - abi: ctzndControllerAbi, - functionName: 'token', +export const useWriteCtzndErc20Burnable = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndErc20BurnableAbi, }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndControllerAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"approve"` */ -export const useWriteCtzndController = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndControllerAbi, -}) +export const useWriteCtzndErc20BurnableApprove = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndErc20BurnableAbi, + functionName: 'approve', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"createBatch"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"burn"` */ -export const useWriteCtzndControllerCreateBatch = +export const useWriteCtzndErc20BurnableBurn = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndControllerAbi, - functionName: 'createBatch', + abi: ctzndErc20BurnableAbi, + functionName: 'burn', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"grantRole"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"burnFrom"` */ -export const useWriteCtzndControllerGrantRole = +export const useWriteCtzndErc20BurnableBurnFrom = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndControllerAbi, - functionName: 'grantRole', + abi: ctzndErc20BurnableAbi, + functionName: 'burnFrom', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"registerProject"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"transfer"` */ -export const useWriteCtzndControllerRegisterProject = +export const useWriteCtzndErc20BurnableTransfer = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndControllerAbi, - functionName: 'registerProject', + abi: ctzndErc20BurnableAbi, + functionName: 'transfer', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"renounceRole"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"transferFrom"` */ -export const useWriteCtzndControllerRenounceRole = +export const useWriteCtzndErc20BurnableTransferFrom = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndControllerAbi, - functionName: 'renounceRole', + abi: ctzndErc20BurnableAbi, + functionName: 'transferFrom', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"revokeRole"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ */ -export const useWriteCtzndControllerRevokeRole = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndControllerAbi, - functionName: 'revokeRole', - }) +export const useSimulateCtzndErc20Burnable = + /*#__PURE__*/ createUseSimulateContract({ abi: ctzndErc20BurnableAbi }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"setBatchVotingPeriod"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"approve"` */ -export const useWriteCtzndControllerSetBatchVotingPeriod = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndControllerAbi, - functionName: 'setBatchVotingPeriod', +export const useSimulateCtzndErc20BurnableApprove = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndErc20BurnableAbi, + functionName: 'approve', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndControllerAbi}__ + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"burn"` */ -export const useSimulateCtzndController = - /*#__PURE__*/ createUseSimulateContract({ abi: ctzndControllerAbi }) +export const useSimulateCtzndErc20BurnableBurn = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndErc20BurnableAbi, + functionName: 'burn', + }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"createBatch"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"burnFrom"` */ -export const useSimulateCtzndControllerCreateBatch = +export const useSimulateCtzndErc20BurnableBurnFrom = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndControllerAbi, - functionName: 'createBatch', + abi: ctzndErc20BurnableAbi, + functionName: 'burnFrom', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"grantRole"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"transfer"` */ -export const useSimulateCtzndControllerGrantRole = +export const useSimulateCtzndErc20BurnableTransfer = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndControllerAbi, - functionName: 'grantRole', + abi: ctzndErc20BurnableAbi, + functionName: 'transfer', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"registerProject"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"transferFrom"` */ -export const useSimulateCtzndControllerRegisterProject = +export const useSimulateCtzndErc20BurnableTransferFrom = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndControllerAbi, - functionName: 'registerProject', + abi: ctzndErc20BurnableAbi, + functionName: 'transferFrom', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"renounceRole"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ */ -export const useSimulateCtzndControllerRenounceRole = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndControllerAbi, - functionName: 'renounceRole', +export const useWatchCtzndErc20BurnableEvent = + /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndErc20BurnableAbi }) + +/** + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `eventName` set to `"Approval"` + */ +export const useWatchCtzndErc20BurnableApprovalEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndErc20BurnableAbi, + eventName: 'Approval', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"revokeRole"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `eventName` set to `"Transfer"` */ -export const useSimulateCtzndControllerRevokeRole = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndControllerAbi, - functionName: 'revokeRole', +export const useWatchCtzndErc20BurnableTransferEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndErc20BurnableAbi, + eventName: 'Transfer', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndControllerAbi}__ and `functionName` set to `"setBatchVotingPeriod"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ */ -export const useSimulateCtzndControllerSetBatchVotingPeriod = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndControllerAbi, - functionName: 'setBatchVotingPeriod', +export const useReadCtzndErc20Pausable = /*#__PURE__*/ createUseReadContract({ + abi: ctzndErc20PausableAbi, +}) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `functionName` set to `"allowance"` + */ +export const useReadCtzndErc20PausableAllowance = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndErc20PausableAbi, + functionName: 'allowance', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndControllerAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `functionName` set to `"balanceOf"` */ -export const useWatchCtzndControllerEvent = - /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndControllerAbi }) +export const useReadCtzndErc20PausableBalanceOf = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndErc20PausableAbi, + functionName: 'balanceOf', + }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndControllerAbi}__ and `eventName` set to `"BatchCreated"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `functionName` set to `"decimals"` */ -export const useWatchCtzndControllerBatchCreatedEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndControllerAbi, - eventName: 'BatchCreated', +export const useReadCtzndErc20PausableDecimals = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndErc20PausableAbi, + functionName: 'decimals', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndControllerAbi}__ and `eventName` set to `"ProjectRegistered"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `functionName` set to `"name"` */ -export const useWatchCtzndControllerProjectRegisteredEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndControllerAbi, - eventName: 'ProjectRegistered', +export const useReadCtzndErc20PausableName = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndErc20PausableAbi, + functionName: 'name', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndControllerAbi}__ and `eventName` set to `"RoleAdminChanged"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `functionName` set to `"paused"` */ -export const useWatchCtzndControllerRoleAdminChangedEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndControllerAbi, - eventName: 'RoleAdminChanged', +export const useReadCtzndErc20PausablePaused = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndErc20PausableAbi, + functionName: 'paused', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndControllerAbi}__ and `eventName` set to `"RoleGranted"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `functionName` set to `"symbol"` */ -export const useWatchCtzndControllerRoleGrantedEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndControllerAbi, - eventName: 'RoleGranted', +export const useReadCtzndErc20PausableSymbol = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndErc20PausableAbi, + functionName: 'symbol', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndControllerAbi}__ and `eventName` set to `"RoleRevoked"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `functionName` set to `"totalSupply"` */ -export const useWatchCtzndControllerRoleRevokedEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndControllerAbi, - eventName: 'RoleRevoked', +export const useReadCtzndErc20PausableTotalSupply = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndErc20PausableAbi, + functionName: 'totalSupply', + }) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ + */ +export const useWriteCtzndErc20Pausable = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndErc20PausableAbi, +}) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `functionName` set to `"approve"` + */ +export const useWriteCtzndErc20PausableApprove = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndErc20PausableAbi, + functionName: 'approve', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndDsTestAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `functionName` set to `"transfer"` */ -export const useReadCtzndDsTest = /*#__PURE__*/ createUseReadContract({ - abi: ctzndDsTestAbi, -}) +export const useWriteCtzndErc20PausableTransfer = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndErc20PausableAbi, + functionName: 'transfer', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `functionName` set to `"IS_TEST"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `functionName` set to `"transferFrom"` */ -export const useReadCtzndDsTestIsTest = /*#__PURE__*/ createUseReadContract({ - abi: ctzndDsTestAbi, - functionName: 'IS_TEST', -}) +export const useWriteCtzndErc20PausableTransferFrom = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndErc20PausableAbi, + functionName: 'transferFrom', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndDsTestAbi}__ + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ */ -export const useWriteCtzndDsTest = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndDsTestAbi, -}) +export const useSimulateCtzndErc20Pausable = + /*#__PURE__*/ createUseSimulateContract({ abi: ctzndErc20PausableAbi }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `functionName` set to `"failed"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `functionName` set to `"approve"` */ -export const useWriteCtzndDsTestFailed = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndDsTestAbi, - functionName: 'failed', -}) +export const useSimulateCtzndErc20PausableApprove = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndErc20PausableAbi, + functionName: 'approve', + }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndDsTestAbi}__ + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `functionName` set to `"transfer"` */ -export const useSimulateCtzndDsTest = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndDsTestAbi, -}) +export const useSimulateCtzndErc20PausableTransfer = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndErc20PausableAbi, + functionName: 'transfer', + }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `functionName` set to `"failed"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `functionName` set to `"transferFrom"` */ -export const useSimulateCtzndDsTestFailed = +export const useSimulateCtzndErc20PausableTransferFrom = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndDsTestAbi, - functionName: 'failed', + abi: ctzndErc20PausableAbi, + functionName: 'transferFrom', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ */ -export const useWatchCtzndDsTestEvent = - /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndDsTestAbi }) +export const useWatchCtzndErc20PausableEvent = + /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndErc20PausableAbi }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `eventName` set to `"Approval"` */ -export const useWatchCtzndDsTestLogEvent = +export const useWatchCtzndErc20PausableApprovalEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndDsTestAbi, - eventName: 'log', + abi: ctzndErc20PausableAbi, + eventName: 'Approval', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_address"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `eventName` set to `"Paused"` */ -export const useWatchCtzndDsTestLogAddressEvent = +export const useWatchCtzndErc20PausablePausedEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndDsTestAbi, - eventName: 'log_address', + abi: ctzndErc20PausableAbi, + eventName: 'Paused', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_bytes"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `eventName` set to `"Transfer"` */ -export const useWatchCtzndDsTestLogBytesEvent = +export const useWatchCtzndErc20PausableTransferEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndDsTestAbi, - eventName: 'log_bytes', + abi: ctzndErc20PausableAbi, + eventName: 'Transfer', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_bytes32"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `eventName` set to `"Unpaused"` */ -export const useWatchCtzndDsTestLogBytes32Event = +export const useWatchCtzndErc20PausableUnpausedEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndDsTestAbi, - eventName: 'log_bytes32', + abi: ctzndErc20PausableAbi, + eventName: 'Unpaused', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_int"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ */ -export const useWatchCtzndDsTestLogIntEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndDsTestAbi, - eventName: 'log_int', +export const useReadCtzndFractalRegistry = /*#__PURE__*/ createUseReadContract({ + abi: ctzndFractalRegistryAbi, +}) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"delegates"` + */ +export const useReadCtzndFractalRegistryDelegates = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndFractalRegistryAbi, + functionName: 'delegates', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_named_address"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"getFractalId"` */ -export const useWatchCtzndDsTestLogNamedAddressEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndDsTestAbi, - eventName: 'log_named_address', +export const useReadCtzndFractalRegistryGetFractalId = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndFractalRegistryAbi, + functionName: 'getFractalId', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_named_bytes"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"isUserInList"` */ -export const useWatchCtzndDsTestLogNamedBytesEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndDsTestAbi, - eventName: 'log_named_bytes', +export const useReadCtzndFractalRegistryIsUserInList = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndFractalRegistryAbi, + functionName: 'isUserInList', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_named_bytes32"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ */ -export const useWatchCtzndDsTestLogNamedBytes32Event = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndDsTestAbi, - eventName: 'log_named_bytes32', +export const useWriteCtzndFractalRegistry = + /*#__PURE__*/ createUseWriteContract({ abi: ctzndFractalRegistryAbi }) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"addDelegate"` + */ +export const useWriteCtzndFractalRegistryAddDelegate = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndFractalRegistryAbi, + functionName: 'addDelegate', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_named_decimal_int"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"addUserAddress"` */ -export const useWatchCtzndDsTestLogNamedDecimalIntEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndDsTestAbi, - eventName: 'log_named_decimal_int', +export const useWriteCtzndFractalRegistryAddUserAddress = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndFractalRegistryAbi, + functionName: 'addUserAddress', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_named_decimal_uint"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"addUserToList"` */ -export const useWatchCtzndDsTestLogNamedDecimalUintEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndDsTestAbi, - eventName: 'log_named_decimal_uint', +export const useWriteCtzndFractalRegistryAddUserToList = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndFractalRegistryAbi, + functionName: 'addUserToList', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_named_int"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"removeDelegate"` */ -export const useWatchCtzndDsTestLogNamedIntEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndDsTestAbi, - eventName: 'log_named_int', +export const useWriteCtzndFractalRegistryRemoveDelegate = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndFractalRegistryAbi, + functionName: 'removeDelegate', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_named_string"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"removeUserAddress"` */ -export const useWatchCtzndDsTestLogNamedStringEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndDsTestAbi, - eventName: 'log_named_string', +export const useWriteCtzndFractalRegistryRemoveUserAddress = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndFractalRegistryAbi, + functionName: 'removeUserAddress', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_named_uint"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"removeUserFromList"` */ -export const useWatchCtzndDsTestLogNamedUintEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndDsTestAbi, - eventName: 'log_named_uint', +export const useWriteCtzndFractalRegistryRemoveUserFromList = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndFractalRegistryAbi, + functionName: 'removeUserFromList', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_string"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ */ -export const useWatchCtzndDsTestLogStringEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndDsTestAbi, - eventName: 'log_string', +export const useSimulateCtzndFractalRegistry = + /*#__PURE__*/ createUseSimulateContract({ abi: ctzndFractalRegistryAbi }) + +/** + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"addDelegate"` + */ +export const useSimulateCtzndFractalRegistryAddDelegate = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndFractalRegistryAbi, + functionName: 'addDelegate', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"log_uint"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"addUserAddress"` */ -export const useWatchCtzndDsTestLogUintEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndDsTestAbi, - eventName: 'log_uint', +export const useSimulateCtzndFractalRegistryAddUserAddress = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndFractalRegistryAbi, + functionName: 'addUserAddress', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndDsTestAbi}__ and `eventName` set to `"logs"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"addUserToList"` */ -export const useWatchCtzndDsTestLogsEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndDsTestAbi, - eventName: 'logs', +export const useSimulateCtzndFractalRegistryAddUserToList = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndFractalRegistryAbi, + functionName: 'addUserToList', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndDeployScriptAbi}__ + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"removeDelegate"` */ -export const useReadCtzndDeployScript = /*#__PURE__*/ createUseReadContract({ - abi: ctzndDeployScriptAbi, -}) +export const useSimulateCtzndFractalRegistryRemoveDelegate = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndFractalRegistryAbi, + functionName: 'removeDelegate', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndDeployScriptAbi}__ and `functionName` set to `"IS_SCRIPT"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"removeUserAddress"` */ -export const useReadCtzndDeployScriptIsScript = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndDeployScriptAbi, - functionName: 'IS_SCRIPT', +export const useSimulateCtzndFractalRegistryRemoveUserAddress = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndFractalRegistryAbi, + functionName: 'removeUserAddress', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndDeployScriptAbi}__ + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"removeUserFromList"` */ -export const useWriteCtzndDeployScript = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndDeployScriptAbi, -}) +export const useSimulateCtzndFractalRegistryRemoveUserFromList = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndFractalRegistryAbi, + functionName: 'removeUserFromList', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndDeployScriptAbi}__ and `functionName` set to `"run"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ */ -export const useWriteCtzndDeployScriptRun = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndDeployScriptAbi, - functionName: 'run', - }) +export const useReadCtzndIAccessControl = /*#__PURE__*/ createUseReadContract({ + abi: ctzndIAccessControlAbi, +}) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndDeployScriptAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ and `functionName` set to `"getRoleAdmin"` */ -export const useSimulateCtzndDeployScript = - /*#__PURE__*/ createUseSimulateContract({ abi: ctzndDeployScriptAbi }) +export const useReadCtzndIAccessControlGetRoleAdmin = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndIAccessControlAbi, + functionName: 'getRoleAdmin', + }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndDeployScriptAbi}__ and `functionName` set to `"run"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ and `functionName` set to `"hasRole"` */ -export const useSimulateCtzndDeployScriptRun = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndDeployScriptAbi, - functionName: 'run', +export const useReadCtzndIAccessControlHasRole = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndIAccessControlAbi, + functionName: 'hasRole', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndDevContributeScriptAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ */ -export const useReadCtzndDevContributeScript = - /*#__PURE__*/ createUseReadContract({ abi: ctzndDevContributeScriptAbi }) +export const useWriteCtzndIAccessControl = /*#__PURE__*/ createUseWriteContract( + { abi: ctzndIAccessControlAbi }, +) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndDevContributeScriptAbi}__ and `functionName` set to `"IS_SCRIPT"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ and `functionName` set to `"grantRole"` */ -export const useReadCtzndDevContributeScriptIsScript = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndDevContributeScriptAbi, - functionName: 'IS_SCRIPT', +export const useWriteCtzndIAccessControlGrantRole = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndIAccessControlAbi, + functionName: 'grantRole', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndDevContributeScriptAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ and `functionName` set to `"renounceRole"` */ -export const useWriteCtzndDevContributeScript = - /*#__PURE__*/ createUseWriteContract({ abi: ctzndDevContributeScriptAbi }) +export const useWriteCtzndIAccessControlRenounceRole = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndIAccessControlAbi, + functionName: 'renounceRole', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndDevContributeScriptAbi}__ and `functionName` set to `"run"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ and `functionName` set to `"revokeRole"` */ -export const useWriteCtzndDevContributeScriptRun = +export const useWriteCtzndIAccessControlRevokeRole = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndDevContributeScriptAbi, - functionName: 'run', + abi: ctzndIAccessControlAbi, + functionName: 'revokeRole', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndDevContributeScriptAbi}__ and `functionName` set to `"setUp"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ */ -export const useWriteCtzndDevContributeScriptSetUp = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndDevContributeScriptAbi, - functionName: 'setUp', - }) +export const useSimulateCtzndIAccessControl = + /*#__PURE__*/ createUseSimulateContract({ abi: ctzndIAccessControlAbi }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndDevContributeScriptAbi}__ + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ and `functionName` set to `"grantRole"` */ -export const useSimulateCtzndDevContributeScript = - /*#__PURE__*/ createUseSimulateContract({ abi: ctzndDevContributeScriptAbi }) +export const useSimulateCtzndIAccessControlGrantRole = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndIAccessControlAbi, + functionName: 'grantRole', + }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndDevContributeScriptAbi}__ and `functionName` set to `"run"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ and `functionName` set to `"renounceRole"` */ -export const useSimulateCtzndDevContributeScriptRun = +export const useSimulateCtzndIAccessControlRenounceRole = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndDevContributeScriptAbi, - functionName: 'run', + abi: ctzndIAccessControlAbi, + functionName: 'renounceRole', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndDevContributeScriptAbi}__ and `functionName` set to `"setUp"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ and `functionName` set to `"revokeRole"` */ -export const useSimulateCtzndDevContributeScriptSetUp = +export const useSimulateCtzndIAccessControlRevokeRole = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndDevContributeScriptAbi, - functionName: 'setUp', + abi: ctzndIAccessControlAbi, + functionName: 'revokeRole', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndDevDeployScriptAbi}__ + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ */ -export const useReadCtzndDevDeployScript = /*#__PURE__*/ createUseReadContract({ - abi: ctzndDevDeployScriptAbi, -}) +export const useWatchCtzndIAccessControlEvent = + /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndIAccessControlAbi }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndDevDeployScriptAbi}__ and `functionName` set to `"IS_SCRIPT"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ and `eventName` set to `"RoleAdminChanged"` */ -export const useReadCtzndDevDeployScriptIsScript = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndDevDeployScriptAbi, - functionName: 'IS_SCRIPT', +export const useWatchCtzndIAccessControlRoleAdminChangedEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndIAccessControlAbi, + eventName: 'RoleAdminChanged', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndDevDeployScriptAbi}__ + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ and `eventName` set to `"RoleGranted"` */ -export const useWriteCtzndDevDeployScript = - /*#__PURE__*/ createUseWriteContract({ abi: ctzndDevDeployScriptAbi }) +export const useWatchCtzndIAccessControlRoleGrantedEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndIAccessControlAbi, + eventName: 'RoleGranted', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndDevDeployScriptAbi}__ and `functionName` set to `"run"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ and `eventName` set to `"RoleRevoked"` */ -export const useWriteCtzndDevDeployScriptRun = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndDevDeployScriptAbi, - functionName: 'run', +export const useWatchCtzndIAccessControlRoleRevokedEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndIAccessControlAbi, + eventName: 'RoleRevoked', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndDevDeployScriptAbi}__ and `functionName` set to `"setUp"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIBatchAbi}__ */ -export const useWriteCtzndDevDeployScriptSetUp = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndDevDeployScriptAbi, - functionName: 'setUp', - }) +export const useWriteCtzndIBatch = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndIBatchAbi, +}) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndDevDeployScriptAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIBatchAbi}__ and `functionName` set to `"vote"` */ -export const useSimulateCtzndDevDeployScript = - /*#__PURE__*/ createUseSimulateContract({ abi: ctzndDevDeployScriptAbi }) +export const useWriteCtzndIBatchVote = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndIBatchAbi, + functionName: 'vote', +}) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndDevDeployScriptAbi}__ and `functionName` set to `"run"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIBatchAbi}__ */ -export const useSimulateCtzndDevDeployScriptRun = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndDevDeployScriptAbi, - functionName: 'run', - }) +export const useSimulateCtzndIBatch = /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndIBatchAbi, +}) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndDevDeployScriptAbi}__ and `functionName` set to `"setUp"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIBatchAbi}__ and `functionName` set to `"vote"` */ -export const useSimulateCtzndDevDeployScriptSetUp = +export const useSimulateCtzndIBatchVote = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndDevDeployScriptAbi, - functionName: 'setUp', + abi: ctzndIBatchAbi, + functionName: 'vote', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc165Abi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ */ -export const useReadCtzndErc165 = /*#__PURE__*/ createUseReadContract({ - abi: ctzndErc165Abi, +export const useReadCtzndIController = /*#__PURE__*/ createUseReadContract({ + abi: ctzndIControllerAbi, }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc165Abi}__ and `functionName` set to `"supportsInterface"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"canInvestInPeoplesPool"` */ -export const useReadCtzndErc165SupportsInterface = +export const useReadCtzndIControllerCanInvestInPeoplesPool = /*#__PURE__*/ createUseReadContract({ - abi: ctzndErc165Abi, - functionName: 'supportsInterface', + abi: ctzndIControllerAbi, + functionName: 'canInvestInPeoplesPool', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20Abi}__ - */ -export const useReadCtzndErc20 = /*#__PURE__*/ createUseReadContract({ - abi: ctzndErc20Abi, -}) - -/** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20Abi}__ and `functionName` set to `"allowance"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"canInvestInStakersPool"` */ -export const useReadCtzndErc20Allowance = /*#__PURE__*/ createUseReadContract({ - abi: ctzndErc20Abi, - functionName: 'allowance', -}) +export const useReadCtzndIControllerCanInvestInStakersPool = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndIControllerAbi, + functionName: 'canInvestInStakersPool', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20Abi}__ and `functionName` set to `"balanceOf"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"canVote"` */ -export const useReadCtzndErc20BalanceOf = /*#__PURE__*/ createUseReadContract({ - abi: ctzndErc20Abi, - functionName: 'balanceOf', -}) +export const useReadCtzndIControllerCanVote = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndIControllerAbi, + functionName: 'canVote', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20Abi}__ and `functionName` set to `"decimals"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"getBatchForProject"` */ -export const useReadCtzndErc20Decimals = /*#__PURE__*/ createUseReadContract({ - abi: ctzndErc20Abi, - functionName: 'decimals', -}) +export const useReadCtzndIControllerGetBatchForProject = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndIControllerAbi, + functionName: 'getBatchForProject', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20Abi}__ and `functionName` set to `"name"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"hasLegalManagerRole"` */ -export const useReadCtzndErc20Name = /*#__PURE__*/ createUseReadContract({ - abi: ctzndErc20Abi, - functionName: 'name', -}) +export const useReadCtzndIControllerHasLegalManagerRole = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndIControllerAbi, + functionName: 'hasLegalManagerRole', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20Abi}__ and `functionName` set to `"symbol"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"hasProjectManagerRole"` */ -export const useReadCtzndErc20Symbol = /*#__PURE__*/ createUseReadContract({ - abi: ctzndErc20Abi, - functionName: 'symbol', -}) +export const useReadCtzndIControllerHasProjectManagerRole = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndIControllerAbi, + functionName: 'hasProjectManagerRole', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20Abi}__ and `functionName` set to `"totalSupply"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ */ -export const useReadCtzndErc20TotalSupply = /*#__PURE__*/ createUseReadContract( - { abi: ctzndErc20Abi, functionName: 'totalSupply' }, -) +export const useWriteCtzndIController = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndIControllerAbi, +}) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20Abi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"createBatch"` */ -export const useWriteCtzndErc20 = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndErc20Abi, -}) +export const useWriteCtzndIControllerCreateBatch = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndIControllerAbi, + functionName: 'createBatch', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20Abi}__ and `functionName` set to `"approve"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"isProjectInBatch"` */ -export const useWriteCtzndErc20Approve = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndErc20Abi, - functionName: 'approve', -}) +export const useWriteCtzndIControllerIsProjectInBatch = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndIControllerAbi, + functionName: 'isProjectInBatch', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20Abi}__ and `functionName` set to `"transfer"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"registerProject"` */ -export const useWriteCtzndErc20Transfer = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndErc20Abi, - functionName: 'transfer', -}) +export const useWriteCtzndIControllerRegisterProject = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndIControllerAbi, + functionName: 'registerProject', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20Abi}__ and `functionName` set to `"transferFrom"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"setBatchVotingPeriod"` */ -export const useWriteCtzndErc20TransferFrom = +export const useWriteCtzndIControllerSetBatchVotingPeriod = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndErc20Abi, - functionName: 'transferFrom', + abi: ctzndIControllerAbi, + functionName: 'setBatchVotingPeriod', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20Abi}__ + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ */ -export const useSimulateCtzndErc20 = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndErc20Abi, -}) +export const useSimulateCtzndIController = + /*#__PURE__*/ createUseSimulateContract({ abi: ctzndIControllerAbi }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20Abi}__ and `functionName` set to `"approve"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"createBatch"` */ -export const useSimulateCtzndErc20Approve = +export const useSimulateCtzndIControllerCreateBatch = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndErc20Abi, - functionName: 'approve', + abi: ctzndIControllerAbi, + functionName: 'createBatch', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20Abi}__ and `functionName` set to `"transfer"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"isProjectInBatch"` */ -export const useSimulateCtzndErc20Transfer = +export const useSimulateCtzndIControllerIsProjectInBatch = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndErc20Abi, - functionName: 'transfer', + abi: ctzndIControllerAbi, + functionName: 'isProjectInBatch', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20Abi}__ and `functionName` set to `"transferFrom"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"registerProject"` */ -export const useSimulateCtzndErc20TransferFrom = +export const useSimulateCtzndIControllerRegisterProject = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndErc20Abi, - functionName: 'transferFrom', + abi: ctzndIControllerAbi, + functionName: 'registerProject', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndErc20Abi}__ + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"setBatchVotingPeriod"` */ -export const useWatchCtzndErc20Event = - /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndErc20Abi }) +export const useSimulateCtzndIControllerSetBatchVotingPeriod = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndIControllerAbi, + functionName: 'setBatchVotingPeriod', + }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndErc20Abi}__ and `eventName` set to `"Approval"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIerc165Abi}__ */ -export const useWatchCtzndErc20ApprovalEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndErc20Abi, - eventName: 'Approval', - }) +export const useReadCtzndIerc165 = /*#__PURE__*/ createUseReadContract({ + abi: ctzndIerc165Abi, +}) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndErc20Abi}__ and `eventName` set to `"Transfer"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIerc165Abi}__ and `functionName` set to `"supportsInterface"` */ -export const useWatchCtzndErc20TransferEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndErc20Abi, - eventName: 'Transfer', +export const useReadCtzndIerc165SupportsInterface = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndIerc165Abi, + functionName: 'supportsInterface', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ */ -export const useReadCtzndErc20Burnable = /*#__PURE__*/ createUseReadContract({ - abi: ctzndErc20BurnableAbi, +export const useReadCtzndIerc20Metadata = /*#__PURE__*/ createUseReadContract({ + abi: ctzndIerc20MetadataAbi, }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"allowance"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `functionName` set to `"allowance"` */ -export const useReadCtzndErc20BurnableAllowance = +export const useReadCtzndIerc20MetadataAllowance = /*#__PURE__*/ createUseReadContract({ - abi: ctzndErc20BurnableAbi, + abi: ctzndIerc20MetadataAbi, functionName: 'allowance', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"balanceOf"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `functionName` set to `"balanceOf"` */ -export const useReadCtzndErc20BurnableBalanceOf = +export const useReadCtzndIerc20MetadataBalanceOf = /*#__PURE__*/ createUseReadContract({ - abi: ctzndErc20BurnableAbi, + abi: ctzndIerc20MetadataAbi, functionName: 'balanceOf', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"decimals"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `functionName` set to `"decimals"` */ -export const useReadCtzndErc20BurnableDecimals = +export const useReadCtzndIerc20MetadataDecimals = /*#__PURE__*/ createUseReadContract({ - abi: ctzndErc20BurnableAbi, + abi: ctzndIerc20MetadataAbi, functionName: 'decimals', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"name"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `functionName` set to `"name"` */ -export const useReadCtzndErc20BurnableName = +export const useReadCtzndIerc20MetadataName = /*#__PURE__*/ createUseReadContract({ - abi: ctzndErc20BurnableAbi, + abi: ctzndIerc20MetadataAbi, functionName: 'name', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"symbol"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `functionName` set to `"symbol"` */ -export const useReadCtzndErc20BurnableSymbol = +export const useReadCtzndIerc20MetadataSymbol = /*#__PURE__*/ createUseReadContract({ - abi: ctzndErc20BurnableAbi, + abi: ctzndIerc20MetadataAbi, functionName: 'symbol', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"totalSupply"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `functionName` set to `"totalSupply"` */ -export const useReadCtzndErc20BurnableTotalSupply = +export const useReadCtzndIerc20MetadataTotalSupply = /*#__PURE__*/ createUseReadContract({ - abi: ctzndErc20BurnableAbi, + abi: ctzndIerc20MetadataAbi, functionName: 'totalSupply', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ */ -export const useWriteCtzndErc20Burnable = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndErc20BurnableAbi, -}) +export const useWriteCtzndIerc20Metadata = /*#__PURE__*/ createUseWriteContract( + { abi: ctzndIerc20MetadataAbi }, +) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"approve"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `functionName` set to `"approve"` */ -export const useWriteCtzndErc20BurnableApprove = +export const useWriteCtzndIerc20MetadataApprove = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndErc20BurnableAbi, + abi: ctzndIerc20MetadataAbi, functionName: 'approve', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"burn"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `functionName` set to `"transfer"` */ -export const useWriteCtzndErc20BurnableBurn = +export const useWriteCtzndIerc20MetadataTransfer = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndErc20BurnableAbi, - functionName: 'burn', + abi: ctzndIerc20MetadataAbi, + functionName: 'transfer', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"burnFrom"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `functionName` set to `"transferFrom"` */ -export const useWriteCtzndErc20BurnableBurnFrom = +export const useWriteCtzndIerc20MetadataTransferFrom = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndErc20BurnableAbi, - functionName: 'burnFrom', + abi: ctzndIerc20MetadataAbi, + functionName: 'transferFrom', + }) + +/** + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ + */ +export const useSimulateCtzndIerc20Metadata = + /*#__PURE__*/ createUseSimulateContract({ abi: ctzndIerc20MetadataAbi }) + +/** + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `functionName` set to `"approve"` + */ +export const useSimulateCtzndIerc20MetadataApprove = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndIerc20MetadataAbi, + functionName: 'approve', + }) + +/** + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `functionName` set to `"transfer"` + */ +export const useSimulateCtzndIerc20MetadataTransfer = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndIerc20MetadataAbi, + functionName: 'transfer', + }) + +/** + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `functionName` set to `"transferFrom"` + */ +export const useSimulateCtzndIerc20MetadataTransferFrom = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndIerc20MetadataAbi, + functionName: 'transferFrom', + }) + +/** + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ + */ +export const useWatchCtzndIerc20MetadataEvent = + /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndIerc20MetadataAbi }) + +/** + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `eventName` set to `"Approval"` + */ +export const useWatchCtzndIerc20MetadataApprovalEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndIerc20MetadataAbi, + eventName: 'Approval', + }) + +/** + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `eventName` set to `"Transfer"` + */ +export const useWatchCtzndIerc20MetadataTransferEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndIerc20MetadataAbi, + eventName: 'Transfer', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIerc20PermitAbi}__ + */ +export const useReadCtzndIerc20Permit = /*#__PURE__*/ createUseReadContract({ + abi: ctzndIerc20PermitAbi, +}) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIerc20PermitAbi}__ and `functionName` set to `"DOMAIN_SEPARATOR"` + */ +export const useReadCtzndIerc20PermitDomainSeparator = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndIerc20PermitAbi, + functionName: 'DOMAIN_SEPARATOR', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIerc20PermitAbi}__ and `functionName` set to `"nonces"` + */ +export const useReadCtzndIerc20PermitNonces = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndIerc20PermitAbi, + functionName: 'nonces', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"transfer"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIerc20PermitAbi}__ */ -export const useWriteCtzndErc20BurnableTransfer = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndErc20BurnableAbi, - functionName: 'transfer', - }) +export const useWriteCtzndIerc20Permit = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndIerc20PermitAbi, +}) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"transferFrom"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIerc20PermitAbi}__ and `functionName` set to `"permit"` */ -export const useWriteCtzndErc20BurnableTransferFrom = +export const useWriteCtzndIerc20PermitPermit = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndErc20BurnableAbi, - functionName: 'transferFrom', + abi: ctzndIerc20PermitAbi, + functionName: 'permit', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIerc20PermitAbi}__ */ -export const useSimulateCtzndErc20Burnable = - /*#__PURE__*/ createUseSimulateContract({ abi: ctzndErc20BurnableAbi }) +export const useSimulateCtzndIerc20Permit = + /*#__PURE__*/ createUseSimulateContract({ abi: ctzndIerc20PermitAbi }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"approve"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIerc20PermitAbi}__ and `functionName` set to `"permit"` */ -export const useSimulateCtzndErc20BurnableApprove = +export const useSimulateCtzndIerc20PermitPermit = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndErc20BurnableAbi, - functionName: 'approve', + abi: ctzndIerc20PermitAbi, + functionName: 'permit', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"burn"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIerc721TokenReceiverAbi}__ */ -export const useSimulateCtzndErc20BurnableBurn = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndErc20BurnableAbi, - functionName: 'burn', - }) +export const useWriteCtzndIerc721TokenReceiver = + /*#__PURE__*/ createUseWriteContract({ abi: ctzndIerc721TokenReceiverAbi }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"burnFrom"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIerc721TokenReceiverAbi}__ and `functionName` set to `"onERC721Received"` */ -export const useSimulateCtzndErc20BurnableBurnFrom = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndErc20BurnableAbi, - functionName: 'burnFrom', +export const useWriteCtzndIerc721TokenReceiverOnErc721Received = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndIerc721TokenReceiverAbi, + functionName: 'onERC721Received', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"transfer"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIerc721TokenReceiverAbi}__ */ -export const useSimulateCtzndErc20BurnableTransfer = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndErc20BurnableAbi, - functionName: 'transfer', - }) +export const useSimulateCtzndIerc721TokenReceiver = + /*#__PURE__*/ createUseSimulateContract({ abi: ctzndIerc721TokenReceiverAbi }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `functionName` set to `"transferFrom"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIerc721TokenReceiverAbi}__ and `functionName` set to `"onERC721Received"` */ -export const useSimulateCtzndErc20BurnableTransferFrom = +export const useSimulateCtzndIerc721TokenReceiverOnErc721Received = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndErc20BurnableAbi, - functionName: 'transferFrom', + abi: ctzndIerc721TokenReceiverAbi, + functionName: 'onERC721Received', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ */ -export const useWatchCtzndErc20BurnableEvent = - /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndErc20BurnableAbi }) +export const useReadCtzndIMulticall3 = /*#__PURE__*/ createUseReadContract({ + abi: ctzndIMulticall3Abi, +}) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `eventName` set to `"Approval"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"getBasefee"` */ -export const useWatchCtzndErc20BurnableApprovalEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndErc20BurnableAbi, - eventName: 'Approval', +export const useReadCtzndIMulticall3GetBasefee = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndIMulticall3Abi, + functionName: 'getBasefee', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndErc20BurnableAbi}__ and `eventName` set to `"Transfer"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"getBlockHash"` */ -export const useWatchCtzndErc20BurnableTransferEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndErc20BurnableAbi, - eventName: 'Transfer', +export const useReadCtzndIMulticall3GetBlockHash = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndIMulticall3Abi, + functionName: 'getBlockHash', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"getBlockNumber"` */ -export const useReadCtzndErc20Pausable = /*#__PURE__*/ createUseReadContract({ - abi: ctzndErc20PausableAbi, -}) +export const useReadCtzndIMulticall3GetBlockNumber = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndIMulticall3Abi, + functionName: 'getBlockNumber', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `functionName` set to `"allowance"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"getChainId"` */ -export const useReadCtzndErc20PausableAllowance = +export const useReadCtzndIMulticall3GetChainId = /*#__PURE__*/ createUseReadContract({ - abi: ctzndErc20PausableAbi, - functionName: 'allowance', + abi: ctzndIMulticall3Abi, + functionName: 'getChainId', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `functionName` set to `"balanceOf"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"getCurrentBlockCoinbase"` */ -export const useReadCtzndErc20PausableBalanceOf = +export const useReadCtzndIMulticall3GetCurrentBlockCoinbase = /*#__PURE__*/ createUseReadContract({ - abi: ctzndErc20PausableAbi, - functionName: 'balanceOf', + abi: ctzndIMulticall3Abi, + functionName: 'getCurrentBlockCoinbase', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `functionName` set to `"decimals"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"getCurrentBlockDifficulty"` */ -export const useReadCtzndErc20PausableDecimals = +export const useReadCtzndIMulticall3GetCurrentBlockDifficulty = /*#__PURE__*/ createUseReadContract({ - abi: ctzndErc20PausableAbi, - functionName: 'decimals', + abi: ctzndIMulticall3Abi, + functionName: 'getCurrentBlockDifficulty', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `functionName` set to `"name"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"getCurrentBlockGasLimit"` */ -export const useReadCtzndErc20PausableName = +export const useReadCtzndIMulticall3GetCurrentBlockGasLimit = /*#__PURE__*/ createUseReadContract({ - abi: ctzndErc20PausableAbi, - functionName: 'name', + abi: ctzndIMulticall3Abi, + functionName: 'getCurrentBlockGasLimit', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `functionName` set to `"paused"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"getCurrentBlockTimestamp"` */ -export const useReadCtzndErc20PausablePaused = +export const useReadCtzndIMulticall3GetCurrentBlockTimestamp = /*#__PURE__*/ createUseReadContract({ - abi: ctzndErc20PausableAbi, - functionName: 'paused', + abi: ctzndIMulticall3Abi, + functionName: 'getCurrentBlockTimestamp', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `functionName` set to `"symbol"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"getEthBalance"` */ -export const useReadCtzndErc20PausableSymbol = +export const useReadCtzndIMulticall3GetEthBalance = /*#__PURE__*/ createUseReadContract({ - abi: ctzndErc20PausableAbi, - functionName: 'symbol', + abi: ctzndIMulticall3Abi, + functionName: 'getEthBalance', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `functionName` set to `"totalSupply"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"getLastBlockHash"` */ -export const useReadCtzndErc20PausableTotalSupply = +export const useReadCtzndIMulticall3GetLastBlockHash = /*#__PURE__*/ createUseReadContract({ - abi: ctzndErc20PausableAbi, - functionName: 'totalSupply', + abi: ctzndIMulticall3Abi, + functionName: 'getLastBlockHash', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ */ -export const useWriteCtzndErc20Pausable = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndErc20PausableAbi, +export const useWriteCtzndIMulticall3 = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndIMulticall3Abi, }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `functionName` set to `"approve"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"aggregate"` */ -export const useWriteCtzndErc20PausableApprove = +export const useWriteCtzndIMulticall3Aggregate = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndErc20PausableAbi, - functionName: 'approve', + abi: ctzndIMulticall3Abi, + functionName: 'aggregate', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `functionName` set to `"transfer"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"aggregate3"` */ -export const useWriteCtzndErc20PausableTransfer = +export const useWriteCtzndIMulticall3Aggregate3 = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndErc20PausableAbi, - functionName: 'transfer', + abi: ctzndIMulticall3Abi, + functionName: 'aggregate3', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `functionName` set to `"transferFrom"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"aggregate3Value"` */ -export const useWriteCtzndErc20PausableTransferFrom = +export const useWriteCtzndIMulticall3Aggregate3Value = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndErc20PausableAbi, - functionName: 'transferFrom', + abi: ctzndIMulticall3Abi, + functionName: 'aggregate3Value', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"blockAndAggregate"` */ -export const useSimulateCtzndErc20Pausable = - /*#__PURE__*/ createUseSimulateContract({ abi: ctzndErc20PausableAbi }) +export const useWriteCtzndIMulticall3BlockAndAggregate = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndIMulticall3Abi, + functionName: 'blockAndAggregate', + }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `functionName` set to `"approve"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"tryAggregate"` */ -export const useSimulateCtzndErc20PausableApprove = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndErc20PausableAbi, - functionName: 'approve', +export const useWriteCtzndIMulticall3TryAggregate = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndIMulticall3Abi, + functionName: 'tryAggregate', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `functionName` set to `"transfer"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"tryBlockAndAggregate"` */ -export const useSimulateCtzndErc20PausableTransfer = +export const useWriteCtzndIMulticall3TryBlockAndAggregate = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndIMulticall3Abi, + functionName: 'tryBlockAndAggregate', + }) + +/** + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ + */ +export const useSimulateCtzndIMulticall3 = + /*#__PURE__*/ createUseSimulateContract({ abi: ctzndIMulticall3Abi }) + +/** + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"aggregate"` + */ +export const useSimulateCtzndIMulticall3Aggregate = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndErc20PausableAbi, - functionName: 'transfer', + abi: ctzndIMulticall3Abi, + functionName: 'aggregate', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `functionName` set to `"transferFrom"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"aggregate3"` */ -export const useSimulateCtzndErc20PausableTransferFrom = +export const useSimulateCtzndIMulticall3Aggregate3 = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndErc20PausableAbi, - functionName: 'transferFrom', + abi: ctzndIMulticall3Abi, + functionName: 'aggregate3', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"aggregate3Value"` */ -export const useWatchCtzndErc20PausableEvent = - /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndErc20PausableAbi }) +export const useSimulateCtzndIMulticall3Aggregate3Value = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndIMulticall3Abi, + functionName: 'aggregate3Value', + }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `eventName` set to `"Approval"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"blockAndAggregate"` */ -export const useWatchCtzndErc20PausableApprovalEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndErc20PausableAbi, - eventName: 'Approval', +export const useSimulateCtzndIMulticall3BlockAndAggregate = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndIMulticall3Abi, + functionName: 'blockAndAggregate', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `eventName` set to `"Paused"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"tryAggregate"` */ -export const useWatchCtzndErc20PausablePausedEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndErc20PausableAbi, - eventName: 'Paused', +export const useSimulateCtzndIMulticall3TryAggregate = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndIMulticall3Abi, + functionName: 'tryAggregate', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `eventName` set to `"Transfer"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"tryBlockAndAggregate"` */ -export const useWatchCtzndErc20PausableTransferEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndErc20PausableAbi, - eventName: 'Transfer', +export const useSimulateCtzndIMulticall3TryBlockAndAggregate = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndIMulticall3Abi, + functionName: 'tryBlockAndAggregate', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndErc20PausableAbi}__ and `eventName` set to `"Unpaused"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIPoolAbi}__ */ -export const useWatchCtzndErc20PausableUnpausedEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndErc20PausableAbi, - eventName: 'Unpaused', - }) +export const useReadCtzndIPool = /*#__PURE__*/ createUseReadContract({ + abi: ctzndIPoolAbi, +}) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIPoolAbi}__ and `functionName` set to `"allocation"` */ -export const useReadCtzndFractalRegistry = /*#__PURE__*/ createUseReadContract({ - abi: ctzndFractalRegistryAbi, +export const useReadCtzndIPoolAllocation = /*#__PURE__*/ createUseReadContract({ + abi: ctzndIPoolAbi, + functionName: 'allocation', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"delegates"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIPoolAbi}__ and `functionName` set to `"refundableAmount"` */ -export const useReadCtzndFractalRegistryDelegates = +export const useReadCtzndIPoolRefundableAmount = /*#__PURE__*/ createUseReadContract({ - abi: ctzndFractalRegistryAbi, - functionName: 'delegates', + abi: ctzndIPoolAbi, + functionName: 'refundableAmount', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"getFractalId"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIPoolAbi}__ and `functionName` set to `"uncappedAllocation"` */ -export const useReadCtzndFractalRegistryGetFractalId = +export const useReadCtzndIPoolUncappedAllocation = /*#__PURE__*/ createUseReadContract({ - abi: ctzndFractalRegistryAbi, - functionName: 'getFractalId', + abi: ctzndIPoolAbi, + functionName: 'uncappedAllocation', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"isUserInList"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIPoolAbi}__ */ -export const useReadCtzndFractalRegistryIsUserInList = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndFractalRegistryAbi, - functionName: 'isUserInList', - }) +export const useWriteCtzndIPool = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndIPoolAbi, +}) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIPoolAbi}__ and `functionName` set to `"invest"` */ -export const useWriteCtzndFractalRegistry = - /*#__PURE__*/ createUseWriteContract({ abi: ctzndFractalRegistryAbi }) +export const useWriteCtzndIPoolInvest = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndIPoolAbi, + functionName: 'invest', +}) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"addDelegate"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIPoolAbi}__ and `functionName` set to `"refund"` */ -export const useWriteCtzndFractalRegistryAddDelegate = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndFractalRegistryAbi, - functionName: 'addDelegate', - }) +export const useWriteCtzndIPoolRefund = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndIPoolAbi, + functionName: 'refund', +}) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"addUserAddress"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIPoolAbi}__ and `functionName` set to `"setIndividualCap"` */ -export const useWriteCtzndFractalRegistryAddUserAddress = +export const useWriteCtzndIPoolSetIndividualCap = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndFractalRegistryAbi, - functionName: 'addUserAddress', + abi: ctzndIPoolAbi, + functionName: 'setIndividualCap', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"addUserToList"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIPoolAbi}__ */ -export const useWriteCtzndFractalRegistryAddUserToList = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndFractalRegistryAbi, - functionName: 'addUserToList', +export const useSimulateCtzndIPool = /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndIPoolAbi, +}) + +/** + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIPoolAbi}__ and `functionName` set to `"invest"` + */ +export const useSimulateCtzndIPoolInvest = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndIPoolAbi, + functionName: 'invest', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"removeDelegate"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIPoolAbi}__ and `functionName` set to `"refund"` */ -export const useWriteCtzndFractalRegistryRemoveDelegate = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndFractalRegistryAbi, - functionName: 'removeDelegate', +export const useSimulateCtzndIPoolRefund = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndIPoolAbi, + functionName: 'refund', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"removeUserAddress"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIPoolAbi}__ and `functionName` set to `"setIndividualCap"` */ -export const useWriteCtzndFractalRegistryRemoveUserAddress = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndFractalRegistryAbi, - functionName: 'removeUserAddress', +export const useSimulateCtzndIPoolSetIndividualCap = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndIPoolAbi, + functionName: 'setIndividualCap', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"removeUserFromList"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ */ -export const useWriteCtzndFractalRegistryRemoveUserFromList = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndFractalRegistryAbi, - functionName: 'removeUserFromList', +export const useReadCtzndIProject = /*#__PURE__*/ createUseReadContract({ + abi: ctzndIProjectAbi, +}) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"approvedByLegal"` + */ +export const useReadCtzndIProjectApprovedByLegal = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndIProjectAbi, + functionName: 'approvedByLegal', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"approvedByManager"` */ -export const useSimulateCtzndFractalRegistry = - /*#__PURE__*/ createUseSimulateContract({ abi: ctzndFractalRegistryAbi }) +export const useReadCtzndIProjectApprovedByManager = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndIProjectAbi, + functionName: 'approvedByManager', + }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"addDelegate"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"hasTokens"` */ -export const useSimulateCtzndFractalRegistryAddDelegate = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndFractalRegistryAbi, - functionName: 'addDelegate', +export const useReadCtzndIProjectHasTokens = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndIProjectAbi, + functionName: 'hasTokens', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"addUserAddress"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"investmentTokenToToken"` */ -export const useSimulateCtzndFractalRegistryAddUserAddress = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndFractalRegistryAbi, - functionName: 'addUserAddress', +export const useReadCtzndIProjectInvestmentTokenToToken = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndIProjectAbi, + functionName: 'investmentTokenToToken', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"addUserToList"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"isReadyForListing"` */ -export const useSimulateCtzndFractalRegistryAddUserToList = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndFractalRegistryAbi, - functionName: 'addUserToList', +export const useReadCtzndIProjectIsReadyForListing = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndIProjectAbi, + functionName: 'isReadyForListing', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"removeDelegate"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"peoplesPool"` */ -export const useSimulateCtzndFractalRegistryRemoveDelegate = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndFractalRegistryAbi, - functionName: 'removeDelegate', +export const useReadCtzndIProjectPeoplesPool = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndIProjectAbi, + functionName: 'peoplesPool', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"removeUserAddress"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"stakersPool"` */ -export const useSimulateCtzndFractalRegistryRemoveUserAddress = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndFractalRegistryAbi, - functionName: 'removeUserAddress', +export const useReadCtzndIProjectStakersPool = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndIProjectAbi, + functionName: 'stakersPool', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndFractalRegistryAbi}__ and `functionName` set to `"removeUserFromList"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"tokenToInvestmentToken"` */ -export const useSimulateCtzndFractalRegistryRemoveUserFromList = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndFractalRegistryAbi, - functionName: 'removeUserFromList', +export const useReadCtzndIProjectTokenToInvestmentToken = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndIProjectAbi, + functionName: 'tokenToInvestmentToken', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ */ -export const useReadCtzndIAccessControl = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIAccessControlAbi, +export const useWriteCtzndIProject = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndIProjectAbi, }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ and `functionName` set to `"getRoleAdmin"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"approveByLegal"` */ -export const useReadCtzndIAccessControlGetRoleAdmin = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndIAccessControlAbi, - functionName: 'getRoleAdmin', +export const useWriteCtzndIProjectApproveByLegal = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndIProjectAbi, + functionName: 'approveByLegal', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ and `functionName` set to `"hasRole"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"approveByManager"` */ -export const useReadCtzndIAccessControlHasRole = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndIAccessControlAbi, - functionName: 'hasRole', +export const useWriteCtzndIProjectApproveByManager = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndIProjectAbi, + functionName: 'approveByManager', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"invest"` + */ +export const useWriteCtzndIProjectInvest = /*#__PURE__*/ createUseWriteContract( + { abi: ctzndIProjectAbi, functionName: 'invest' }, +) + +/** + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ */ -export const useWriteCtzndIAccessControl = /*#__PURE__*/ createUseWriteContract( - { abi: ctzndIAccessControlAbi }, +export const useSimulateCtzndIProject = /*#__PURE__*/ createUseSimulateContract( + { abi: ctzndIProjectAbi }, ) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ and `functionName` set to `"grantRole"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"approveByLegal"` */ -export const useWriteCtzndIAccessControlGrantRole = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIAccessControlAbi, - functionName: 'grantRole', +export const useSimulateCtzndIProjectApproveByLegal = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndIProjectAbi, + functionName: 'approveByLegal', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ and `functionName` set to `"renounceRole"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"approveByManager"` */ -export const useWriteCtzndIAccessControlRenounceRole = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIAccessControlAbi, - functionName: 'renounceRole', +export const useSimulateCtzndIProjectApproveByManager = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndIProjectAbi, + functionName: 'approveByManager', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ and `functionName` set to `"revokeRole"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"invest"` */ -export const useWriteCtzndIAccessControlRevokeRole = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIAccessControlAbi, - functionName: 'revokeRole', +export const useSimulateCtzndIProjectInvest = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndIProjectAbi, + functionName: 'invest', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndISaleAbi}__ */ -export const useSimulateCtzndIAccessControl = - /*#__PURE__*/ createUseSimulateContract({ abi: ctzndIAccessControlAbi }) +export const useReadCtzndISale = /*#__PURE__*/ createUseReadContract({ + abi: ctzndISaleAbi, +}) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ and `functionName` set to `"grantRole"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"allocation"` */ -export const useSimulateCtzndIAccessControlGrantRole = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIAccessControlAbi, - functionName: 'grantRole', - }) +export const useReadCtzndISaleAllocation = /*#__PURE__*/ createUseReadContract({ + abi: ctzndISaleAbi, + functionName: 'allocation', +}) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ and `functionName` set to `"renounceRole"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"paymentToken"` */ -export const useSimulateCtzndIAccessControlRenounceRole = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIAccessControlAbi, - functionName: 'renounceRole', +export const useReadCtzndISalePaymentToken = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndISaleAbi, + functionName: 'paymentToken', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ and `functionName` set to `"revokeRole"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"paymentTokenToToken"` */ -export const useSimulateCtzndIAccessControlRevokeRole = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIAccessControlAbi, - functionName: 'revokeRole', +export const useReadCtzndISalePaymentTokenToToken = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndISaleAbi, + functionName: 'paymentTokenToToken', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"refundAmount"` */ -export const useWatchCtzndIAccessControlEvent = - /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndIAccessControlAbi }) +export const useReadCtzndISaleRefundAmount = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndISaleAbi, + functionName: 'refundAmount', + }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ and `eventName` set to `"RoleAdminChanged"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"token"` */ -export const useWatchCtzndIAccessControlRoleAdminChangedEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndIAccessControlAbi, - eventName: 'RoleAdminChanged', - }) +export const useReadCtzndISaleToken = /*#__PURE__*/ createUseReadContract({ + abi: ctzndISaleAbi, + functionName: 'token', +}) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ and `eventName` set to `"RoleGranted"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"tokenToPaymentToken"` */ -export const useWatchCtzndIAccessControlRoleGrantedEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndIAccessControlAbi, - eventName: 'RoleGranted', +export const useReadCtzndISaleTokenToPaymentToken = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndISaleAbi, + functionName: 'tokenToPaymentToken', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndIAccessControlAbi}__ and `eventName` set to `"RoleRevoked"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"uncappedAllocation"` */ -export const useWatchCtzndIAccessControlRoleRevokedEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndIAccessControlAbi, - eventName: 'RoleRevoked', +export const useReadCtzndISaleUncappedAllocation = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndISaleAbi, + functionName: 'uncappedAllocation', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIBatchAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndISaleAbi}__ */ -export const useWriteCtzndIBatch = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIBatchAbi, +export const useWriteCtzndISale = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndISaleAbi, }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIBatchAbi}__ and `functionName` set to `"vote"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"buy"` */ -export const useWriteCtzndIBatchVote = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIBatchAbi, - functionName: 'vote', +export const useWriteCtzndISaleBuy = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndISaleAbi, + functionName: 'buy', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIBatchAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"refund"` */ -export const useSimulateCtzndIBatch = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIBatchAbi, +export const useWriteCtzndISaleRefund = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndISaleAbi, + functionName: 'refund', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIBatchAbi}__ and `functionName` set to `"vote"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"setIndividualCap"` */ -export const useSimulateCtzndIBatchVote = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIBatchAbi, - functionName: 'vote', +export const useWriteCtzndISaleSetIndividualCap = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndISaleAbi, + functionName: 'setIndividualCap', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"withdraw"` */ -export const useReadCtzndIController = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIControllerAbi, +export const useWriteCtzndISaleWithdraw = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndISaleAbi, + functionName: 'withdraw', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"canInvestInPeoplesPool"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndISaleAbi}__ */ -export const useReadCtzndIControllerCanInvestInPeoplesPool = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndIControllerAbi, - functionName: 'canInvestInPeoplesPool', - }) +export const useSimulateCtzndISale = /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndISaleAbi, +}) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"canInvestInStakersPool"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"buy"` */ -export const useReadCtzndIControllerCanInvestInStakersPool = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndIControllerAbi, - functionName: 'canInvestInStakersPool', +export const useSimulateCtzndISaleBuy = /*#__PURE__*/ createUseSimulateContract( + { abi: ctzndISaleAbi, functionName: 'buy' }, +) + +/** + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"refund"` + */ +export const useSimulateCtzndISaleRefund = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndISaleAbi, + functionName: 'refund', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"canVote"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"setIndividualCap"` */ -export const useReadCtzndIControllerCanVote = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndIControllerAbi, - functionName: 'canVote', +export const useSimulateCtzndISaleSetIndividualCap = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndISaleAbi, + functionName: 'setIndividualCap', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"getBatchForProject"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"withdraw"` */ -export const useReadCtzndIControllerGetBatchForProject = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndIControllerAbi, - functionName: 'getBatchForProject', +export const useSimulateCtzndISaleWithdraw = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndISaleAbi, + functionName: 'withdraw', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"hasLegalManagerRole"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIStakingAbi}__ */ -export const useReadCtzndIControllerHasLegalManagerRole = +export const useReadCtzndIStaking = /*#__PURE__*/ createUseReadContract({ + abi: ctzndIStakingAbi, +}) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIStakingAbi}__ and `functionName` set to `"hasStaked"` + */ +export const useReadCtzndIStakingHasStaked = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIControllerAbi, - functionName: 'hasLegalManagerRole', + abi: ctzndIStakingAbi, + functionName: 'hasStaked', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"hasProjectManagerRole"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIStakingAbi}__ and `functionName` set to `"withdrawable"` */ -export const useReadCtzndIControllerHasProjectManagerRole = +export const useReadCtzndIStakingWithdrawable = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIControllerAbi, - functionName: 'hasProjectManagerRole', + abi: ctzndIStakingAbi, + functionName: 'withdrawable', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIStakingAbi}__ */ -export const useWriteCtzndIController = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIControllerAbi, +export const useWriteCtzndIStaking = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndIStakingAbi, }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"createBatch"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIStakingAbi}__ and `functionName` set to `"rebond"` */ -export const useWriteCtzndIControllerCreateBatch = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIControllerAbi, - functionName: 'createBatch', - }) +export const useWriteCtzndIStakingRebond = /*#__PURE__*/ createUseWriteContract( + { abi: ctzndIStakingAbi, functionName: 'rebond' }, +) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"isProjectInBatch"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIStakingAbi}__ and `functionName` set to `"stake"` */ -export const useWriteCtzndIControllerIsProjectInBatch = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIControllerAbi, - functionName: 'isProjectInBatch', - }) +export const useWriteCtzndIStakingStake = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndIStakingAbi, + functionName: 'stake', +}) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"registerProject"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIStakingAbi}__ and `functionName` set to `"unbond"` */ -export const useWriteCtzndIControllerRegisterProject = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIControllerAbi, - functionName: 'registerProject', - }) +export const useWriteCtzndIStakingUnbond = /*#__PURE__*/ createUseWriteContract( + { abi: ctzndIStakingAbi, functionName: 'unbond' }, +) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"setBatchVotingPeriod"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIStakingAbi}__ and `functionName` set to `"withdraw"` */ -export const useWriteCtzndIControllerSetBatchVotingPeriod = +export const useWriteCtzndIStakingWithdraw = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIControllerAbi, - functionName: 'setBatchVotingPeriod', + abi: ctzndIStakingAbi, + functionName: 'withdraw', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIStakingAbi}__ */ -export const useSimulateCtzndIController = - /*#__PURE__*/ createUseSimulateContract({ abi: ctzndIControllerAbi }) +export const useSimulateCtzndIStaking = /*#__PURE__*/ createUseSimulateContract( + { abi: ctzndIStakingAbi }, +) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"createBatch"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIStakingAbi}__ and `functionName` set to `"rebond"` */ -export const useSimulateCtzndIControllerCreateBatch = +export const useSimulateCtzndIStakingRebond = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIControllerAbi, - functionName: 'createBatch', + abi: ctzndIStakingAbi, + functionName: 'rebond', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"isProjectInBatch"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIStakingAbi}__ and `functionName` set to `"stake"` */ -export const useSimulateCtzndIControllerIsProjectInBatch = +export const useSimulateCtzndIStakingStake = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIControllerAbi, - functionName: 'isProjectInBatch', + abi: ctzndIStakingAbi, + functionName: 'stake', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"registerProject"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIStakingAbi}__ and `functionName` set to `"unbond"` */ -export const useSimulateCtzndIControllerRegisterProject = +export const useSimulateCtzndIStakingUnbond = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIControllerAbi, - functionName: 'registerProject', + abi: ctzndIStakingAbi, + functionName: 'unbond', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIControllerAbi}__ and `functionName` set to `"setBatchVotingPeriod"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIStakingAbi}__ and `functionName` set to `"withdraw"` */ -export const useSimulateCtzndIControllerSetBatchVotingPeriod = +export const useSimulateCtzndIStakingWithdraw = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIControllerAbi, - functionName: 'setBatchVotingPeriod', + abi: ctzndIStakingAbi, + functionName: 'withdraw', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIerc165Abi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ */ -export const useReadCtzndIerc165 = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIerc165Abi, +export const useReadCtzndIVesting = /*#__PURE__*/ createUseReadContract({ + abi: ctzndIVestingAbi, }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIerc165Abi}__ and `functionName` set to `"supportsInterface"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"claimable"` */ -export const useReadCtzndIerc165SupportsInterface = +export const useReadCtzndIVestingClaimable = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIerc165Abi, - functionName: 'supportsInterface', + abi: ctzndIVestingAbi, + functionName: 'claimable', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"claimed"` */ -export const useReadCtzndIerc20Metadata = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIerc20MetadataAbi, +export const useReadCtzndIVestingClaimed = /*#__PURE__*/ createUseReadContract({ + abi: ctzndIVestingAbi, + functionName: 'claimed', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `functionName` set to `"allowance"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"privateSaleCap"` */ -export const useReadCtzndIerc20MetadataAllowance = +export const useReadCtzndIVestingPrivateSaleCap = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIerc20MetadataAbi, - functionName: 'allowance', + abi: ctzndIVestingAbi, + functionName: 'privateSaleCap', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `functionName` set to `"balanceOf"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"publicSaleCliffMonths"` */ -export const useReadCtzndIerc20MetadataBalanceOf = +export const useReadCtzndIVestingPublicSaleCliffMonths = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIerc20MetadataAbi, - functionName: 'balanceOf', + abi: ctzndIVestingAbi, + functionName: 'publicSaleCliffMonths', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `functionName` set to `"decimals"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"publicSaleVestingMonths"` */ -export const useReadCtzndIerc20MetadataDecimals = +export const useReadCtzndIVestingPublicSaleVestingMonths = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIerc20MetadataAbi, - functionName: 'decimals', + abi: ctzndIVestingAbi, + functionName: 'publicSaleVestingMonths', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `functionName` set to `"name"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"startTime"` */ -export const useReadCtzndIerc20MetadataName = +export const useReadCtzndIVestingStartTime = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIerc20MetadataAbi, - functionName: 'name', + abi: ctzndIVestingAbi, + functionName: 'startTime', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `functionName` set to `"symbol"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"token"` */ -export const useReadCtzndIerc20MetadataSymbol = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndIerc20MetadataAbi, - functionName: 'symbol', - }) +export const useReadCtzndIVestingToken = /*#__PURE__*/ createUseReadContract({ + abi: ctzndIVestingAbi, + functionName: 'token', +}) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `functionName` set to `"totalSupply"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"totalAllocated"` */ -export const useReadCtzndIerc20MetadataTotalSupply = +export const useReadCtzndIVestingTotalAllocated = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIerc20MetadataAbi, - functionName: 'totalSupply', + abi: ctzndIVestingAbi, + functionName: 'totalAllocated', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ */ -export const useWriteCtzndIerc20Metadata = /*#__PURE__*/ createUseWriteContract( - { abi: ctzndIerc20MetadataAbi }, -) +export const useWriteCtzndIVesting = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndIVestingAbi, +}) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `functionName` set to `"approve"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"claim"` */ -export const useWriteCtzndIerc20MetadataApprove = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIerc20MetadataAbi, - functionName: 'approve', - }) +export const useWriteCtzndIVestingClaim = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndIVestingAbi, + functionName: 'claim', +}) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `functionName` set to `"transfer"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"createPrivateSaleVest"` */ -export const useWriteCtzndIerc20MetadataTransfer = +export const useWriteCtzndIVestingCreatePrivateSaleVest = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIerc20MetadataAbi, - functionName: 'transfer', + abi: ctzndIVestingAbi, + functionName: 'createPrivateSaleVest', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `functionName` set to `"transferFrom"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"refund"` */ -export const useWriteCtzndIerc20MetadataTransferFrom = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIerc20MetadataAbi, - functionName: 'transferFrom', - }) +export const useWriteCtzndIVestingRefund = /*#__PURE__*/ createUseWriteContract( + { abi: ctzndIVestingAbi, functionName: 'refund' }, +) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ */ -export const useSimulateCtzndIerc20Metadata = - /*#__PURE__*/ createUseSimulateContract({ abi: ctzndIerc20MetadataAbi }) +export const useSimulateCtzndIVesting = /*#__PURE__*/ createUseSimulateContract( + { abi: ctzndIVestingAbi }, +) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `functionName` set to `"approve"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"claim"` */ -export const useSimulateCtzndIerc20MetadataApprove = +export const useSimulateCtzndIVestingClaim = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIerc20MetadataAbi, - functionName: 'approve', + abi: ctzndIVestingAbi, + functionName: 'claim', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `functionName` set to `"transfer"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"createPrivateSaleVest"` */ -export const useSimulateCtzndIerc20MetadataTransfer = +export const useSimulateCtzndIVestingCreatePrivateSaleVest = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIerc20MetadataAbi, - functionName: 'transfer', + abi: ctzndIVestingAbi, + functionName: 'createPrivateSaleVest', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `functionName` set to `"transferFrom"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"refund"` */ -export const useSimulateCtzndIerc20MetadataTransferFrom = +export const useSimulateCtzndIVestingRefund = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIerc20MetadataAbi, - functionName: 'transferFrom', + abi: ctzndIVestingAbi, + functionName: 'refund', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ */ -export const useWatchCtzndIerc20MetadataEvent = - /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndIerc20MetadataAbi }) +export const useReadCtzndMockErc721 = /*#__PURE__*/ createUseReadContract({ + abi: ctzndMockErc721Abi, +}) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"balanceOf"` + */ +export const useReadCtzndMockErc721BalanceOf = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndMockErc721Abi, + functionName: 'balanceOf', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"getApproved"` + */ +export const useReadCtzndMockErc721GetApproved = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndMockErc721Abi, + functionName: 'getApproved', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"isApprovedForAll"` + */ +export const useReadCtzndMockErc721IsApprovedForAll = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndMockErc721Abi, + functionName: 'isApprovedForAll', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"name"` + */ +export const useReadCtzndMockErc721Name = /*#__PURE__*/ createUseReadContract({ + abi: ctzndMockErc721Abi, + functionName: 'name', +}) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"ownerOf"` + */ +export const useReadCtzndMockErc721OwnerOf = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndMockErc721Abi, + functionName: 'ownerOf', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"supportsInterface"` + */ +export const useReadCtzndMockErc721SupportsInterface = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndMockErc721Abi, + functionName: 'supportsInterface', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"symbol"` + */ +export const useReadCtzndMockErc721Symbol = /*#__PURE__*/ createUseReadContract( + { abi: ctzndMockErc721Abi, functionName: 'symbol' }, +) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `eventName` set to `"Approval"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"tokenURI"` */ -export const useWatchCtzndIerc20MetadataApprovalEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndIerc20MetadataAbi, - eventName: 'Approval', +export const useReadCtzndMockErc721TokenUri = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndMockErc721Abi, + functionName: 'tokenURI', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndIerc20MetadataAbi}__ and `eventName` set to `"Transfer"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ */ -export const useWatchCtzndIerc20MetadataTransferEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndIerc20MetadataAbi, - eventName: 'Transfer', - }) +export const useWriteCtzndMockErc721 = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndMockErc721Abi, +}) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIerc20PermitAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"approve"` */ -export const useReadCtzndIerc20Permit = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIerc20PermitAbi, -}) +export const useWriteCtzndMockErc721Approve = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndMockErc721Abi, + functionName: 'approve', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIerc20PermitAbi}__ and `functionName` set to `"DOMAIN_SEPARATOR"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"initialize"` */ -export const useReadCtzndIerc20PermitDomainSeparator = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndIerc20PermitAbi, - functionName: 'DOMAIN_SEPARATOR', +export const useWriteCtzndMockErc721Initialize = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndMockErc721Abi, + functionName: 'initialize', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIerc20PermitAbi}__ and `functionName` set to `"nonces"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"safeTransferFrom"` */ -export const useReadCtzndIerc20PermitNonces = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndIerc20PermitAbi, - functionName: 'nonces', +export const useWriteCtzndMockErc721SafeTransferFrom = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndMockErc721Abi, + functionName: 'safeTransferFrom', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIerc20PermitAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"setApprovalForAll"` */ -export const useWriteCtzndIerc20Permit = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIerc20PermitAbi, -}) +export const useWriteCtzndMockErc721SetApprovalForAll = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndMockErc721Abi, + functionName: 'setApprovalForAll', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIerc20PermitAbi}__ and `functionName` set to `"permit"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"transferFrom"` */ -export const useWriteCtzndIerc20PermitPermit = +export const useWriteCtzndMockErc721TransferFrom = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIerc20PermitAbi, - functionName: 'permit', + abi: ctzndMockErc721Abi, + functionName: 'transferFrom', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIerc20PermitAbi}__ + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ */ -export const useSimulateCtzndIerc20Permit = - /*#__PURE__*/ createUseSimulateContract({ abi: ctzndIerc20PermitAbi }) +export const useSimulateCtzndMockErc721 = + /*#__PURE__*/ createUseSimulateContract({ abi: ctzndMockErc721Abi }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIerc20PermitAbi}__ and `functionName` set to `"permit"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"approve"` */ -export const useSimulateCtzndIerc20PermitPermit = +export const useSimulateCtzndMockErc721Approve = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIerc20PermitAbi, - functionName: 'permit', + abi: ctzndMockErc721Abi, + functionName: 'approve', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIerc721TokenReceiverAbi}__ + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"initialize"` */ -export const useWriteCtzndIerc721TokenReceiver = - /*#__PURE__*/ createUseWriteContract({ abi: ctzndIerc721TokenReceiverAbi }) +export const useSimulateCtzndMockErc721Initialize = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndMockErc721Abi, + functionName: 'initialize', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIerc721TokenReceiverAbi}__ and `functionName` set to `"onERC721Received"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"safeTransferFrom"` */ -export const useWriteCtzndIerc721TokenReceiverOnErc721Received = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIerc721TokenReceiverAbi, - functionName: 'onERC721Received', +export const useSimulateCtzndMockErc721SafeTransferFrom = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndMockErc721Abi, + functionName: 'safeTransferFrom', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIerc721TokenReceiverAbi}__ + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"setApprovalForAll"` */ -export const useSimulateCtzndIerc721TokenReceiver = - /*#__PURE__*/ createUseSimulateContract({ abi: ctzndIerc721TokenReceiverAbi }) +export const useSimulateCtzndMockErc721SetApprovalForAll = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndMockErc721Abi, + functionName: 'setApprovalForAll', + }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIerc721TokenReceiverAbi}__ and `functionName` set to `"onERC721Received"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"transferFrom"` */ -export const useSimulateCtzndIerc721TokenReceiverOnErc721Received = +export const useSimulateCtzndMockErc721TransferFrom = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIerc721TokenReceiverAbi, - functionName: 'onERC721Received', + abi: ctzndMockErc721Abi, + functionName: 'transferFrom', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndMockErc721Abi}__ */ -export const useReadCtzndIMulticall3 = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIMulticall3Abi, -}) +export const useWatchCtzndMockErc721Event = + /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndMockErc721Abi }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"getBasefee"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `eventName` set to `"Approval"` */ -export const useReadCtzndIMulticall3GetBasefee = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndIMulticall3Abi, - functionName: 'getBasefee', +export const useWatchCtzndMockErc721ApprovalEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndMockErc721Abi, + eventName: 'Approval', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"getBlockHash"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `eventName` set to `"ApprovalForAll"` */ -export const useReadCtzndIMulticall3GetBlockHash = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndIMulticall3Abi, - functionName: 'getBlockHash', +export const useWatchCtzndMockErc721ApprovalForAllEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndMockErc721Abi, + eventName: 'ApprovalForAll', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"getBlockNumber"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `eventName` set to `"Transfer"` */ -export const useReadCtzndIMulticall3GetBlockNumber = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndIMulticall3Abi, - functionName: 'getBlockNumber', +export const useWatchCtzndMockErc721TransferEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndMockErc721Abi, + eventName: 'Transfer', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"getChainId"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ */ -export const useReadCtzndIMulticall3GetChainId = +export const useReadCtzndMockProject = /*#__PURE__*/ createUseReadContract({ + abi: ctzndMockProjectAbi, +}) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"approveByLegal"` + */ +export const useReadCtzndMockProjectApproveByLegal = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIMulticall3Abi, - functionName: 'getChainId', + abi: ctzndMockProjectAbi, + functionName: 'approveByLegal', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"getCurrentBlockCoinbase"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"approveByManager"` */ -export const useReadCtzndIMulticall3GetCurrentBlockCoinbase = +export const useReadCtzndMockProjectApproveByManager = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIMulticall3Abi, - functionName: 'getCurrentBlockCoinbase', + abi: ctzndMockProjectAbi, + functionName: 'approveByManager', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"getCurrentBlockDifficulty"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"approvedByLegal"` */ -export const useReadCtzndIMulticall3GetCurrentBlockDifficulty = +export const useReadCtzndMockProjectApprovedByLegal = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIMulticall3Abi, - functionName: 'getCurrentBlockDifficulty', + abi: ctzndMockProjectAbi, + functionName: 'approvedByLegal', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"getCurrentBlockGasLimit"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"approvedByManager"` */ -export const useReadCtzndIMulticall3GetCurrentBlockGasLimit = +export const useReadCtzndMockProjectApprovedByManager = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIMulticall3Abi, - functionName: 'getCurrentBlockGasLimit', + abi: ctzndMockProjectAbi, + functionName: 'approvedByManager', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"getCurrentBlockTimestamp"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"hasTokens"` */ -export const useReadCtzndIMulticall3GetCurrentBlockTimestamp = +export const useReadCtzndMockProjectHasTokens = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIMulticall3Abi, - functionName: 'getCurrentBlockTimestamp', + abi: ctzndMockProjectAbi, + functionName: 'hasTokens', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"getEthBalance"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"investmentTokenToToken"` */ -export const useReadCtzndIMulticall3GetEthBalance = +export const useReadCtzndMockProjectInvestmentTokenToToken = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIMulticall3Abi, - functionName: 'getEthBalance', + abi: ctzndMockProjectAbi, + functionName: 'investmentTokenToToken', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"getLastBlockHash"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"isReadyForListing"` */ -export const useReadCtzndIMulticall3GetLastBlockHash = +export const useReadCtzndMockProjectIsReadyForListing = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIMulticall3Abi, - functionName: 'getLastBlockHash', + abi: ctzndMockProjectAbi, + functionName: 'isReadyForListing', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"merkleRoot"` */ -export const useWriteCtzndIMulticall3 = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIMulticall3Abi, -}) +export const useReadCtzndMockProjectMerkleRoot = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndMockProjectAbi, + functionName: 'merkleRoot', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"aggregate"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"peoplesPool"` */ -export const useWriteCtzndIMulticall3Aggregate = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIMulticall3Abi, - functionName: 'aggregate', +export const useReadCtzndMockProjectPeoplesPool = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndMockProjectAbi, + functionName: 'peoplesPool', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"aggregate3"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"stakersPool"` */ -export const useWriteCtzndIMulticall3Aggregate3 = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIMulticall3Abi, - functionName: 'aggregate3', +export const useReadCtzndMockProjectStakersPool = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndMockProjectAbi, + functionName: 'stakersPool', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"aggregate3Value"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"tokenToInvestmentToken"` */ -export const useWriteCtzndIMulticall3Aggregate3Value = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIMulticall3Abi, - functionName: 'aggregate3Value', +export const useReadCtzndMockProjectTokenToInvestmentToken = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndMockProjectAbi, + functionName: 'tokenToInvestmentToken', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"blockAndAggregate"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ */ -export const useWriteCtzndIMulticall3BlockAndAggregate = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIMulticall3Abi, - functionName: 'blockAndAggregate', - }) +export const useWriteCtzndMockProject = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndMockProjectAbi, +}) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"tryAggregate"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"invest"` */ -export const useWriteCtzndIMulticall3TryAggregate = +export const useWriteCtzndMockProjectInvest = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIMulticall3Abi, - functionName: 'tryAggregate', + abi: ctzndMockProjectAbi, + functionName: 'invest', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"tryBlockAndAggregate"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"test_createPeoplesPool"` */ -export const useWriteCtzndIMulticall3TryBlockAndAggregate = +export const useWriteCtzndMockProjectTestCreatePeoplesPool = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIMulticall3Abi, - functionName: 'tryBlockAndAggregate', + abi: ctzndMockProjectAbi, + functionName: 'test_createPeoplesPool', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"test_createStakersPool"` */ -export const useSimulateCtzndIMulticall3 = - /*#__PURE__*/ createUseSimulateContract({ abi: ctzndIMulticall3Abi }) +export const useWriteCtzndMockProjectTestCreateStakersPool = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndMockProjectAbi, + functionName: 'test_createStakersPool', + }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"aggregate"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ */ -export const useSimulateCtzndIMulticall3Aggregate = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIMulticall3Abi, - functionName: 'aggregate', - }) +export const useSimulateCtzndMockProject = + /*#__PURE__*/ createUseSimulateContract({ abi: ctzndMockProjectAbi }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"aggregate3"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"invest"` */ -export const useSimulateCtzndIMulticall3Aggregate3 = +export const useSimulateCtzndMockProjectInvest = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIMulticall3Abi, - functionName: 'aggregate3', + abi: ctzndMockProjectAbi, + functionName: 'invest', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"aggregate3Value"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"test_createPeoplesPool"` */ -export const useSimulateCtzndIMulticall3Aggregate3Value = +export const useSimulateCtzndMockProjectTestCreatePeoplesPool = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIMulticall3Abi, - functionName: 'aggregate3Value', + abi: ctzndMockProjectAbi, + functionName: 'test_createPeoplesPool', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"blockAndAggregate"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"test_createStakersPool"` */ -export const useSimulateCtzndIMulticall3BlockAndAggregate = +export const useSimulateCtzndMockProjectTestCreateStakersPool = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIMulticall3Abi, - functionName: 'blockAndAggregate', + abi: ctzndMockProjectAbi, + functionName: 'test_createStakersPool', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"tryAggregate"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ */ -export const useSimulateCtzndIMulticall3TryAggregate = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIMulticall3Abi, - functionName: 'tryAggregate', - }) +export const useReadCtzndMockSale = /*#__PURE__*/ createUseReadContract({ + abi: ctzndMockSaleAbi, +}) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIMulticall3Abi}__ and `functionName` set to `"tryBlockAndAggregate"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"allocation"` */ -export const useSimulateCtzndIMulticall3TryBlockAndAggregate = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIMulticall3Abi, - functionName: 'tryBlockAndAggregate', +export const useReadCtzndMockSaleAllocation = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndMockSaleAbi, + functionName: 'allocation', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIPoolAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"buy"` */ -export const useReadCtzndIPool = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIPoolAbi, +export const useReadCtzndMockSaleBuy = /*#__PURE__*/ createUseReadContract({ + abi: ctzndMockSaleAbi, + functionName: 'buy', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIPoolAbi}__ and `functionName` set to `"allocation"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"calls"` */ -export const useReadCtzndIPoolAllocation = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIPoolAbi, - functionName: 'allocation', +export const useReadCtzndMockSaleCalls = /*#__PURE__*/ createUseReadContract({ + abi: ctzndMockSaleAbi, + functionName: 'calls', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIPoolAbi}__ and `functionName` set to `"refundableAmount"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"paymentToken"` */ -export const useReadCtzndIPoolRefundableAmount = +export const useReadCtzndMockSalePaymentToken = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIPoolAbi, - functionName: 'refundableAmount', + abi: ctzndMockSaleAbi, + functionName: 'paymentToken', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIPoolAbi}__ and `functionName` set to `"uncappedAllocation"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"paymentTokenToToken"` */ -export const useReadCtzndIPoolUncappedAllocation = +export const useReadCtzndMockSalePaymentTokenToToken = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIPoolAbi, - functionName: 'uncappedAllocation', + abi: ctzndMockSaleAbi, + functionName: 'paymentTokenToToken', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIPoolAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"refundAmount"` */ -export const useWriteCtzndIPool = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIPoolAbi, -}) +export const useReadCtzndMockSaleRefundAmount = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndMockSaleAbi, + functionName: 'refundAmount', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIPoolAbi}__ and `functionName` set to `"invest"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"setIndividualCap"` */ -export const useWriteCtzndIPoolInvest = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIPoolAbi, - functionName: 'invest', -}) +export const useReadCtzndMockSaleSetIndividualCap = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndMockSaleAbi, + functionName: 'setIndividualCap', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIPoolAbi}__ and `functionName` set to `"refund"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"supportsInterface"` */ -export const useWriteCtzndIPoolRefund = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIPoolAbi, - functionName: 'refund', -}) +export const useReadCtzndMockSaleSupportsInterface = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndMockSaleAbi, + functionName: 'supportsInterface', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIPoolAbi}__ and `functionName` set to `"setIndividualCap"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"test_Called"` */ -export const useWriteCtzndIPoolSetIndividualCap = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIPoolAbi, - functionName: 'setIndividualCap', +export const useReadCtzndMockSaleTestCalled = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndMockSaleAbi, + functionName: 'test_Called', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIPoolAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"token"` */ -export const useSimulateCtzndIPool = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIPoolAbi, +export const useReadCtzndMockSaleToken = /*#__PURE__*/ createUseReadContract({ + abi: ctzndMockSaleAbi, + functionName: 'token', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIPoolAbi}__ and `functionName` set to `"invest"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"tokenToPaymentToken"` */ -export const useSimulateCtzndIPoolInvest = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIPoolAbi, - functionName: 'invest', +export const useReadCtzndMockSaleTokenToPaymentToken = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndMockSaleAbi, + functionName: 'tokenToPaymentToken', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIPoolAbi}__ and `functionName` set to `"refund"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"uncappedAllocation"` */ -export const useSimulateCtzndIPoolRefund = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIPoolAbi, - functionName: 'refund', +export const useReadCtzndMockSaleUncappedAllocation = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndMockSaleAbi, + functionName: 'uncappedAllocation', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIPoolAbi}__ and `functionName` set to `"setIndividualCap"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"withdraw"` */ -export const useSimulateCtzndIPoolSetIndividualCap = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIPoolAbi, - functionName: 'setIndividualCap', - }) +export const useReadCtzndMockSaleWithdraw = /*#__PURE__*/ createUseReadContract( + { abi: ctzndMockSaleAbi, functionName: 'withdraw' }, +) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ */ -export const useReadCtzndIProject = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIProjectAbi, +export const useWriteCtzndMockSale = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndMockSaleAbi, }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"approvedByLegal"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"refund"` */ -export const useReadCtzndIProjectApprovedByLegal = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndIProjectAbi, - functionName: 'approvedByLegal', - }) +export const useWriteCtzndMockSaleRefund = /*#__PURE__*/ createUseWriteContract( + { abi: ctzndMockSaleAbi, functionName: 'refund' }, +) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"approvedByManager"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"test_addAllocation"` */ -export const useReadCtzndIProjectApprovedByManager = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndIProjectAbi, - functionName: 'approvedByManager', +export const useWriteCtzndMockSaleTestAddAllocation = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndMockSaleAbi, + functionName: 'test_addAllocation', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"hasTokens"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"test_addRefund"` */ -export const useReadCtzndIProjectHasTokens = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndIProjectAbi, - functionName: 'hasTokens', +export const useWriteCtzndMockSaleTestAddRefund = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndMockSaleAbi, + functionName: 'test_addRefund', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"investmentTokenToToken"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ */ -export const useReadCtzndIProjectInvestmentTokenToToken = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndIProjectAbi, - functionName: 'investmentTokenToToken', - }) +export const useSimulateCtzndMockSale = /*#__PURE__*/ createUseSimulateContract( + { abi: ctzndMockSaleAbi }, +) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"isReadyForListing"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"refund"` */ -export const useReadCtzndIProjectIsReadyForListing = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndIProjectAbi, - functionName: 'isReadyForListing', +export const useSimulateCtzndMockSaleRefund = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndMockSaleAbi, + functionName: 'refund', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"peoplesPool"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"test_addAllocation"` */ -export const useReadCtzndIProjectPeoplesPool = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndIProjectAbi, - functionName: 'peoplesPool', +export const useSimulateCtzndMockSaleTestAddAllocation = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndMockSaleAbi, + functionName: 'test_addAllocation', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"stakersPool"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"test_addRefund"` */ -export const useReadCtzndIProjectStakersPool = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndIProjectAbi, - functionName: 'stakersPool', +export const useSimulateCtzndMockSaleTestAddRefund = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndMockSaleAbi, + functionName: 'test_addRefund', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"tokenToInvestmentToken"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndOverMaxTargetDevDeployScriptAbi}__ */ -export const useReadCtzndIProjectTokenToInvestmentToken = +export const useReadCtzndOverMaxTargetDevDeployScript = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIProjectAbi, - functionName: 'tokenToInvestmentToken', + abi: ctzndOverMaxTargetDevDeployScriptAbi, }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndOverMaxTargetDevDeployScriptAbi}__ and `functionName` set to `"IS_SCRIPT"` */ -export const useWriteCtzndIProject = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIProjectAbi, -}) +export const useReadCtzndOverMaxTargetDevDeployScriptIsScript = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndOverMaxTargetDevDeployScriptAbi, + functionName: 'IS_SCRIPT', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"approveByLegal"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndOverMaxTargetDevDeployScriptAbi}__ */ -export const useWriteCtzndIProjectApproveByLegal = +export const useWriteCtzndOverMaxTargetDevDeployScript = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIProjectAbi, - functionName: 'approveByLegal', + abi: ctzndOverMaxTargetDevDeployScriptAbi, }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"approveByManager"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndOverMaxTargetDevDeployScriptAbi}__ and `functionName` set to `"run"` */ -export const useWriteCtzndIProjectApproveByManager = +export const useWriteCtzndOverMaxTargetDevDeployScriptRun = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIProjectAbi, - functionName: 'approveByManager', + abi: ctzndOverMaxTargetDevDeployScriptAbi, + functionName: 'run', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"invest"` - */ -export const useWriteCtzndIProjectInvest = /*#__PURE__*/ createUseWriteContract( - { abi: ctzndIProjectAbi, functionName: 'invest' }, -) - -/** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndOverMaxTargetDevDeployScriptAbi}__ and `functionName` set to `"setUp"` */ -export const useSimulateCtzndIProject = /*#__PURE__*/ createUseSimulateContract( - { abi: ctzndIProjectAbi }, -) +export const useWriteCtzndOverMaxTargetDevDeployScriptSetUp = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndOverMaxTargetDevDeployScriptAbi, + functionName: 'setUp', + }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"approveByLegal"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndOverMaxTargetDevDeployScriptAbi}__ */ -export const useSimulateCtzndIProjectApproveByLegal = +export const useSimulateCtzndOverMaxTargetDevDeployScript = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIProjectAbi, - functionName: 'approveByLegal', + abi: ctzndOverMaxTargetDevDeployScriptAbi, }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"approveByManager"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndOverMaxTargetDevDeployScriptAbi}__ and `functionName` set to `"run"` */ -export const useSimulateCtzndIProjectApproveByManager = +export const useSimulateCtzndOverMaxTargetDevDeployScriptRun = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIProjectAbi, - functionName: 'approveByManager', + abi: ctzndOverMaxTargetDevDeployScriptAbi, + functionName: 'run', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIProjectAbi}__ and `functionName` set to `"invest"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndOverMaxTargetDevDeployScriptAbi}__ and `functionName` set to `"setUp"` */ -export const useSimulateCtzndIProjectInvest = +export const useSimulateCtzndOverMaxTargetDevDeployScriptSetUp = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIProjectAbi, - functionName: 'invest', + abi: ctzndOverMaxTargetDevDeployScriptAbi, + functionName: 'setUp', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndISaleAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPausableAbi}__ */ -export const useReadCtzndISale = /*#__PURE__*/ createUseReadContract({ - abi: ctzndISaleAbi, +export const useReadCtzndPausable = /*#__PURE__*/ createUseReadContract({ + abi: ctzndPausableAbi, }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"allocation"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPausableAbi}__ and `functionName` set to `"paused"` */ -export const useReadCtzndISaleAllocation = /*#__PURE__*/ createUseReadContract({ - abi: ctzndISaleAbi, - functionName: 'allocation', +export const useReadCtzndPausablePaused = /*#__PURE__*/ createUseReadContract({ + abi: ctzndPausableAbi, + functionName: 'paused', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"paymentToken"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndPausableAbi}__ */ -export const useReadCtzndISalePaymentToken = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndISaleAbi, - functionName: 'paymentToken', - }) +export const useWatchCtzndPausableEvent = + /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndPausableAbi }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"paymentTokenToToken"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndPausableAbi}__ and `eventName` set to `"Paused"` */ -export const useReadCtzndISalePaymentTokenToToken = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndISaleAbi, - functionName: 'paymentTokenToToken', +export const useWatchCtzndPausablePausedEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndPausableAbi, + eventName: 'Paused', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"refundAmount"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndPausableAbi}__ and `eventName` set to `"Unpaused"` */ -export const useReadCtzndISaleRefundAmount = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndISaleAbi, - functionName: 'refundAmount', +export const useWatchCtzndPausableUnpausedEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndPausableAbi, + eventName: 'Unpaused', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"token"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ */ -export const useReadCtzndISaleToken = /*#__PURE__*/ createUseReadContract({ - abi: ctzndISaleAbi, - functionName: 'token', +export const useReadCtzndPeoplesPool = /*#__PURE__*/ createUseReadContract({ + abi: ctzndPeoplesPoolAbi, }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"tokenToPaymentToken"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"CAP_VALIDATION_GAS_LIMIT"` */ -export const useReadCtzndISaleTokenToPaymentToken = +export const useReadCtzndPeoplesPoolCapValidationGasLimit = /*#__PURE__*/ createUseReadContract({ - abi: ctzndISaleAbi, - functionName: 'tokenToPaymentToken', + abi: ctzndPeoplesPoolAbi, + functionName: 'CAP_VALIDATION_GAS_LIMIT', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"uncappedAllocation"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"allocation"` */ -export const useReadCtzndISaleUncappedAllocation = +export const useReadCtzndPeoplesPoolAllocation = /*#__PURE__*/ createUseReadContract({ - abi: ctzndISaleAbi, - functionName: 'uncappedAllocation', + abi: ctzndPeoplesPoolAbi, + functionName: 'allocation', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndISaleAbi}__ - */ -export const useWriteCtzndISale = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndISaleAbi, -}) - -/** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"buy"` - */ -export const useWriteCtzndISaleBuy = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndISaleAbi, - functionName: 'buy', -}) - -/** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"refund"` - */ -export const useWriteCtzndISaleRefund = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndISaleAbi, - functionName: 'refund', -}) - -/** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"setIndividualCap"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"individualCap"` */ -export const useWriteCtzndISaleSetIndividualCap = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndISaleAbi, - functionName: 'setIndividualCap', +export const useReadCtzndPeoplesPoolIndividualCap = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndPeoplesPoolAbi, + functionName: 'individualCap', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"withdraw"` - */ -export const useWriteCtzndISaleWithdraw = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndISaleAbi, - functionName: 'withdraw', -}) - -/** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndISaleAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"investmentToken"` */ -export const useSimulateCtzndISale = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndISaleAbi, -}) +export const useReadCtzndPeoplesPoolInvestmentToken = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndPeoplesPoolAbi, + functionName: 'investmentToken', + }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"buy"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"investorAmountAt"` */ -export const useSimulateCtzndISaleBuy = /*#__PURE__*/ createUseSimulateContract( - { abi: ctzndISaleAbi, functionName: 'buy' }, -) +export const useReadCtzndPeoplesPoolInvestorAmountAt = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndPeoplesPoolAbi, + functionName: 'investorAmountAt', + }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"refund"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"investorCount"` */ -export const useSimulateCtzndISaleRefund = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndISaleAbi, - functionName: 'refund', +export const useReadCtzndPeoplesPoolInvestorCount = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndPeoplesPoolAbi, + functionName: 'investorCount', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"setIndividualCap"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"project"` */ -export const useSimulateCtzndISaleSetIndividualCap = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndISaleAbi, - functionName: 'setIndividualCap', +export const useReadCtzndPeoplesPoolProject = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndPeoplesPoolAbi, + functionName: 'project', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndISaleAbi}__ and `functionName` set to `"withdraw"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"refundableAmount"` */ -export const useSimulateCtzndISaleWithdraw = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndISaleAbi, - functionName: 'withdraw', +export const useReadCtzndPeoplesPoolRefundableAmount = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndPeoplesPoolAbi, + functionName: 'refundableAmount', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIStakingAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"risingTideCache"` */ -export const useReadCtzndIStaking = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIStakingAbi, -}) +export const useReadCtzndPeoplesPoolRisingTideCache = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndPeoplesPoolAbi, + functionName: 'risingTideCache', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIStakingAbi}__ and `functionName` set to `"hasStaked"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"risingTideState"` */ -export const useReadCtzndIStakingHasStaked = +export const useReadCtzndPeoplesPoolRisingTideState = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIStakingAbi, - functionName: 'hasStaked', + abi: ctzndPeoplesPoolAbi, + functionName: 'risingTideState', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIStakingAbi}__ and `functionName` set to `"withdrawable"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"risingTide_applyCap"` */ -export const useReadCtzndIStakingWithdrawable = +export const useReadCtzndPeoplesPoolRisingTideApplyCap = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIStakingAbi, - functionName: 'withdrawable', + abi: ctzndPeoplesPoolAbi, + functionName: 'risingTide_applyCap', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIStakingAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"risingTide_isValidCap"` */ -export const useWriteCtzndIStaking = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIStakingAbi, -}) +export const useReadCtzndPeoplesPoolRisingTideIsValidCap = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndPeoplesPoolAbi, + functionName: 'risingTide_isValidCap', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIStakingAbi}__ and `functionName` set to `"rebond"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"risingTide_totalAllocatedUncapped"` */ -export const useWriteCtzndIStakingRebond = /*#__PURE__*/ createUseWriteContract( - { abi: ctzndIStakingAbi, functionName: 'rebond' }, -) +export const useReadCtzndPeoplesPoolRisingTideTotalAllocatedUncapped = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndPeoplesPoolAbi, + functionName: 'risingTide_totalAllocatedUncapped', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIStakingAbi}__ and `functionName` set to `"stake"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"risingTide_totalCap"` */ -export const useWriteCtzndIStakingStake = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIStakingAbi, - functionName: 'stake', -}) +export const useReadCtzndPeoplesPoolRisingTideTotalCap = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndPeoplesPoolAbi, + functionName: 'risingTide_totalCap', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIStakingAbi}__ and `functionName` set to `"unbond"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"risingTide_validating"` */ -export const useWriteCtzndIStakingUnbond = /*#__PURE__*/ createUseWriteContract( - { abi: ctzndIStakingAbi, functionName: 'unbond' }, -) +export const useReadCtzndPeoplesPoolRisingTideValidating = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndPeoplesPoolAbi, + functionName: 'risingTide_validating', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIStakingAbi}__ and `functionName` set to `"withdraw"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"saleSupply"` */ -export const useWriteCtzndIStakingWithdraw = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIStakingAbi, - functionName: 'withdraw', +export const useReadCtzndPeoplesPoolSaleSupply = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndPeoplesPoolAbi, + functionName: 'saleSupply', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIStakingAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"totalUncappedAllocations"` */ -export const useSimulateCtzndIStaking = /*#__PURE__*/ createUseSimulateContract( - { abi: ctzndIStakingAbi }, -) +export const useReadCtzndPeoplesPoolTotalUncappedAllocations = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndPeoplesPoolAbi, + functionName: 'totalUncappedAllocations', + }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIStakingAbi}__ and `functionName` set to `"rebond"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"uncappedAllocation"` */ -export const useSimulateCtzndIStakingRebond = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIStakingAbi, - functionName: 'rebond', +export const useReadCtzndPeoplesPoolUncappedAllocation = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndPeoplesPoolAbi, + functionName: 'uncappedAllocation', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIStakingAbi}__ and `functionName` set to `"stake"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ */ -export const useSimulateCtzndIStakingStake = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIStakingAbi, - functionName: 'stake', - }) +export const useWriteCtzndPeoplesPool = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndPeoplesPoolAbi, +}) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIStakingAbi}__ and `functionName` set to `"unbond"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"invest"` */ -export const useSimulateCtzndIStakingUnbond = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIStakingAbi, - functionName: 'unbond', +export const useWriteCtzndPeoplesPoolInvest = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndPeoplesPoolAbi, + functionName: 'invest', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIStakingAbi}__ and `functionName` set to `"withdraw"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"refund"` */ -export const useSimulateCtzndIStakingWithdraw = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIStakingAbi, - functionName: 'withdraw', +export const useWriteCtzndPeoplesPoolRefund = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndPeoplesPoolAbi, + functionName: 'refund', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"risingTide_validate"` */ -export const useReadCtzndIVesting = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIVestingAbi, -}) +export const useWriteCtzndPeoplesPoolRisingTideValidate = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndPeoplesPoolAbi, + functionName: 'risingTide_validate', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"claimable"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"setIndividualCap"` */ -export const useReadCtzndIVestingClaimable = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndIVestingAbi, - functionName: 'claimable', +export const useWriteCtzndPeoplesPoolSetIndividualCap = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndPeoplesPoolAbi, + functionName: 'setIndividualCap', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"claimed"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ */ -export const useReadCtzndIVestingClaimed = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIVestingAbi, - functionName: 'claimed', -}) +export const useSimulateCtzndPeoplesPool = + /*#__PURE__*/ createUseSimulateContract({ abi: ctzndPeoplesPoolAbi }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"privateSaleCap"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"invest"` */ -export const useReadCtzndIVestingPrivateSaleCap = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndIVestingAbi, - functionName: 'privateSaleCap', +export const useSimulateCtzndPeoplesPoolInvest = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndPeoplesPoolAbi, + functionName: 'invest', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"publicSaleCliffMonths"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"refund"` */ -export const useReadCtzndIVestingPublicSaleCliffMonths = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndIVestingAbi, - functionName: 'publicSaleCliffMonths', +export const useSimulateCtzndPeoplesPoolRefund = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndPeoplesPoolAbi, + functionName: 'refund', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"publicSaleVestingMonths"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"risingTide_validate"` */ -export const useReadCtzndIVestingPublicSaleVestingMonths = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndIVestingAbi, - functionName: 'publicSaleVestingMonths', +export const useSimulateCtzndPeoplesPoolRisingTideValidate = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndPeoplesPoolAbi, + functionName: 'risingTide_validate', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"startTime"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"setIndividualCap"` */ -export const useReadCtzndIVestingStartTime = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndIVestingAbi, - functionName: 'startTime', +export const useSimulateCtzndPeoplesPoolSetIndividualCap = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndPeoplesPoolAbi, + functionName: 'setIndividualCap', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"token"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ */ -export const useReadCtzndIVestingToken = /*#__PURE__*/ createUseReadContract({ - abi: ctzndIVestingAbi, - functionName: 'token', -}) +export const useWatchCtzndPeoplesPoolEvent = + /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndPeoplesPoolAbi }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"totalAllocated"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `eventName` set to `"Refund"` */ -export const useReadCtzndIVestingTotalAllocated = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndIVestingAbi, - functionName: 'totalAllocated', +export const useWatchCtzndPeoplesPoolRefundEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndPeoplesPoolAbi, + eventName: 'Refund', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ - */ -export const useWriteCtzndIVesting = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIVestingAbi, -}) - -/** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"claim"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ */ -export const useWriteCtzndIVestingClaim = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIVestingAbi, - functionName: 'claim', +export const useReadCtzndPool = /*#__PURE__*/ createUseReadContract({ + abi: ctzndPoolAbi, }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"createPrivateSaleVest"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"CAP_VALIDATION_GAS_LIMIT"` */ -export const useWriteCtzndIVestingCreatePrivateSaleVest = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndIVestingAbi, - functionName: 'createPrivateSaleVest', +export const useReadCtzndPoolCapValidationGasLimit = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndPoolAbi, + functionName: 'CAP_VALIDATION_GAS_LIMIT', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"refund"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"allocation"` */ -export const useWriteCtzndIVestingRefund = /*#__PURE__*/ createUseWriteContract( - { abi: ctzndIVestingAbi, functionName: 'refund' }, -) +export const useReadCtzndPoolAllocation = /*#__PURE__*/ createUseReadContract({ + abi: ctzndPoolAbi, + functionName: 'allocation', +}) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"individualCap"` */ -export const useSimulateCtzndIVesting = /*#__PURE__*/ createUseSimulateContract( - { abi: ctzndIVestingAbi }, -) +export const useReadCtzndPoolIndividualCap = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndPoolAbi, + functionName: 'individualCap', + }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"claim"` - */ -export const useSimulateCtzndIVestingClaim = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIVestingAbi, - functionName: 'claim', + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"investmentToken"` + */ +export const useReadCtzndPoolInvestmentToken = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndPoolAbi, + functionName: 'investmentToken', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"createPrivateSaleVest"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"investorAmountAt"` */ -export const useSimulateCtzndIVestingCreatePrivateSaleVest = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIVestingAbi, - functionName: 'createPrivateSaleVest', +export const useReadCtzndPoolInvestorAmountAt = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndPoolAbi, + functionName: 'investorAmountAt', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndIVestingAbi}__ and `functionName` set to `"refund"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"investorCount"` */ -export const useSimulateCtzndIVestingRefund = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndIVestingAbi, - functionName: 'refund', +export const useReadCtzndPoolInvestorCount = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndPoolAbi, + functionName: 'investorCount', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"project"` */ -export const useReadCtzndMockErc721 = /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockErc721Abi, +export const useReadCtzndPoolProject = /*#__PURE__*/ createUseReadContract({ + abi: ctzndPoolAbi, + functionName: 'project', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"balanceOf"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"refundableAmount"` */ -export const useReadCtzndMockErc721BalanceOf = +export const useReadCtzndPoolRefundableAmount = /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockErc721Abi, - functionName: 'balanceOf', + abi: ctzndPoolAbi, + functionName: 'refundableAmount', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"getApproved"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"risingTideCache"` */ -export const useReadCtzndMockErc721GetApproved = +export const useReadCtzndPoolRisingTideCache = /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockErc721Abi, - functionName: 'getApproved', + abi: ctzndPoolAbi, + functionName: 'risingTideCache', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"isApprovedForAll"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"risingTideState"` */ -export const useReadCtzndMockErc721IsApprovedForAll = +export const useReadCtzndPoolRisingTideState = /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockErc721Abi, - functionName: 'isApprovedForAll', + abi: ctzndPoolAbi, + functionName: 'risingTideState', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"name"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"risingTide_applyCap"` */ -export const useReadCtzndMockErc721Name = /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockErc721Abi, - functionName: 'name', -}) +export const useReadCtzndPoolRisingTideApplyCap = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndPoolAbi, + functionName: 'risingTide_applyCap', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"ownerOf"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"risingTide_isValidCap"` */ -export const useReadCtzndMockErc721OwnerOf = +export const useReadCtzndPoolRisingTideIsValidCap = /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockErc721Abi, - functionName: 'ownerOf', + abi: ctzndPoolAbi, + functionName: 'risingTide_isValidCap', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"supportsInterface"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"risingTide_totalAllocatedUncapped"` */ -export const useReadCtzndMockErc721SupportsInterface = +export const useReadCtzndPoolRisingTideTotalAllocatedUncapped = /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockErc721Abi, - functionName: 'supportsInterface', + abi: ctzndPoolAbi, + functionName: 'risingTide_totalAllocatedUncapped', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"symbol"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"risingTide_totalCap"` */ -export const useReadCtzndMockErc721Symbol = /*#__PURE__*/ createUseReadContract( - { abi: ctzndMockErc721Abi, functionName: 'symbol' }, -) +export const useReadCtzndPoolRisingTideTotalCap = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndPoolAbi, + functionName: 'risingTide_totalCap', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"tokenURI"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"risingTide_validating"` */ -export const useReadCtzndMockErc721TokenUri = +export const useReadCtzndPoolRisingTideValidating = /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockErc721Abi, - functionName: 'tokenURI', + abi: ctzndPoolAbi, + functionName: 'risingTide_validating', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"saleSupply"` */ -export const useWriteCtzndMockErc721 = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndMockErc721Abi, +export const useReadCtzndPoolSaleSupply = /*#__PURE__*/ createUseReadContract({ + abi: ctzndPoolAbi, + functionName: 'saleSupply', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"approve"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"totalUncappedAllocations"` */ -export const useWriteCtzndMockErc721Approve = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndMockErc721Abi, - functionName: 'approve', +export const useReadCtzndPoolTotalUncappedAllocations = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndPoolAbi, + functionName: 'totalUncappedAllocations', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"initialize"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"uncappedAllocation"` */ -export const useWriteCtzndMockErc721Initialize = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndMockErc721Abi, - functionName: 'initialize', +export const useReadCtzndPoolUncappedAllocation = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndPoolAbi, + functionName: 'uncappedAllocation', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"safeTransferFrom"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndPoolAbi}__ */ -export const useWriteCtzndMockErc721SafeTransferFrom = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndMockErc721Abi, - functionName: 'safeTransferFrom', - }) +export const useWriteCtzndPool = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndPoolAbi, +}) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"setApprovalForAll"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"invest"` */ -export const useWriteCtzndMockErc721SetApprovalForAll = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndMockErc721Abi, - functionName: 'setApprovalForAll', - }) +export const useWriteCtzndPoolInvest = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndPoolAbi, + functionName: 'invest', +}) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"transferFrom"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"refund"` */ -export const useWriteCtzndMockErc721TransferFrom = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndMockErc721Abi, - functionName: 'transferFrom', - }) +export const useWriteCtzndPoolRefund = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndPoolAbi, + functionName: 'refund', +}) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"risingTide_validate"` */ -export const useSimulateCtzndMockErc721 = - /*#__PURE__*/ createUseSimulateContract({ abi: ctzndMockErc721Abi }) +export const useWriteCtzndPoolRisingTideValidate = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndPoolAbi, + functionName: 'risingTide_validate', + }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"approve"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"setIndividualCap"` */ -export const useSimulateCtzndMockErc721Approve = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndMockErc721Abi, - functionName: 'approve', +export const useWriteCtzndPoolSetIndividualCap = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndPoolAbi, + functionName: 'setIndividualCap', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"initialize"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndPoolAbi}__ */ -export const useSimulateCtzndMockErc721Initialize = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndMockErc721Abi, - functionName: 'initialize', - }) +export const useSimulateCtzndPool = /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndPoolAbi, +}) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"safeTransferFrom"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"invest"` */ -export const useSimulateCtzndMockErc721SafeTransferFrom = +export const useSimulateCtzndPoolInvest = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndMockErc721Abi, - functionName: 'safeTransferFrom', + abi: ctzndPoolAbi, + functionName: 'invest', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"setApprovalForAll"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"refund"` */ -export const useSimulateCtzndMockErc721SetApprovalForAll = +export const useSimulateCtzndPoolRefund = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndMockErc721Abi, - functionName: 'setApprovalForAll', + abi: ctzndPoolAbi, + functionName: 'refund', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `functionName` set to `"transferFrom"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"risingTide_validate"` */ -export const useSimulateCtzndMockErc721TransferFrom = +export const useSimulateCtzndPoolRisingTideValidate = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndMockErc721Abi, - functionName: 'transferFrom', + abi: ctzndPoolAbi, + functionName: 'risingTide_validate', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndMockErc721Abi}__ + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"setIndividualCap"` */ -export const useWatchCtzndMockErc721Event = - /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndMockErc721Abi }) +export const useSimulateCtzndPoolSetIndividualCap = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndPoolAbi, + functionName: 'setIndividualCap', + }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `eventName` set to `"Approval"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndPoolAbi}__ */ -export const useWatchCtzndMockErc721ApprovalEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndMockErc721Abi, - eventName: 'Approval', - }) +export const useWatchCtzndPoolEvent = /*#__PURE__*/ createUseWatchContractEvent( + { abi: ctzndPoolAbi }, +) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `eventName` set to `"ApprovalForAll"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndPoolAbi}__ and `eventName` set to `"Refund"` */ -export const useWatchCtzndMockErc721ApprovalForAllEvent = +export const useWatchCtzndPoolRefundEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndMockErc721Abi, - eventName: 'ApprovalForAll', + abi: ctzndPoolAbi, + eventName: 'Refund', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndMockErc721Abi}__ and `eventName` set to `"Transfer"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ */ -export const useWatchCtzndMockErc721TransferEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndMockErc721Abi, - eventName: 'Transfer', - }) +export const useReadCtzndProject = /*#__PURE__*/ createUseReadContract({ + abi: ctzndProjectAbi, +}) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ - */ -export const useReadCtzndMockProject = /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockProjectAbi, + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"MUL"` + */ +export const useReadCtzndProjectMul = /*#__PURE__*/ createUseReadContract({ + abi: ctzndProjectAbi, + functionName: 'MUL', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"approveByLegal"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"approvedByLegal"` */ -export const useReadCtzndMockProjectApproveByLegal = +export const useReadCtzndProjectApprovedByLegal = /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockProjectAbi, - functionName: 'approveByLegal', + abi: ctzndProjectAbi, + functionName: 'approvedByLegal', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"approveByManager"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"approvedByManager"` */ -export const useReadCtzndMockProjectApproveByManager = +export const useReadCtzndProjectApprovedByManager = /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockProjectAbi, - functionName: 'approveByManager', + abi: ctzndProjectAbi, + functionName: 'approvedByManager', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"approvedByLegal"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"controller"` */ -export const useReadCtzndMockProjectApprovedByLegal = +export const useReadCtzndProjectController = /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockProjectAbi, - functionName: 'approvedByLegal', + abi: ctzndProjectAbi, + functionName: 'controller', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"approvedByManager"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"description"` */ -export const useReadCtzndMockProjectApprovedByManager = +export const useReadCtzndProjectDescription = /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockProjectAbi, - functionName: 'approvedByManager', + abi: ctzndProjectAbi, + functionName: 'description', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"hasTokens"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"hasTokens"` */ -export const useReadCtzndMockProjectHasTokens = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockProjectAbi, - functionName: 'hasTokens', - }) +export const useReadCtzndProjectHasTokens = /*#__PURE__*/ createUseReadContract( + { abi: ctzndProjectAbi, functionName: 'hasTokens' }, +) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"investmentTokenToToken"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"investmentTokenToToken"` */ -export const useReadCtzndMockProjectInvestmentTokenToToken = +export const useReadCtzndProjectInvestmentTokenToToken = /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockProjectAbi, + abi: ctzndProjectAbi, functionName: 'investmentTokenToToken', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"isReadyForListing"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"isReadyForListing"` */ -export const useReadCtzndMockProjectIsReadyForListing = +export const useReadCtzndProjectIsReadyForListing = /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockProjectAbi, + abi: ctzndProjectAbi, functionName: 'isReadyForListing', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"merkleRoot"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"merkleRoot"` */ -export const useReadCtzndMockProjectMerkleRoot = +export const useReadCtzndProjectMerkleRoot = /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockProjectAbi, + abi: ctzndProjectAbi, functionName: 'merkleRoot', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"peoplesPool"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"peoplesPool"` */ -export const useReadCtzndMockProjectPeoplesPool = +export const useReadCtzndProjectPeoplesPool = /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockProjectAbi, + abi: ctzndProjectAbi, functionName: 'peoplesPool', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"stakersPool"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"rate"` */ -export const useReadCtzndMockProjectStakersPool = +export const useReadCtzndProjectRate = /*#__PURE__*/ createUseReadContract({ + abi: ctzndProjectAbi, + functionName: 'rate', +}) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"saleSupply"` + */ +export const useReadCtzndProjectSaleSupply = /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockProjectAbi, + abi: ctzndProjectAbi, + functionName: 'saleSupply', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"stakersPool"` + */ +export const useReadCtzndProjectStakersPool = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndProjectAbi, functionName: 'stakersPool', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"tokenToInvestmentToken"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"supportsInterface"` */ -export const useReadCtzndMockProjectTokenToInvestmentToken = +export const useReadCtzndProjectSupportsInterface = /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockProjectAbi, - functionName: 'tokenToInvestmentToken', + abi: ctzndProjectAbi, + functionName: 'supportsInterface', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"token"` */ -export const useWriteCtzndMockProject = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndMockProjectAbi, +export const useReadCtzndProjectToken = /*#__PURE__*/ createUseReadContract({ + abi: ctzndProjectAbi, + functionName: 'token', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"invest"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"tokenToInvestmentToken"` */ -export const useWriteCtzndMockProjectInvest = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndMockProjectAbi, - functionName: 'invest', +export const useReadCtzndProjectTokenToInvestmentToken = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndProjectAbi, + functionName: 'tokenToInvestmentToken', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"test_createPeoplesPool"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndProjectAbi}__ */ -export const useWriteCtzndMockProjectTestCreatePeoplesPool = +export const useWriteCtzndProject = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndProjectAbi, +}) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"approveByLegal"` + */ +export const useWriteCtzndProjectApproveByLegal = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndMockProjectAbi, - functionName: 'test_createPeoplesPool', + abi: ctzndProjectAbi, + functionName: 'approveByLegal', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"test_createStakersPool"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"approveByManager"` */ -export const useWriteCtzndMockProjectTestCreateStakersPool = +export const useWriteCtzndProjectApproveByManager = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndMockProjectAbi, - functionName: 'test_createStakersPool', + abi: ctzndProjectAbi, + functionName: 'approveByManager', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"invest"` */ -export const useSimulateCtzndMockProject = - /*#__PURE__*/ createUseSimulateContract({ abi: ctzndMockProjectAbi }) +export const useWriteCtzndProjectInvest = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndProjectAbi, + functionName: 'invest', +}) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"invest"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndProjectAbi}__ */ -export const useSimulateCtzndMockProjectInvest = +export const useSimulateCtzndProject = /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndProjectAbi, +}) + +/** + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"approveByLegal"` + */ +export const useSimulateCtzndProjectApproveByLegal = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndMockProjectAbi, - functionName: 'invest', + abi: ctzndProjectAbi, + functionName: 'approveByLegal', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"test_createPeoplesPool"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"approveByManager"` */ -export const useSimulateCtzndMockProjectTestCreatePeoplesPool = +export const useSimulateCtzndProjectApproveByManager = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndMockProjectAbi, - functionName: 'test_createPeoplesPool', + abi: ctzndProjectAbi, + functionName: 'approveByManager', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockProjectAbi}__ and `functionName` set to `"test_createStakersPool"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"invest"` */ -export const useSimulateCtzndMockProjectTestCreateStakersPool = +export const useSimulateCtzndProjectInvest = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndMockProjectAbi, - functionName: 'test_createStakersPool', + abi: ctzndProjectAbi, + functionName: 'invest', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectHelpersAbi}__ */ -export const useReadCtzndMockSale = /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockSaleAbi, +export const useReadCtzndProjectHelpers = /*#__PURE__*/ createUseReadContract({ + abi: ctzndProjectHelpersAbi, +}) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectHelpersAbi}__ and `functionName` set to `"MUL"` + */ +export const useReadCtzndProjectHelpersMul = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndProjectHelpersAbi, + functionName: 'MUL', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ + */ +export const useReadCtzndProjectTest = /*#__PURE__*/ createUseReadContract({ + abi: ctzndProjectTestAbi, }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"allocation"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"IS_TEST"` + */ +export const useReadCtzndProjectTestIsTest = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndProjectTestAbi, + functionName: 'IS_TEST', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"excludeArtifacts"` + */ +export const useReadCtzndProjectTestExcludeArtifacts = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndProjectTestAbi, + functionName: 'excludeArtifacts', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"excludeContracts"` + */ +export const useReadCtzndProjectTestExcludeContracts = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndProjectTestAbi, + functionName: 'excludeContracts', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"excludeSenders"` + */ +export const useReadCtzndProjectTestExcludeSenders = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndProjectTestAbi, + functionName: 'excludeSenders', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"proofs"` + */ +export const useReadCtzndProjectTestProofs = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndProjectTestAbi, + functionName: 'proofs', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"targetArtifactSelectors"` + */ +export const useReadCtzndProjectTestTargetArtifactSelectors = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndProjectTestAbi, + functionName: 'targetArtifactSelectors', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"targetArtifacts"` */ -export const useReadCtzndMockSaleAllocation = +export const useReadCtzndProjectTestTargetArtifacts = /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockSaleAbi, - functionName: 'allocation', + abi: ctzndProjectTestAbi, + functionName: 'targetArtifacts', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"buy"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"targetContracts"` */ -export const useReadCtzndMockSaleBuy = /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockSaleAbi, - functionName: 'buy', -}) +export const useReadCtzndProjectTestTargetContracts = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndProjectTestAbi, + functionName: 'targetContracts', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"calls"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"targetInterfaces"` */ -export const useReadCtzndMockSaleCalls = /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockSaleAbi, - functionName: 'calls', -}) +export const useReadCtzndProjectTestTargetInterfaces = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndProjectTestAbi, + functionName: 'targetInterfaces', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"paymentToken"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"targetSelectors"` */ -export const useReadCtzndMockSalePaymentToken = +export const useReadCtzndProjectTestTargetSelectors = /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockSaleAbi, - functionName: 'paymentToken', + abi: ctzndProjectTestAbi, + functionName: 'targetSelectors', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"paymentTokenToToken"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"targetSenders"` */ -export const useReadCtzndMockSalePaymentTokenToToken = +export const useReadCtzndProjectTestTargetSenders = /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockSaleAbi, - functionName: 'paymentTokenToToken', + abi: ctzndProjectTestAbi, + functionName: 'targetSenders', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"refundAmount"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ */ -export const useReadCtzndMockSaleRefundAmount = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockSaleAbi, - functionName: 'refundAmount', +export const useWriteCtzndProjectTest = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndProjectTestAbi, +}) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"failed"` + */ +export const useWriteCtzndProjectTestFailed = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndProjectTestAbi, + functionName: 'failed', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"setIndividualCap"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"setUp"` */ -export const useReadCtzndMockSaleSetIndividualCap = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockSaleAbi, - functionName: 'setIndividualCap', +export const useWriteCtzndProjectTestSetUp = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndProjectTestAbi, + functionName: 'setUp', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"supportsInterface"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"testInvest"` */ -export const useReadCtzndMockSaleSupportsInterface = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockSaleAbi, - functionName: 'supportsInterface', +export const useWriteCtzndProjectTestTestInvest = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndProjectTestAbi, + functionName: 'testInvest', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"test_Called"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"testInvestShouldRevertWithInvalidProof"` */ -export const useReadCtzndMockSaleTestCalled = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockSaleAbi, - functionName: 'test_Called', +export const useWriteCtzndProjectTestTestInvestShouldRevertWithInvalidProof = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndProjectTestAbi, + functionName: 'testInvestShouldRevertWithInvalidProof', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"token"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ */ -export const useReadCtzndMockSaleToken = /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockSaleAbi, - functionName: 'token', -}) +export const useSimulateCtzndProjectTest = + /*#__PURE__*/ createUseSimulateContract({ abi: ctzndProjectTestAbi }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"tokenToPaymentToken"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"failed"` */ -export const useReadCtzndMockSaleTokenToPaymentToken = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockSaleAbi, - functionName: 'tokenToPaymentToken', +export const useSimulateCtzndProjectTestFailed = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndProjectTestAbi, + functionName: 'failed', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"uncappedAllocation"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"setUp"` */ -export const useReadCtzndMockSaleUncappedAllocation = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndMockSaleAbi, - functionName: 'uncappedAllocation', +export const useSimulateCtzndProjectTestSetUp = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndProjectTestAbi, + functionName: 'setUp', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"withdraw"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"testInvest"` */ -export const useReadCtzndMockSaleWithdraw = /*#__PURE__*/ createUseReadContract( - { abi: ctzndMockSaleAbi, functionName: 'withdraw' }, -) +export const useSimulateCtzndProjectTestTestInvest = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndProjectTestAbi, + functionName: 'testInvest', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"testInvestShouldRevertWithInvalidProof"` */ -export const useWriteCtzndMockSale = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndMockSaleAbi, -}) +export const useSimulateCtzndProjectTestTestInvestShouldRevertWithInvalidProof = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndProjectTestAbi, + functionName: 'testInvestShouldRevertWithInvalidProof', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"refund"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ */ -export const useWriteCtzndMockSaleRefund = /*#__PURE__*/ createUseWriteContract( - { abi: ctzndMockSaleAbi, functionName: 'refund' }, -) +export const useWatchCtzndProjectTestEvent = + /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndProjectTestAbi }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"test_addAllocation"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log"` */ -export const useWriteCtzndMockSaleTestAddAllocation = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndMockSaleAbi, - functionName: 'test_addAllocation', +export const useWatchCtzndProjectTestLogEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndProjectTestAbi, + eventName: 'log', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"test_addRefund"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_address"` */ -export const useWriteCtzndMockSaleTestAddRefund = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndMockSaleAbi, - functionName: 'test_addRefund', +export const useWatchCtzndProjectTestLogAddressEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndProjectTestAbi, + eventName: 'log_address', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_array"` */ -export const useSimulateCtzndMockSale = /*#__PURE__*/ createUseSimulateContract( - { abi: ctzndMockSaleAbi }, -) +export const useWatchCtzndProjectTestLogArrayEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndProjectTestAbi, + eventName: 'log_array', + }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"refund"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_bytes"` */ -export const useSimulateCtzndMockSaleRefund = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndMockSaleAbi, - functionName: 'refund', +export const useWatchCtzndProjectTestLogBytesEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndProjectTestAbi, + eventName: 'log_bytes', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"test_addAllocation"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_bytes32"` */ -export const useSimulateCtzndMockSaleTestAddAllocation = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndMockSaleAbi, - functionName: 'test_addAllocation', +export const useWatchCtzndProjectTestLogBytes32Event = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndProjectTestAbi, + eventName: 'log_bytes32', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndMockSaleAbi}__ and `functionName` set to `"test_addRefund"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_int"` */ -export const useSimulateCtzndMockSaleTestAddRefund = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndMockSaleAbi, - functionName: 'test_addRefund', +export const useWatchCtzndProjectTestLogIntEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndProjectTestAbi, + eventName: 'log_int', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndOverMaxTargetDevDeployScriptAbi}__ + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_named_address"` */ -export const useReadCtzndOverMaxTargetDevDeployScript = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndOverMaxTargetDevDeployScriptAbi, +export const useWatchCtzndProjectTestLogNamedAddressEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndProjectTestAbi, + eventName: 'log_named_address', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndOverMaxTargetDevDeployScriptAbi}__ and `functionName` set to `"IS_SCRIPT"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_named_array"` */ -export const useReadCtzndOverMaxTargetDevDeployScriptIsScript = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndOverMaxTargetDevDeployScriptAbi, - functionName: 'IS_SCRIPT', +export const useWatchCtzndProjectTestLogNamedArrayEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndProjectTestAbi, + eventName: 'log_named_array', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndOverMaxTargetDevDeployScriptAbi}__ + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_named_bytes"` */ -export const useWriteCtzndOverMaxTargetDevDeployScript = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndOverMaxTargetDevDeployScriptAbi, +export const useWatchCtzndProjectTestLogNamedBytesEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndProjectTestAbi, + eventName: 'log_named_bytes', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndOverMaxTargetDevDeployScriptAbi}__ and `functionName` set to `"run"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_named_bytes32"` */ -export const useWriteCtzndOverMaxTargetDevDeployScriptRun = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndOverMaxTargetDevDeployScriptAbi, - functionName: 'run', +export const useWatchCtzndProjectTestLogNamedBytes32Event = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndProjectTestAbi, + eventName: 'log_named_bytes32', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndOverMaxTargetDevDeployScriptAbi}__ and `functionName` set to `"setUp"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_named_decimal_int"` */ -export const useWriteCtzndOverMaxTargetDevDeployScriptSetUp = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndOverMaxTargetDevDeployScriptAbi, - functionName: 'setUp', +export const useWatchCtzndProjectTestLogNamedDecimalIntEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndProjectTestAbi, + eventName: 'log_named_decimal_int', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndOverMaxTargetDevDeployScriptAbi}__ + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_named_decimal_uint"` */ -export const useSimulateCtzndOverMaxTargetDevDeployScript = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndOverMaxTargetDevDeployScriptAbi, +export const useWatchCtzndProjectTestLogNamedDecimalUintEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndProjectTestAbi, + eventName: 'log_named_decimal_uint', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndOverMaxTargetDevDeployScriptAbi}__ and `functionName` set to `"run"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_named_int"` */ -export const useSimulateCtzndOverMaxTargetDevDeployScriptRun = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndOverMaxTargetDevDeployScriptAbi, - functionName: 'run', +export const useWatchCtzndProjectTestLogNamedIntEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndProjectTestAbi, + eventName: 'log_named_int', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndOverMaxTargetDevDeployScriptAbi}__ and `functionName` set to `"setUp"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_named_string"` */ -export const useSimulateCtzndOverMaxTargetDevDeployScriptSetUp = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndOverMaxTargetDevDeployScriptAbi, - functionName: 'setUp', +export const useWatchCtzndProjectTestLogNamedStringEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndProjectTestAbi, + eventName: 'log_named_string', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPausableAbi}__ - */ -export const useReadCtzndPausable = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPausableAbi, -}) - -/** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPausableAbi}__ and `functionName` set to `"paused"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_named_uint"` */ -export const useReadCtzndPausablePaused = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPausableAbi, - functionName: 'paused', -}) +export const useWatchCtzndProjectTestLogNamedUintEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndProjectTestAbi, + eventName: 'log_named_uint', + }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndPausableAbi}__ + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_string"` */ -export const useWatchCtzndPausableEvent = - /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndPausableAbi }) +export const useWatchCtzndProjectTestLogStringEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndProjectTestAbi, + eventName: 'log_string', + }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndPausableAbi}__ and `eventName` set to `"Paused"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_uint"` */ -export const useWatchCtzndPausablePausedEvent = +export const useWatchCtzndProjectTestLogUintEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndPausableAbi, - eventName: 'Paused', + abi: ctzndProjectTestAbi, + eventName: 'log_uint', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndPausableAbi}__ and `eventName` set to `"Unpaused"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"logs"` */ -export const useWatchCtzndPausableUnpausedEvent = +export const useWatchCtzndProjectTestLogsEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndPausableAbi, - eventName: 'Unpaused', + abi: ctzndProjectTestAbi, + eventName: 'logs', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ */ -export const useReadCtzndPeoplesPool = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPeoplesPoolAbi, +export const useReadCtzndProjectVoting = /*#__PURE__*/ createUseReadContract({ + abi: ctzndProjectVotingAbi, }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"CAP_VALIDATION_GAS_LIMIT"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ and `functionName` set to `"projectToVotesIndex"` */ -export const useReadCtzndPeoplesPoolCapValidationGasLimit = +export const useReadCtzndProjectVotingProjectToVotesIndex = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPeoplesPoolAbi, - functionName: 'CAP_VALIDATION_GAS_LIMIT', + abi: ctzndProjectVotingAbi, + functionName: 'projectToVotesIndex', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"allocation"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ and `functionName` set to `"projectVoteCount"` */ -export const useReadCtzndPeoplesPoolAllocation = +export const useReadCtzndProjectVotingProjectVoteCount = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPeoplesPoolAbi, - functionName: 'allocation', + abi: ctzndProjectVotingAbi, + functionName: 'projectVoteCount', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"individualCap"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ and `functionName` set to `"projectVoting_finalBonus"` */ -export const useReadCtzndPeoplesPoolIndividualCap = +export const useReadCtzndProjectVotingProjectVotingFinalBonus = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPeoplesPoolAbi, - functionName: 'individualCap', + abi: ctzndProjectVotingAbi, + functionName: 'projectVoting_finalBonus', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"investmentToken"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ and `functionName` set to `"projectVoting_initialBonus"` */ -export const useReadCtzndPeoplesPoolInvestmentToken = +export const useReadCtzndProjectVotingProjectVotingInitialBonus = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPeoplesPoolAbi, - functionName: 'investmentToken', + abi: ctzndProjectVotingAbi, + functionName: 'projectVoting_initialBonus', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"investorAmountAt"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ and `functionName` set to `"projectVoting_projects"` */ -export const useReadCtzndPeoplesPoolInvestorAmountAt = +export const useReadCtzndProjectVotingProjectVotingProjects = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPeoplesPoolAbi, - functionName: 'investorAmountAt', + abi: ctzndProjectVotingAbi, + functionName: 'projectVoting_projects', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"investorCount"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ and `functionName` set to `"projectVoting_singleSlotDuration"` */ -export const useReadCtzndPeoplesPoolInvestorCount = +export const useReadCtzndProjectVotingProjectVotingSingleSlotDuration = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPeoplesPoolAbi, - functionName: 'investorCount', + abi: ctzndProjectVotingAbi, + functionName: 'projectVoting_singleSlotDuration', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"project"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ and `functionName` set to `"projectVoting_voteLimitPerUser"` */ -export const useReadCtzndPeoplesPoolProject = +export const useReadCtzndProjectVotingProjectVotingVoteLimitPerUser = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPeoplesPoolAbi, - functionName: 'project', + abi: ctzndProjectVotingAbi, + functionName: 'projectVoting_voteLimitPerUser', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"refundableAmount"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ and `functionName` set to `"projectVoting_votingPeriod"` */ -export const useReadCtzndPeoplesPoolRefundableAmount = +export const useReadCtzndProjectVotingProjectVotingVotingPeriod = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPeoplesPoolAbi, - functionName: 'refundableAmount', + abi: ctzndProjectVotingAbi, + functionName: 'projectVoting_votingPeriod', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"risingTideCache"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ and `functionName` set to `"userHasVotedForProject"` */ -export const useReadCtzndPeoplesPoolRisingTideCache = +export const useReadCtzndProjectVotingUserHasVotedForProject = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPeoplesPoolAbi, - functionName: 'risingTideCache', + abi: ctzndProjectVotingAbi, + functionName: 'userHasVotedForProject', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"risingTideState"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ and `functionName` set to `"userVoteCount"` */ -export const useReadCtzndPeoplesPoolRisingTideState = +export const useReadCtzndProjectVotingUserVoteCount = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPeoplesPoolAbi, - functionName: 'risingTideState', + abi: ctzndProjectVotingAbi, + functionName: 'userVoteCount', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"risingTide_applyCap"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ and `functionName` set to `"votes"` */ -export const useReadCtzndPeoplesPoolRisingTideApplyCap = +export const useReadCtzndProjectVotingVotes = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPeoplesPoolAbi, - functionName: 'risingTide_applyCap', + abi: ctzndProjectVotingAbi, + functionName: 'votes', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"risingTide_isValidCap"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ and `functionName` set to `"votesIndexToProject"` */ -export const useReadCtzndPeoplesPoolRisingTideIsValidCap = +export const useReadCtzndProjectVotingVotesIndexToProject = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPeoplesPoolAbi, - functionName: 'risingTide_isValidCap', + abi: ctzndProjectVotingAbi, + functionName: 'votesIndexToProject', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"risingTide_totalAllocatedUncapped"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ and `functionName` set to `"weightedProjectVoteCount"` */ -export const useReadCtzndPeoplesPoolRisingTideTotalAllocatedUncapped = +export const useReadCtzndProjectVotingWeightedProjectVoteCount = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPeoplesPoolAbi, - functionName: 'risingTide_totalAllocatedUncapped', + abi: ctzndProjectVotingAbi, + functionName: 'weightedProjectVoteCount', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"risingTide_totalCap"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ */ -export const useReadCtzndPeoplesPoolRisingTideTotalCap = +export const useReadCtzndRisingTide = /*#__PURE__*/ createUseReadContract({ + abi: ctzndRisingTideAbi, +}) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ and `functionName` set to `"CAP_VALIDATION_GAS_LIMIT"` + */ +export const useReadCtzndRisingTideCapValidationGasLimit = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPeoplesPoolAbi, - functionName: 'risingTide_totalCap', + abi: ctzndRisingTideAbi, + functionName: 'CAP_VALIDATION_GAS_LIMIT', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"risingTide_validating"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ and `functionName` set to `"individualCap"` */ -export const useReadCtzndPeoplesPoolRisingTideValidating = +export const useReadCtzndRisingTideIndividualCap = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPeoplesPoolAbi, - functionName: 'risingTide_validating', + abi: ctzndRisingTideAbi, + functionName: 'individualCap', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"saleSupply"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ and `functionName` set to `"investorAmountAt"` */ -export const useReadCtzndPeoplesPoolSaleSupply = +export const useReadCtzndRisingTideInvestorAmountAt = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPeoplesPoolAbi, - functionName: 'saleSupply', + abi: ctzndRisingTideAbi, + functionName: 'investorAmountAt', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"totalUncappedAllocations"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ and `functionName` set to `"investorCount"` */ -export const useReadCtzndPeoplesPoolTotalUncappedAllocations = +export const useReadCtzndRisingTideInvestorCount = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPeoplesPoolAbi, - functionName: 'totalUncappedAllocations', + abi: ctzndRisingTideAbi, + functionName: 'investorCount', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"uncappedAllocation"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ and `functionName` set to `"risingTideCache"` */ -export const useReadCtzndPeoplesPoolUncappedAllocation = +export const useReadCtzndRisingTideRisingTideCache = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPeoplesPoolAbi, - functionName: 'uncappedAllocation', + abi: ctzndRisingTideAbi, + functionName: 'risingTideCache', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ and `functionName` set to `"risingTideState"` */ -export const useWriteCtzndPeoplesPool = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndPeoplesPoolAbi, -}) +export const useReadCtzndRisingTideRisingTideState = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndRisingTideAbi, + functionName: 'risingTideState', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"invest"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ and `functionName` set to `"risingTide_applyCap"` */ -export const useWriteCtzndPeoplesPoolInvest = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndPeoplesPoolAbi, - functionName: 'invest', +export const useReadCtzndRisingTideRisingTideApplyCap = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndRisingTideAbi, + functionName: 'risingTide_applyCap', + }) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ and `functionName` set to `"risingTide_isValidCap"` + */ +export const useReadCtzndRisingTideRisingTideIsValidCap = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndRisingTideAbi, + functionName: 'risingTide_isValidCap', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"refund"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ and `functionName` set to `"risingTide_totalAllocatedUncapped"` */ -export const useWriteCtzndPeoplesPoolRefund = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndPeoplesPoolAbi, - functionName: 'refund', +export const useReadCtzndRisingTideRisingTideTotalAllocatedUncapped = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndRisingTideAbi, + functionName: 'risingTide_totalAllocatedUncapped', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"risingTide_validate"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ and `functionName` set to `"risingTide_totalCap"` */ -export const useWriteCtzndPeoplesPoolRisingTideValidate = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndPeoplesPoolAbi, - functionName: 'risingTide_validate', +export const useReadCtzndRisingTideRisingTideTotalCap = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndRisingTideAbi, + functionName: 'risingTide_totalCap', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"setIndividualCap"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ and `functionName` set to `"risingTide_validating"` */ -export const useWriteCtzndPeoplesPoolSetIndividualCap = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndPeoplesPoolAbi, - functionName: 'setIndividualCap', +export const useReadCtzndRisingTideRisingTideValidating = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndRisingTideAbi, + functionName: 'risingTide_validating', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ */ -export const useSimulateCtzndPeoplesPool = - /*#__PURE__*/ createUseSimulateContract({ abi: ctzndPeoplesPoolAbi }) +export const useWriteCtzndRisingTide = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndRisingTideAbi, +}) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"invest"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ and `functionName` set to `"risingTide_validate"` */ -export const useSimulateCtzndPeoplesPoolInvest = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndPeoplesPoolAbi, - functionName: 'invest', +export const useWriteCtzndRisingTideRisingTideValidate = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndRisingTideAbi, + functionName: 'risingTide_validate', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"refund"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ */ -export const useSimulateCtzndPeoplesPoolRefund = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndPeoplesPoolAbi, - functionName: 'refund', - }) +export const useSimulateCtzndRisingTide = + /*#__PURE__*/ createUseSimulateContract({ abi: ctzndRisingTideAbi }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"risingTide_validate"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ and `functionName` set to `"risingTide_validate"` */ -export const useSimulateCtzndPeoplesPoolRisingTideValidate = +export const useSimulateCtzndRisingTideRisingTideValidate = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndPeoplesPoolAbi, + abi: ctzndRisingTideAbi, functionName: 'risingTide_validate', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `functionName` set to `"setIndividualCap"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ */ -export const useSimulateCtzndPeoplesPoolSetIndividualCap = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndPeoplesPoolAbi, - functionName: 'setIndividualCap', - }) +export const useReadCtzndRisingTideTest = /*#__PURE__*/ createUseReadContract({ + abi: ctzndRisingTideTestAbi, +}) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"IS_TEST"` */ -export const useWatchCtzndPeoplesPoolEvent = - /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndPeoplesPoolAbi }) +export const useReadCtzndRisingTideTestIsTest = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndRisingTideTestAbi, + functionName: 'IS_TEST', + }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndPeoplesPoolAbi}__ and `eventName` set to `"Refund"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"excludeArtifacts"` */ -export const useWatchCtzndPeoplesPoolRefundEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndPeoplesPoolAbi, - eventName: 'Refund', +export const useReadCtzndRisingTideTestExcludeArtifacts = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndRisingTideTestAbi, + functionName: 'excludeArtifacts', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"excludeContracts"` */ -export const useReadCtzndPool = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPoolAbi, -}) +export const useReadCtzndRisingTideTestExcludeContracts = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndRisingTideTestAbi, + functionName: 'excludeContracts', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"CAP_VALIDATION_GAS_LIMIT"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"excludeSenders"` */ -export const useReadCtzndPoolCapValidationGasLimit = +export const useReadCtzndRisingTideTestExcludeSenders = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPoolAbi, - functionName: 'CAP_VALIDATION_GAS_LIMIT', + abi: ctzndRisingTideTestAbi, + functionName: 'excludeSenders', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"allocation"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"targetArtifactSelectors"` */ -export const useReadCtzndPoolAllocation = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPoolAbi, - functionName: 'allocation', -}) +export const useReadCtzndRisingTideTestTargetArtifactSelectors = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndRisingTideTestAbi, + functionName: 'targetArtifactSelectors', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"individualCap"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"targetArtifacts"` */ -export const useReadCtzndPoolIndividualCap = +export const useReadCtzndRisingTideTestTargetArtifacts = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPoolAbi, - functionName: 'individualCap', + abi: ctzndRisingTideTestAbi, + functionName: 'targetArtifacts', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"investmentToken"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"targetContracts"` */ -export const useReadCtzndPoolInvestmentToken = +export const useReadCtzndRisingTideTestTargetContracts = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPoolAbi, - functionName: 'investmentToken', + abi: ctzndRisingTideTestAbi, + functionName: 'targetContracts', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"investorAmountAt"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"targetInterfaces"` */ -export const useReadCtzndPoolInvestorAmountAt = +export const useReadCtzndRisingTideTestTargetInterfaces = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPoolAbi, - functionName: 'investorAmountAt', + abi: ctzndRisingTideTestAbi, + functionName: 'targetInterfaces', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"investorCount"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"targetSelectors"` */ -export const useReadCtzndPoolInvestorCount = +export const useReadCtzndRisingTideTestTargetSelectors = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPoolAbi, - functionName: 'investorCount', + abi: ctzndRisingTideTestAbi, + functionName: 'targetSelectors', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"project"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"targetSenders"` */ -export const useReadCtzndPoolProject = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPoolAbi, - functionName: 'project', -}) +export const useReadCtzndRisingTideTestTargetSenders = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndRisingTideTestAbi, + functionName: 'targetSenders', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"refundableAmount"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ */ -export const useReadCtzndPoolRefundableAmount = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndPoolAbi, - functionName: 'refundableAmount', - }) +export const useWriteCtzndRisingTideTest = /*#__PURE__*/ createUseWriteContract( + { abi: ctzndRisingTideTestAbi }, +) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"risingTideCache"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"failed"` */ -export const useReadCtzndPoolRisingTideCache = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndPoolAbi, - functionName: 'risingTideCache', +export const useWriteCtzndRisingTideTestFailed = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndRisingTideTestAbi, + functionName: 'failed', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"risingTideState"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"setUp"` */ -export const useReadCtzndPoolRisingTideState = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndPoolAbi, - functionName: 'risingTideState', +export const useWriteCtzndRisingTideTestSetUp = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndRisingTideTestAbi, + functionName: 'setUp', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"risingTide_applyCap"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"testGitbookExampleCorrectly"` */ -export const useReadCtzndPoolRisingTideApplyCap = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndPoolAbi, - functionName: 'risingTide_applyCap', +export const useWriteCtzndRisingTideTestTestGitbookExampleCorrectly = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndRisingTideTestAbi, + functionName: 'testGitbookExampleCorrectly', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"risingTide_isValidCap"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"testGitbookExampleFailsWithLargerCap"` */ -export const useReadCtzndPoolRisingTideIsValidCap = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndPoolAbi, - functionName: 'risingTide_isValidCap', +export const useWriteCtzndRisingTideTestTestGitbookExampleFailsWithLargerCap = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndRisingTideTestAbi, + functionName: 'testGitbookExampleFailsWithLargerCap', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"risingTide_totalAllocatedUncapped"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"testGitbookExampleFailsWithSmallerCap"` */ -export const useReadCtzndPoolRisingTideTotalAllocatedUncapped = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndPoolAbi, - functionName: 'risingTide_totalAllocatedUncapped', +export const useWriteCtzndRisingTideTestTestGitbookExampleFailsWithSmallerCap = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndRisingTideTestAbi, + functionName: 'testGitbookExampleFailsWithSmallerCap', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"risingTide_totalCap"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"testSmallExampleCorrectly"` */ -export const useReadCtzndPoolRisingTideTotalCap = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndPoolAbi, - functionName: 'risingTide_totalCap', +export const useWriteCtzndRisingTideTestTestSmallExampleCorrectly = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndRisingTideTestAbi, + functionName: 'testSmallExampleCorrectly', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"risingTide_validating"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"testSmallExampleFails"` */ -export const useReadCtzndPoolRisingTideValidating = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndPoolAbi, - functionName: 'risingTide_validating', +export const useWriteCtzndRisingTideTestTestSmallExampleFails = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndRisingTideTestAbi, + functionName: 'testSmallExampleFails', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"saleSupply"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ */ -export const useReadCtzndPoolSaleSupply = /*#__PURE__*/ createUseReadContract({ - abi: ctzndPoolAbi, - functionName: 'saleSupply', -}) +export const useSimulateCtzndRisingTideTest = + /*#__PURE__*/ createUseSimulateContract({ abi: ctzndRisingTideTestAbi }) + +/** + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"failed"` + */ +export const useSimulateCtzndRisingTideTestFailed = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndRisingTideTestAbi, + functionName: 'failed', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"totalUncappedAllocations"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"setUp"` */ -export const useReadCtzndPoolTotalUncappedAllocations = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndPoolAbi, - functionName: 'totalUncappedAllocations', +export const useSimulateCtzndRisingTideTestSetUp = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndRisingTideTestAbi, + functionName: 'setUp', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"uncappedAllocation"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"testGitbookExampleCorrectly"` */ -export const useReadCtzndPoolUncappedAllocation = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndPoolAbi, - functionName: 'uncappedAllocation', +export const useSimulateCtzndRisingTideTestTestGitbookExampleCorrectly = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndRisingTideTestAbi, + functionName: 'testGitbookExampleCorrectly', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndPoolAbi}__ + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"testGitbookExampleFailsWithLargerCap"` */ -export const useWriteCtzndPool = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndPoolAbi, -}) +export const useSimulateCtzndRisingTideTestTestGitbookExampleFailsWithLargerCap = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndRisingTideTestAbi, + functionName: 'testGitbookExampleFailsWithLargerCap', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"invest"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"testGitbookExampleFailsWithSmallerCap"` */ -export const useWriteCtzndPoolInvest = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndPoolAbi, - functionName: 'invest', -}) +export const useSimulateCtzndRisingTideTestTestGitbookExampleFailsWithSmallerCap = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndRisingTideTestAbi, + functionName: 'testGitbookExampleFailsWithSmallerCap', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"refund"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"testSmallExampleCorrectly"` */ -export const useWriteCtzndPoolRefund = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndPoolAbi, - functionName: 'refund', -}) +export const useSimulateCtzndRisingTideTestTestSmallExampleCorrectly = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndRisingTideTestAbi, + functionName: 'testSmallExampleCorrectly', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"risingTide_validate"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"testSmallExampleFails"` */ -export const useWriteCtzndPoolRisingTideValidate = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndPoolAbi, - functionName: 'risingTide_validate', +export const useSimulateCtzndRisingTideTestTestSmallExampleFails = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndRisingTideTestAbi, + functionName: 'testSmallExampleFails', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"setIndividualCap"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ */ -export const useWriteCtzndPoolSetIndividualCap = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndPoolAbi, - functionName: 'setIndividualCap', - }) +export const useWatchCtzndRisingTideTestEvent = + /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndRisingTideTestAbi }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndPoolAbi}__ + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log"` */ -export const useSimulateCtzndPool = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndPoolAbi, -}) +export const useWatchCtzndRisingTideTestLogEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndRisingTideTestAbi, + eventName: 'log', + }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"invest"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_address"` */ -export const useSimulateCtzndPoolInvest = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndPoolAbi, - functionName: 'invest', +export const useWatchCtzndRisingTideTestLogAddressEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndRisingTideTestAbi, + eventName: 'log_address', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"refund"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_array"` */ -export const useSimulateCtzndPoolRefund = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndPoolAbi, - functionName: 'refund', +export const useWatchCtzndRisingTideTestLogArrayEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndRisingTideTestAbi, + eventName: 'log_array', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"risingTide_validate"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_bytes"` */ -export const useSimulateCtzndPoolRisingTideValidate = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndPoolAbi, - functionName: 'risingTide_validate', +export const useWatchCtzndRisingTideTestLogBytesEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndRisingTideTestAbi, + eventName: 'log_bytes', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndPoolAbi}__ and `functionName` set to `"setIndividualCap"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_bytes32"` */ -export const useSimulateCtzndPoolSetIndividualCap = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndPoolAbi, - functionName: 'setIndividualCap', +export const useWatchCtzndRisingTideTestLogBytes32Event = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndRisingTideTestAbi, + eventName: 'log_bytes32', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndPoolAbi}__ + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_int"` */ -export const useWatchCtzndPoolEvent = /*#__PURE__*/ createUseWatchContractEvent( - { abi: ctzndPoolAbi }, -) +export const useWatchCtzndRisingTideTestLogIntEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndRisingTideTestAbi, + eventName: 'log_int', + }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndPoolAbi}__ and `eventName` set to `"Refund"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_named_address"` */ -export const useWatchCtzndPoolRefundEvent = +export const useWatchCtzndRisingTideTestLogNamedAddressEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndPoolAbi, - eventName: 'Refund', + abi: ctzndRisingTideTestAbi, + eventName: 'log_named_address', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_named_array"` */ -export const useReadCtzndProject = /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectAbi, -}) +export const useWatchCtzndRisingTideTestLogNamedArrayEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndRisingTideTestAbi, + eventName: 'log_named_array', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"MUL"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_named_bytes"` */ -export const useReadCtzndProjectMul = /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectAbi, - functionName: 'MUL', -}) +export const useWatchCtzndRisingTideTestLogNamedBytesEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndRisingTideTestAbi, + eventName: 'log_named_bytes', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"approvedByLegal"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_named_bytes32"` */ -export const useReadCtzndProjectApprovedByLegal = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectAbi, - functionName: 'approvedByLegal', +export const useWatchCtzndRisingTideTestLogNamedBytes32Event = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndRisingTideTestAbi, + eventName: 'log_named_bytes32', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"approvedByManager"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_named_decimal_int"` */ -export const useReadCtzndProjectApprovedByManager = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectAbi, - functionName: 'approvedByManager', +export const useWatchCtzndRisingTideTestLogNamedDecimalIntEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndRisingTideTestAbi, + eventName: 'log_named_decimal_int', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"controller"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_named_decimal_uint"` */ -export const useReadCtzndProjectController = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectAbi, - functionName: 'controller', +export const useWatchCtzndRisingTideTestLogNamedDecimalUintEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndRisingTideTestAbi, + eventName: 'log_named_decimal_uint', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"description"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_named_int"` */ -export const useReadCtzndProjectDescription = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectAbi, - functionName: 'description', +export const useWatchCtzndRisingTideTestLogNamedIntEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndRisingTideTestAbi, + eventName: 'log_named_int', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"hasTokens"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_named_string"` */ -export const useReadCtzndProjectHasTokens = /*#__PURE__*/ createUseReadContract( - { abi: ctzndProjectAbi, functionName: 'hasTokens' }, -) +export const useWatchCtzndRisingTideTestLogNamedStringEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndRisingTideTestAbi, + eventName: 'log_named_string', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"investmentTokenToToken"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_named_uint"` */ -export const useReadCtzndProjectInvestmentTokenToToken = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectAbi, - functionName: 'investmentTokenToToken', +export const useWatchCtzndRisingTideTestLogNamedUintEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndRisingTideTestAbi, + eventName: 'log_named_uint', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"isReadyForListing"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_string"` */ -export const useReadCtzndProjectIsReadyForListing = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectAbi, - functionName: 'isReadyForListing', +export const useWatchCtzndRisingTideTestLogStringEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndRisingTideTestAbi, + eventName: 'log_string', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"merkleRoot"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_uint"` */ -export const useReadCtzndProjectMerkleRoot = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectAbi, - functionName: 'merkleRoot', +export const useWatchCtzndRisingTideTestLogUintEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndRisingTideTestAbi, + eventName: 'log_uint', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"peoplesPool"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"logs"` */ -export const useReadCtzndProjectPeoplesPool = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectAbi, - functionName: 'peoplesPool', +export const useWatchCtzndRisingTideTestLogsEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndRisingTideTestAbi, + eventName: 'logs', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"rate"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectRate = /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectAbi, - functionName: 'rate', +export const useReadCtzndSale = /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"saleSupply"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"CAP_VALIDATION_GAS_LIMIT"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectSaleSupply = +export const useReadCtzndSaleCapValidationGasLimit = /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectAbi, - functionName: 'saleSupply', + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'CAP_VALIDATION_GAS_LIMIT', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"stakersPool"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"CAP_VALIDATOR_ROLE"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectStakersPool = +export const useReadCtzndSaleCapValidatorRole = /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectAbi, - functionName: 'stakersPool', + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'CAP_VALIDATOR_ROLE', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"supportsInterface"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"DEFAULT_ADMIN_ROLE"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectSupportsInterface = +export const useReadCtzndSaleDefaultAdminRole = /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectAbi, - functionName: 'supportsInterface', + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'DEFAULT_ADMIN_ROLE', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"token"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"allocated"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectToken = /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectAbi, - functionName: 'token', +export const useReadCtzndSaleAllocated = /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'allocated', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"tokenToInvestmentToken"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"allocation"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectTokenToInvestmentToken = +export const useReadCtzndSaleAllocation = /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'allocation', +}) + +/** + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"currentTokenPrice"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) + */ +export const useReadCtzndSaleCurrentTokenPrice = /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectAbi, - functionName: 'tokenToInvestmentToken', + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'currentTokenPrice', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndProjectAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"end"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWriteCtzndProject = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndProjectAbi, +export const useReadCtzndSaleEnd = /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'end', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"approveByLegal"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"endRegistration"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWriteCtzndProjectApproveByLegal = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndProjectAbi, - functionName: 'approveByLegal', +export const useReadCtzndSaleEndRegistration = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'endRegistration', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"approveByManager"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"getRoleAdmin"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWriteCtzndProjectApproveByManager = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndProjectAbi, - functionName: 'approveByManager', - }) +export const useReadCtzndSaleGetRoleAdmin = /*#__PURE__*/ createUseReadContract( + { + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'getRoleAdmin', + }, +) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"invest"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"hasRole"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWriteCtzndProjectInvest = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndProjectAbi, - functionName: 'invest', +export const useReadCtzndSaleHasRole = /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'hasRole', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndProjectAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"individualCap"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useSimulateCtzndProject = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndProjectAbi, -}) +export const useReadCtzndSaleIndividualCap = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'individualCap', + }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"approveByLegal"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"investorAmountAt"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useSimulateCtzndProjectApproveByLegal = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndProjectAbi, - functionName: 'approveByLegal', +export const useReadCtzndSaleInvestorAmountAt = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'investorAmountAt', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"approveByManager"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"investorCount"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useSimulateCtzndProjectApproveByManager = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndProjectAbi, - functionName: 'approveByManager', +export const useReadCtzndSaleInvestorCount = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'investorCount', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndProjectAbi}__ and `functionName` set to `"invest"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"maxContribution"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useSimulateCtzndProjectInvest = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndProjectAbi, - functionName: 'invest', +export const useReadCtzndSaleMaxContribution = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'maxContribution', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectHelpersAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"maxPrice"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectHelpers = /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectHelpersAbi, +export const useReadCtzndSaleMaxPrice = /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'maxPrice', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectHelpersAbi}__ and `functionName` set to `"MUL"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"maxTarget"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectHelpersMul = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectHelpersAbi, - functionName: 'MUL', - }) +export const useReadCtzndSaleMaxTarget = /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'maxTarget', +}) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"merkleRoot"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectTest = /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectTestAbi, +export const useReadCtzndSaleMerkleRoot = /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'merkleRoot', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"IS_TEST"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"minContribution"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectTestIsTest = +export const useReadCtzndSaleMinContribution = /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectTestAbi, - functionName: 'IS_TEST', + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'minContribution', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"excludeArtifacts"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"minPrice"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectTestExcludeArtifacts = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectTestAbi, - functionName: 'excludeArtifacts', - }) +export const useReadCtzndSaleMinPrice = /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'minPrice', +}) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"excludeContracts"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"minTarget"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectTestExcludeContracts = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectTestAbi, - functionName: 'excludeContracts', - }) +export const useReadCtzndSaleMinTarget = /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'minTarget', +}) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"excludeSenders"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"paymentToken"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectTestExcludeSenders = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectTestAbi, - functionName: 'excludeSenders', - }) +export const useReadCtzndSalePaymentToken = /*#__PURE__*/ createUseReadContract( + { + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'paymentToken', + }, +) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"proofs"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"paymentTokenToToken"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectTestProofs = +export const useReadCtzndSalePaymentTokenToToken = /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectTestAbi, - functionName: 'proofs', + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'paymentTokenToToken', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"targetArtifactSelectors"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"rate"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectTestTargetArtifactSelectors = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectTestAbi, - functionName: 'targetArtifactSelectors', - }) +export const useReadCtzndSaleRate = /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'rate', +}) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"targetArtifacts"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"refundAmount"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectTestTargetArtifacts = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectTestAbi, - functionName: 'targetArtifacts', - }) +export const useReadCtzndSaleRefundAmount = /*#__PURE__*/ createUseReadContract( + { + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'refundAmount', + }, +) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"targetContracts"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"risingTideCache"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectTestTargetContracts = +export const useReadCtzndSaleRisingTideCache = /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectTestAbi, - functionName: 'targetContracts', + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'risingTideCache', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"targetInterfaces"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"risingTideState"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectTestTargetInterfaces = +export const useReadCtzndSaleRisingTideState = /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectTestAbi, - functionName: 'targetInterfaces', + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'risingTideState', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"targetSelectors"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"risingTide_applyCap"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectTestTargetSelectors = +export const useReadCtzndSaleRisingTideApplyCap = /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectTestAbi, - functionName: 'targetSelectors', + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'risingTide_applyCap', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"targetSenders"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"risingTide_isValidCap"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectTestTargetSenders = +export const useReadCtzndSaleRisingTideIsValidCap = /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectTestAbi, - functionName: 'targetSenders', - }) - -/** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ - */ -export const useWriteCtzndProjectTest = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndProjectTestAbi, -}) - -/** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"failed"` - */ -export const useWriteCtzndProjectTestFailed = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndProjectTestAbi, - functionName: 'failed', + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'risingTide_isValidCap', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"setUp"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"risingTide_totalAllocatedUncapped"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWriteCtzndProjectTestSetUp = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndProjectTestAbi, - functionName: 'setUp', +export const useReadCtzndSaleRisingTideTotalAllocatedUncapped = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'risingTide_totalAllocatedUncapped', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"testInvest"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"risingTide_totalCap"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWriteCtzndProjectTestTestInvest = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndProjectTestAbi, - functionName: 'testInvest', +export const useReadCtzndSaleRisingTideTotalCap = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'risingTide_totalCap', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"testInvestShouldRevertWithInvalidProof"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"risingTide_validating"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWriteCtzndProjectTestTestInvestShouldRevertWithInvalidProof = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndProjectTestAbi, - functionName: 'testInvestShouldRevertWithInvalidProof', +export const useReadCtzndSaleRisingTideValidating = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'risingTide_validating', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ - */ -export const useSimulateCtzndProjectTest = - /*#__PURE__*/ createUseSimulateContract({ abi: ctzndProjectTestAbi }) - -/** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"failed"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"start"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useSimulateCtzndProjectTestFailed = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndProjectTestAbi, - functionName: 'failed', - }) +export const useReadCtzndSaleStart = /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'start', +}) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"setUp"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"startRegistration"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useSimulateCtzndProjectTestSetUp = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndProjectTestAbi, - functionName: 'setUp', +export const useReadCtzndSaleStartRegistration = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'startRegistration', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"testInvest"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"supportsInterface"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useSimulateCtzndProjectTestTestInvest = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndProjectTestAbi, - functionName: 'testInvest', +export const useReadCtzndSaleSupportsInterface = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'supportsInterface', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `functionName` set to `"testInvestShouldRevertWithInvalidProof"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"token"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useSimulateCtzndProjectTestTestInvestShouldRevertWithInvalidProof = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndProjectTestAbi, - functionName: 'testInvestShouldRevertWithInvalidProof', - }) +export const useReadCtzndSaleToken = /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'token', +}) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"tokenToPaymentToken"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWatchCtzndProjectTestEvent = - /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndProjectTestAbi }) +export const useReadCtzndSaleTokenToPaymentToken = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'tokenToPaymentToken', + }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"totalTokensForSale"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWatchCtzndProjectTestLogEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndProjectTestAbi, - eventName: 'log', +export const useReadCtzndSaleTotalTokensForSale = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'totalTokensForSale', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_address"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"totalUncappedAllocations"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWatchCtzndProjectTestLogAddressEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndProjectTestAbi, - eventName: 'log_address', +export const useReadCtzndSaleTotalUncappedAllocations = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'totalUncappedAllocations', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_array"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"uncappedAllocation"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWatchCtzndProjectTestLogArrayEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndProjectTestAbi, - eventName: 'log_array', +export const useReadCtzndSaleUncappedAllocation = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'uncappedAllocation', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_bytes"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"withdrawn"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWatchCtzndProjectTestLogBytesEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndProjectTestAbi, - eventName: 'log_bytes', - }) +export const useReadCtzndSaleWithdrawn = /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'withdrawn', +}) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_bytes32"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWatchCtzndProjectTestLogBytes32Event = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndProjectTestAbi, - eventName: 'log_bytes32', - }) +export const useWriteCtzndSale = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, +}) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_int"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"buy"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWatchCtzndProjectTestLogIntEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndProjectTestAbi, - eventName: 'log_int', - }) +export const useWriteCtzndSaleBuy = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'buy', +}) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_named_address"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"grantRole"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWatchCtzndProjectTestLogNamedAddressEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndProjectTestAbi, - eventName: 'log_named_address', - }) +export const useWriteCtzndSaleGrantRole = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'grantRole', +}) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_named_array"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"refund"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWatchCtzndProjectTestLogNamedArrayEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndProjectTestAbi, - eventName: 'log_named_array', - }) +export const useWriteCtzndSaleRefund = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'refund', +}) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_named_bytes"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"renounceRole"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWatchCtzndProjectTestLogNamedBytesEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndProjectTestAbi, - eventName: 'log_named_bytes', +export const useWriteCtzndSaleRenounceRole = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'renounceRole', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_named_bytes32"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"revokeRole"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWatchCtzndProjectTestLogNamedBytes32Event = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndProjectTestAbi, - eventName: 'log_named_bytes32', - }) +export const useWriteCtzndSaleRevokeRole = /*#__PURE__*/ createUseWriteContract( + { abi: ctzndSaleAbi, address: ctzndSaleAddress, functionName: 'revokeRole' }, +) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_named_decimal_int"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"risingTide_validate"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWatchCtzndProjectTestLogNamedDecimalIntEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndProjectTestAbi, - eventName: 'log_named_decimal_int', +export const useWriteCtzndSaleRisingTideValidate = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'risingTide_validate', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_named_decimal_uint"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setEnd"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWatchCtzndProjectTestLogNamedDecimalUintEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndProjectTestAbi, - eventName: 'log_named_decimal_uint', - }) +export const useWriteCtzndSaleSetEnd = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'setEnd', +}) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_named_int"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setEndRegistration"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWatchCtzndProjectTestLogNamedIntEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndProjectTestAbi, - eventName: 'log_named_int', +export const useWriteCtzndSaleSetEndRegistration = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'setEndRegistration', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_named_string"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setIndividualCap"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWatchCtzndProjectTestLogNamedStringEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndProjectTestAbi, - eventName: 'log_named_string', +export const useWriteCtzndSaleSetIndividualCap = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'setIndividualCap', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_named_uint"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setMaxTarget"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWatchCtzndProjectTestLogNamedUintEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndProjectTestAbi, - eventName: 'log_named_uint', +export const useWriteCtzndSaleSetMaxTarget = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'setMaxTarget', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_string"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setMerkleRoot"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWatchCtzndProjectTestLogStringEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndProjectTestAbi, - eventName: 'log_string', +export const useWriteCtzndSaleSetMerkleRoot = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'setMerkleRoot', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"log_uint"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setMinContribution"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWatchCtzndProjectTestLogUintEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndProjectTestAbi, - eventName: 'log_uint', +export const useWriteCtzndSaleSetMinContribution = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'setMinContribution', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndProjectTestAbi}__ and `eventName` set to `"logs"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setMinTarget"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWatchCtzndProjectTestLogsEvent = - /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndProjectTestAbi, - eventName: 'logs', +export const useWriteCtzndSaleSetMinTarget = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'setMinTarget', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setStart"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectVoting = /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectVotingAbi, +export const useWriteCtzndSaleSetStart = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'setStart', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ and `functionName` set to `"projectToVotesIndex"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setStartRegistration"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectVotingProjectToVotesIndex = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectVotingAbi, - functionName: 'projectToVotesIndex', +export const useWriteCtzndSaleSetStartRegistration = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'setStartRegistration', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ and `functionName` set to `"projectVoteCount"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setToken"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectVotingProjectVoteCount = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectVotingAbi, - functionName: 'projectVoteCount', - }) +export const useWriteCtzndSaleSetToken = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'setToken', +}) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ and `functionName` set to `"projectVoting_finalBonus"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"withdraw"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectVotingProjectVotingFinalBonus = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectVotingAbi, - functionName: 'projectVoting_finalBonus', - }) +export const useWriteCtzndSaleWithdraw = /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'withdraw', +}) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ and `functionName` set to `"projectVoting_initialBonus"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectVotingProjectVotingInitialBonus = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectVotingAbi, - functionName: 'projectVoting_initialBonus', - }) +export const useSimulateCtzndSale = /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, +}) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ and `functionName` set to `"projectVoting_projects"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"buy"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectVotingProjectVotingProjects = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectVotingAbi, - functionName: 'projectVoting_projects', - }) +export const useSimulateCtzndSaleBuy = /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'buy', +}) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ and `functionName` set to `"projectVoting_singleSlotDuration"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"grantRole"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectVotingProjectVotingSingleSlotDuration = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectVotingAbi, - functionName: 'projectVoting_singleSlotDuration', +export const useSimulateCtzndSaleGrantRole = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'grantRole', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ and `functionName` set to `"projectVoting_voteLimitPerUser"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"refund"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectVotingProjectVotingVoteLimitPerUser = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectVotingAbi, - functionName: 'projectVoting_voteLimitPerUser', +export const useSimulateCtzndSaleRefund = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'refund', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ and `functionName` set to `"projectVoting_votingPeriod"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"renounceRole"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectVotingProjectVotingVotingPeriod = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectVotingAbi, - functionName: 'projectVoting_votingPeriod', +export const useSimulateCtzndSaleRenounceRole = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'renounceRole', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ and `functionName` set to `"userHasVotedForProject"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"revokeRole"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectVotingUserHasVotedForProject = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectVotingAbi, - functionName: 'userHasVotedForProject', +export const useSimulateCtzndSaleRevokeRole = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'revokeRole', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ and `functionName` set to `"userVoteCount"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"risingTide_validate"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectVotingUserVoteCount = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectVotingAbi, - functionName: 'userVoteCount', +export const useSimulateCtzndSaleRisingTideValidate = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'risingTide_validate', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ and `functionName` set to `"votes"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setEnd"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectVotingVotes = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectVotingAbi, - functionName: 'votes', +export const useSimulateCtzndSaleSetEnd = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'setEnd', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ and `functionName` set to `"votesIndexToProject"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setEndRegistration"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectVotingVotesIndexToProject = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectVotingAbi, - functionName: 'votesIndexToProject', +export const useSimulateCtzndSaleSetEndRegistration = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'setEndRegistration', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndProjectVotingAbi}__ and `functionName` set to `"weightedProjectVoteCount"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setIndividualCap"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndProjectVotingWeightedProjectVoteCount = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndProjectVotingAbi, - functionName: 'weightedProjectVoteCount', +export const useSimulateCtzndSaleSetIndividualCap = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'setIndividualCap', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setMaxTarget"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndRisingTide = /*#__PURE__*/ createUseReadContract({ - abi: ctzndRisingTideAbi, -}) +export const useSimulateCtzndSaleSetMaxTarget = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'setMaxTarget', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ and `functionName` set to `"CAP_VALIDATION_GAS_LIMIT"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setMerkleRoot"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndRisingTideCapValidationGasLimit = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndRisingTideAbi, - functionName: 'CAP_VALIDATION_GAS_LIMIT', +export const useSimulateCtzndSaleSetMerkleRoot = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'setMerkleRoot', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ and `functionName` set to `"individualCap"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setMinContribution"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndRisingTideIndividualCap = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndRisingTideAbi, - functionName: 'individualCap', +export const useSimulateCtzndSaleSetMinContribution = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'setMinContribution', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ and `functionName` set to `"investorAmountAt"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setMinTarget"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndRisingTideInvestorAmountAt = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndRisingTideAbi, - functionName: 'investorAmountAt', +export const useSimulateCtzndSaleSetMinTarget = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'setMinTarget', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ and `functionName` set to `"investorCount"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setStart"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndRisingTideInvestorCount = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndRisingTideAbi, - functionName: 'investorCount', +export const useSimulateCtzndSaleSetStart = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'setStart', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ and `functionName` set to `"risingTideCache"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setStartRegistration"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndRisingTideRisingTideCache = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndRisingTideAbi, - functionName: 'risingTideCache', +export const useSimulateCtzndSaleSetStartRegistration = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'setStartRegistration', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ and `functionName` set to `"risingTideState"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setToken"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndRisingTideRisingTideState = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndRisingTideAbi, - functionName: 'risingTideState', +export const useSimulateCtzndSaleSetToken = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'setToken', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ and `functionName` set to `"risingTide_applyCap"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"withdraw"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndRisingTideRisingTideApplyCap = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndRisingTideAbi, - functionName: 'risingTide_applyCap', +export const useSimulateCtzndSaleWithdraw = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + functionName: 'withdraw', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ and `functionName` set to `"risingTide_isValidCap"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleAbi}__ + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndRisingTideRisingTideIsValidCap = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndRisingTideAbi, - functionName: 'risingTide_isValidCap', - }) +export const useWatchCtzndSaleEvent = /*#__PURE__*/ createUseWatchContractEvent( + { abi: ctzndSaleAbi, address: ctzndSaleAddress }, +) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ and `functionName` set to `"risingTide_totalAllocatedUncapped"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleAbi}__ and `eventName` set to `"Claim"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndRisingTideRisingTideTotalAllocatedUncapped = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndRisingTideAbi, - functionName: 'risingTide_totalAllocatedUncapped', +export const useWatchCtzndSaleClaimEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + eventName: 'Claim', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ and `functionName` set to `"risingTide_totalCap"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleAbi}__ and `eventName` set to `"Purchase"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndRisingTideRisingTideTotalCap = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndRisingTideAbi, - functionName: 'risingTide_totalCap', +export const useWatchCtzndSalePurchaseEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + eventName: 'Purchase', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ and `functionName` set to `"risingTide_validating"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleAbi}__ and `eventName` set to `"Refund"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useReadCtzndRisingTideRisingTideValidating = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndRisingTideAbi, - functionName: 'risingTide_validating', +export const useWatchCtzndSaleRefundEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + eventName: 'Refund', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleAbi}__ and `eventName` set to `"RoleAdminChanged"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWriteCtzndRisingTide = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndRisingTideAbi, -}) +export const useWatchCtzndSaleRoleAdminChangedEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + eventName: 'RoleAdminChanged', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ and `functionName` set to `"risingTide_validate"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleAbi}__ and `eventName` set to `"RoleGranted"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useWriteCtzndRisingTideRisingTideValidate = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndRisingTideAbi, - functionName: 'risingTide_validate', +export const useWatchCtzndSaleRoleGrantedEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + eventName: 'RoleGranted', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleAbi}__ and `eventName` set to `"RoleRevoked"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useSimulateCtzndRisingTide = - /*#__PURE__*/ createUseSimulateContract({ abi: ctzndRisingTideAbi }) +export const useWatchCtzndSaleRoleRevokedEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + eventName: 'RoleRevoked', + }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndRisingTideAbi}__ and `functionName` set to `"risingTide_validate"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleAbi}__ and `eventName` set to `"Withdraw"` + * + * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) + * - + * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7409dfa77bf9974a3e205eacb2b35bb2cff39154) */ -export const useSimulateCtzndRisingTideRisingTideValidate = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndRisingTideAbi, - functionName: 'risingTide_validate', +export const useWatchCtzndSaleWithdrawEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleAbi, + address: ctzndSaleAddress, + eventName: 'Withdraw', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ */ -export const useReadCtzndRisingTideTest = /*#__PURE__*/ createUseReadContract({ - abi: ctzndRisingTideTestAbi, -}) +export const useReadCtzndSaleMaxTargetNotReachedTest = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleMaxTargetNotReachedTestAbi, + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"IS_TEST"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `functionName` set to `"IS_TEST"` */ -export const useReadCtzndRisingTideTestIsTest = +export const useReadCtzndSaleMaxTargetNotReachedTestIsTest = /*#__PURE__*/ createUseReadContract({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, functionName: 'IS_TEST', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"excludeArtifacts"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `functionName` set to `"excludeArtifacts"` */ -export const useReadCtzndRisingTideTestExcludeArtifacts = +export const useReadCtzndSaleMaxTargetNotReachedTestExcludeArtifacts = /*#__PURE__*/ createUseReadContract({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, functionName: 'excludeArtifacts', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"excludeContracts"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `functionName` set to `"excludeContracts"` */ -export const useReadCtzndRisingTideTestExcludeContracts = +export const useReadCtzndSaleMaxTargetNotReachedTestExcludeContracts = /*#__PURE__*/ createUseReadContract({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, functionName: 'excludeContracts', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"excludeSenders"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `functionName` set to `"excludeSenders"` */ -export const useReadCtzndRisingTideTestExcludeSenders = +export const useReadCtzndSaleMaxTargetNotReachedTestExcludeSenders = /*#__PURE__*/ createUseReadContract({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, functionName: 'excludeSenders', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"targetArtifactSelectors"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `functionName` set to `"targetArtifactSelectors"` */ -export const useReadCtzndRisingTideTestTargetArtifactSelectors = +export const useReadCtzndSaleMaxTargetNotReachedTestTargetArtifactSelectors = /*#__PURE__*/ createUseReadContract({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, functionName: 'targetArtifactSelectors', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"targetArtifacts"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `functionName` set to `"targetArtifacts"` */ -export const useReadCtzndRisingTideTestTargetArtifacts = +export const useReadCtzndSaleMaxTargetNotReachedTestTargetArtifacts = /*#__PURE__*/ createUseReadContract({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, functionName: 'targetArtifacts', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"targetContracts"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `functionName` set to `"targetContracts"` */ -export const useReadCtzndRisingTideTestTargetContracts = +export const useReadCtzndSaleMaxTargetNotReachedTestTargetContracts = /*#__PURE__*/ createUseReadContract({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, functionName: 'targetContracts', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"targetInterfaces"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `functionName` set to `"targetInterfaces"` */ -export const useReadCtzndRisingTideTestTargetInterfaces = +export const useReadCtzndSaleMaxTargetNotReachedTestTargetInterfaces = /*#__PURE__*/ createUseReadContract({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, functionName: 'targetInterfaces', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"targetSelectors"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `functionName` set to `"targetSelectors"` */ -export const useReadCtzndRisingTideTestTargetSelectors = +export const useReadCtzndSaleMaxTargetNotReachedTestTargetSelectors = /*#__PURE__*/ createUseReadContract({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, functionName: 'targetSelectors', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"targetSenders"` - */ -export const useReadCtzndRisingTideTestTargetSenders = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndRisingTideTestAbi, - functionName: 'targetSenders', - }) - -/** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ - */ -export const useWriteCtzndRisingTideTest = /*#__PURE__*/ createUseWriteContract( - { abi: ctzndRisingTideTestAbi }, -) - -/** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"failed"` - */ -export const useWriteCtzndRisingTideTestFailed = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndRisingTideTestAbi, - functionName: 'failed', - }) - -/** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"setUp"` - */ -export const useWriteCtzndRisingTideTestSetUp = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndRisingTideTestAbi, - functionName: 'setUp', - }) - -/** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"testGitbookExampleCorrectly"` - */ -export const useWriteCtzndRisingTideTestTestGitbookExampleCorrectly = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndRisingTideTestAbi, - functionName: 'testGitbookExampleCorrectly', - }) - -/** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"testGitbookExampleFailsWithLargerCap"` - */ -export const useWriteCtzndRisingTideTestTestGitbookExampleFailsWithLargerCap = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndRisingTideTestAbi, - functionName: 'testGitbookExampleFailsWithLargerCap', - }) - -/** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"testGitbookExampleFailsWithSmallerCap"` + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `functionName` set to `"targetSenders"` */ -export const useWriteCtzndRisingTideTestTestGitbookExampleFailsWithSmallerCap = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndRisingTideTestAbi, - functionName: 'testGitbookExampleFailsWithSmallerCap', +export const useReadCtzndSaleMaxTargetNotReachedTestTargetSenders = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleMaxTargetNotReachedTestAbi, + functionName: 'targetSenders', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"testSmallExampleCorrectly"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ */ -export const useWriteCtzndRisingTideTestTestSmallExampleCorrectly = +export const useWriteCtzndSaleMaxTargetNotReachedTest = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndRisingTideTestAbi, - functionName: 'testSmallExampleCorrectly', + abi: ctzndSaleMaxTargetNotReachedTestAbi, }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"testSmallExampleFails"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `functionName` set to `"failed"` */ -export const useWriteCtzndRisingTideTestTestSmallExampleFails = +export const useWriteCtzndSaleMaxTargetNotReachedTestFailed = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndRisingTideTestAbi, - functionName: 'testSmallExampleFails', + abi: ctzndSaleMaxTargetNotReachedTestAbi, + functionName: 'failed', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `functionName` set to `"setUp"` */ -export const useSimulateCtzndRisingTideTest = - /*#__PURE__*/ createUseSimulateContract({ abi: ctzndRisingTideTestAbi }) +export const useWriteCtzndSaleMaxTargetNotReachedTestSetUp = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleMaxTargetNotReachedTestAbi, + functionName: 'setUp', + }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"failed"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `functionName` set to `"test_AllocationAfterMaxTargetReached"` */ -export const useSimulateCtzndRisingTideTestFailed = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndRisingTideTestAbi, - functionName: 'failed', +export const useWriteCtzndSaleMaxTargetNotReachedTestTestAllocationAfterMaxTargetReached = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleMaxTargetNotReachedTestAbi, + functionName: 'test_AllocationAfterMaxTargetReached', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"setUp"` + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `functionName` set to `"test_BuyRevertsWhenMaxTargetReached"` */ -export const useSimulateCtzndRisingTideTestSetUp = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndRisingTideTestAbi, - functionName: 'setUp', +export const useWriteCtzndSaleMaxTargetNotReachedTestTestBuyRevertsWhenMaxTargetReached = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleMaxTargetNotReachedTestAbi, + functionName: 'test_BuyRevertsWhenMaxTargetReached', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"testGitbookExampleCorrectly"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ */ -export const useSimulateCtzndRisingTideTestTestGitbookExampleCorrectly = +export const useSimulateCtzndSaleMaxTargetNotReachedTest = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndRisingTideTestAbi, - functionName: 'testGitbookExampleCorrectly', + abi: ctzndSaleMaxTargetNotReachedTestAbi, }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"testGitbookExampleFailsWithLargerCap"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `functionName` set to `"failed"` */ -export const useSimulateCtzndRisingTideTestTestGitbookExampleFailsWithLargerCap = +export const useSimulateCtzndSaleMaxTargetNotReachedTestFailed = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndRisingTideTestAbi, - functionName: 'testGitbookExampleFailsWithLargerCap', + abi: ctzndSaleMaxTargetNotReachedTestAbi, + functionName: 'failed', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"testGitbookExampleFailsWithSmallerCap"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `functionName` set to `"setUp"` */ -export const useSimulateCtzndRisingTideTestTestGitbookExampleFailsWithSmallerCap = +export const useSimulateCtzndSaleMaxTargetNotReachedTestSetUp = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndRisingTideTestAbi, - functionName: 'testGitbookExampleFailsWithSmallerCap', + abi: ctzndSaleMaxTargetNotReachedTestAbi, + functionName: 'setUp', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"testSmallExampleCorrectly"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `functionName` set to `"test_AllocationAfterMaxTargetReached"` */ -export const useSimulateCtzndRisingTideTestTestSmallExampleCorrectly = +export const useSimulateCtzndSaleMaxTargetNotReachedTestTestAllocationAfterMaxTargetReached = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndRisingTideTestAbi, - functionName: 'testSmallExampleCorrectly', + abi: ctzndSaleMaxTargetNotReachedTestAbi, + functionName: 'test_AllocationAfterMaxTargetReached', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `functionName` set to `"testSmallExampleFails"` + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `functionName` set to `"test_BuyRevertsWhenMaxTargetReached"` */ -export const useSimulateCtzndRisingTideTestTestSmallExampleFails = +export const useSimulateCtzndSaleMaxTargetNotReachedTestTestBuyRevertsWhenMaxTargetReached = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndRisingTideTestAbi, - functionName: 'testSmallExampleFails', + abi: ctzndSaleMaxTargetNotReachedTestAbi, + functionName: 'test_BuyRevertsWhenMaxTargetReached', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ */ -export const useWatchCtzndRisingTideTestEvent = - /*#__PURE__*/ createUseWatchContractEvent({ abi: ctzndRisingTideTestAbi }) +export const useWatchCtzndSaleMaxTargetNotReachedTestEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMaxTargetNotReachedTestAbi, + }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `eventName` set to `"log"` */ -export const useWatchCtzndRisingTideTestLogEvent = +export const useWatchCtzndSaleMaxTargetNotReachedTestLogEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, eventName: 'log', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_address"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `eventName` set to `"log_address"` */ -export const useWatchCtzndRisingTideTestLogAddressEvent = +export const useWatchCtzndSaleMaxTargetNotReachedTestLogAddressEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, eventName: 'log_address', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_array"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `eventName` set to `"log_array"` */ -export const useWatchCtzndRisingTideTestLogArrayEvent = +export const useWatchCtzndSaleMaxTargetNotReachedTestLogArrayEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, eventName: 'log_array', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_bytes"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `eventName` set to `"log_bytes"` */ -export const useWatchCtzndRisingTideTestLogBytesEvent = +export const useWatchCtzndSaleMaxTargetNotReachedTestLogBytesEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, eventName: 'log_bytes', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_bytes32"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `eventName` set to `"log_bytes32"` */ -export const useWatchCtzndRisingTideTestLogBytes32Event = +export const useWatchCtzndSaleMaxTargetNotReachedTestLogBytes32Event = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, eventName: 'log_bytes32', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_int"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `eventName` set to `"log_int"` */ -export const useWatchCtzndRisingTideTestLogIntEvent = +export const useWatchCtzndSaleMaxTargetNotReachedTestLogIntEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, eventName: 'log_int', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_named_address"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `eventName` set to `"log_named_address"` */ -export const useWatchCtzndRisingTideTestLogNamedAddressEvent = +export const useWatchCtzndSaleMaxTargetNotReachedTestLogNamedAddressEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, eventName: 'log_named_address', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_named_array"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `eventName` set to `"log_named_array"` */ -export const useWatchCtzndRisingTideTestLogNamedArrayEvent = +export const useWatchCtzndSaleMaxTargetNotReachedTestLogNamedArrayEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, eventName: 'log_named_array', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_named_bytes"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `eventName` set to `"log_named_bytes"` */ -export const useWatchCtzndRisingTideTestLogNamedBytesEvent = +export const useWatchCtzndSaleMaxTargetNotReachedTestLogNamedBytesEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, eventName: 'log_named_bytes', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_named_bytes32"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `eventName` set to `"log_named_bytes32"` */ -export const useWatchCtzndRisingTideTestLogNamedBytes32Event = +export const useWatchCtzndSaleMaxTargetNotReachedTestLogNamedBytes32Event = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, eventName: 'log_named_bytes32', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_named_decimal_int"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `eventName` set to `"log_named_decimal_int"` */ -export const useWatchCtzndRisingTideTestLogNamedDecimalIntEvent = +export const useWatchCtzndSaleMaxTargetNotReachedTestLogNamedDecimalIntEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, eventName: 'log_named_decimal_int', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_named_decimal_uint"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `eventName` set to `"log_named_decimal_uint"` */ -export const useWatchCtzndRisingTideTestLogNamedDecimalUintEvent = +export const useWatchCtzndSaleMaxTargetNotReachedTestLogNamedDecimalUintEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, eventName: 'log_named_decimal_uint', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_named_int"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `eventName` set to `"log_named_int"` */ -export const useWatchCtzndRisingTideTestLogNamedIntEvent = +export const useWatchCtzndSaleMaxTargetNotReachedTestLogNamedIntEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, eventName: 'log_named_int', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_named_string"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `eventName` set to `"log_named_string"` */ -export const useWatchCtzndRisingTideTestLogNamedStringEvent = +export const useWatchCtzndSaleMaxTargetNotReachedTestLogNamedStringEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, eventName: 'log_named_string', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_named_uint"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `eventName` set to `"log_named_uint"` */ -export const useWatchCtzndRisingTideTestLogNamedUintEvent = +export const useWatchCtzndSaleMaxTargetNotReachedTestLogNamedUintEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, eventName: 'log_named_uint', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_string"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `eventName` set to `"log_string"` */ -export const useWatchCtzndRisingTideTestLogStringEvent = +export const useWatchCtzndSaleMaxTargetNotReachedTestLogStringEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, eventName: 'log_string', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"log_uint"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `eventName` set to `"log_uint"` */ -export const useWatchCtzndRisingTideTestLogUintEvent = +export const useWatchCtzndSaleMaxTargetNotReachedTestLogUintEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, eventName: 'log_uint', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndRisingTideTestAbi}__ and `eventName` set to `"logs"` + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetNotReachedTestAbi}__ and `eventName` set to `"logs"` */ -export const useWatchCtzndRisingTideTestLogsEvent = +export const useWatchCtzndSaleMaxTargetNotReachedTestLogsEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndRisingTideTestAbi, + abi: ctzndSaleMaxTargetNotReachedTestAbi, eventName: 'logs', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ */ -export const useReadCtzndSale = /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, -}) +export const useReadCtzndSaleMaxTargetReachedTest = + /*#__PURE__*/ createUseReadContract({ abi: ctzndSaleMaxTargetReachedTestAbi }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"CAP_VALIDATION_GAS_LIMIT"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `functionName` set to `"IS_TEST"` */ -export const useReadCtzndSaleCapValidationGasLimit = +export const useReadCtzndSaleMaxTargetReachedTestIsTest = /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'CAP_VALIDATION_GAS_LIMIT', + abi: ctzndSaleMaxTargetReachedTestAbi, + functionName: 'IS_TEST', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"CAP_VALIDATOR_ROLE"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `functionName` set to `"excludeArtifacts"` */ -export const useReadCtzndSaleCapValidatorRole = +export const useReadCtzndSaleMaxTargetReachedTestExcludeArtifacts = /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'CAP_VALIDATOR_ROLE', + abi: ctzndSaleMaxTargetReachedTestAbi, + functionName: 'excludeArtifacts', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"DEFAULT_ADMIN_ROLE"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `functionName` set to `"excludeContracts"` */ -export const useReadCtzndSaleDefaultAdminRole = +export const useReadCtzndSaleMaxTargetReachedTestExcludeContracts = /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'DEFAULT_ADMIN_ROLE', + abi: ctzndSaleMaxTargetReachedTestAbi, + functionName: 'excludeContracts', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"allocated"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) - */ -export const useReadCtzndSaleAllocated = /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'allocated', -}) - -/** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"allocation"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `functionName` set to `"excludeSenders"` */ -export const useReadCtzndSaleAllocation = /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'allocation', -}) +export const useReadCtzndSaleMaxTargetReachedTestExcludeSenders = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleMaxTargetReachedTestAbi, + functionName: 'excludeSenders', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"currentTokenPrice"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `functionName` set to `"targetArtifactSelectors"` */ -export const useReadCtzndSaleCurrentTokenPrice = +export const useReadCtzndSaleMaxTargetReachedTestTargetArtifactSelectors = /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'currentTokenPrice', + abi: ctzndSaleMaxTargetReachedTestAbi, + functionName: 'targetArtifactSelectors', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"end"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `functionName` set to `"targetArtifacts"` */ -export const useReadCtzndSaleEnd = /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'end', -}) +export const useReadCtzndSaleMaxTargetReachedTestTargetArtifacts = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleMaxTargetReachedTestAbi, + functionName: 'targetArtifacts', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"endRegistration"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `functionName` set to `"targetContracts"` */ -export const useReadCtzndSaleEndRegistration = +export const useReadCtzndSaleMaxTargetReachedTestTargetContracts = /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'endRegistration', + abi: ctzndSaleMaxTargetReachedTestAbi, + functionName: 'targetContracts', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"getRoleAdmin"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `functionName` set to `"targetInterfaces"` */ -export const useReadCtzndSaleGetRoleAdmin = /*#__PURE__*/ createUseReadContract( - { - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'getRoleAdmin', - }, -) +export const useReadCtzndSaleMaxTargetReachedTestTargetInterfaces = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleMaxTargetReachedTestAbi, + functionName: 'targetInterfaces', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"hasRole"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `functionName` set to `"targetSelectors"` */ -export const useReadCtzndSaleHasRole = /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'hasRole', -}) +export const useReadCtzndSaleMaxTargetReachedTestTargetSelectors = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleMaxTargetReachedTestAbi, + functionName: 'targetSelectors', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"individualCap"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `functionName` set to `"targetSenders"` */ -export const useReadCtzndSaleIndividualCap = +export const useReadCtzndSaleMaxTargetReachedTestTargetSenders = /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'individualCap', + abi: ctzndSaleMaxTargetReachedTestAbi, + functionName: 'targetSenders', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"investorAmountAt"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ */ -export const useReadCtzndSaleInvestorAmountAt = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'investorAmountAt', +export const useWriteCtzndSaleMaxTargetReachedTest = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleMaxTargetReachedTestAbi, }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"investorCount"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `functionName` set to `"failed"` */ -export const useReadCtzndSaleInvestorCount = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'investorCount', +export const useWriteCtzndSaleMaxTargetReachedTestFailed = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleMaxTargetReachedTestAbi, + functionName: 'failed', + }) + +/** + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `functionName` set to `"setUp"` + */ +export const useWriteCtzndSaleMaxTargetReachedTestSetUp = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleMaxTargetReachedTestAbi, + functionName: 'setUp', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"maxContribution"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `functionName` set to `"test_AllocationAfterMaxTargetReached"` */ -export const useReadCtzndSaleMaxContribution = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'maxContribution', +export const useWriteCtzndSaleMaxTargetReachedTestTestAllocationAfterMaxTargetReached = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleMaxTargetReachedTestAbi, + functionName: 'test_AllocationAfterMaxTargetReached', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"maxPrice"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `functionName` set to `"test_BuyRevertsWhenMaxTargetReached"` */ -export const useReadCtzndSaleMaxPrice = /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'maxPrice', -}) +export const useWriteCtzndSaleMaxTargetReachedTestTestBuyRevertsWhenMaxTargetReached = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleMaxTargetReachedTestAbi, + functionName: 'test_BuyRevertsWhenMaxTargetReached', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"maxTarget"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ */ -export const useReadCtzndSaleMaxTarget = /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'maxTarget', -}) +export const useSimulateCtzndSaleMaxTargetReachedTest = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndSaleMaxTargetReachedTestAbi, + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"merkleRoot"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `functionName` set to `"failed"` */ -export const useReadCtzndSaleMerkleRoot = /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'merkleRoot', -}) +export const useSimulateCtzndSaleMaxTargetReachedTestFailed = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndSaleMaxTargetReachedTestAbi, + functionName: 'failed', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"minContribution"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `functionName` set to `"setUp"` */ -export const useReadCtzndSaleMinContribution = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'minContribution', +export const useSimulateCtzndSaleMaxTargetReachedTestSetUp = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndSaleMaxTargetReachedTestAbi, + functionName: 'setUp', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"minPrice"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `functionName` set to `"test_AllocationAfterMaxTargetReached"` */ -export const useReadCtzndSaleMinPrice = /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'minPrice', -}) +export const useSimulateCtzndSaleMaxTargetReachedTestTestAllocationAfterMaxTargetReached = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndSaleMaxTargetReachedTestAbi, + functionName: 'test_AllocationAfterMaxTargetReached', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"minTarget"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `functionName` set to `"test_BuyRevertsWhenMaxTargetReached"` */ -export const useReadCtzndSaleMinTarget = /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'minTarget', -}) +export const useSimulateCtzndSaleMaxTargetReachedTestTestBuyRevertsWhenMaxTargetReached = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndSaleMaxTargetReachedTestAbi, + functionName: 'test_BuyRevertsWhenMaxTargetReached', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"paymentToken"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ */ -export const useReadCtzndSalePaymentToken = /*#__PURE__*/ createUseReadContract( - { - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'paymentToken', - }, -) +export const useWatchCtzndSaleMaxTargetReachedTestEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMaxTargetReachedTestAbi, + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"paymentTokenToToken"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `eventName` set to `"log"` */ -export const useReadCtzndSalePaymentTokenToToken = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'paymentTokenToToken', +export const useWatchCtzndSaleMaxTargetReachedTestLogEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMaxTargetReachedTestAbi, + eventName: 'log', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"rate"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `eventName` set to `"log_address"` */ -export const useReadCtzndSaleRate = /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'rate', -}) +export const useWatchCtzndSaleMaxTargetReachedTestLogAddressEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMaxTargetReachedTestAbi, + eventName: 'log_address', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"refundAmount"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `eventName` set to `"log_array"` */ -export const useReadCtzndSaleRefundAmount = /*#__PURE__*/ createUseReadContract( - { - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'refundAmount', - }, -) +export const useWatchCtzndSaleMaxTargetReachedTestLogArrayEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMaxTargetReachedTestAbi, + eventName: 'log_array', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"risingTideCache"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `eventName` set to `"log_bytes"` */ -export const useReadCtzndSaleRisingTideCache = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'risingTideCache', +export const useWatchCtzndSaleMaxTargetReachedTestLogBytesEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMaxTargetReachedTestAbi, + eventName: 'log_bytes', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"risingTideState"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `eventName` set to `"log_bytes32"` */ -export const useReadCtzndSaleRisingTideState = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'risingTideState', +export const useWatchCtzndSaleMaxTargetReachedTestLogBytes32Event = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMaxTargetReachedTestAbi, + eventName: 'log_bytes32', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"risingTide_applyCap"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `eventName` set to `"log_int"` */ -export const useReadCtzndSaleRisingTideApplyCap = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'risingTide_applyCap', +export const useWatchCtzndSaleMaxTargetReachedTestLogIntEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMaxTargetReachedTestAbi, + eventName: 'log_int', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"risingTide_isValidCap"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `eventName` set to `"log_named_address"` */ -export const useReadCtzndSaleRisingTideIsValidCap = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'risingTide_isValidCap', +export const useWatchCtzndSaleMaxTargetReachedTestLogNamedAddressEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMaxTargetReachedTestAbi, + eventName: 'log_named_address', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"risingTide_totalAllocatedUncapped"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `eventName` set to `"log_named_array"` */ -export const useReadCtzndSaleRisingTideTotalAllocatedUncapped = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'risingTide_totalAllocatedUncapped', +export const useWatchCtzndSaleMaxTargetReachedTestLogNamedArrayEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMaxTargetReachedTestAbi, + eventName: 'log_named_array', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"risingTide_totalCap"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `eventName` set to `"log_named_bytes"` */ -export const useReadCtzndSaleRisingTideTotalCap = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'risingTide_totalCap', +export const useWatchCtzndSaleMaxTargetReachedTestLogNamedBytesEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMaxTargetReachedTestAbi, + eventName: 'log_named_bytes', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"risingTide_validating"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `eventName` set to `"log_named_bytes32"` */ -export const useReadCtzndSaleRisingTideValidating = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'risingTide_validating', +export const useWatchCtzndSaleMaxTargetReachedTestLogNamedBytes32Event = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMaxTargetReachedTestAbi, + eventName: 'log_named_bytes32', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"start"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `eventName` set to `"log_named_decimal_int"` */ -export const useReadCtzndSaleStart = /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'start', -}) +export const useWatchCtzndSaleMaxTargetReachedTestLogNamedDecimalIntEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMaxTargetReachedTestAbi, + eventName: 'log_named_decimal_int', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"startRegistration"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `eventName` set to `"log_named_decimal_uint"` */ -export const useReadCtzndSaleStartRegistration = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'startRegistration', +export const useWatchCtzndSaleMaxTargetReachedTestLogNamedDecimalUintEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMaxTargetReachedTestAbi, + eventName: 'log_named_decimal_uint', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"supportsInterface"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `eventName` set to `"log_named_int"` */ -export const useReadCtzndSaleSupportsInterface = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'supportsInterface', +export const useWatchCtzndSaleMaxTargetReachedTestLogNamedIntEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMaxTargetReachedTestAbi, + eventName: 'log_named_int', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"token"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `eventName` set to `"log_named_string"` */ -export const useReadCtzndSaleToken = /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'token', -}) +export const useWatchCtzndSaleMaxTargetReachedTestLogNamedStringEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMaxTargetReachedTestAbi, + eventName: 'log_named_string', + }) + +/** + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `eventName` set to `"log_named_uint"` + */ +export const useWatchCtzndSaleMaxTargetReachedTestLogNamedUintEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMaxTargetReachedTestAbi, + eventName: 'log_named_uint', + }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"tokenToPaymentToken"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `eventName` set to `"log_string"` */ -export const useReadCtzndSaleTokenToPaymentToken = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'tokenToPaymentToken', +export const useWatchCtzndSaleMaxTargetReachedTestLogStringEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMaxTargetReachedTestAbi, + eventName: 'log_string', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"totalTokensForSale"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `eventName` set to `"log_uint"` */ -export const useReadCtzndSaleTotalTokensForSale = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'totalTokensForSale', +export const useWatchCtzndSaleMaxTargetReachedTestLogUintEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMaxTargetReachedTestAbi, + eventName: 'log_uint', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"totalUncappedAllocations"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMaxTargetReachedTestAbi}__ and `eventName` set to `"logs"` */ -export const useReadCtzndSaleTotalUncappedAllocations = - /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'totalUncappedAllocations', +export const useWatchCtzndSaleMaxTargetReachedTestLogsEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMaxTargetReachedTestAbi, + eventName: 'logs', }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"uncappedAllocation"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedDevDeployScriptAbi}__ */ -export const useReadCtzndSaleUncappedAllocation = +export const useReadCtzndSaleMinTargetNotReachedDevDeployScript = /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'uncappedAllocation', + abi: ctzndSaleMinTargetNotReachedDevDeployScriptAbi, }) /** - * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"withdrawn"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedDevDeployScriptAbi}__ and `functionName` set to `"IS_SCRIPT"` */ -export const useReadCtzndSaleWithdrawn = /*#__PURE__*/ createUseReadContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'withdrawn', -}) +export const useReadCtzndSaleMinTargetNotReachedDevDeployScriptIsScript = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleMinTargetNotReachedDevDeployScriptAbi, + functionName: 'IS_SCRIPT', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedDevDeployScriptAbi}__ */ -export const useWriteCtzndSale = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, -}) +export const useWriteCtzndSaleMinTargetNotReachedDevDeployScript = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleMinTargetNotReachedDevDeployScriptAbi, + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"buy"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedDevDeployScriptAbi}__ and `functionName` set to `"run"` */ -export const useWriteCtzndSaleBuy = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'buy', -}) +export const useWriteCtzndSaleMinTargetNotReachedDevDeployScriptRun = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleMinTargetNotReachedDevDeployScriptAbi, + functionName: 'run', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"grantRole"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedDevDeployScriptAbi}__ */ -export const useWriteCtzndSaleGrantRole = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'grantRole', -}) +export const useSimulateCtzndSaleMinTargetNotReachedDevDeployScript = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndSaleMinTargetNotReachedDevDeployScriptAbi, + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"refund"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedDevDeployScriptAbi}__ and `functionName` set to `"run"` */ -export const useWriteCtzndSaleRefund = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'refund', -}) +export const useSimulateCtzndSaleMinTargetNotReachedDevDeployScriptRun = + /*#__PURE__*/ createUseSimulateContract({ + abi: ctzndSaleMinTargetNotReachedDevDeployScriptAbi, + functionName: 'run', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"renounceRole"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ */ -export const useWriteCtzndSaleRenounceRole = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'renounceRole', +export const useReadCtzndSaleMinTargetNotReachedTest = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleMinTargetNotReachedTestAbi, }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"revokeRole"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `functionName` set to `"IS_TEST"` */ -export const useWriteCtzndSaleRevokeRole = /*#__PURE__*/ createUseWriteContract( - { abi: ctzndSaleAbi, address: ctzndSaleAddress, functionName: 'revokeRole' }, -) +export const useReadCtzndSaleMinTargetNotReachedTestIsTest = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleMinTargetNotReachedTestAbi, + functionName: 'IS_TEST', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"risingTide_validate"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `functionName` set to `"excludeArtifacts"` */ -export const useWriteCtzndSaleRisingTideValidate = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'risingTide_validate', +export const useReadCtzndSaleMinTargetNotReachedTestExcludeArtifacts = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleMinTargetNotReachedTestAbi, + functionName: 'excludeArtifacts', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setEnd"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `functionName` set to `"excludeContracts"` */ -export const useWriteCtzndSaleSetEnd = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'setEnd', -}) +export const useReadCtzndSaleMinTargetNotReachedTestExcludeContracts = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleMinTargetNotReachedTestAbi, + functionName: 'excludeContracts', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setEndRegistration"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `functionName` set to `"excludeSenders"` */ -export const useWriteCtzndSaleSetEndRegistration = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'setEndRegistration', +export const useReadCtzndSaleMinTargetNotReachedTestExcludeSenders = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleMinTargetNotReachedTestAbi, + functionName: 'excludeSenders', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setIndividualCap"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `functionName` set to `"targetArtifactSelectors"` */ -export const useWriteCtzndSaleSetIndividualCap = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'setIndividualCap', +export const useReadCtzndSaleMinTargetNotReachedTestTargetArtifactSelectors = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleMinTargetNotReachedTestAbi, + functionName: 'targetArtifactSelectors', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setMaxTarget"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `functionName` set to `"targetArtifacts"` */ -export const useWriteCtzndSaleSetMaxTarget = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'setMaxTarget', +export const useReadCtzndSaleMinTargetNotReachedTestTargetArtifacts = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleMinTargetNotReachedTestAbi, + functionName: 'targetArtifacts', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setMerkleRoot"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `functionName` set to `"targetContracts"` */ -export const useWriteCtzndSaleSetMerkleRoot = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'setMerkleRoot', +export const useReadCtzndSaleMinTargetNotReachedTestTargetContracts = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleMinTargetNotReachedTestAbi, + functionName: 'targetContracts', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setMinContribution"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `functionName` set to `"targetInterfaces"` */ -export const useWriteCtzndSaleSetMinContribution = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'setMinContribution', +export const useReadCtzndSaleMinTargetNotReachedTestTargetInterfaces = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleMinTargetNotReachedTestAbi, + functionName: 'targetInterfaces', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setMinTarget"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `functionName` set to `"targetSelectors"` */ -export const useWriteCtzndSaleSetMinTarget = - /*#__PURE__*/ createUseWriteContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'setMinTarget', +export const useReadCtzndSaleMinTargetNotReachedTestTargetSelectors = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleMinTargetNotReachedTestAbi, + functionName: 'targetSelectors', }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setStart"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useReadContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `functionName` set to `"targetSenders"` */ -export const useWriteCtzndSaleSetStart = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'setStart', -}) +export const useReadCtzndSaleMinTargetNotReachedTestTargetSenders = + /*#__PURE__*/ createUseReadContract({ + abi: ctzndSaleMinTargetNotReachedTestAbi, + functionName: 'targetSenders', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setStartRegistration"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ */ -export const useWriteCtzndSaleSetStartRegistration = +export const useWriteCtzndSaleMinTargetNotReachedTest = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'setStartRegistration', + abi: ctzndSaleMinTargetNotReachedTestAbi, }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setToken"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `functionName` set to `"failed"` */ -export const useWriteCtzndSaleSetToken = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'setToken', -}) +export const useWriteCtzndSaleMinTargetNotReachedTestFailed = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleMinTargetNotReachedTestAbi, + functionName: 'failed', + }) /** - * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"withdraw"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `functionName` set to `"setUp"` */ -export const useWriteCtzndSaleWithdraw = /*#__PURE__*/ createUseWriteContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'withdraw', -}) +export const useWriteCtzndSaleMinTargetNotReachedTestSetUp = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleMinTargetNotReachedTestAbi, + functionName: 'setUp', + }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `functionName` set to `"test_AllocationWhenMinTargetReached"` */ -export const useSimulateCtzndSale = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, -}) +export const useWriteCtzndSaleMinTargetNotReachedTestTestAllocationWhenMinTargetReached = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleMinTargetNotReachedTestAbi, + functionName: 'test_AllocationWhenMinTargetReached', + }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"buy"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWriteContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `functionName` set to `"test_RefundsWhenMinTargetNotReached"` */ -export const useSimulateCtzndSaleBuy = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'buy', -}) +export const useWriteCtzndSaleMinTargetNotReachedTestTestRefundsWhenMinTargetNotReached = + /*#__PURE__*/ createUseWriteContract({ + abi: ctzndSaleMinTargetNotReachedTestAbi, + functionName: 'test_RefundsWhenMinTargetNotReached', + }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"grantRole"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ */ -export const useSimulateCtzndSaleGrantRole = +export const useSimulateCtzndSaleMinTargetNotReachedTest = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'grantRole', + abi: ctzndSaleMinTargetNotReachedTestAbi, }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"refund"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `functionName` set to `"failed"` */ -export const useSimulateCtzndSaleRefund = +export const useSimulateCtzndSaleMinTargetNotReachedTestFailed = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'refund', + abi: ctzndSaleMinTargetNotReachedTestAbi, + functionName: 'failed', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"renounceRole"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `functionName` set to `"setUp"` */ -export const useSimulateCtzndSaleRenounceRole = +export const useSimulateCtzndSaleMinTargetNotReachedTestSetUp = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'renounceRole', + abi: ctzndSaleMinTargetNotReachedTestAbi, + functionName: 'setUp', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"revokeRole"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `functionName` set to `"test_AllocationWhenMinTargetReached"` */ -export const useSimulateCtzndSaleRevokeRole = +export const useSimulateCtzndSaleMinTargetNotReachedTestTestAllocationWhenMinTargetReached = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'revokeRole', + abi: ctzndSaleMinTargetNotReachedTestAbi, + functionName: 'test_AllocationWhenMinTargetReached', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"risingTide_validate"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `functionName` set to `"test_RefundsWhenMinTargetNotReached"` */ -export const useSimulateCtzndSaleRisingTideValidate = +export const useSimulateCtzndSaleMinTargetNotReachedTestTestRefundsWhenMinTargetNotReached = /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'risingTide_validate', + abi: ctzndSaleMinTargetNotReachedTestAbi, + functionName: 'test_RefundsWhenMinTargetNotReached', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setEnd"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ */ -export const useSimulateCtzndSaleSetEnd = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'setEnd', +export const useWatchCtzndSaleMinTargetNotReachedTestEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMinTargetNotReachedTestAbi, }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setEndRegistration"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `eventName` set to `"log"` */ -export const useSimulateCtzndSaleSetEndRegistration = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'setEndRegistration', +export const useWatchCtzndSaleMinTargetNotReachedTestLogEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMinTargetNotReachedTestAbi, + eventName: 'log', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setIndividualCap"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `eventName` set to `"log_address"` */ -export const useSimulateCtzndSaleSetIndividualCap = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'setIndividualCap', +export const useWatchCtzndSaleMinTargetNotReachedTestLogAddressEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMinTargetNotReachedTestAbi, + eventName: 'log_address', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setMaxTarget"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `eventName` set to `"log_array"` */ -export const useSimulateCtzndSaleSetMaxTarget = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'setMaxTarget', +export const useWatchCtzndSaleMinTargetNotReachedTestLogArrayEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMinTargetNotReachedTestAbi, + eventName: 'log_array', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setMerkleRoot"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `eventName` set to `"log_bytes"` */ -export const useSimulateCtzndSaleSetMerkleRoot = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'setMerkleRoot', +export const useWatchCtzndSaleMinTargetNotReachedTestLogBytesEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMinTargetNotReachedTestAbi, + eventName: 'log_bytes', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setMinContribution"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `eventName` set to `"log_bytes32"` */ -export const useSimulateCtzndSaleSetMinContribution = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'setMinContribution', +export const useWatchCtzndSaleMinTargetNotReachedTestLogBytes32Event = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMinTargetNotReachedTestAbi, + eventName: 'log_bytes32', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setMinTarget"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `eventName` set to `"log_int"` */ -export const useSimulateCtzndSaleSetMinTarget = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'setMinTarget', +export const useWatchCtzndSaleMinTargetNotReachedTestLogIntEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMinTargetNotReachedTestAbi, + eventName: 'log_int', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setStart"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `eventName` set to `"log_named_address"` */ -export const useSimulateCtzndSaleSetStart = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'setStart', +export const useWatchCtzndSaleMinTargetNotReachedTestLogNamedAddressEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMinTargetNotReachedTestAbi, + eventName: 'log_named_address', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setStartRegistration"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `eventName` set to `"log_named_array"` */ -export const useSimulateCtzndSaleSetStartRegistration = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'setStartRegistration', +export const useWatchCtzndSaleMinTargetNotReachedTestLogNamedArrayEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMinTargetNotReachedTestAbi, + eventName: 'log_named_array', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"setToken"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `eventName` set to `"log_named_bytes"` */ -export const useSimulateCtzndSaleSetToken = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'setToken', +export const useWatchCtzndSaleMinTargetNotReachedTestLogNamedBytesEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMinTargetNotReachedTestAbi, + eventName: 'log_named_bytes', }) /** - * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link ctzndSaleAbi}__ and `functionName` set to `"withdraw"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `eventName` set to `"log_named_bytes32"` */ -export const useSimulateCtzndSaleWithdraw = - /*#__PURE__*/ createUseSimulateContract({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - functionName: 'withdraw', +export const useWatchCtzndSaleMinTargetNotReachedTestLogNamedBytes32Event = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMinTargetNotReachedTestAbi, + eventName: 'log_named_bytes32', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleAbi}__ - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `eventName` set to `"log_named_decimal_int"` */ -export const useWatchCtzndSaleEvent = /*#__PURE__*/ createUseWatchContractEvent( - { abi: ctzndSaleAbi, address: ctzndSaleAddress }, -) +export const useWatchCtzndSaleMinTargetNotReachedTestLogNamedDecimalIntEvent = + /*#__PURE__*/ createUseWatchContractEvent({ + abi: ctzndSaleMinTargetNotReachedTestAbi, + eventName: 'log_named_decimal_int', + }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleAbi}__ and `eventName` set to `"Claim"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `eventName` set to `"log_named_decimal_uint"` */ -export const useWatchCtzndSaleClaimEvent = +export const useWatchCtzndSaleMinTargetNotReachedTestLogNamedDecimalUintEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - eventName: 'Claim', + abi: ctzndSaleMinTargetNotReachedTestAbi, + eventName: 'log_named_decimal_uint', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleAbi}__ and `eventName` set to `"Purchase"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `eventName` set to `"log_named_int"` */ -export const useWatchCtzndSalePurchaseEvent = +export const useWatchCtzndSaleMinTargetNotReachedTestLogNamedIntEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - eventName: 'Purchase', + abi: ctzndSaleMinTargetNotReachedTestAbi, + eventName: 'log_named_int', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleAbi}__ and `eventName` set to `"Refund"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `eventName` set to `"log_named_string"` */ -export const useWatchCtzndSaleRefundEvent = +export const useWatchCtzndSaleMinTargetNotReachedTestLogNamedStringEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - eventName: 'Refund', + abi: ctzndSaleMinTargetNotReachedTestAbi, + eventName: 'log_named_string', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleAbi}__ and `eventName` set to `"RoleAdminChanged"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `eventName` set to `"log_named_uint"` */ -export const useWatchCtzndSaleRoleAdminChangedEvent = +export const useWatchCtzndSaleMinTargetNotReachedTestLogNamedUintEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - eventName: 'RoleAdminChanged', + abi: ctzndSaleMinTargetNotReachedTestAbi, + eventName: 'log_named_uint', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleAbi}__ and `eventName` set to `"RoleGranted"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `eventName` set to `"log_string"` */ -export const useWatchCtzndSaleRoleGrantedEvent = +export const useWatchCtzndSaleMinTargetNotReachedTestLogStringEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - eventName: 'RoleGranted', + abi: ctzndSaleMinTargetNotReachedTestAbi, + eventName: 'log_string', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleAbi}__ and `eventName` set to `"RoleRevoked"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `eventName` set to `"log_uint"` */ -export const useWatchCtzndSaleRoleRevokedEvent = +export const useWatchCtzndSaleMinTargetNotReachedTestLogUintEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - eventName: 'RoleRevoked', + abi: ctzndSaleMinTargetNotReachedTestAbi, + eventName: 'log_uint', }) /** - * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleAbi}__ and `eventName` set to `"Withdraw"` - * - * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x85b34Aa54fdf8242e4656eA50b711F45340925bC) - * - - * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1D4d57F29C8a0E73A4C836792abcAc0B2b0D5adD) + * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link ctzndSaleMinTargetNotReachedTestAbi}__ and `eventName` set to `"logs"` */ -export const useWatchCtzndSaleWithdrawEvent = +export const useWatchCtzndSaleMinTargetNotReachedTestLogsEvent = /*#__PURE__*/ createUseWatchContractEvent({ - abi: ctzndSaleAbi, - address: ctzndSaleAddress, - eventName: 'Withdraw', + abi: ctzndSaleMinTargetNotReachedTestAbi, + eventName: 'logs', }) /**