Questions tagged [smart-contract-wallets]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
38 views

Issue executing transaction from Gnosis Safe (compensation to you if you resolve)

We have been trying to capture funds from a smart contract, that holds the funds. We are getting errors attempting to execute from the Gnosis interface. The transaction has three addresses that have ...
1 vote
0 answers
26 views

Is there a way to call smart contract methods without a website? Purely by a link that would work in any wallet (mobile, desktop, web)

I have a telegram bot. In it a client gets given wallet addresses, on different blockchains, to which he can then send coins. I'm thinking of improving the process by introducing a smart contract in ...
0 votes
1 answer
17 views

Call A Smart Contracr

I'm wondering if it's possible to call the smart contract, only knowing its address? For instance, if we take the contract, how to call it, if I have a completed transaction as an example. Can i ...
0 votes
1 answer
16 views

How to generate hybrid unique address

I am making a land registration project. There are total 2 address: (1)owner address (2)land address. So i want to generate a unique identifier that will be formed using above addresses. So that using ...
  • 1
0 votes
2 answers
27 views

How to transfer received amount while paying gas from another account?

Here's an example: https://bscscan.com/tx/0xe253f721338acde5c7b29eec16ea121396fc9ccc7d2fd79317db1de54bf7ecaf I have sent 0.00950688 BNB to 0x86a54685774b674c848824b1ba3303418d0c3f80 address and the ...
  • 115
0 votes
1 answer
13 views

Is it possible to simultaneously call a method from the children's smart contract by the parent's smart contract?

I have a smart contract on the BSC network that has created a large number of children and stored the address of each. In the child smart contract, the UUDT token is stored. Also, each child smart ...
0 votes
3 answers
49 views

Can the smart contract automatically send the amount received to the owner's address or any fixed address defined in the contract?

Can we have a smart contract that when an amount is deposited into it, it will automatically transfer it to the owner's wallet address? I mean, as soon as the amount is received, the smart contract ...
1 vote
2 answers
42 views

Find all addresses that have interacted with a smart contract using Python

I am trying to find a list of ALL addresses that have interacted with a particular smart contract using Python. I've tried doing this using the Etherscan API, but so far have not managed to do so. Is ...
  • 43
0 votes
2 answers
30 views

Should I not expose the abi of the smart contract?

Can anyone execute a smart contract if they get a abi? I don't think this is good for security. How do I ensure that only authorized people run smart contracts?
0 votes
1 answer
20 views

I'm getting this error: ',' expected.ts(1005) . I have tried using the latest compiler versions but it wont go away. Please advise

The error is on line 9. I can't really tell what the issue is.
  • 13
0 votes
2 answers
34 views

What is ETH (or the native token of each network) smart contract address?

Is it the same on every network? If that's the case, what is it?
1 vote
2 answers
209 views

why I'm I getting this error: Wrong argument count for function call: 6 arguments given but expected 5.solidity(6160)

Here's the code. The Emit transfer line (In asterisks) is returning the error // SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; contract Transactions { uint256 transactionCount; ...
  • 13
0 votes
1 answer
21 views

how to write a ERC1155 smartcontract to sell nft?

I trying to write a ERC1155 smart contract, where you can sell the nft for someone for a certain eth or wei, and receive that eth or wei in my address. help me with some examples. thanks in advance :)
0 votes
1 answer
41 views

How to distinguish between a contract and wallet address?

When an address is searched, we would like to first understand if that particular address is a contract address or a wallet address. Is there a practical way of doing making that distinction? It is ...
1 vote
1 answer
56 views

Can I convert my metamask wallet into a multisign wallet?

Wondering if it's possible to convert a wallet into an multisig wallet which would require multiple signatures to carry out transaction on the wallet.
0 votes
0 answers
8 views

How can I recover my token sent to unlisted wallet address in an exchange [duplicate]

How can I recover my erc-20 unlisted token sent in error to a custodial wallet that I dont have the private keys.
  • 1
0 votes
1 answer
30 views

Use cases of UUPS proxies over Transparent?

What are the use cases where UUPS proxies are more suitable apart from achieving immutability as the logic to update the contract resides in the Logic contract rather than proxies. Thank you!
  • 5
1 vote
0 answers
17 views

