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

invitation api and get all users api #10

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
c99405d
refactor(nextjs): 👻 Console
uklok-owner May 15, 2024
89af61c
feat(nextjs): 👻 CMS
uklok-owner May 16, 2024
99f9904
feat(nextjs): 👻 Analytics
uklok-owner May 16, 2024
deba31f
feat(nextjs): 👻 CMS
aldoprogrammer May 20, 2024
916ef01
add user result api
allanma88 May 22, 2024
2eaba29
feat(hardhat): 👻 Chainlink Functions
uklok-owner May 22, 2024
f94a6b6
feat(hardhat): 👻 Chainlink Contracts
uklok-owner May 22, 2024
4672e64
feat(hardhat): 👻 Gateway Interfaces
uklok-owner May 22, 2024
0dcce9b
feat(hardhat): 👻 Functions Gateway
uklok-owner May 22, 2024
7e869c0
feat(hardhat): 👻 Gateway Clients
uklok-owner May 22, 2024
f6707fd
chore(release): 0.0.2
uklok-owner May 22, 2024
c6c6fac
feat(hardhat): 👻 Functions
uklok-owner May 24, 2024
18e31e4
feat(hardhat): 👻 Tasks | Chainlink
uklok-owner May 24, 2024
968dff9
feat(hardhat): 👻 Subscriptions | Chainlink Functions
uklok-owner May 24, 2024
e536690
feat(hardhat): 👻 Register Request | Gateway
uklok-owner May 24, 2024
59cafcd
feat(hardhat): 👻 Task(subscriptions) | Create & Fund
uklok-owner May 24, 2024
d586791
fix(hardhat): 👻 Chainlink Functions Manager
uklok-owner May 24, 2024
7237522
refactor(hardhat): 👻 Example Gateway Client
uklok-owner May 24, 2024
b7eea15
refactor(hardhat): 👻 Task Renamed
uklok-owner May 24, 2024
76a99a7
refactor(hardhat): 👻 Link Balance Task
uklok-owner May 24, 2024
7515d76
feat(hardhat): 👻 Networks | Chainlink Config
uklok-owner May 24, 2024
4deecb7
chore(release): 0.1.0
uklok-owner May 24, 2024
40630f7
chore(hardhat): 👻 Deployments
uklok-owner May 24, 2024
4a00b32
fix(nextjs): 👻 Users DB Connection
uklok-owner May 24, 2024
54c016b
Merge pull request #2 from ceptor-club/feature/functions_gw
allanma88 May 24, 2024
0338dd0
add duplicate user check; move mongo connection string and db to the …
allanma88 May 24, 2024
f5f04ce
Merge branch 'personal/allan/onboarding' of github.com:ceptor-club/bl…
allanma88 May 24, 2024
c6cc2ff
Merge branch 'develop' into personal/allan/onboarding
allanma88 May 24, 2024
24e3d51
fix yarn.lock file issue
allanma88 May 24, 2024
7b98f17
Merge pull request #3 from ceptor-club/personal/allan/onboarding
allanma88 May 24, 2024
e2b6358
Merge branch 'develop' into feature/cms
aldoprogrammer May 26, 2024
c237583
Merge pull request #1 from ceptor-club/feature/cms
aldoprogrammer May 26, 2024
d25eda5
add notification api
allanma88 May 27, 2024
bdc4940
fix did resolve error
allanma88 May 27, 2024
13689f5
feat: add sign up form page
aldoprogrammer May 28, 2024
5c12e11
feat: reusable button
aldoprogrammer May 28, 2024
6898e7b
feat: add font milonga and oswald
aldoprogrammer May 28, 2024
902377d
feat: add typograpy component
aldoprogrammer May 28, 2024
e5a90c2
feat: add back button reusable component
aldoprogrammer May 28, 2024
a4ff58b
ref: refactor sign up page and button
aldoprogrammer May 28, 2024
4a53caf
ref: tab logic for sign up
aldoprogrammer May 28, 2024
b119bf6
ref: add transition hover
aldoprogrammer May 28, 2024
64d6bfd
feat:component tab sign up form
aldoprogrammer May 28, 2024
b3fdc9c
ref: typograpy refactor
aldoprogrammer May 28, 2024
bf376f4
ref: button refactor
aldoprogrammer May 28, 2024
cc1c93f
ref: join and id input
aldoprogrammer May 28, 2024
16b591b
ref: adding some step in sign up
aldoprogrammer May 29, 2024
100581a
ref: refactor
aldoprogrammer May 29, 2024
affb8d5
feat: add new comonent input, selection, circular
aldoprogrammer May 29, 2024
33546a3
ref: move to component sign up dir
aldoprogrammer May 29, 2024
0c042f0
feat: new component email, name, role page
aldoprogrammer May 29, 2024
366bb5c
Merge branch 'develop' into feature/gateway-toolkit
allanma88 May 30, 2024
090a5a2
update yarn.lock
allanma88 May 30, 2024
7ac1dd4
Merge pull request #4 from ceptor-club/feature/gateway-toolkit
allanma88 May 30, 2024
567d8ec
Merge branch 'develop' into personal/allan/invitation
allanma88 May 30, 2024
5a2a9b7
add notification api and get all users api
allanma88 Jun 1, 2024
2751eb2
refine the update secret task and add update subscription task
allanma88 Jun 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## 0.1.0 (2024-05-24)


