Open zomglings opened 1 year ago
@Anton-Mushnin : Default values for timestamps -- let us make it end_timestamp = int(time.time())
and start_timestamp = end_timestamp - (1 month)
.
Partially covered need add small fixes for missing parts.
PR for tags and descriptions: https://github.com/moonstream-to/api/pull/826 we in review process.
Tempalte endpoint for smart contracts or EOAs. Will comunicate with @Anton-Mushnin for deside correct tags structure for split SC and EOA.
Disclose the chains that we support via an API endpoint missing in current moment.
When a user watches a new address, we provide different functionality depending on whether:
This requires us to:
eth_getCode
) on any of our supported chains - if so, it should return a list of the chains on whicheth_getCode
has a non-trivial response.supportsInterface
on that contract using standard interfaces (IERC20
,IERC721
,IERC721Metadata
,IERC721Enumerable
,IERC1155
,IERC165
, etc.). There should be an API endpoint which returns the supported interfaces for a contract on a given chain. If an address is provided which is not a smart contract address on that chain, we should return an error from the API.supportsInterface
or implements it incorrectly.events
andmethod_calls
queries by default. (This can be implemented on the frontend.)We need to add the following queries for EOAs (each query should be possible to run on every supported blockchain):
start_timestamp
,end_timestamp
)start_timestamp
,end_timestamp
)start_timestamp
,end_timestamp
)Default values:
start_timestamp = 0
,end_timestamp = int(time.time())
. This can be implemented on frontend.Decisions