Nenad

Results 18 issues of Nenad

When accessing `Contract_factory.interface.encodeFunctionData` (interface is of generic type `Interface`): ![image](https://github.com/dethcrypto/TypeChain/assets/19427053/45fea13b-4f0a-48cf-8c0c-755463096d76) When accessing `Contract__factory.createInterface().encodeFunctionData` (interface is of specific type `APTeamMultiSigInterface` which enforces type-safety): ![image](https://github.com/dethcrypto/TypeChain/assets/19427053/9dd941f9-26b1-4a52-8246-c7b00a5eb489) Without updating the former to return a...

# Bug Report **Cairo version:** 2.6.3 **Current behavior:** When defining a module with some public members and trying to import said members, a completion dialog appears, but the language server...

bug
good first issue
help wanted
ide

# Bug Report **Cairo version:** 2.6.3 **Current behavior:** When creating a struct instance, there is no completion dialog support - the one that does appear contains some values that can...

bug
good first issue
help wanted
ide

### Problem The `--json` flag should result in all output being in JSON format. This would be extremely helpful when creating a [Test Runner for the Cairo track on Exercism](https://exercism.org/docs/building/tooling/test-runners)....

Repro steps: - open https://book.cairo-lang.org/ch08-02-traits-in-cairo.html#negative-impls - find Listing 8-2 - click "Run this code" - error appears

**Issue(s):** Close #128 ### Description Built off of https://github.com/NethermindEth/StarknetByExample/pull/183 Explain randomness in the context of blockchain, and Starknet specifically, and provide an example with `CoinFlip` contract. ### Checklist - [x]...

- **Mark `args.player` as `viem/Address`** - fixes this error: ![image](https://github.com/user-attachments/assets/cb7d2eab-2c95-44fc-a052-23d4ecf23725) - **Convert `Winner.address` type from `string` to `viem/Address`** - more accurate - **Mark `args.winner` as `viem/Address`** - similar to first...

Fixes the following errors: ![image](https://github.com/user-attachments/assets/d25c9f4f-749b-4c27-bbf1-a457a47017e4) ![image](https://github.com/user-attachments/assets/8613ecb0-eee8-4743-b138-9bfbbf3e95c3)

- use `call` instead of `transfer` for sending ETH - format code