-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Edit top level config * Update tsconfig * Update prettier config * Update eslint config * checkpoint * Update SDK configs * Change typechain to artifacts * Rename typechain folder * Streamline artifacts * Move artifacts script * Remove I interface prefix and redundant interfaces * Refactor prettier, add package back * Update evm packages * Refactor Models progress * Update LockingVault model * Update GSCVault model * Update CachedContract id field to namespace * Checkpoint * Client improvements * Badass evm-client * Fix util type * Fix NamedEventInput type * Fix types * Fix comment * Update viem client * Add calldatas to spellcheck * Use arg types from evm-client * Reorg evm-client, more fixes * Wrap up clients * Huge milestone force commit * Add council-viem implementations * Add council-ethers and reafactors * Reset all app changes * Update packages * Redo CLI * Remove single letter options, upgrade clide, fix all the things * Package progress * Package export management * Checkpoint * Update artifacts script * Remove local evm-client package * Fix option values passed to forked commands. * Re-org src dir * Fix wagmi and query client providers * Update react-tooltip usage * Fix import * Bump evm-client version to fix type resolutions in next.js * Milestone * Details page working * Milestone * Progress * Vaults page progress * Progress * Progress * Progress * Progress * Progress * Progress * Progress * Progress * Progress * Progress * Fix ethers sdk * Progress * Progress * Fix getBulkEnsRecords * Fix examples * Fix type errors * Add test for `getVotingPowerBreakdown` * Remove nonexistent file from tsconfig * streamline pr workflow * Add paths to landing page deploy workflow * Fix file casing * Remove color class from landiing H1 * Remove unnecessary casting to unknown * Fix skeletons * Update packages * Disable council-viem integration test and move into src * Fix voting UI and nav buttons * Remove prop * Remove parcel * Update packages and sdk-starter * Bump all deps
- Loading branch information
Showing
890 changed files
with
27,533 additions
and
91,317 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# https://turbo.build/repo/docs/ci/github-actions | ||
|
||
name: Pull Request | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened, ready_for_review] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
verify: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
tasks: [lint, build, typecheck, test] | ||
|
||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 2 | ||
|
||
- name: Setup Node.js environment | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: "yarn" | ||
|
||
- name: Install dependencies | ||
run: yarn --frozen-lockfile | ||
|
||
- name: Run ${{ matrix.tasks }} | ||
run: yarn ${{ matrix.tasks }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
node_modules | ||
dist | ||
.turbo | ||
.next | ||
.DS_Store | ||
.parcel-cache | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
18 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
node_modules | ||
dist | ||
.DS_Store | ||
/build | ||
/.svelte-kit | ||
/package | ||
.env | ||
.env.* | ||
!.env.example | ||
|
||
# Ignore files for PNPM, NPM and YARN | ||
pnpm-lock.yaml | ||
package-lock.json | ||
yarn.lock | ||
vite.config.*.timestamp-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
PROVIDER_URI= | ||
WALLET_PRIVATE_KEY= | ||
RPC_URL= | ||
WALLET_PRIVATE_KEY= |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
apps/council-sdk-starter/src/addresses/ElementMainnetAddressList.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
export const elementAddresses = { | ||
airdrop: "0xd04a459FFD3A5E3C93d5cD8BB13d26a9845716c2", | ||
coreVoting: "0xEaCD577C3F6c44C3ffA398baaD97aE12CDCFed4a", | ||
elementToken: "0x5c6D51ecBA4D8E4F20373e3ce96a62342B125D6d", | ||
gscCoreVoting: "0x40309f197e7f94B555904DF0f788a3F48cF326aB", | ||
gscVault: "0xcA870E8aa4FCEa85b5f0c6F4209C8CBA9265B940", | ||
lockingVault: "0x02Bd4A3b1b95b01F2Aa61655415A5d3EAAcaafdD", | ||
spender: "0xDa2Baf34B5717b257e52039f78d02B9C58751781", | ||
timeLock: "0x81758f3361A769016eae4844072FA6d7f828a651", | ||
treasury: "0x82eF450FB7f06E3294F2f19ed1713b255Af0f541", | ||
vestingVault: "0x6De73946eab234F1EE61256F10067D713aF0e37A", | ||
} as const; |
31 changes: 0 additions & 31 deletions
31
apps/council-sdk-starter/src/addresses/elementAddresses.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { | ||
PublicClient, | ||
createPublicClient, | ||
createWalletClient, | ||
http, | ||
} from "viem"; | ||
import { privateKeyToAccount } from "viem/accounts"; | ||
|
||
export const publicClient: PublicClient = createPublicClient({ | ||
transport: http(process.env.RPC_URL), | ||
}); | ||
|
||
export const walletClient = | ||
process.env.WALLET_PRIVATE_KEY && | ||
createWalletClient({ | ||
account: privateKeyToAccount( | ||
process.env.WALLET_PRIVATE_KEY as `0x${string}`, | ||
), | ||
transport: http(process.env.RPC_URL), | ||
}); |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.