sugarskins/csgo-steam-eth-trade

modularize chainlink adapter interface

Opened this issue · 1 comments

Currently the call involves sending a tradelink a (skin name, wear, paint seed) tuple and an inspect link. The check is very specific to the use case for this current application.

See if it's possible to move some of that logic into the contract itself (eg. comparing wear, paint seed and skin name or extracting steam id from tradelink), and make the endpoint return raw values (the 3 field tuple for an inspect link).

created an endpoint for scanning a particular item based on an inspect link.

As it stands chainlink can only return a uint256 so in order to return more data it has to be packed into that. packing the wear value and paint seed can be stored there, however the skin-name as well probably not.