I'm building a smart contract based auction system on top of ethereum, like this example. Instead of the highest bidding price, the system will use a function
f to compute the most optimal bid.
E.g., if each bid is represented with parameters
(a, b, c), then the most optimal bid is the one that maximizes
f(a, b, c).
The questions I have are:
- Is this system feasible on ethereum?
- Can function
fbe updated in the future? How difficult is it?
- Is it possible to pin a specific
ffor a contract, so attackers cannot implement a different function
gand disrupt the decision making process?