Skip to content

Contract updates

Contract updates #954

Triggered via pull request June 25, 2024 06:09
Status Failure
Total duration 2m 29s
Artifacts

web-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
build
Type '"totalTokensForSale"' is not assignable to type '"DEFAULT_ADMIN_ROLE" | "getRoleAdmin" | "hasRole" | "supportsInterface" | "start" | "end" | "merkleRoot" | "token" | "allocation" | "uncappedAllocation" | "paymentToken" | ... 26 more ... | "withdrawn"'. Did you mean '"maxTokensForSale"'?
build
Operator '>' cannot be applied to types 'bigint' and 'string | number | bigint | boolean | readonly [bigint, bigint, bigint, bigint]'.
build
The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.
build
Operator '-' cannot be applied to types 'string | number | bigint | boolean | readonly [bigint, bigint, bigint, bigint]' and 'bigint'.
build
Property 'totalTokensForSale' does not exist on type '{ DEFAULT_ADMIN_ROLE: (options?: { value?: undefined; account?: `0x${string}` | Account | undefined; blockNumber?: bigint | undefined; blockTag?: BlockTag | undefined; stateOverride?: StateOverride | undefined; } | undefined) => Promise<...>; ... 36 more ...; withdrawn: (options?: { ...; } | undefined) => Promise<.....'. Did you mean 'maxTokensForSale'?
build
'"@/wagmi.generated"' has no exported member named 'useReadCtzndSaleTotalTokensForSale'. Did you mean 'useReadCtzndSaleMaxTokensForSale'?
build
Process completed with exit code 2.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/