Seeking insights on account abstraction from experienced developers

I am conducting research on the topic of account abstraction and was wondering if anyone here has experience working with this concept in their projects. I am particularly interested in hearing from ...
1 vote
0 answers
12 views

How can we use gnosis safe with unsupported chains?

For example i created a fantom gnosis safe wallet, how can we access it and for example we sent tokens in the fantom gnosis wallet, how can we recover or transfer it if we can't see it in the app.safe....
  • 11
1 vote
2 answers
103 views

What are Solidity Events in Etherscan?

When you go to a deployment contract on Etherscan, which are 0x addresses just like wallets, they have a tab called "Events". What are Events and how come only these deployment contracts ...
  • 1,292
0 votes
0 answers
65 views

Funds in smart-contract won't withdraw to Gnosis Safe Address

I have a simple NFT smart contract that withdraws funds to multiple addresses including one Safe address. However, the execution reverts. I've duplicated the contract on goerli testnet: https://goerli....
  • 1
1 vote
2 answers
24 views

How to use use dynamic values in reuqire statement?

consider this as an smart contract which check your eligiblity and i am creating multiple instances of the contract. require validation is done. but how can i make that minimum age value dynamic in ...
0 votes
1 answer
16 views

from solidity: ParserError: Expected ',' but got ';'

