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

More contracts #11

Open
wants to merge 136 commits into
base: develop
Choose a base branch
from

Conversation

tippi-fifestarr
Copy link
Collaborator

Description

Fixed bugs in GamesDAOv3, added ZKSecrets for zkSync, and Chainlink Functions in CharacterGen.

Additi

tippi-fifestarr and others added 30 commits May 10, 2024 11:57
- All the scaffold frontend structure was moved into a `/console` path in order to have full control of the rest.
- All founded `href` were properly updated and tested.
- `builder.io` was configured in the project and is now fully integrated to allow anyone control site's content.
- Some components were registered to be used, but are more for testing for now.
- Vercel Analytics & SpeedInsights were activated.
- A set of helper interfaces & types were defined.
- The hardhat config was modified to use the `ChainlinkUserConfig` Type.
- `tsconfig-paths` lib was installed and configured.
- Chainlink contracts were installed.
- Compiler version updated to fill chainlink contracts requirements.
- Gateway and GatewayClient interfaces were defined.
- Example contracts and deploy scripts were removed.
- The CCGateway was implemented.
- Some errors were mapped.
- A helper function to get the current network config as a `ChainLinkNetworkUserConfig` type was created.
- The deploy Gateway script was configured.
- An Simple GatewayClient contract was created so anyone could easily use the gateway.
- The deploy script for the ExampleClient was created.
- A final deploy script to grant all clients access to the gateway was created.
- A toolkit for easily manage available functions in the gateway was created.
- The LINK tasks were registered as part of the hardhat env.
- A simple task for reading the balance of the deployer account was created.
- A set of helper functions for LINK token were created.
- A set of helper functions to manage the subscriptions were created.
- A helper function to automatically upsert the provided scripts in the gateway as requests was created.
- It should receive only new scripts and those who needs any update.
- minor changes in the deployment scripts to streamline the gateway contract name.
- The gateway will be the consumer for each created subscription.
- A new task was registered to use the entire set of tools previously created.
- The task will load all the scripts (ie. functions) that needs to be upserted in the gateway, create or fund the subscriptions for each, and finally register the function as a request in the gateway to be used by clients.
- Each step of the task uses the current network.
- The outcome is a `link_functions_map.json` file that contains the results of these operations and could be used to feed/seed the clients contracts.
- `@chainlink/functions-toolkit` is still using ethers@v5 which have several incompatibilities with the current project ethers@v6.
- To resolve this problem, a workaround to generate a `Signer` using ethers@v5 using the current scope was created.
- internal `@chainlink/functions-toolkit` ethers lib was mapped as `ethers@v5` to be accessible whenever it's needed.
- Some npm scripts were added to easily access the new hardhat chainlink defined tasks.
- Minor change to revert transaction if the subscription id is missed.
- A more accurate name was assigned to the task.
- Minor changes to accept an arbitrary address to fetch balances of.
- Native network token balance included.
uklok-owner and others added 25 commits June 1, 2024 23:48
- Missed endpoints for those networks were included on main and test nets.
- Prettier plugin just do its job.
- Minor import changes to use alias.
- The readme was updated to explain the usage of the hardhat `update-secret` task.
…ockmagic-tech-team into personal/allan/invitation
- There was a small bug with the request registry and subscriptionIds were duplicating.
- Example client variable are not public for verification.
- Secrets for onboarding were enabled again.
- MAX TTL allowed 1 day.
- As the client was exactly the same as the example I just extended it to reduce code duplication.
- All the contracts were deployed on the used networks.
- Secrets were injected for the onboard notification.
- Included as part of the project networks.
- Included all available networks for extended usage.
- Set default request through polygon.
- A variable typo was corrected.
- Minor bug for slotId solved.
- Missed export variable updated.
- The backstory script was fixed to only return 256 chars TOP.
- The new `alt_text` for art endpoint was included.
- The secrets for both were configured.
- The `OPENAI_API_KEY` ENV var was registered in the example.
- A simulator task for the oracle functions call was created to easily test defined functions.
- The tasks needs the name of the request filename and the args to pass.
- If loads the secrets and injects everything to properly test the scripts.
- All the secrets are being updated at once.
Copy link

vercel bot commented Jun 3, 2024

Someone is attempting to deploy a commit to the BlockMagic Ceptor Club Team on Vercel.

A member of the Team first needs to authorize it.

uklok-owner and others added 4 commits June 2, 2024 21:20
- All contracts were deployed on all the target networks.
- All the functions & subscriptions were created and configured so the gateway can use them.
- All the secrets were updated and injected in the gateway.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants