So There is a function auctionEnd()
which will called after auctionTime end
If a situation came where there is no Bid or net `Bid == 0`, for any Perticular Auction
, then all funds will redirect to `Owner` in that case
In this case owner is Factory Contract
as per constuctor
I believe here msg.sender
is `FjordAuctionFactory` contract
To check this i preform a test on Remix, this is the simplest form of FjordAuctionFactory
and FjordAuction
contract, only purpose to check Owners here
So Results are
Wallet address used = 0x5B38Da6a701c568545dCfcB03FcB875f56beddC4
AuctionFactory address = 0xd7Ca4e99F7C171B9ea2De80d3363c47009afaC5F
Salt used = 0x7465737400000000000000000000000000000000000000000000000000000000
Deployed Auction address = 0x3Cc7DdeaF7c56C706c40EEc44A3e349aD1fF7710
Owner address in Auction contract = 0xd7Ca4e99F7C171B9ea2De80d3363c47009afaC5F
So It clearly demonstrate that Owner in case of Auction contract is FjordAuctionFactory
contract and in case of Auction failure token send to this address.
And problem is here no implementation to extract those funds from that FjordAuctionFactory
contract
Remix, vsCode
Add below function to FjordAuctionFactory.sol
An auction with 0 bids will get the `totalTokens` stuck inside the contract. Impact: High - Tokens are forever lost Likelihood - Low - Super small chances of happening, but not impossible
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.