i'm trying to complie my solidity contract but i'm getting the error below from solidity: ParserError: Expected ',' but got ';' --> contracts/samEsc.sol:50:39: | 50 | totalAmount = (...
  • 9
0 votes
2 answers
40 views

Why i can't deposit token in contract as a LP?

I deploy my ERC20 Token and i want to swap it with usdc in om dex , but when i want to add liquidity, then have a swap i got this error: Gas estimation errored with the following message (see below). ...
  • 79
0 votes
1 answer
32 views

Accessing data of struct in mapping externally

MultiSig Wallet contract: contract MultiSig { address[] public owners; uint256 requiredVoteCount; event Deposit(uint256 amount); event Approved(address approverOwner, uint256 approvedTransaction); ...
0 votes
1 answer
17 views

Handling user transaction fee

Im creating a user whitelisting contract when a user asks for whitelisting hes paying for the contract execution how do i make it so that the creator of the contract pays for the transaction?
0 votes
0 answers
9 views

Tokens should be on smart contract or the dev's wallet?

can anyone clarify how token transfer works? i've recently deployed a smart contract that charges for a fee then transfers the token from the dev's wallet (same wallet used on contract deployment) to ...
  • 1
0 votes
1 answer
34 views

Cross-chain transaction not reflected

Some time ago I tried to transfer some (wrapped) Ethereum from BNB Smart Chain to Ethereum mainnet using https://app.crosschainbridge.org. I would like to understand what happened since it looks like ...
0 votes
1 answer
14 views

how do call this function in my frontend dapp using metamask and ethers js

I have this smart contract function and I am trying to call it from my frontend dapp but cant seem to figure out how to do so using ethers js and metamask. function multiSendFixedEth(address payable[]...
  • 3
0 votes
1 answer
53 views

how to emit an array of addresses in a solidity event

Good Morning Everyone, I have created a dAPP that sends ether to multiple addresses at once....but I have one issue, I am trying to create an event where all information about the transactions is ...
  • 3
0 votes
1 answer
14 views

Is it possible to reset an array without looping through it?

I recently started the Solidity/JS course on FreeCodeCamp. In the lesson we are resetting an array of addresses to 0 / nul, and it is expressed as below: for (uint256 funderIndex = 0; funderIndex &...
  • 3
0 votes
0 answers
17 views

How to Store incoming and outgoing transaction with amount

// SPDX-License-Identifier: MIT pragma solidity 0.8.8; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/IERC20.sol"; contract Wallet { ...
0 votes
0 answers
13 views

Accidentally send matic to the wrong addree [duplicate]

I accidentally sent Matic to the following wrong address 0x7ad9c4432Abb0BE2b9AF840e48E7E7996399f387 I think its a smart contract address. The tokens are still there, anything I can do with regards to ...
0 votes
0 answers
14 views

If in reflection tokens everyone’s balance in a formula, then how is it deducted when the tokens are transferred

In reference to what another user told me Simplified example User A buys 10 tokens. Current Reflection multiplier = 1.0 getBalance(user A) equals 10 * 1.0 = 10 Something happens which increases ...
  • 11
0 votes
0 answers
17 views

How can I access current time inside transfer function in ERC20 contract?

I want to create a ERC20 contract in which inside the transfer() function I would check if the msg.sender can transfer tokens. This check will be like those we have in stock markets where when someone ...
0 votes
1 answer
9 views

How to secure and recover a multisignature wallet

I am creating an erc-20 token which funds will be managed by some board members using MultiSig wallet/contract. Let's say I have 5 members and 3 out of 5 votes is enough to manage funds. What happpens ...
0 votes
1 answer
28 views

Identifier not found or not unique. on adding new prduct smart contract

what im i doing wrong here, this is smart contract based on e-commerce that allow users to create store list goods and sell. im getting the above error on line 61 // SPDX-License-Identifier: ...
0 votes
1 answer
29 views

How to write a request funds function in solidity

Hello everyone…I am trying to build a dapp where a user can request funds or ethers from a specific address and then that address can approve that function, then the person who requested the fund will ...
  • 3
0 votes
1 answer
60 views

Is it possible to create a dividend paying token that doesn't need the token holder to "claim" the tokens

I'm trying to create a dividend contract that contains a balance of token A which should be divided among holders of token B in proportion to what they have. but every solution I run into seems to ...
0 votes
0 answers
12 views

Withdraw from wallet

I have a contract address that I have revoked with ETH200.CC. USDT balance is still sitting in the miner. I cannot access my wallet or Withdraw able amount due to a pledge period. How can I access ...
0 votes
1 answer
25 views

Is it possible to get the price a token is trading for without the use or oracles

Is it possible to get the price a token is trading for without the use or oracles. like somehow make the smart contract look at a DEX and get the price that way
0 votes
0 answers
14 views

Update available amount of ERC-20 token according to time passed and quantity already bought

I'm developing a project and I would like to code an ERC-20 token, which the amount of token available should update according to the time since the token was created and the amount already purchased ...
0 votes
0 answers
53 views

How to correctly mint a NFT with any ERC20 token using react app & smart contract? Code w/ explanation provided below

Problem/Clarification: I have a NFT minting DApp that mints with multiple ERC20 tokens. I'm having an issue with the react code which calls the smart contract minting function multiple times. When a ...
0 votes
0 answers
42 views

Obtain all smart contract addresses on Ethereum

I appreciate this question has been asked in various of formats over the last few years, but things in the Ethereum world move fast, so often answers get outdated quickly. Is there any 3rd party tool ...
0 votes
1 answer
184 views

How to correctly mint a NFT with any ERC20 token? Code w/ explanation provided below

Problem/Clarification: I have a NFT minting DApp that mints with multiple ERC20 tokens. I'm having an issue with the react code which calls the smart contract minting function multiple times. When a ...
0 votes
1 answer
57 views

Did I get scammed? Created solidity smart contract and can't withdraw [duplicate]

Hoping this isn't the case but I created a smart contract based on a youtube video, I know feel like a moron, and glanced at the code and it seemed legit. I own the smart contract, but I can't ...
0 votes
0 answers
15 views

How does this smart contract send transactions?

I was digging through some on-chain data and found this contract: https://bscscan.com/address/0x790246d2331432f18c82b6bc1294432afd2e472b This is baffling to me because it looks like this contract has ...
  • 11
0 votes
1 answer
25 views

how to create 2 different Tokens Within One Contract while still being within ERC20 Standards?

Is it possible to create 2 different Tokens Within One Contract while still being within ERC20 Standards that can interact with each other?
0 votes
1 answer
39 views

Solidity – Safe Remote Purchase [duplicate]

For a group project at the university, I'm looking for help by extending a current smart contract "Safe Remote Purchase". The contract will look like that: 1. Seller deposits 1 (originally 2,...
  • 1
0 votes
0 answers
15 views

How would I make a token that mints and burns on certain time intervals in a loop

I want to make a anti-stablecoin which makes one shape over and over again on a chart. I don't want it to go to 0 as well. The only way I can see this being possible is with supply. Is this even ...

1
2 3 4 5
11