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 all source code endpoint #13

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

Smart contract all source code endpoint #13

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 GET /contracts/:id/source endpoint that returns all of the Smart Contract files as an array.

❌ 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 an array of the following records representing each of the source code files:

{
  source: [{
    filePath: string
    isEntryFile: boolean
    content: string
  }]
}
@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