Questions tagged [auctions]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
53 views

Why isn't this dutch auction returning the price or working?

I have set up a dutch auction with the specifics mentioned here: What is expected in setting up the following dutch auction? But it keeps reverting and doesn't seem to be returning the price which is ...
user avatar
0 votes
1 answer
23 views

Are the assets instantly transferred in this smart contract?

I am entirely new to solidity and web3 in general so I am not entirely sure how to frame this question but are the NFTs instantly transferred once a user bids in this dutch auction smart contract? // ...
user avatar
0 votes
0 answers
25 views

How to solve linear equations using solidity?

I am setting up a contract which gets initialized with the following parameters: startDate, endDate, startPrice The price at any given points is the line connecting the two points a and b where a*...
user avatar
0 votes
1 answer
25 views

How to automate creating multiple bids for an auction smart contract?

I have created a simple auction smart contract in remix and now I have to do some experiments with it. In my model, it is possible to create the requests and then bid those requests with the Bid() ...
user avatar
0 votes
1 answer
75 views

What is expected in setting up the following dutch auction?

This is quite possibly not a question within the scope of stackexchange but please help out. I am trying to do an solidity project in which a dutch auction is to be implemented and the auction logic ...
user avatar
0 votes
1 answer
165 views

Do we need a smart contract to implement bidding in NFT Marketplace? If yes do anyone have sample smart contracts to implement the same?

could you please provide solidity smart contracts and links related to the same? I would like to implement the bidding and auction functionalities for NFT marketplace platform.
user avatar
0 votes
0 answers
8 views

Decentralised Nft AuctionHouse [duplicate]

I’m building a decentralised NFT Auction House for people that already have their ERC721 contracts deployed. My doubt is - how can I take nft’s from them and list on my marketplace for auction. I don’...
user avatar
0 votes
1 answer
202 views

Timestamp is lower than or equal to previous block

I have a function where a specific time should be passed to run it. function placeBid(...) { require(auction.startedAt <= block.timestamp, "not started yet"); ... } say startedAt is ...
user avatar
0 votes
0 answers
24 views

Why does placing a bid on a NFT cost gas, but being reimbursed if outbid doesn't?

When you place a bid on a NFT during live auction, the smart contract interaction sends an outflow of ether to the auction contract for escrow and writes your bid to the NFT's transaction history, ...
user avatar
0 votes
1 answer
50 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 ...
user avatar
  • 1
0 votes
0 answers
30 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 ...
user avatar
2 votes
1 answer
762 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 ...
user avatar
  • 125
0 votes
1 answer
56 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 ...
user avatar
  • 1
0 votes
1 answer
506 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 ...
user avatar
  • 125
0 votes
0 answers
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 ...
user avatar
  • 1
1 vote
1 answer
46 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 ...
user avatar
  • 151
0 votes
1 answer
34 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 } ...
user avatar
  • 151
0 votes
1 answer
514 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 ...
user avatar
0 votes
1 answer
304 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 ...
user avatar
0 votes
1 answer
26 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 ...
user avatar
  • 249
1 vote
1 answer
57 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?
user avatar
0 votes
0 answers
354 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 ...
user avatar
0 votes
1 answer
178 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; ...
user avatar
5 votes
1 answer
206 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?
user avatar
2 votes
1 answer
59 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?
user avatar
  • 123
1 vote
0 answers
41 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 ...
user avatar
0 votes
2 answers
65 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 ...
user avatar
1 vote
0 answers
94 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 ...
user avatar
1 vote
1 answer
338 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 ...
user avatar
0 votes
1 answer
512 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 ...
user avatar
  • 1
1 vote
1 answer
193 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, ...
user avatar
  • 675
5 votes
2 answers
2k 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 ...
user avatar
  • 31.5k