Questions tagged [auctions]

The tag has no usage guidance.

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

How to add condition in solidity in auction contract one address can bid only one time

function bid(bytes32 _blindedBid) public payable onlyBefore(biddingEnd) { // If the bid is not higher, send the money back // (the failing require will ...
0
votes
0answers
14 views

How long does it take an experienced developer to deploy a simple auction smart contract with front end?

I'm currently vetting eth devs for a nifty personal platform but I'm not a developerand don't have much of a concept for the complexity for time involved for Solidity development. Ballpark estimates ...
1
vote
1answer
220 views

Auction data on-chain or off-chain

Currently I am trying to build a NFT marketplace and I am currently at a point where I need to make a design choice. In my current contract I have the data about the auction on chain. And every bid is ...
0
votes
1answer
48 views

How does the value of an NFT is calculated as a loaning asset?

I’ve been thinking, could it be that the very high NFT prices is an economic trick? In other words, is this scenario possible: -Alice have X value -So, Alice hires Bob off-chain to submit a rubbish ...
0
votes
1answer
165 views

Creating an auction smart contract without storing the ether

I am currently looking into creating a smart contract for a NFT auction. But because of certain legal restrictions we are not allowed to store the ether bid during the auction period (that is what ...
0
votes
0answers
90 views

Getting error: 'approve caller is not owner nor approved for all' when calling approve() from ERC721 owner wallet

I am getting this error message when trying to call approve() on an ERC721 token: "code": 3, "message": "execution reverted: ERC721: approve caller is not owner nor approved ...
0
votes
0answers
1k views

METAMASK ERROR - ALERT: Transaction Error. Exception thrown in contract code

I've currently working a basic NFT auction marketplace. The application works with two contracts: (1) - NFT Minting/Repository Contract: that mints the NFT and provides verification to the Auction ...
0
votes
0answers
36 views

Why does listing NFTs cost more than bidding on NFTs?

In the link below are current gas fees for doing contract interactions on two popular NFT platforms https://gas.metasync.app/ Why does it cost so much more to list an NFT for sale ($150) than it ...
0
votes
0answers
11 views

Transfer ether between two EOAs without security breaches

I have this function (is a SC implementing and auction): /// @notice Register a new participant /// @param _preferences agent' preferences function regAgent(uint[] memory _preferences) notOwner ...
1
vote
1answer
35 views

Paying the gas cost with the ether stored in the SC

Let's suppose that an entity deploys an SC and wants to perform an allocation (which computationally speaking has a high gas cost). The participants of this delivery (registered persons) must be the ...
0
votes
1answer
26 views

Auction period using block.number

I have something like: contract example{ uint endBlock; constructor(uint _elitism) public { endBlock= block.number + 40; // 10 min of time } ...
0
votes
1answer
310 views

What decides about the position in the block? [duplicate]

All these transactions happened within the single block: Source: https://etherscan.io/defi?q=0x8a40c222996f9f3431f63bf80244c36822060f12#dextracker Right now it is still possible to get to the initial ...
0
votes
1answer
130 views

Smart Contracts for the Blind Auctions

In blind auctions from solidity documentation what value should I insert under the bid function?Even I inserted string value,integer value under the bid function but it is showing the error as invalid ...
0
votes
1answer
18 views

Conceptual Question: What is the point of making an auction decentralized?

I understand how a blockchain works, I know the pro/cons between a centralized vs decentralized system. My question is specifically tied to auctions (eg: ascending auctions): what advantages would be ...
1
vote
1answer
52 views

Why do MakerDAO auction keepers overpay for ETH?

Looking at a recent closed auction (https://defiexplore.com/liquidation/ETH/4876), I see that the auction keeper overpaid for too little ETH. Why?
0
votes
0answers
297 views

Gas estimation failed on remix

Cannot deploy the code, it compiles normally on version 0.4.22 with the same compiler version. I have looked at the answer on a similar thread and changed version to 0.5.11, when I try to compile it ...
0
votes
1answer
125 views

ParserError: Expected identifier, got 'LParen' in Remix simple auction using Solidity

The line highlighted in the error is require(bid2 > highestBid2); The code: pragma solidity ^0.4.22; contract SimpleAuction { address public beneficiary; uint public auctionEnd; ...
5
votes
1answer
155 views

How to view ENS name from transaction?

This is ethereum address. On which there are a bunch of registered ENS names How can we view the actual ENS names which were registered/won in auctions from this address?
2
votes
1answer
51 views

Is it possible for start and auction and bid for multiple names(ENS) in a single transaction?

For example if I want to register three TLD domains: example1.eth example2.eth example3.eth Can I make one startAuctionAndBid transaction for all three?
1
vote
0answers
30 views

How best to handle variable pricing during auction/sale

I'm building a contract for running multiple auctions, each selling individual ERC721 tokens from an array of token IDs, and the price increases with each one sold (the properties of the sale is ...
0
votes
2answers
63 views

How can Ethereum be used to prevent fake art sales?

According to this article, some very expensive art pieces are going to be auctioned, and "the auction will be conducted on the Ethereum blockchain. A smart contract will determine the final price for ...
1
vote
0answers
90 views

Data structure to choose for this scenario?

So I just started learning and trying to code this project and learn through the process and I might have landed in a bit of a complex situation. The idea is about "blind lowest bid wins" the product ...
1
vote
1answer
323 views

Specific to Cryptokitties -- Trying to learn how SaleClockAuction works

I'm trying to understand, how the actual process of putting something up for auction works and also how does web3 interact with this auction. Here are my findings till now: I think that ...
0
votes
1answer
461 views

How lost bids on ENS are credited back to my wallet ? Is it automatic or is there any manual process?

I have lost few bids on ENS and so far the ethers that I have used for auction is not credited back. So I would like to know if there is any process to get back the ether or is this an automated ...
1
vote
1answer
186 views

Lost ENS name due to auction deadlock?

I started an ENS auction on ropsten, but I forgot to bid. Now the auction date has passed. The name is listed as not available: > ethRegistrar.entries(web3.sha3('name'))[0] 1 The owner, ...
5
votes
2answers
1k views

Is it possible to get a list of all active auctions on ENS?

On testnet, there is currently a registrar running for first-in-first-served (FIFS) .test domains, which can be directly claimed for 30 days, and the auction registrar for .eth domains, which require ...