Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart Contract information endpoint #12

Closed
lukeromanowicz opened this issue Aug 8, 2023 · 0 comments
Closed

Smart Contract information endpoint #12

lukeromanowicz opened this issue Aug 8, 2023 · 0 comments
Labels
P1 Highest priority (MVP)

Comments

@lukeromanowicz
Copy link
Collaborator

lukeromanowicz commented Aug 8, 2023

Implement a GET /contracts/:id endpoint that provides information about verified contracts.

❌ If the contract with the id provided in the PATH doesn’t exist or has not been verified, the response will be an error HTTP 404

✅ If the contract has been verified the response will be HTTP 200 with the following content:

verifiedAt: Datetime string
initCallParameters: string
compiler: string
license: string - one of the predefined license codes
ACI: string

Implement additional validation to POST /contracts endpoint:
❌ If the contract has already been verified, the response will be an error HTTP 409.

@lukeromanowicz lukeromanowicz added the P1 Highest priority (MVP) label Aug 8, 2023
lukeromanowicz added a commit that referenced this issue Jan 14, 2024
scheduling contract verification #10

performing async verification #11

add init parameters decoding and get verified contract endpoint #12

smart contract all source code endpoint #13

supported compilers endpoint #15

secure verification notification endpoint and fix queue settings
lukeromanowicz added a commit that referenced this issue Jan 14, 2024
scheduling contract verification #10

performing async verification #11

add init parameters decoding and get verified contract endpoint #12

smart contract all source code endpoint #13

supported compilers endpoint #15

secure verification notification endpoint and fix queue settings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 Highest priority (MVP)
Projects
None yet
Development

No branches or pull requests

1 participant