### Features

* **hardhat:** 👻 Chainlink Contracts f94a6b6
* **hardhat:** 👻 Chainlink Functions 2eaba29
* **hardhat:** 👻 Functions c6c6fac
* **hardhat:** 👻 Functions Gateway 0dcce9b
* **hardhat:** 👻 Gateway Clients 7e869c0
* **hardhat:** 👻 Gateway Interfaces 4672e64
* **hardhat:** 👻 Networks | Chainlink Config 7515d76
* **hardhat:** 👻 Register Request | Gateway e536690
* **hardhat:** 👻 Subscriptions | Chainlink Functions 968dff9
* **hardhat:** 👻 Task(subscriptions) | Create & Fund 59cafcd
* **hardhat:** 👻 Tasks | Chainlink 18e31e4


### Bug Fixes

* **hardhat:** 👻 Chainlink Functions Manager d586791

### 0.0.2 (2024-05-22)


### Features

* **hardhat:** 👻 Chainlink Contracts f94a6b6
* **hardhat:** 👻 Chainlink Functions 2eaba29
* **hardhat:** 👻 Functions Gateway 0dcce9b
* **hardhat:** 👻 Gateway Clients 7e869c0
* **hardhat:** 👻 Gateway Interfaces 4672e64
12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "se-2",
"version": "0.0.1",
"version": "0.1.0",
"private": true,
"workspaces": {
"packages": [
Expand All @@ -22,21 +22,27 @@
"hardhat:lint-staged": "yarn workspace @se-2/hardhat lint-staged",
"hardhat:format": "yarn workspace @se-2/hardhat format",
"hardhat:test": "yarn workspace @se-2/hardhat test",
"hardhat:link:gw:upsert": "yarn workspace @se-2/hardhat link:gw:upsert",
"hardhat:link:gw:update-secrets": "yarn workspace @se-2/hardhat link:gw:update-secrets",
"hardhat:link:gw:update-subscription": "yarn workspace @se-2/hardhat link:gw:update-subscription",
"test": "yarn hardhat:test",
"format": "yarn next:format && yarn hardhat:format",
"start": "yarn workspace @se-2/nextjs dev",
"next:fast": "yarn workspace @se-2/nextjs fast",
"next:lint": "yarn workspace @se-2/nextjs lint",
"next:format": "yarn workspace @se-2/nextjs format",
"next:check-types": "yarn workspace @se-2/nextjs check-types",
"next:build": "yarn workspace @se-2/nextjs build",
"postinstall": "husky install",
"precommit": "lint-staged",
"vercel": "yarn workspace @se-2/nextjs vercel",
"vercel:yolo": "yarn workspace @se-2/nextjs vercel:yolo"
"vercel:yolo": "yarn workspace @se-2/nextjs vercel:yolo",
"release": "standard-version"
},
"packageManager": "[email protected]",
"devDependencies": {
"husky": "^8.0.1",
"lint-staged": "^13.0.3"
"lint-staged": "^13.0.3",
"standard-version": "^9.5.0"
}
}
156 changes: 0 additions & 156 deletions packages/hardhat/contracts/BuyMeACoffee.sol

This file was deleted.

43 changes: 43 additions & 0 deletions packages/hardhat/contracts/CCExampleClient.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

import {ICCGatewayClient} from "./interfaces/ICCGatewayClient.sol";
import {ICCGateway} from "./interfaces/ICCGateway.sol";

contract CCExampleClient is ICCGatewayClient {
ICCGateway private immutable gateway;

uint64 private subscriptionId = 0;
bytes private encryptedSecretsReference = "";

event ResponseReceived(uint64 subscriptionId, bytes32 requestId, string response);
event ErrorReceived(uint64 subscriptionId, bytes32 requestId, string error);

constructor(address gatewayAddress) {
gateway = ICCGateway(gatewayAddress);
}

function updateSubscriptionId(uint64 _subscriptionId) external {
subscriptionId = _subscriptionId;
}

function updateEncryptedSecretsReference(bytes calldata _encryptedSecretsReference) external {
encryptedSecretsReference = _encryptedSecretsReference;
}

function request(string[] calldata args, bytes[] calldata bytesArgs) external {
require(subscriptionId != 0, "Subscription ID not set");

gateway.sendRequest(subscriptionId, args, bytesArgs, encryptedSecretsReference);
}

function callback(bytes32 requestId) external override {
ICCGatewayClient.CCGResponse memory response = gateway.getResponse(requestId, true);

if (response.state == ICCGatewayClient.CCGResponseState.Success) {
emit ResponseReceived(response.subscriptionId, requestId, string(response.data));
} else {
emit ErrorReceived(response.subscriptionId, requestId, string(response.error));
}
}
}
Loading
Loading