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
SaleClockAuction.sol
has to be deployed with_nftAddress
andcut
.What is
nftAddress
? Is it an address of another contract (ERC721
contract, maybe?) or the users current account address?Ok, once deployed, the address of
SaleClockAuction.sol
has to be copied and this address in turn has to be called fromKittyCore.sol
in order to un pause the contract.Now, how is the process of calling functions that puts up something for auction or bids on an auction work? I see that the
KittyCore
exposescreateAuction
but notbid
. Do users directly interact with theexternal
functions of the deployedSaleClockAuction
contract?
Where I am stuck with
Either calling createAuction
from KittyCore.sol
or createAuction
and bid
from SaleClockAuction.sol
is throwing an error for me.